Profile

Cover photo
Isaac Vivian Dupree
238 followers|19,747 views
AboutPostsPhotosVideos

Stream

Isaac 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
Isaac 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...

Isaac 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...

Isaac 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 photoIsaac Vivian Dupree's profile photo
Add a comment...

Isaac 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...

Isaac 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 photoIsaac 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...

Isaac Vivian Dupree

Shared publicly  - 
 
I wish I could set `htop` to show RAM usage in absolute units rather than %.  Mentally comparing processes between different boxen that have much different RAM is tricky!
1
Add a comment...

Isaac Vivian Dupree

Shared publicly  - 
 
Is it possible to obtain an Android "recovery image" (e.g. ClockworkMod, TWRP) authenticated by at least SSL/TLS or GPG?

Neither download2.clockworkmod.com nor techerrata.com have (correct) SSL certificates.
1
Isaac Vivian Dupree's profile photo
2 comments
Add a comment...
Have them in circles
238 people
Xinruo Sun's profile photo
Greg Frascadore's profile photo
Sigurd Torkel Meldgaard's profile photo
Mark Wotton's profile photo
Eli Dupree's profile photo
Adam Granicz's profile photo
Sandra von Riekhoff's profile photo
Conrad Parker's profile photo
Alex Krogh-Grabbe's profile photo

Isaac Vivian Dupree

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

Isaac 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...

Isaac 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 photoIsaac 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...

Isaac 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...

Isaac Vivian Dupree

Shared publicly  - 
 
You can send me encrypted e-mails. https://www.idupree.com/pgp
My PGP/GPG key. (GPG is for encrypting and signing e-mails and other documents.) Isaac Dupree 4096R/17062391 fingerprint: AC5B DA24 40BD BF34 C4C7 DCF3 9ADC 2732 1706 2391 created: 2013-01-26 expires: 2019-01-25 public key: idupree-2013-17062391.pubkey.asc ...
1
Add a comment...
People
Have them in circles
238 people
Xinruo Sun's profile photo
Greg Frascadore's profile photo
Sigurd Torkel Meldgaard's profile photo
Mark Wotton's profile photo
Eli Dupree's profile photo
Adam Granicz's profile photo
Sandra von Riekhoff's profile photo
Conrad Parker's profile photo
Alex Krogh-Grabbe's profile photo
Story
Tagline
Software, writing, and movement!
Introduction
Writer, Linux-user, functional computer-programmer. One who smiles. One who takes the time to listen.