Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grogers
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
361.
▲
by
grogers
16y ago
I think most of what is good/unique about clojure doesn't come from being lisp though. For example - its concurrency constructs, seq/lazy-seq abstraction, persistent data structures that work with seq, java interop, etc. Being a lisp doesn'
362.
▲
by
grogers
16y ago
I think I might like this actually. Chrome was a good start to reducing the wasted vertical space in the browser compared to earlier versions of firefox. Combining the address bar and tabs into one line is the next logical option, it might
363.
▲
by
grogers
16y ago
The paper does mention this: As an example, radon concentrations are known to fluctuate seasonally, as has been noted in Ref. [10], and it was suggested that the decay of 222 Rn could lead to a seasonally dependent charge distribution on the
364.
▲
by
grogers
16y ago
After having worked at the company I'm at for several years, I've seen quite a few mediocre programmers flounder at the same level for quite a while, none of them particularly improving. I think the same things that keep someone from improv
365.
▲
by
grogers
16y ago
Most phones do issue a warning if ciphering isn't enabled. On some you may be able to force it to require it. But keep in mind that this is only applied on the radio interface anyways (and GSM encryption is so broken you shouldn't be relyin
366.
▲
by
grogers
16y ago
I know there are several conversion functions for a USIM to be able to authenticate on a 2G network, but I didn't think it was possible for a 2G SIM to register on a 3G network. Can you explain this more thoroughly?
367.
▲
by
grogers
16y ago
One of the best things about vim for me is (for example) the command cib. This deletes everything from your cursor forward to the first "(", and everything after to the first ")", then places you in insert mode. How do you do that in your e
368.
▲
by
grogers
16y ago
Ug... I'm fairly disappointed... His conclusions: - Separating a cold thread from its underlying hot thread is not without performance overhead... Of course cache misses dominate performance. This is basically the first vector that work ste
369.
▲
by
grogers
16y ago
I haven't read his thesis, but more and more languages/environments are moving to two-level scheduling being the dominant way to get performance. When I read through it later I'll be interested to see how his results are applicable to the s
370.
▲
by
grogers
16y ago
There is a self tuning linear algebra library called ATLAS. When building, probes various things about your computer, things like L1/L2 cache, if you have fused multiply/add, etc. It uses these to output very highly tuned matrix kernels in
371.
▲
by
grogers
16y ago
"2. Loop-invariant strlen() GCC does this optimization, because strlen is a "built-in function:" one that gcc recognizes and optimizes specially. Disabling built-ins with -fno-builtin defeats this optimization." No, it does it because strle
372.
▲
by
grogers
16y ago
Exceptions aren't the only solution though. Conditions/restarts in common lisp seem to be a more powerful but similar alternative. One problem with exceptions is that they can only be one deep. Ie. if you are executing the code invoked by h
373.
▲
by
grogers
16y ago
I think this is probably true too, that they didn't want to have a separate operator just to reassign a reference. I think it could have been made to work, but just wasn't worth it. Fortran for example has this - pointers in fortran behave
374.
▲
by
grogers
16y ago
Linked lists are a particuarly poor example though. It is just as easy to make them without null pointers as with null pointers: struct list_node { list_node *next; }; struct list { list_node sentinel; }; IE. A circular linked list.
375.
▲
by
grogers
16y ago
In rust there is no global mutable state. All mutable state is local to a process. This means that GC happens per task (similar to erlang) instead of per process. This emphasizes safety over performance. You can still drop into C to get bac
376.
▲
by
grogers
16y ago
Staying calm while thinking through a solution is a pretty useful trait to be hiring for - not just for programmers either. What happens when the shit hits the fan and everything is core dumping left and right - do you really want someone w
377.
▲
by
grogers
16y ago
I read ithat paragraph as he hoped to build a Polywell, if he could get the money (unlikely). Which would mean that what he built is just a regular fusor.
378.
▲
by
grogers
16y ago
When you send packets of data out of your phone, there are several layers that are added onto your IP packet. Here is a basic diagram of the different nodes in the RAN and CN and which layers they operate on: UE<->NodeB (Uu): <y
379.
▲
by
grogers
16y ago
The MSC is part of the core network, and it handles circuit switched calls/data, the SGSN is also part of the core network, and it handles packet switched data. When AT&T is telling you not to use your femtocell for data, it isn't just
380.
▲
by
grogers
16y ago
Yes, but in an article on copy elision, it doesn't really make sense to talk about small objects because it really doesn't matter if they are copied or not. Pass them by value anyways. What are you referring to about the sorted function - t
381.
▲
by
grogers
16y ago
Its all just header comments...
382.
▲
by
grogers
16y ago
Yep, what the author fails to account for is that even locally run projects have a chance of complete failure, and huge budget overruns. It isn't that outsourcing created the problem, poor project management likely created the problem - and
383.
▲
by
grogers
16y ago
I can understand that interacting with the REPL inside an emacs session might be better than what you can get in vim (haven't tried either yet - I just use a separate REPL session). But is there anything particular about emacs the editor th
384.
▲
by
grogers
16y ago
Of the tangible features that they list as motivation: - Build libraries for inclusion in IDEs, command line tools, and other analysis tools - gdb seems to have it http://sourceware.org/gdb/papers/libgdb2/libgdb_toc.html - High perf
385.
▲
by
grogers
16y ago
So basically they want to a debugger as good as gdb, but BSD licensed. I think if this actually matures into something decent, the competition will be good for both projects.
386.
▲
by
grogers
16y ago
Some times in clojure I've found it easier to express a sequence recursively, rather than iteratively. Using lazy-seq is not only braindead simple for this - just wrap the whole function in it, it is the only way to keep your stack use from
387.
▲
by
grogers
16y ago
I find this kind of testing incredibly useless. All he did was take the implementation of update-all and do the same thing again for the test! Basically all he is doing is checking that clojure's map function works. When your unit test says
388.
▲
by
grogers
16y ago
Interesting, when I solved the problem originally on my own, I got to the exact same solution just with different variable names and braces. I suspect that this is probably the most common way to solve it.
389.
▲
by
grogers
16y ago
Thankfully select + middle mouse button in X isn't affected by this.
390.
▲
by
grogers
16y ago
The clouds at the top are annoying as well, but significantly less so than the hills.
More ›