skysight-inc/HackerNews huggingface dataset:
>While this can be the fastest route, the GPS’s algorithm does not concern itself with factors important to truckers carrying a heavy load, such as the 43’s 1,300-foot elevation drop over four miles with two sharp turns.

I know this is somewhat off topic but the lack of advanced options for GPS routing is such a PITA. It would be trivial to add check-boxes for things like:

"I'm towing a trailer, don't make me take dumb lefts across multiple lanes, avoid clustterfawks and don't make me take unnecessary turns"

"Yes I'm wealthy enough to afford an iphone, that doesn't mean I want you to send me through a $5 bridge toll"

"I'm taking a road-trip, send me on a route that uses ten fewer roads even if it takes twenty more minutes, I don't want to have to look for a turn every 10min"

I know tons of options aren't good for the UI but just hiding all that stuff behind an "advanced preferences" menu or something would be nice.

Just a simple tie in to a weather API that increases the cost of route features that are a PITA in snow would be nice (no I don't want to stop on a downhill to take a >90deg left across 40mph traffic in snow thank you very much).
Do you feel the same way about age range based prizes or golf handicaps?
That would have been a good thought, but when started, we decided to go with the classic approach! Thankfully, this additional friction hasn't had any significant impact to conversions! Anyway, thanks and it's something I'll keep in mind for future versions or projects.
I'm 23 and feel the same way. I went to meetups during college when I was free at 2-4pm. Now I get off work at 6pm and most meetups are in places that extend my commute home by 20 mins. I really don't think they're worth getting home at 10pm.

Also, not to sound rude, but I get enough of socializing with programmers at work.
I did this, at 33, similar situation.

While it took me about a year to find work after coming back, I still don't regret it. I was travelling for about 15 months in total. After returning, I did a bit of contract work, but took almost a year before I started full time work - but I am now living in a different country, and sorting out a visa took about two of those months of the year in limbo. To be honest, a part of why I took so long to return to work was my own resistance towards it, but now that I am working, I'm learning the stuff I want to learn.

Before you go, perhaps set yourself a limit. I had a budget in mind - about half of my savings - where I decided I would pull the plug if I reached that point and go home. I ended up returning before that point.

As many have said here, having a long sabbatical on your CV won't necessarily be a red flag. My current employer was very enthusiastic to bring me onboard.
While the most galvanizing image was the one where Jock Semple attempted to pull her off the course, another thing that disturbed me was Boston Athletic Association director Will Cloney's quote afterward: "If that girl were my daughter, I would spank her."
I agree that switching paradigms is not easy. The part that sounded like a joke and still sounds like a joke is downplaying the difficulty it is to learn OO abstractions and patterns. Even initially being taught them, does not mean you've really learned nor understood them well. When comparing it to something "elementary" I'd expect something simple like 13+4, not something as complicated as software design.
There are libraries like https://hackage.haskell.org/package/repa that make some of these tasks much easier to do. (Write your program/algorithm in terms of these arrays and all operations on them are seamlessly parallelized.) And there's really no reason you can't wrap something by making a new data type that includes the original arrays and an index.. it's just not a class.

While it's worth mentioning that Haskell does allow you to get pretty low level, it nonetheless has a GC, and the code you end up writing often looks more like C than FP. Rust is a great alternative that combines a lot of the raw performance and control over memory of C/C++ and good stuff from FP (e.g. sum types/pattern matching.) (Or even better, use something like Haskell and FFI with Rust for performance-critical parts.)
> Do people go to meetups to learn something? I guess I always treated them as networking events to expand my sphere

I last went to a programmers' meetup about 3 years ago, and did that in order to specifically see a guy make a presentation about ElasticSearch. We were also using ES at our job back then, but at a much smaller scale compared to that guy's company did, so I wanted to learn additional stuff about how ES works and how it needs to be configured when the numbers increase.

It was a nice presentation, can't say I remember much from back then (I've also not used ES in the meantime as much as I would have liked), but some presentations do have a learning purpose.
I created a new Twitter account today. After having to uncheck roughly 20 separate e-mail notification settings and delete several "You should follow Ellen!" messages, I tried to add a profile picture. Much like previous years using Twitter, I received the ridiculous "there was a problem uploading your photo" error after spending 3 minutes cropping and aligning my picture.

Presuming I waste another 3 minutes and it works, what am I left with? A blank profile with no followers and no clear way to socialize.

Twitter's good for following and reaching out to public figures, but it's relatively pointless if you don't already have an audience.
That's the beauty of it though. These are cold hard facts and as long as the veracity of the data is held true the insight can be enormous. The recent dialogue of fake news has made the public think far more about the media and information they're consuming. With something like public records where there is a significant paper trail it'll be much harder to dispute than climate change. There's a tangibility to this versus the at times ephemeral quality of climate change. There's concrete dates printed or typed into documents versus trends and weather patterns. 538 in this past election cycle anecdotally to me received a huge boost in readership due in part from the data journalism. I do think people are inclined to be skeptical of any "fact" but with government records I believe that skepticism quietens.
Apparently washing your hands also causes you to be more lenient.

So AI probably shouldn't be used for sentencing, but that's more to do with all the stakeholders being clueless about the technology. The people asking for it, paying for it, using it, and building it (hey I can just throw some packages together in R right?) don't know what they're doing and are using it to significantly impact the lives of others.

On the other hand, pretending an arbitrary Judge / Jury / sentencing guidelines also don't form a dynamic system with not well understood effects that's equivalent to random AI in terms of output doesn't exactly help anyone either.

At the end of the day you need people who are honorable who you can trust to do the right thing (as much as it sounds like a saturday morning cartoon).
"Charge moves such as blade kicks are simply executed as instructions, so they cannot fail. Guile can do a bladekick from a standing position simply because that’s what’s in the script."

That's a pretty big cheat, to be honest.
How Princess Leia Taught Me to Be a Woman in STEM
This is probably the most boring submission I've seen (read: skimmed through) on Hacker News in a while. I'm not criticizing writing style or quality here, just the topic seems so incredibly 'un-hackerish' that I'm puzzled how it got so many upvotes.
I see, aren't we denying people that are better at the job to compete this way just because of their gender? Clearly this must be gender discrimination.

Let me explain: If I divide a competition between 100 men and 100 women instead of the 200 best humans and then give prizes to the 3 best men and 3 best women instead of the 6 best humans, I'm actually denying place to 100 men and denying 3 men a prize just because of their gender (assuming as true your predicate that men timings are clearly superior to woman).

Isn't it funny how this is not gender based discrimination?
Gain visibility into your Java applications running on Tomcat
Why do you think taxpayers are a group capable of deciding whether tax money is being wasted?
HN uses it https://en.wikipedia.org/wiki/Arc_(programming_language)
VMware Monitoring – Radically Simplified
That's not far off from the origin story described in yesterday's NYT article.

https://www.nytimes.com/2017/04/17/business/dealbook/steve-b...
I assume you've checked out Minnestar.org (MinneDemo, MinneBar) or beta.mn, & IoTMpls.
Even in this comment you can't decide if you talking about past or present.
Make a failing Sidekiq worker call a method after a specific number of retries
This is why we don't want to import drugs from India:

Thakur knew the drugs weren’t good. They had high impurities, degraded easily, and would be useless at best in hot, humid conditions. They would be taken by the world’s poorest patients in sub-Saharan Africa, who had almost no medical infrastructure and no recourse for complaints. The injustice made him livid.
Ranbaxy executives didn’t care, says Kathy Spreen, and made little effort to conceal it. In a conference call with a dozen company executives, one brushed aside her fears about the quality of the AIDS medicine Ranbaxy was supplying for Africa. “Who cares?” he said, according to Spreen. “It’s just blacks dying.”[1]

[1]http://blogs.sciencemag.org/pipeline/archives/2013/05/17/a_l...
I think the right answer is what we are missing a middle ground. All the "leaks" are weird special cases. I think modern C++ is getting closer to the right answer: you always have to think about object lifetime, but sometimes the thought is easier than others.

One of the things C++ gets right is deterministic destruction. 5-10% of the time this is important. In particular C++ has the ability to manage resources other than memory along with object lifetime. (Python has a simplified for of this, I don't know about other languages). Of course the inverse is: 90% of the time deterministic destruction is not important.

80% of the time object lifetime is easy: this object is tied to the stack lifetime (if you have a garbage collector is should be a fatal error if the object is accessible outside of the stack lifetime). Of this 5% of the time deterministic destruction when the stack frame goes out of scope is important. Generally stack based destruction uses less CPU than real garbage collection. (though real garbage collection may move destruction outside of the performance critical parts)

Then 15% of the time the object is shared outside of the stack, but reference counted garbage collection will take care of it. Of that maybe 2% is cases where reference counting (deterministic destruction) is important, the other 13% other garbage collection is better.

4% of the time you have a shared object outside of a stack frame that cannot be reference counted, but other garbage collection algorithms will work just fine.

The last 1% of the time something weird and complex is going on. You will need your best engineers to spend a lot of effort making sure you have all the cases right, and this effort will continue as long as the project lives.

Note the the above percentages are educated guesses. They seem right based on my experience, but every problem domain is different. I'm not aware of any formal study of the problem. (I can't even think of a useful way to run one)
We have always tried to squeeze costs out of storage. That required a ton of tech/ops work. Bandwidth it turns out isn't that expensive - seems to just typically be overpriced. Hopefully lowering the price will enable people to do more with their data.

I'd love to hear what you haven't done in the past due to bandwidth/download pricing that you'd have wanted to...?

Gleb @ Backblaze
Using "you" here is a bit blaming, especially given the nature of RSVP is "Reply if you please". If someone wants to RSVP for an event, that means they choose the event for themselves in their internal view.

Out here, especially with social sites, RSVP is taking on another meaning entirely. Those "slots" are fictitious (just like airlines overselling seats) and assuming attendance numbers will be what something like Meetup says they are is irrational. I usually factor in a 40% attendance rate - nothing wrong with that if it's more, but it's unlikely to be 100%, unless one holds an irrational belief their event is going to net more than another.

That's not to say it doesn't make planning for the event a bit more challenging, but I seriously doubt there anything anyone can do about it other than charging for the event, which may not be desirable.
Nothing we do is easy for most people... that's why we're highly sought after.

What I meant was not that it's easy to do something, rather that it's something that often comes early, and is mandatory, in your journey of discovery. The concepts you learn early on, while not easy to fully grasp, stick, and make other paradigms seem alien.
Don't get too comfy with Rust! Memory leaks are memory safe, so a logic error can still lead to a leak. RAII doesn't guarantee that no leaks are possible.

Just take a gander at std::mem::forget[0], which is part of "safe" Rust:

> "Leaks a value: takes ownership and "forgets" about the value without running its destructor. Any resources the value manages, such as heap memory or a file handle, will linger forever in an unreachable state."

[0]: https://doc.rust-lang.org/std/mem/fn.forget.html
thats pretty important... The entire point of this thing is to be transparent.
What?? It's a perfectly ordinary very common English word.
Fun fact: Barbecue can be traced to it's Caribbean origins as barbacoa:

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

Disclaimer, my ancestral heritage is from Puerto Rico.
It is one of the very good enhancements for MongoDB. We need more of this in coming days. Live update was a little messy few months before. I had to take down time for the production upgrade. I'm quite happy. Availability across the globe is a very good decision. Will try to explore any of these features in near future to make hand dirty. Thanks team MongoDB.
Privatization only works if multiple companies are competing for customers. Privatization of prisons, for example, results in increased spending because the "customer" in this case is elected representatives.
It's all in the marketing.

Frame it as "data-driven decision making" and we'll get 100s of think pieces from various tech luminaries and wannabe luminaries.
I don't need shares of stock to survive. I do need food, shelter, and access to transportation to my source of income. Am I missing something about the risk of investing in the stock market when basic needs could be put at risk? (i.e., a dollar put into the stock market could have been a dollar put into savings to help me in times of need)
I didn't upvote it, but by its title, I thought it was going to mostly be about how different regions have different style BBQ. And those regions generally have a strong dislike for the other regions' styles.
$10,000 is barely worth one man.month. If you spend more than that, then you should get more than that.

But then, independently on the time invested, your project may be worth millions of revenue a year. At the current rate of interest, (close to 0), you shouldn't sell it at less than a few billions!

Oh, and all of this is totally unrelated to the opensource aspect!
No hash, no salt, big problem
I'd love a second edition of Founders at Work. It's one of my favorite books and I recommend it to other founders regularly.
I hear you.

There are good meetups and there are bad meetups.

If you want "helping each other" style meetups, you need to look for ones that are office-hours style, where they have tables and conference rooms and people sitting next to each other trying to help each other.

If you have organizers that want to make a regular commitment to running them (and basically being the on-hand experts) then you should be able to get space from firms that would like to host Python programmers (and we do have members get hired out of our group by our hosts sometimes, but that is certainly not a guarantee).

If your area can economically support these things, but they aren't there, then you just need a catalyst to get them started. I would think a lot of areas in Europe should be able to start these kinds of things.
do you familiar with decision tree learning? [1]

[1] https://en.wikipedia.org/wiki/Decision_tree_learning
Stupid articles from the New Yorker always seem to hit the front page, no matter what they are about.
nice post.
I'd say it optimizes something from the point of view of the status quo.

There's nothing in machine learning that bias it into keeping the status quo (differently from people), there's also nothing there biasing it into optimizing the correct thing (also differently from people).

That said, having machines in a consultative position under a judge may be a good thing.
It'd be really interesting to see their actual costs for whatever run size is justified by the US market (and some ancillary information like how much they throw away to keep the supply fresh and so on).
Moby: An open-source project to advance containerization
Refactoring Haskell code has been the best refactoring experience I've ever had, and I've worked with "a lot" of imperative languages. IMO the biggest boost in maintainability is by adding a (typed) compilation step - after that the stronger the type system, the better.
Understanding and recognizing the physical differences between men and women is in fact discrimination, but not in the way you're using it.

Events have different age groups as we recognize children, teens, adults, and mature adults have different physical capabilities. Should we get rid of age groups?

Many sports have weight classes as we recognize that a 150LB fighter is most likely at a disadvantage compared to a 260LB fighter. Should we get rid of weight classes?

There are plenty more examples available and are no different than having different events for men vs women.
How to use JavaScript's async iterators and generators (now in Chrome Canary)
For any interested, Red Moon is a GPL android app for filtering blue light and dimming your screen. https://github.com/raatmarien/red-moon

Disclaimer: I am one of the developers.
Because there are no valid objective qualities as to why functional programming is any "better" or "worse" than the alternatives. At the end of the day, you're instructing the machine to do the same work, regardless as to the structure of the code you're writing.

Functional vs. an alternative is nothing more than visually different styles that result in developers having a personal preference. Some languages offer optimizations for certain constructs, but even those depend on the implementation found in each language. A functional language doesn't automatically grant objectively better qualities, whereas a specific functional language might provide advantages that have everything to do with that specific language rather than the fact it happens to be functional.

Functional languages are interesting and the right tool for the job for many people. But they are not better, and when you have developers fighting hard to defend their language as "better", recognize that has a lot more to do with their ego than anything based on facts.
So this will be an additive check I imagine. So after waiting in line to show a TSA person your ID, you will have to wait in line to for your turn at the facial recognition system, before waiting in line at the conveyor belt for bag screening and waiting in line for the one body scanner.

The article states:

>“We currently have everyone’s photo, so we don’t need to do any sort of enrollment. We have access to the Department of State records so we have photos of US Citizens, we have visa photos, we have photos of people when they cross into the US and their biometrics are captured into [DHS biometric database] IDENT.”"

If this is the case then why can't we just dispense with the whole security theater nonsense and spare regular honest folks the indignity of the current TSA berating and harassment?

There's also a case that could be made for reclaiming the loss of time and productivity that the current security theater takes from the country ever year.
I love this username
Send them an email asking for an explanation and also let them know why this is not a good way of dealing with inappropriate content. Also reach out to their customer support asking for an explanation. Let us know when you hear back from their support team.
If you had a "sufficiently smart compiler" you wouldn't need register renaming and instruction reordering, but such a compiler has consistently failed to appear. That's a big part of the whole Itanium fiasco.

If you want your CPU to run fast, you have to pipeline instructions and you need caches that can run at full CPU speed. It's easy to design a CPU without all the complexity, but it will be slow. No one knows how to do both simple and fast. It's probably impossible.
I find PerotCharts more useful (with commentary), than this particular site. Too bad it has not been updated in a while.

http://perotcharts.website/

Yes, its that Perot: Ross Perot.
Fair point! I should hope raw numbers are truly unbiased, though they could still include more graphs that paint the picture they're wanting to paint.

Note that i've not yet seen the site, even with http it's under a nearly dead load haha.
Thats the creator's presentation of the purpose of it.

Snarky? yes, but an important distinction. A truly objective point of view doesn't exist as far as we know.
On Food And Cooking: The Science And Lore Of The Kitchen by Harold McGee
Handicap is not used in professional golf neither is age range, it's the best against the best.
I find it to be a bit slow and it takes a lot of clicks to do things.
As expected doesn't work in edge. Atleast bypassed the disclaimer changing the user string. Things like these make me want to not use their services.
Fellow crazy linux user here. I follow many youtube channels but, as a canadian, am not allowed to support them with cash. (Red and all the other premium schemes never include us.) I too have trouble with youtube's interface and am often on a sat connection which makes everything more frustrating. Instead i use a combination of tools to download the vids directly, which denies my favorite channels even basic ad revenues. Youtube is the choke point.
Why Bad Software Wins
Isn't the risk that these companies will just let Indian's do the work in India instead of bringing them to the US? Won't the US loose tax money with such a setup?
Perhaps they were fixed as part of unrelated bug fixes? That would explain why they didn't credit anyone as having reported them. Something like, "Fixed bad return value leak," or "refactoring old method" could break the exploits.
Yeah, I should have clarified that, so thank you for doing so. With our database engine, it was very important that Dispose be called in order to avoid some nasty surprises due to the GC finalizing the outer .NET class instance from a different thread. You can also run into this with a plain ODBC driver using the ODBC.NET data provider.