skysight-inc/HackerNews huggingface dataset:
Why would we? Asking motor vehicle drivers to "share the road" with bicycle riders is asinine, destined to fail, and uniquely American.

And I say this having grown up my entire life without a car, biking everywhere. I'd take tickets for riding on the sidewalk, and I'll do it every single day I ride. Sharing a road with 2500lb vehicles that go 2-5x my speed is unsafe and all the talking and lane marking in the world will never undo that fact. Nevermind how utterly anti-social and rude you must be to bike in a lane 20mph under the speed limit.

I spend as much time as possible in the Netherlands since they seem to be about the only sane country when it comes to mixed-mode transportation and not trying to murder people while doing so.
C, C++ or Rust
Looking at this thread
https://news.ycombinator.com/item?id=10706314

from 2 years ago, I'm interested to see if people's opinions around this have changed at all.

Most of the suggestions seem to be C or C++ with a majority being C, does that still hold up in 2018?

-------------------------------------------------------

To follow up an early question

I'm looking for something to deep dive on and try and learn it from the ground up.

This is primarily for me to build more performance conscious applications and tools for my work, they are unlikely to be worked on by other staff in the near future but who knows in a few years time.

This will be primarily Linux and Windows focused work but will eventually want to branch into the embedded space.
This seems like a branding vs product issue.

Kingsumo is the brand and the products are 1) a SaaS, 2) a wordpress plugin.

From their FAQ (https://kingsumo.com/faq)

> I use the WordPress version. Why isn’t my login working for the web app?

> If you already have the WordPress plugin, you’ll need to register again. This new web app version is different than the WordPress plugin version. We’ll continue to support both, but since they’re two separate products you can register for each.
So in the const example, bar[0] is mutable? If not, I don't get your point.
I love bikes and bikers, but think that the kind of freedom some of us exhibit is dangerous. We should abide more by the rules for bikes, as we expected the car drivers to abide by their own rules.

If when we bike we break the rules, we might generate dangerous situations for pedestrians, for ourselves and for cars. It took me while to realize this.

On the other side, if the rules are inappropriate, then yes, we have to bargain for new rules. But the article did not added anything about this. God thanks I do not need to register my bike and get a plate!

But we might need to develop a test to get a e-bike license :)
Yes, this. The problem isn’t ebikes or bikes, it’s dangerous riding.
The two different string types are the result of the borrow checker. Rust's string handling would be unusable without the difference between &str and String.
Yeah, that's right--it was a special issue of the journal, where they invited many people to write review articles on intelligence.
I grew up watching this series and treasure it dearly! To me it is the product of TV in its heyday. Based on a solid foundation, not explicit or overly dramatic to lure viewers, intelligent and family friendly (thanks to the source material) and lovingly produced.

I cannot count how many times I've seen it, and I look forward to share it with any future family I may have
Houses never (read: rarely - exceptional cases exist) appreciate. Period. Full stop.

The land itself does.
So, looking at Wikipedia and comparing with his circuit PDF and what he said, it sounds like there wasn't thought given to current stability. Apparently these bulbs are very sensitive to too much current, so it sounds as if he was literally breaking the bulbs to get it to work.

I wonder then if there might have been some way to control for this properly?
That's really interesting! Go gravitated towards request-processing services in part because that was the largest audience in the immediate environment, which in turn gelled Go's future.

We can imagine Go with the same engineers but at Microsoft or Apple or Mozilla, and its evolution would have been different because its first clients would have been different. The times make the man, and the language!
The morphological difference between dog breeds are clearly much larger than human races. I suspect the genetic is larger as well, but I have no data to support/deny that claim.

Also, what we think of as race typically has a lot to do with cutural & socio-economic traits. Race isn't a clearly defined concept and might mean slightly different things to different people.
Don't know why parent was downvoted...

If one can't make the connection between Turing completeness/automata theory and Neuro-cognititive function...think more.
What consent means in the age of MeToo
C is incredibly mature. C++ is very complex and hairy but is also very mature, and it's quite possible to write clear and elegant code in it if you exercise a little discipline about what features to use (and not to use).

Rust is really interesting and promising but it's newer. It has less platform support. The compilers probably aren't as good. There's not as much tooling.

Oh you wanted advice...

(1) How adventurous are you?

(2) How many platforms do you want to port this to? Do you want to port it to old, embedded, or closed platforms?

(3) How many people will you need to hire to work on it?

Ask questions like that and you'll get your answer.

I have yet to learn Rust but I'm following it closely. I'm a pretty heavy C++ programmer and it's the only language I've seen in many years that might be a contender to replace it.
The path to stabilizing explicit simd intrinsics for rust should make many of those kinds of errors easier to catch with rusts casting requirements.
The quote is actually a great way to phrase in simple terms an important property of quantum mechanics. It is called "unitarity" or equivalently "time evolution is described by a unitary linear operator". Obviously, the technical terms would have meant nothing to the general reader, so they were simplified, but they are most definitely not (to quote you) "brain-farts".

PS It is more general than a classical state machine.

PPS https://en.wikipedia.org/wiki/Unitarity_(physics)
No because I almost never use exceptions myself (unless consuming them). The only time I would really use it is if for some reason the constructor could fail, but usually in those cases there are better ways of designing the class. Otherwise it's error codes/reasons.

Honestly I'm not sure where to draw the line specifically, but I obviously err more on the side of "don't use them". Exceptions in C++ are costly and imo control flow gets all wonky with them...I find it's easier to reason about a program if the error handling is there with the rest of the logic instead of being a list of things that can happen at some point in the above code block.
I was indeed.
Scientists gain new visibility into quantum information transfer
Well anyone for whom daylight hours after work is vitally important is either dead or they have made that kind of choice.

As for the rest of us, for whom sunlight after work is a nice-to-have, Generally speaking, we are employees of companies who set their work hours based on who-knows-what and not based on my desire for entertainment. If I like watching daytime tv, they don't say "and you can have a two hour lunch break".

The people who set clock time are subject to my vote. The pepole who set working hours are not.

It would definitely better if employees had more power than they do now but I think the solution of daylight savings is adequate and I wouldn't want to waste my bargaining power on something when we already have a solution that works well.
> Why and in what particular ways do you consider Peter Jackson's renditions of the The Lord of the Rings and The Hobbit to be so awful, awful?

A question to you: when did I say anything about The Lord of the Rings?
You're dealing with an administration that similarly believes guns kill people, not that the people that use the guns to kill people are responsible.
I think we're in agreement; I'm in no way belittling their efforts, quite the opposite. My point is just that it's not the UI itself that's complex in these scenarios, it's the entire package. Attributing the complexity to the UI is the same as a user who blames the front-end when a system goes down, while in reality that is the interaction area and there's a mountain beneath that.
Hospitals Gamble on Health Startups
There is cargo-deb [0] which is, IMHO, a far superior way to distribute Rust software. I've been hoping for something similar for Mac/PC distribution (.pkg and .msi...stuff like homebrew is not a substitute for proper packages). I've been tempted to work on it myself, but haven't found the time. It's not particularly hard to do if you're only scripting the various platform-specific commands, but making something that will output artifacts for all platforms is much harder.

[0] https://github.com/mmstick/cargo-deb
I think the Peter Jackson of LOTR and the Peter Jackson from the hobbit must be two different directors.

LOTR is a pretty good adaptation, a little bit too action oriented for my tastes but it is his adaption.

The hobbit just feels stretched and with too many gimmicky scenes, IMHO of course.

The strange part is that in some ways I like the hobbit better as a book.
Meet the Campaign Connecting Affluent Techies with Progressive Candidates
Let's say there is an airport somewhere flat and with no trees, so let's assume LOS (Line of Sight) conditions. We want to provide a courtesy bus system, 24 hours a day, to drive around at speeds no more than 10mph. Shuffle people around terminals, to rental car lots, to designated ridesharing collection areas, etc.

Couldn't the buses be piloted remotely?
> why should they care about real names?

Exactly. What is it about technologists that makes them feel so entitled to everyone's personal information?

She wants to know the "real names and verified email addresses" of everyone who uses her video editor, but I wonder how she would feel about giving the same information to manufacturers of stationary or household supplies she uses or to every restaurant she visits.
The marginal cost of software is not always zero. You may have cloud cost, support erc.
I appreciate the reply!

1) Adventurous as I need to be, happy to take a deep dive into a language and try and understand corner and edge cases where necessary

2) Most likely would be running on Linux+windows but unlikely to be embedded

3) I'm mostly interested from the context of learning tools to make my work more performance conscious and just as a general learning exercise.
"We don't ban cars. Yet most drivers break laws daily..." Your explanation is in your own statement. The cars aren't breaking the laws. The drivers are. They are penalized for breaking laws, and if they continue or break a law serious enough, they will be banned from driving.
I’m sorry but I just can’t line up my daily observations of some bikers’ and ebikers’ dangerous behavior in NYC vs that of drivers (who admittedly I have also seen drive dangerously) and the data often cited showing that drivers break just as many laws.

Call this some fallacy of observation or confirmation bias or whatever, but I see bikers biking the wrong way weaving between traffic on NYC streets, running red lights (generally when there are no cars, but hey, it’s still running a red light), and doing other dangerous-for-pedestrian things literally every time I go outside. A few months ago I was clipped by a biker going the wrong way through a red light as I was in the crosswalk. Almost a year ago a friend was hit full speed by a biker in the East Village and lost two teeth.

Of course a car hitting a pedestrian will be worse for the pedestrian than a bike in the same situation. But many bikers are dangerous too, at least in NYC, and when I walk the streets I’m more afraid of a biker coming out of nowhere than I am of a car doing the same.

I have a hard time understanding the knee-jerk reaction to marginialize how dangerous bikers can be when an article calls out this behavior. There’s always some counter argument about how dangerous cars are. They are both dangerous, now can we just admit this and start asking cities to police dangerous biking too?
As long as an alternative is regularly killing people, it seems like a decent test to me.
> For the good jobs, you're competing against other good people. Good luck playing coy.

Everyone does not need the best job. They all just need good enough jobs that continually must improve because demand outstrips supply. See Basecamp for an example; I'm confident developers reading that post began to think about their compensation after reading that.

"Basecamp doesn’t employ anyone in San Francisco, but now we pay everyone as though all did"

https://m.signalvnoise.com/basecamp-doesnt-employ-anyone-in-...
When I was in the US I was watching it via the AppleTV app, which serviceable but not great. The content is unbeatable though.
since optional is a thing now and the standards committee isn't afraid of verbosity maybe we can get std::value_or_error ;)
I just happened to have a bottle of San Pellegrino and a Radalert 100 radiation monitor.

Background radiation is about 15 cpm on average, and right next to the bottle was in the same range.

Doesn't appear that there is any danger.
> Asking motor vehicle drivers to "share the road" with bicycle riders is asinine, destined to fail, and uniquely American.

It isn't uniquely American. There's no need to make over the top claims. It undermines your points.
My interpretation is that pg is using these terms as two things that the public thinks are very different (a la The Two Cultures, https://en.wikipedia.org/wiki/The_Two_Cultures) but deep down are quite similar, two faces of a coin, if you will. This is because both are makers. The reason he uses a painter as opposed to a writer, etc. is that he has studied painting.

"When I finished grad school in computer science I went
to art school to study painting. A lot of people seemed surprised that someone interested in computers would also be interested in painting. They seemed to think that hacking and painting were very different kinds of work—that hacking was cold, precise, and methodical, and that painting was the frenzied expression of some primal urge."

There are many jobs, some that pay quite well, that don't make things, I think your two examples fall into this general category.
I think that "having github will help you" is the same kind of advice as "prefer to provide resume in pdf over doc".

There are people who believe in it, it seems reasonable, but in reality nobody cares. Just another cargo cult.
I’m wondering how many commenters here actually live in NYC. Delivery bikes are a menace. A 20-something guy in my building recently started hopping around on crutches. Athletic guy. Got hit by a food delivery bike and fractured his leg. I have a near miss at least once a week. They’re like darts that pop out of nowhere even on sidewalks, at full speed, sometimes swerving at the last second. Zero respect for any traffic laws. It’s especiaily dangerous if you have a dog as I do, esp when crossing a street, bc a bike can slice into the leash in the space between you and your dog, since the bikes pop out of nowhere so fast. I’m exceedingly cautious at night now in scanning around me at crosswalks.
For the sake of completeness, another way to say the same thing is: The laws of nature are the same if we reverse the direction of time.

Until you start talking about entropy and chaos and statistics (which is a fascinating can of worms), the laws that you use to predict the next state of a system are the same that you would use to calculate the previous state of a system.

To restate it in another way once again: The function mapping "state of the universe at time t" to "state of the universe at time t+dt" is a one-to-one map, hence two possible pasts could not have created the same present.
Happy Friday
Just Visit our Website http://www.dedevelopers.com/ and Get Amazing Discount 20% Off in this Special Week.
PHP7, Laravel, and MySQL.
How can you write efficient programs without references? And why are references so painful for you anyway?
Google used AI to sort millions of historical Life photos
People use guns to kill people. Sure. This would be a valid argument if the US didn't have a gun culture as well as guns.
How about his claims that the enlightenment screwed everything up and we were better off with a religious approach? Contradicts all evidence. Post-enlightenment reasoning and culture advanced civilization dramatically.
If you don't need performance, just use Java where everything works fine and is easy to understand.
This is called "hyper stereo", and is often used when the subject is very large[1].

To take a 3D photo, say, of a mountain, one needs to space the shots several meters apart if one wants to get a noticeable stereo effect.

[1] https://en.wikipedia.org/wiki/Stereo_photography_techniques#...
While I am aware of the amount of money I “waste” (whatever that means) I feel this article doesn’t actually tell us what these two started with.

If I only paid my mortgage and utilities, no longer had a dog walker, and spent only $30 a week on food (I know this must be possible, I was a student once :) ) I could save for 10 years and I’m still fairly sure I wouldn’t have save nearly enough to retire
I know this will anger bikers, but: as a pedestrian in New York, I'm way more afraid of bikes than I am of cars. Cars are dangerous if they hit you, yes, but (a) you can basically always hear (and see) them coming, and (b) they very rarely drive against the traffic or run red lights.

Bikes, on the other hand, frequently zoom down one-way streets against the flow of traffic, rarely make any audible sound (whether ringing a bell or shouting) so you can hear them coming, and treat traffic lights as suggestions.

I can't count the number of times I've almost gotten hit (as a pedestrian)by a biker when I'm crossing a street with the walk signal, because a biker decided that he could barrel down a one-way street, against the traffic, and didn't even need to bother to slow down for pedestrians walking with the walk signal.

Yes, not all bikers are like that. But there are enough of them that they pose an actual problem for NYC pedestrians.
Adevărul despre Vlad Ţepeş
Free 2017 ebook with overview of cybernetics: https://www.google.com/amp/newbooksnetwork.com/liss-c-werner...

Many resources: http://pangaro.com/definition-cybernetics.html
Damn, I just learned about linear programming in a class and about MCMCs in another; this is why I love reading HN: there's so much more CS to learn!
That's unreasonable. Lots of people advocate for bad ideas. But George Hudson was never in any politically powerful position. It took others to introduce daylight savings.

Notwithstanding, I am pleased we have daylight savings. It makes me happy and seems like an appropriate and proportionate response to the variation in length of the day.
Proposed Law Could Mean No More Free Porn in Rhode Island
Follow up point, Having decided that for now I can trust Apple to respect my privacy I've managed to pretty much un-Google myself. I don't use any of their apps, switched to FireFox and DuckDuckGo on desktops and wiped and donated my Chromebooks. It was actually easier than I expected.
Every bank, insurance, airline, and electric utility in the world older than 25 years old has a mountain of critical, working, and legacy software running COBOL and FORTRAN.

With the generation of programmers who wrote the code retiring it’s even more entrenched because even though they rely on that code dearly, few if any people remember why it does what it does how it does it.
Ask HN: What is your CI/CD workflow for your chatbot projects?
> Why would we? Asking motor vehicle drivers to "share the road" with bicycle riders is asinine, destined to fail, and uniquely American.

Don't worry it's not uniquely American:

http://www.abc.net.au/news/2017-10-28/wa-to-introduce-minimu...

But is it asinine and destined to fail? I'm not sure.

I think that it IS possible to share the roads but only under low-traffic and low-speed conditions.

The worst offenders are cyclists on busy dual-carriageways during peak hour and it is horrendously dangerous, with two lanes of traffic forced to snake around a single cyclist.

On side streets however I don't think it's a big deal at all.
I don't actually know the terminology, either; I was just making a really bad pun. ;p
Certainly more complicated, but we do know the answer. It's Turing-complete.

http://rendell-attic.org/gol/tm.htm
If delivery using cyclists is unsafe and they should slow down, it seems like the city has to go after the businesses that provide the incentive to speed.

Maybe enforce a minimum elapsed time and price for a delivery? If they get there sooner, they have to wait for the next job.
No. I’m not watching 10 videos to learn cross browser css.
For those wondering about applicability of SE to other languages, see here for a compendium of tools: https://github.com/ksluckow/awesome-symbolic-execution
Kodak's Crypto Coin Might Not Be a Security  or It Might Be
I’m wondering how many commenters here actually live in NYC. Delivery bikes are a menace

It’s not dissimilar in London. Cycle couriers are known as psycho couriers for a reason.
Course on designing Voice UX
A summary of Musk's factory improvement ambitions can be read here[1]. But I really recommend spending some time viewing Musk in long video formats if you want to get a good idea of what he is thinking and his general philosophy. The video of the shareholders meeting that the article is discussing can be found on youtube (part I [2] and part II [3]) and has a good summary of Tesla from the people involved.

[1] https://www.teslarati.com/musk-aims-tesla-factory-100-times-...
[2] https://www.youtube.com/watch?v=4cZhsp_oRSg
[3] https://www.youtube.com/watch?v=6WyaO29XDf8

Edit:Where Musk talks about the factory of the future.
[4] https://youtu.be/6WyaO29XDf8?t=4928
Being a C++ dev, I think you're on-point about the reason people still choose C++ but my suspicion is that it part truth, part group-think and it won't really hold out.

I could be totally wrong, but have you had to optimize a tight loop in C/C++? It sucks and a lot of stuff is missing : simd, likely/unlikely branches, the compiler has a lot of trouble knowing when lines of code are independent and can be done in parallel (b/c const =/= immutable), in-lining can't be forced when you know it gives better performance (if you use GCC extensions you can alleviate a lot of this..but that's tying you to a compiler). Yeah C++ is generally faster than Go, but there is a lot of performance typically left on the table. The language kinda start to work against you when you start to dig down. So you slap some shit together and the compiler will do a decent job, but most C++ devs aren't even looking at the compiler output

But the elephant in the room is that more and more of our available flops are on the GPU and C++ isn't helping you there at all. Not only that, but the GPU is giving you way more operations per Watt (and that's what a lot of those people care about). And finally, when you throw stuff onto the GPU you are also leaving the CPU available to do other things. So there are a lot of "wins" there. As you illustrate, the areas of C++'s relevance is shrinking, and shrinking into the area that is very GPU friendly.

So the way I see it, C++ folks will start to write more OpenCL kernels for the performance critical pieces and the rest won't matter (Go or Clojure or whatever). The GLSL is kinda lame and too C99ish... so maybe someone will write a better lang that compiles to SPIR-V, and it's not exactly write-once-run-everywhere, but it could be much better than writing optimized C++ and it can run everywhere. It's more of the cross-platform-assembly C/C++ wants to be
To add to the other comments: syncthing is another project that I use all the time, and it is written in Go.