Profile

Cover photo
Izzy Vivian Dupree
241 followers|43,044 views
AboutPostsPhotos

Stream

Izzy Vivian Dupree

Shared publicly  - 
 
I made this Chrome extension for unloading tabs to save on RAM/CPU/network/etc. I made it because the other ways of doing this didn't do quite what I wanted. Feel free to send me feature requests! See the README for the messy details of why I implemented unloading in this particular way. https://github.com/idupree/chrome-tab-unloader#readme
This extension gives you a button to save your system resources by replacing open tabs with placeholders.
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
Trying to use Python virtual envs (Arch Linux, python 3.4). How has Googling not told me what I'm doing wrong?  Tutorials say either of these should run without errors:

% cd ~/test; mkdir a; cd a; pyvenv b
Error: [Errno 13] Permission denied

% cd ~/test; mkdir c; cd c; virtualenv3 d
Using base prefix '/usr'
Traceback (most recent call last):
 File "/usr/bin/virtualenv3", line 3, in <module>
   virtualenv.main()
 File "/usr/lib/python3.4/site-packages/virtualenv.py", line 832, in main
   symlink=options.symlink)
 File "/usr/lib/python3.4/site-packages/virtualenv.py", line 994, in create_environment
   site_packages=site_packages, clear=clear, symlink=symlink))
 File "/usr/lib/python3.4/site-packages/virtualenv.py", line 1192, in install_python
   copy_required_modules(home_dir, symlink)
 File "/usr/lib/python3.4/site-packages/virtualenv.py", line 1131, in copy_required_modules
   copyfile(filename, dst_filename, symlink)
 File "/usr/lib/python3.4/site-packages/virtualenv.py", line 468, in copyfile
   os.makedirs(os.path.dirname(dest))
 File "/usr/lib/python3.4/os.py", line 237, in makedirs
   mkdir(name, mode)
FileExistsError: [Errno 17] File exists: 'd/lib/python3.4/lib-dynload'
1
Izzy Vivian Dupree's profile photo
2 comments
 
`pyvenv --copies h` seems to have worked because TPE is off by default. Not too satisfied with this.

% sudo cat /proc/sys/kernel/grsecurity/symlinkown_gid
33

% cat /etc/group | grep :33:
http:x:33:idupree

...Maybe I wasn't even supposed to be affected by the symlink restrictions but I am because I decided to put myself in the http group.  I am not even using my membership in that group anymore.  Removing myself from that group fixed the issue, although it didn't reduce the 10 MB of disk space used by the virtual env by any noticable amount because it turns out the disk space isn't mainly in the python binaries but in v-env-dir/lib/python3.4/site-packages/{pip,setuptools}.
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
What would you call an algorithm that lets you put arbitrary data in an arbitrary order relative to each other, like a doubly linked list, but also gives you constant-time comparison between list nodes that returns the order you put them in?  It needs to have better asymptotics for changing/adding to the order than an array/vector.
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
Does Ruby have an analogue of http://docs.python.org/3/reference/index.html ? Ruby's wikibook's reference is incomplete; for example, for "case" it misses the "when 'foo', 'bar'" syntax.  Ruby's ISO standard is $250.  Still looking.
The Python Language Reference¶. This reference manual describes the syntax and “core semantics” of the language. It is terse, but attempts to be exact and complete. The semantics of non-essential built-in object types and of the built-in functions and modules are described in The Python Standard ...
1
Sam Auciello's profile photoIzzy Vivian Dupree's profile photo
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
If you, like so many of us, have been tinkering with the #Haskell programming language, these are some learning resources I know: http://www.idupree.com/2014/learning-haskell
Resources for learning Haskell. Haskell is a functional computer programming language. It's pretty neat and pretty useful. As I got better at Haskell, I got better at thinking about code in other languages too. These are some resources for learning Haskell: ...
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
I just made a StackOverflow edit to fix a bit-rotted link, but the edit was forbidden because the change was "less than 6 characters".  There were no other improvements the answer needed.  I added a pointless "www." to the link to get around this restriction, but maybe I should have honored SO's preference for remaining broken in small ways?
1
Sam Auciello's profile photoIzzy Vivian Dupree's profile photo
4 comments
 
+Sam Auciello : there's nothing listed between 250 and 500 rep on https://stackoverflow.com/help/privileges so I guess our interfaces are the same.
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
User CSS to hide animated parrots in Slack:

span[class*="emoji"][style^="background"][style*="http"][style*="parrot"][style*=".gif"] {
background-color: deeppink !important;
background-image: none !important;
}
1
Izzy Vivian Dupree's profile photo
 
There are several different ways emoji show up in the DOM in Slack. This rule matches the ones I found without matching other elements I found. It is likely fragile to Slack changes.
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
2000 words of notes about switching from T-Mobile prepaid to Google Project Fi https://www.idupree.com/2016/joining-google-project-fi
Switching to Google Project Fi. My migration to Google Project Fi is complete. Fi is a cellular service plan that uses the T-Mobile and Sprint networks in the USA and others in other countries. date: May/June 2016; from: T-Mobile Lumia 435 (Windows Phone 8.1) with T-Mobile prepaid smartphone ...
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
Hey are there any coworking spaces in the Boston area that support IPv6?
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
After one too many times of not being able to show people the video that may change how you hear the phrase "change the world" forever, I recorded and YouTubed it.  It's from the GPL'ed game "Fish Fillets" and is, like the game, full of oddball humor. http://youtu.be/Uo7Y_bDhnZY
1
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
Security/Vagrant folks: why should I believe that "vagrant init precise32 http://files.vagrantup.com/precise32.box" can't let a MITM pwn my VM?  I haven't found documentation of Vagrant's security architecture yet.
1
Patrick Wheeler's profile photoIzzy Vivian Dupree's profile photo
3 comments
 
+Patrick Wheeler : The problem is that you can be pwned just by using it for development, unless I hear detailed reasons otherwise.  On the surface it looks like it's fetching a VM by unauthenticated HTTP (the fact that it redirects to HTTPS on another server doesn't help: an attacker could hijack the initial redirect).
Add a comment...

Izzy Vivian Dupree

Shared publicly  - 
 
Bug in Google Groups used as mailing-list:

1. Using email address A, email "subscribe" to pandoc-discuss+subscribe@googlegroups.com
2. receive confirmation-request reply to A
3. reply from A to confirm
4. get confirmation to A that I have joined

So far so good.

5. start receiving list email to an entirely different email address B!  That is not proper mailing-list behaviour.

Specifically, B is my primary Google Account address, not the address that I subscribed to the list.  Does Google consider this behavior a bug?  Yes, you can configure it using a web interface afterwards, but the great thing about mailing lists is that you don't have to.

(What's a good alternative for hosting a small FOSS mailing-list? I checked a year ago and didn't find anything better than Google and self-hosted Mailman.)
1
Add a comment...
Story
Tagline
Software, writing, and movement!
Introduction
Writer, Linux-user, functional computer-programmer. One who smiles. One who takes the time to listen.