skysight-inc/HackerNews huggingface dataset:
Nice blog post, though I personally prefer the ridiculousfish post [0] he links to in the end, that one's an instant classic.

He mentions Windows/x86 a couple of times. I only wish it were as simple as "this platform does not reorder." Having done low-level, heavily-multithreaded work on Windows for years: it'll behave like a strongly-ordered architecture 999 times out of a 1000 (or more). Then it'll bite you in the ass and so something unexpected. Basically, if you're doing your own synchronization primitives on x86, you have to pretty much rely on visual/theoretical verification because tests won't error out w/ enough consistency. I've run a test (trying to get away w/ not using certain acquire/release semantics) for an entire week to have it error out only at the last second (x86_64). Other times, I've shipped code that's been tested and vetted inside out for months, only to have the weirdest bug reports 3 or 4 months down the line in the most sporadic cases.

0: http://ridiculousfish.com/blog/posts/barrier.html
SF maybe. Berkeley no. Oakland hell no. Fremont, Hayward, Union City...

There's life outside of Palo Alto and SoMa.
Maybe he should have approached Ubuntu then? I bet it wouldn't be a significant expense for them to host such a useful utility.
Yeah, that's the idea. People will pay but only if they actually really need something- can see how it will improve their life.
John's Combinatory Logic Playground
Great article. But the ASCII art in it!
Ok Switzerland might be a special case, salaries have traditionally been higher there as in the rest of europe, cost of living is also alot higher though.
Reddit Troll Violentacrez Admits Doing CNN Interview Was a ‘Huge Mistake’
The 2% was made up for demonstration purposes, I'm not really sure how it plays out in the real world. It is a good question. Though consider this:

$70K + 5% [1]
$50K living + 3%
-----------
$2.5M saved after 30 years [2]

$70K for life
$20K living + 3%
-----------
$2.7M saved after 30 years

Even a decent rate may not be all it is cracked up to be.

[1] For the first 15 years, whereafter you suggest it could plateau (at around $140K, in this case, which doesn't seem unreasonable given the current market and historic income increases)

[2] Assumes all non-living expense allocated income is invested at 5%.
We just couldn't find a better lock favicon to use. I can see your point though, so I'll change it.
I'd bet a super small subset of their customers will ever take a 4 day drive. They will fly, it would be cheaper.
How FBX is finding its place
First, I'm sorry for interrupting the usual topics of HN. Just hoping to spread this story hoping that anyone with information or a little extra bandwidth can carry on the online efforts to find this missing woman.

Second, thank you.
I love the design of the stations, and how it calls back to that '50s and '60s gas station design that celebrated the promise of the future. Seems really appropriate.
But old PowerPC macs weren't typically multicores, and even when they had multiple CPUs, people rarely programmed threaded software for them. Memory ordering is completely transparent to a single thread -- it's only when you add more of them that you start to have problems.
I find the 1200kcal => no weight loss claim dubious.

However, there's more than two options, because "I eat X" doesn't necessarily mean "at BMR which would not vary with diet, I metabolically convert X at the caloric density listed on the label for the macronutrients involved."

A cup of black coffee has 5 kcal. Surely you would agree that consuming 1200 kcal/day of just coffee for 6 months (if you somehow survived) would lead to a different weight delta than consuming 1200 kcal/day of, say, non-dairy cream substitute?
> PowerPC has a weakly ordered memory mode

Right, I forgot about PowerPC.

> I think most good high-level programmers know that they need to use high-level locks provided by the SDK, while anyone writing code that actually needs to deal with memory ordering probably already knows to use barriers some of the pitfalls of different ISAs.

Agreed. The point I was trying to make is that, as these platforms become ubiquitous, they'll start attracting the "average" developer more and the "first mover" developers less. I can't prove that "more likely to move onto a new platform" is correlated with "more likely to be aware of threading pitfalls", but I suspect it to be true.
Either one is great. I started with Django and now prefer Flask; unless you are starting out with an enormous project I agree with the recommendations you have received--you will get a better sense of what's happening under the hood with Flask.

I don't like learning from videos so can't help you there, but http://djangobook.com is awesome for learning Django, and the Flask documentation is sufficient too.
Do you have a good definition what MVC actually is?
Who would Barack Obama vote for if he couldn't vote for himself?
Why not? Musk specifically stated during the revelation of the Superchargers that it would be possible to travel from LA to NY in a Tesla car for free in 2 years.
Your post contradicts the actual TOS that Coursera now has.

https://www.coursera.org/about/terms

> Notice for Minnesota Users

> Coursera has been informed by the Minnesota Office of Higher Education that under Minnesota Statutes (136A.61 to 136A.71), a university cannot offer online courses to Minnesota residents unless the university has received authorization from the State of Minnesota to do so. If you are a resident of Minnesota, you agree that either (1) you will not take courses on Coursera, or (2) for each class that you take, the majority of work you do for the class will be done from outside the State of Minnesota.

You have stated that this "has had NO effect on Coursera's operation in Minnesota" and "I am a Minnesota resident, I am enrolled in multiple Coursera courses". Your continued enrollment is clearly in violation of the new TOS unless you are taking the classes from outside your state of residence.
No, I meant what I said and what I said speaks for itself. I understand very few understood what I said, but the only way I know how to make them grasp my concerns is a one-way ticket to Russia.

I am not disputing that it's a well-engineered piece of technology. It may even be superior.

That's irrelevant.

I expect a level of professionalism and ethical behavior from an open-source project, especially if I rely on it pretty heavily. Placing communist imagery in the logo isn't amusing. And no Russian would find it amusing. I certainly don't. I prefer that my software not make any political statements. Especially if the system it purports to support is responsible for the death of millions of people.
In this case, unless they have explicitly connected their Twitter account and their Facebook account to your service while logged in, they will not be logged into their account.

It's a hard problem to solve. Some companies are asking Twitter OAuth users to provide their email upon connecting to try and get around it.
> `bar` DOES equal 5

No, it doesn't. Javascript is a bit weird when it comes to return statements inside constructors. `bar` will be equal to `type` only if `(type instanceof Object) == true`. Otherwise, it will be a new object.

function Foo(type) { this.type = type; return type; }
console.log(new Foo(/a/)); // Regexp /a/
console.log(new Foo("a")); // {type: "a"}
console.log(new Foo(5)); // {type: 5}
console.log(new Foo([1,2])); // [1,2]
console.log(new Foo({a:1})); // {a: 1}
10 worries IT won't have in 2013
i meant those teams will have to face
bureaucracy, politics, collaboration with slower teams, overkill processes, futile meetings of a big corp.
while working fast on tight deadlines like a startup at the same time.

also, startups fosters innovation, can provide rapid growth, you get to learn outside tech about business, marketing stuff, but not in a big corp
"Only four states currently mandate services for gifted students and fully fund those mandates. The failure to develop the talents of our children deprives all of us of a stable of future innovators, creative thinkers, leaders and outstanding performers."

Except that clearly, it doesn't. We know this because a) we had plenty of "genius" before we had any "gifted education", and b) the nature of the thing implies exceptionalism that overcomes cultural boundaries. (I also strongly suspect that "gifted education" has never been demonstrated to increase "genius", but that's just my speculation.)

If you look at what public education is designed to do (provide for a well-educated populace), it makes sense that most of our resources should go toward the under-performers: it's far more important to have a baseline level of literacy and numeracy for 95% of adults, than to nurture the development of the top 5% of people who will probably excel regardless.

I say this as someone who did "gifted education" in elementary and middle school, and found it to be mostly useless. In retrospect, I'd rather that my school district invested the money spent on gifted education in more AP classes, better funding for the arts, computers or early language instruction. It's almost negligent that a school system can afford to pay a full-time "gifted" instructor, but not provide for foreign-language instruction starting in kindergarten.
To summarize the primary ways how value at the national level is created:

1. You sell your unique resources (e.g. oil, salmon) to other nations.

2. You steal from other nations or borrow money but never pay back.

3. You have competitive companies that export products to other nations.

I'm intrigued that #2 makes the list. Almost as though the OP could only think of 2 ways. He seems to have forgotten the service economy.
I for one am tired of hearing about this guy, and even more tired of hearing how evil and terrible reddit supposedly is.
>if the user uses iTunes to manage his device this dozen different bundles would then need to be downloaded as there's no way for Apple to know for certain which devices will be synchronized using that iTunes installation in the future.

Good point - I'd forgotten that some people still manage their applications using iTunes!
> Yeah, but that will only save you a set dollar value, for a limited time.

Rent typically goes up every year, so the amount you're saving versus renting increases annually, and at the end of the "limited time" you're not paying a mortgage at all.
The fact that we're okay with running their code need not necessarily mean that we should be okay with sending them personal information. The two are mutually exclusive.
Absolutely correct. That was really sloppy of me.
Strongly agree - there will be a wave of consolidation coming soon
Heh, ironically, IBM H1B and Google H1B salaries differ substantially http://www.garamchai.com/TopH1b.htm
CH doesn't count I think, non engineering roles in Zurich are already very well paid when converted to EUR (e.g 60k CHF for construction workers).
I think it's pretty obvious what happens when you light up a joint in public (in the US anyway). You may not get arrested every time, but keep it up and you will.

That obviousness surely elevates their response to DH4.
Is the Django book updated? The notice where it asks for help to get it updated it scared me as a newcomer(and probably many others) as I won't know to judge if what I read is updated material or not.

I understand this is an open source project but from the business perspective that notice is completely missplaced. The people looking there want to read the book and what they learn is that is outdated. The targeted audience that can actually help update the book most likelly hangs out somewhere else.
Getting way OT here but....

That reminds me of how my mom watches American Idol. She watches all of the contestants, and can't decide on who to vote for, so she votes for all of them....
It's not right to give the people who backed him their money back? What.
While reading the article, I couldn't help but think that the title should be "How do you spot a Sheldon?"
The "fix" is to define an enum with one member named INSTANCE, if you need a Singleton.
-- Effective Java, 2/ed, bu Josh Bloch
Sure it is, it's just not "free software" using the FSF's definition.

Is the source available? Can you compile it and modify it yourself? It's open source. That's all that definition means.
There seems to be some assumption here that books are named by their ordering of volumes. But I might know the name of a book and not its contents, so I'd need to look up the contents. (Of course, this is silly if you have every possible book, because any other naming scheme means most names will be longer than the books themselves....)
One other point I should make is that salaries are usually pretty small. $50,000/year at a fund isn't unheard of. Many people draw no salary after they've been at a fund for a few years.

The idea being that you put your money where your mouth is. If you're good you get paid via year end bonus, otherwise you leave the industry:)
it is a self-controlled and self-aware madness.)
but what about with color and motion? I know the TV sees pixels as discrete, but if the encoding of the content is 4:2:2, 4:1:1, or 4:2:0 higher resolution might be noticeable. Of course improving the color sampling would be a better solution.
Wow, there's a lot of hyperbole going on here. I'm a little disappointed people on HN are falling for it.

It seems pretty clear from reading the article that Minnesota isn't stopping anybody from taking online courses.

But to be officially recognized in Minnesota requires that the entity providing the education is registered as an educational entity in Minnesota. I'm pretty sure most states have laws like this. Here's why: I know nothing about biology, but without laws like this, there would be nothing stopping me from offering classes on biology.

In this case it's obvious Coursera is legit, but in a lot of cases it may not be so obvious.
"Computing Like the Brain" - keynote video from Strange Loop
Every textbox should have the option of using Vi(m) bindings.
Kickstarter isn't a store. When you back a project you're investing in potential. The project failing to get completed doesn't mean you deserve your money back. In this case, he spent the money on what he said he'd spend it on (building the game) so it's kind of insane for him to offer to refund backers their original investment. It undermines the principles behind Kickstarter.

On the other hand, it is unclear how backer rewards figure into the picture. Maybe he feels that since a copy of the finished game was listed as a backer reward, he owes people a refund for being unable to deliver that reward?
I like re-purposing the various plastic bottle. This reminds me of early lifehacker when it was all Gina.
I recommend Django because it's much more widely used. You'll find more write-ups, Stack Overflow questions, podcasts and conference videos. Instagram uses it. Disqus uses it. There's just a ton of help out there for a new developer.

While I agree that a lot of what Django does seems like "magic", getting to know how that magic works as you get more intimate with the framework will make you a better developer in the long run - so you can start writing your own magic.
I agree - kids need intelligent role models. The modes of entertainment kids engage in (tv, movies, videogames) do not glorify intelligence - books are much better for that.
>4. Why stop there, though? It's clear we could just use smaller volumes and get a smaller library. In fact, the library only needs two pages - one '0' and one '1'. Depending on the order you read them, you can get any book you want out of it.

We have to stop there. I cannot simply replace my iTunes library with two text files containing a '0' and a '1'.
When I was a high school student trying to learn subjects outside what my school taught, free access to books was pretty much necessary.
You'll never get a mixed content warning on our site if you don't play the YouTube video.

Unfortunately, even if you use YouTube's https embed, it still redirects the browser through a single http site. It's annoying and I don't like it, but neither YouTube or Vimeo offer pure https best I can tell just yet.

As for implementing HSTS (as we have on our site) - it's great advice. We understand that a man in the middle attack could rewrite a customer's non HTTP page and send them to a site that looks like Dailycred but is not. (Facebook by and large suffers from the same vulnerability.) But compared to not implementing HTTPS at all, we think Dailycred is a huge step up.
Built to last: Computer systems that simply cannot fail
Thanks for the information. I couldn't find that on the announcement page.
> I had a dedicated Garmin Nuvi, but it was Maps that got me to the tiny village in Alsace.

Huh? What kind of village in Alsace is not referenced on your Garmin Nuvi (or any kind of maps)? For example, all villages have a wikipedia page!
News link to the story: http://www.koinlocal6.com/news/local/story/Investigators-sea...
> * I guess another factor is raise percentage, in this industry, I've never heard of a 2% raise unless they're thinking of letting you go...*

Sounds like you have never worked for a large defense contractor. The "standard" raise given to ~70% of the engineers last year (my last review cycle working for that company) was 2.1%.
This is a classic case of a law that needs to be changed. When your country has an education problem, even charging the universities a fee for free courses is simply stupid.
Haunts' Kickstarter failure highlights the risks of crowdfunding
Also on the phone part, it falls down if the phone number has an extension.

I would work on a way to have the formatting decorators (parentheses, dashes etc) only show up if there is data past that point.

So you could include " x" in the event that someone types in an extension or something like that.

Properly parsing/formatting phone numbers is harder than you'd think..

How do you specify the mask for different numbering schemes (other regions/countries)?

Do you pick one dynamically based on the selected country? Do you have that database of masks-to-country?

What if my contact number is international or foreign (even if I pick my country as USA)? Do you let the user select a mask? That feels clunky and more work than just leaving the phone number free-form..
No, it's a lot like saying that composition of objects (using a basic feature called "properties") is a design pattern - which it is: GoF call it Composite. The idea that design patterns have to be large and possibly overwrought elements is untrue. Composing functions _is_ a design pattern. Consider how it makes parsec different to bison.
http://en.wikipedia.org/wiki/List_of_Macintosh_models_groupe...

All of the PowerMac G4s and PowerMac G5s from 1999-2006 spanning 350MHz to 2.7GHz were sold in multiprocessor configurations.

Maybe most programmers never worried about writing threaded software for them, but they certainly weren't uncommon.
This is what puts Django on top of my list so far. It would be more fun and productive if I can just start doing web apps and I can always jump in and learn some of the magic behind it in the future.
Javascript is simple , but it comes with 0 battery included. The most difficult thing is not javascript itself but it is to work with the DOM which is a strongly typed and inconsistant API written in C++ most of the time ( yes it is , you cant say it is not and still get those Node errors ...)
The only book you need to read about javascript is "The Good Parts" by Douglas Crockford and read the available ECMASCRIPT specs, which is mandatory if you are serious about Javascript. The rest is mostly garbage.
Can We Blame Facebook for Stone Age Jerks?
But didn't you read the article? Reddit allows men to discuss their rights! Most of them are probably even white!
Working with the Agile Product Vision Board
Sign up, and when it asks for your credit card, click "I'll do this later."

You'll be entered into our unadvertised free tier that goes up to, you guessed it, 50 users.
It will create something almost, but not quite, entirely unlike tea.
"As a result, where a disk drive might need a terabyte of capacity to store a terabyte of data, FlashArray can save that same data in a fraction of the space."

This is unfair. There is no reason why I cant have deduplication and compression on my spinning disks. As a result I can have vastly more storage capacity for the same price, but at a slower rate.

Same boat we were already in.
>it's kind of insane for him to offer to refund backers their original investment. It undermines the principles behind Kickstarter.

Doing something nice now considered "insane" and "undermining kickstarter's principles".

Oooookay then.
Ask HN: Growing Fast & Looking for intro to VCs in NYC
Howdy HN,

A few friends and I started a music tech startup on the side and its been doubling in growth over the last few months. We just recently got an offer for investment from a group of VCs but would like to entertain offers from other investors as well. Could anyone refer us to someone they know or have worked with?
How do you write a stupid article?

* Present it as a “How to...” article, provides a few vague sentences on how you might be able to begin to plan to do it, then quickly devolve into an article on what must be done “for the childrenz!”.

* Use lots of emotionally charged nonesense words and phrases, like “gifted”, “radical ideas”, “enabling the genius within”, “renewed commitment to excellence”.

* Make it all about the childrenz.

* Be sure to add some complaint about lack of funding for projects related to your sparkly notions.

* Make the use of everyday judgement sound like a complicated process only safe for use by experts.

* Support the statement of your opinions with references to other articles stating the same opinion, but do it in the fashion of a scientific reference.

... and many more!
Previous discussion from this morning:

http://news.ycombinator.com/item?id=4672068
The Fundamentals of Guerilla Marketing
I am curious why it would need to be a web view that he hosts, rather than something running locally on the user's machine.
Here's a comment from Maciej (Apple): http://news.ycombinator.com/item?id=2057611
Huh, you're right. I thought I typed that at the REPL and it gave back 5, but obviously I typed the wrong thing.

Almost all cases that I've used this functionality have been to return a different object. I suppose when you say "new" you're supposed to expect an object, which is why it works that way.
Walk Your Own Path
Hm, waiting 30 minutes for half a charge. This doesn't scale at all. If there's a queue of only one car you'll be there for an hour.
This is a terrible blogspam site citing yet another blogspam site. The new information in here is "open today".

I would like to actually see pictures of these stations, or mind you, a video! Not the old rendering.
Yep, think Duke Nukem Forever.
IOS6 breaks geolocation in webapps
I work with people who think shifting jobs more than once per 5 years means you're sketchy.

So there's that too.
dead response from rlpb:

In a subsequent blog post, Mark Shuttleworth says:
""" What I offered to do, yesterday, spontaneously, is to invite members of the community in to the things we are working on as personal projects, before we are ready to share them. This would mean that there was even less of Ubuntu that was NOT shaped and polished by folk other than Canonical – a move that one would think would be well received. This would make Canonical even more transparent.
So please disregard the commentary by folk who assumed that the public discussion of Ubuntu development would somehow change. """
http://www.markshuttleworth.com/archives/1207
So does this mean a jailbreak for iPhone 5 will be coming soon?