skysight-inc/HackerNews huggingface dataset:
I would love examples of writing about rust that didn't mention or assume any C/C++ knowledge before. So much of what I've run into assumes that knowledge.

I'd love to read tutorials or books that assume Rust is someone's first programming language, period. What would that look like?
Partial autonomy isn't disruptive, you may want to look up what that word means in the economic sense. It isn't going to turn the logistics of transportation on it's head, or put anybody out of work, or cripple the marketshare of big carmakers. It's just a feature.
interesting! thanks. Yes, most of the matches you linked are poor matches
so what you said earlier about starting to trim the start of it must have applied.

I don't have more questions :) Thanks again for sharing this project - the result is fantastic, really shockingly good :) - goes to show...algorithms ftw :)
> entire cloud platform (they're at maybe 10% of AWS) from scratch, in C

Impressive. Any link to this? I'd love to take a look.
Nobody who's in it for the money wants to be the first one to prove that SCTP can be deployed at scale. Application developers don't want to have to sort out getting a working SCTP implementation installed and configured on the proprietary operating systems they target, and past the firewalls of all the bottom of the barrel consumer routers.
Standard FUD aka Fake News. We are going to see a lot more of this in our newly recognized Post-Truth society. Follow the money, who are the main opponents of legalization? Distilleries, brewers, mobsters believing it will diminish their market share. Don't quote some rando. show an actual study, stats, and peer reviewed conclusions.
Agreed. Its bad that many non tech people still recommend it because they dont are able to understand why its a bad idea...
It makes perfect sense. This isn't what I've seen some people do, though.
as @clumsysmurf suggested, read "Tribe", watch "Last Patrol" [0] or "How PTSD Became A Problem Far Beyond The Battlefield".[1]

Junger's contentious theory: PTSD is partially a side-effect of not belonging. [2]

[0] https://warisboring.com/the-last-patrol-is-a-haunting-eulogy...

[1] http://www.vanityfair.com/news/2015/05/ptsd-war-home-sebasti...

[2] Junger views this through the lens of an anthropologist, lived war as a journalist until his friend Tim Heatherington was killed in
Misrata, Libya ~ http://www.vanityfair.com/magazine/2011/04/sebastian-junger-...
Ih god. Not only are you spamming reddit but also here.

(Sorry guys for the unfriendly comment but the same name on reddit is basically a spam my articles account)
HTTP is built on top of TCP.

Websockets are TCP connections.
Is there a practical way for us to declare independence from the guys who run national states?
For this specific example it's alright, but when Google starts responding to public pressure by tweaking the algorithm to get rid of specific results, it's not that big a step going from something like this to something more questionable.
My understanding is that sanitizers are generally not designed to be deployed in production software, they're written with catching problems in testing in mind (i.e. calling them an implementation of C seems dubious to me), and have problems resulting from that[0]. That said, I'd guess this is changing given how tempting it is to use these tools as a hardening mechanism.

Also, unless you're talking specifically about CompCert's interpreter, I don't think CompCert does what you think it does. The compiler is a verified implementation of the standard, but that, by definition, doesn't say anything about how it handles undefined behaviour.

[0]: http://seclists.org/oss-sec/2016/q1/363
It's clarified in the next line.
> "The point is, don’t split your game protocol across UDP and TCP."

There is always going to be data transmitted other than the game protocol. Most likely that is going to be limited and not at the same time as real time data is being transmitted.
Grandparent's point wasn't that the author may not be reading, but that HN is better when comments benefit everyone here.

This isn't a hard and fast rule; I've certainly done my share of 1:1 conversations on HN. But for typos my usual approach is to go look at the author's profile, maybe click through to his website. Sometimes I'll even `git clone` a repo just to harvest an email address ;)

Just my 2 cents. You can keep reporting typos here as well. I'm sure authors would rather get bug reports somehow than not at all. Certainly not the most egregious thing one will see here on any given day.
My wife and I just played pretending we were teleporters trying to get back home with a broken machine. We eventually got to JFK!
even for front-end? My recruiter stressed it would "not be as algorithm heavy" and would be focused on HTML/CSS as well.

But yes. I'm working my way through cracking the code interview with my own whiteboard at home :)
She is also spamming reddit badly and then answers with things like "this is not spam" "i am a girl btw". I blacklisted the site.
Paging 2nd Avenue between 30th and 59th. It's an absolute bike deathtrap, so the 1st Avenue protected lane should clearly be bidirectional.
Hrant!! maloch, front page :)
Controlling a Swarm of Robots with Brain and Eye Signals from an EEG Headset
Usually you copy a OTP from the phone to the application you're trying to use.
That article is about network failures and misconfigurations. It's looking at reliability on a vastly longer timescale than the domain of congestion control operating on traffic from interactive applications. Basically all of the problems described in that article would simply result in a game dropping the connection, whether it was using TCP or UDP.
How we broke into an old-school B2B industry in 9 months
Ask HN: Is 80K a fair salary for an entry level software engineer?
City is Chicago, IL
How does one combine something like teleport with policies and audit logging? I'm referring to the recent controversy around Uber employees playing with sensitive data.

Can you use Teleport (or anything else really) to enforce access policies and most importantly audit logging. Especially when combined with hardware tokens like u2f keys,etc
Can you explain how you use the vantage tree? What are you storing/searching for? What error metric are you using for matching?

I think you briefly talked about using heading change and distance for encoding your polyline. So if I understand correctly, something like:

[forwardDistance1, angleDelta1, forwardDistance2, angleDelta2, ...]

Then are you using it kinda like a kd-tree (filter everything within a threshold of forwardDistance1, then angleDelta1, then next dimension and so on)? But then how do you handle the initial scaling? What about cumulative error in heading or distance?

Congrats on the amazing work by the way!
I love it, and wish I could keep myself from making a lame Philip Glass emulator joke. Does this count?
Thanks for your answers! My recruiter told me the front-end engineering interview is a bit different and would also focus on HTML/CSS. I guess it's still going to be algorithm heavy hm?

But yes, focusing really heavily on algorithms. I still have a couple of weeks to work my way through "Cracking the Code interview". Practicing a few hours a day on my whiteboard! :)
There was a similar discussion in Hackernews earlier - https://news.ycombinator.com/item?id=7507377
Sure it is! Imagine if partial autonomy safety features get deployed world wide, cutting car accidents by half or more.

Hello car insurance disruption!!

Even simple simple stuff like the automatic braking safety features that are just getting deployed, have the potential to save hundreds of thousands of lives every year.

"seat belts" and "airbags" were also massively disruptive, and this new stuff has the potential to be even more so.
Neural Lace in 3... 2...
However, by that time, in the industry and academia, UNIX was starting to take hold, as was C.

And on the PC, while UNIX hadn't yet arrived, C was rising in popularity: If you look at what systems programs, major applications, and videogames (probably the 3 most poplar applications on the PC at that point) were written in, the two most popular languages, AFAICT, were Assembler and C.
We use Okta at work, and we can either put in a six-digit code, or we can prompt the webapp to push a request to our phone, and then click "accept" or "deny" (after unlocking the phone, of course.)

Okta at least shows which app is requesting permission.
Nano-hydroxyapatite and its applications in preventive, restorative and regenerative dentistry: a review of literature -- https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4252862/

> "The nano-hydroxyapatite is a revolutionary material with a wide use in dentistry. With regard to restorative and preventive fields, nano-hydroxyapatite has remarkable remineralizing effects on initial lesions of enamel, certainly higher than traditional fluorides used until now for this purpose."

Apagard Premio toothpaste 100g | the first nanohydroxyapatite remineralizing toothpaste -- https://www.amazon.com/Apagard-Premio-toothpaste-nanohydroxy...
There are some jobs where the job is purely titular, and for those jobs, I would say that the people who work them are respected simply on their title, or perhaps jealousy of their do-nothing workload.

The only real example that springs to mind is the job of casino riverboat captain.

At least in Mississippi (and maybe it's changed since I left the area) -- gambling is illegal, at least on land, but out of respect for tradition, riverboat gambling is not illegal... or at least that's the stated reason, scuttlebutt indicates that the reason might have been to limit gambling to only the wealthy who could afford riverboat cruises, and to prevent the working class from falling prey to their own vices.

The laws on riverboat gambling, as laws tend to do, slowly evolved. Nowadays, 'riverboat' gambling in Mississippi is done in massive casinos. They're actually very large buildings that look like this[1], but that technically float. The loopholes in the law that allowed for riverboat gambling have now morphed into 'river gambling', and that large, mall-sized building in the picture is technically a boat. It's effectively moored to land for practical reasons, but because the laws are the way they are, it has to be capable of casting off. Some casinos have a small, detachable section that isn't a part of the permanent mooring, others are detachable from their moorings, etc., but basically, you've got a casino that meets some technical definition of 'boat' upon which it is legal to gamble, whereas if it were incapable of being definable as a boat, it would be illegal to gamble in.

That's a long story, but here's the interesting part -- because it's technically a riverboat, by law, it must have a captain. The captain has few duties; he must be able to ensure that the boat is capable of passing a coast guard inspection, and on exceedingly rare occasions where the casino must aweigh, he will pilot the boat as it does so. The other 363 days of the year he does effectively nothing but sit in his pilot house and stay on payroll, for which he makes a pretty handsome sum.

I don't know what the industry average is, but a friend of mine (the only reason I know these details) actually got a job for one of the smaller casinos in Tunica Mississippi based on his experience as a dinner cruise captain. His was a 'junior captain' for years, and then got promoted to actual captain, for which he did nothing and made almost 6 figures a year, which is a damn lot of money in Mississippi. He passed the time by learning programming on the internet.

[1] - http://www.mississippi.com/portals/0/casino%20images/Harrah'...
Nice.

Would use it in my work right now if it could export a MIDI file.
Yes, because we all know that your ability to implement a red-black tree from memory has a direct correlation with your ability to implement some random business logic or CRUD app. Oh wait, they don't.
Or, like, any sort of evidence to back up your claims?
Two contrasting outcomes of automation are outlined in Manna, a 2003 essay by Marshall Brain. From the first half:

> Ultimately, you would expect that there would be riots across America. But the people could not riot. The terrorist scares at the beginning of the century had caused a number of important changes. Eventually, there were video security cameras and microphones covering and recording nearly every square inch of public space in America. There were taps on all phone conversations and Internet messages sniffing for terrorist clues. If anyone thought about starting a protest rally or a riot, or discussed any form of civil disobedience with anyone else, he was branded a terrorist and preemptively put in jail. Combine that with robotic security forces, and riots are impossible. The only solution for most people, as they became unemployed, was government handouts. Terrafoam housing was what the government handed out.

And from the second:

> Inventors would work on their inventions, using materials and equipment provided by the robots. Scholars would do their scholarly research, finally free to study whatever they like, using the infinite intellectual resources available on the network. Scientists would start pursuing their scientific goals using research facilities provided by the robots. [...]
There are people who are experts in their various fields -- engine design, scrap booking, fusion reactors, needlepoint -- and they would love to pass their knowledge on to other people. They would write books, make videos or have live lectures and workshops for people to attend. People interested in the martial arts would practice them every day. People interested in video games would play them every day. People interested in gardening would garden every day. The majority of people have a talent and, if they had the time, they would cultivate that talent and use it.

The contrasting principles that drive the two societies are clear, and the second quote I chose doesn't convey how advanced their society has become by enabling every human to follow and develop their particular interests. Both visions are on the extreme ends of a spectrum, and while the most likely outcome in reality is closer to the middle, I'd like to try to push it up towards the utopian end.

In any case, the things Watson is doing are far more complicated than what Manna started out doing, which was replacing management in a fast food restaurant.

http://marshallbrain.com/manna1.htm

Edit: Here is a recent report from the White House on AI, too:
https://www.whitehouse.gov/blog/2016/10/12/administrations-r...
"I'm pretty sick of these stories being what get headlines and pages of coverage about military members. ... No hit on the authors, they all seem to be genuinely wanting to help/tell a compelling story - but I think it comes with some kind of fetish for war that they are trying to get in touch with."

There is truth to what you say. The biggest issue I see, isn't the story so much trauma, trauma and war are hand maidens in history, it's how main-stream western society is shielded from the military. There is no common experience. Period. That's the bigger story.

The author is C. J. Chivers, USMC (Capt. Retd.), so yeah, ^the fetish for war^ is strong. So strong, he had to quit for the sake of those around him. [0]

[0] http://www.esquire.com/news-politics/a37838/end-of-war-1015/
There are tons of examples of machine creativity. The highest profile one from the past year is probably AlphaGo's famous move 37.
That particular one was meant to be tongue-in-cheek, i.e. it's the least likely scenario in that if elites were to attain the status described in GP they would not care for responsible, 'fair' stewardship of non-elites as I had illustrated.

However in response to your comment, feudal systems still relied more or less on peasant-powered agriculture, taxes etc for the ruling class to exist. The theorised society in discussion here is one where a very small percentage of humanity can extract all resources required for existence via automated tools - without the need for 'peasant-class' manual or intellectual labour. In this society the vastly larger portion of our species is more or less irrelevant, and thus subject to the whims of the few (as opposed to now, where economies and industries still need peasant-class input to function).
The power output (watts) is a function of (volts * amps) so if you have a 48v battery, you can output ~15 amps and get 750 watts. The amperage output is controlled by software, and these mid-drives are programmable. When you buy the kit, you can have it programmed for 750 watts or 1600 watts for off-road use only.

FWIW, on the bottom is a sticker that says "750W".
I really don't think the 8-12 week code camp means you are a truly competent developer. Sure you can hack around on x or y js framework of the month. But data structures, algos, big O...all of that comes into play at some point as a software engineer. You don't use it every day, or even every week. But it does happen.

And tbh, you can really tell the quality of candidate of code camp vs 4 year degree. We hired a code camp candidate, just to see how it played out. It didn't work that well.
3 seconds is 2900ms too long, a game would typically rather lose the packet rather than have it delay all transmission for that long. World of Warcraft is a relatively simple game that as far as I know is heavily client authoritative so the server is mostly just serving content and telling other clients the result of your actions. In a game like Call of Duty, while they have some form of lag compensation, if you had all the players in your game freeze for 3 seconds while you shoot them the server will disregard your actions as impossible as the players weren't actually there. It would have been better for you to see the players slightly out of sync or have them teleport a short distance by just losing that one update and continuing to get the rest on time.
Doesn't this just mean that the process surrounding the machines was chosen unwisely???
Its a shitty post that does not even really take into account the current state of AI

Actually it does, if briefly:

"Put simply, AI can instantly identify all the troublesome gene sequences of a beagle’s genome to determine the likelihood of certain diseases but has struggled to identify a beagle in a picture."

But the author was making a broader point about how the "promise" or "eventuality" of AGI obviates most work. You can certainly disagree, which many do, but I personally am betting it's right.
That would be a disaster.

Without active queue management, a single bulk upload can break DNS. When the bottleneck link (usually your cable/DSL modem) is saturated by the bulk upload, it will start dropping new packets that come in while the queue is full.

When a single packet worth of space frees up, the chances are that the bulk flow will instantly take it, such that nearly all outbound DNS packets get dropped, and DNS queries time out.

The solution is active queue management (CODEL is a good choice) at every bottleneck.
This is really succinct, I like your explanation.
This looks like a cross between OkHTTP and a jobqueue (like https://github.com/WhisperSystems/jobmanager or https://github.com/yigit/android-priority-jobqueue).

But I think this is the first cross platform framework that does this.
You would have to eliminate all carbs to achieve ketosis, not just cut on sugar which was the topic of this thread. It should be noted that, since an animal-based diet has a very large ecological footprint, if a significant part of the world population switched to it, we would have an unprecedented global environmental crisis, unless alternative forms of animal diet (e.g. insects) become mainstream.
with built-in exfiltration of footsteps via some 21st-century-grade signal analysis, to boot!
AI for self-driving cars? I keep thinking that occasionally in driving we encounter:

(1) A situation where we need to stop the car and converse in our natural language, that is, for just our half of the conversation, do speech recognition and natural language understanding. So, the AI approach would be to get the list of the 100,000 most common conversations, tune some speech recognition to those, f'get about the actual language understanding, and, instead, for each of the 100,000 cases implement the most common resulting action or response in the data? Sorry -- in that case I'd rather not be in that car!

(2) A situation where the driver needs actually to have real human understanding of a situation that, really, has never occurred before and, thus, is not in any AI training set. E.g., the vehicle ahead is a pickup truck and has some liquid dripping out of the truck bed out back. Somehow the liquid doesn't look like water. Taking a whiff, it smells like gasoline. Hmm. That stuff could catch fire, move to ignite the stuff in the bed of the truck, and maybe something could go "Boom". So, what the heck to do? Sure, slow down, get back, well back of the truck, change lanes and move ahead of the truck, pull off the right side of the road and stop, etc. IIRC, so far such general deductive reasoning is beyond AI. IMHO, such reasoning requires real AI, or whatever we are calling that now, and we don't know how to program computers to do that now.

IMHO, first cut, for self-driving cars, the best chance would be to do some extensive re-engineering of the roads.

Here is a general point: We don't yet understand how general human intelligence works and, thus, don't know how to program it. So, we are having trouble evaluating the automation we now have and, thus, are vulnerable to overestimating how far to real AI the current work really is.

Besides, AI hype, if this is a case, and overestimating how much progress there is to real AI is a very old story: As I've heard, way back in the days of vacuum tube computers, IBM was pushing publicity about their "giant electronic human brains". Looks like IBM is still doing this.
عذاب های وحشتناک غیبت. این کلیپ را ببینید دیگر غیبت کسی را نمی کنید
Sure, but what does this have to do with trade unions?
So id could be used to avoid proxy capturing your requests?
Sorry haha posted it in a hurry. Those were meant as equivalent examples of modern kill gaps. You see kill gaps increase historically everytime a group gets a more advanced technology, i.e. chariot, phalanx, rifleman, airplane.

The problem is...back to O.P.'s comment...we're getting to the point where a battle can be won with 'wizards in a tower' the technology is so advanced soldiers wont even be needed. drone/hellfire missile, a tomahawk missile...drone swarms, remote tanks, etc. This seems pretty much unbeatable to an armed force who has to put actual human beings on the field.
Thought of the day: what does the fact that this is being downvoted but the parent is not say about our culture?
Unfortunately, you make great points. Most workers will not be needed and without real push back corporations and economic elites will not want to support them.

A little off topic, but the book "The Sovereign Individual" changed my outlook on the world when I read it almost 20 years ago.
I've never seen its syntax not look bad enough that I immediately abandoned all hope of using it ever.
Not sure how pandoc is related to the OP
Isn't the first problem to solve determining whether there is a real need/market?
Their public cloud is http://qcloud.com/, I don't think everything they've written on the backend is public however.
Manufacturers with No Employees Are on the Rise, and Thriving