Recent submissions

Comment · 8 years ago
Is that using the Lua interpreter, or LuaJIT?
Comment · 8 years ago
Could Numpy be considered the APL renaissance? Not in syntax, but conceptually?
Comment · 8 years ago
Comment · 8 years ago
Comment · 8 years ago
Comment · 8 years ago
You should not write a CRUD app in 2018. Update and delete are remnants from the times where memory and disk were expensive, and update in place was a necessity. This is no longer the case. Apart from a few very specialised use cases, there is no need any more for update or delete. Record new facts and don’t destroy the older ones.
Comment · 8 years ago
“Cache line sizes have not significantly increased since 2009, so 8 should still be optimal for 𝑟.”

Cache line sizes don’t change insignificantly — they change in powers of 2. Cache lines sizes for Intel x86_64 CPUs have not changed at all since 2009, it’s still 64 bytes.

Comment · 9 years ago
Comment · 9 years ago
I am curious, what constitutes “traffic”, and if it is page loads, why is it the right thing to measure? Users who load the page are already visiting, regardless of whether there is an ad on the page or not. (Or does it include a delay to filter visitors who immediately close the page?) And they did not know in advance whether there was going to be an ad, so their decision to visit the site is not based on the presence of ads. (Unless perhaps if they had a particularly bad experience a previous time — bad enough to remember the domain and not follow the link.) I don’t understand how turning ads on and off every two days can be used to understand long-term effects. There appears to be the assumption that there is a relation between a user seeing an ad or not, and subsequent traffic. There might be a small correlation because of visitors browsing the site, or likeliness to share, but if outside of the spikes, the majority of visitors arrive from an old external link or search engine, and they only read a single page, then how does turning ads on and off every two days measure impact on these users?
Comment · 9 years ago
https://www.visualstudio.com/downloads/ includes an MSVC compiler.

http://www.msys2.org/ can be used to install GCC.

Comment · 9 years ago
While it does not solve your use case, others here might find it interesting: I built a domain-specific language for designing slides (https://github.com/ruuda/pris#readme). It is superficially similar to LaTeX/Beamer/TikZ, but it has first-class graphics that are reusable. More motivation in this blog post: https://ruudvanasseldonk.com/2017/04/27/a-language-for-desig.... It is still basic, but I have used it a few times to do slides nonetheless.
Comment · 9 years ago
Yes, I’ve been happily using this feature since it was introduced.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton