skysight-inc/HackerNews huggingface dataset:
While I agree that delivery logistics are not easy, I don’t think it is something that will take massive amounts of capital. Simply increasing the compensation for delivery people high enough to get competent full timers would likely solve the problem. And due to the union wages of ups, there is a lot of room to raise wages for drivers.
Totally with you. Battery research headlines are as reliable as apocalypse predictions these days.
I would second this comment and add that proper change management is needed to ensure a smooth transition. As soon as the word is out, if you don’t have a plan and/or don’t communicate in the right way, your people will start sending out resumes and that can wreck havoc in your business.

As you might expect, replacing top notch techies is quite hard. So managing the transition and making sure those that won’t be kept are better off is not only a good heartened approach but important to the success of the project.

Management consultants usually get a bed rep but that’s something they’re pretty good at. If you’re an F50, you have the budget to hire a top one.
I'd be happy if it could just find all function defs in a translation unit without forward declaring.
Hello. Article author here. I agree, people should only follow good ideas. I didn't explicitly mention this in the article, but I believe that a person in a healthy work environment who genuinely follows the process of feedback as outlines will eventually turn their bad or mediocre ideas into good ideas as they integrate feedback, or else the leadership won't approve their change and the team will refuse to adopt the idea. After all, it's tough to get people to voluntarily adopt a bad idea.
In the old days LEDs were red which didn’t interfere with night vision or trigger a serotonin response. Now the way they signify a device is advanced is by sticking a bright blue LED on it, I can only assume the designers never have the product in their own homes.
Sure, here’s a very recent article (but the effects of this approach have been accumulating for awhile.) http://www.rrstar.com/news/20180608/rockford-gets-attention-...

Here’s the software referenced: https://www.mpowr.com/focus-areas/community

It’s a SaaS, but as you can see, the hard part isn’t the app development; it’s getting all the government departments and charities talking and agreeing to automatically coordinate via software.

Our city is bad at a lot of things, so I’m a bit proud we’ve actually accomplished something good that we are able to export. :)

The usual approach is to start a new case at each org which duplicates the same kind of assistance, leaving less for others and making it harder to steadily advance someone towards receiving the treatment or rehabilitation they need since they’ll bounce from place to place. When communication between agencies does happen, it generates too much paperwork and decision-making is inconsistent, time-consuming and less effective because the staff might not be up to date on the solutions or money available to treat an individual’s specific problems. Software, along with a more collaborative mindset, helps all of this.
As a frequent MUC-TXL traveler, I’d say that now the train connection is finally en par with flying. It’s has now become a real alternative.

The hidden times you mentioned depend heavily on where you live and what your destination is. Going to the train station can be painful in the first place.

Another thing to consider: I regularly feel sick when I work on trains not so when flying. That’s why I prefer a long plane flight to a train ride.
The thing that makes it beautiful in Lisp is multiple dispatch. In higher order functions, + is still just +, not some function that's already bound to the left hand side.
Not to mention that even if they did suddenly decide to cooperat, it will be far too late.
Huh, interesting. I thought monocrystal blades were only for military engines and civilian engines made do with cheaper stuff which required a slightly lower maximum engine temperature. Then again, I did get my information from a friend in the pub (he’s a Cambridge PhD, but still).
Greed.

Someone who bought cryptokitty early on sold it for 100x returns easily.

Everyone on the hype train was reselling kitties to next bigger fool.
Ask HN: How did you deal with the fact that you were growing old
Dear middle aged hackernewsers, how did you deal with the fact that you were growing old and leaving your twenties behind, I am asking this cause lately I've been terrified and having panic attacks at the thought that in a few years time(6 years to be exact) I will leave my twenties behind and literally start becoming old, this is even more scary as I remember becoming 20 years old like it happened just last year.

To deal with this issue I have resulted to scorning new music's and movies, for music's and movies which were released 4 to 10 years ago, I am even surprised by the sheer number of movies and music that were made during these period.

Also this month will make it exactly a year that I lost my dad, which further makes the thought of me getting old frightening to me as I'm also kinda scared that getting old will mean I will lose a lot more people close and dear to me.
I agree with my sibling-commenter that this is a bit of a stretch, and I also think that merely not using a cloud provider's integrated database offering (e.g. RDS instead of running ones own on EC2 with or without EBS) doesn't invalidate all the benefits.

However, you do bring up an important point, which is a criticism I've always had for the term "infrastructure as code": Unless the underlying hardware is identical in performance, that code isn't really describing/commanding anything deterministic.

This is especially true for databases or anything I/O-sensitive like message queues or stream processing.

It would certainly make "cloud agnosticism" a much less trivial exercise.

At the risk of sounding ad-hominem, I generally find that it is software engineers whose experience is primarily at higher levels of abstraction who under-estimate how much it matter (or, conversely, over-estimate how much software or "code" can just solve such problems).

See also https://en.wikipedia.org/wiki/Fallacies_of_distributed_compu...
It's the Beanie Babies of cryptocurrency. Of course it's going to plummet in popularity.
I've experimented with all the commonly suggested stuff: blue-light blocking, sublingual melatonin (dosed appropriately and timed according to the phase response curve), exercise, meditation, etc., simultaneously and in isolation, and nothing extended my sleep significantly.

I suspect if I went through a grueling few weeks of sleep restriction, I would eventually see an increase in the duration of my sleep, but I'm content for now to stick with my biphasic protocol.
I think patents are relevant when you do chemistry or biology research.

If you burn money for years designing a molecule, you could say you "own" the molecule, so you patent it.

The problem with the patent system is that it's necessary in a world where you need money to do any simple thing, because states cannot fund every research project, since it's impossible to know the outcome of every research.

But obviously you cannot patent everything, and that's where the patent system is failing. There is no good legal definition of a worthwhile invention.

Software is not patent-able because it never really is an invention that requires to burn a lot of money, unlike other domains of research. Anybody can write any kind of software.

But patents are still relevant where research requires expensive resources.
The easiest win for your sleep might be removing the TV from your bedroom
What was the data-driven decision in that case? You mean they looked at plugin usage stats and realized Pocket had more usage than the built-in RSS feature?
All evidence points to this article being bullshit.

I'd like to see someone try to make a decent game (including frontend) with Erlang, Haskell or Scala.

Sometimes you need to separate state into different objects and let those objects manage their own internal state otherwise the code becomes overly complex. OOP was invented specifically to support this kind of isolation. Yes, sometimes OOP makes it more difficult to follow the flow of logic but once you understand the structure and core components of the system, it's much easier to make non-breaking changes and additions to the code.

This article is just regurgitating FP rhetoric and preaching FP as a silver bullet.
Rapping JavaScript source code over Wu-Tang Clan beat (Tearz)
Ok, I'm probably looking at him in the worst possible light then.
Retro games weren’t pixelated per se http://kayin.moe/wp-content/uploads/2014/02/1391807722376.pn...
I was looking for something cheap with as much packed features as I can get and settled on Huawei Band Pro 2 (https://consumer.huawei.com/en/wearables/band2). You can get it for 70 bucks, and it tracks your sleep, heart rate and even has built in GPS if you want to jog or cycle.
Make bluetooth suck a little less on linux
Ask HN: MIT OpenCourseWare are restricted globaly?
Since yesterday the MIT OpenCourseWare videos are not available in Sweden. https://www.youtube.com/watch?v=TjZBTDzGeGg
Perhaps randomness is a shortcut to absurdity, but good comedy is rarely random. (Is it ever? Honest question.)
Also, three times per day. You'd have to plan as you would with air travel so that you were at the station to catch these specific trains even if you weren't price sensitive enough to book a seat in advance. Three per day isn't enough for it to make sense to just show up and catch the next one.
Despite the ambiguous text, Dreamliners have two engines. I don’t know the rules, but imagine one engine failing means “go straight to nearest airport on remaining engine”. If you can’t trust that the remaining engine will work for at least as long as the scheduled flight, even a money-maximising-sociopath would recognise bigger problems.
Damn, good tip.
Thanks, great explanation! Makes sense.
Germany was divided - Munich in West Germany, Berlin in the middle of the eastern/socialist DDR. So there was the unification to do, with huge costs.
Also there is no high-speed rail in the UK (except for the Channel Tunnel Rail Link).
Isn't Pivotal responsible for the Spring (Java) framework? In that case it would make sense to trash-talk OOP for them, since Spring is widely known to take magic Java annotations to an absurd level. While OOP for things such as oauth and data binding etc. would result in slightly more verbose upfront code using just libs and light annotations, the majority of time spent in Spring/Spring Boot apps is trying to understand Spring's opinionated framework and boilerplate on Java newbie boards. Sadly, Spring has overtaken alternatives for Java developers who know what they're doing and generally exercise more mental discipline in their work.
So if you don't look at a piece of visual art directly is it art? Your argument is heavily flawed. The constituents of art are intention and material of which video games have both. Interactivity is a facet of the medium, not the medium itself which contains ideas, challenges and aesthetic representations of things.
Garbage collection in Python: things you need to know – Artem Golubin
But is OP really going to have the same cost savings if they retain everyone? I am assuming labour is a huge part in that figure.
Drop the tone. All I said is his pharmaceutical practices were 1. legal 2. didn't have direct effect on the consumers of the medicines.

Skherli said he gave the medicine free to those who have no insurance. I don't think by good heart but rather to avoid a major bad publicity from the inability of non-insured to pay.
> LLVM's libc++

Great find!

So the library solutions are still often suboptimal, and it's even more easy to hide bad decisions in the C++ sources, so whoever has the approach "just use the default library" should be aware of that once the performance is important.

Yes, even the simple multiplicative constants can significantly improve the hash if it by default doesn't do anything with the input! The libraries definitely should be fixed, and adding the multiplication step is really a simple and fast change for a great benefit.

As an inspiration, Kernighan and Ritchie in their book about C used a simple number 31, and that simple hash is still quite good compared to much more complex and more recent solutions as K&R also haven't used the (I guess misleadingly named) "open addressing" for their hash table. Their solution is amazingly minimalistic and in that context amazingly good for chain hash tables. I wouldn't be surprised if just changing

return __c;

to

return __c * 31;

in the functions discovered would result in great improvement. The good side of such a constant is that it can give the fast and small code even on the old architectures where the "normal" multiplication is slow (e.g. even if there's no fast multiplier the result can be obtained by one shift and one subtraction!). Also on modern architectures using this constant can't result in any performance degradation but improving the hash behavior of these formerly unprocessed inputs guarantees speedup. And there are surely use cases when using more complex functions is much better, e.g. those suggested by aappleby:

https://news.ycombinator.com/item?id=17330787

Back to the "open addressing", if you are rolling your own hash table and don't plan too much hash tables to be present in memory at once, it's often much faster to use "chains" (like in the K&R C book) than trying to store everything only in the table (which is misleadingly often called "open addressing" even if "closed hashing" is a better term) and jump through the table in the collision case. Maintaining lists per entry is typically much faster when the table is fuller, provided the allocation routines are fast.

https://www.strchr.com/hash_functions

By the way, MurmurHash2 or 3 and CityHash are definitely very good functions, the problem is when they aren't used in the library, like, it seems, in libcxx. And in the cases where the simpler code is needed, even a simple * 31 is much, much better than nothing!

And note, it seems there are even problems with these good functions, security wise: apparently the language implementations or the services accepting uncontrolled inputs also have to care about the security aspects of their hash functions:

https://131002.net/siphash/

"Jointly with Martin Boßlet, we demonstrated weaknesses in MurmurHash (used in Ruby, Java, etc.), CityHash (used in Google), and in Python's hash. Some of the technologies
affected have switched to SipHash."

"SipHash was designed as a mitigation to hash-flooding DoS attacks. It is now used in the hash tables implementation of Python, Ruby, Perl 5, etc."

"SipHash was designed by Jean-Philippe Aumasson and Daniel J. Bernstein."
At a certain point I realised that I had to update my understanding of the term "prove" to mean "it's now more likely that x the case" rather than "they've found out that x is the case".

Of course, the medium you're reading something in can give you extra reasons to be suspicious. An article about how some diet can give you magic powers is more likely to be there just to draw clicks and hence just based on a study that p-hacked its way into a correlation than an article about a new discovery on the LHC or something.
It's a bit confused alright. His first two quotes are from people who designed OO languages. (Joe Armstrong later realised that Erlang may be the only fully object oriented language, one he learned that java is not oop https://news.ycombinator.com/item?id=5205976 )
Wouldn't a successful outcome just be recognizable sentences?
My rule of thumb: invest 30% of the cost savings into training your people on skills you need now but also with a view to future plans. Invest in preparing your people for new ways like DevOps, microservices. With their experience and knowledge they can save you even more looking forward.

And even if you don’t need them all, by training them you give them a better chance when finding new jobs. A small investment can go a long way. Also helps your companies reputation when people don’t simply get removed.
Pretty low-quality article, mostly just a bunch of links to other opinions. I'm used to better commentary from pivotal.

I don't really understand why functional programmers bash on OOP so much. If you code up a bunch of immutable objects with methods that return changed versions, you're now a functional object-oriented programmer. It's a pretty nice paradigm! It beats the hell out of "everything is a list" and car/cdr is your hammer.

Yeah, a lot of Java programmers fail to grok immutability and irritate us with wordy half-measures like builder patterns. On the other hand, the stream api allows you to write code that looks reasonably close to the clojure-equivalent -- perhaps a bit more verbose, but at least it's typesafe. If you want more concise there's Varvr. This is more of a culture problem than a language problem.
"As long as a key is available, a substitution cipher is a safe, simple way to encrypt a message." ...quality article
Disinformation Resilience in Central and Eastern Europe [pdf]
Germany has high speed trains for a long time (eg. the 200km of Frankfurt-Cologne: 55 minutes, topping out at 270km/h or so outside the city centers)

It's just this route which had some geography-induced engineering challenges that was finally upgraded to be able to service at the trains' maximum speed.
Right, protecting an investment in R&D is a protection racket.

There has to be some reasonable line between incentivizing investment and "everyone had a right to everyone else's ideas".
Industrial Applications, as Tesla has shown in Australia & Puerto Rico, are still a magnificent boon to society, so I hope they roll-out the more dangerous iterations sooner than later.
OOP encourages ruining code in the small which means a theologically correct project is either good for a small class of programs that would answer a sequence of diamond problems the same or completely useless.

FP encourages taking immutability to the extreme which makes your project a comedy if finished.

Break apart an FP program and you have great general purpose libraries.

Break apart an OOP project and you have a splitting headache.

(Now that JS has classes and frameworks like angular are adopting them I think it is dangerous to flag this article and the related opinions like mine as things people shouldn't hear because they are negative.. A lot of self trained programmers are about to think they are bad programmers because there is a bad feature being adopted.)
I'm pretty sure guys like Ed Witten are doing real math. Or at least he fooled the mathematicians thoroughly enough that they gave him a fields medal. I'm neither a physicist nor a mathematician, but your characterization seems a bit unfair.
Harvard is one of the founding partners of edX and has a ton of high-quality courses there. It also has the Harvard Extension School, which offers high-quality degrees at a fraction of the cost of the other schools. Probably unfair to say that they hold educatio hostage.
Boarding closes 10 minutes before. If you only have your carry-on luggage, and if you're lucky with lines at metal detectors, it takes ~20-30 minutes from the time you enter the airport to get to the plane (YMMV for some of the larger and busier airports).
Form a startup that offers legal protection against patent trolls for $1-2,000/mo and you will have a winner...
I think the same about consulting.

Most people work insane hours there.

I'm pretty sure they could provide the same output in better quality if they learn to work 6 to 8 hours on one thing. ( And learn how to priotize)
Exactly. And it's definitely contributing to the housing crises in some cities. People would rather buy apartments/houses and put them on AirBnB, instead of renting them out to the people who work and need to live in the city. I know it's definitely part of the issue in Ireland, and I wouldn't be surprised if it was the case elsewhere as well.
The CO2 emissions of trains are significantly lower, though.

You might want to reconsider if slightly more convenience is worth ~80-90% higher emissions.
This can work.

Moving cursors with your hand means a use of calories.

Not using calories means less effort for the same work. That’s a gain.
> prevents him for writing bad code

Aka "the Wirth school of non-programming".

There's an easier way to do that: just don't program.
Well, well, unlike winter, when vehicular emission and neighboring farm burns pollute the sky, this time it's mother nature lifting sands off the desert and dust from the fields. Approx 2 more weeks to go when the monsoon arrives and everything would be back to normal.
The more general interpretation is not shitting where you eat
How Microsoft bullies people on it’s newly acquired GitHub platform
This sounds like a terribly implemented package room, not a significant problem with the concept.

One system I saw recently had a touch screen where the carrier selects the address and individual they are delivering to, and then that individual is notified. They could use their permanent password, door id fob, or a one time access code for each parcel. As for not being able to get it upstairs; there was nothing stopping you relocking parcel.
Clean up your air india!
What is point of finding it if the govt is going to claim it?
Agreed for more involved research, but for software, patents are a scam.
Zuckerberg gets his cash from loans against his unsold stock. He could keep doing that his entire life and never pay a dime of income-based tax.
Can't seem to find any history feature on Netflix, and watch it again didn't help.
Carreyrou :)
By the way, the book is really good. Should be suggested reading for anyone in the workforce or about to enter it.
If it's big enough news to be covered by The Guardian (a major "serious" news outlet here in the UK) it seems it may be of interest given Tesla tends to be closely followed on this board. A car catching fire for no apparent reason while driving normally in traffic in an urban area could point to an important problem, do you not think?
I also believe it was a hoax, but this is not a good argument for it being a hoax:

The perpetrator would expect buyers of the pamphlet to try reproduce the decoding of the second ciphertext, so presumably there were versions of the declaration that correctly formed the key.

For the edits (compared to original declaration) see also: https://en.wikipedia.org/wiki/Beale_ciphers#Deciphered_messa...

I would like to see a python (or other) script with the most important observations reproduced (such as the alphabet like sequence)
So your argument is since not all 7 billion people cannot use it it's not working as a payment system and therefore it does not provide any benefit to anyone in any sector?

Geez.
How much do you exercise? Because when I exercise to the point that I am really tired, sweating and have sore muscles next day, I sleep more then normally. The theories I read on internet seem to confirm the same - your body rebuilds when you sleep, exercise is sort of damaging it (it is damage good for you, but I dont know better term), so if you exercise you should sleep more.
Oh, it's definitely driving up rent. Even if not for the cost you suggested, simply because people can make more money renting out an AirBnB for a weekend or a summer than they can by renting to a family for a year. So it drives up the rent to compensate for that. And AirBnB also increases the demand for rental places, as every apartment/house that is bought to be used as an AirBnB is one less to be used for residents of the city.