Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rav
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
211.
▲
by
rav
9y ago
Needs (2012) in the title.
212.
▲
by
rav
9y ago
I would not remap , and ; as the article suggests, since those keys are already used in Vim for repeating f/F/t/T.
213.
▲
by
rav
9y ago
Certificates often change for legitimate reasons, e.g. Let's Encrypt certificates which must be changed every 3 months.
214.
▲
by
rav
9y ago
I think you could call this academic clickbait. I know I clicked to find out what his conclusion actually was.
215.
▲
by
rav
9y ago
The paper is on arXiv, so we don't know if it's gotten a fine-toothed comb review yet. Furthermore, some reviewers seem to ignore those kinds of typos, which means a paper might have been reviewed carefully for the technical conte
216.
▲
by
rav
9y ago
"verb: entitle give (someone) a legal right or a just claim to receive or do something. 'employees are normally entitled to severance pay'" The definition cuts both ways (unfortunately).
217.
▲
by
rav
9y ago
The article severely misrepresents Amdahl's law, in particular in the sentence: > Though you took half of your entire program, and optimized it to be four times faster, the overall system is only 1.6x faster. This application of Amd
218.
▲
by
rav
9y ago
Why save as PNG when you can save directly to DOCX? /s
219.
▲
by
rav
10y ago
Unfortunately, redbaron targets Python 2, which doesn't have the f-strings added in Python 3.6. The project looks quite nifty otherwise.
220.
▲
by
rav
10y ago
That looks very cool! Thanks for the pointer.
221.
▲
by
rav
10y ago
Using the line/column information in Python's ast objects, you can sort of, almost recreate the concrete syntax, and I've tried to do so in my toy project https://github.com/Mortal/fstrings which convert
222.
▲
by
rav
10y ago
Unfortunately the "Latest Felt Quakes Map" at http://www.weatherwatch.co.nz/geonet doesn't work because the website has exceeded 25,000 map loads in a day.
223.
▲
by
rav
10y ago
The description of Naive Bayes is misleading. Almost all supervised learning problems assume that "Inputs are classified in isolation where no input has an effect on any other inputs" (quote from the article), but that's not
224.
▲
by
rav
10y ago
The link should be changed to https://github.com/ssloy/tinyrenderer/wiki since that seems to be the primary entry point for the repo/tutorial.
225.
▲
by
rav
10y ago
You can see hidden commits with git log --reflog.
226.
▲
by
rav
10y ago
Since the thesis is full of handwritten equations I doubt there exists a digitized version at all.
227.
▲
by
rav
10y ago
The authors define a level metric for the "linearity" of the level, defined as "how close the level can be fit to a line". This seems like a vague definition -- is it the optimal path taken by the player that is being fi
228.
▲
by
rav
10y ago
Once you have solved your first 1000 problems in programming competition situations, you become really good at writing code that compiles and even is correct in the first go. For me, practicing for programming competitions alongside the job
229.
▲
by
rav
10y ago
The biggest takeaway is the last paragraph: > On most of the machines you're likely to use, "size_t" for loop counters is a good idea where signed values aren't required. It's unsigned and generally as wide as ad
230.
▲
Panama Papers: John Doe's Manifesto
(panamapapers.sueddeutsche.de)
4 points
by
rav
10y ago
|
1 comments
231.
▲
by
rav
10y ago
Studying the design document [1], one sentence makes it clear why this project is needed and simply using the Dropbox client does not suffice: > We can perform a compare-and-swap operation in Dropbox by using the "update" write
232.
▲
by
rav
10y ago
The H-index is designed such that posts with few upvotes cannot decrease the H-index. Since it is defined as the largest n such that you have ≥n posts with score ≥n, adding another low-scoring post doesn't decrease the H-index.
233.
▲
by
rav
11y ago
In the end of the press release, Mossack Fonseca comment on "specific allegations in the media reports". Note how the list enumeration jumps from (f) to (h) without any (g)... I wonder if they erased one of the rebuttals just befo
234.
▲
Statement Regarding Recent Media Coverage [pdf]
(mossfon.com)
1 points
by
rav
11y ago
|
1 comments
235.
▲
by
rav
11y ago
Poor Zach Adams (Tarn's brother), not getting any mention in the article (or even this comment thread). Even though he doesn't work on programming the game, he still writes the stories that (as far as I can tell) carry the creatio
236.
▲
by
rav
11y ago
In this case, passing the std::string to std::getline by reference is more than just an "out parameter": it is the buffer in which the result should be stored. Of course this will be more efficient than allocating a new buffer for
237.
▲
by
rav
11y ago
Following the links in that article, you find the ADM-3A that inspired the reliance of Vim on the Escape key: https://en.wikipedia.org/wiki/File:KB_Terminal_ADM3A.svg
238.
▲
by
rav
11y ago
Considering that a considerably large subset of C is valid C++, it should be easy to modify 8cc to be valid C++ (e.g. by replacing implicit void*-casts to explicit ones), and then you already have a "self-hosting C++ compiler", bu
239.
▲
by
rav
11y ago
In a sense, Robbert's thesis can be viewed as a more mathematically stringent (and thus arguably clearer) C11 specification. For instance, page 42 has the following mathematical gem: > The C11 standard defines the usual arithmetic c
240.
▲
by
rav
11y ago
> The irony of it all is that last year when i had a couple of computer science applying for a job, they told me that they had assignments of doing bits and parts of a civilization clone at the university as part of the studies, so i gue
More ›