2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions
comment 9y ago · link · parent
Everything I've read about the course suggests that the programming assignments are actually pretty easy. Hopefully I'll reinforce, rather than confuse the core concepts in translating them to this unfamiliar language.
comment 9y ago · link · parent
Marcotty writes: "The important thing is not whether the committee was right in its conclusion, but that a serious effort was being made to design a programming language for communication between people as well as with computers."
To put this in context, consider this quote from Backus and Heising (1964) about Fortran: "[Our group] had one primary fear: ... an important application ... would run at half the speed of the hand-coded version. It was felt that such an occurrence ... would almost completely block acceptance of the system."
comment 9y ago · link · parent
Although I agree with another poster that Euler is a bit math heavy, being able to submit a single number to check your solution is handy. Google's foobar recruiting puzzle system actually tests your program, but it's limited to Python and Java.
comment 9y ago · link · parent
https://chromium.googlesource.com/chromium/src.git/+/08cb718...
It seems very limited in scope, essentially preventing the Unicode display of a domain that only contains the following "Latin-alike" Cyrillic characters: "асԁеһіјӏорԛѕԝхуъЬҽпгѵѡ".
comment 9y ago · link · parent
https://hackernoon.com/multi-millionaire-at-27-what-i-learne...
comment 9y ago · link · parent
http://blog.revolutionanalytics.com/2017/02/finding-radiohea...
which is a summary of a blog post at:
http://rcharlie.com/2017-02-16-fitteR-happieR/
I didn't know that Spotify has an API. I see mention of a rate limit in the docs, but I can't find the actual limit. If I want to sort the tracks from albums released in a given year (say, ten to fifty out of a thousand-album collection) by Spotify popularity, will the limit get in the way?
comment 9y ago · link · parent
http://home.dtm.ciw.edu/ebps/data/
When I try to download the TAR files, I'm sent to a Google Drive page where the download button gets a single 5 MB file.
comment 9y ago · link · parent
http://cameratico.com/tools/web-browser-color-management-tes...
comment 9y ago · link · parent
1. Stability. I crashed Alacritty thirty seconds after opening it; possibly related to issue #12.
2. Emulation correctness. In Terminal.app, the cursor often gets out of sync when I "turn the corner" (i.e., backspace across a line boundary).
3. Font rendering. Text in some terminals just looks ugly.
4. Features. Alacritty doesn't seem to show the number of rows and columns when I resize. Scrollback!
This looks like a really interesting project, but it seems really strange to make performance such a high priority. I tried the find /usr test, and it seemed equally fast in Terminal.app and Alacritty.
comment 9y ago · link · parent
There are some really interesting approaches to compressed data structures that preserve fast random access. This comparison of less exotic encodings was a good read too:
comment 9y ago · link · parent
http://www.tiobe.com/tiobe-index/
A Github search turned up 2,658 Go repositories with more than 100 stars:
https://github.com/search?l=go&q=stars%3A%3E100&type=Reposit...
compared to 348 Rust repositories:
https://github.com/search?l=rust&q=stars%3A%3E100&type=Repos...
Notably, Docker has more stars than Go itself.
Edit: you may also be interested in IEEE Spectrum's interactive list of the top programming languages:
http://spectrum.ieee.org/static/interactive-the-top-programm...
With the default parameters, Go and Rust are 10 and 26, respectively.
comment 9y ago · link · parent
Really interesting to see this come to Python. Thanks for mentioning it.
comment 9y ago · link · parent
Since a lot of people depend on Saudi observations, I imagine this will be influential. People grumble about Saudi Arabia, but they set the trends. They're kind of like California that way.
comment 9y ago · link · parent
"Works that express someone's opinion—memoirs, editorials, and so on—serve a fundamentally different purpose than works for practical use like software and documentation. Because of this, we expect them to provide recipients with a different set of permissions: just the permission to copy and distribute the work verbatim."
https://www.gnu.org/licenses/license-list.en.html#OpinionLic...
"The second class of work is works whose purpose is to say what certain people think. ... To modify them is to misrepresent the authors; so modifying these works is not a socially useful activity."
https://www.gnu.org/philosophy/copyright-and-globalization.h... (excerpted from the book under discussion, Free Software, Free Society)
Edit: the second quote is from the book, not first.
comment 9y ago · link · parent
https://news.ycombinator.com/item?id=4053969
Github issue, which Mike said "is up for takers":
comment 10y ago · link · parent
https://news.ycombinator.com/item?id=5930494
Unfortunately, the blog post is 404. Here's the most recent version from archive.org:
https://web.archive.org/web/20151229061347/http://blog.lunat...
comment 10y ago · link · parent
https://tools.ietf.org/html/bcp128
"any application that defines an FEC that does not take measures to prevent the values 0x4 and 0x6 from occurring in the first nibble of the payload may be subject to IP ECMP and thus having their flows take multiple paths and arriving with considerable jitter and possibly out of order."
comment 10y ago · link · parent
1. Although the source is available free of charge, CompCert is not free software. I couldn't find pricing on the AbsInt site or the North American vendor's site ("Ask for a quote").
2. Currently targets IA32, 32-bit PowerPC, and ARMv6.
3. Covers most of C99, except VLAs and certain abuses of switch statements (e.g., Duff's device).
4. Faster and smaller code than GCC -O0, reasonably close to -O1 and -O2.
John Regehr points out: "If we want better code out of [GCC et al.] we can turn on their optimizers, but at that point they would fail to be capable of translating 1,000,000 random programs without miscompiling a few times."
http://blog.regehr.org/archives/1052
I'm less inclined to use C as time goes by, but for the embedded market that CompCert targets, it seems like a really useful tool.
comment 10y ago · link · parent
http://www.senate.gov/artandhistory/history/common/briefing/...
Most recently, John Tower was rejected in 1989, and Tom Daschle withdrawn in 2009.