skysight-inc/HackerNews huggingface dataset:
Choice is good, until the food truck explodes ...

http://articles.philly.com/2014-07-03/news/51033519_1_lunch-...

The consequence of the food truck growth is that there are now many more mobile, explosive installations of gas in existence as opposed to restaurants which have a contained, inspected, fixed installations of gas.

At what point did we have the conversation as to whether this is a good thing? We didn't.

Disruption isn't automatically a benefit.
All I saw was the word awesome over and over
Drop the s, just Vibe. It's cleaner
Anyone can conver this article to a "apt-get install thinner" command?
Actually, I was thinking of rolling hourly/daily/weekly backups and I didn't understand how I would set that up with your program. Would I have to sync the same source to multiple destinations on different schedules? That seems inefficient compared to e.g. http://www.mikerubel.org/computers/rsync_snapshots/

Please don't get me wrong, I'm not trying to denigrate the software you've written! I was just surprised to see it marketed as a backup tool instead of a file synchronization tool.

The git packfile format is neat; I'm sure you can get some inspiration from https://github.com/bup/bup (which uses it) and http://obnam.org (which has it's own format).
Social Belly just entered the #GetStarted2014 startup competition to win $70k worth of of development, marketing and infrastructure! #startups Like the idea? Please vote for us!!http://getstarted2014.co.uk/getstarted2014/ideas/6632
here here. It's just a catch phrase. Sorta like at Subway where they are "sandwich artists". I doubt they go around calling themselves that.

Anyhow, as a front end "artisan", Laravel is pretty awesome to work with. Especially the Blade templating system.
I'm reminded of the cross-referenced index of conspiracy theories, one per page for several hundred pages:

https://en.wikipedia.org/wiki/Everything_Is_Under_Control

http://www.rawilson.com/undercontrol.html (Sample)
Bee death suggests that we are not always researching everything affected by pesticides.
As a kid in France (in the late eighties, quite young, but I can't remember when precisely), I had some "programming classes", using Logo on Thomson computers - http://www.oocities.org/siliconvalley/9723/thomson.html

Basically, all primary schools had some of them in a special room, and kids would get to do stuff on them, by pairs of 2 or 3 - part of the time was guided interaction, then you would "experiment" which what you'd learnt this day.

I can't say how effective it was, because it was not really integrated with the rest of the curriculum (government program gone wild!) but the interesting thing was that it allowed experimenting.

Before that, I read computer journals, wrote programs on paper, and "ran" them in my head. There I had a machine to do that and could spot differences between my intent and the action - ie where there were differences in the interpretation, ie BUGS!!!

What I remember most fondly about Logo, is how it allowed recursion and the very visual nature (lines, color, circles...). The programs were simple but allowed us kids to play with the concept of recursion.
So far as outsiders were able to tell, it sent back hashes of every DNS cache entry. Someone stuffed their DNS cache with a larger-than-usual number of entries and found the amount of encrypted data sent back consistently increased by exactly the amount required to send every hash twice, then went back to normal when they cleared their DNS cache.
"I meant more of the same strategies. Data sharing and the like."

Certainly it is possible to find alternative constructions that work. Occasionally these may still be faster. However, I strongly contest that it's "tougher" in a non-mutable context. Specifically:

'In a mutable language this can be done by simply updating the head pointer easily enough. In a non-mutable language this is tougher in some respects.'

This is wrong. The hard part about this is making sure old things pointed at by existing snapshots don't change. If your data is immutable, you get that for free.

Moreover, in terms of complexity of the system, (mutating algorithm + a bunch of stuff to capture the mutations) is likely to be messier than the nonmutating algorithm (which is sometimes cleaner than the mutating version to begin with, but certainly not always).

Also, note that you've moved to talking about "mutable languages", we had been talking about algorithms.

'This is pretty much the thing that tripped up a ton of folks back from the early days of java. "Why doesn't x.replaceAll('a', 'b') change the value of x?" was not an uncommon mistake to encounter.'

Which is clearly a problem with "non-mutable languages"? The problem there is that the Java paradigm had been strongly mutation oriented and then they dropped an incongruous mutation-free "method that is really more of a function" in there. Clarity and consistency are important in any setting.

"DLX is actually a great example of this sort of thing, as the whole point is that the operation to remove an item from a doubly linked list can be reversed to add the item back just from looking at the item that was removed."

But you can't do that if you might be sharing those lists with someone else. The point is that the constraints imposed by immutability are often the most effective means of addressing other constraints, and so study of these things is quite valuable. This thread has never been "Haskell is much better because it doesn't let you mutate anything!" - both because I've already acknowledged that in many settings the mutable versions of algorithms are preferable and because Haskell does let you mutate things (you just have to be explicit about what).

"And again, consider the way that git works. Nobody would call c and the techniques they use immutable, but the underlying data structure is."

As an aside, you can write C with very little mutation going on, if that's what you want to do. I've not looked at the git source, so I have no idea the degree to which they do.

As I said, though, that's an aside - my main point here is that immutable data, and algorithms working with it, are valuable and there are situations where they are the best solution even where mutation is "allowed" and even where a mutation-heavy version might be preferred in a slightly different setting.

"There was a great post here a few weeks ago about the blind spot in functional programmers in building trees."

A cursory search isn't turning this up - it sounds interesting. Do you have the link?
Yes, thanks. I should have been clearer: the point is that Python 3 obeys the I/O encoding specified by the system locale (which on modern systems is utf-8), whereas Python 2 disobeys it and uses ascii by default instead.
Definitely look at http://www.phptherightway.com/
> In my opinion schools should stick to basic teaching,

Define basic teaching.

> a high percentage of french teenagers cant even write french at the end of highschool,

Reference?
The point is that in many countries, you can't agree to give others permission to do certain things. The court will simply throw out any clauses which would try to permit these things.

Even in the USA, you can't sell yourself into slavery for the rest of your life, as an example of a contract that might be invalid. Most other countries simply have more consumer rights which disallow even more forms of contract.
You're missing the point. Under the DMCA, the service provider doesn't get to make that judgment. If it receives a notice that complies with the bare requirements of the law, it must remove the allegedly infringing material, and the user may then challenge the notice as "obviously invalid."

Followup after actually reading the law. 17 USC 512(c)(3)(A)(iii) provides that a notice includes "Identification of the material that is claimed to be infringing or to be the subject of infringing activity..."

Popcorn Time is the subject of infringing activity, and hence this would be a valid takedown notice.
Not a lawyer and dont know much about US's law.
But i record there was an incident a long time ago about DVD Decrypter and Free Speech. The end was something that you can't hold the source code accountable.

I thought you cant distribute, or have a binary form of program to downloads for your users, but source code of it should be allowed.

Have I misunderstood the story or have things changed?
Cool, another social network I can ignore.
Sure, filesystems with snapshotting and deduplication capabilities let you use much simpler tools to implement backups. I don't think they're common in consumer-level storage devices, though.
Was the parent post edited? Right now it says "motivated primarily by profit," not "purely"
"Unicorn Alchemist" is what it says. If you knew him, you'd know that's he's not taking himself too seriously there.
Neat gizmo. But seems you have to be constantly worrying about the power module:

- Adjust the unit's placement so flames don't melt the power module
- Make sure it doesn't overheat
- Re-charge it when not in constant use

Also I can see myself burning my hands trying to wiggle USB plugs in.

Could've used more work in the product design department.
The world waits for no man – or woman: Liz Pearce, CEO at LiquidPlanner
This, and some of the comments sounds like something out of Ayn Rand's "Atlas Shrugged". Damn those that make profit and dont share it with those with less ability...
I fail to see how the French kids' ability to write would be hurt by their being introduced to programming. Maybe you think the solution to their not being able to write is to sacrifice all other subjects to focus on writing. Though I doubt the writing is that bad, if it's the case I'd probably axe history before programming.
Of course those companies will do the work, but the difference is in where the money comes from and on what research it's spent on.

Was is the government, or did it come from private profits ? How much money private companies are willing to invest, and where do they really direct their research ?

That's why the government's spending is a little more focused and objective because it won't be research that will increase profits of certain companies. You can be sure government research will benefit everyone.

If apple invests a lot of money to have a unscratchable screen, it's not really smart research. In the same idea, intel doesn't seem to really improve its processor designs like it was able to increase frequency for so many years. That's why darpa, the DOD and NASA do more relevant research, because they know what direction to give it.

The development of computers for example, started because the army was using it. Darpa released the internet protocols to the public. The DOD made the GPS possible.

Today technology is much more complex than what it was 100 years ago, so even if the research is executed by private companies, you can't really expect private capitals to search for discoveries that might not be exclusive to them. Even patents can't always generate revenues because it's easy for china or russia or other countries to find out what discoveries were made, and find it back and sell it. That's why it's important to consider how research funds are spent, on what, for what expectations.
Yup. Totally lost me. You at least have to convince me about why I should watch the video.
> A more generic name, which doesnt associate neccessarily with parties and drinking, would enable more people to take this app serious.

+1

Before I clicked the link and watched the video, my first thought was that it was something related to AA or sobriety in general. I can see how this may be a problem for traction and for people telling their friends about it. Until someone explains how it works a large number of people may think the name relates to addiction.
Take 90-seconds for this ANONYMOUS Tinder survey, guys
As of September, programming is a mandatory part of the curriculum in UK schools.
The email was so short, but it instantly changed all that we were about to do with our company in the following months.

Is YC sending emails instead of phone calls for acceptances now?
Continue making it unless your client signs a more expensive exclusivity contract with you.

And what do you mean by "ethical"? Do whatever is in your best interests within legal limits.
I kept waiting to find out what on earth being called "Sober" has to do with a Snapchat clone. Are your single serving friends supposed to help you in your quest to not drink any more?

And why does half of the displayed UI seem to refer to it as "Vibe"?
Yep. You’d think that in, say, Haskell, the division operator would return Maybe Num. It’s much more obvious when you’ve got Nothing than when you’ve got NaN.
And Ghostery is owned by an advertising company that tracks you by default.
Shared Inboxes
Finland will[1] something similar. Programming will be taught from the first grade upwards, but the few first grades will use teaching methods like Computer Science Unplugged[2].

1. http://koodi2016.fi/
2. http://csunplugged.org/
We've got one. My wife's used it on a weekend camping trip; I haven't had the opportunity so far, so this is her second-hand report ...

It works as described. However, you need to charge the power module before the first time you use it! The Biolite stove relies on fan assistance, so if there's no juice the stove won't work.

Once it's working, it works fine and charges the power module (via the built-in thermocouple).

The stove is designed to fold down and fit inside the optional kettle, so what superficially looks like a bulky kit is rather less so in practice. However, the stove+kettle combination weighs about 1.1Kg. There are lighter camp stoves out there (until you start adding in gas cylinders).

The optional grill doesn't seem to fold down/store concentrically with anything, so it adds bulk while costing rather more than rival cheap camping grils.
What the for loop actually expands to is much easier to read.

[<label>] for <pat> in <iterator expression> { ... }

let __iterator = &mut <iterator expression>;
<label> loop {
match __iterator.next() {
None => break,
Some(<pat>) => { ... }
}
}
No, I didn't edit that post.

Also, gress: I don't necessarily disagree with you. But there is a distinction.
They're teaching my daughter python here in the UK at age 10.

I got taught BASIC (BBC BASIC) and some ARM assembler [1] in 1992 at school in maths.

[1] ARM assembler because our maths teacher was moonlighting selling RISCOS software and was quite helpful.
Exactly. Teaching a markup language won't be really useful in terms of the benefits programming brings to people who learn it: it lacks the most interesting part of programming, logic. Making a computer display stuff is an achievement, but not an end. What is needed here is to teach students how to think like a computer, which is what most programmers are passionate about.

It would be a lot more interesting to teach math a bit more, and to extend those math classes with basic algorithmic, using a French algorithmic language.
The World Cup finals workout
Note that not all packages are created equal. The vast majority of base packages are a few kilobytes each. The space on a minimal system (e.g. Ubuntu core) is by far taken up by just a few packages: locales, charmaps, and tzdata. (You might also count the kernel, initramfs, etc. if you’re trying to create something like a Docker base-image.)

Speaking of Docker base-images, I really wish Emdebian Baked (http://www.emdebian.org/baked/index.html) was still an active project. There’s no reason “finalized” read-only cloud images should have apt installed at all—and therefore no need for any of apt’s dependencies (of which there are shockingly many), or any of the metadata each package comes with to appease apt.
You need to re-read the law:

17 USC 512(c)(3)(A)(iii) provides that a notice includes "Identification of the material that is claimed to be infringing or to be the subject of infringing activity..."

Popcorn Time is the subject of infringing activity, and hence this would have been a valid takedown notice.
I'm having fun imagining the Birdman-esque thought process that must have gone on in your head before writing that comment.

Must... find... something... to... complain... about!!
The lists of this curated list all contain the same links to the same lists.
re: hard-coding -Werror into the build process

Yes, -Werror is normally going to break things badly and cause far too much unnecessary work... for most projects. There are a handful of projects, on the other hand, that I would argue -Werror is absolutely necessary. Crypto libraries such as openssl/libressl/gnutls and tools like gnupg are at the top of that list. This list might also include key-handling utils such as {gpg,ssh}-agent and maybe pinentry.

Breaking on new GCC features is a good thing, because for these important packages you shouldn't ever be guessing about the programmer intention or assuming that some new warning is safe.

Several people brought up -Wunused. We already know about that warning, and so libressl should expect it and compile cleanly. Yes, this might be annoying at times, but cleaning up the code was the goal anyway. What about future versions of GCC? There are only a few possibilities:

0) The warning actually is about an important bug.

Obviously you don't want the build in this case.

1) Some new -W flag was added.

Broken build are important here. The GCC authors probably added that flag for a reason, and you can't guarantee[1] the warning is a false-positive.

2) No flags have changed, but some other component has caused
a warning where there wasn't one previously.

This means something else changed:

2a) A function prototype changed. (does it even compile properly?)
2b) Some defined type or macro changed. (could easily be a new bug)

Yes, in many cases, these are probably trivial. The point is that for some software, forcing someone to actually check is the goal. The problems with openssl that were recently exposed by heartbleed was that nobody was actually checking security-critical components, and simply assuming those checks were being done by somebody else.

With -Werror, the fact that it doesn't compile will force someone to either fix some bug or silence the warning by adding the necessary cast or #ifdef or whatever. Really, I have to wonder about anybody who advocates for allowing unchecked builds: why are you ok with the kind of unchecked code that lead to heartbleed and many other security problems? As DJB[2] and PHK[3] both warned: are you trying to prevent a high-security environment?

[1] Why can't we guarantee such things? Because answering that would req1uire solving the Halting Problem.

[2] https://news.ycombinator.com/item?id=8023812

[3] http://ftp.belnet.be/FOSDEM/2014/Janson/Sunday/NSA_operation...
amz is ip biased, as is google. apple is the only content provider i've found that works traveling abroad (minus vpns/tunnels) as they associate content to account based on cc billing address (though they have terms to indicate otherwise).
I agree with asronline, it's "pretty cool" to use other extensions nowadays.

eclass.io

But, let me think of a .com one:

proffed.com
holiversity.com

Ha, not good! :-)
Ask HN: Is there an example of a company legally promising not to "sell out"?
Because party affiliation is only one of the forces Obama deals with; tensions between the states, and tensions between the executive and legislative branches have both been more powerful than the Democratic party during his administration.
This is obviously a fake.
Yeah, they worded the question poorly.

I answered 13 since the current Dalai Lama is the 14th and the first wasn't reborn. Also, to get technical he wasn't reincarnated, but reborn, which is an actual distinction Buddhists make.
It really depends on what kind of software you're doing. Games, yeah. Social networks, yeah. But mobile devices suck for any kind of document creation, and will continue to do so for the foreseeable future. The iPad is okay if you have a Bluetooth keyboard, but if you're going to lug that around you might just as well have a Macbook Air.
Looks great! Especially I like the clean design.

I'm waiting for DevDocs.io support for Clojure thought because there's nothing better than all docs in one place.
I totally get your point, when your passionate about something, as a student you need someone really good to teach you. And thus the issue when non passionate teachers ends up teaching something because they have to and not because they like it.

In the end I believe the point of CS lectures at such a young age is not to actually teach people programming but more let them know that this field exist, how it basically works and light the spark for some students. I've seen a lot of people when I was in engineering school going 'Ho my god I wish I had knew about CS before, would have saved me a lot of time' ( And some going the other way ). Having these kind of revelation 10 years before can only be something positive .
I like a good story that appeals to emotions but unfortunately emergent self organization appears to dispel conspiracy:
http://www.ted.com/talks/james_b_glattfelder_who_controls_th...

Unfortunately, because I think modulation is easier with less moving parts.
The problem with arguments like this, is that it only takes into account costs for today's industrial infrastructure. If everyone thought like this, there would be less innovation. (No domestic solar panels, for one thing.)

That said, there are probably smaller carbon footprint items that will accomplish the same thing. Bulk D Cells, some D-cell holders and a USB charger would be what I'd use for extended emergency preparedness.
LAS VEGAS
What a great looking website!
If GitHub didn't allow Popcorn Time to contest the DMCA notice, that's a pretty big black mark against GitHub. It's reasonable that Popcorntime wouldn't want to get involved in a legal dispute, but a simple "no, we own this code and all copyright to it" should be sufficient.

That end users of popcorntime can use it to violate copyright (although it's not a circumvention tool per se) isn't Github or popcorntime's problem.
CRIAR CANAL DE TV
This article goes over much of what happens, but seems to have missed the point of things.

It talks about how the mango went to some backwoods provinces of China - probably not electrified, where a farmer would be considered well-off if they owned a single animal - and how some had superstitious thoughts about it. How is that any different than the uproar we see in the rural US about biology and Darwin being taught in schools, since it contradicts some bizarre superstitions they have out there? In 2009 one of these rural religious types shot dead Dr. George Tiller in Kansas, as Bill O'Reilly and others were on the radio and television talking about how Tiller was the tool of the Devil. 1960s China is played up as being all crazy in this article, in contrast to what I assume would be a sane, modern US. The reality is rural idiocy, class resentments and so forth exist in both places at both times.

I also think the point about the mangoes is missed. It would be like saying an American flag displayed in a political demonstration was worshipped, or some doves let free during a peace demonstration were worshipped, or the CND peace symbol displayed during an anti-war demonstration was worshipped. The mangoes represented an end to much of the strife of the Cultural Revolution, and were understood as such. Most of the militant students were sent off to live in the countryside for a year or two, to cool them down and get them acquainted with the realities of the country. The mangoes represented peace, an end of strife, most people in Beijing understood it in this way, and did see them as a positive symbol. This either escaped the writer, or they are writing the same kind of propaganda they're accusing the Chinese of writing.
I did not know that. Go UK :)

After a little digging here is an outline of the curriculum.

https://www.gov.uk/government/publications/national-curricul...