skysight-inc/HackerNews huggingface dataset:
Google is also developing a new OS, Fuchsia, with a new micro-kernel (Magenta). It uses Dart/Flutter/Meterial Design for apps development.
This bothers me about Rust.
There's too much "unsafe" code in libraries.

I like how with Rust you use one or two unsafe blocks and everyone loses their mind. But in C/C++ you spatter your code with undefined behavior and nobody bats an eye. I get Rust is _safe_ so violating this contract is in a way self defeating. But even with a handful of unsafe blocks you are miles ahead of other guarantees C/C++ give you. Lastly unlike C/C++ Rust makes you call out I'm doing dangerous stuff here!

The language is unable to express some essential concepts.

Not really. The same code the parent poster highlighted [1] is undefined behavior in C/C++ (with standard types). So really no language has the ability to express those concepts. Your doing pointer casts and possibly unaligned dereferences at the same time. This has zero consistency between CPU vendors.

[1] https://docs.rs/crate/seahash/2.0.0/source/src/buffer.rs

Known areas of trouble include partial initialization of an array, needed to implement growable collections

You mean Vector? C Doesn't have grow-able array's. They have re-alloc but Rust's Vector does that.

https://doc.rust-lang.org/std/vec/struct.Vec.html

and single ownership doubly linked lists.

They already did, and it is in the standard library.

https://doc.rust-lang.org/std/collections/struct.LinkedList....

If Rust let you access a slice of bytes as an slice of ints, alignment and length permitting,
the code above could be much more straightforward.

I mean C/C++ do, but without stdint.h you do this at your own peril. Even then you'll likely use Unions which are undefined behavior.

What would happen on a 32-bit machine if someone allocated a buffer bigger than 2GB? Exploitable?

You can state this about C/C++ also.
Their stock configuration doesn't even have root available unless you enable it in the hidden developer settings menu. Even then it works like SuperSU and such, non-root by default and popups to prompt for root access when an app requests it.
So you don't agree that 6-bedroom mansions, expensive sports cars, and having a high-paying job are luxuries?
They might be interested in this:

https://en.m.wikipedia.org/wiki/United_States_Cyber_Command
As amazing as space technologies are, we are in the stone ages when it comes to spaceflight:

> Earth moves around the sun faster than Voyager 2 is traveling from Earth, the distance between Earth and the spacecraft actually decreases at certain times of the year.

We don't even have the technology to escape the sun's gravity without needing a gravitational slingshot from other planets, and that still leaves us with a space craft moving slower than the earth.
Don't know about this being a Dark Pattern, though

I don't know, either. Frankly, of late I'm content to write it off as either apathy, incompetence, or left-hand-doesn't-know-what-the-right-is-doing.

In the end, I don't care other than intellectual curiosity so that I don't slide into the same cesspool in my work. What matters, in a world of nearly infinite online vendors, is Amazon's reputation. Without that, they're nothing in my book. And in my book, Amazon's reputation isn't anything near what it was ten years ago. Nothing major, I guess, but that reputation is being chipped away one hammer stroke at a time. Knock-off items, okay, I can mitigate that. Blatantly lied about when my item will be delivered? Bah, I grew up in an age of "allow 4-6 weeks for delivery", one more day won't kill me. But those things start to add up. Which is why I continue to seek out other vendors, and don't see myself doing much business with them in the next couple of years.
NASA's ISS-RapidScat Earth Science Mission Ends
Because it's stuff the will teach eventually and don't want to force students to learn a different syntax a few weeks in. I'm not sure if students can handle the syntax switch or not though.

For me and probably many others having it go unexplained was like dangling carrot in front of me. I went home and read more about it.
Chat bot development using Node.js
What the world’s top investors read every morning
Except that government is universal, whereas a river cooperative would only affect the parties directly involved. Thus you could scale things up without getting to government-scale.
Hey HN!

I'm one of the co-founders of Magic Instruments, back in April we launched with what the public called "real Guitar Hero". However, we got a ton of feedback from our customers asking if this would eventually teach them how to play the normal guitar.

At first we were puzzled, since we could do things like this for people who have either never played the guitar or have tried & quit: https://www.youtube.com/watch?v=c2zggHFOH8g

We never thought that this could be a way to teach you traditional guitar chord fingerings since there are a ton of products out there that already do that: Fretlight, gTar, Jamstik, and Rocksmith to name a few.

However, once we realized that we could leverage both one touch chords aka Magic Mode with traditional chords and learn chord by chord, we had essentially created a step function to learn the traditional guitar, while still keep the student engaged by being able to play an entire song that is recognizable on the first go.

Fender just put out a very timely article on their biggest hurdle to keep people from abandoning the traditional guitar is to get them to play their first song. We think we've come up with a novel solution that reducing the cognitive load of playing your first song.

I know there are a ton of music experts on HN and would love to hear your constructive feedback and comments!
The fact that the no-fly list can be manipulated without visibility is exactly why it's so useful to authoritarian regimes like China's communist party and the US security-state.
There's no way to solve that problem without just forbidding unsafe code entirely.

That's not at all clear. It's worth looking at unsafe code and asking "why was this necessary"? What couldn't you do within the language? As patterns reoccur, it may become clear what new safe primitives are needed.
No, those results are beyond abysmal. CTR for my campaigns rarely dip below 2% with optimized advertisements and audiences.
I've actually had good experience with selling hugely discounted shoes through Facebook ads. But then our target market was older women who legitimately enjoyed sharing their love of our $9 shoes with their Facebook friends.
Seems like a lot of conflation going on there!
Because kernel developers can only work with what they're given. If the hardware isn't supplied by the company or some grant, or if it's IP encumbered, then you have a situation where it's unlikely to be supported natively by the kernel.

At that point, it becomes a short-term or long-term benefit assessment. Long-term, it's better to work to get it accepted upstream, but that's more work in that you have to make sure your patch is acceptable and conforms to how the kernel devs want it, and they can verify the support works, instead of just working as you've set up in-house. With the rush to market, and with the specific configuration of chips possibly not being used in the next item released, short-term patches likely look really attractive.
Tell that to Carl Icahn. Management that puts public good over return on investment is likely to be replaced. The interest of shareholders are generally construed as maximizing return.
Re-read the comment you replied to, cyber security is trending in the opposite direction of Cyber (or SSH). That would seem to invalidate your thesis; Cyber security is gaining popularity relative to other topics.

Edit: there's also an interesting spike in Google trends for "cyber" every November. National Cyber Security Awareness Month is in October.
Why make a distinction between things that are dangerous on accident (defective) vs things that are dangerous by design?

Because many dangerous things have significant utility. Fire is useful for warming your home and cooking food but can also injure or even kill. Water is essential life but you could suffer from hypothermia or drown. These are things that should be obvious to all adults and most children. If you need to have it spelled out to you then your opinions on the economics of safety are not worth very much.

Every law or regulation needs to balance the risk to society against the benefit to society. This is a toy.

It's not a toy just because you say it is, nor are all toys required to be equally safe or not admit any possibility of injury. Really, it's sad that you think such an assertion constitutes a valid argument.

Maybe you think it's 'just a toy' because you can't conceive of any use for it other than mere amusement. That's your problem, not mine.
And if you liked it you might love Scott Alexanders short The Study of Anglophysics[1] and his web serial Unsong[2]

[1] http://slatestarcodex.com/2014/04/03/the-study-of-anglophysi...
[2] https://www.unsongbook.com
Nitpicky but.... we'd still want to use gravitational slingshots even if we had more deltaVs to burn.
> China has had similar systems for decades. The dang’an record books on employee behavior ...

Under the Communists China also has had (and maybe still does?) city block-level surveillance by neighbors of residential behavior.

> The US has something like this ...

The false equivalency comes up too much. I wrote some code in a couple hours the other day that is "something like" the Linux kernel, in that they are both code, both read from the network and output to the monitor, and both have bugs which will never be fixed. But if I want to communicate to others an accurate comparison of the two code bases, mentioning those similarities is misleading.
Quora: Why haven't we found civilizations older than 8,000 years?
Carl Icahn's position, of course, matters if Icahn is a major shareholder of the firm in question; less so otherwise.
> We're probably going to see "unsafe" code that assumes good behavior on the part of the caller.

I have yet to see any of this.

I have noticed that it's harder to write correct unsafe code when it comes to parallelism and FFI, but parallelism has always been a hard problem and the FFI problems generally come from the fact that you need to know the invariants being upheld on the other end, which is trickier.

But for this kind of unsafe code -- designing (non-parallel) abstractions -- upholding invariants is pretty straightforward.
Hackers say the Canadian government doesn't want their help
Embarrassingly few. Justin and I have a background in team-building, and didn't have any connections in the tabletop space. We also didn't know what questions to ask, even if we knew who to ask them to. Everyone we have talked to since has been very nice. GenCon especially was a huge eye-opener for us.

As for why we Kickstarted, the answer is pretty much the same. We had no reputation in the industry and wouldn't know who to talk to. However, it works out for us. We like being our own bosses. We'll stick with Kickstarter in the future, especially now that we know more about the pitfalls.

Sorry about the delay. I have a new account and am getting comment-throttled. I'll get to everything as I can.
I get alerted that monthlyboxer.com is hosting malware via trendmicro.

Should get that checked.
Knuth: Computer as Mastermind (1977) [pdf]
20 Python libraries you aren't using but should
The photos appear to have been taken in January of 2005

From the photographer: "I passed by an old Apple Store today. I used to pass by this store back when I was still in highschool. I used to admire the macs they had on display and always beg my parents to buy me one.. which they never did. Surprisingly the store hasn't changed much. It was freaky checking out the place from the outside. It's as if the shop was stuck in its own time-zone. The shop seems to have been closed ages ago. A thick layer of dust sits on top of everything. What struck me the most though were the "Think Different" banners. They're gorgeous and seeing them in the store window gathering dust and being unappreciated pissed me off. The place felt like a graveyard. In a way it was, the rainbow logo, the beige machines, the old Think Different banners, the Garamond typeface, etc. That's the Apple that existed when I first started using Macs, and its all gone now. On a brighter note, I read that an Official Apple Store will be opening in March here in Kuwait. That should prove to be interesting. More pictures [here]"

Source: http://www.miskan.com/2005_01_01_archive.html

From a commenter: "I used to work at this shop in 1995 or so. The shop didn't look any different when I used to work there. It's right across the road from the Meridien hotel, with lots of expensive designer shops in the ground floor and such."
I am not. I'm @JohnTeasdale_ <- yes, I was that late to twitter.
Paying devs was critical up front. For infrastructure, paying the IT costs mattered until after 2003 July when AOL laid everyone off except a few of us, who spun out as Mozilla Foundation by September.

It's really a trade-off curve, between the benefits vs. costs of everything, from the top paid talent such as Dave Hyatt (and others), vs. the middle tier, vs. the counterproductive cohort. Netscape/AOL hiring improved by hiring proven performers from the Mozilla community, to add to the complexity.

My view now (I'm running a startup) is that leaner is better. But it's hard to account for all the costs and benefits. Too many hindsight what-ifs and post-hoc conclusions that could not have been assumed or even hedged at the time.

I doubt something like Mozilla Firefox from the ashes of Netscape will be repeated in this way. Mozilla remains _sui generis_.

For all the drag of Netscape and the consequent costs to the Mozilla project 1998-2003, we -- meaning Firefox the browser -- made it.

I won't linger on the problems, but I will observe that "indie" open source funding seems to yield better core-team governance than Mozilla's centralizing tendencies have produced by now.

These centralizing tendencies go back to pre-git/hg CVS days and so to the inevitable tool/culture co-evolutionary process. I'm in large part to blame for not addressing them while I was involved, so I am not pointing fingers, or else I'm blaming myself first.

But I must say that in certain crucial respects, Mozilla is the new Netscape.
My original comment wasn't about BIA specifically. Frankly, I have absolutely no idea if it's a good system or not.

It was about the dogmatic preaching of people that "privatization" is inherently evil.

In terms of Gates and Zuckerberg, I obviously can't offer you concrete proof. But I can ask you to seriously reconsider about the motives you ascribe to people. That investing in third world schools would be their best investment option (ignoring altruistic intentions) defies belief. Especially when they both have directly donated hundreds of millions of dollars to schools.

I am fairly confident that Gates and Zuckerberg are in this to lose money. They both have more money than they could ever do and have signed pledges to donate the majority of their fortunes before their death.

What seems more likely?

A. Billionaire philanthropists (who have donated millions to education already) invest in a small chain of private schools in order to fool millions of poor children and to enrich themselves.

B. Billionaire philanthropists are interested in improving education around the world and have donated millions of dollars to that cause, including to some for-profit ventures.
Show HN: Generate memes in pure Golang
Hi! Could you please make an iPhone case with arduboy in it? Like this but playable

https://www.amazon.com/dp/B00OMB5C6A/
No, the FED is not going away. Unfortunately it's human nature to do anything it can to create a financial panic. We like to buy when all are buying and sell when all are selling. When everyone is selling and no one wants to buy prices tend to collapse at a faster rate. The only way to stop it is to have a buyer of last resort, that's one of the most important functions of the FED. If the FED goes away we'll see some very nasty crashes. Congress knows that and won't let any one administration change its role.

One of the reasons people want to get rid of the FED is that they encourage markets to act recklessly because the FED is there to save the day when the panics start. But the problem is that there will always be panics and finding a buyer of last resort every time makes for a very unstable market and it limits its growth since the general risk is perceive as higher.

Thrump wants lots of changes but going back to the gold standard or getting rid of the FED will not happen during his administration.
If You Love Bananas Stop What You Are Doing and Read These 10 Shocking Facts
Indeed! And this is what we should have done. However, for producing in the US, the difference in PPU between 5k and 20k units was substantial. We got greedy and thought we'd continue to burn through the units.
C enables - in my opinion - better abstractions than languages which constrain you to the use of their suite of abstractions. I'd include C++ in that, and especially template-heavy C++.
I love c.
I think that's actually an accurate characterization of the legal system. I highly recommend this book if you're interested: https://www.amazon.com/Adversarial-Legalism-American-Way-Law...
While Amsterdam, which already is below sea-level, will not.
Donald Trump Claims Millions Voted Illegally
In what ways is the ESP garbage?
Hey HN! Just a fun weekend project I made awhile back and thought someone might enjoy. Feel free to ask questions, provide code criticisms, or suggest a new feature or improvement.
> Intel is abandoning their compiler infrastructure and moving everything to Clang/LLVM

Source?
A class per 10-12 weeks is a reasonable pace with a full time job. I did a lot of my course work prior to enrolling in graduate school this way. There were a lot of late nights powered by chocolate chip ice cream and the light of my monitor, followed by not-very-productive days at work. Being enrolled helped - in my case through an extension program. Sometimes you need other people to explain things, and sometimes you need to have something to lose - just to keep you going.
The original Apple II DOS Manual. Life was so simple back then
The Nexus is sold at 400€ on day 1 of being available.

But we’re not exactly talking about a new phone here – we’re talking about phones released almost a year ago.

A fair comparison would be the cost of Nexus phones one year after being introduced.

Which is between 200€ and 250€ – as I can attest, as I just bought a Nexus 5X for that.
Um, what about Voyager 6? I'm worried...
I am sorry, but there's nothing difficult about it. Tedious, yes. Difficult? No.
Well, the point is that I can buy today a 2015 Nexus 5X new for 250€. But not a iPhone 6, or iPhone SE new for 250€. Not even an iPhone 5S.
Why is it better to add safe primitives directly to the compiler rather than implementing them in libraries?
> As patterns reoccur, it may become clear what new safe primitives are needed.

In these cases you have a choice between inventing a safe language primitive or inventing a safe library primitive. This exists in most cases for seemingly-safe operations, like the byteorder crate in this case.

If it were a language primitive it would be just as trustworthy as the corresponding verified library primitive.
I stand corrected and significantly less confused, thanks.
Do women make as much as men when selling a diamond ring?
Problem is we don't really know where to go next. Jeff Bezos' Blue Origin tried to cook up alternate space travel methods for years and still couldn't come up with anything better than the same basic rocket model that put Gagarin into space.

Most theorized "warp drives" either require more energy than humanity is capable of producing or necessitate breaking a law of physics or two just to move anything organic or larger than a postage stamp.

Then again, the answer could be right under our noses. There's a Sci-fi story - I forget the name - where space travel is actually quite simple if you know the math to make it happen, and when a peaceful alien race visits Earth, the humans - with their thousands of years of armed conflict - kill the aliens and take their spaceships.

Makes me wonder that if we treat the rest of the universe the way we have treated our planet, do we truly deserve the right to roam the stars?
The first game I made, I used AdMagic. A US based company that prints in China. They were a pleasure to work with, and have a lot of experience with Kickstarter companies, but questions went from me -> them -> factory -> them -> me. The loop took at least 24 hours. Since we were in the Christmas Crunch, this was a consideration.

Also, after we sent the check, I found out AdMagic also has US centers. I've been kicking myself for a year over this one.
Senators Not Impressed by DOJ's Answers on Rule 41 Changes
This has gotten out of hand, principally because of this commenter insulting folks out of hand.

Its reasonable to observe social norms, comment on risk vs reward, and suggest different views. Others should not be subject to ridicule and hostile comments for this.

I suggest you take your toy and go home.
A lot of countries still don't have official Apple stores. Authorized Retailers (which are still a thing) make up for it.
Coverage of China's Credit and Scoring System is described by those covering it, like CNN (http://www.cnn.com/2015/10/27/opinions/china-social-credit-s...), as:

"In that sense, perhaps the most shocking element of the story is not the Chinese government’s agenda, but how similar it is to the path technology is taking elsewhere."

This is because, for example, surveillance of social media posts have been an input to credit scores in countries like the United States for some time. (https://www.thenation.com/article/how-companies-turn-your-fa...)

In the United States, further, social media post and social relationship information is used across America to calculate real time police "threat scores", predictive crime measurements that are applied to prioritize law enforcement and surveillance efforts. https://www.washingtonpost.com/local/public-safety/the-new-w...

China unfortunately is not unique in this landscape of social gamification - the kind espoused by the Bush and Obama Administrations - perhaps most perfectly represented by the legal justifications and arguments by Washington insiders in the intellectual orbit of Cass Sunstein.
PatronScan[1], no, no.
https://www.patronscan.com/id-scanner-for-bars/
Buying stuff on your phone still sucks
Would be really cool to stick some velocity numbers on there as well, I find it hard to relate to such huge distances. 62 thousand kilometres per hour feels larger because I can kind of comprehend it.

Though really cool anyway, I was going to say that Voyager 1 managed short of 30 light seconds a year until I realised the question is one of acceleration and deceleration not velocity. If I wasn't on my way to bed I would dig around for some data to make acceleration graphs for them (hint hint :P ).
Not sure about Chris's licensing of MKL, but Continuum has a redistributable license of MKL packaged into their numpy builds for Anaconda - https://www.continuum.io/blog/developer-blog/anaconda-25-rel...