Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbert
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jbert
10y ago
One difference is in "dead connection detection". How do you know that your AMQP connection is down? At some level you're polling, whether that be TCP keepalive, application keepalive or something else. If you're doing p
2.
▲
by
jbert
10y ago
The setup process for our Cocoon home security device ( https://cocoon.life ) uses an audio transfer from the phone to pass wifi details and a token to bootstrap setup and a trust relationship. After some time spent tuning and wit
3.
▲
by
jbert
11y ago
Isn't the calculation (assuming (for simplicity) one CPU, running at 100% only on application load) 60 requests/sec => each request takes 1/60s CPU-second == 16.6ms of CPU time to process? (This is time-on-cpu, and doesn&#
4.
▲
by
jbert
11y ago
I disagree. Names are comments. You don't want more mutable state across large scopes, but using intermediate names can help comprehension.
5.
▲
by
jbert
11y ago
> your business plan must make sense to the investors. Would locking in dividends in the business plan allow the investors to become "directly involved" and make investment in a "going concern but not a unicorn" a rat
6.
▲
by
jbert
11y ago
> And with language support I don't have to introduce new names for each occurrence; Having <LHS> as a name is only useful I think if you don't want to give it another name? I was asking what's the downside of giving
7.
▲
by
jbert
11y ago
Is there a significant benefit to this over using a new name for the result? y = (x + 1) / atan(x) - x; x = y; // If you're in a loop and updating some value If would hope/imagine that a compiler could
8.
▲
by
jbert
11y ago
Is the "but at that kind of energy output we'll boil the planet" limiting case really a hard limit though? If we're at the stage of having super-dense energy sources and super-tech, couldn't we we use those to cool
9.
▲
by
jbert
11y ago
In the pre-smtp days, email links were over UUCP, which was often relayed via dial up lines which connected intermittently, on a schedule (e.g. every hour). You also specified not just the destination, but also the route for the email to ta
10.
▲
by
jbert
11y ago
> The founders of the USA were not immigrants, they didn't immigrate to join Indian tribes, they were founders of a country. Sorry, I'm afraid I don't understand the distinction you're drawing. If some people move fro
11.
▲
by
jbert
11y ago
Thanks - useful point. But, I think that's more of an oddity of nested, named subs than anything else. The usual anonymous subs close as you'd expect (as you say).
12.
▲
by
jbert
11y ago
I'm interested in the details of the variable scoping problems are. I'd have thought that perl's explicit declaration of lexicals with 'my' was better than "declare at first use" of javascript/python&
13.
▲
by
jbert
11y ago
Does this places a reasonable selection pressure on the kinds of flying insects we can have? Big enough to shrug off a raindrop hit, or small enough to surf along the surface tension until it can slide off?
14.
▲
by
jbert
11y ago
Does it have to be an open system? Can't the already-contaminated water be used for cooling in a mostly-closed system? And if the expansion due to rainwater is significant, perhaps some kind of large tent arrangement?
15.
▲
by
jbert
11y ago
Someone did a nice calculator hack a little while back, based upon an old reddit comment of mine: http://tlrobinson.net/blog/2007/12/presenting-gccalc-a-horri... http://www.reddit.com/r/p
16.
▲
by
jbert
11y ago
A related one which I found is A + B - B != A In pretty much the same case, where A==some time and B == 1 month This came up in calculations for monthly subscriptions, trying to reach back in time to work out pro-rata charges for changing s
17.
▲
by
jbert
11y ago
Not entirely unlike running a garbage collection cycle (or freeing a pool) after each HTTP request...
18.
▲
by
jbert
11y ago
Yes, but as long as the same method is used to generate the hash, the same browser could connect to multiple services and share the same content. In that sense there needn't be a single service. Just a bunch of rendevous points for bro
19.
▲
by
jbert
11y ago
Perhaps stretch out a flow battery with a pair of pipelines? http://en.wikipedia.org/wiki/Flow_battery We could repurpose those oil pipelines we no longer need. :-)
20.
▲
by
jbert
11y ago
Is there any way to use drag to decay the orbit? We don't have to reach the sun quickly . The solar wind is blowing past, is it possible to "sail" against that at an angle and - over time - dump orbital velocity and so end u
21.
▲
by
jbert
11y ago
Huh - the other domains in *.google are hitting a default page. Perhaps the most-robustly-hosted apache default page in the world? http://foo.google/ http://wewjfkenf.google/
22.
▲
by
jbert
12y ago
People want to try on several pairs of glasses and see which ones they look best in. So if you control the retail chain, you've got the monopoly. They said their competition was walmart. And that they bought Oakley after refusing to st
23.
▲
by
jbert
12y ago
Do you know if there is any bias to the orientation of the jets? e.g. in a spiral galaxy, do they tend to align with the axis of rotation and so do less damage locally (spray out "up and down" from the galaxy)?
24.
▲
by
jbert
12y ago
You said: "In other words, it's just wouldn't be practically possible to create an application that uses standard memory allocation functions and reliably can free some memory back to the kernel." So I thought you'd
25.
▲
by
jbert
12y ago
> You're right, though; metadata on the allocations themselves marking them as release-on-memory-pressure would be much better. http://man7.org/linux/man-pages/man2/madvise.2.html - MADV_DONTNEED allo
26.
▲
by
jbert
12y ago
madvise() MADV_DONTNEED allows this - http://man7.org/linux/man-pages/man2/madvise.2.html It's also a flag in posix_madvise(), so the concept is reasonably portable.
27.
▲
by
jbert
12y ago
> No it wouldn't. If a program has memory that it doesn't need and can live without it ought to just release it. Otherwise that is called a memory leak. I disagree. A process could usefully cache the results of computation in R
28.
▲
by
jbert
12y ago
Can you just use their ssid, if you're the strongest signal your device should prefer yours?
29.
▲
by
jbert
12y ago
Stock ubuntu here has a /proc/keys file, so I think it's generally available.
30.
▲
by
jbert
12y ago
It'd be really interesting to see the methodology used when gains like this are reported, because it's potentially really interesting stuff but without knowing what was measured and changed, it's hard to give it weight. Which
More ›