Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
guns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
guns
16y ago
Be sure to click on "Show Options" to actually see the palette cycling.
92.
▲
by
guns
16y ago
For autocompletion add require 'irb/completion' to your ~/.irbrc. If you want auto-indentation: IRB.conf[:AUTO_INDENT] = true If you're a Vim user, you can edit code inside of a Vim buffer with the interactive_editor gem:
93.
▲
by
guns
16y ago
From the article: It is rumored that some systems only recognize an executable script when it starts with the four bytes `#! /', probably because the GNU autoconf manual says so, but it seems impossible to find confirmati
94.
▲
by
guns
16y ago
Unfortunately, the first thing that came to my mind is that there exists a market for image compositing software that does a better job at obscuring manipulations like this. It's a hard and evil problem, though. Not sure what the greater de
95.
▲
by
guns
16y ago
I hope you mean the images are pretty tame in comparison, and not the spill itself. Not only has the BP leak massively surpassed Valdez in volume (2-10x), it took place a mile underwater, which multiplies it's danger. Exxon Valdez was a sur
96.
▲
by
guns
16y ago
> Afaik, most Asian characters can be encoded as 2 bytes in UTF-8 I overstated my case for sure. The Unified ideograms are four words wide, but the non-unified extensions are larger, iirc. And while disk space is hardly a problem anymor
97.
▲
by
guns
16y ago
> Does someone has any sources about this? Try this for example: http://tclab.kaist.ac.kr/~otfried/Mule/unihan.html > Esp, why is SHIFT-JIS important? Is Unicode not capable of encoding the full Japanese language? What information
98.
▲
by
guns
17y ago
In addition, there is a defaults command to disable web snapshots in Safari (for Top Sites, history, etc). This can save considerable amounts of disk and bandwith if you don't use the graphical previews. defaults write com.apple.Safar
99.
▲
by
guns
17y ago
Usually when when the Ubuntu `sh -> dash' link is pointed out, it is meant as a warning to use the proper sha-bang, instead of just using `#!/bin/sh'. If you're arguing that classic shell scripting doesn't carry you all that far, I woul
100.
▲
by
guns
17y ago
(posted to blog comments as well) If you decide to trap INT or TERM, it would be wise to properly kill your process with INT or TERM: # if you're using bash, you can use $BASHPID in place of $$ for sig in INT TERM EXIT; do
101.
▲
Imaging the Antikythera Mechanism (with Polynomial Texture Maps)
(youtube.com)
1 points
by
guns
17y ago
|
0 comments
102.
▲
by
guns
17y ago
"I think expecting everyone who drives to be as knowledgeable as a NASCAR driver is foolish, just as I believe expecting everyone who has learned a behavior to adapt every time something subtle changes is too far." The discussion at hand is
103.
▲
by
guns
17y ago
Essentially, yes. Perhaps not in enough detail to replicate the world's technologies in a time machine disaster, but certainly enough to create a consistent mental diagram about everything around me. Cars, electricity, furniture, plumbing,
104.
▲
by
guns
17y ago
ScreenShell. It leverages screen to create a viable REPL-buffer for vim, for any language that has an interactive interpreter. http://www.vim.org/scripts/script.php?script_id=2711 Here's an article describing how to use it with lisp: htt
105.
▲
by
guns
17y ago
> MacPorts is an autarky -- you get a duplicate copy of zlib, OpenSSL, Python, etc. Homebrew uses what is already there, and consequently, most stuff has zero dependencies and builds faster. MacPort's self-sufficiency is its strength. A
106.
▲
by
guns
17y ago
"When the supervolcano at Yellowstone last erupted 640,000 years ago, the magma and ash ejected from the caldera covered most of the United States west of the Mississippi river and part of northeastern Mexico. Another such eruption could th
107.
▲
by
guns
17y ago
Here's another visualization. It overlays the objects on a grid, which explicitly sets the sense of scale. http://www.nikon.com/about/feelnikon/universcale/index_f.htm
108.
▲
by
guns
17y ago
Actually, my experience with the dozens of Apple laptops I've seen over the past few years tells me that the design or manufacture of the Macbook Pro batteries (up until the recent redesign) was inferior to that of the regular Macbook. The
109.
▲
by
guns
17y ago
"Another of Microsoft’s chief vices is to over-engineer things. Engineers are always looking for ways to overhaul old sub-systems with monster functionality, and breath-taking designs. This is akin to building a rocket powered scooter with
110.
▲
by
guns
17y ago
How much money would make it worth your time? If your expertise is too high / too esoteric for the StackOverflow community, then you should command high prices in the marketplace. It's doubtful to me that you could appeal to expert users to
111.
▲
by
guns
17y ago
This makes me want to go play nethack.
112.
▲
by
guns
17y ago
as pointed out in the article comments: site:en.wordpress.com "your account is now active"
113.
▲
by
guns
17y ago
"There is NO SECURITY DOWNSIDE to emailing a user's password to them vs. having some multi-step reset procedure." That may be true from a site admin's POV, but consider that many people use the same password for everything. Plain text passw