Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
army
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
army
13y ago
There's a difference between being enthusiastic about working for a company and being so keen to work to them that you're not even going to consider alternate offers. But seriously, you think that someone is going to be a bad empl
62.
▲
by
army
13y ago
I would agree with his approach, but unfortunately the Python community has encouraged, to some extent at least, the use of implicit "truthiness" to do things like check for None, rather than explicit checks.
63.
▲
by
army
13y ago
It's probably easier to get it in when you're solving a real problem.
64.
▲
by
army
13y ago
It's also a specific instance of a more general technique of incremental computation, which is, if you look at it from the right perspective, a more specific instance of integration: rather than computing a function directly, you'
65.
▲
by
army
13y ago
That was far funnier than it had any right to be.
66.
▲
by
army
13y ago
Very cool. I think the point about transcribing equations directly from papers glosses over some of the hard issues with building numeric libraries around floating point precision and numeric stability. It's not that uncommon to see c
67.
▲
by
army
13y ago
Based on the experience I've had with teaching programmers, most don't have the distinction clearly in their mental models. For most of basic things they might do it can be made to work either way: usually with a bit of fiddling
68.
▲
by
army
13y ago
The problem is once you touch those memory pages, total memory usage increases even if you don't call malloc.
69.
▲
by
army
13y ago
In Java, all methods are virtual. You can often achieve a similar effect to non-virtual methods by declaring them final to prevent them being overridden in subclasses, but the same rules about which method is called apply. The reason to si
70.
▲
by
army
13y ago
This is less of a problem for systems with JIT compilation (including Java, C#, etc). They can recompile the code at runtime, which allows some nice tricks for virtual calls. They can turn a virtual call into a regular call with inline ca
71.
▲
by
army
13y ago
Agreed, for almost all code it doesn't matter, but for the remaining small fraction it's worth thinking about these things. It sounds pretty insane to go with a blanket approach of removing virtual calls throughout an entire code
72.
▲
by
army
13y ago
I think day-long interviews are fine, and I think real-world work samples are fine, but the combination is pushing it a bit as far as what is fair to ask job applicants to do, unless you're going to have some sort of explicit and upfro
73.
▲
by
army
13y ago
Thanks for reminding me of that quote - it's rare you find some much hilarity packed into a single sentence.
74.
▲
by
army
13y ago
The market is so volatile at the moment, especially with speculative momentum traders, that it's hard to say what would happen. There's no real way to value Bitcoin on fundamentals, so there's nothing much to keep the market
75.
▲
by
army
13y ago
There's a far stronger floor though on the price for Google shares, given that they're a very profitable company with good future prospects. The share price doesn't have to drop too much before it starts looking like a barga
76.
▲
by
army
13y ago
That isn't really an accurate description of the issues: it's not the case that it was "working" and then "broken" by GCC maintainers. It's always been unsupported and not worked in specific situations, b
77.
▲
by
army
13y ago
We had to use RCS for university projects and submit the versioned files. It has many shortcomings but the simplicity of it is nice for some purposes.
78.
▲
by
army
13y ago
Stonebraker is a very smart person but he's also not shy about promoting his own companies/research. You generally get a well-informed but very opinionated take on things from him. VoltDB, for example, is good for certain complex
79.
▲
by
army
13y ago
InnoDB isn't anything like that - it's a transactional database engine that's been around since the 90's and has since become the standard storage engine for MySQL - it competes directly with Postgres' storage layer
80.
▲
by
army
13y ago
I find git's CLI pretty efficient: most of the time it is just commit/rebase/push/pull.
81.
▲
by
army
13y ago
Consider yourself lucky :). I've just learnt things as I've come across new and difficult situations. The issues are really in dealing with multiple concurrent streams of development (multiple developers, or different branches of
82.
▲
by
army
13y ago
DVCS's solve a hard problem where there isn't a single obvious way of thinking about it. There's no easy solution to managing multiple concurrent streams of development. And everyone has their own different ideas about what
83.
▲
by
army
13y ago
The political system in Singapore also makes me uncomfortable: it's superficially democratic but not really in spirit.
84.
▲
by
army
13y ago
I spent at least an hour a while ago trying to track down a bug that turned out to be caused by exactly this. I couldn't work out what was happening until I looked at the preprocessor output.
85.
▲
by
army
13y ago
I can see why she might have been flagged for closer investigation: someone from the Phillipines with lots of family in the U.S. is probably a high risk of overstaying, but it sounds like the way it was conducted was totally out of line.
86.
▲
by
army
13y ago
The right to creatively interpret the constitution?
87.
▲
by
army
13y ago
Oracle sold a product that was absolutely essential to pretty much every major business: there isn't really a good alternative to a transactional relational database running on middle-to-high-end hardware for a lot of companies. Selli
88.
▲
by
army
13y ago
This isn't that surprising. It's common knowledge in the academic community that: * There are bogus open access journals which exist solely to make money from author fees. * There are bogus conferences that follow a similar busin
89.
▲
by
army
13y ago
I've had many times where I swore that something was a compiler bug. I did hit one once with Haskell/ghc, but I think that is the only instance.
90.
▲
by
army
13y ago
It depends on your technique. If you have the technique down it isn't difficult to rapidly decelerate on hills. It's mainly just a matter of bracing yourself, keeping your centre of gravity back and modulating the brake. If you&
More ›