Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Luyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
Luyt
13y ago
A text indexer. It did case-insensitive searching, so I lowercased everything (both source text and search terms), allowing me to use a quicker substring search (i.e., no need to compare characters with case insensitivity). The indexer had
182.
▲
by
Luyt
13y ago
people choose it because "it is web scale" while having no idea what they are even supposed to be comparing it to Some compare it to relational databases... http://www.mongodb-is-web-scale.com/
183.
▲
by
Luyt
13y ago
I'm just reading Ignition! http://library.sciencemadness.org/library/books/ignition.pdf about the development of rocket propellants; a very technical and interesting chemistry book. At one time the author experimented with mercaptans and
184.
▲
by
Luyt
13y ago
Yeah, like very quick lowercasing of blocks of ASCII text, 8 characters at a time: char *strlwrmmx(char *buffer,int len=-1) { if (len==-1) len=strlen(buffer); unsigned __int64 a=0x4040404040404040; // 0x40='A'-1
185.
▲
by
Luyt
13y ago
The other articles in this series are worth a read too: http://pipeline.corante.com/archives/things_i_wont_work_with... for a convenient list.
186.
▲
by
Luyt
13y ago
The amount of cash you had was stored in savegame files as 4 bytes. A few changes with a binary editor and suddenly you had millions of cash ;-)
187.
▲
by
Luyt
13y ago
May I toot the horn of http://somafm.com/ here? An excellent SoMA-based internet radio station. I'm especially fond on the GrooveSalad channel, http://somafm.com/groovesalad/
188.
▲
by
Luyt
13y ago
Interesting read: "The proof itself is over 100 pages long and consumed seven yearsof Wiles's research time. For solving Fermat's Last Theorem, he was knighted, and received other honors." http://en.wikipedia.org/wiki/Wiles%27s_proof_of_
189.
▲
by
Luyt
13y ago
I liked this reaction, from KurtG: Dear Mr T., Your problem is very much like I have been considering. Assume that we have a consistent and complete axiomatization of all true first-order logic statements about natural numbers. Then we can
190.
▲
by
Luyt
13y ago
I run FreeBSD on my data center servers. Works pretty well. I think with some adaptation I could run Ubuntu Server equally well.
191.
▲
by
Luyt
13y ago
I think putting baking soda and vinegar into a bottle and then closing it. Coke and menthos is also a possibility, but the article speaks about 'household chemicals', not candy and fizzy drink...
192.
▲
by
Luyt
13y ago
Quick! Was it ($haystack, $needle) or ($needle, $haystack) ?
193.
▲
by
Luyt
13y ago
Radio waves are non-ionizing.
194.
▲
by
Luyt
13y ago
DHH had this to say about the demo scene, in an interview with Randal Schwartz: Q: Really? What made you not want to be a programmer? This is curious. A: "I had a bunch of friends who I loved dearly, but in many ways were exhibiting all the
195.
▲
by
Luyt
13y ago
Radio waves are non-ionizing.
196.
▲
by
Luyt
14y ago
Actually, Python is compiled (just like Java, C#, Ruby) to bytecode which is executed in a virtual machine. It is the dynamic nature of certain languages that can make them slower than languages that are statically typed.
197.
▲
by
Luyt
14y ago
Python can't handle large numbers Are you sure? Can you post a number of which you think Python can't handle? >>> int("98372833842764387643278436783467832643876327846327654367532467532786749827498278746327364723534765267
198.
▲
by
Luyt
14y ago
Indeed. In Firefox I do View -> Page Style -> No Style. Alas, this site is not an exception. Many websites sacrifice readability to some graphic designers' whim.
199.
▲
by
Luyt
14y ago
Thank you! A direct link is so more user-friendly than putting a mandatory registration wall before a PDF.
200.
▲
by
Luyt
14y ago
Does anyone have this PDF available for download? (without the need to register first, and without the need for a Facebook account)
201.
▲
by
Luyt
14y ago
You're also using Flask? I wrote a short piece about roughly the same subject as the author of the original article uses for Django. Running Flask behind gunicorn and nginx, monitored by supervisord: http://www.michielovertoom.com/freebsd/
202.
▲
by
Luyt
14y ago
Indeed. Organic foods are also treated by pesticides. From the skeptoid article: "Some supporters of organic growing claim that the danger of non-organic food lies in the residues of chemical pesticides. This claim is even more ridiculous:
203.
▲
by
Luyt
14y ago
Some organic food myths: http://skeptoid.com/episodes/4019 Myth #1: Buying organic food benefits small farmers, and represents a blow to the big food corporations. Myth #2: Organic foods are healthier to eat. Myth #3: Organic growing
204.
▲
Building a better IRC client
(esr.ibiblio.org)
2 points
by
Luyt
14y ago
|
0 comments
205.
▲
National styles in hacking
(esr.ibiblio.org)
1 points
by
Luyt
14y ago
|
0 comments
206.
▲
by
Luyt
14y ago
I think the blogger has an Indian background, because in that culture you're seen as a failure if you're still developing software after a decade of programming. You're supposed to be at least a manager by then. Maybe the author reinforces
207.
▲
Out on the tiles
(esr.ibiblio.org)
1 points
by
Luyt
14y ago
|
0 comments
208.
▲
by
Luyt
14y ago
This is quite scary: "The cops questioned him for a bit [...] and arrested him. It turns out he had a very realistic airsoft gun on him, which would have made running away with the camera a helluva lot scarier. When he was fingerprinted at
209.
▲
by
Luyt
14y ago
No, that's not true. Communication is all. For example, you can have the repository send off commit messages to every team member, so they can see what everyone is working on.
210.
▲
by
Luyt
14y ago
One of the advantages of having your work space separated from your private space, is that in the evening you can close the office door behind you and stop thinking about work until you come in next day morning.
More ›