skysight-inc/HackerNews huggingface dataset:
I prefer the inverse view: it's not the "bad" food that is unhealthy, it's the lack of "good" food when too much of it is displaced by the "bad". Once the demand for all the required non-energy food components is satisfied it should be perfectly fine to fill the remaining energy balance with whatever junk food available.

As I see it, the basic problem is that our "animal brain" food autopilot, which serves us incredibly well with natural food, is easily fooled by state of the art food preparation tricks. If we lack some random nutrient, let's call it foomium, then the autopilot will make foomium-rich food taste good. And food that is engineered to be very tasty to people who are in "acquire foomium" mode (amongst many others), despite not containing any of it. If we have a candy bar completely devoid of foomium, but that successfully tricks the foomium-deprived body to trigger the "this gives me foomium" heuristic, then we will eat quite a lot of it before giving in to overeating. Repeat this a few times and you will see that industrially processed food is unhealthy. Not because of what it contains, but because of what is missing (but what is cleverly pretended to be there, as a side effect of successful engineering for tastyness)
> Go is easier to deploy than Rubby on Fails.

You could have said that without cheapening the level of discourse.
> In fact, the article's conclusion that the OpenSSH team should have
> rolled their own memory management code rather than use tried,
> tested and approved libraries

That's not the conclusion I draw from the article.

I rather read it as warning that even innocent and quite common
operations like realloc() or using buffered I/O can have security
implications, so one need to be extra extra extra careful when
writing code that handles sensitive data. In other words, security can
be even harder than security professionals think.
Did you guys evaluate Phabricator? I wish more people knew it existed and wouldn't pick such "sideways" moves like GitHub to GitLab in an effort to be more "open source" philosophically speaking.
> > It is right that my life will end. It is right that the old must clear the way for the young and the new. It is the way of things.

> Lots of people say that but it's because we are resigned to it. We don't have a choice about growing old and dying.

hm, maybe, but that doesn't explain the steep and quick change in my attitude towards the perspective of my own death after my first child was born. i realized how much of the feeling is "the other side" of my sex drive: our primary purpose in life is to procreate so our genes can carry on. once that's fulfilled, the fretting washes away very quickly.
Shows dedication to the platform.

Currently, Swift is being hurt by incompatible changes between 1.x and 2.x. There are expected more incompatible changes between 2.x and 3.x.

If Apple had significant investment in Swift apps, they would not be making breaking changes so lightly. Because they don't, breaking changes are expected and why should be you the one, who is constantly rewriting the app you have?

TL;DR: it hurts the adoption of the language.
> we'd love to allow external people to fork our repos

I wonder if this could be solved by making it really easy to fork your repos, but when that happens the fork ends up (with tight integration) back on the/a public GitLab instance.
Containers without root
Twitter is down (18 Jan, 7:07 PM IST)
Bummer. I played with Spritz (a centered-text speed reading API) at a hackathon a while back, and was pretty impressed. It seemed that I could read with real comprehension at around 400WPH and "skim" at about 1000. A big part of your pitch was "moving from word to word takes most of the time while reading," and I thought they had research to support that.

It's still a fun thing to try if you haven't done it yet. The article points out what is pretty clearly the biggest problem with these speed readers - going back to re-read is a big UX challenge. My little hackathon app used a "back ten words" button (may have been what Spritz recommended?), but I also thought having the actual paragraphs scrolling above the Spritz text as you read would be a more useful way of solving this problem. If you get lost, skim the paragraphs around what you're reading, and press / click a word you want to start speedreading from again. In more dense material where you need to flip back a page or two, you might need some sort of zoom out functionality as well.

If nothing else, these technologies will hopefully find a use in wearables and other tiny-screen devices.
Reminds me of my advice to netflix after peering problems emerged, just push garbage upstream from every client to equalize your peering traffic.
I think a transpiler is a compiler that does a high-level to high-level translation with only a few simple transformations and almost no optimisations and produces relatively readable output.

If a C or Eiffel compiler meets that definition then yes. I'd still call it a compiler, but I would also call it a transpiler.

If you're offended by the term transpiler because all transpilers are also compilers, then I don't know why you wouldn't also be offended by the term compiler because all compilers are also 'programs', so lets just call everything a 'program'.
I currently do this for the basics, and drop down to git at the shell for anything more complex than the one or two things GitHub's client does well. It's a decent trade off in my opinion.
Movies We Watched: Box office sales in 2015
August Smart Lock Teardown
There was an episode of the ted radio hour recently[1] about this very topic, it seems to be gaining a lot of traction.

A lot of it makes sense, one of the big points is that democracy at a state level is broken, but it is still efficient at a city level.

1 http://www.npr.org/programs/ted-radio-hour/462178064/buildin...
Show HN: New Open-Source Servers Monitoring (GitHub.com)
I think it's more to do with company/dev size. The bigger companies take longer to migrate than smaller startups and lone devs. I'm in a small startup and it was trivial for me to change over to Swift as I'm the only iOS dev. Facebooks SDK is still being written in Objective-C so I guess it's simply harder for them to jump over because it's a much bigger project.
Most are not writing their own engines anymore.

In this day of mobile and web gaming, indie developers everywhere, and game engines like Unity and UE4 being so accessible, I think more game developers are writing games in Java, JavaScript, C#, and other garbage collected languages -- not to mention "visual programming" of Unity and UE4.

If you're writing a game engine in C/C++ today you're probably never going beyond the desktop Windows platform.
I like the theory: labor leads to love.

Would be interesting to see it applied to relationships.
imo only crazy people upload anything to the cloud without compression+encryption.
I heard in the news this morning: http://www.independent.ie/business/technology/you-can-finall...
erm... allocating zero was never a good idea. it had varying behaviours on varying platforms for as long as i could remember and was one of those special cases to avoid.

the allocators didn't necessary even meet the alignment specification either... even if the documents said they did. i remember reading that malloc on windows would return things on 8-byte boundaries only to find pointers ending in 4 (rather than 0 or 8) coming out of it...

and as many have pointed out returning null may or may not happen in a number of situations. i've seen it happen enough times when i ask for too much memory to believe that it is a useful fail case to check for...
All right, I see where you're coming from. I think any eventual GitLab acquirer would be mad to screw up _our_ winning open core formula, but I'm not in a position to tell the future or make any promises.

I've asked our CEO Sid (you know, the "GitLab CEO here" guy) to chime in.
> I understand that Phabricator is a more "complete" solution, but how do they compare in the core features that they both share?

I think GitHub is prettier, but having tasks separate from repos and having tasks be as sophisticated as they are in Phabricator and having such a better pull requests system, it doesn't matter? GitHub has to dumb down the user interface on their product to appeal to the least common denominator and maintain their growth. Phabricator is for projects where people care enough about their projects to learn the UI so they can get things done.

> Also, do they pride themselves for writing this in PHP?

As a user I doubt you're going to find your self caring about how it's written.
That was like Yahoo in 2000. It's a problem.
Social and Behavioral Sciences Team
That's a suitably euphemistic way of putting it :)

The thirty or so years of recent low-level civil war in Northern Ireland are not mentioned there, or indeed anywhere in mainstream UK politics.

The 19th century Empire was run centrally from Whitehall. Gradually it rolled back in the 20th century: Ireland, Canada, New Zealand, South Africa, India, Israel, various Arab middle eastern countries, and so on. This has left the country with an imperial-derived system suited for paternalistically ruling people it considers inferior from a distance. It's just that the distance has scoped down. People within the UK and even within England are starting to regard it as distant and uninterested, especially in the recent floods this year and the last. It's on a much smaller scale than the Katrina disaster but I think the resentment is starting to build in a similar way.

Small-government conservativism in the UK means considering abandoning Liverpool as it's too far away.
The cities run on resources produced by countries. Food, water, minerals, power. Even if power is generated locally, it probably burns fuels acquired from outside the city.

So a strong economy can import everything it needs, and stand on its own. But that also exposes it to risk, as it cannot truly sustain itself in times of trouble. On the other hand, rural communities can be mostly self-sufficient, but when pushed to that extreme, life becomes harder and not quite as interesting.

So the truth of the matter is that it is a symbiotic relationship. I'm not sure I see any practical value in pitting cities vs. countries.
Yeah, took me a second to realize why one of the tabs I opened from HN was trying to do NAT STUN traversal
It will be interesting to see how successful Buzzfeed is at maintaining both models -- a huge array of clickbait, low-quality, traffic-driving (and revenue driving, I'd venture) content, and also a investigative journalism unit doing this type of work.

If Buzzfeed is committed to this and has the financials to support it, I think they'll eventually win people over. Al Jazeera America never really had the time to establish itself as a respectable journalistic unit. Their recent report on Peyton Manning having HGH shipped to his house was met with a fair amount of skepticism, just based on what news outlet reported it. They folded their American division a week or two later. I'd guess the same thing will happen with people questioning Buzzfeed's reporting based solely on what Buzzfeed is generally associated with. But if they can persevere that and continue to produce quality investigative reporting like this, the mainstream will eventually have to accept them.
Reactive Data Flow in Angular 2
>I agree that there is a class of games that can be easily implemented with a prebuilt engine, but this is not one of them.

I'm sure everything from minecraft and Dwarf Fortress through Battlefield 4 could have been implemented in a prebuilt engine.
Isn't a pricing structure like that kind of the inverse of insurance premiums?

You can either pre-ammortize over the storage period, or you can backload at retrieval time. Furthermore, charging at retrieval time also sends a clear message on what type of data this service is to be used for and modifies user behavior.
Show HN: Our Free Data Visualization Software
Gitlab might have the resources to properly support multiple vcs' - but even though I personally prefer mercurial (ui, reasonable large-file support) - I'm not sure it would be a good idea. Trac (trac.edgewall.org) did a lot of feature-experimentation -- and I think one take-away is that being an effective workflow support tool and supporting (even subtly) different back-ends with accompanying different best-practices/patterns (eg: git sub modules) is hard.

I'd be happy to be proven wrong.
Is your app's Safari Content Blocker enabled?
We've been using Phabricator for a few months, coming from private repos on Github.com. We initially liked it because it "ticked all the boxes" for the features that we needed from a source code and issue tracker. However, we ran into major issues along the way, basically because some of the concepts in Phabricator aren't compatible with our workflow. We decided to switch to Github Enterprise and haven't looked back since.

Some of the issues we had with Phabricator:

1. Phabricator is actually a suite of different applications that do specific things (e.g. source code hosting, issue tracking, project management, ...). Although Phabricator ticked all our feature boxes, some of the components it ships with are very immature and/or don't get a lot of attention from the development team.

2. For some reason the platform as a whole feels like a CRUD layer on top of a data model. The UI and various workflows in the applications are very tightly coupled with the underlying data model. I guess that makes it easy to develop and maintain the various core applications of Phabricator, but it doesn't make for a very user-friendly or usable product.

3. We have ~150 internal repositories, we actively work on ~40 of them at any given time. The source code application doesn't seem intended for that many repositories (e.g. navigating to a specific repository is non-trivial)

4. Phabricator has a fundamentally different approach to "pull requests". It works really nice, but only if you commit to using the Phabricator Way Of Doing Things. However, our team has been working on Github.com for years, and we're so used to the Github-workflow that we couldn't get used to the Phabricator workflow.

In the end Phabricator just wasn't the right tool for us. It definitely has some attractive properties: it's easy to install and upgrade, the command line tools are solid and provide all functionality you need, and it performs extremely well even on a small EC2 instance.

(EDIT: formatting)
How to travel smart?
The 4 Most Infamous Corporate Espionage Cases of All Times
Talk: Functional Thinking for Fun and Profit
There are concerns about connecting to a malicious network besides just voluntarily downloading an unsafe file.
And even if a city did produce its own power, where are the materials for all those panels and turbines coming from? Where is the sand coming from to melt into glass?
Coming from a Windows viewpoint, I would have thought the same thing. AFAIK, under Windows you just end up hitting the system swap file. Of course, you can start getting into a situation where physical memory is so low that everything grinds to a (ahem, virtual) halt....
Apparently run time of the decoding is still a problem. I wonder if it lends itself to massively parallel execution like with CUDA or something.
I concur.

I have not tried variety of AWS services because I have no idea what it would cost me if something went haywire on my server.

If I could simply deposit to Amazon a prepaid amount and it would just use this deposit until it's depleted, after which the services I have would grind to halt. This would be a perfect way for me to try it.
> On a technical level that seems an impossible distinction to make.

Sure, but at least it would be clear what is 'allowed'.
You realise that definition also applies to hardware keys, right? They're unreadable, private data via memory safety - there's only limited interface to operate on that data in valid ways.

Proving code correct is far from obvious though. Apart from single instances like sel and python's sort, can you remember any verified software with proofs right now?
Of course academic work is creative work, but saying "there's no off switch" is too simplistic. Academics are people too. They prepare meals, watch television, spend time with their kids and spouse, go grocery shopping, go out for drinks, and visit mindless entertainment websites just like the rest of us. They may happen to think about their work during those activities but ,if they do, it's only by accident. The question of how much time they spend in these "leisure" activities vs "work" activities is well-posed enough to have a useful answer. And of course it varies from week to week but that doesn't mean we can't talk about what the distribution looks like. A professor whose average workweek is 60 hours lives a different life than one whose average workweek is 40 hours.
Yes, we did. Unfortunately, it's not really easy to help people fork the repos.
I agree with you. And while I don't think there's any secure way to use realloc(), I would like to remind people that stdio does give you control over the internal buffer (setvbuf()), which you can potentially set to a buffer that can't get swapped to disk and which you can zero out at the appropriate time. You can also call fflush() to be sure that the data in stdio's buffer can be zeroed even before the file is closed.
Is it really mature enough that they shouldn't be making breaking changes?
MMOs do not have to require massive development if you strip the requirements back to the bare essentials. There are a lot of software engineering concepts involved (and tons of messy business logic), but this just makes MMOs better as learning projects/teaching tools.

For example, as an exercise to test the ability of code golf-style/APL/array programming languages to handle messy business logic, I recently built a 2D tick-based MMO in kdb+/q: https://github.com/srpeck/kchess

Note the design decisions/constraints that reduced development time:

- High programmer efficiency kdb+/q platform

- Simple client-server architecture

- All-on-one-box - kdb+ is both the front-end server and the datastore

- Websocket-based networking

- Tick-based - 1 second ticks to limit latency issues, though the server fully supports near-realtime ticks

- No differentiation between players and AI - both are networked clients (e.g., see here for the simple websocket client docs: https://github.com/srpeck/kchess/blob/gh-pages/docs/kchessdo...)

- No player identities (generally a commercial showstopper, but not for a side project)

- No 'content' - simple 2D graphics (though making the engine 3D would be trivial due to the vector paradigm), no progression/quests/RPG elements

Of course, there are the MMO pieces that generally increase development time:

- Game state cannot be globally fanned out given the sheer number of possible client connections (the first M - Massively)

- Untrusted players/clients

But once you have a simple, solid base engine, converting the result into an instance-based MOBA or a full MMORPG is not difficult, just time-consuming.
The cost is that you have to ensure that all your code is exception safe unless you are extremely careful to ensure that exceptions are only thrown in places you've expected and coded for.

Exception safe code is both difficult to write correctly and often has a significant run time cost.
There is no market. People want an iPhone 6, not a wooden necklace
Five Tech Trends Set to Transform the Business World
I'm getting started in ML and yea it's a great combinations of datasets to play around with! Sad for the weed growers tho :(
Wouldn't that be called "affirmative action" in the US?
What an Uncensored Letter to M.L.K. Reveals (2014)
I remember back in 2007 when Davydenko got accused of being part of a betting scheme. He said, "Its 2007, there is no mafia in Russia."
I knew this bubble was going to burst when Snapchat was offered $4b and they turned it down.
Virtual Clipping API for Long YouTube Videos
If you're looking for Mercurial try out RhodeCode, it support all the Mercurial specific workflows like phases etc.

RhodeCode actually supports Git, Mercurial, and Subversion.
Numbers That Don't Add Up: Tibetan Half Digits (2007)
Did Express.js just die, and IBM kill it?
Technically, it exploded well before it delivered the satellite.

edit to add some facts since this seems to be getting downvoted pretty quickly: Stage 1 landed and exploded at around T+10min, the satellite was deployed at T+56min. This was just two minutes after it was delivered on its final orbit. Both of those could be considered "delivered to space", neither of which happened before the failed landing.
Improving the efficiency of your team: cleaning up after yourself
Yes, in Switzerland as well. It's so odd seeing so many people using these apps to check hockey and soccer results – on a smartphone!
The Gluglug
Richest 62 people as wealthy as half of world's population
Interesting. Bit hacky but hopefully this leads to them actually introducing the option as a simple on/off switch setting.
You may be interested in learning about cognitive psychology and neuroscience. It's the branch of psychology that focuses on the question of how the brain works.

One part of the science involves studying people who have had parts of their brains damaged through illness or accident; one of its overall findings that many people find surprising is what little pieces our brains functionality is broken down into. For instance, there are portions of your brain which match the emotional feeling to the visual input; when this system is damaged, you look at your family and feel nothing. (This in turn leads to a belief that your family has been replaced by impostors -- they look the same and sound the same but feel difference.)

Relevant to your drug trip, there are also parts of the brain responsible for "the feeling that your are in your body". When these parts of your brain are inhibited -- for instance, by a drug -- you feel detached from your body.

All of which is to say, you may find it interesting to study how your mind works from the outside looking in, through cognitive psychology, instead of from inside looking out during a drug trip :-)
Staring out in ML here as well, and glad to know it's the goto place for starters/veterans :)
Markets are fairly self-correcting. Excess content will kill lowest quality content producers (not enough ad revenue). Homogeneity of content will create ways to differentiate (niche publications). Globalization... well, some niches are somewhat global, and to that extent this will also lead to either consolidation or dying out of poorer quality publications.

The only way you can make a valid "everything will be shit, markets are bad" argument is if there is a mechanism through which you believe regression to the mean of [cultural values, intellectual endeavors] is "BAD", and PERMANENT for some reason (culture, psychology, neurobiology) leading us as a society to some kind of mental poverty. But then you're saying someone should somehow regulate this? Decide? Maybe even you?

"I am most certainly not fooled by the antirigorous arguments of the way above their pay grade academics who truly believe they could run the world the way Plato intended them to. Get thee behind me, Satan."

That's from http://thelastpsychiatrist.com/. If you like SSC, you might enjoy it.
Didn't know, thanks. Also saw that you just posted a link to an article about Mesa on HN. Viewed it briefly. It says the Alto file system was written in "BPCL". Should that BCPL, a precursor of C? Had read a book it, by Martin Richards, IIRC, long ago. Good read. I think it had only one type - machine words. Fun to implement higher level stuff on such a base, though tedious by today's HLL standards.
Quite a lot of us who disagree haven't gotten around to write essays about that either.
Probability of GUID collisions with different versions
Kalender Hazır Beton #Kurumsal Kimlik Çalışması – Freelance Grafiker