Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmarx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
151.
▲
by
mmarx
11y ago
> It's quick for the same reason JavaScript is quick - a lot of work and money has been spent creating fast compilers. It's also quick because the language is designed to enable compilers to generate fast code. In indexed (for-
152.
▲
by
mmarx
11y ago
That is what happened with coarrays (which was called F-- before), the object-oriented features, however, were not based on existing extensions. For example, neither the Intel compiler, gfortran, nor g95 supported any of those features at t
153.
▲
by
mmarx
11y ago
From the article: > Today, Fortran 95 provides all desirable object-orientated and structured programming features, pointers and overloaded operators, and is extremely efficient in the handling of arrays. The object-oriented features (i
154.
▲
by
mmarx
11y ago
> IMHO, it's a C-standard mistake that char is signed. The standard doesn't specify whether char is signed or unsigned, it's left to the implementation.
155.
▲
by
mmarx
11y ago
Trivial, maybe. Not only does it add a single point of failure, though, as the logs get aggregated on the syslog host, the only “benefit” rtail retains is looking at the logs in a browser instead of tail(1).
156.
▲
by
mmarx
11y ago
Why does it have to be a custom network protocol when using syslog would not only suffice, but also allow for devices that don't run custom code (e.g., switches or routers) to be monitored?
157.
▲
by
mmarx
11y ago
> The mention of "NP hard" in the first place just seems...unnecessary. Furthermore, trying all possible passwords of length n for a fixed alphabet can be done in polynomial time, hence finding the password deterministically on
158.
▲
by
mmarx
11y ago
If insurance is required in any case, there's no choice left for the app user to make, so why should it be left to them? That said, I very much doubt that the required insurance covers comercial transportation of passengers (which uber
159.
▲
by
mmarx
11y ago
> people die because of the law to protect a monopoly More like people die because they (or, quite possibly other people) choose to break the law against drunk driving?
160.
▲
by
mmarx
11y ago
>> Not all laws are in place to mess with Uber or suppress competition, some of them are actually to the benefit of the public. Requiring insurance or having the driver registered as self-employed doesn't seem unreasonable. >
161.
▲
by
mmarx
11y ago
> Instead of writing Xi, they should really write X[i]; because Xi is ambiguous. How so, and in which cases would it be ambiguous to write X_i, but not X[i]?
162.
▲
by
mmarx
11y ago
Indeed it was around main engine cutoff.
163.
▲
by
mmarx
11y ago
What xmonad does actually isn't hotswapping, but exec'ing the new code and simply passing the current state along. Instead they are using GHC's runtime linker to load/unload modules dynamically, in the same fashion as gh
164.
▲
by
mmarx
11y ago
That is yet another section of the article, the thousand years clearly reference the edit distance, which is quadratic.
165.
▲
by
mmarx
11y ago
>>> 1000 / ((1024. ** 6) / 3e9 / 86400 / 365) 82.0593593076069 The algorithm is quadratic in the input size. For a Gigabyte of data, that's 1024^6 operations. Dividing that by 3 * 10^9 operations&
166.
▲
by
mmarx
11y ago
> diff(1) shows "deletions, insertions, and substitutions". diff(1) doesn't give you a _minimal_ set of edits to apply to go from one file to the other, just _a_ set of edits.
167.
▲
by
mmarx
11y ago
Also in Germany, where the driver is allowed not to wear a seatbelt while carrying passengers, but has to wear a seatbelt as long as the taxi is empty (passengers are always required to wear seatbelts).
168.
▲
by
mmarx
11y ago
Since apt-1.0 (basically, since jessie), there's also apt(8), which integrates (most of) apt-get and apt-cache.
169.
▲
by
mmarx
11y ago
It's probably referencing http://gwern.net , a site featuring essays on various topics.
170.
▲
by
mmarx
11y ago
> It's not that bad. As someone used to the trackpoint on an X201, yes, it is practically unusable.
171.
▲
by
mmarx
11y ago
How about a mail[0] on the mirror announce mailing list from half an hour ago? “As you are probably already aware of, Debian 8.0 "jessie", is just a few hours away from becoming the next stable release. This is a heads up in case
172.
▲
by
mmarx
11y ago
> The X201 also had a FULL keyboard. They used every cm of the laptop to fit all the keys in. And it's not even crammed in, the X201 keyboard is identical in size and layout to the T400 keyboard.
173.
▲
by
mmarx
12y ago
Also, it's not even tetris, but tritris: “I did not want to use the original TETRIS figureset (which consists of all tetrominoes) to avoid being yet another exact tetris clone. Pentominoes are too irregular and will crowd the place pre
174.
▲
by
mmarx
12y ago
No wonder its not standardised, considering that almost any server out there uses a different, partly incompatible set of extensions (for server-to-server communication, at least), depending on which servers it was forked from (very few are
175.
▲
by
mmarx
12y ago
Interestingly, this is about as much “do it yourself” as installing debian via debootstrap instead of the installer.
176.
▲
by
mmarx
12y ago
> It is not difficult to find discussions that spans more than one decade, where the official consensus is "web authors: get screwed, we would rather die than to add X feature". And yet, this doesn't appear to be the case
177.
▲
by
mmarx
12y ago
> Of course you could move the hammers with long levers. That changes how the keys feel, however. The longer the lever, the harder you need to push down the key, for example.
178.
▲
by
mmarx
12y ago
> we never learn what happened at that border crossing. “So when the Austrian guards stopped Steve and Joshua at the Hungarian border and threatened to confiscate the toys, the Glews fled east to Budapest, bringing their Black Santas wit
179.
▲
by
mmarx
12y ago
Also, if you happen to find Kolle Mate[0], try one. If you're looking for places to buy, Matekarte[1] provides a nice map detailing who sells what and the latest status (in stock, only few left, out of stock). Unfortunately, it appears
180.
▲
by
mmarx
12y ago
It also fits quite well with where those tracks typically play during the game.
More ›