skysight-inc/HackerNews huggingface dataset:
Only pure functions are absolutely reentrant.

Reentrancy is logically weaker than thread safety.

For instance, malloc is thread safe in POSIX, right?

Yet, you cannot call it from a signal handler, at least not an asynchronous one. This is because it isn't reentrant.

(POSIX would call it "async signal safe", but that's totally POSIX-specific terminology. POSIX uses some terms in POSIX specific ways, unsurprisingly. And "async signal safe" is something less than reentrant because functions can be made async signal safe by manipulating signal masks to avoid being re-entered.)

I'm not the one who made this discussion about POSIX; my original comment wasn't about how POSIX uses "reentrant" (and I don't care, for that matter).
"Hertz, son, it's hertz. Named after the old guy, Heinrich Hertz. Used to hang out at my hackerspace when I was a kid. Well, it was just a garage, but you know what I mean."
Catalog of programming languages that programmers hate
Ask HN: How can I transition to be a systems programmer?
I'm a software engineer with around 10 years of experience but I've spent most of my time in the application space - building web applications, using languages such as Java, Scala, Javascript etc.

I'm really keen to move into a systems programming role where I can do things like build databases, work on middleware infrastructure etc but I'm really not sure how to make the switch or where to start.

There are projects like Netty and Kafka which use Java and Scala, do I need to learn C or another systems programming language?
"Oh no, different companies have different requirements for a position that has the same name!"
Not much if you are in the same AWS region.
C64 version of Bad Apple. https://www.youtube.com/watch?v=fu7rRYkWsyk
To view this, pick your poison: pay them or subject yourself to a security risk (i.e. disable adblocking).
A fancy space station isn't going to do much good if a giant asteroid hits Earth and creates another extinction event (which will happen, it's just a matter of when).
Considering that T-Bills have a return of 0.2% right now, that still loses to inflation.

IE: If you actually want to make money, you have to go equities or start up a company.
Lambda: A Lisp Interpreter Written in Go That Runs in an iOS App
Positioning is so wrong. Places IP 800miles to the East from original location. Services practically undiscovered.
> would you say that proper usage would be "reversible compilation with zero loss of information"?

Isn't that possible with many languages since the compiled code snippets are obvious.

I've always thought transpiling was defined as compiling from one language to another language that is at the same abstraction level. Usually compiling goes from a high abstract level to lower.
Don't tell me what my browser can't do
Senior Bitcoin developer expects a failure of the currency
OTOH, Once they gave the money to the banks it's not really "their own" any more. That's part of the problem. people's perception is that having money in a bank account is like having cash in a safety deposit box, which is really not the case, at all. A bank account is just a debt, and just like any debt, the bank can default on it.

Interestingly enough there was a report, addressing exactly this problem, for the Icelandic government, by means of "souverign money". An arrangemang much more like the saftey deposit box scenario.

https://www.forsaetisraduneyti.is/media/Skyrslur/monetary-re...
The file extension was .anim, It's probably a standard IFF ANIM file. It's a format that contains RLE encoded diff-XOR-data(so you can play the video backwards).

https://en.wikipedia.org/wiki/ANIM
I'm currently doing something similar in C++ based on a project I worked on a couple of years ago. It is a wrapper around OpenGL for people like me who are tired of figuring out the specifics of the OpenGL calls every time they write something.

Goal: Easy access to shaders and its respective buffers with a bare bones visualization.

Example:

Shader shader(fragment_shader, vertex_shader);
verticesVBO.set(vertices);
verticesVBO.map(shader, "inPosition", false);
shader.bind();
shader.setUniform("uViewMatrix", camera.view());
shader.setUniform("uProjMatrix", camera.proj());
shader.setUniform("uModelMatrix", modelMatrix());
facesVBO.bind();
glDrawElements(GL_TRIANGLES, facesVBO.length(), GL_UNSIGNED_INT, (void*) NULL);

I should clean it up and make it available as a library.
Would cryptocurrencies (Auroracoin/Bitcoin/etc.) have any relevance in a state with weak currency controls and artificially-inflated currency values?
Super slick interface. nice.
>The Scalable C book is in many ways a guide to using that library in real projects.

I'm not criticizing the book or czmq. I'm sure it's a fine library. I just found your characterizations of C++ to be strange.

For example: ">, any well-written C code is mutually intelligible to other C programmers."

If you're going to qualify C code with "well-written" to help make your point then can't the same qualification be applied to C++? If so, it means you believe that there is "well-written C++ code" that is simultaneously unintelligible to other programmers. In your opinion, what would be an example of that? (E.g. If you can point to github of unintelligible but well-written C++ source code.)

And your other statement: >, because your particular dialects of C++ tend to isolate you.

I don't know if CryEngine and Unreal game engines are well-written C++ but they seem attract developers. There's also the scuba diving app[1] written in C++ that also has Linus (who you already know hates C++) modifying the source code. I contend there are bigger factors than C++ dialects causing isolation.

The C++ ABI may be more isolating than the C ABI because of C++ name mangling incompatibilities. But I don't see how the C++ dialects (of well-written code) are isolating.

[1]https://github.com/torvalds/subsurface
Ah, German. Such a beautiful language.
"I haven't had a work task at my job for 6 months"

Is there a specific reason, or has your manager just forgotten about you? I'm confused.

I work as a teacher and I can recommend teaching to anyone who wants to avoid boredom. Never a dull moment, honestly. Always something to sort out. Not unicorns and butterflies, but never boring.
They had cheaper prices, which means poor people could buy more goods with their paycheck.

It's weird they would shop there instead.
I would like to know about more sophisticated techniques for outlier detection. These are stat 101 level. Z scores? You can get into a lot of trouble assuming a normal distribution.

What are credit card companies doing? What's the best way to combine multiple variables that are predictive of an event for outlier detection? Is there a simple framework to automate reporting of these events in real-time?

One way to model this might be to treat the outcome ("Is this event an outlier?") as a 0/1 variable and use one of the many ways to model that type of data–random forests, logistic regression, neural networks, etc. The problem is that this isn't really "outlier" detection anymore.
> in 10-15 years

In many parts of the UK it's closer to 5-10 years. Which is great if you can afford the high price of entry.

Also great if you can afford a buy-to-let mortgage, because it means you can be profitable within a much shorter time, while containing the supply of purchasable housing and raising the average rental price...
Alex (aka vito) likes implementing things from scratch on weekends. So if you surprised him with a github issue he might just take you up on that challenge.
Nice!

Suggestion: Accept host names as well, despite the name of the service.
If You Gave Up Sugar for Good, What Would Happen?
So there's food, water, and shelter.

You can get by as a vagabond without a stable source of these - but let's assume that particular lifestyle doesn't appeal (I've tried it. Fun for a while.).

You can work, for an amount sufficient to subsist - and nothing more. A lifetime of work.

You can be independently wealthy. Not much to say there.

Let's say we're between 2 and 3.

How do you get towards 3, if you're in 2? Realistic options, no lottery wins here.

Well, you can save some of your income. Maybe that'll be enough, and maybe you'll eventually have enough to be able to rent until there's no more you.

You can try to improve your income. To do that, it helps if you're mentally fit. Having a table at home to eat at; having a computer setup if you're a remote worker; a nice bookshelf; whatever. Things help. It's hard to work for years on years in material discomfort to build a retirement fund.

So you own some of these things, and you rent.

Every so often, perhaps every year, all of that Stuff gets bundled up. Boxed away; sent in transit. You remove shelves; buff up floors; repaint walls. Then you sit and wait for the bill from the landlord.

Bugger, that's a hefty deduction. Next time, you'll be a bit smarter, I suppose. You won't drill that hole in the wall. You won't pester about the broken washing machine.

The cycle continues. Maybe you alternate material discomfort.

Eventually, though, you're probably going to get tired of it. Because fundamentally, you're doing all of this not because you want to, but because you have to - you can't rely on the landlord to provide you with stability.

What next?
Maybe I'm just unfamiliar with some of the Postgres syntax.. but shouldn't there be a GROUP BY in the first query?
MIT Lab Produces Incandescent Lights Rivaling LEDs in Efficiency
They're both great books, though, and I encourage everyone to read all of Gibson.
Its still technically a natural process cosmic life isn't dependent on random abiogenesis, in fact it's probably even more interesting than a simple case of biochemistry and luck.
How to Mashup the Imperial March to the Best Star Wars Scenes
There are a lot of generalities and anecdata thrown around in these sorts of demographic discussions. Certainly "white flight" has generally reversed and there's a fair bit of gentrification going on in formerly rundown areas of certain cities.

However, the "millennials are all moving to cities" meme seems to be much overstated. e.g. from fivethirtyeight [1] "Millennials overall, therefore, are not increasingly living in urban neighborhoods. Rather, the most educated one-third of young adults are increasingly likely to live in the densest urban neighborhoods. That’s great news for cities trying to attract young graduates and a sign that urban neighborhoods have become more desirable for those who can afford them. But the presence of more smart young things in Brooklyn is not evidence that millennials are a more urban generation."

I don't know much about Florida is particular. Anecdotally, I'd say that the cliche of retiring to Florida doesn't seem to apply to just about anyone I know. If anything, they're retiring to the desert Southwest if they're seeking a warm climate.

[1] http://fivethirtyeight.com/features/why-millennials-are-less...
Yes that's true. I think it is not too much of a limitation though. The major use of UDP is games and if you're writing a game you control the whole protocol anyway.
> Well, let's hope Google realises that crawling web apps based on WebAssembly will consume a lot of CPU cycles and will decrease their rank or not index them at all. This will put an damper so that WebAssembly is only used for SaaS web apps compiled from native C++ and not for the vast amount of general purpose websites as a CEO technique to speed up the page load - which would be a real trojan horse, and dangerous for the web.

Google will never do this. There's no indication whatsoever that Google (or for that matter any other browser vendor) is opposed to delivering apps over the Web in compiled format. Remember Google Web Toolkit? Closure Compiler?

If you want to argue against wasm on the grounds that it makes reverse engineering harder, then you should also be opposed to JavaScript transpilers and source minifiers. That's an intellectually coherent position to take. However, no browser vendor to date has taken this position, and to suggest otherwise is just narrative constructing.
Right, the "container" word is now vastly associated to docker, yet I picked a word I know IT people will get and which is generic enough. I'll think on an alternative buzzword ;)
Thanks for your support!
This is another reminder to be weary of strangers you meet online.
I'm a big believer that for every up there is a down. I respect Iceland for doing this. Rather than giving into a fear of the unknown, they faced their demons. It is without doubt a painful ride, but if any one of us were to negligently run a company into the ground and mismanage it, we would expect to pay the penalty for. I find it sad that we have allowed these big banks to grow so big, that they are "too big to fail". At what point do we have a scenario where other types of company are also too big to fail?
It's an XCode project: I'm pretty sure it works on Mac. However the code uses Metal, which does not have a C/C++ API. I'll wait for Vulkan to be available on Mac.
I had no problem accessing the article. I'm using uBlock Origin.
A little more about the play Nerds: http://artsbeat.blogs.nytimes.com/2016/01/14/nerds-a-musical...

The holograms and other interactive features are part of this particular staging. The play is about a decade old.
What's the general sentiment after all the turmoil over the past few years? Are you better off now or situation is the same? Picture we get presented from Iceland is that you got rid off everything that was wrong and you're now on the way of prosperity, or already there. Something tells me that's not really the case.
A house is a risky investment. Over the life of a 30 year mortgage, you may spend 100% the price of the house on interest, plus ever rising property taxes, repairs, roofs, driveways, land care and maintenance, and more. There's also transfer tax in some municipalities (2% on buy and sell in Philadelphia for example), 6% to a realtor to sell, and so on.

You'll need your house value to rise to at least ~225% of its initial purchase price over the life of your mortgage just to break even.

That doesn't count the time you spend on repairs and maintenance of your property that you never get back.

Here in the US, I have friends still under water from 2008, so house values don't always go up (and this is in the pricy DC metro area).

All investment is a risk. Never buy a house because you feel you should - do it because you want to. You want to put in the kitchen of your dreams, you want to live near family, you want your kids to grow up in one house their whole childhood.

If you make a profit in the end, wonderful! But don't do it for that. Rather, decide the kind of life you want to lead (do you enjoy moving every few years? Do you want to live abroad for 5 years? Do you prefer he flexibility and lack of responsibility that comes with renting?) and live that - if a house fits into it, great!
It seems a bit akin to those "Tom, Sally, and Harry bring 50 years experience to solving your problems" type statements that are used when certain businesses/professionals market themselves. Of course, Tom, Sally, and Harry are all in their 30s.
Works fine with uBlock Origin (I use some filters in addition to the default ones such as "Anti-Adblock killer, that could play a role).
You don't seem to be understanding.

Businesses generally get dozens to hundreds of applications for each job posting. These applicants largely range from completely unqualified to way overqualified. The main thing you're looking at when you read a job posting is 'spray-and-pray' ways of cutting down on the noise.

If you can see through the filters, then you can start to tailor your applications to fit exactly what they're looking for. It's not an exact science, but paying a little attention can cut your miss rate by orders of magnitude.
I hope so too!
(disclosure: I am a Googler, but I have nothing to do with this project)

Passwords are problematic, easy to lose, easy to steal, but an issue with biometric identify verification is that you can no longer maintain multiple personas. Using a password with 2FA, you can quite easily maintain two sets of those credentials, assuming that the authority doesn't demand proof of real name or such nonsense.

If you trust the authority, it's no big deal. And, I trust Google... today. But do I trust Google tomorrow? I don't yet know tomorrow's Google.
Netflix opens to Bitcoin
It's interesting how people appreciate this link when a new exchange is in the news, but how people dislike this link when an exchange gets compromised!
Walmart's MO was/is to beat the prices of local businesses, operating at a loss (subsidized by other stores), until those businesses die. Then it can jack prices back up.
I'd go the opposite way. I reads to me like yet another article about the joys of building a wooden boat. Far to much effort is put into style than design. The choice of wood isn't anything to do with design. This was always going to be wood no matter what. That decision had been made long before anything else, probably even before the idea of a laptop. Whatever this project was to be, it was to be out of wood. Just like the boats in the sheds.

Imho anything that wants to stand the tests of time should start with an examination of which material is best suited to the task. Is that wood? Is that composites? I don't know. I'd like to read about the same effort and creativity focused on building the best case possible.
I recently changed internet providers, and now google refuses to let me access my account from home.

I've tried telling google it was me attempting access, but no luck. They still forbid access.
Hackear
Sounds like a William Gibson novel! I give it a couple more years before an example of "Idoru" comes along.

https://en.wikipedia.org/wiki/Idoru
The "bankers" (and by that I mean the entire mortgage chain, from issuing to securitizing) were engaged in fraud. Mortgage officers directed applicants to lie on their applications (and in some cases falsified numbers themselves) [1][2], falsified appraisals [3], misrepresented the quality of the loans that made up the RMBS they were selling to others [4][5] and then falsified mortgage documents for foreclosure purposes [6].

What's not to hate?

Episode 365 of This American Life, The Giant Pool of Money [7] is a good place to start for more context of the hate.

[1]: http://www.businessinsider.com/only-lying-lenders-made-liars...

[2]: http://www.nytimes.com/2015/02/13/upshot/how-mortgage-fraud-...

[3]: http://www.bergermontague.com/blog/index.php/countrywide-whi...

[4]: https://www.washingtonpost.com/business/economy/bank-of-amer...

[5]: http://www.justice.gov/opa/pr/bank-america-pay-1665-billion-...

[6]: http://www.nolo.com/legal-encyclopedia/false-affidavits-fore...

[7]: http://www.thisamericanlife.org/radio-archives/episode/355/t...
Tips to defeat your fears
Not at all. Because your premise, based on there being a "case", is flawed. In many jurisdictions, infidelity doesn't matter in divorce. And in criminal matters, at least here in the US, there's that pesky fifth amendment right to contend with.
The Strange But Effective Way I Stick to Hard Goals
You see, some people are so small and have nothing more important going on in their lives, they engage in activities such as these. Nevermind that the author fails to grasp that guys is not necessarily of masculine gender, much like the pronoun "he" as in "he who...", or "man" as in "man is an animal that...". You may as well get worked up over the recent singular "they". I mean, I'm an individual, not a "we", so I take offense (grammatically, I do dislike singular they, but that's a grammatical quip not a seething ideological piece of nonsense).
Nice, everything I need to know in one place. I'll bookmark this.
Earning Extra Money Online
... uh... "beautiful"???? the frame rate is terrible, blocks and glitches everywhere. zooming isn't smooth or intuitive, and just before you get into the interesting parts, "cannot zoom any further".

this is a pile of shit and you should delete it.
The server side of major services already perform some very sophisticated probablistic authentication mechanisms. Ever had Google or facebook ask you to sign in again when you got off a flight or accessed a sensitive setting? You've experienced it firsthand.

Taking it down to the device level is just acknowledging the danger of loss or stolen second factors. Further, frameworks like tensorflow may allow the learning model to run directly on your phone, alleviating a lot of the concerns enumerated in this article.
Already happened in 2009 in Japan[0]:

> Hatsune Miku, a virtual singer whose voice is created by a software engine, performed "live" for the first time on Saturday at the Animelo Summer Live 2009 Re:bridge concert.

There are a lot of concert videos on YouTube[1].

0: http://www.animenewsnetwork.com/news/2009-08-23/hatsune-miku...

1: https://www.youtube.com/results?search_query=hatsune+miku+li...
Charting the Map of Gorongosa’s Life
The Fair Price to Pay a Spy: An Introduction to the Value of Information
This sounds bad. We are already forced to use almost exact voice to give voice commands. Now we will be forced to walk the same, speak every so even if you are alone in the room and be sure we dont break our habits. For me this sounds bad. I will be waiting for Google to prove me I am mistaken.
There's still a lot that can be done to improve passwords without eliminating them. Perhaps the single biggest step is to encourage password managers that can auto-generate strong passwords. I seem to recall an article recently showing that the biggest difference between normal people and security professionals was the use of password managers.
>>> If you trust the authority, it's no big deal. And, I trust Google... today.

Google yes/maybe. But when you talk to Google who else is involved? Which governments are granted access, with or without google's knowledge? How many 20-something analysts at three-lettered agencies have access? I would like to trust a large publicly-traded company, but the reality today is that they seem in little more control than the individual. We've seen their logos on too many leaked documents.
If one suspects a spouse of infidelity, there are personal concerns related to trust and affection that need to be resolved. By the persons involved. Not by a judge, or a legislatively mandated compulsion to disclose every little thing, no matter how unrelated, you've ever said, into public record.

Edit: You keep using the word "case". I do not think it means what you think it means.
If you make scientific claims, expect people to be nitpicky. Scientists will take any statement you make literally, and evaluate it without thinking things are "obvious to even a small child". Many children think things are "obvious" but are scientifically wrong, and it's important to include enough context that the statement is both correct, complete, and useful.

Other organisms survived all the major modern extinctions (like tardigrades), but there are other organisms that survived even more.

The last universal common ancestor, from which all extant organisms derive, predates the Great Oxygenation Event. So, there is an organism that has survived all known extinction events. And its descendants survive today.

The cyanobacteria, and microbes that grow deep in the earth's rocky depths are both more likely to survive future extinction events, than are tardigrades.
Really accurate geolocation is not that easy, most public dbs are seriously polluted.
It's acknowledging the imperfection of people what makes software an engineering field instead of a hard science. It's not news to anybody.

Continuous testing, code reviews, defense in depth, etc. are practiced to deal with that. The engineers that design cars (the "hardware") are as imperfect as anybody else. So are the engineers that design planes' autopilots. Nobody relies on an engineer being perfect, and there's no need to.
vortex [at] emergentnoise [dot] org

I specifically want to see what difference there is to Whatsapp/Telegram, given that these apps also share photos.
Show HN: 1 year plus and still prototyping. Please rate my Open Source project