skysight-inc/HackerNews huggingface dataset:
Thanks. Also, from smhasher text:

"See e.g. A Seven-Dimensional Analysis of Hashing Methods and its Implications on Query Processing

https://infosys.cs.uni-saarland.de/publications/p249-richter...

for a concise overview of the best hash table strategies, confirming that the simpliest Mult hashing (bernstein, FNV*, x17, sdbm) always beat "better" hash functions (Tabulation, Murmur, Farm, ...) when used in a hash table."

The conclusion is not properly stated, it's surely not "always" but there are enough use cases where the simple multiplications (or, even more probably, the "rotate, multiply, xor" and variants) are the fastest in practice.

From the paper:

"We could observe that Mult produces
indeed more collisions than the expected amount on uniformly distributed
keys. However, this larger amount of collisions does not
get highly reflected in the observed performance. Thus, we consider
Mult as the best candidate to be used in practice when
quality results on high throughputs is desired, but at the cost of
a high variance across data distributions."

It’s still a trade-off, but a good choice in some use cases.
Yes, I certainly didn't mean that the tool was bad, I use VS and have recently switched to the github extension inside the editor from using a combo of GitHub Desktop (really easy to use, but also incredibly feature lacking, including the new version) and GitTortoise (pretty good but annoyingly reliant on right-clicking in explorer).

I generally much prefer GUIs over command lines as I'm lazy and have a bad memory, so anything off the beaten path involves loads of unnecessary googling to remind me of the right invocation to the CLI gods.

I'd avoided using it for so long because of bad memories of using TFS, but I must admit it's pretty good for generally using git, with only a few minor UI gripes. I must admit I haven't had to do a merge yet because I'm flying solo on my newest project, which is usually the big test.
> software with a deeply obfuscated "look up a word in the manual" system must be harder to crack.
Reminds me of the paper codex used by Lucasarts and their Monkey Island series :-) Pragmatic solution, and very funny, although not that hard to copy and distribute along with the pirated game.
Npgsql 4.0 – A High Performance Database Driver
> 31 here.

> Growing old for me was [...]

You're not old yet.
You would be talking to one of the big professional services consultancies.

Those are absolutely the last people on Earth you should ask, because their advice will always be, fire all your own staff and outsource it to us. Or if you're too cowardly, for an extra fee you can TUPE them over and we'll fire them for you.

Kudos for being switched on enough to cut them out of the loop.
Awesome Article. Full of information. But no source mentioned.
The customer still ordered via the listing of a specific vendor, even if Amazon shipped from co-mingled stock.
Fascinating read! Anyone have examples on more articles on the good ol' days of software cracking and distribution?
The search for Titanic was a front to find two lost Cold War submarines
Peer review strikes me (as a complete outsider to this world) as potentially quite a good filter. Were your colleagues critical or taking stuff on trust?
> Still, the ICE is an excellent train. It's very punctual (Germans will complain when it's five minutes late)...

I've personally never been on a German train that was on time. Of course this is anecdata, but still...
Races of India (2007)
This came just too late for me to benefit from. I was doing a project in Munich last year and traveling back and forth when Air Berlin went bankrupt (I was on their second last flight) and Lufthansa flights became a combination of stupidly expensive and unavailable. Door to door the plane took about 3.5 hours, which is pretty good. Most of that is waiting, dealing with security, and public transport, etc. The flight itself is less than an hour typically.

So, I took the old ICE a couple of times which took over 6 hours and indeed never really gets anywhere near it's maximum speed. They had a particularly slow variant taking nearly 7 hours. The new one should be a bit under 4 hours. So, the new line is very competitive with air travel and I'd prefer it over taking a plane. It's a much more relaxed way of traveling. German trains are pretty comfortable.

They could improve things further by eliminating stations from the route and improving the track. https://www.openrailwaymap.org/ has a nice visualization of the speed limits on different routes. There are only a handful of segments where trains can go full speed in Germany. If you look at the Berlin-Munich track, it only goes full speed about half of the route. IMHO, Berlin-Munich could get to about 2.5 hours but it requires a lot of investment. Faster if they get proper high speed trains. Compare this to France, which has proper high speed tracks and trains ride at 300 km/hour there.
Good point! Unfortunately, for most statements it's very difficult to find a source (hence this writeup in the first place). Where possible, I linked directly to the primary source (e.g. published paper)
Ask HN: What is the title of this sci-fi book
I once read a comment on HN where someone talked about a book they read. Something along the lines of how for every person the protagonist meets, a version of them is created & one day he finally meets a different version of himself that he couldn't recognize.

Been searching Google for hours now.
Thanks in advance.
Back in 2016, the Museo del Prado, in Madrid, staged a sort of class reunion for the 500th anniversary of Bosch's death, with paintings coming from all over the world.

Only snag is that you can easily spend half an hour going over the details of a single painting, and viewer lines have to keep moving. Probably the optimal number of Bosch paintings in a museum is 1 ;-)

The books (e.g. Hieronymus Bosch, The Complete Works by Stefan Fischer) have trouble showing both the whole picture (too small) and the details (too fragmentary).
VOLVO FINDS THE LIDAR IT NEEDS TO BUILD SELF-DRIVING CARS
Formally, this is the bin-packing problem, which is NP-hard. There are lots of heuristic and approximate methods for coming up with configurations, but hitting an optimal configuration is unlikely to be done in short order.

I imagine load distribution, box fullness, rigidity etc can be included as dimensions to optimise. It'd be necessary, really, but doesn't make things any easier.

This is, however, what I believe Amazon are trying to achieve. As you point out, they have the advantage of knowing in advance what the different items being packaged are. They can presumably optimise within a single box, over a single order and across multiple orders and shipments. At their scale it would make sense to devote a large amount of compute to squeezing a few percent extra out of each cargo flight and truck delivery.
Right, I should just rename it to "Classic benchmarks", since it's also from other sources.
A bunch of nerds with government contracts that smoke weed on the way to their interview

https://motherboard.vice.com/en_us/article/d737mx/the-fbi-ca...

EDIT: oops that was 2014, apparently the FBI isn't having that issue anymore

https://motherboard.vice.com/en_us/article/aepj4p/fbi-mariju...
TechNews: Meet the Frenchman Masterminding a Google-Free Android
RebirthDB: community-developed fork of the RethinkDB database
Everyone "should be", but the reality is that everyone isn't. A fairly small proportion of us have the time, energy and motivation to research the best decision for any given situation.

So it is totally reasonably to argue for making the right choice the obvious one, e.g. by externalising the costs of bad choices. It doesn't help until there's a majority for it, as you point out, but one way to build public support is to build awareness and criticise the current situation.
City of spies: how the battle for Catalonia divided Barcelona
That's an amazing article about cookies!
The interviewing section starting on page 60 is also great. It's not long on technical interview tips, but gives good lists of common general interview and behaviorial interview questions, plus a good list of questions to ask employers. Running through these in a mock interview or recording yourself would be nice practice and should help with the soft skills portion of any interview. I'd think it'll especially help getting through the HR recruiter gatekeeper. Of course since this is a general handbook for all possible careers you may want to customize to your industry if you're running a practice session.

Busniess idea: mock phone/video interviews as a service
We actually might have already stumbled upon it: https://www.centauri-dreams.org/2017/03/28/the-challenges-of...
it is often said that software is just math, and math is not patentable.

But any mechanical contraption is ultimately just physics at work, and physics is just math as well. So, what's the difference?
Doubly so if you are making a library where de facto you don't know what the input data might be and hence you don't know in advance what the perfect hash function is.
Arriving just 60 minutes before takeoff seems rather crazy in a lot of airports. For example in CMN and AGA that gives you 10 to 12 minutes per security check (assuming you check in online and have only cabin luggage).
Higher order doesn't imply design by an intelligent agent. Higher order can be an emergent property of a system under the pressure of raw, inanimated, constraints.
It seems like you completely agree with what I wrote then?
Without proper source mentioned it's hard for people to believe anything.

By the way, article is good
My avoidance of OOP predates my use of FP like most people I know.. As imperative C programmers of old, we often had to deal with people trying to add C++ on top and then needing help.. Their projects were often months of work and a total failure because they had fractally encoded their model into how their code, data and model operate. Inevitably a few of their ideas of that model were wrong or needed to change for unexpected reasons and are encoded across all sorts of things via inheritance and method parameters.

Essentially they have invested in huge blocks of take it or leave it nonsense similar to the banana quote in the article.

I get the same general feeling from FP OO as normal classical OO. There seems to be a need for a hierarchy in parts of base type systems and other standard library pieces, but once some framework layer declares a class to be extended you just have bug after bug that all relate to an imaginary hierarchies invented because everyone needed to provide a nail for the OO hammer.

Personally, I'm much happier with interfaces that rely on a duck style to implicitly define types with implementors. I find it sad that some older languages are reimplementing classes when it seems like newer ones have correctly moved on to no unique relationship hierarchies in general code.
I agree that this is just a "wart" from the perspective of a modern programmer, faced for the first time with JCL (and mainframes in general).

I guess this happens less often otherwse there would be many more of this kind of joke.
How many square feet is your apartment?
"Saving calories" is hardly the problem for most of us :)
Possibly, the BSD community is more like what you're looking for. It may be a matter of top-down vs bottom-up philosophy (i.e., control).
What I think of utilitarianism is that moral frameworks may be interesting philosophy and maybe even useful for groups to use when making decisions together, but are an unnecessary complication for individuals with a bit of a conscience.

The "golden rule" covers about 99.9% of ethical dilemmas I've faced in real life so far.
Not just China: in Vietnam it is completely normal to see people take a short nap at their desk after lunch.
Apart from the fact that being „paranoid“ or more general being afraid of something has no rational basis there are a couple of things that make me feel more comfortable going by train.

Even an inner german (or inner Schengen for that matter) flight has a lot more unknowns than a train:

1. public transport times are often a lot longer to airports. So you usually have to factor in more buffer.
2. what‘s the waiting time at luggage drop?
3. what‘s the wait at security?
4. how long do I need to go through security (I travel with lots of electronics which I usually have to take out)

If any of these things don‘t go as I expected my stress level increases because my calculated time buffer goes down. That‘s why I factor in an insane amout of time before boarding and usually end up hanging out at airports for hours.

For trains: The only unknown is the time that it takes me to get to the station. Every other time is practically zero.

And as someone else pointed out in this thread: the cost (in terms of money and time) for missing a train is a lot smaller.
I didn't know there is antagonism between Romanians and Hungarians. I guess, historically and geographically speaking it was inevitable :/
This one? https://github.com/stg7/haesni
Because in the past they dominated everything. This will not happen again. For some problems/people the ease of dynamic languages are simply more important than the correctness/speed issues you deem as paramount.

I don’t mean no one will or should use static languages but believing they will once again dominate like in the 80s and 90s is an illusion imo
great point. btw: is there a list of experiments that have become mainstream beliefs and have proven to be wrong?

I definitely know of the power posture and the fertile women wearing red dresses crap.
If you habitually get poor sleep it becomes your new normal and you forget what it's like to be well rested.

And this can be deceptive if the whole effect happens more than once. Suppose you really need 8 hours of sleep but have habitually been getting only 6 for a long time, and that has become your baseline for reference. Then something happens and you're only getting 4 or 5 hours instead for a while, and you feel obviously worse. After some time that effect reverts and you're back to getting 6 hours, and relatively speaking, you feel great! See what a difference it makes when you get enough sleep in a night! But in reality, you still aren't...
No trolling here. I'm pointing out scientific facts that are contrary to your opinion.

And my mention of 'screaming' was used metaphorically. That is to say, your bias was evident from your posturing. Not that you or I were _literally_ screaming about one opinion or the other.
35 here.

If not for the physical aspect of it (better take care of your body now, because it doesn't get easier), my experience of growing old is pretty awesome.

You get cool perks like seniority and respect just because you don't look like a kid anymore. Even though you think it's mostly the same "you" than in your 20s, people, mostly rightly, assume you're wiser and more trustworthy.

That translated, at least to me, into getting more money and less shit for roughly the same amount of work, less need to prove my worth and all in all a chiller life. Money is a lot less an issue than it was before, meaning I don't stress about that much anymore (definitely not the case for everyone, but I would gamble it is for most of the HN crowd). A lot of things that were sources of stress are now under control or in the DGAF category (money, women, career, ...) and I can focus on more interesting parts (family, the meaning of life, everything).

10/10, would grow older again.
Well it only seems fair that she got so much positive media coverage for her start up simply because of her sex.
The History of Non-Euclidian Geometry [video]
I have a paperback version of LOTR in a single volume. Very convenient. Has the full text in relatively small font in just under 1200 pages.
The main reason I'm paranoid about missing a flight is the unpredictability of the length of the queues before security. This is partially because I seldom take a plane[0], so I simply don't have enough experience and data to go on.

[0] for all the reasons cameldrv mentioned, plus the impact on the environment. It may be noted that high-speed trains are worse on the environment than classic ones, although still in a different league from air travel.
An Extraordinary Thing Happened at Jordan Peterson’s Indianapolis Performance
Nah. He wasn't calling me a toddler and even if he was I'm actually a big boy and can handle such abuse.
I've used Ohropax for the past couple of years, and they're absolutely amazing. None of the regular earplugs fit my ears, or are uncomfortable. Ohropax is just bees wax I think, and there's other brands that work just as well.

I also use an alarm if I have work to show up for, and I've never missed the alarm, the alarms on my phone are annoying as hell and never fail to wake me.

If you're so tired that you fall back asleep after your alarm, then you've messed up, and you probably were so tired that you could've fallen asleep without the earplugs anyway. I know I had many of those mornings during school/university.
What I really liked about it is how it forces publishing companies to truly make knowledge available for everyone. It's the direction music is going in this country, where individual listens are essentially a free public resource for anyone who pays a minuscule subscription fee.

Books and movies seem to be retaining pricing power for some reason. I feel like the ultimate reason behind this is that books and movies take a lot more time and attention to consume.

I know for me, I would be far more inclined to read and watch more of them if it were easier to break them up into chunks. Give me a specialized movie player that lets me pause and start movies by scene, make individual books and movies super cheap, sure, I don't mind paying cable-like fees for something actually useful and I'd watch movies a scene at a time by the dozen. Give me a feed reader that mixes in book chapters, in order, with my normal news feed.

Essentially, I don't want to waste time on crappy platforms. Just give me the damn content in a way that makes sense for me to use it. I may get to the point where my appetite for information is so voracious, I'll just mass pirate stuff and upload it all into a personal database so I can chunk it myself.
In Norway there's taxation on drinks containers that is set high enough that it's cheaper to participate in a return scheme. The audited return/recycling/reuse rates are then used to provide a discount against the per-unit tax.

I've always liked this scheme, because assuming you set the tax high enough for society to - as a fallback - take action to rectify the problem (e.g. hiring more people to clean up in this case), with a punitive margin on top, the tax provides a financial incentive to innovate to drive down the cost of acting responsibly.

There is a collective return service you can participate in, but if you find a better alternative you're free to use it as long as you can demonstrate what your return rate is. Or you can pay the tax and leave it to the government, but your margins will be worse than the competitions, as the return scheme is cheaper.

The general mechanism feels like it'd be adaptable to a lot of situations where you want to make sure it gets rectified, but also don't want to trust the government to dictate specific solutions - in this case it doesn't matter if e.g. the fallback solution is severely cost-ineffective; the more costly the fallback is, the stronger the financial incentive to find a better solution is.
Good leaders know if you want others doing something to you, you come first.

If you want others following your lead, first you follow the lead of great leaders, listen to them, learn from them what makes them so great. Then you could be a great leader.

From my point of view, the article is egocentric. Ego is one of the biggest enemies of good work.

It should never be about following the leader blindly, specially if you manage(or co-work) smart, educated and experienced people, their opinions are of more value than yours in their areas of experience.

With ego over the table it is only about who wins the argument, and of course it is always the boss(who is up in the hierarchical level). Beware because this introduces resentment and procrastination on the team.

The article promotes this method, but this is not leadership, it is subjugation.
Actually a bomb is something that is programmed to detonate intentionally under certain conditions. There are plenty of other similarly energetic chemicals around the house, like gas in cylinders. The problem with some batteries is, unlike a bomb, the detonation conditions are hard to control. Luckily battery ignition, as enegetic as it is, is low velocity.
I barely see these color differences, but swapping pairs clearly shows what’s wrong. It is like a bubblesorting by hand.

Score 0 (iphone se screen)
I would not accept that video as evidence. Certainly not with the censorship.
The loading of a UPS semi might not look like this - at all... In addition to the criteria already mentioned by your parent-post, that need to be considered while loading, stability of the load is another important factor. The system in the video just stacks same-sized packages on top of each other, which is not the best approach. The reality is much more complicated as this. You might also be surprised, that the loading-speed shown is not that much faster than a human can do it.
Unix commands:
awk - AWKWARD. When you write in awk you become awkward.
sed - When you write in sed you become extremely sad.
>> Lightsabers?

>> Zeitgebers! It’s this weird German word. There’s a lot of cool words in sleep: like the photo receptors control the release of melatonin by sending signals to the suprachiasmatic nucleus, just like supercalifragilisticexpialidocious.

See kids? Science is this really cool thing with all those cool words. And stuff.

Science!
Mastering MongoDB – Faster elections during rolling maintenance
>You'd think that science would make things here a little more conclusive by now...

One of the troubles is human bodies are quite complex and able to thrive on a wide variety of diets so any simple looking at the correlation of factor A and result B is likely to be shaky due to all the other stuff that happens. One example I found amusing is the correlation between alcohol intake and health. My recollection is the UK government did some study to do health recommendations on how much to drink but found the healthiest drank something like 4 pints a day so thought we can't say that and recommended max 2 pints or some such but the thing is cause and effect are basically the wrong way around - people drink till they feel ill and the healthy can drink more. There's a lot like that.

My rule of thumb is to ignore the 'science' stuff unless they can quantify how many years the bad habit takes off your life. Salt was never like that. The big ones are smoking - 10 years or so, obesity - of the order of 10, air pollution - of the order of 2 years.
Yeah. They should just use ROT13 as substitution. Then key availability is not an issue anymore.
I am willing, but only if everyone else is too. I think that's how most people feel.

When it comes to what transport mode is best for the environment I basically am a toddler. I don't actually know what's best. I need to be told what's best by one having a prohibitively high price.

I don't even need to claim that it won't work, I can just point to evidence and you can see: it does not work. People are taking the plane because they can afford to.
It's about quality not quantity.

"You people do not sleep correctly ..."
https://www.youtube.com/watch?v=ZIxNgQ-CwPo&t=65
Very few websites (apart from the most basic ones) are keyboard-friendly.