skysight-inc/HackerNews huggingface dataset:
Programmers had a very nice thing called "web search". Then advertising and spam ruined it.

From my point of view, ChatGPT is simply an anti-spam algorithm which is finally restoring "web search" back to being useful.

The problem is that there is no money in that. So, everybody is trying to apply all the ML/LLM/ChatGPT stuff to absolutely anything in the hopes of making some money.
You can actually stick this in your csproj. I'm on a phone, so bear with me, but roughly

<InternalsVisibleTo Include="assemblyname" />

Which means you can do stuff with msbuild props, like auto including a `$(assemblyname).Tests` into your projects.
What you are saying is that most people are able to deduce proper bullet trajectories through soft targets by watching a single section of film shot from a distance -- and that this ability is so good as to render all of the other evidence moot.
Walking in American cities is awful, but if you live in a good country that limits vehicle access its super relaxing to walk around the city and see all the cool stuff going on.

No toxic fumes. No engine noise. No risk of sudden death. Just the low background noise of footsteps, chatter, people laughing, etc.
Oops, I’m sorry :(
I’ve never understood why anyone would choose to debug by printing and logging if they have a good debugger available to them.

My day job is mostly PHP (yeah yeah, I know) and the general attitude towards Xdebug in the community seems to lie somewhere between apathy and active avoidance.

To me, a debugger is such an invaluable tool not only for identification of bugs but also for familiarising oneself with new code. The value of being able to not only trace execution from start to finish but also to modify state in a running program is immense, and gives me a small taste of what Lisp folks rave about.

Littering print statements everywhere feels like banging rocks together when there’s a perfectly good lighter in your pocket.
The (IMHO) interesting question hasn't even been asked: why?

Only thing I can imagine, at least from my experience, is that smoking kills your taste buds and most importantly drastically reduces your appetite (which is why so many people chonk up while/after quitting smoking), so Big Tobacco pushed for foods that were so palatable you'd even want to eat them right after you smoked a cigarette.
I don't disagree, but there's one major difference at play here. Those early horseless carriages--and maybe even the first ~9 decades of automobiles--were objectively simple, maintainable, rebuildable machines. Many examples from that early era are still running. None of them had proprietary computer systems, delicate plastic parts, etc.

I think it's substantially less likely that there will be any vehicles from the first couple decades of this century running 100 years from now. And it's an important part of sustainability, cost of ownership, etc.

It's hard to see the point in owning a vehicle from this century unless manufacturers start building them to be good transportation tools instead of what they appear to have become--a means to sell a financial instrument (a car loan), an ads serving platform, and a data collection mechanism. For me personally that is really the biggest barrier to owning an EV.
White roofs are being pushed in NY City.

(shared link, readable even without a sub)

https://www.nytimes.com/2021/11/10/realestate/cool-roofs-cli...
Overall a pretty good article, however I do feel like the author misses the mark on a couple points.

> Unit testing private methods.

As someone else pointed out this leads to accidental testing. I'm not a test zealot, I think 100% coverage is a fool's errand, and I think TDD is an abomination, but well-structured, well-thought-out tests can be a game changer when used appropriately. Testing things by accident has inevitably lead me to finishing some piece of work then spending half a day or more tracking down why some test failed inexplicably.

> Using an IDE.

I think a better point here is to get really good with whatever tool you use. If you know every incantation in vim you're going to be amazingly productive. If you know every keyboard shortcut in IntelliJ you'll be as effective, but probably not much more. The person who knows vim or emacs in and out will beat the person clicking around in an IDE every day of the week.

That being said some of it is spot on in my admittedly limited experience (only about 13 years or so, in a handful of industries, never FAANG-level scale). The point about commenting problem areas in the domain has really changed my approach to comments. I don't write any comments about what the code is doing unless it's a "here be dragons, don't change $X unless you're free the rest of the week" kind of warnings. But I comment extensively why the business or regulation requires A or B to happen instead of the more straightforward C.

The ChatGPT bit as well matches my experience. For well-defined things where it's hard for ChatGPT to make the answer up, and easy for you to verify if it does (or at least low-damage), it's worth the $20/mo IMO. I tried using it to learn CDK and while I'm not sure it saved me any time, it did save me from having to trawl through AWS documentation.
After working in big tech for a while I'm so used to hearing Indian and Chinese accents that it doesn't faze me. Practice seems like a good idea though maybe easier said than done.
I’ve had to fill out forms for new algorithms / quant strategies with questions like:

- how many orders per minute do you expect to create?

- how many orders per minute do you expect to cancel/amend?

- what’s your max per-ticker position?

- what’s your max strategy-level GMV/NMV?

Etc.

Any one of those questions can be used to set up killswitches.

[edited for formatting]
There will be some loss, but the heat trapped in houses wasn't going anywhere anyway. By putting it outside the home, there is a more direct pathway for it to be leaving the city. Though I wouldn't know how to quantify this by any sort of approximation, I assume it's less than the heat added from inefficiencies yeah
Well that was very silly. I'm glad generative AI music is still bad. At least I have a job as a professional musician
I "just" run a local mirror on my LAN that rsyncs to upstream every night. So it doesn't matter to me however many gigs it downloads, and whenever I decide to update all the machines on my LAN using that mirror it's fast regardless of how many gigs of updates there are.
Grinds my gears when people just hack down something that took 20-100 years to grow without even thinking of consulting an arborist.
Most seem to have stopped and are handing out /48’s in my experience. Do you know any not doing that still?
The reason TW has big 1500-package updates is not because of any snapshotting. It's because TW's automation defensively bumps the release number of reverse dependencies. So if libfoo is updated then all reverse dependencies of libfoo are also updated, regardless of whether the libfoo update was ABI-compatible or not.

In Alpine for example, the maintainers only bump rdepends when they think those need to be rebuilt, which sometimes leads to them underestimating and those unupdated rdepends end up breaking. TW avoids that but at the cost of a lot of "pointless" updates.
Perhaps it's obvious but I'll ask the opposite: how large are the possible negatives security wise for this?
Is that really necessary though? Can't it be attached to the roof in a fixed position?

Or automatically learn it's position by looking at the hood? Or let the driver do it themselves with a "Drag the image till the lane markings match" kind of thing?
I don’t see why anyone would trust future payments in the dollar. It’s not backed by anything but trust. Sure, you’ll get your social security at $5k/month in 30 years, but the money will be worth toilet paper. Sure, your army pension will be there, the raw $$ amount, also worthless.
Trees are so much more than swamp coolers.

Leaves block the Sun relatively high off the ground, meaning people are in the shade during the hottest part of the day and feeling as much radiation off buildings and streets in the evening.

Beyond cooling they’re also good for water management. Most street trees don’t need any watering (at least in the Midwest) they live off rainwater. When it rains, water pools on the leaves and evaporates from there, reducing the amount of run off and keeping the street drier and less humid on days with light rain.

In cooler months (and places where this is relevant) the leaves fall and you can still get the warming benefit of sunlight.
I’m sure they have a lot of rationalizations and just default inertia around various practices. Could the interviewer successfully answer a niche question proposed by the interviewee? If they can’t, should they forfeit their job to the person they’re interviewing?
Got one on sale after New Years when Garmin was clearancing out the old Instincts to make way for v2 of the same. My intention was just to be more aware of my activity level and at least make informed choices.

The imaginary internet points have proven remarkably effective at keeping my step count up since then. I hate admitting as much, but I guess in this case it's a force for good?
I work for a global hotel company. No, booking does not penalises them. The internal system are fine but Booking is a third party, so quirks are to be expected at times
It’s all dubious.
Europe has what? about 600-700 million people?

So one in 10 of the Earth's population is possibly doing something about the electrical infrastructure. The other 90% ? ...... crickets.
Suno AI Chirp v1: Text-to-Music Generation (Examples)
“The market” shouldn’t even exist.
> I think this is very naive to the history of the soviet union at that time period, how gorbachev's new policies failed, how chernobyl effected everything, and how much of an internal failure this was. the usa likes to claim they ended the cold war and reagan did so by blah blah blah, however, the soviet union would have collapsed given gorbachev's policies failing no matter what the usa did.

There's no contradiction. The argument is that Gorbachev felt the need to set those policies because he saw how much more successful the US was being economically.
Oh yeah! I turned that off so fast that I forgot about it. You're absolutely right. I remember deriding that as the Fisher-Price UI.

And I hated, HATED the "my this' and "my that" fad that dominated the early '00s. Yeah, I know it's MY computer, because it's on MY desk full of MY documents. So goddamned infantile.

Sadly, I've seen some resurgence of the "my" BS lately.
It's worth understanding that the initial hard coded (pre OpenSBI) code on a real CPU (rather than an emulator like QEMU) is likely doing a bunch of things:

- Initialising the DRAM controller and sizing memory
- optionally doing some crypto auth of the OpenSBI/etc to make sure they're not bogus
- Copying OpenSBI (and possibly a subsequent U-boot or kernel) into it from ROM
bundlejs: Package Bundle Size Checker
Haha never seen that one before! Unfortunately it’s pretty radioactive, couldn’t even box that thing.
Surely the example that says these two would be equivalent is wrong:

foldl (+) 0 (take n myList)

reduce (takeNPlus 10) 0 myList

I assume it should be (takeNPlus n)? (or (take 10 myList))
Please don't give them any ideas. "Unfortunately" I rely on Fi for travel. So convenient. Come on Google, please leave this one alone.
To make dishwashers great again? (2020)
Yes if you eliminate an entire class of testing infrastructure, tests become harder to write because you end up poorly implementing that infrastructure in every class.

How does this show you "issues in the code base's architecture?"
Applause nitpicking the nitpickers, love it
I was going to mention Babel before reading the article, but it turns out it’s there.

I think everyone in the cyber community knows that three letter agencies are using and abusing OSINT especially Babel in their work, which is why whatever you write or say online with any of your real ID, assumes it’s linked to you in some database somewhere.

OSINT isn’t illegal, it’s just accessing public data the person posted, and from what I have seen, mostly what the person posts is usually what will pinpoint them for further analysis, Silkroad is probably the biggest example.

Simply put, if you would avoid these passive crawlers by the spooks:

1- Different username for each service, or a common one goes too.

2- Do not use the same email across multiple services, use a catch-all or a masked alias for each service, that way knowing one won’t lead to another, Additionally, you will get a heads-up if that service is breached, remember, emails are NOT secure by design, no matter what the provider says that you pay for, emails are not secure.

3- Do not use any service that asks for your phone number as a way to “verify” you or to access the account, period. That will include all social media and even the ones advocating themselves as security-focused like Signal and the likes, Phone numbers are one of the easiest and best way to ID someone, regardless of the details like E2EE etc.

4- Don’t use your real address, and if you have to, get a virtual one.

5- IP, While you can use a VPN, the best way is to use a shared wifi, I will leave the rest to you to find ;)

6- And obviously do not go vlogging all your life on the internet.

Up to here it doesn’t take much, rest will definitely will:

7- AD ID in the article, well, it’s probably the toughest as unless you go with custom hardened smartphones and avoid using most apps, most likely it will leak, so best to have two phones, one for these apps and another for yourself, not the optimal solution.

8- Work history, well, as long as you pay the taxes most likely will be traced back to you, Additionally, you can register a company and work as a contractor but that defeats the purpose if you are after keeping a low profile.

And lastly, create a profile with your real name/phone in some popular social media with some puppies in it, so it will come up first when someone search about you, as having nothing at all will definitely have some raised eyebrows, feel free to add some tips too.
What’s something that Colin did that was reckless? Everything he does looks pretty run of the mill
for a workshop, but cool.
As a profit non-taker, which responsibility a worker can even have? Realistically it lies in range of their monthly paycheck and pending bonuses and in a moral obligation to operate a failing system until it lands somewhere. Everything above it is a systemic risk for a profit taker which if left unaddressed is absolutely on them. There’s no way you can take responsibility for $400M unless you have that money.
Like any other kind of employee, you the stakeholder are responsible to get them trained in the role you delegate to them, or to evaluate that they meet your needs before hire. Designers I know do art for fun, but at work they design to solve business problems. They have a lot to say about this topic. In any case it isn't due to some character flaw on their part.
With regards to temperature, there are more levers to pull, like the aspect ratio of the street (narrower = cooler). Architects in Taiwan and southern China have been studying arcaded streets (qilou/騎樓), which seem to be as good as trees for shielding pedestrians [1], except in situations where the sun might shine through the sides or ends.

Of course, trees are great for many other reasons like air quality, but for temperature fundamentally they're just big evaporative coolers. I wish cities in more water-stressed areas would consider arcades + rooftop solar.

[2] https://www.mdpi.com/2071-1050/11/5/1355/htm
So being generous and assuming you paid 50% tax, that means you got 0.07% of the company, so about 10x dilution. Is that normal?
Why doesn’t this Monkey Haters group just move these monkeys to a monkey meat factory farm and do the abuse in there like we do legally to other animals?
I feel like the gamification and reminders on the Apple Watch are not that compelling, but having long term history tracking of some stats actually is interesting.

A few years ago I moved out of the suburbs and in to an inner city apartment. Decided to just get rid of my car and walk everywhere. I made no effort to actively exercise, but just went about my daily life. What surprised me is that since I went car free, my average heart rate has been constantly declining and my weight has as well. I don't follow any kind of diet and don't really do intensive exercise (until recently).

Just getting rid of my car and walking around massively improved my health in ways my apple watch can pick up.
> A new study from the Department of Archaeology at Tel Aviv University found that the extinction of large prey, upon which human nutrition had been based ...

We ate them all.

https://ourworldindata.org/wild-mammal-decline

A global population half the size of London contributed to many of the world’s largest mammals to extinction. The per capita impact of our hunter-gatherer ancestors was huge. ... Trace the footsteps of these tiny populations of the past and you will find extinction after extinction after extinction.

https://ourworldindata.org/quaternary-megafauna-extinction

Between 52,000 and 9,000 BCE, more than 178 species of the world’s largest mammals were killed off. These were mammals heavier than 44 kilograms, ranging from mammals the size of sheep to mammoths.

From the article:

"But one may well ask: Why did humans become smarter all of a sudden? What was the advantage of having a large brain that consumes so much energy? We demonstrate that these biological and cognitive changes correlate directly with the size of prey. To hunt small elusive animals humans had to become smarter, faster, more focused, more observant, and more collaborative. They had to develop new weapons for hunting from afar and learn how to track their prey."

Eating meat is often credited with boosting human intelligence, but it probably was the challenge of adapting to decreasing biodiversity and the need to hunt smarter that truly accelerated our cognitive development. Similarly, as we grapple with climate change and pivot towards plant-based diets, these new challenges may offer opportunities for our intelligence to evolve even further. ;)
The IPCC estimates 250,000 excess deaths due to climate change by 2050.
>Lock-free

export std::mutex iolock{};
export std::mutex errlock{};
SDL_PollEvent

Not yet at least.
I don't know if that is a joke, but shutter != gutter. A shutter covers the window during hot weather to keep the sun out and keep the building cool, and can be opened during cooler weather.

The relevancy is that unlike air-conditioning they don't consume power or heat the surrounding city.
Running is much more beneficial as you are in completely different heart rate zones as a simple walk. Don't use the step count itself as a goal.
Today the lander. Tomorrow the ~~World!~~ Moon!
Show HN: Update command: shell scripts to update systems, packages, projects
Leisure Town
> From my point of view, ChatGPT is simply an anti-spam algorithm which is finally restoring "web search" back to being useful.

For now, I imagine that advertisers are currently trying to find some way to adapt their platforms to have an LLM spit out their product via some paid prompt injection that a publisher can sell them.
Usually, yes. You might want to make a motion in limine to the court before trial to let them know you plan to do it and to get the court's approval. This will also put the prosecutor on notice and might stop them from using the witness altogether.

I always use FOIA to access the police department records during pre-trial for defendants. The prosecutors are supposed to supply useful information like this to the defense, but I've never known it to happen without some prodding.
Providing export to PDF while allowing save to docx is what allows the user to completely ignore virtually everything about the underlying model at the expense of one additional menu. All the model they need is in knowing how to operate a standard menu.

99.99% of document editor don't open or edit PDFs for a reason and doing otherwise is incredibly impractical.

You are best case asking to literally treble the scope of the app to go from one menu to two and because PDF is a giant piece of shit the result will probably be substantially more buggy.

We either need to seamlessly handle the mismatched formats whilst handling complexity like embedded documents or the users mental model now must encompass what features work in different formats. In all likelihood we end up in the worst of all possible worlds where it's a little bit of both.

Then the experts who actually care about sharing working documents now have the functionality they need hidden in a special mode which by definition few will ever learn about while received wisdom will end up being not using PDF or printing and scanning.

If you special case save as *.PDF to produce a PDF but not change the active save target to avoid lovecraftian horror you avoid most of the above but now save as a feature most people understand works different in your app than everyone else's.

The people who have export menus aren't stupid, you aren't actually smarter than them, you should at least understand why the fence you want to bulldoze exists it exists for good reason.
> “Ultimately, we hypothesized that prey size had played a major part in human evolution: at the beginning the largest animals were hunted, and when these were gone humans went on to the next in size, and so on. Finally, when hunting was no longer energetically viable, humans began to domesticate animals and plants. That's how the agricultural revolution began."

I had never considered this angle before. I always thought humans started agriculture to deal with scaling and the development of cities, but the idea that it was actually a scarcity pressure from decreased size of huntable game is a really interesting alternative.
CI/CD would have have solved this 100%:

> ... one of Knight’s technicians did not copy the new code to one of the eight SMARS computer servers. Knight did not have a second technician review this deployment and no one at Knight realized that the Power Peg code had not been removed from the eighth server, nor the new RLP code added.

Read this part again:

> ... one of Knight’s technicians did not *copy the new code to one of the eight SMARS computer servers*.

Yes, of course a CI/CD pipeline can fail midway through and only partially deploy the code to a partial number of servers, but I doubt it. And even if that were the case, just off the top of my head I can guarantee an Ansible Playbook would have not only stopped the moment that particular transfer failed, the whole Playbook would have therefore failed, and none of the services would have been restarted (because that would be a final step that wouldn't be reached.)

This was due to human error and is the very reason CI/CD/automation is a thing.

> Knight did not have a second technician review this deployment and no one at Knight realized that the Power Peg code had not been removed from the eighth server

CI/CD would have have solved this 100%. A "Pull Request" made against a repository of Ansible code (or whatever you flavour is) would have *PREVENTED* the first technician from ever being able to merge the code into master/main (because you have master/main protected right... right?), completely preventing the entire process from ever rolling out without a review, which would have hopefully caught the misaligned configuration.

DevOps, which is mostly underpinned by CI/CD, would have solved this 100%. I'm very certain of this.
If you think that’s how it worked then you’re as naive as the voters who were manipulated.
> The employers need metrics,

I'm guessing some do, the kinds of employers who attract a lot of applicants who misrepresent their education and experience.

I have never been asked to write code in a job interview. I guess I've been fortunate to find employers who look at my resume and talk to me as a person not a metric.