skysight-inc/HackerNews huggingface dataset:
And the reason why I don't want to assail Dijkstra's argument is that I've programmed fairly extensively in both types of languages. 1-indexing means I have to think about every single time I want to go and slice an array. Half-open interval means it just does what I want, and I literally can not think of a case where I wrote an off-by-one bug under that regime. And, again, let me emphasize, extensive experience in both regimes, which is to say, it's not just a matter of what I was "used to". Indeed, I believe my first 2 languages (possibly 3) were 1-based. I'll take the style that produces the fewest bugs and happily call it "right"; others are free to argue that their intuition says they should use the buggier style, I guess, but I'm not going to be finding it convincing anytime soon.

I consider the idea that we should follow human intuition to itself "not rise to the level of wrong". There is nothing intuitive about programming, it is probably the second least intuitive activity known to man behind only pure mathematics. Your intuition needs to be trained from what is basically scratch, not blinding copied from much friendly, human domains. We know what that leads to, we've been doing it for decades; some people seem to argue "Oh, if only we'd try more human-friendliness it would all be better" as if we've never tried it, but we have, repeatedly. We get Applescript and COBOL and other languages that strive to be "human friendly" and produce an impenetrable morass of "human friendliness" that become incredibly hard to use as the size of the project exceeds trivial. As counter-intuitive as it may be, the track record is pretty clear at this point that the best languages are those that do not try to cloak themselves in false human skin.

(Which is of course not to say that we should all be programming assembler. Don't strawman me there. But the task of a language should be seen as a bridge between the human world and the computer world; it is not the job of the language to actually be in the human world itself.)
There's a wonderful post on Metafilter about this very subject:
http://www.metafilter.com/134597/Twenty-Years-of-Ultra-Viole...
I think today's the last day to claim a free case or t-shirt for your Parallela.

I stumbled across a mail from andreas@adapteva in my spam box the night before last. Just an apology for the delays, looking like a Feb delivery now. You've to send a mail to sales@ with your preference for t-shirt or case.
FYI, you may have a name conflict. I actually thought this was about the other app.

http://www.triage.cc/
The Quantified Self: Past, Present, & Future
This just shows a blank, light grey page. I assume it should do more than that.

EDIT: It loaded, after more than 10 seconds. The HTML loaded in less than a second, as did the images, but your 500 kilobytes of JavaScript (what? why?) took 10 seconds to download. And the page was blank until everything had loaded.
The address of your backyard is not private.
IBM uses it. I think that alone is enough for them to invest in it.
Joe,

Good call, we need to get that in asap. Here's a quick list if you're interested:

Google Analytics,
Stripe,
Github,
Sentry,
Airbrake,
Braintree,
AppFigures,
HockeyApp,
Kiln,
Beanstalk,
Crashlytics,
NewRelic,
Heroku

(We mainly started with services we use, we'll be adding more rapidly)
The thing is, even if you somehow manage to unilaterally hamsting US intelligence efforts, which is extremely unlikely because the entire West is complicit, you will still be spied on unless you protect yourself with extreme measures which are onerous. Have a laugh, go outside, life is short.
I've also noticed this countless of times. If you leave data sets to be designed by a non-engineer - it will cost you hours and hours of parsing and changing the format constantly depending on who slapped the excel sheet together. Literally one of the worst experiences on a job was dealing with a big corporations excel sheets and trying to convert them into usable data.
Time to plug Minetest. The core is written in C++ and a Lua API is exposed for extensions.
https://github.com/minetest/minetest
Hey Waterlion,

Yes it should. Browser/Device?
The most backwards thing is that when I tell the truth it is seen as a lie because they never hear the truth.
(In their vision whatever you answer first to their question is a lie, to cover up something bigger)
"Core hours are 8 to 5."
Rust prefers short keywords (e.g. `fn` instead of `function`) specifically to give people more room to write descriptive identifiers while keeping line lengths sane. The style guide also suggests limiting lines of code to 100 characters.
He is promoting his "own" open access journal. I'm not saying that is a bad thing. Just trying to understand the comment above about not mentioning "open"
I think Mint/Korora add value for the pragmatics, who want Skype, Adobe Reader, etc available on Ubuntu/Fedora.
Well yes, because of hate speech and potential violence...
> It implies the agency is insular, unaccountable, and has an aggressive, secret agenda

You're giving these people way too much credit. Military and intelligence patches are all about bravado and "USA #1" not some sophisticated and cryptic critique of their employer. I've had a long time interest in this stuff and let me tell you, its all tasteless and dumb, with the occasional touch of humor. The patch critical of the USG simply wouldn't be approved. There's no big anti-US message here. Its exactly as it seems.
My point was that it's rather awkward to count from 1 when doing programming.

For instance, could you rewrite this function where int count = 1; and have it still be intuitive?

int count_occurrences(std::vector<int> vec, int value) {
int count = 0;
for(int i = 0; i != vec.size(); ++i) { // using 0-based index
if(vec[i] == value)
++count;
}
return count;
}

My attempt is: (look how ugly!)

int count_occurrences(std::vector<int> vec, int value) {
if(vec.empty())
return 0;
count = 1;
for(int i = 2; i <= vec.size(); ++i) { // using 1-based index
if(vec[i] == value)
++count;
}
return count;
}
"Perhaps you’ve accepted the common fallacy that “Multithreading is hard.” It’s not."

Bzzt full stop epic fail. Think about the other discussion today about the "naturalness" of zero or one based arrays.

If multithreading was natural and inherent part of all noobs, you'd teach programming beginning with multithreading and maybe later on you'd have some weird module which confused most of the class explaining how some legacy languages and systems only allow one thread which has certain unusual programming constraints that most of the class would screw up. Also all automata theory classes would begin with the eNFA as the base class and later on tell the kids about DFAs being broken forms of a NFA and all that. I'm just not seeing it.

The article did fail at architectural level. Most non-threaded programs can't be upgraded to threading because either its not worth the effort or its impossible to solve the actual problem without threads so the postulated single threaded solution can't exist therefore you can't upgrade what could never have been implemented. Why are you multi-threading?

Most likely if you're adding multi-threading explicitly to a single threaded app for an inherently multi-threaded problem, you're going to spend all your time figuring out how the single threaded part exploited some other component of the entire system to create a psuedo-multi-threaded app. Perhaps it relies on the OS to spawn multiple clients in a client server arch where all the processes live on the same CPU or something. The problem isn't just adding a thread so you can checkmark a marketing box that its now a multi-threaded app so someone can collect an end of year bonus, the problem is you need to scrap the whole thing and start architecture work from first principles.

Another funny part was the natural assumption that all programs/projects will be huge enough to contain at least two completely non-interacting subsystems so no global state is the ideal. That's a dumb architecture design or business decision. Lets think of an example where you would have threads with no global mutable state. How about a tetris implementation in one thread and an enterprise rational DBMS system in another thread and an IRC client in another thread, all in the same program/project. That's just a dumb architectural idea, make totally separate projects. Make the smallest usable debuggable tools and use them together, not the largest undebuggable swiss army knife the world has ever seen.
Why do you need to increment?
It was a pretty good system because I wasn't good enough at games to easily complete the first episode of DOOM so my parents never needed to buy it for me. Indeed, perhaps 80% of my gaming experiences as a kid were off of cover disks and shareware with very few games bought.
>Many women, at least by my anecdotal experience, see sex as something that they give up, and are expected to, after certain checkpoints in a dating relationship.

This is absolutely absurd and I don't know what kind of women you are hanging out with. I've had frank honest women to women discussions about sex and relationships and this sentiment has never come up. EVER.

>I mention Manhattan for a reason: it's got an unbalanced gender ratio and the highest percentage of single men in the country

This is absolutely false.

http://www.theatlanticcities.com/neighborhoods/2013/02/neigh...

http://nycedc.tumblr.com/post/16175652438/ratio-of-single-me...

http://www.glamour.com/sex-love-life/blogs/smitten/2012/10/s...

>The men were upset they weren't having sex. The women date, and have sex if they want, but are somewhat resentful about it because they'd rather settle down.

The survey I presented above does not support this.

Here's a better writeup

http://abcnews.go.com/Health/survey-shows-single-men-commit-...

and here's another:

http://magicbaltimore.com/3386661/more-black-men-want-to-set...

Nearly 43 percent of single black men said they’re looking for a long-term partner that can eventually lead to marriage. That’s according to a new poll of nearly 1,100 African-Americans out today from NPR, the Robert Wood Johnson Foundation and the Harvard School of Public Health.

The survey asked questions about a wide range of topics, including communities, finance and dating. Respondents between 18 and 49 years old who were divorced, widowed or never married were asked whether they were currently seeking a long-term romantic commitment. Roughly half of the men said yes; just a quarter of the women said the same.
The claim doesn't hold. Half-open intervals appear in important places. That happens mainly because the family of finite unions of half-open intervals is closed under complement (that is, they form a semi-ring; this is unrelated to the "ring" concept in abstract algebra). In measure theory, one form of the Carathéodory extension theorem [0] says that you can uniquely extend a measure on a semi-ring to an actual measure (defined on a sigma-algebra).

The equivalent statement in probability theory says that a probability is uniquely determined by its cumulative distribution function, which are sometimes nicer to take limits of. You can also get a probability from a cumulative distribution function, provided your function is right-continuous [1] (which is directly related to half-open intervals). For more examples of half-open intervals in probability, you can look at stochastic processes. See, for example, càdlàgs [2] and Skorohod spaces; they capture the notion that processes that "decide to jump" (think of Markov chains changing states if you like) are right-continuous.

IMO, half-open intervals are just nicer whenever you have to union them or intersect them, and are no worse in other aspects when compared to closed intervals. Also, I think the author makes a big cultural blunder when he dismisses "mathematical aesthetics" as a valid reason. A significant number of mathematicians think of elegance as the ultimate goal in mathematics; as Hardy famously said, "There is no permanent place in the world for ugly mathematics".

[0] http://en.wikipedia.org/wiki/Carath%C3%A9odory%27s_extension...

[1] Well, we also need the obvious conditions: Correct limits at infinity and monotonicity.

[2] http://en.wikipedia.org/wiki/C%C3%A0dl%C3%A0g
Google Chrome Version 31.0.1650.63 m on Windows 7 works fine. Are you running any script or ad blockers?
Edited for tone.

> STDIN/STDOUT is an unrestricted protocol.

So are WebSockets.

> Normally when you write a webapp you have a well-tested parser to validate the HTTP request for you

The only HTTP in WebSockets is the handshake, which is what this daemon handles for you.

> and you have safe APIs to access parameters,

There are no "parameters"; WebSockets transport a stream of opaque packets.

> and your templating language auto-escapes dangerous characters for you,

There are no "unsafe characters" in a binary protocol. At best you could claim NUL and LF, the former because it has special meaning to C, and the latter because it's used as a message delimiter by this daemon. The worst either of those will cause is reading less of a message instead of more.

> and the response goes through middleware to prevent XSRF attacks

You have to do this in any language you use. This has nothing to do with communicating via Unix pipes.

> With this, you have to handle all of that in your application binary.

Most HTML parsing engines are available as libraries.
That's unfair.

Doom was a beast of an engine on its time and achieved some technical feats which were key for our current gaming/graphics scene. Maybe the game isn't really interesting story-wise, but is it really when games went downhill?

We wouldn't have Quake without Doom, and we wouldn't have Half Life without Quake... Half Life is quite a great game, which perfectly blended the FPS genre with an interesting story development. You just can't say Half Life is repetitive or monotonous and you can certainly relate to the main character.

Gaming went downhill when the industry took over.
Any info on why Intel engineers applied the pressure ?
Why music motivates us
Of course without jailbreaking
Why not use a 24 hour clock then? In Europe, 24 hour (digital) clocks going from 00:00 to 23:59 are commonly used.
My French friends even use it even when speaking (I admit is kind of weird to hear "see you at sixteen thirty"), while in other countries such as Italy they use 24 hour clocks as well, but they "translate" it when speaking.
It's also worth reading his some of his .plan archives as well which have been stored in various places. Lots of interesting bits of wisdom, insight into his thought processes, and even odd practices like going away to a hotel for a week to just spend time alone to learn new tech or code :-) (something I'd love to try someday..)
Trapped behind a web filter so your link was filtered as "Personal Site". I believe [1] is the same document for others in the same situation. Also, thanks for the link, it's an interesting read.

[1] http://cse.unl.edu/~witty/class/csce351/howto/PBHansenParall...
Fixed: https://github.com/gorhill/httpswitchboard/issues/78
Sorry if the question is too basic (I don't code in Node.js) but where is the websocket handshaking and the envelop management on this?
That's because making the switch from 1-indexing to 0-indexing is extremely counter-intuitive. However, take a hypothetical person who learned 0-indexing socially from birth, I'd imagine they'd be just as confused by 1-indexing.
http://en.cookpad.com/ is looking for recipe translators.
> Fixing a configure failure with automake is hell by comparison.

autotools. never again.

I had the fortunate pleasure of fixing a package on CentOS. The program needed to copy/write files in /tmp and back which meant configuring and compiling SELinux policies. This was such a pain in the ass to get working in autotools.

Cmake is a breeze by comparison.
I have been following transactional memory since 2004 or something like that, it's great as it solves the locking problem on that specific abstraction level. It does not solve the general problem of synchronization, though. See my other comment in this thread. Locking problem != making sure that a 64-bit value will be left in an inconsistent state.
First time I've seen a 'text me a link' signup process, that's really nice for something people probably meet via their desktop first. Anyone else doing this? Any data on how this affects conversions?
Debian isn't necessarily better than Linux Mint just because Mint is a "derivative". The reason all these derivatives exist is to focus on a goal the original distro didn't, like a specific desktop.
You realise you can use that same logic to avoid fighting for anything, right? I don't really care if life is short, I won't cross my arms.

I did have a laugh though but I would very much appreciate not needing to laugh at it at all. What I did say is that it doesn't matter if you think you are smart or not, laughing of certain things have no relation whatsoever with being smart or not.
CGI won't maintain an open connection though
Windows 'Threshold' to bring Metro applications to desktop
> provided your function is left-continuous

Yes, but we are talking about indexing discrete arrays.
All of your examples are continuous, and are not analogous.
I was a Mac kid, so my world was Marathon, but I think a lot of the lessons are the same. I remember building my own custom worlds, really screwing up the physics, and then deleting en masse.

Whenever I play shooters now, I still think, "Man, I should just get a copy of Doom and play that instead." Too much noise in some of these games –– I just want to blow stuff up.
So far it looks great, I think you did a great job of picking the right services to integrate with. Really clean UI, and the big "email me directions" button is a great way to help people figure out somewhat complex integration.

I'm working on a few projects right now that are part of different orgs on Github, hosted in separate accounts on Heroku, have different analytics accounts on New Relic, etc.

So far it doesn't look like you can add multiple GitHub orgs, do you guys have plans to let users add multiple projects or accounts? Or can you already and I'm missing something?
Lots of mentions of W3D in the comments here. Wonder how many folks played the original Castle Wolfenstein on an Apple ][.
Links to those services would be great as well.
Yeah, it's Ubuntu. http://elementaryos.org/answers/will-elementary-os-continue-...
Yeah, in fact someone did a neat PoC of this using virtualization software the other day: https://twitter.com/DefuseSec/status/408975222163795969/phot... That's with an unmodified Linux kernel and unmodified instruction set aside from RDRAND. (In practice you'd make the result something less obvious than a constant value, but this presumably makes for a clearer demo.)
The comparison to old anti-communist propaganda in the promoted comment after the article is priceless.
Thanks,

May have been our server sputtering a bit. JS is just rails, bootstrap and a few others, will need to look into size.
What you're saying is that Doom and Quake had very basic mechanics. I won't argue with that. But the kind of gameplay they exhibited was very different from the CoD series. Doom's ridiculous weapon loadout, ridiculous number of monsters (especially on higher difficulty settings), the fact that your player character moved at highway speeds, etc. gave a sense of urgency and chaos to the game. CoD has nothing like the feeling of dread you get when you spot a bonus in a darkened room, naïvely cross the threshold, and hear the hissing of multiple cacodemons emerging from hidden chambers directly behind you.

Another interesting mechanic in Doom was the ability to either mow down monsters yourself, or save a bit of ammo by enticing them to kill each other and mopping up the stragglers. This was widely copied in "Doom clones" of the day; the instruction manual for Marathon even gave tips on "berserking".

CoD and its cousins in the "bloody screen, so real!" genre are quite different. They're fine for what they are, but some of us who have been playing FPSes for a while feel there's something missing. There's a series of parody videos on YouTube called "Call of Dooty" which are basically Doom with CoD tropes: QTEs, tutorial levels, waypoints which walk you through the path you're supposed to follow (and penalize you for straying off the path), NPC dialogue that refers to the demons as "Russians", etc.
I like the part where he writes the IOS version by going to an open source version of Doom, updating it for ios and re-commiting it.
Not really Big Brother, which in the book 1984 meant the government. This article uses that phrase to mean 'the internet'.
Press freedom generally trumps privacy, as it should.
It really is a bit one sided. Eventough she generally did no wrong, I strongly doubt that she had no idea of what was going on. I mean if your husband hands you one contract after another you should at some point at least read through them.
John Carmack is only 43. He was 23 when this was released. It still blows my mind how young he is. Notch is only 9 years younger than him. Some people just get good at a very young age. Carmack is still in his prime and his move to the Oculus, hopefully, will bring sci-fi like VR to the masses.
JP Morgan Chase Wants a Patent for Digital Payment System
Maybe the question should be: why should we teach trigonometry over programming? Which one is more likely to be useful to your career and life in the modern world?
Chrome 31.0.1650.63 on a not-slow connection, no extensions. See my edit, the JS file took a long time to load.

After a few cache-resets and refreshes, it reduces to 5 seconds. It might have been a cold CloudFront cache but still. I'm no front-end expert, but I'm not sure you need all those functions just to show a splash page and validate a form.
I run my entire web site on CGI scripts invoked by Apache. I really don't get the hate for it. It's extremely convenient and works great.
"pg essays"

Oh dear. You heard the piper's tune and now nothing else matters. I wonder, does PG still program, or does he make money another way now. There's the clue.
But the point is that you can easily brute force that, especially if you have a list of people that you suspect may be making such comments and their email addresses.

Saying that your email is kept private by taking its MD5 sum is like expecting than an unsalted MD5 sum for a password hash in a publicly accessible password database will be secure for people with weak, brute-forcible passwords like "1234". You are providing a little bit of obfuscation, but no real security.
Bsirkia,

Thanks!

You can't add multiple Github orgs quite yet. It's on our list, and we'll add a vote for prioritizing it.
Hum, funny...

I always thought about arrays as pointers (at least in C), like it's just syntactical sugar for specific kind of pointer.
A great guide to making python plots look beautiful
I think which Linux distro you use should be like religion and politics should be a personal matter ;).

That said I am a Mint XFCE user and have been back to 13 (before that Gnome 2) every release has been brilliant I run it on everything from an ancient ThinkPad to a thoroughly modern development machine and it has worked well.

It's also the only WM/DE that handles multiple screens (3 on both desktops and 2 on Dell/External) without any show stopping/tremendously irritating bugs couple that with the huge amount of software available via Debian/Ubuntu and PPA's and it's a cracking developer OS.
https://www.sococo.com/contact may have some contracting work!
Well, I can only install certain apps on my work computer, and Spotify is not on the CON, but I can use the web app (and is fine here to listen to music while working). I'd argue that there are valid use cases for a web app.
Maybe I'm being dense this morning... if I were in the Adobe 150M, some criminals would already have my email address, right? How does getting Disqus's hash of it help them out?