Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zvrba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
88 ms
·
871.
▲
by
zvrba
15y ago
The problem is the brain-damaged shell which, probably for all sorts of accumulated legacy crap from '70s, uses fork+exec instead of the far more efficient spawn (or posix_spawn).
872.
▲
by
zvrba
15y ago
All well and nice, but it doesn't explain how to actually DRAW something! I used to write a lot of text in Latex, and used metapost/tikz/pgf to draw box and arrows diagrams. Drawing straight lines was OK, but trying to make nice curved arro
873.
▲
by
zvrba
15y ago
(A foreigner living in Norway here.) You can relatively often hear Norwegians joking about Swedes, and vice-versa. So I asked a friend of mine (he's Norwegian) about this "friendly hostility", to which he replied: "Norway has oil, Sweden ha
874.
▲
by
zvrba
15y ago
Probably that you can get stuff done simply, without writing a lot of boilerplate code.
875.
▲
by
zvrba
15y ago
Indeed. The first is blindly following a dogma, the second is true knowledge. An example: I have been taught to never attempt shifting the gear in a car before pressing the clutch. I accept this as a dogma, but I have no idea what would hav
876.
▲
by
zvrba
15y ago
Can somebody (preferrably, a physicist or a chemist) explain to me two things. 1. Why do we need both kilogram and mole as fundamental units when they measure essentially the same thing (at least in case when the thing being measured is pur
877.
▲
by
zvrba
15y ago
Well, knowing the dark corners of the language is not useful "per se", but it allows you to say "I wouldn't write code like this" more often. And, consequently, it makes you NOT write "code like that".
878.
▲
by
zvrba
15y ago
And here's a link to the PDF: http://www.pvv.org/~oma/DeepC_slides_oct2011.pdf I hate slideshare requiring registration or facebook login before it allows me to download it in some decent format.
879.
▲
by
zvrba
15y ago
"Without a computer that was an absolute joy to use, I would have never spent so many hours learning how to code and consequently now have the career opportunities that I do." That's what Commodore 64 did for me (I grew up with it), and tha
880.
▲
MSRI publications - a collection of free math/physics books
(library.msri.org)
2 points
by
zvrba
15y ago
|
0 comments
881.
▲
by
zvrba
15y ago
Has somebody just made an analogue of http://pdos.csail.mit.edu/scigen/ for physics?
882.
▲
by
zvrba
15y ago
I consider _counting_ and _indexing_ being two different concepts. In C, you declare int a[5], where 5 is the array size (element _count_), but its _indices_ run from 0 to 4. (Indeed, an array of size n can be also viewed as a _function_ wi
883.
▲
by
zvrba
15y ago
I was on the borderline between vim and emacs for a long time. I finally ended up with emacs because it handles editing multiple files and switching between them way better than vim in its default configuration. It also has a saner scriptin
884.
▲
by
zvrba
15y ago
Is it just me who thinks that the OpenJDK's "fix" still has the same bug as the original code?
885.
▲
by
zvrba
15y ago
"That has a performance impact on all platforms..." I mean, tmpfile() is about to make AT LEAST one system call, access the disk, and do a bunch of stuff he has no control over whatsoever, yet he's worried about one extra CALL instruction.
886.
▲
by
zvrba
15y ago
"Readable code" is VERY important when you have to deliver a working product to a customer. Especially when you're working in a team. To quote Dijkstra: "The competent programmer is fully aware of the limited size of his own skull. He the
887.
▲
by
zvrba
15y ago
One thing strikes me as really odd: how naive do you have to be to leave documents and valuables in an unsecured place and then let complete strangers use your apartment?
888.
▲
by
zvrba
15y ago
This: http://zvrba.net/software/cspim.html I didn't get any money for it, but I got a publication on a peer-reviewed conference: http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5438...
889.
▲
by
zvrba
15y ago
Programming boils down to paying attention to details. C is an extremely small, simple, predictable and malleable [ ] language that makes you painfully aware of that fact. For me, it is a pleasure to read well-written C code, for example t
890.
▲
by
zvrba
15y ago
You're wrong; there ARE arrays: make int a[16], *aa; and compare sizeof(a) with sizeof(aa). The confusion arises from the fact that the VALUE of an array is a pointer to its first element. When you consider that C is a pure pass-by-value
891.
▲
by
zvrba
15y ago
"switch true {...}" or "switch {...}"? really? So how would switch 3.141592654 { ... } affect the case-statements inside?
892.
▲
by
zvrba
15y ago
Can you explain the " ; true" part?
893.
▲
by
zvrba
15y ago
Go is NOT C-like. The same semantics could have been achieved by making minimal changes to the existing C syntax. For me, Go seems to be suffering from the NIH syndrome -- they made many syntax and cosmetic changes to C just for the sake of
894.
▲
by
zvrba
16y ago
The way humans conceptualize the world is miles away from how computers work. We (or at least I) conceptualize the world in terms of relationships between things we encounter, but the focus of OOP is designing individual classes and their
895.
▲
by
zvrba
16y ago
Based on the screenshots, font rendering -- the most important thing -- still seems to suck big time.
896.
▲
by
zvrba
16y ago
Few months ago I was where you were, just a bit less confused. I liked different names for different things (flet vs. labels, for example), the language comes built-in with useful data-structures and functions (e.g., hash-tables; which on
897.
▲
by
zvrba
16y ago
Personally, I think that Gosling got what he deserved considering the pain he inflicted on myriads of developers with Java. (Yes, there are some nice technologies in the Java platform. But Java language is not one of them.)
898.
▲
by
zvrba
16y ago
Fiction: Iain Banks (the bridge; wasp factory; walking on glass; player of games). Ender's game. Asimov. Dostoyevski. Ayn Rand (Fountainhead). Sigurd Hoel. (excellent norwegian writer) Non-fiction: stuff about military strategy (Sun Tzu, Cl
899.
▲
The Cassiopeia project (science lectures)
(cassiopeiaproject.com)
1 points
by
zvrba
16y ago
|
0 comments
900.
▲
by
zvrba
16y ago
Work less. Take yoga or martial arts classes. Work less and do something with your friends. Work less. Take a short walk and stretch often while working. Did I mention you should work less?
More ›