skysight-inc/HackerNews huggingface dataset:
Change for something that occurred in less than .01% of the devices? It is incredible the kind of irrationality that is brought about by fear. It's the same reason that, here in Australia, there is talk of culling sharks after a single person is attacked.
You could, but the latency issues (network hops) would make the solution untenable. Function as a Service platforms are ideal for solutions where scalability is a huge concern, latency not so much. These functions are all running inside of containers that have been optimized to be "warmed up" extremely quickly, but that warm-up takes time, and the more robust the solution, the longer the warm-up.

You'd probably want architecture extremely specialized to a game loop, and probably your game loop specifically, if you wanted low-latency, high-availability FaaS for this purpose.
He's not sure why they bought Beats? Is there any proof that this deal didn't work out for them? They clearly integrated some of the IP into iTunes Music and it seems like the products are still selling like hotcakes.

I'm scratching my head.
It's probably best to learn both. I usually switch back and forth. Just spend a week or so forcing yourself to use only vim and you'll never forget it.
The reason Gustedt calls it Modern C has to do with how he organizes the contents, especially the last level: Ambition.

"This book is organized in levels. The starting level, encounter, will introduce you to the very
basics of programming with C. By the end of it, even if you don’t have much experience in programming, you
should be able to understand the structure of simple programs and start writing your own.

The acquaintance level details most principal concepts and features such as control structures, data types,
operators and functions. It should give you a deeper understanding of the things that are going on when you run
your programs. This knowledge should be sufficient for an introductory course in algorithms and other work at
that level, with the notable caveat that pointers aren’t fully introduced yet at this level.

The cognition level goes to the heart of the C language. It fully explains pointers, familiarizes you with
C’s memory model, and allows you to understand most of C’s library interface. Completing this level should
enable you to write C code professionally, it therefore begins with an essential discussion about the writing and
organization of C programs. I personally would expect anybody who graduated from an engineering school with
a major related to computer science or programming in C to master this level. Don’t be satisfied with less.
The experience level then goes into detail in specific topics, such as performance, reentrancy, atomicity,
threads and type generic programming. These are probably best discovered as you go, that is when you encounter
them in the real world. Nevertheless, as a whole they are necessary to round off the picture and to provide you
with full expertise in C. Anybody with some years of professional programming in C or who heads a software
project that uses C as its main programming language should master this level.

Last but not least comes ambition. It discusses my personal ideas for a future development of C. C as it
is today has some rough edges and particularities that only have historical justification. I propose possible paths
to improve on the lack of general constants, to simplify the memory model, and more generally to improve the
modularity of the language. This level is clearly much more specialized than the others, most C programmers can
probably live without it, but the curious ones among you could perhaps take up some of the ideas."
Less than .01% of the phones caught fire. The recall is crazy.
What Programming Language Should I Learn First?
That some corporations can abuse IP is obvious, but that doesn't remotely imply that the concept of IP itself is either dysfunctional or immoral.

Nowhere does rms claim this implication, so this is just a strawman. He doesn't even oppose "IP" as a whole (except for the term itself), just those restrictions which conflict with the Four Freedoms.

He's very shortsighted in fact, his views are 19th century if anything, and they're not even very intellectually founded, or well expressed.

Says the person who fails to make a single argument to justify their position.
20 brands in the same 1-2 state US trip. Say, driving from LA to Vegas. Places like KFC, Arby's, Burger King, Wendy's, Taco Bell, Subway, McDonalds, Dunkin Donuts, Carl's Jr, Dairy Queen, Chick fil-A, Del Taco, Jack in the Box, El Pollo Loco, Panda Express, Red Lobster, Chipotle, Chili's, IHOP, Hooters, Olive Garden, etc. Most of these are just going by roadside signs. There are loads more that you generally get within cities (Five Guys, etc).
Right -- you won't find a 'brick wall button' in the default Blender, because that isn't a simple idea, and there's variations of brick walls one could make. You can probably accomplish a brick wall by stretching out a cube, putting an array modifier on it with some kind of offset (maybe duplicate it and then offset that). There's probably some Python-Addons that will do this too.

But honestly, if you're looking for software that ship with presets, get something like Bryce3d.
You are correct on both accounts, but I still think it's an overall safety benefit in the case of a recall. Portable dongle batteries have the same potential problems, so it's shifting the danger from one location to another.

My statement, though, is not entirely to address just safety, but also planned obsolescence, and consumer convenience. I've always carried a spare battery since even my HTC WinMo "smartphone" days. Same with my PowerBook.
How many cells in a laptop? I would assume 3 at the low end, but it can go much higher and many people have multiple laptops, cellphones etc. So, 20 per person on an aircraft is probably a solid round number.

How many people in an aircraft say ~200. How many aircraft in the air say ~5,000. Now that 10 million is down to 2-3 per however often those 1 in 10 million chance is supposed to stand for.
PCI did for discovery, and could use it for device access (but often also memory-mapped). More info from the osdev wiki, which btw is a great place if you want to know about low-level initialization, the boot process etc.

http://wiki.osdev.org/PCI
Have a look at Netlify, https://www.netlify.com, (disclaimer I'm a cofounder).

You can get all of this in 30 seconds on our free plan + instant cache invalidation, deploy previews (we'll give you a unique preview url for every pull request), atomic deploys and no issues with deleting files :)
Hackers attack San Francisco’s transit system, resulting in free rides
Historically, probably because

$ ls -lh `which emacs`
-r-xr-xr-x 1 root wheel 220M Oct 19 02:10 /usr/bin/emacs
$ ls -lh `which vim`
-rwxr-xr-x 1 root wheel 1.7M Oct 19 02:38 /usr/bin/vim

Disk space isn't as much of an issue anymore, but still, it's 100x the size.
Eh? C11 isn't modern?
I still hear the old joke sometimes:

Emacs user: You should never turn off emacs.

Vim user: because it takes too long to load emacs.

The irony being the points behind both sides of this joke pretty much have no meaning with the current state of technology.
Open Hardware miniPCIe WWAN modem USB breakout board released
I often wonder what Chinese food was like before South American ingredients showed up: chilli, tomato, corn, potato, etc. Probably quite different indeed. The scale of indoor cultivation, the mere handful of modern commercial cultivars and the supermarket emphasis on bulging red perfect-skin appearance makes me wonder if tomatoes aren't one of the fruits worst affected by monoculture farming. I've cut in to some tomatoes and found them dry, almost juiceless, and semi-green despite a healthy looking red exterior. I suppose there is some sort of growth hormone being used. I suspect lots of them are hydroponically grown, which means although they may have a fantastic appearance I fear they are likely lacking in trace elements and subjectively overall taste.
Open Hardware Multi-Voltage USB UART Board Released
Ten years anniversary of Openmoko
"Rosetta", not "Rosette"
Blasphemy! You should only use vim.

(/s kind of... I just love vim too much)
The GPL contains an optionally removable but there by default "or any later version" clause. This doesn't appear to remove that clause, and so the GPLv3 contains a "If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term." clause, so it can just be deleted?
That's cloaking, and doing much of it will get you severe penalties.
Very good points.
Liability is an issue that has not been played out yet in any meaningful way.

I think driving cars will happen soon simple because the ROI is too great to ignore.

It doesn't have to happen on a grand scale. It could start with small things like pizza delivery or package delivery.
If the Note 7 hadn't been recalled then eventually many more would have probably caught fire. We'll never know what the cumulative failure rate would have been if the devices had been left in the field for years. Eventually people would have been killed.
Also see (Scala) http://factorie.cs.umass.edu/
If you want to learn how to read X86, don't choose this AT&T style syntax as it's a monstrosity.
The Red Cross is more concerned about you not dying from blood loss.
Unofficial Reading List to Learn About World's Greatest Leaders
That's how I ended up learning vi. In 1993, my 386 didn't have enough disk space for emacs, so I had to learn vi (which is lucky because I probably wouldn't have done it otherwise).
I used to feel similarly, but vim inside emacs is pretty sweet. The emacs package "evil" gives almost perfect vim emulation. Suddenly the entire emacs ecosystem is available to anyone who knows vim. And the ecosystem is massive.
It's still very much this. The footprints of many entire server distros are less than 220MB.
You're reading a lot into Kaye's comment. I'd imagine he would have made the same remark about pretty much any incoming conservative administration. And maybe even some liberal administrations, since weakening consumer protection laws can certainly cut across party lines when the money lines up.
https://projects.csail.mit.edu/church/wiki/Church can be used in the browser via https://probmods.org/play-space.html
I just DuckDuckWent "richard stallman predictions", and found this: https://news.ycombinator.com/item?id=3418340 It enumerates a number of predictions Richard Stallman made, that turned out to be true.

Do not dismiss him too quickly.

By the way, the concept of IP is obviously dysfunctional: ideas and expressions are non rival goods. They are not moved, borrowed, nor stolen; they are only copied from substrate to substrate (be it a mind, a piece of paper, or a computer). Property rules simply don't work there.

What does work is monopoly rules, such as copyright, patents, and trademarks. The use of "property" to describe such limited state granted monopolies is an obvious piece of newspeak, an Orwellian ploy to make those laws look better than they are, and frame the discussion: if you're against monopoly, you're a normal person. If you're against property, you must be a thief of sorts.
Good point, I will change that.
Thanks for the heads up, I just added it to my list of subs. There are some really great pics on there.
I think it's unlikely that scamming will be the biggest opportunity in the long run, given how unsustainable it is. Mutually beneficial uses will predominate over time because that's the only way to get repeat users.
Does quoting a person relevant to the article who has an opinion spin the story? I'd think that's the journalist doing their job: reporting what those related to the topic said.

There can be bias in the choice of story, or the choice of quotes, but sometimes the story is that there are opinions that disagree, which seems relevant in this case.

There have been a lot of concerns with changes that Trump might make. He himself has been very clear that he's going to make changes. In particular, Trump has been vocal about reducing regulations, and as I understand it, the CPSC is a regulatory agency. Seems pretty straight up to me.
Replace aircraft with car and continue this conversation.
You could define what an array accepts vs returns separately (input vs output). Admittedly, you're pretty much into generics (good ones, not what Java has) at that point.

Edit: Could use a better word for "good" that sounds less dismissive, but I couldn't think of one. Java's generics are lacking in certain areas, unfortunately.
There you go https://groups.google.com/forum/#!search/$20emacs$20and$20ot...
Replique Montre Franck Muller Casablanca Chronographe 10th 8880CCC La Revue
Never was the cultural differences between the windows and OSX platforms more striking than when looking at the PowerPro page http://powerpro.cresadu.com/xfeatures.htm and the HammerSpoon page http://www.hammerspoon.org/
I'm pretty sure that if you report an actual bug and submit a pull request, it'll be merged in no time, as the "Closed" list suggests. You can hardly call that unmaintained.

I went through the pull requests and checked 5 or so that were open for a long time, all of them were glaringly missing something.

Some do not pass tests, some have obvious styling issues, some people haven't signed the contributor agreement, some offer big changes with very little reasoning behind it.

I also prefer projects that are more explicit about the reason something is rejected and answer RTFM-type issues, but this is not a requirement to be a successful project.
Are there any plans to allow people to utilize an API to create and manage accounts or forwards? If not, this would be awesome feature given how you bill.
> having type erasure is among the best features of Java

Until you try to use something like a List<int> without wasting incredible amounts of memory. This is even worse in a VM with custom value types (like the CLR), which also have to deal with boxing.

> For example F# doesn't support higher-kinded types because the CLR doesn't support higher-kinded types and introducing support for HKT would mean for the F# compiler to basically do type erasure by itself, which would place it at a serious disadvantage versus the host language in terms of performance.

So the solution is to push the performance disadvantage into the VM so all languages are equally screwed?
And she nailed it, as usual.
Not really. I'm an Emacs partisan, but my Emacs takes at least 3 seconds to load (often 4 or even a little more), while vim is instant.

It is faster than Google Docs or MS Office, but the lag is noticeable.
Ask HN: How to structure a corporation for newborn child?
I have a newborn son. I also have several side projects, some of them with prospects of generating some cash. I would like this money to help my son in the future (college fund, small stipend, etc). I would also like to limit his liability in case things go south, and of course to minimize our tax burden. What would be the best way to structure a corporation to meet these goals?

Currently I'm planning to create an LLC on his name, with his parents (my wife and myself) as administrators. Is this something other HN readers have done, or considered in the past?
The promotions tab is the only reason I even look at marketing email. Otherwise, I'd just ignore it completely. Every once in a while I skim through it and clear it out.
> he's absolutely correct in all of his principles

I don't think principles are matters of fact. A set of principles may be consistent with each other, and/or you may agree with them, but that is not to say that one who holds them is correct.
You're likely not going to be able to make any very large modifications to a big project by doing this though.
Honest question: How relevant is this repository as of today? Is it still considered the gold standard to try new algorithms?
Try it. http://ideone.com/hJa0yf
I think they are referring to the fact that you will get a type error at runtime, instead of silently corrupting data or other undefined behavior.
The potato has a similar early history in Europe, which is funny seeing that it's such a staple and cliche by now:

>The Burgundians invented the French appellation pomme de terre–but they also banned it on the grounds that it caused leprosy. While intendant of Limoges in 1761, the enlightened physiocrat Turgot tried to dispel the popular belief that the purple flower of the potato was a version of deadly nightshade by eating it in public and making peasants sit next to him to observe that he was not poisoned. The French were not, of course, alone in their prejudices. In 1770 famine-afflicted Neapolitans refused to touch a boatload of potatoes sent as a gift; burghers of Kolberg in Prussia told Frederick the Great, ‘the things have neither smell nor taste, not even the dogs will eat them, so what are they to us?’; and Russian peasants distrusted the potato because it was not mentioned in the Bible, believed that it caused cholera and rioted when attempts were made to force them to grow it.

From Blanning's The Pursuit of Glory, 399.1 in my ebook
IIRC, it was the case that for commercial Unixen, the Single Unix Specification v.2 stated that amongst other things, the vi editor always had to be available.

So, vi gets dragged in as part of your vendor's commitment to "standards compliance". Also, for SUS purposes, vi means SysV vi, not vim. A far less domesticated creature.

In a base install of Solaris, Irix, HP-UX or Tru64, it'd be the only editor you get. Vim, emacs, nano, joe etc. would all be in a seperate "freeware tools" or somesuch sideloaded optional install set.
It would have saved Samsung billions of dollars if they could have just replaced the batteries and not had to buy back 2.5M phones.
The Terraform Book
that sounds like you are trying too hard to not see what he's trying to say.
IIRC IBM got an exception from the author to use it for evil.
Why don't you just make the company in your own name and give it to him when he's an adult? Just to cheat on tax?
thats a good point, also interesting that people get territorial over digital space.
The existence of arrays at all is a trade off. The language would be more type safe and more consistent with OO best practices without arrays and using dynamic random access lists instead. But that would be too slow for some applications.
Heh, I'll just extrapolate from my visits to Seattle. I will try to visit next year -- during one of the sunny months.

Actually, I think a lot of the problems facing Europe with renewables are the same in the U.S. Abundant solar and wind available in the south, and no efficient way of transferring the electric power north.
Tim Ferris show is usually a gold mine. #193 - life extension, #106 Scott Adams/Dilbert

Malcolm Gladwell's Revisionist History- Hallelujah episode is great, exploration into different types of innovation/genius

Reply all - #50 The Cathedral, father makes a video game about the death of his son. Very difficult episode to listen specially if you have children.

I keep thinking about starting something like Goodreads just for podcasts...
I had a noisy headphone port on a slightly older XPS 15. There was a simple `echo 1 > ???` fix, but I have no recollection of the specifics. I could probably look for it if someone else has the problem and needs it, though there's no guarantee that the new XPS 13 would be fixed the same way.
I feel the same about lowest common denominator, and even though facebook and google documentation can be on the far end of the austere spectrum, they are still putting out incredible libs for free.

For your comment about performance, immutable structure being comparable by reference can provide huge gains in read and re-use heavy environments, thanks to memoization-like techniques.
I tested my codebase with currently favors 'ccache gcc-6 -flto' over 'ccache clang-3.9 -flto' with zapcc.
It's a pure C project.

* Build-time went from 58s to 37s with zapcc. I didn't use zapcc with ccache and shouldn't.

* Run-time went from 371s down to 204s. Almost double speed!

So it's clearly an effect of clang-4 over gcc-6, and not so much zapcc.

Then I crosschecked with clang-4. The run-time is entirely based on clang-4, confirmed.
But the build-time with clang-4 was 44s, still 20% slower than with zapcc.

What I learned:

* ccache is horrible. zapcc is much better.

* clang-4 is fantastic, even if their lto is still too broken to be usable, regarding visibility and inlining.

I found great bugs with new clang-4 warnings.

I had no time yet to use it on C++, where the real advantages come up. On pure C there are just side-effects.
That's not a "maybe" any more by now. Corporation are meant to maximise profits, at the expense of everything else, except braking the law —and even that is debatable. Some jurisdictions even have laws to enforce that mindset.

As soon as profit maximization is at odds with the user's interests (that's pretty much all the time), the corporation will naturally act against the user's interests.

From this, I'm pretty sure "law" is a relatively accurate descriptor.
Your basic description sounds like LambdaMOO (written in 1990, the name is a coincidence).

The LambdaMOO server has a main event loop which handles user events, then schedules tasks which execute functions ('verbs' in LambdaMOO parlance) to modify the game state. Verbs are not pure per se but can be thought of as a transaction which executes in an atomic, consistent, and isolated manner. Verbs are attached to objects in the game, and can be modified in-game on the fly by players with their programmer bit set. (Programmers can only modify verbs on objects they own.)

The LambdaMOO language is a lot like JavaScript with a Luaesque syntax. It has prototypical inheritance, which meshes well with its concept of objects as physical things. For example, to get a new instance of a duck one would create a Generic Duck named "My Duck" ('Generic' being the conventional prefix for an object specifically intended to be used as a prototype.)

There was a time in the late 1990s when it regularly supported 300 active users at once (with a certan amount of lag); on modern hardware it could probably handle significantly more than that.
If you want a modern scalable system then LambdaMOO itself is probably not for you; the server is single-threaded (in fact the whole thing is remarkably similar to NodeJS with async/await support) and state is saved in-memory and checkpointed periodically (hence the Durability missing from the above description of verbs).

However, the basic design (prototypal inheritance, in-database verbs, ACI[D] tasks, etc) is extremely well proven, and would lend itself well to being copied into a modern distributed system like AWS Lambda. As long as you had an ACID datastore to back it up, you could scale the task execution as far as you wanted, and with a bit of clever work you could probably come up with a partitioning scheme to make the database scale as well.

In fact, I've partially implemented this already; what's stopped me has primarily been that I'm more interested in the technical aspects and have no idea what I would actually use it for once I built it. If you have a use case for this sort of thing I'd love to hear about it.
Ask HN: Ok Google. Where Are Your APIs?
Surprisingly Google has not exposed APIs to let programmers go wild with their new Google Home speaker. They have built a number of feature as shown here https://madeby.google.com/home/features/#?filters=entertainment,answers,manage,plan,home,fun and a number of IFTTT recipes at https://ifttt.com/google_assistant?utm_source=en-ha-na-gdn . On the other hand Alexa has a full set of APIs and related ecosystem to support it, of course using AWS services, see here https://developer.amazon.com/alexa . Even the investment community is highlighting the gap with Fool.com making the case at http://www.fool.com/investing/general/2016/05/20/3-simple-reasons-google-home-wont-beat-amazons-ech.aspx . This is Google - they know better - why the hold up?
Also, the rad dose-rate on Mars is utterly harmless.