skysight-inc/HackerNews huggingface dataset:
> Never had any problem renting cars online from hertz, unsure what the problem is.

Just a few weeks ago, I showed up at a Hertz location to pick up a car rental I had already paid for. They refused to give me the car saying that they didn't have some kind of required booking number in their system and that I would have to pay a second time to get the car. I showed them the withdrawal from my bank account, and the email receipt that Hertz had sent me saying that I had paid. They had all of my information in their system and the car was ready to go, they just insisted that I needed to pay again because their system did not have some number that they required. I spent 3 hour on hold with their customer support phone number, and they were unable to help. I eventually told them to go f themselves, disputed the charge on my credit card, and rented a car from the booth next to them at the airport. Hertz is a completely incompetent company, and that's before getting into the horror stories of returned rentals that they've reported as stolen, landing people in jail for the crime of renting a car from Hertz and returning it on time. I will never do business with Hertz (or Thrifty, which is also Hertz) again.
Tom Cruise is a scientologist, and he's a good actor.

Maybe KneesOverToesGuy is a scientologist and knows a lot about knees!

It's not like being a scientologist makes you completely incompetent.
js is single-threaded so no problem there.
As a brit I get quite frustrated by this too. The obsession with Oxford and Cambridge is hugely frustrating. We have many really good universities, but somehow many people will just never be able to get over the obsession with oxbridge.
If you're a real contractor you don't have to justify anything, it's just a price change of your services. I assume you're an "employed contractor" (someone who works for 1 client only) which technically means you're employed. So just go with the usual: Go interview for someone else and then say "I have an offer from another company for $X/hour, will you match it?"
Pretty sure I got made to do this one when I got my first job in the UK (at a sports betting company, that turned out to be a pretty terrible job overall - I misinterpreted "gaming company" to mean video games...)

One of their investors came in to run the test, it was his thing, apparently. Weird industry full of weird and corrupt people.
https://www.dir.ca.gov/dlse/california_equal_pay_act.htm
There are no capitalists in foxholes. Stop voting for neoliberal vampires (i.e., Democrats) and small business tyrants (i.e., Republicans). If people want price controls, vote for social democrats and communists. If none are running where they live, run for office on monopoly busting and price controls.
"X is fundamentally broken" is a tired trope. To me, something is broken if it is no longer working as intended. It used to work, but now it does not - it is broken.

If something works as intended, but its utility is limited, and it can be improved, it is not broken.
Build systems comparison: Mage vs. bob
Fascinating - I always had a hunch that the Covid lockdowns would save more lives from reductions in pollution than covid itself, I hope studies (like this one) can explore that topic.
What I enjoy about Ruby over Python the most is not intricacies of the OO implementation or delicacies of metaprogramming, but a good support for functional style. In ruby, statements are expression-like, they have a return value. Also, with Ruby it's easy to break down code to consecutive pure blocks.

Condiser the following task: take /proc/kallsyms in Linux, that lists symbols in kernel, in an '<address> <type> <name>' format, like:

0000000000000000 A fixed_percpu_data
0000000000000000 A __per_cpu_start
0000000000001000 A cpu_debug_store
0000000000002000 A irq_stack_backing_store
0000000000006000 A cpu_tss_rw
000000000000b000 A gdt_page
...

let's make stats on it -- how much of each type is present? Wanna get the result ordered by number of occurrence.

In Ruby:

# ruby -rset -e '$<.readlines.to_set.classify { |l| l.split[1] }.transform_values(&:size).sort_by { |_,v| v }.to_h.tap { pp _1 }' /proc/kallsyms
{"V"=>1,
"w"=>2,
"a"=>14,
"R"=>98,
"W"=>154,
"A"=>328,
"B"=>655,
"D"=>2910,
"b"=>3097,
"T"=>22289,
"d"=>34424,
"r"=>49904,
"t"=>55346}

Of this method call chain, first and last are impure (as they do I/O), the intermediate ones are pure.

In Python you'll have to grind through it procedurally. (Unless you use reach out to some advanced libs... https://gist.github.com/richardbann/5b363096de6b3de2e8178cce...)
> Which is why it's the product owner's responsibility to prioritise.

The company didn't seem to have issues prioritizing the authors tasks into no mans land. So they seem to have that part down great already. However I find the consistent two week deliveries early on a bit disturbing, in my experience two weeks is exactly one sprint and fixing deliverables to that time window means that you can't really do any agile planing with it, your team just has to accept that this work has to be done and can't give random work that seems to pop up every now and then the attention it deserves. To be really agile and allow your sprint planing to reflect that you shouldn't promise anything in time spans less than two months.
It's surprisingly hard to make a better algorithm that properly supports people who re-read books.
As others have mentioned, we're already one of the leading countries in terms of imprisoning people. You're saying the gun violence problem is therefore because we don't imprison enough people?

What % of the population do you think needs to be imprisoned before we recognize that maybe its guns that are the problem?
Here is an implementation of a binary HAMT that allows you to add and find nodes:

https://gist.github.com/robalni/311afd0756f25c4f234b2ae332cd...
The advice I would give to my 20 years old self is to stop considering sleep as a waste of time. Good sleep is the best productivity boost, it is also a canary for your overall well-being.

Good sleep is something that is worth investing into, bed, noise, temperature, light, and many other factors.

The second advice would be to learn to cook your own meals.
When I was doing consulting in the UK, there were often layers of white label.

Client hires company A, who bill 2.5kGBP.

Company A outsources to Company B at ~1.5kGBP.

Company B outsources to Company C for 700GBP.

Consultant at Company C makes buggery fuck all, and has to unravel the mess of Chinese whispers/obfuscation to work out what the job actually is and who they are meant to be pretending to be that day, whose report template was being used, etc.
The current iteration of the Samsung Buds Pro didn't have an iOS app, which was annoying.

Ended up just getting a UTWS5 and Moondrop Katos and being a lot happier.
It feels like America became MORE racist in the past 2 years, not less. I am starting to think all this talk about diversity and inclusion is having the opposite effect than intended.
A family member who needs to fly to Lima via Amsterdam just got an email that KLM doesn't allow luggage for passengers with a connection from another European airport.

That's after paying nearly 200 Euro for a second piece of luggage.

Oh, they apologize sincerely for the inconvenience caused, but don't bother to provide any options for long haul travellers.

I can't put this any nicer, but: Fuck you! KLM, I, for one, will make sure to never use you again. Especially not long haul, via Amsterdam.
>Against: A Large Hosting Company we used couldn't read my simple instructions and lost a backup.

One of our previous incidents happened because an employee at a large hosting company misunderstood the ticket and manually shut down our entire live server without warning
This again? McKinsey doesn’t really charge 3mm for that 23 year old. In reality the customer pays for a project what they pay. How that gets allocated over project staff is meaningless technicalities. As for the value of that 23 year old - my info is dated as of my actual McKinsey experience 20+ years ago - but other than me (who was a 25 year old particularly unsuited to the work) these were some of the most brilliant and hard working people I’ve met as it would pertain to doing that kind of work. But more importantly the job of the analyst and associate - despite a let’s trash the elite consultants article a day - is not to provide advice to corporate chieftains. It is to be the on the ground first point of interaction gathering data and running analyses so that the Partners and Directors who actually do know quite a lot can do their jobs. CEOs pay to get advice from Partners and Partners get the info they need to provide that advice from their on the ground teams. Finally, the actual cost relative to specific work product is a bit illusory. Like a banker who counsels a CEO for 10 years on the house to finally get paid with an M&A fee, Partners/Directors often provide constant counsel over many years to C level types and are intermittently given actual paid engagements.

I feel like I write this response every 3-6 months on HN so I should just save it to Textexpander at this point. I hated working at McKinsey and left in under a year. It was a miserable fit for me and I have no illusions about the firm.

But they are very effective in certain ways. Yes the costs are high but so are the costs of making a mistake or failing to capture an opportunity where impacts are in the billions. Why does McKinsey (sometimes) provide value? One - an organization may be facing something critical which it only faces once every 20 years or once ever. Meanwhile, McKinsey has institutional experience it can draw on dealing with that issue hundreds of times. Second, when the issue is more of a white page strategic question you frankly have more analytical horsepower and broader perspectives than most organizations can field internally.

Are the results always great? Of course not. Bet some of you FAANG and co devs also know some ultra high paid developers and execs at your firms who sometimes strike out. The real world is messy and hard.

People saying McK gets paid millions to have a snot nosed 23 year old tell grizzled veteran operators what to do is either click bait canard or doesn’t understand how this really works.
The Planet devices are nice; I had the first one and it is good (it was so good, someone took the effort to steal it; joke is on them; it was running Linux); I am waiting (less than patiently) for the Slide now.
If they go to that effort why not, you know, fix the intersection/road? TBH now that I'm driving in the UK there's all sorts of weird inconsistencies while driving/the roads, but their attitude to it seems to be that it's fine.

I'd just love it if roundabout signs posted before the entrance showed:
* The lane starting from the left, that you need to be in to get to a certain exit
* Number of lanes/exit

Atm it's a bunch of guesswork involving:
* Not being able to see the arrows/road names painted on the road because THEY'RE COVERED BY CARS OH HOW DID WE NOT THINK OF THIS
* Not being able to see the arrows/road names painted on the road because they're so faded because they haven't been painted in 5-10 years
I think having a personal trainer creates incentive more around anxiety, rather than sunken cost. It's different than gear.
Tweet 54 agrees?

"The magic in the system was the person yanking 24 beautiful treasuries a day out of the sea of shirtless dudes."
Since OP mentioned Mutexes I assumed he's dealing with multithreaded code, but with JS this works as advertised :)
It coincides with the rise of web-based centralized services. If you're creating Windows, the classic Office suite, classic Photoshop, MATLAB, whatever software was popular 25 years ago that users installed and ran themselves, your part of the software lifecycle effectively ends when you ship, minus some minimal level of customer support and maybe training. Feature development, bug fixes, and hopefully testing is the vast bulk of what you do as a software company.

Fast forward to today where everything is running on servers and you're now responsible for installing, updating, monitoring, and scaling yourself, and probably also want some level of automation in the test and release processes. The other half of the software lifecycle is now core to your own business. The engineering challenges posed and the skillsets to handle them overlap with product development, but are not identical. So specialized roles have evolved to fill the gap.

As for the apparent demand, this is the part of the software lifecycle that CS and SE degree programs largely gloss over or don't teach at all, and there are no bootcamps for it. It's also very difficult to self-teach for the same reason there aren't a whole lot of self-taught high-energy physicists. It's easier to build out a homelab than a particle collider, but largely you need equipment beyond a personal laptop. This means most of the people doing this kind of work learned on the job at some point, and that means they're more senior and rarer.
I agree, and it takes force to break them out of this behavior. I know of a guy, who forced the contractors to break down the wall they just built because they didn't let him inspect the place behind the wall before enclosing it, as promised in the contract. He knew that if he lets this slide, they'll keep doing it.

An analogy here would be forcing the agency designers to completely delete any speculative redesign work, without any backups, to force them to focus on the logo, and send a strong signal that I don't care about the redesign, and won't be paying that work.
This is why we are building RailsRocket (https://www.railsrocket.app/) You can get started with no-code but you have no vendor lockin because our apps are real Rails code apps.

You can extend them to your hearts content once you've got the validation or funding to hire developers
There are too many poor design decisions in the fast.ai library.

One should invest too much time just for the sake of learning the library's weird API, and then using it.

Doing something custom is too difficult, in contrast to Jax, PyTorch, and even (poor library) TensorFlow.

The coding practices are whimsical. The codebase wouldn’t pass code review in any respectable company.

Variable namings are weird and super-problematic.

I fully stick to what I said. Learn techniques, best practices, and, most importantly, Howard's attitude. Then take them with you and move onto something like PyTorch.

Howard is great with one problem: he kinda hates math. It might also seem that he ends up promoting anti-intellectualism.
> Humans are irrationally motivated by loss-aversion and regualrly succumb to the sunk-cost fallacy.

This is not irrational and it's not a fallacy. As you have proved to yourself. It's a mental heuristic that works. You spent money to get something valuable, it would be foolish to let that go to waste. What about that exactly is irrational?
The semantic web stack (including RDF, SPARQL, RDFS/OWL and SKOS).
This is the most wonderful thing ever.
Will the government ever get a stable software team (and team leadership)? One not helmed by typical (non-technical) military personnel(colonel, general, staff sergeant), but teams dedicated to IT. Having worked as a contractor, what frustrated me was the planned "changing of the guard" and the ensuing reeducation of the government officials we worked with (that drove the project goals). The fact that we had to educate the government at all (with death by powerpoint) was frustrating in itself. But having to justify what we'd already justified and in some instances taking huge leaps backwards in progress because the current administration hadn't felt the pain we had already experienced with the passed administration and were trying to solve (and were convinced that this time, under their leadership, somehow it wouldn't be the same).
Firstly there are good careers to be had now just building apps in no-code.

Secondly there will be a massive need for software development of any kind for a long time to come.

The pay and working conditions are some of the best out there as well, so yes, it's worth it!
Another advantage to Fenwick Tree: while it shares asymptotic space complexity with Segment Tree, it has better constant factors, which can be useful in very restricted environments.
If somebody made a Youtube channel going over the data structures mentioned in this thread with clear examples of pros/cons, I'd watch the heck out of it and support it on Patreon.
Bun and Deno
I'm in mathematics, and this is very much true in my field. Papers can be, and nearly always are, widely distributed on the Internet (arXiv) before formal publishing. They are widely read, cited, and built upon.

The publishing industry survives because researchers need to put "Published in Journal X" on their CVs. The peer review process also can lead to incremental improvements, and will occasionally catch major errors, but at this point everything other than the stamp of approval is secondary.
Torx screws are a big plus for me. They don't skip like Phillips screws so you don't ruin the head over time. I'm always scared to put too much downforce on a laptop.

Hate the glossy screen though. There should be a matte option on a laptop this customisable.
I'm not saying it's not warranted, it's just a different mindset I guess. I don't usually consume tech content to get mad or to find drama. I don't see the poing of yet another video about how bad alienware/oem builds (that no one in GN's audience would buy anyways) really are. It just feels like preaching to the choir over and over again, especially when it's often a bit rambly.

I'll still totally watch GN reviews of specific products that I might purchase. But that's kind of my point, LTT and GN fill a different niche. If I'm not shopping around, at the very least LTT videos are more "entertaining". And even then, while their reviews may be less serious, they usually still end up with very similar conclusion than GN regardless of who is sponsoring them.

Linus can be cringy but imo that's better than the current trend in some PC tech channels to take completely trivial stuff, like say the 3090ti being not much better than the 3090 (oh no!), super seriously. It's useful info don't get me wrong, but it doesn't warrant an angry reaction or outrage.

(If anything GN is really not that bad in that regard compared to other channels, but it still happens sometimes.)
Not an expert, but I don't think what you say represent the current state of knowledge. As far as I know...

> make sure you are doing training units of at least 30 mins regularily. Going shorter than that is not really useful to get you actually trained.

That's not true. Less time can be effective as well, given that the intensity is high enough.

> If you try to get better endurance most of your training should be aerobic (instead of anaerobic)

It's actually the opposite and interval training (mixed aerobic and anaerobic) seems to be more effective.

> the most important thing are the fitting shoes (to avoid pain in the joints). Retailers will often offer a analysis of your running style and offer you the fitting shoes. Those should then be changed every 600 to 800 km.

Running without shoes (or barefoot-shoes) is probably even better once you have adapted to it.

> for certain people with bad joints or other related issues cycling or swimming might be better choices

Even rope jumping is considered much better than jogging since the force is always distributed across both legs at the same time.
If you think Europe is bad you should see Australians.

That being said, I understand the "get out there, pick up the phone, do or die" attitude, but as a hypothetical - is it possible that it's too much, too exhausting to sustain? If the whole world could work at a leisurely pace, would that work better? (Allowing for creativity and play in work).

I ask as a hypothetical, because "do-or-die" has worked wonders for my situation, and I'm reaching a point where perhaps my life should slow down a bit. (I'm running out of goals to achieve)

Is there a component of social welfare also helping the leisurely pace?
Wagtail, you get a great CMS on top of a powerful framework (Django). Best part of Wagtail is that it doesn’t get in the way of Django so you can drop it into any Django project with ease.
Was going to mention Fenwick Tree here as well, but since you've already did, I'll just add that this is IMO a great introduction to Fenwick Trees:
https://www.youtube.com/watch?v=kPaJfAUwViY
The watch with a "Usage in terrorism" section on Wikipedia: https://en.wikipedia.org/wiki/Casio_F-91W#Usage_in_terrorism
Microsoft is atrocious. The worst telemetry kleptomaniacs ever seen.

If you use VSCode don't forget telemetry is enabled by default.

Here is how to disable it:
https://code.visualstudio.com/docs/getstarted/telemetry

I refuse to touch any Windows 10 machine that did not go through this:

https://github.com/W4RH4WK/Debloat-Windows-10

https://gist.github.com/gvlx/b4d4c5681900ca965276fc5c16fe852...

(Warning: Use at your own risk)

Here is a great experiment you can do. Use an app like for example Netbalancer that can show you bandwidth use per app.
Launch your locally installed PowerPoint. Note I am not talking about Office 365 but a locally installed Office component. Start some internal presentation to your fellow workers, just presenting, no editing or creating a new presentation. Amaze yourself at it sends data to Microsoft at the rate of 4 to 5 MB/s. Yeah...just try it.
Seems exactly like broad phase and narrow phase in games physics engine.
Similar situation here. Trying to go without surgery.

Doctors said my partial ACL tear wouldn't heal. They were wrong. But it took a lot of rehab and learning new movement patterns.

They're saying the same thing now. I'm hoping it's another case of, statistically these things don't heal because people don't change their movement patterns, not because it's impossible.

Besides a light brace, stretching and massage, I am taking collagen supplements. Considering PRP.

Good luck with your journey!
Partly off-topic, but in JS I tend to avoid iterating over promises with maps because it's always confusing what will/won't work, so I use a basic FOR loop because async/await works in there.

How bad is this? Should I switch to Promise.all instead?
This is genius wow
Great! So much nicer than the Combine (or Rx) version.
This sounds like just an excuse for spying on students. There is plethora of methods to prevent bullying that do not require an all time access to students' communication.
I'm assuming there are many things in that person's basket of goods which did not change in price at all, and many others that did not change in price as much.

Housing makes up 37% of the basket. It's noticably absent. And it's measured... Interestingly.

Lasagna at a restaurant is just a small part of food away from home which makes up <6% of the basket...

https://www.bls.gov/cpi/tables/relative-importance/r-cpi-e-2...
If you job becomes non interesting you need to take actions to make it interesting again. Perhaps some change of projects, of responsibilities, of technologies, of scenery. If it’s not possible or it doesn’t work you will have find another interesting job indeed. You may have to do that a few times during a career but I don’t think you should switch every second year.

It’s true that if you love your job, it may be hard when it’s not going great.