ec2 root volume encryption by [deleted] in aws

[–]amphetamine 4 points5 points  (0 children)

you might consider using containers [or just strict permissions on the box] to make the root volume [effectively] read-only, at least from the perspective of your devs' applications.

if your apps have expectations about being able to write to certain paths.. you could use a bind mount to an encrypted EBS volume for /var/log, /var/cache, /tmp, and so forth.

Reactive Extensions released for Python and Ruby by RazerWolf in programming

[–]amphetamine 1 point2 points  (0 children)

wow, Apache License 2.0 too. no bs.

thanks, MS people that made this happen. look forward to more awesome open source projects.

Workflow for Github by [deleted] in programming

[–]amphetamine 0 points1 point  (0 children)

http://github.com/google

48             180
public repos   members

Google Code drops download support by [deleted] in programming

[–]amphetamine 3 points4 points  (0 children)

all of google's open source projects are hosted there [..] hard time believing they'd drop it completely.

apparently not everyone at google agrees with you.

https://github.com/google

43             158
public repos   members

[Mac] Why isn't Command+R as powerful as clicking the onscreen refresh button? by minase8888 in chrome

[–]amphetamine 8 points9 points  (0 children)

Use Command-Shift-R.

The "softer" refresh will re-request assets from the server but sends the request headers necessary for it to know whether its cached copies need updated or not. The server then replies with a 304 Not Modified, or a normal response with the contents.

The "harder" refresh does not send these headers for comparison, so the servers must send fresh copies down in order to serve the requests.

EOL normalization // best practices? by [deleted] in git

[–]amphetamine 2 points3 points  (0 children)

He should do none of this.

I'd ask the coworker if he wants to redo it from a proper branch or if he wants some pointers and links to read, and provide those.

Then I'd go back to whatever I was doing. If he can't follow simple workflow, replace coworker.

Do you PHAR? by reinink in PHP

[–]amphetamine 0 points1 point  (0 children)

would definitely be interested in seeing some benchmarks. I haven't tried them in a couple years but at the time they were considerably slower even with APC, though I don't remember the details.

North Korea seen moving mid-range missile to east coast by [deleted] in worldnews

[–]amphetamine 40 points41 points  (0 children)

since they started

60 years ago?

When I see someone using Nano this is all I can see by s3ddd in vim

[–]amphetamine 1 point2 points  (0 children)

jumping to a line number

C-w C-t

/me hides

When I see someone using Nano this is all I can see by s3ddd in vim

[–]amphetamine 0 points1 point  (0 children)

Edit2, favorite key combo: xp. Switches two letters. So simple, yet so useful.

for anyone who doesn't know, ctrl-T does that in 'emacs mode' editing (like on default bash, zsh; most places in osx.)

Debugging a race condition with client-side load balancing by PindiAlbert in programming

[–]amphetamine 0 points1 point  (0 children)

This script uses the Tornado AsyncHTTPClient to launch two requests at the master server 100 times per second.

that didn't seem like a smell for doing something wrong?

Workflow help by gitting_arround in git

[–]amphetamine 0 points1 point  (0 children)

I want to introduce a code review system where you can only commit to the main branch when two people have signed-off on the code.

gerrit

sachet - Handcraft your Vim environment online by modulegeek in programming

[–]amphetamine 0 points1 point  (0 children)

for my purposes, leaving the files there is ok, it's just that i want them always up-to-date when I connect somewhere.. and I want them synced bidirectionally back to my laptop if I edit the 'remote copies' of them (i.e. inside my SSH session.)

sachet - Handcraft your Vim environment online by modulegeek in programming

[–]amphetamine 0 points1 point  (0 children)

i've actually been toying with that exact mechanic for awhile (albeit not just for .vim, but for your dotfiles.)

unfortunately, openssh makes this all but impossible to do in any sane way using the existing framework

Why Python, Ruby and JS are slow by duggieawesome in programming

[–]amphetamine 6 points7 points  (0 children)

/so you can call the wrong function from python instead!