skysight-inc/HackerNews huggingface dataset:
To me this is a fascinating byproduct of North American life... especially having left. The reality is that that work is the least important part of my character - though it pays for things.

I have no idea what the majority of people in my community do. We simply never discuss work, there's so much more between family, nature, and the goings on in the world. The complete reverse was true in North America - the first question after "what's your name" was invariably "what do you do".
It's an interesting fact that one could save many lives by donating to charities and yet wouldn't feel quite the same way about it. Clicking "donate" on a screen and filling in credit card details isn't as thrilling an experience as yours even if it achieves no less.
Small government logged into chat. Wouldn't smaller government make their efforts more effective as the dollar per person corruption would be higher?

And then we go, "oh gee, we don't have enough people to audit white collar crimes because the Small Government crusaders gutted the IRA, for some reason".

It's not about small government, it's about an ineffective, castrated government, so companies like Exxon can steamroll it and have their own way to profit.

Exxon would love nothing more than this... small government.
Also, more simply perhaps, if the OP was using Python, their User-Agent would indicate it, and that too could be filtered out easily. I'd have at least taken the small additional step of using a real User-Agent cloned from their actual browser.
This is such a ridiculous statement to me. If this were a real problem we would have noticed by now with stackoverflow. I truly believe the vast majority of capable developers read, understand and test code they copy from somewhere. This is even more obvious with an AI that will never suggest 100% correct code all the time.
Much less humidity in AZ although it is easy to succumb to the heat if you don't take precautions. In BC you have a completely different environment where a lot of the heat is attributed to/through humidity. It can be 25C but feel like 35C due to the Humidity. AC is not something people have required in these areas. If they are still under a semi lock down, than they may not be able to seek shelter in shopping malls, etc.

I can't imagine what would happen in Toronto if it got this hot, they are still in a nutty lock down type of scenario (16 City wide Infections in a city of 2 million and it remains almost closed) where shopping malls are only allowed 25% capacity. Considering many folks still don't have AC, it could get interesting.
The power of higher-order functions in Python
Amazon announce two new leadership principles
While we can sort the keys before iterating a plain hashmap, getting insertion order is particularly cumbersome because we need to keep some extra information about the original ordering of the elements. So I guess I'm kinda glad that this is the default implementation, and getting other sort orders is easy with just having access to the keys.
I came to this conclusion when I was about 24. I was thinking about what I wanted most from life. Success, a girlfriend, a car, etc. I settled on autonomy, although I phrased it as freedom. Freedom to do or work on what I want.

I work part time now and spend most of my days working on what I want. I guess I partly achieved that, by age 36. Getting there.
> I base the Muji prediction on their hopeless online presence

Isn't that "A Thing" with Japanese companies? :)

Well, as long as their retail stores don't all disappear, I'm ok - I don't much like shopping for stuff like thay sell online.
racecar driver / AI professional obv.
Non-scammers is a pretty broad set of people, most of whom are not interested in that. Who specifically do you have in mind?
"The other feature you quickly find yourself needing is the ability to use arbitrary objects as keys in a hash map. In languages that don’t support that (Perl, Python, Go, JavaScript until recently)"

I don't think that's right. Python and Go do effectively support that. Each has their own take on the problem of being unable to use mutable keys, but I index by some sort of object all the time. Makes iteration over hashes substantially more useful when you get objects for both hashes and keys.

Back in the Python 2.0 era, before it grew all the other features that were advantages over Perl, before Python even had generators/iterators, this was one of the big reasons I preferred Python over Perl. Only being able to index by strings wasn't necessarily a huge stopper in theory, but in practice it was very dangerous, because you really need to encode your keys. It was extremely common to see

print($hash{$keyPart1 . "|" . $keyPart2});

when what you need is

print($hash{pipeEncode($keyPart1) . "|" . pipeEncode($keyPart2)});

to be safe, where pipeEncode can be as simple as a routine to backslash encode pipe and backslash characters (although no simpler than that; you must do both of them to be safe, that's the minimum). This could result in non-trivial bugs and even security issues when you start encoding things like $object . "|" $permission and hackers start sticking pipes in the names of objects.

But between the inconvenience of that if you know what you're doing, and the pile of code you'll encounter from developers who don't know why that's important (and may even argue in code review), it was definitely the sort of thing that grinds you down over time.

In Python it was safe to

print(hash[(keyPart1, keyPart2)])

and it was consistent and safe. Or use an object, etc.
They're not exploiting anything, they didn't choose the names for cellular or WiFi technologies. At worst they'll say 5G instead of 5 Gigahertz but they're not attempting to confuse or conflate anything.

Think of your internet connection like the water coming into your home. Your 2.4Ghz connection is like the water dispenser on your refrigerator, and 5Ghz is like the hose bib on the outside of your house. If the water authority says the water pressure is enough to fill up a 5 gallon bucket in 1 minute, someone will call up complaining that it takes 20 minutes to fill up a 5 gallon bucket from the water dispenser on their refrigerator.

Your ISP telling you to use your 5Ghz Wifi to test, is like the water authority telling you to test with the hose bib on the outside of your house.
Almost everything is cyclical in fashion. There was a period not long ago when jeans became unfashionable in the UK because they were associated with middle-age dads. People looked towards chinos (not the type you're talking about) as something different - you could get skinny/slim/athletic chinos. We've seen the same with skinny jeans - wider-leg jeans and other trousers now seem to be gaining pace.
but what about 'long torso' tall folk? I'm yet to ever find a good place for that - beside bespoke clothes (which just feels weird to order a v-neck from)
The mysqli extension in PHP is fine to use and has advantages over PDO if you only ever plan to interface with MySQL. Now, if it was recommending the mysql extension, that would be bad as that's been deprecated and replaced by mysqli for a very long time.
That (now dead) link lead to his CV and contact, not an extension.....
Why Big Companies Need to Adopt Open Source
How is designing a very large system even close to the same thing as writing a few small functions? That's like saying an architect designing a building is doing the same thing as a brick layer putting down cement.
If I were building a new browser, priority 0 would be uBlock Origin support with a front-page guarantee it will never be neutered by any future "standards".
World's largest Cyrillic QWERTY keyboard replica
Youtube deserves no credit: they do nothing to make educational videos more discoverable, they cannot even categorise them properly!

My 'feed' is filled with videos I already watched and typically the only way I discover new content is linked from HN or other sites.

Neither does Youtube treat their educational creators well - as far ad they are concerned, 'influencer' reviewing funny viseos has more value than educational content.
You know that boards elect CEOs and approve pay packages? So the Exxon CEO just lost 25% of his boardroom support.
Yea! If only the government was smaller, and lacked any teeth to do anything, Exxon wouldn't have to lobby anyone to exploit the commons for their own profit!... wait.
Social Media post template for Shopify employees who's options just vested
[Number of Years] years ago I started writing a chapter in the Shopify story, and I got the chance to work on some incredible initiatives like [initiative].

[Random stat], [Random stat], [Random stat] and [Random learning], it's time for me to close my chapter at Shopify, so other people can write theirs.

I could not be more proud of what we have done. Thank you to all the amazing merchants, partners and to the best team in the world for helping build this machine.

Thank you Harley Finkelstein and Tobias Lütke for giving me a seat on the rocket , its been the ride of a lifetime.

Thank you to all of me colleagues and friends at Shopify who helped me and the team at every step. You are all incredible.

Shopify is a special place, and I am excited to watch it continue to exceed expectations for years to come.

As for me I have no plan, so I am going to spend time with friends and family, but am sure I have more chapters to write, so we shall see what happens.

Thank you Shopify
Would the alcohol help keep it safe afterwards though?
No. Not like that at all. That’s meaningless.
Hahaha, that reads like she was about 50% corporate shill, 50% a poli-sci academic specializing in lobbying with no filter on delivering the raw academic view of things.
Absolutely, Also see Sunrise Movement
The US is creeping towards a reality where houses are bought primarily as investments by REITs, corporations, and the top 10% (eventually top 1%?).

This slow but steady progressions seems inevitable, given our culture. So I think the housing market will increasingly look more and more like the stock and commodities markets.
Twitter response from Darren Woods, Chairman and CEO of ExxonMobil... “The individuals interviewed were never involved in developing the company’s policy positions on the issues discussed. We condemn the statements and are deeply apologetic for them, including comments regarding interactions with elected officials.”…

https://twitter.com/exxonmobil/status/1410389477214801922
Not only that, but for example for table tennis there are hundreds of high-quality teachers showing you the basics of the sport, sharing tips on how to get better, giving you professional advice on how to train and much more.

It is a lot easier nowadays to go from completely new to decent or even "good" in a specific domain by following some simple visual instructions.
https://www.bbc.co.uk/news/business-57665593

This doesn't sound very exciting to me. From experience spare parts from the manufacturer cost a fortune.
> The context of a public holiday can explain a decrease in sales on that day.

As an aside, the way this is handled is with a calendar like the https://nrf.com/resources/4-5-4-calendar

I wrote a time library once that handled calendars like this automagically, so you can roll the context in if you're clever enough.
I am in London, but my local store is just outside. I has no idea this service was a thing. Fortunately for me, the off-the-shelf length is a perfect fit (34" for me).
IRL binary tree balancing.
I’m laughing a bit at the calculator example though because, in 2021, if the calculator started to be configurable from within the UI out have any kind of persistence (eg keeping your calculation history from session to session) my very first inclination would be to grab SQLite and skip right past plain text/YAML/.ini etc files.
If you have someone's credentials for a service, it is easy to use them to log in to that service, no matter what they used for authentication.

Moving the goalposts until only your argument is valid is nice if you like to be tautologically correct, but is not very useful.
It is already possible to do this remotely. There's tech that allows to point some kind of sonic device at your head from a fair distance and it's possible to hear your inner voice.
I am the victim of this device testing here. For the last year a group of people used sonic device to test interaction with my brain, without my permission, illegally. I have experienced similar symptoms to the ones reported by victims of "Havana Syndrome". I could provide more details, if interested.
Google does not require SMS 2FA. Not sure if Apple does, they prefer to use other devices logged into iCloud as 2FA.
> but doesn't change the fact the poster is wrong

Again, I think you're missing the point. The very specific, non relevant way you interpreted the claim is factually wrong.

To me, the claim read as:

> the military spending is never cut in a significant way

Which again, at an absolute level, is generally true when looking at inflation adjusted spending. Within context, absolute is relevant here though as this is about government process. The whole context makes this claim incredibly tangential to the whole point, which more or less boils down to "government has a lot of inertia".

> doesn't change the fact the poster is wrong

Again, did it ever really matter how the cold war affected spending here? What's the point of calling this super nuance out? My point is not to argue about 1990-2000 military spending and the measures of it.

I'm calling this out to say "arguing over small irrelevant details to an argument is not very productive if you care about the real topic at hand".

Are you trying to make this case because you believe that the government does not have a lot of inertia when it comes to these things? Great, then make that case instead of this rabbit hole. Or is this rabbit hole just about the non relevant fact itself?
Amazon adds two new leadership principles just days before Jeff Bezos steps down
>The modular home does not innovate

factory construction alone is a huge innovation - and if they have figured out a way to solve some of the transportation and assembly issues in a creative way they will literally be solving the biggest barrier to factory home construction.

Factory constructed modules are far more consistent and can be of far higher quality that field construction. The biggest factor - your building indoors out of the weather! Factory constructed parts can be built on jigs, making the resulting product a lot higher quality and more consistent. Finally factory construction makes creating specialized tooling that speeds construction while increasing overall quality financially feasible.

The big bugaboo with factory construction is getting the thing from the factory to the job site - and that's something they have a new take on and is what's really exciting. Within the next year or so I will be looking for a new house. If I could get a lot and plop something like that on there I would love it.
I would rather see him lose his job, wealth and freedom, but I guess it's a start?
That's a much more plausible version. It's still more complicated, though, and requires the complicity of many more people, and is therefore less likely to be true. There's also the rule of thumb that we shouldn't presume malice when incompetence fits.
NeuralTheoremProving in Lean Using Proof Artifact Co-Training and LanguageModels
Don't these people know that if worst comes to worst and we get into a Fallout type of scenario, the people on the bottom who have survived will not have any qualms about doing the worst they can to these people?
An interesting comparison on two best in-memory DBMS' — Redis vs Tarantool
Huh, that’s an interesting perspective. I guess, being on HN and everything, that everyone has those illusions to grandeur at some point.
I can imagine being a priest/follower of Pluto, and finding an ancient cave that is unnaturally hot and with dead animals all around, dead because of non-apparent reasons and thinking that it could be a hallowed ground for the god of the underworld.

Truly, truly amazing.
Shop Talk: a new version of the technical interview
What do you suggest instead? How will that not be "made useless via some loopholes or other means"?
Also, the ability to observe professional athletes in high definition. When I was first getting into tennis, I found it incredibly useful to see the best in the world practicing 4k 60fps [0].

0: https://www.youtube.com/watch?v=JMa5xHfJlBg
I’d just like to add that “Dynamic Programming” is one example of word fluff. “Dynamic” is somewhat of an ambiguous marketing buzzword, unfortunately.
> The first thing I find when I google a command are examples, usually covering exactly what I need.

I see a lot of people reflexively reaching for Google or Stackoverflow when working with a command (or even a programming language) that they aren't familiar with. Often it will get the job done, but I feel it only provides a shallow understanding of what the tools can do. Do you similarly search for examples when trying to use an API in your language of choice, or do you consult the reference documentation?

Take, for example, fio(1), a tool for running I/O benchmarks. It probably has over 100 options. It is insanely flexible. You might not even consider using it if you didn't know what it was capable of. You can either sift through dozens of mailing list conversations and stackoverflow threads to find the perfect benchmark, or you can browse the man page that explains all the options.

I guess what I'm saying is that one is not a replacement for another. If you're skipping the man page, you're losing something. Whether or not you'll miss it is another question.
This post could be summarized as "write as much of your project's tooling as you can in the project's main programming language and the project's main programming language should be Clojure" and I agree wholeheartedly.
I'm not surprised.

I don't think anything is going to change, I'm sure these acts are just buying time until oil companies and their shareholders have time to invest in cleaner technologies.

Still, we will have the same problem when the next damaging act for the environment is carried out: governments will turn a blind until the top 0.1% reaped all the profits and they're safely disinvested, leaving everyone's pensions and index funds to take a hit.

We need to get rid of corrupted governments which are only good at increasing spend without solving problems and then sue environment damaging companies in private courts.
I guess it will stay just a dream.
The problem with this line of thought (and generally libertarian ideology) is the requirement of a threat of violence to conduct commerce. The violence can't come from the parties involved because if there's an imbalance it ruins the neutrality of trade. But the threat of a violent outcome (jail, or fine with physical enforcement) must be present to prevent theft.

Once you accept that you have to give a 3rd party the monopoly on violence you are now effectively giving them the authority to do as they please. You can wax on about how government should have less power on internet forums, but organizations with power and weapons don't give up that power without using the weapons.
Show HN: Document Based Requirements Management for Jira is Out of Beta
Build enough organization to effectively work towards a goal, say passing a particular bill; and once the goal is met, the bill is passed, it seems such a shameful waste to let the organization dissolve, when it could be re-purposed to another similar use.

Recycling is good in other contexts, right?

Also, sometimes, the organization was built and the cause fought as a route to empowerment for the people doing the organizing, in which case the goals are irrelevant. Sometimes the goals were the true reason, in the beginning, but the empowerment becomes too seductive and they fall aside.

Humans is tough to wrangle.
>A reference would increase confidence in these assertions.

The one and only Tony Heller: https://realclimatescience.com/2021/06/yes-climate-change-ma...

>Solar activity hasn’t been increasing massively over the last century, whilst average temperatures did.

Not really. The earth has been gently cooling down since the 1930s. The US has the best temperature records which is why it's the most useful to study.
If you’re the only person willing to collect trash, people will pay you a lot of money to do it, and you’ll have a much nicer house, car, holiday, or whatever you want to spend it on.

Markets are great.

Felix Dennis: one of the richest people in the Uk got rich by digging holes and putting waste in it. And selling the dirt.
I see no harm or cynicism in doing so, either. I edited my original message to make it clearer.

I'm completely fine with chasing an incidental topic, my comment was in reaction to the parent's comment about people going offtopic, while, to me, it's pretty logical that the topic is going to be the news while it's still hot.
Voters should be allowed to lobby. Ideally, sociopathic wealth hoarders should never be allowed to lobby or vote. But some of those are people, so those'd be the exception, sadly (https://news.ycombinator.com/item?id=27698751).
Java uses UTF-16 for internally storing strings, however all it’s APIs use the platform default charset which is usually UTF-8. It also uses modified UTF-8 for storing strings inside compiled classes.
>is there a domain where correctness is not paramount ?

pretty much every domain, if you exclude finance & industries that intersect with life and death decisions such as pharma/medicine/airlines/defense.

what’s the correct order of movie recommendation ? its easy to see that given your past netflix history, there is an obviously incorrect order. but there is no obviously correct order - any number of orderings will work. correctness is not paramount.

what’s the correct puzzle to assign to a 1400 on chess.com ? obviously there are hundreds of them that would work. correctness is not paramount.

what’s the “correct price” of a used Ford Focus ? depends on whether you are a bandit who needs the car for a rapid getaway, or whether you are the brother in law of the used car salesman, in which case the correct price is zero usd.

the sole reason why 100 million developers crowd the web programming circuit and not other gatekeeped domains is because correctness is not paramount. whether your color code is off by a shade on this browser or your pixels misaligned on that browser, its all fine so long as it somewhat works. correctness is not paramount. otherwise nothing would ship.
Show HN: Visualizing Kubernetes Resources
I've always found this goofy copypasta version of the poem to be really funny, because even in the silly voice it assumes, it still manages to capture something of the essence of the piece. Even as written here, that last line has a certain power and resonance:

I met a traveller from way the hell off
who said: two gigantic, fucked-up rock legs
be out there in the middle of goddamn nowhere
right next to them covered in shit some kinda big face
looked pretty pissed & upset & whatnot
all damn covered in words
“yo ozymandias here, this my shit”
“better than your shit, get fucked buddy”
not much else tho, just sand
shitloads of sand all over the place
Not everyone has specific dreams, rather their dream may be being in an essential role, part of a good team, etc. Anecdotally, I've met a number of people working in solid waste and every single one of them loved their job with one citing specifically that they are done before 1pm every day and have an entire afternoon to spend with their family or with their hobbies.
Putins idea of outright banning foreign NGOs suddenly sounds reasonable.
> hopefully it will mean that treaties are more likely to be kept and that stolen land can be restored to its original owners.

What do you mean exactly by “original owners”?

If you simply mean that the US should return land to whichever group was occupying it when the US took it, that doesn’t seem particularly fair in cases where that group “stole” said land themselves. So how far back do you want to trace land ownership?