Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ay
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
541.
▲
by
ay
16y ago
Also, to establish the TCP connection you need an extra roundtrip compared to the UDP use case. Given that in the case of no answer in the cache the recursive name server may need to ask several authoritative name servers - this can add si
542.
▲
by
ay
16y ago
Why not give an argument to the kernel to create the new devices as "fooX" (foo being a supplied parameter) - and let udev userland deal with the renaming to "ethY" as it pleases ? While this novelty certainly may appeal to the folks who ar
543.
▲
by
ay
16y ago
The IPv4 internet is even a smaller place than the real world. :-)
544.
▲
by
ay
16y ago
I think the delay is the seek time of your disk the first time it loads perl; and the python was already cached. (OT: the Lua startup time is half of Perl's)
545.
▲
by
ay
16y ago
I think it may be worth mentioning that an excessively passionate romance with macros may backfire at debugging time. A crash in a code that is created by a macro expanded into a several thousand characters line is quite not easy to explore
546.
▲
by
ay
16y ago
6rd is an improvisation on the motive of 6to4 and ISATAP: you have IPv4 prefix which you use as a carrier for the tunneled traffic, the synthesized IPv6 addresses have a part within them that allows to know which IPv4 within your domain to
547.
▲
by
ay
16y ago
Some people also view the windows as an invitation to throw the stones in, claiming they are too fragile to be of any protection anyway. Next time you buy a DRM-ed book from Amazon.com, or watch a film you can not make a copy of, you can co
548.
▲
by
ay
16y ago
By the way - thinking of all this - why would not you turn this scraper into a free advertisement for you ? If you can detect when it crawls your site, just insert randomly the backlinks to your site into the content you give out to them. T
549.
▲
by
ay
16y ago
Triggers are very powerful indeed. I'm pretty happy to see this list - since I nailed probably 6-7 out of them while hacking the smoking habit out of myself last year. Coincidentally I've written this up earlier today for one of my friends
550.
▲
by
ay
16y ago
To generate the unique string, do SHA1(content + TheirIP + unique secret). The chance of collision is practically zero. Also, you can then conclusively prove that it was you who created this unique string - which may come in handy. (Talki
551.
▲
by
ay
16y ago
Thanks a lot! My thinking was that it would be the same as now we rely on e.g. jquery website that the code is working as advertized. The key in my case is that the code is available in the form ready for inspection - so that rather just tr
552.
▲
by
ay
16y ago
http://www.luabits.com:7777/help - a clickable link.
553.
▲
Show HN: a hash-based Lua code snippet store
2 points
by
ay
16y ago
|
3 comments
554.
▲
by
ay
16y ago
Looks it got pulled in the meantime. Oops. Looking at it now it says in light gray letters at the top "for docomo" so maybe it was some kind of beta that I accidentally downloaded. Here's a link to author's blog - there are examples of usi
555.
▲
by
ay
16y ago
Nice! Also: "simpleqrcode" app on android market allows you to encode your contact info into a QR code directly.
556.
▲
by
ay
16y ago
"scenario where it takes 2x as long to write a line in language X, and that line does twice as much, it is probably at least twice as complex as the 'more verbose' language... " I think this is debatable. After all - a function call compres
557.
▲
by
ay
16y ago
Violates this requirement: "If and only if at a particular point no word at all from the dictionary can be inserted, a single digit from the phone number can be copied to the encoding instead." The number you mention allows to get into the
558.
▲
by
ay
16y ago
Worried back in the day about the precisely this event, I store my bookmarks in my own "service" - the UI being minimalist since I like it that way. http://twagr.com/adduser.lua - but, a warning, it's just running on chewing gum and match
559.
▲
by
ay
16y ago
Google for 'hackers for charity'. Last time I checked Johnny was doing some good stuff.
560.
▲
by
ay
16y ago
http://code.matthewwild.co.uk/ljs/ This is Lua's bytecode interpreter in pure javascript. When I tried it a few weeks ago it lacked some bytecodes - but when I bolted the code to interpret them on I was able to run some compiled Lua code.
561.
▲
by
ay
16y ago
The second use case makes me a bit nervous. Why: many services that require an email confirmation from you typically allow to do the password reset via the same email address. So, unless the user is signing up for a throwaway service, they
562.
▲
by
ay
16y ago
> Casting a u_int32_t over a 4-byte string (like an SMTP verb) to get a value you can switch() on. How do you ensure your code is portable between the architectures with different endianness ? One trick may be using htonl on the u_int32
563.
▲
by
ay
16y ago
If they were to agree, I think there is a way. How many people would you think might agree to pay monthly some symbolic amount, say, $5, if these folks were to help the neuroscience ? Only about a thousand needed to get them a decent living
564.
▲
by
ay
16y ago
Very interesting, thanks! I know about Blue Brain, but did not touch on any code of theirs - seeing you did. How fast is your code performance-wise ? I think the point he is making is that his model is "good enough". The code that I was run
565.
▲
by
ay
16y ago
Probably by "cutting" the input path and trying to mimic it ? The mathematical model for a spiking neuron is reasonably well understood, as far as I know: http://izhikevich.org/human_brain_simulation/Blue_Brain.htm I did take the code he
566.
▲
by
ay
16y ago
Monica was the original author - did you mean to write the name of that lady who is (was?) with the Cooks Source ?
567.
▲
by
ay
16y ago
How many times have you written a nice and polite words when the fruit of your passionate labor has been taken without your consent and dealt with in a way that you consider inappropriate ? I've once had, and I can fully understand Zed, may
568.
▲
A big news website in Norway lights up the IPv6 tomorrow
(meta.vgb.no)
1 points
by
ay
16y ago
|
0 comments
569.
▲
by
ay
16y ago
It's already there: http://chaos-pp.cvs.sourceforge.net/chaos-pp/order-pp/exampl... But I do not envy the poor soul who would have to maintain all this cleverness.
570.
▲
by
ay
16y ago
I can say only one word: brilliant. No, two: perfectly brilliant. I wish all the best of luck so that you are able to cover the loan and have some left for a little champagne bath. Both the idea and the implementation deserve it. Almost mak
More ›