skysight-inc/HackerNews huggingface dataset:
Just a forewarning: that library, like most C cooperative threading libraries, is using ucontext.

ucontext is unbearably slow, to the point where it's just as fast to use real threads and mutexes, even on a single-core system. There is nothing lightweight about it. (The technical reason is because they call into kernel functions to perform their magic.)

The actual logic of saving/restoring registers and the stack frame requires about 5-15 instructions per platform, and is very easy to write in assembly. And for the platforms you don't do this for, there's a non-standard trick to modifying jmpbuf which works on x86/amd64, ppc32/64, arm, mips, sparc, etc. These techniques are literally hundreds of times faster.

Try libco instead. It's the bare minimum four functions needed for cooperative threading, which lets you easily build up all the other stuff these libraries provide, if and only if you want them. And if you benchmark libco against all of the other stack-backed coroutine libraries, I'm sure you will be stunned at just how bad ucontext really is. That people keep using ucontext in their libraries tells me that they have never actually used cooperative threading for any serious workloads.

http://byuu.org/programming/libco/
As others have commented, the effective EOL is not really that short. FBSD 10.0 was released Jan 2014, so 10.0 will be supported for a year or so. Updating to 10.1 (when it is finalized in Q4) will very likely be painless, no incompatibilities, so as a practical matter, EOL is extended at least another year or so.

This has been the history of FBSD since my exposure to 4.x back in 2000. A more recent example, FBSD 8.0 was announced Nov 2009. And now, nearly 5 years later, FBSD 8.4 is still a supported version.

Sure, technically each minor version of 8.x reached EOL after a year. But since keeping an 8.x installation up-to-date has been so seamless, it achieves an EOL >=5 years from introduction.

Anyway, how I see it based on real-world experience.
1952: “Announcing a general purpose digital computer”
Lack of toilets blights the lives of 2.5B people
A friend of mine calls it "desktrap loonix".

The sad part is it's still better than windows.
I agree. To me weed has little influence on pain. OTC painkillers work better without a doubt - at least for the common sources of pain. Besides, the side effects (being high...) are such that even if it was efficient it still would be unusable most of the time.
US $62,500 in 1952 dollars equals $561,910.38 in 2014 Dollars
In 2006 E3 was open to press and the public, with 60,000 attendees. In 2007 it was invited-press-only and had 10,000 attendees. In 2008, only 5,000 attendees. [1]

Meanwhile, PAX had 9000 attendees in 2005, and 58,500 by 2008 [2]. The most recent attendance figures I can find are 2011, with 70,000 attendees reported.

E3 later changed back to being open to the public; in 2014, their attendance was 48,900. So far from completely dead as a show.

[1] https://en.wikipedia.org/w/index.php?title=History_of_E3&old...
[2] https://en.wikipedia.org/w/index.php?title=Penny_Arcade_Expo...
I Went from Grad School to Prison
> And as many people's tought, if you don't advocate to use the GC, are there any reason to use a language which is no-simple and not faster than C++????

Rust was designed to be memory-safe. That means, unless you explicitly mark a section of code as "unsafe", it isn't possible to have segfaults, have buffer overflows, use memory after freeing it, etc. A very significant amount of software bugs - famously, Heartbleed, but also a huge proportion of other security bugs in everything from servers to web browsers - can't happen under Rust code. The point is to have a much more secure programming language, as in resistant to attacks, while still being as fast and as usable as other C-style languages.

The reason Mozilla are developing this is for Servo, a new browser engine which should be far safer than existing ones - although it's also useful for pretty much any other code, as it wipes out entire classes of bugs with not much effort. If you write in a C-like language today, you could pick up most of Rust (lifetimes included) in a couple of days of playing with it.
Kaspar Hauser
<prefix>m toggles:
mode-mouse
mouse-resize-pane
mouse-select-pane
mouse-select-window

see https://github.com/gpakosz/.tmux/blob/d8b9498d6940b535d3181e...
Thanks for mentioning that; I see there's an oculus plugin available. Might get that under the academic license :-)
SciPy is the closer analog to Matlab. That said, it is missing many toolboxes.
Yes, by job I didn't mean a company job - it can be whatever, entrepreneurship, non profit etc.
Project Wing vs. Prime Air: Google's Drones Soar Above Amazon's
It is interesting how tepid the default specs on desktop machines are. I bought a high spec work station a few months ago and the default spec for the big suppliers were <8gb of RAM and no SSD.
A simple method to resolve an argument
Valuetag – Automated coupon apply and Search on product page
Haswell-E is Intel's high-end consumer CPU series and there's nothing wrong with that. However, only buy it if you regularly use software that is able to utilize that many cores/threads.

The dual-core CPU you are looking for is called the "Pentium Anniversary Edition: Intel Pentium G3258" and was released in July.
> Lets stay focused on Navigation within Google Maps, not some other Google products.

That's kind of an arbitrary division, right? Doing POI through Google Now actually makes for a much better user experience than anything I've ever seen with a GPS. It's pretty great really.

> Can I add a waypoint by clicking anywhere on the map?

Yes.

Oh wait, you meant on _Mobile_ Google Maps! But that is a different product. Let's stay focused on Navigation within Google Maps. ;-)
GPUs have been the real source of gaming performance for PCs since the nineties, and this is true even for arm-based smartphones and tablets, which have had their own dedicated graphics chip since the first iPhone.

Even the puny Raspberry Pi (ARM v6 at 700Mhz!) is able to stream video in FullHD thanks to its dedicated GPU.

A slow CPU can still be a bottleneck if paired with an high-end GPU, but in general a cheap CPU with an expensive GPU is a much better set-up for gaming than the other way around.

(Of course there are exceptions, but this is generally true for your average AAA title).
by the way, check 2555 beta analysis from here : https://medium.com/@dtlyst/some-stats-betalist-startup-analy...
If you get into trouble though, the UK will say "well, it's your own silly fault, then", while the US is more likely to chest-beat and cry "No citizen left behind!". Not guaranteed, of course, but far more likely to do something.

I once travelled with a trinational lawyer. She self-identified as Dutch, sounded English, but chose to travel on her third passport, the US one, specifically for the above reason.
Well, yeah. This is their very highest-end processor, and costs more than the entire desktop+monitor+peripherals that most people need. Not sure what point you're trying to make. Do you think companies shouldn't continue pushing the envelope of what's possible?

Edit: "very highest-end processor" should read "very highest-end PC processor". I'm excluding the workstation-class Xeon.
>Most people on the other hand don't go to galleries. They buy prints, hallmark cards, download wallpapers from DeviantArt, etc. Illustrators and graphic designers are thriving in this market, but are totally ignored by the high brow market (unless you get big enough).

I have an illustrator friend who would sure love to know how to get paid.
how so? the last commit was 10 days ago.
In New Zealand you don't even have to file a return unless you owe money or have some special stuff going on. When I started working here there was a very simple flow chart ending in one of 2(or 3?) big circles with a letter in it. You find the right letter and write it on the line;done. That's the last I've dealt with Inland Revenue(IRS equivalent).
That's a post hoc justification. By that logic, Americans traveling overseas should pay extra taxes for that bit of "insurance" coverage. There are about 30 million overseas tourists per year (see http://www.infoplease.com/ipa/A0778210.html ); according to http://en.wikipedia.org/wiki/Emigration_from_the_United_Stat... there are about 5 million US citizens living overseas. (I've excluded Canada and Mexico from both of those populations.)

Assuming overseas tourists travel for only a week, this suggests they should pay an extra 2% in taxes, because they are about 10% of the overall cost. (I suspect it's higher, since tourists often need rush jobs, like an emergency passport replacement, or information about local hospitals, that residents don't need.)

I notice, though, that this isn't the case, which tells me that the underlying logic is at best incomplete.

In addition, taxation is a pure headache when combined with jus sanguinis. The Forbes article pointed out the backlog in Canada. This is because a lot of US citizens moved to Canada and had children there. By US law, these children are also US citizens, even if they've never entered the US nor consider themselves such; nor even ever plan to leave Canada.

They are still supposed to file taxes to the US, report information about their bank account holdings, etc. In addition, 'foreign financial institutions banks, brokers, pension funds, insurance companies, hedge funds, mutual funds, trusts' etc. are required 'to report to the IRS holdings of their clients who are U.S. persons.' These can be a large headache, and may even limit some financial options as certain foreign financial institutions now refuse to accept US citizens.

Hence, the US has put obligations and restrictions on them that they don't want, and must pay money to actively remove.
Not so with React; the baby has been (re)born, philosophically. It's not just another lib but an effective approach to problem solving in general.
Nobody thinks researchers are in it for the money. The people that pay the researchers on the other hand...
We're building the GNU system [pdf]
Ask HN: Freelance Client Capping me on Hours – how to handle?
HN,
I'm recently begun working with a startup for about 3 weeks now.

They originally paid me for a week's worth of work, its now been (2) weeks - and pay day again.

I sent them my hours for the past (2) weeks (1 week at a time after each sequential week).

They now are complaining that they wanted each "task" to take only 2 hours to complete. (2) tasks were over (2) hours (one 7 hours, and one 3 hours).

How do you deal with clients like this? Are client's that refuse to sign your freelancer contract (when you knowingly sign their contract) a red flag?

Do you typically insist on your freelance clients signing your contract?

Thanks!
How I Sold $1M of Art
And usually IOMMUs and so on that Intel disables on many models (even servers!).
And the FX 8120 eight core CPU ??
Which, as always, is a completely meaningless claim.
Cloud busting at Swedens largest airport?
Interactive Beginners Course to AngularJS
Great movie: "The Enigma of Kaspar Hauser" (original title "Every Man for Himself and God Against All") - http://www.imdb.com/title/tt0071691/
Sacred Games is now on the reading list.

I shall have a look at Geek Sublime at a bookshop and decide then.

Quote about an earlier book from another interview...

"Sometimes even you can look at something you wrote six months back and be baffled. So the programmer’s job becomes that of, “a person should understand, by looking at a particular section of code exactly what it’s trying to do and exactly how it’s doing it”. One step beyond is that if you can do something elegant rather than a jugaadu solution. Often that also leads to better functionality."

http://www.livemint.com/Consumer/5tzbaP50JGO5bAfqZBPOzI/Code...
He quotes 2 scientific research papers as claiming ‘spending large amounts of time online for social purposes may increase social distress and have negative impact on self-esteem.’ or similar stuff.

But look at the details, the first article is about correlation, not causation. http://europepmc.org/abstract/med/21685655

Stopped reading after that.
Show HN: The easiest way to sell your products
I've dealt with the same problem as you have. In high school, I picked up programming and before I knew it, I was programming almost all of the time. It's great to be able to have an idea and build it instantly.

However, life is not just programming. When I was in my senior year of high school, I got multiple job offers from tech firms in my country to come work for them. This monday however, I'm starting a university course cs at UVA (university of Amsterdam). This is not because I love programming less than studying (the opposite, actually). It is because I'm playing a long-term game instead of a short one. In colleges, there is so much knowledge right under your nose, and you get to work with people equally smart. Starting this monday, I'll be on the frontier of technology.

From there, I can learn, experiment, socialize, and everything else that I couldn't do while I was building custom CMS systems or optimizing a SQL database for some lame company.

Your working life can last more than 50 years, so be wise about choosing your fundamentals.
Hmm, to be honest, I've never encountered any strain above 1.5% or so CBD, so that takes me by surprise, a bit. I also have access to a fairly diverse selection of MMJ options in a permissive state, so I'm surprised I haven't seen any strains like that.

Learn something new every day, I suppose. I appreciate the info - I'll keep on the look out.
i am working on similar project, check : http://tekh.me
I read all the way into the next post, "What the hell is representation?". I don't really see why the question is all that confusing (first Red Alert for ignorance and bullshit goes here). My first halfway-informed guess is: a representation is a three-tuple of a compression function, a resulting data-structure, and a decompression function that, taken all together, capture at least some of the causal/computational structure of the process generating the data.

Of course, this extreme generality is what makes representation learning Very Hard, but also very powerful when you can manage to get it working at all.

Compression function: because we choose to assume (without ever being able to prove, see Chaitin) that our data is not algorithmically random. Conveniently, most real-world data isn't algorithmically random, so learning about the underlying process must result in a description that can compress the data more efficiently than just writing down the sample-set.

Data structure: the actual representation, which (ideally) explains (most of) the data on its own, plus or minus some kind of noise.

Decompression function: learning would be useless if we couldn't perform any kind of inference or prediction. We need a way to take the internal representation, plug in some parameter values (either ones we've learned from data or deliberately counterfactual ones), and then make a prediction about further samples which will constitute the actual action taken to perform a useful task.

So it's a question, I think, of whether we're doing information-theoretic learning, or algorithmic information-theoretic learning. Mind, this could all be bullshit, as I'm a total novice at this stuff.
Publish and Subscribe with core.async's pub and sub
Why would anyone want to leave the US? The US is the best country in the world. Why do you think you'll be better off as a non-American? Is it because you're stealing things from us? Are you one of those overseas tax cheaters (who has the audacity to do it personally, instead of through a large multinational country)? Are you stealing money from us? Just to be safe, we'll make doubly sure to get your money. Because cheaters never win.
>when taken correctly, is very safe and effective.

...is tautological and could be said about almost anything.

The fact that the toxic dose is close to the therapeutic dose means that it is not safe.

http://www.medpagetoday.com/Psychiatry/Depression/2233

"Liver toxicity from acetaminophen poisoning is by far the most common cause of acute liver failure in the United States, researchers reported."
Is the API of Hyperlapse already available? How did you do it? Like the idea a lot!!
Will they reduce the over representation of Jewish and Asian Americans?
This is part 1. Part 2 is coming soon.
Do you mean ibuprofen? Long term that's going to be rough on your stomach.
Show HN: Rustastic SMTP – an SMTP server library written in Rust
Ask HN: U.S. workers, how much vacation do you get yearly?
I’m thinking of making a change of employment, but I’m curious what amount of vacation in a year I should expect to receive as a non-startup IT employee? Currently I get 4 weeks, and if I were to hit 10 years it will become 5 weeks.

I understand employment around the world, particularly Europe has a reputation for offering much more vacation, but I have no plans moving outside the country, so I’m only concerned with U.S. employment right now.
Such a statement will probably result in good press.

It may be racist to regard skin color in recruiting decisions but I think this will not end up being used against YC since most people don't care as long as whites are not favoured. I guess it's regular csr marketing.
Ask HN: What should I consider moving from a big firm to small company?
I have been working for 3 years at a large bank as a developer. Started out as a C# developer that started with the ASP.NET, developing a CRUD app, moving on to working on a WPF GUI for a year. Those were the good years! I actually got to write code and learn more about C#, about MVVM and always had ideas on how to improve the GUI codebase. During my last year my team merged with a bigger team.

For the last year my team merged with a bigger team. This is perhaps the start of a period where I just lost motivation. In large parts I find that this is my own problem, that I should learn to better manage my motivation. Perhaps there just isn't much more interesting development to do. This new role is about 30% coding, 70% setting servers up, checking cron jobs, raising change requests, chasing change request team because the change request system is stuck, writing test documents, etc. Perhaps it was time to move.

I started replying to recruiters.

I interviewed at a small development firm yesterday, they are a small outfit that gives me the impression that they care about the code as much as they care about the end result. I also felt like we'd be a good fit. I'll have the pressure to take on ownership of projects rather than relying on someone else on the team. Development-wise they say they have projects lined up for the next few years. I'll probably be taking a slight pay cut taking into account bonuses and benefits from my current firm.

My question is what are the things I should consider making a move from corporate to a small agile setup? What should my expectations be? What should I consider about this new firm? Are there warning signs I should look out for?
I do in the areas where human lifes are at risk.
EHLO,

Author here. This library is in early development and there's a lot to be done. However, I'd love to hear what you think of it and how it can be improved.

QUIT.
> If your favorite iOS app switched from Dropbox to iCloud, and functionally it worked the same, would you really care?

I think you hit the nail on the head here. This is one of the reasons we developed Kloudless [1], s unified cloud storage REST API. Would love your thoughts on it.

[1] https://kloudless.com
That is how I want to get old. Still working part time at 102, still fresh in the head, still passionate about what I love to do.

He certainly had an interesting life, but with all the new technologies: drones, phones faster than a desktop was ten years ago, self driving cars, planned human settlements on Mars, etc I think we to will see a world so very very differently from the one we grew up in 100 years from now.
I have never understood calling Europe a continent. The division strikes me as political rather than geographic. And no, I can't be convinced otherwise.
I remember accidentally stumbling upon some weird stuff north of Khasab in Oman, with some ridiculous developments like monorails, theme parks and so on with English names, while satellite view would only show barren mountains. This submission prompted me to look for them again, but it seems there's nothing unusual there now. Stuff like this really puts the credibility of Google Maps into question, particularly for rarely visited areas.
> "Liver toxicity from acetaminophen poisoning is by far the most common cause of acute liver failure in the United States, researchers reported."

But that's because paracetamol is deliberately used as a self-poisoning method. Very few of those acute overdoses are accidental. Although they do happen accidental overdose is usually old people storing meds in the wrong place and children getting access.

Very few people accidentally overdose on paracetamol by doubling up on paracetamol containing meds - and the solution is better packaging and warnings.

There are some things that help reduce overdosing. Restricting the sale of paracetamol to blister packs only, and not bottles, does help.

(Neither you nor Alex3917 have suggested a safer off the shelf alternative)
If you're going to use a warp drive (or any other means of FTL travel), you'd better hope that Novikov's self-consistency principle [1] holds, or else be prepared to deal with the ensuing causality violations [2].

[1] http://en.wikipedia.org/wiki/Novikov_self-consistency_princi...

[2] http://www.askamathematician.com/2011/09/q-hyperspace-warp-d...

[Edited to add second link.]
And yet, when you travel by train, plane, being monitored in an hospital, real time OS in factories, there is most likely Ada underneath.

If Rust wants to become a real systems programing language, it needs OS vendor support, not HN cheering.
5 Stunning and Bizarre Space Discoveries
Kafka may be worth a look. It's the best message delivery system I've seen in the wild.
Scientific reasoning is inductive, not deductive. When doing inductive reasoning you are allowed to update your belief in your axioms based on the empirical evidence you see.

In fact, the theorem showing how to do so (Bayes' Theorem) is so utterly elementary we teach it in the first probability course everyone takes.
Has SEO earned a bad name and what's next?
Well forever is a _really_ long time, but I wouldn't be too surprised. I mean we still have significant banking infrastructure running on Cobol.

Hopefully browsers will ship with native support for something better, in addition to javascript. A common virtual machine that you could run your code on would be awesome. You can kinda do that today, except JS makes a terrible VM spec.
The majority of the cases studied in the linked article (in the cases where it was known) were accidental.

"Some people deliberately take toxic doses in suicide attempts, but others may accumulate high levels of acetaminophen unintentionally when they take, for example, Tylenol for a headache and a second acetaminophen-containing product for cold symptoms."

Also people overdose when they're hung over.

>(Neither you nor Alex3917 have suggested a safer off the shelf alternative)

And I don't intend to. Ask a doctor. I have no idea why you use it, or if any suggestion of mine would cover that usage. I never find any reason to use anything stronger than aspirin, and Advil was suggested earlier in the thread.
You have a bad client. Fire them and move on.
You didn't have any excellent ideas until the last minute of the last model?
You shouldn't allocate heap space for a pointer in blocking_pipe_read. Also, it looks like you're leaking it in the else branch.

Just allocate a pointer on the stack, read into it, and then assign the value into the provided space:

void *msg_ptr;
read(..., &msg_ptr, sizeof msg_ptr);
*data = msg_ptr;
ISIS CIA WW3
This does not contradict what the previous commenter said.
BalCcon 2k14