skysight-inc/HackerNews huggingface dataset:
One way to avoid this kind of mistakes is to use Yoda conditions [0]:

ASSERTS(1 == apples);

If you forget one `=`, it doesn't compile.

[0]: https://en.wikipedia.org/wiki/Yoda_conditions
JSON really shouldn't change at all that is why it is so great, basic types and very simple and clean. We should build a fortified defense around JSON and keeping it the same.

Of course there is no problem making a new standard, mongo did that with BSON. It is different and should be called different, nothing wrong with abstractions.

The reason we all love JSON is that it has stayed the same. Develop a coffescript like JSON precompiler with comments and trailing commas and all sorts of things like no quoted keys if needed but call it something different. I think the last thing anyone wants to do it shake the JSON standard or have to have multiple parsers try for all the new JSON formats/schemas/namespaces/etc like an XML SOAP nightmare.

EDIT: Ok so it does have compiling to regular JSON but just not a fan of the name.

This file is written in JSON5 syntax, naturally, but npm needs a regular
JSON file, so compile via `npm run build`. Be sure to keep both in sync!
ReactOS has started its own paid Summer of Code
The ReactOS Project is seeking qualified individuals to fill paid developer positions. Contracted full time, part time, and internship level positions are all available.

For contract positions, you'll need a bachelors in Computer Science, Computer Engineering, Software Engineering, or a related field.

For internships, we require that you've completed the upper level undergraduate operating systems course offered by your university.

For any position, you will need to be proficient in C with C++ proficiency being a major plus. C++ proficiency does not equate C proficiency so do not assume you have the latter if you have the former.
I don't know the state of hardware support for random low-end phones is, but Mozilla just announced that a $25 phone with Spreadtrum that is in the works: https://blog.mozilla.org/blog/2014/02/23/firefox-os-unleashe...

Right now the least expensive phone you can buy right now that FirefoxOS definitely works on (that I am aware of) is the ZTE Open.

There isn't any official effort from Mozilla to port to existing devices that I know of, but there is a porting guide if you want to get your hands dirty: https://developer.mozilla.org/en-US/Firefox_OS/Porting

I know that existing Android ROM hacking communities have made some progress too, but I personally use a phone that explicitly supports FirefoxOS (Geeksphone Keon) which I am pretty happy with. I'll probably switch to the new reference device (the Flame) once it is available, although I'm really interested in the $25 Spreadtrum model too.
I went to 9th-12th grade in the USA, in government run (public) schools. For our AP history class, we spent a week playing these 2 games:

http://en.wikipedia.org/wiki/Diplomacy_(game)

http://en.wikipedia.org/wiki/Civilization_(board_game)
"How did the late-Victorian-era British do it? Foresight, humility, compromise for the sake of alliance, and expert diplomacy and statesmanship. [Excuse me for a moment as I wipe the tears off my keyboard in my woe at contemplating what greatness has been lost and despite the fact that loss was not mine, though it was the world's.]"

The unfettered and self-unaware bias towards Western values of statesmanship by this so-called -- do they actually call themselves this? -- political _scientist_ is cringeworthy.
JSON5 == kinda cson?

although i think coffeescript object notation was an unfortunate name choice. people averse to coffee will immediately associate bad thoughts with it.

https://github.com/bevry/cson
The logic at the end is still in parody mode. Flawed is the point.
Most of the developers I've met from the companies mentioned have masters or phds as well as substantial work experience on real-world projects. Those that don't are usually exceptional individuals.
It’s Official: Microsoft Is Going Down
Voxer, San Francisco, CA

Voxer is solving hard problems at massive scale using Node.js, Riak and Redis all running in the Joyent Cloud. We are working to build the most effective solution to modern communication: instant voice that is available anywhere that you are, whenever you need it, and on the devices that are always at your fingertips.

* Ops: Chef, SmartOS ('this is UNIX, you know this')

* Developer: Node.js

* Mobile: iOS, Android, Web

http://www.voxer.com/careers.html
I think everybody benefits from more education. And public higher education should be a cornerstone of a developed country. But sadly it appears that the USA does not agree.
This is not unlike 1900 numbers that children called to hear bedtime stories. Apple and other OS providers should be regulated to conform to standards that include parent control over purchases done by their kids.

Better labeling is always in the consumer's interest. If games and other apps encourage in-app purchasing for a good experience then this info should be clearly on the packaging. And I say this as an app developer with in app purchases!

Apple already shows this info but may have to label it better.
Seriously.

> When I asked my stepson, who graduated last winter, if he knew of kids using their student loans for non-school-related purchases

Might as well ask your stepson if he knew anyone doing drugs instead of going to class. It's a drug pandemic! Do you know anyone who has cheated on a test? It's a cheating pandemic! Do you know anyone that sleeps around? Promiscuousness pandemic!

People love to gossip, and they love telling stories about outliers. Asking directly for stories that stand out is about the worst kind of "informal" research you can get.
And C has this thing called lint that's only been around since 1979 that can detect many of these issues.
SEEKING WORK - Remote or Sydney, Australia

Full stack Web developer and Native Android Developer with 7 years pro exp

> Recent Android project: http://positivethinking.net

> Experience with scaling Wordpress for media & online publishing companies

> AWS, LAMP, Nginx, yii, mongoDB, PHP, Varnish, Memcached and all the other web usual suspects..

> Good eye for design and business focused

> Very much a technology all rounder, I probably have the all required skills to build 100% of your product or MVP on my own

More info and contact at: http://mindfsck.net
Wasn't that a bit expected? They held off during the olympics to make sure it doesn't affect their event. Russia only cares about Russia.
Where that 40 thing comes from? Maybe it was true 20 years ago when 40 years old meant no extensive experience with modern computing, but by now it's plain stupid to refuse to hire experienced developers in their 40s. Sergey Brin is 40, Larry Page is 40 - are they really "too old" now? I think this ageism thing is going to die very soon, if it already didn't.

>>> Just how long do you expect them to wait?

That depends on what you're waiting for. I was talking about economic processes, they don't happen overnight. If you want to improve your personal situation, you don't have to wait for that.
> Nothing uniquely qualifies Javascript.

The kind and amount of technical expertise behind the development mass that drives most of the Web nowadays does, sadly.
> the government takes risks with the taxpayers' money that private lendors would not take with their own

> Because as a country, you shoulder the cost - through your government's wasteful allocation of capital.

The US Government made $41.3 billion in profit on student loans last year.

http://www.usatoday.com/story/news/nation/2014/02/10/federal...
The end of Bitcoin is the beginning is the end
The ReactOS Project is seeking qualified individuals to fill paid developer positions. Contracted full time, part time, and internship level positions are all available.

For contract positions, you'll need a bachelors in Computer Science, Computer Engineering, Software Engineering, or a related field.

For internships, we require that you've completed the upper level undergraduate operating systems course offered by your university.

For any position, you will need to be proficient in C with C++ proficiency being a major plus. C++ proficiency does not equate C proficiency so do not assume you have the latter if you have the former.
Depending on the repair, I may be more than willing to pay extra. New tires for my '84 pickup? Sure, I can go anywhere. Overhauling the engine on a turbocharged BMW? Yeah, I'm going to want expertise & factory parts.
Performance. Both are unusably slow, and eat a ton of RAM (oom quick).
I have done similar thing to myself in Python, sabotaging my own little project. The following is not a rare thing. Imagine this were initializing random key in TLS... But since Python syntax is arguably cleaner and more readable, it's easier to catch.
But that's a bet we have to put up with...

>>> def f(a,b=[]):
... b.append(a)
... return b
...
>>> print f(1)
[1]
>>> print f(1)
[1, 1]
>>> print f(1)
[1, 1, 1]

>>> import random
>>> def key():
... return random.randint(1,10000)
...

>>> def f2(a, b=key):
... return b()
...
>>> def f3(a, b=key()):
.... return b
>>> f2(1)
3974
>>> f2(1)
8684
>>> f3(1)
2867
>>> f3(1)
2867
ha, the new gmail constantly puts e-mails from my customers into "Promotions"...
What you've argued is faulty logic was actually sarcasm. One major clue is that the previous paragraph also contained heavy sarcasm.
Does anyone know if its possible to hack GMail such that it only updates your inbox at certain times? I've fallen into a habit of checking it more often than I should (on a computer, both work and personal) and it would certainly help me if the inbox just didn't update with new mail continuously.
That's a huge draw for me as well. After the Pi I got some Arduinos, they are very non-scary and really really fun to play with. Both pieces of hardware have their uses, the Pi is much, much more powerful and standalone, but less embedded (I use the Arduino as a USB peripheral, which you can't do with a Pi):

http://www.stavros.io/projects/
Actually, Panasonic built a new plant. But thats besides the point. As you move to the kind of battery you would want mass-manufactured and used in Tesla battery-packs, the level of protection and isolation by each cell will only get less, not more. And you certainly don't want to deal with the pouch form-factor that is needed in devices like the iPad.
App of the week: Grafio, incredible diagramming
Auroracoin: The First National Cryptocurrency?
They are really useful. The only two good options are allowing trailing commas or considering all commas to be whitespace.
> Develop a coffescript like JSON precompiler with comments and trailing commas and all sorts of things like no quoted keys if needed but call it something different.

Someone did, it's called yaml.
Luttwak's writing is often brilliant. Check out as many of his essays and summaries as you can. "Grand Strategy of the Byzantine Empire" drags and is difficult at times, but quite insightful.

One important point, re: this article --

> If you pursue military agrandizement so monomaniacally and consistently with realpolitick that you start to seriously threaten your neighbors and competitors then, if they are smart enough and act in time, you will provoke them into forming an alliance of resistance dedicated to doing whatever is necessary short of nuclear war, but including crushing your economy, to prevent you from getting big enough to dominate.

That was a followed by a criticism of the realism perspective to international relations, but there's variants of realism --

http://en.wikipedia.org/wiki/Realism_(international_relation...

In particular, defensive realism seems the most sane and consistent with what actually happens in the world --

http://en.wikipedia.org/wiki/Defensive_realism

Which wouldn't advocate unlimited buildup of military resources. Compare offenseive realism, from Wikipedia --

"The emphasis offensive realism puts on hegemony as states’ end aim stands in sharp contrast to defensive realism’s belief that state survival can be guaranteed at some point well short of hegemony. In a defensive realist mindset, security increments by power accumulation end up experiencing diminishing marginal returns where costs eventually outweigh benefits."

So... that particular criticism of realism should perhaps be of offensive realism? As a sidenote, reading about realism on Wikipedia is certainly an interesting use of time.
Fiksu - Boston, MA
We're looking to extend our operations team by with someone who is familiar with Linux (CentOS,) Cloud Infrastructure (AWS,) and automation tools (chef.)

We work closely with the developers in applying the best principles of scalability, reliability, and availability across a wide array of services.

We've got a fun culture: beer Fridays, days of fun, and excellent pay and benefits.

Check us out! http://www.fiksu.com/company/careers
Javascript... what an odd choice. Definitely not my first choice for a language used to teach programming to beginners, nor to run on embedded systems.

ps: I'm well aware there are embedded systems for Javascript and it is being taught on codecademy to beginners, I'm just saying it seems weird to me.
I think politics is fascinating. But 99% of internet discussions about politics are crap. I'm beginning to develop some theories about that revolving around the idea that good discussion is costly, and cheap shots/conspiracy theories/empty words are very cheap, meaning the former get crowded out by the latter. In any event though, the discussions are pretty much horrible and worsen the site, which is one of the few good places to discuss hacking and startups out there.
Yeah, I commit those all the time when posting. I usually need 3-4 passes if I want to make sure a post is error-free.

But I was not really talking against spelling or typos (that can happen to anyone), but more fundamental difficulties people have with syntax and especially with being coherent.
Nice work, aseemk. I put together a quick jsperf [1]. JSON5 code was copy-pasted into setup, since it isn't on a CDN (that I saw).

1 http://jsperf.com/json-vs-json5
> impossible to prove the absence of something.

If p => q, then ¬q => ¬p. So if p is "The goto fail was setup by the NSA", then surely we can come up with a reasonable q which could be (dis)provable?
SEEKING WORK - Remote (but often in NYC)

I'm an experienced full-stack web developer looking for a project I can help to architect and build from the ground up.

I've helped startups to build their technical stacks in the past and am comfortable with most aspects of product development.

Specific experience in Javascript (frontend and Node), PHP, Python, Ruby, MongoDB, MySQL, etc.

Check out my personal website (http://morgante.net) or GitHub (http://github.com/morgante).

Looking for a project I can start very soon, probably at a discount to my normal rates.

Get in touch - me@morgante.net
Here's the story from CBS News: [Ukraine puts armed forces on combat alert, warns of war][1].

[1]: http://www.cbsnews.com/news/ukraine-puts-armed-forces-on-com...
I don't think learning this is worth it. Using this will not always warn you( complicated expression or variables ) and you still might miss something.

+EDIT: In those occasions when you actually compare to a integer, the expression is so simple that you immediately understand the whole line. In case of an actual typo the compiler will warn you, and the inversion is not needed. Nowadays, there is simply no excuse for a ignored or missed( bad compiler ) warning.

Assignment in an If statement must produce a warning!
SEEKING WORK - UK, remote yes.

Hi, I am a freelancer based in UK and a few years experience doing web scraping. I use Perl and Python and databases MongoDB and MySQL, and cloud services for web crawling such as Amazon EC2.

I am currently quite busy, you can contact me by email here: dmn001 [at] gmail [dot] com
SEEKING WORK - Remote / SF

MustWin is a San Francisco based consultancy that specializes in the rapid design and development of successful web and mobile applications. Companies hire us to create their minimally viable products (MVP), implement their go to market strategies, increase the velocity of their teams, launch new features, and augment their in house expertise.

Tech: Agnostic, but specialties in Ruby/Rails/Javascript/Node

Site: http://mustwin.com

Ethos: http://mustwin.com/ethos

Testimonials: http://mustwin.com/#case-studies

Shoot us an email: we@mustwin.com
You have some good points, but you also neglect the massive spending cuts on education that have happened throughout the country. While there are many public schools that do buy into this notion of trying to compete on prestige with the well known private schools (and proceed to try to buy their way into the respected club), public school tuition increases in the last decade are very much tied to funding cuts.
VsMe Gaming – Mobile Gaming with Bitcoin
Well, the situation he described is not really Murphy's law.

It might be a case of "something gone wrong" (and in that sense covered by Murphy's law too), but that's overly generic, and he was going after something far more specific.
Everyone gets to drive on roads in the US because we each pay a bit per gallon of gas.

Couldn't we all go to school if we each paid a little bit for it and you just had to show up?
a bit OT, but you guys might find this useful.

JSONH is json for homogenous collections, read: csv files.

https://github.com/WebReflection/JSONH
Well, any Python developer worth his salt knows that initializing default parameters that way is a big no-no. I actually use code with those exact mistakes in interviews, as it is a good way to tell Python beginners from more enlightened users.
Well, I'm not a native/10.000 hours english speaker, so not much irony there.

And even if I was, it would only help prove my point. It's a win-win mistake!
They are ugly.
No, technically there is just Romanian language. The difference is purely ideological/political. If the U.S.S.R. have had more ambitious plans for Germans, there would have been more names out there for the same German language. Or for any other language for that matter.
> They must prepare a lot of briefings if it takes 2 days.

Not really.

> Even UN is moving faster.

Yeah, but all the UN would do in even an ideal (in terms of ability to decide on approach) situation would be to declare broad principles and call on other countries to take action of broadly-specified types to acheive them (with Russia's veto on the UNSC and role in the current crisis, there's about zero chance of even that happening unless Russia's rep gets lost on the way to the chamber.)

OTOH, the EU is more likely to need to evaluate not just what it wants to achieve, but what it can actually concretely do with its real actual resources to achieve its goals, which mean that there is, in practical terms, a lot more substance for the EU to address than the UNSC.
How about defining a format for dates? That would be more helpful than most the proposed changes here.
It's hard for google to know where you've been (or where you are) if you use their maps only in offline mode. Them being an ad company, it is unlikely this feature will ever be fully available.
SeriesGuide turns Chrome into a TV Torrent Tivo
i'm actually a little surprised about the openssl one. I always assumed it would be good practice to number error codes negatively. OTOH that's also kinda expected behavior for reverse engineers. if the return value is negative you can be almost certain it's an error code

i guess whoever wrote that line thought the same.
Where that 40 thing comes from?

My observation of discussions on HN about age discrimination. (I'm not a software engineer, so I have no personal touch with that job market)

If you want to improve your personal situation, you don't have to wait for that.

When the top employers are actively colluding against you, maybe yes, you do. You have no power against a company worth $400B, unless you band together with your peers. Perhaps in some kind of legal action...?
Hey there! Allow us to introduce ourselves. We are Expensify and we do "expense reports that don't suck!" (Google "expensify" to read more.) We're getting crushed under an ever-growing pile of super awesome work, and I need one bright soul to help us dig our way out. I can guarantee you fun, an amazing opportunity to learn, and the siren's call of distant riches. But only if you are all of the following:

- An incredibly hard worker, even when it's not so fun. There is a ton of work to do, and a lot of it downright sucks. After all — we do the sucky work so our customers won't need to. I need you to buck up and grind through server logs, user emails, source code, and bug reports, without complaint or supervision, and come back asking for more.

- A cool person to be with. Not a crazy party animal, just someone we can trust, rely upon, hang out with, bounce ideas off of, and generally interact with in a positive way, both personally and professionally. In fact, this is one of the most stringent requirements we have: would you be fun to hang out with day and night on some remote, exotic beach? This isn't a rhetorical question, either: every year we take the company overseas for a month (on your own dime, sorry) and work incredibly hard while having a ton of fun. We've done Thailand, Mexico, India, Turkey, Croatia and the Philippines. Where do you want to go next?

- Super talented, in a general way. We're going to throw a ton of work at you of every possible sort, and you need that magic skill of being able to figure it out even if you have no idea where to start. On any given day you might bounce between super low-level coding, super high-level technical support, marketing-driven data-mining, updating our user documentation, inventing/designing/building some new feature, etc. This is not a code monkey job — you're going to be a full participant in the process, and you need to bring your own unique blend of skills to the table.

- Specifically talented in a programming way. You can instantly visualize solutions to problems big and small. Your code is always clean, well commented, has good nomenclature and indentation. You can switch on a dime between C++, PHP, Bash, Cron, HTML, CSS, JavaScript, jQuery, Dwoo, SQL — not because you know them all, but because you're the sort of person who can just pick it up and figure it out. If you're this sort of person, you'll know what I mean. If not, then this position isn't for you.

And there are a bunch more, but odds are if you got this far, nothing I can do would stop you from applying. Check out http://we.are.expensify.com/apply/ to learn more about the team and our application process!
Thanks for covering this. The article doesn't mention the price, which is a big deal right now. According to Coinmarketcap, the value of 1 AUR now is $15.09. You mention each Icelander getting about 31 AUR, so this is over $450 worth of value for every single Icelander. That's a significant incentive for everyone to sign up. Good luck to Icelanders and to the team behind Auroracoin, exciting times ahead!
I'm looking for a USB stick with Ethernet or WiFi, over 2GB memory, GPIO, and cheaper than a Pi. Any ideas?
If you look up the public DNS from inside EC2, it resolves to the private address.
But people still speak with it in there, great quote btw:

'I don't even have an e-mail address. I have reached an age where my main purpose is not to receive messages.' --- Umberto Eco, quoted in the New Yorker
I would love to not have to quote identifiers!
What's wrong with ISO-8601?
I think he wrote it to teach himself Java.
>The syntactic and semantic simplicity of LISP enables non-experts to quickly master a basic level of LISP programming.

For Scheme this might hold true. But most Common Lisp programs I've seen are beyond hairy.

Plus, the (classic intro-to-LISP) notion that "it has a simple syntax with few constructs so it must be easy to program in" has to die.

Assembly has very simple syntax too. I wouldn't write a large program in it.
The Average Startup Spends $21,000 on Furniture
I put my own address into GMaps so that people can find my house instead of just the street it's on.