skysight-inc/HackerNews huggingface dataset:
I’m not seeing what me being downvoted has to do with anything. My response is exactly what Aldous Huxley was saying.

The viewpoint has the potential to trend toward the insane if it is the unconsidered default, for sure. You can’t go around thinking everything that happens to you is a grand conspiracy.

In your situation, though, you are informing systems (that are larger than human ability to productively think about) on how to perform your job.

You do this because those systems allow you a local competitive advantage — you get more done for less work. But your only real hope is that it takes them longer to replace you than it takes you to escape.
You can do it in JS too:

states.find(state => state === 'VALID' || state === 'IN_PROGRESS')

Or

states.find(state => ['VALID', 'IN_PROGRESS'].includes(state))
>Horizontal navigation is much easier than vertical navigation (gravity and all that).

Vertical navigation should be easier, at least for going down. All you have to do is jump...
If they could just come up with a safe and reliable way of getting people from the top of a tall building to the bottom quickly, taller buildings would be easier. Perhaps a spiral slide?
Faster elevators would be nice too. If they allowed up to, say, 3gs of acceleration, we could move between floors of tall buildings much more quickly. "Going up. Brace yourself!"
"He was definitely home, all the blinds were drawn"
5 minutes later, Leif is seen going from his car to his house

You can't make this stuff up.

Every time I see a BBC clip it's something ridiculous. There's probably a good business opportunity doing a mystery science theater 3000 version of BBC news at this point.
OK not a billing rate but Bezos has earned an average of $300k/h since birth.
This is a bit more complicated. Jews were in Palestine before 1948 and lived alongside Arabs in peace throughout the Ottoman Empire. They often fled persecution in Europe to the Ottoman Empire: https://en.wikipedia.orgt/wiki/History_of_the_Jews_in_the_Ot...

The historical timeline of Palestine leading up to and since 1948 is https://www.un.org/unispal/historical-timeline/

The timeline is good overall, but the four-minute video there is a good summary. A direct link to the video is https://www.youtube.com/watch?v=yBjMbe24Vu0.
I'm certain you have heard phrases similar to the ones you just wrote before, by people just as clueless about the predictive validity of IQ, as you are.
At his age he's certainly vulnerable to any number of physical failings. Hope he makes a full recovery.
you didn't point out any errors; maybe you noticed one and forgot to mention it. please let me know if so

if you're interested in taking the capacity factor into account, which accounts for things like night, clouds, and oblique illumination, a number of my other notes in https://dercuano.github.io/topics/solar.html (linked from the bottom of my above-linked note) do that; for example in https://dercuano.github.io/notes/japan-energy-autarky.html i calculated that energy autarky for japan, if purely solar, would require 5% of its land area and about 1.7 trillion euros of solar modules, taking into account all of those factors as well as panel efficiency. since then, the price has dropped by more than a factor of 2, but the land area required remains about the same, or slightly increased

(floating that 5% of their land area on solar barges off the coast, instead of occupying precious land area, is also clearly feasible; it just isn't economically competitive, much like nuclear power)

of course, the real-life solution also involves wind and grid-scale storage

perhaps it goes without saying that very few places are as densely populated or as heavily industrialized as japan, so much smaller fractions of their land area would suffice
This is a really important question for sure and I want to protect the rights of journalists, but in this instance the reporter from the BBC sat in front of Leif's house for 7 hours, fully aware that Leif was there and didn't want to speak to him, and then when he briefly emerged, accused him of not protecting children. It feels more like entrapment and harassment than reporting. It also feels like the type of theater the BBC knows they can get away with because the topic is child abuse and we seem to lose all restraint as a society when this topic comes up.
I'm embarrassed to say how long it took me to realize this was not related to LLMs. The word "prompt" has been hardcoded to them in my mind since their inception.
This is what convinced me to pay. I'm completely fine with spending $1/workday if it saves me 10 to 15 minutes per day of bore.
Resources to learn tomcat/server internals?
Recently, i started to go through the source code of tomcat. Would be nice if someone can share resources on tomcat or web server internal.
That’s not actually a loaded question… they had a source with clear and convincing proof of the criminal victimization of numerous children by one of Mr. Brooks’s users who had weaponized the service he provided, as well as both law enforcement and child protection organizations indicating that Omegle’s service was being actively weaponized against children; as a matter of both rhetoric and law it was a foregone conclusion that Mr. Brooks was not protecting children, and there’s obvious public interest in his answer to that question. Arguably it’s something you could criticize as gotcha journalism, but that’s often a weak critique because you saying they’ve got an agenda is predicated on you having your own. Also there is a LONG history of very credible journalists tracking down and confronting those who don’t want light shone on their activities and therefore aren’t exactly inclined to schedule formal appointments… sure, it can be seen as showboating, especially for a television journalist, but it’s still just one of the tools of investigative journalism and you’d call it legit if it was exposing some form of public corruption or criminal activity that was beyond your personal pale.
If it's actually very rare, that doesn't seem like an appropriate way to handle a free service.

Imagine a store owner downtown adding a flowerbed and a couple benches at the front of their property. If someone gets hurt via rare catastrophic event, it seems bad to make the owner pay, and even worse to suggest they're supposed to be charging bench users 20 cents each to fund payouts like this.
Been playing with Phind for a while and my conclusion is: the Phind model works well on those long existing stuff like C++ libraries, but works generally bad on newer stuff, such as composing LCEL chains.
Fending off legal challenges is also part of the work.

If it's not worth it to him it's not worth it. I too remember the feeling of "this startup is going to kill me and I'm only 30."
https://data.permianmap.org/pages/operators ("Permian Methane Analysis Project")

https://www.mrt.com/business/oil/article/RRC-unveils-map-of-... ("Railroad Commission unveils map of well plugging sites")

https://www.rrc.texas.gov/resource-center/data-visualization... ("Federally Funded (IIJA) Well Plugging")

https://www.houstonchronicle.com/projects/2023/orphan-wells-... ("Are there orphan wells near your home? Map shows locations around Houston")

(Texas Railroad Commission has lat long of all wells, should be straightforward to overlay methane emission data with these points; a human or cheap satellite imagery like planet.com can always be used if there is some ground truth delta with GIS data)

US dataset: https://www.usgs.gov/data/united-states-documented-unplugged... ("United States Documented Unplugged Orphaned Oil and Gas Well Dataset")
Why can't I just use my phone for this?
> Somewhere along the way I feel it became normal to just let your children do whatever they want online with no supervision and no parental controls.

for those of us who were kids when the internet was basically a social unknown, it's not something that 'became normal', the internet didn't come about censored from the get-go -- these moderation/censorship tools were added in after-the-fact to cope with parental and (more importantly) government worries that children were being victimized via exposure.

and, for the most part, we grew up OK even without the heavy-handed censorship.

>Instead there should be opt in. When a child user is logged in to Windows et all, an allow list should always be in place. And only apps and websites that claim to be child safe should be included.

i'm not necessarily anti-censorship, and i'm never having kids -- my opinion on this is worthless for all practical sake -- but i'll say this : If I didn't have the freedom to tinker and explore with the systems that took up my free-time as a child there is no way I would have grown up to have such expertise now.

Take that however you will. I know nothing of child care but I do recognize the opportunities in my own life that made me grow as an individual; having 'cyber-space' as my 'home' from an early age offered a lot of opportunities that were unique and self-improving.
> The burden of proof is yours , not mine.

That’s not how this works — you have to say that before you say it’s incorrect otherwise it becomes your burden. But I’ll answer anyway.

If I am the one mind, then how could anyone make an argument that any other mind (which must only be an apparent mind, created in some way to serve my experience) could be my equivalent?

The truth of my statement is inherent in the structure of solipsism.
The problem with this 90% solution is that the more renewables are added, the more natural gas capacity is required to cover the capacity. Good problem for the natural gas industry.

Going clean with nuclear isn’t cheap right now, and it shouldn’t be. It wasn’t at the start of renewables when solar was expensive.

Cheap, reliable, clean; pick two.
Share and Explore Custom ChatGPTs
I am currently building this website for fun (no ads, no tracking). It allows sharing custom ChatGPTs (recently announced by OpenAI). Feel free to submit yours! It's a little rough tho, I started to work on it two days ago, but it gets the job done (I guess). More features coming soon.
Show HN: Canopy – RAG framework and context engine powered by Pinecone
(()) isn't a palindrome, but ())( is.
I was speaking to this:

> You've also locked yourself into a bad spot if the price of natural gas spikes 3x like it did in summer 2022 with the Russia/Ukraine war and all of a sudden your self-generated electricity is far more expensive than utility and you can't sell any of your gas because you never build the gathering lines to get it to a pipeline.

The war in Ukraine spiking natural gas prices aren't increasing your costs if you're using waste gas. Your costs are the same regardless of whatever the global market of gas prices are, because you're not selling this gas on the market nor are you buying from the market. And for the vast majority of markets the war led to utility rates increasing, not decreasing, so chances are your self-generation rate was less than the grid not more.

> Self-generating still means your turning power over to the market

That's an assumption, but depending on the setup it might be true or it might not be true. One could self generate just for their own local usage and not be tied to the grid.

I agree with the idea of it potentially not being competitive with renewables, once again you're talking potential lost opportunity when talking about renewables coming in cheaper. But the fact renewables came in cheaper some days doesn't make your costs increase, it just makes it less competitive than the grid power. The grid going negative doesn't change your costs if you're not connected to the grid, it just means you're spending more than you potentially needed to. And I agree its this risk of the price of electricity going lower than the costs of actually gathering and burning this gas for electricity that leads to it being flared and vented instead of put to something useful.

But still, from the perspective of self-generation your costs aren't changing from grid conditions. Say it costs you like $0.05/kWh to self generate with the waste gas. The grid goes down to only $0.02/kWh. Did your costs to generate go up? No, its still $0.05/kWh. Sure, you're overpaying by $0.03/kWh compared to just using the grid power but your costs were still the same.
If the society exists and persists and is incompatible with said metaphysical theory, I think it is a great argument against it.
Author of the rule and post here. I reread the post this morning, and I agree that I should have been less definitive in that sentence. But I stand by the broader point: Useless code is generally not something developers intend to write. When we do, it's generally something exceptional, so a lint suppression is a reasonable way to clarify "I meant to do that". And in the common case where it was an error, the lint rule proves quite helpful.

I hope the take away for the reader is: If you can think of other rules that will detect useless code, you should pursue them, because they are likely more valuable than just enabling dead code elimination. They have a high probability of being able to uncover interesting bugs/mistakes as well, which is much more valuable.
You can easily write a concurrent hash table in C++ or Rust. I fail to understand your point.
> We need a clippy for math. :-)

We used to have number muncher. I recall spending hours playing that.
> Iranian proxies in Iraq and Syria are starting to assemble in Syria for what might be a land invasion of Israel.

First I've heard of anything like this. How credible is the info and how likely is it to happen?
> If it's actually very rare, that doesn't seem like an appropriate way to handle a free service.

A service you pay for via the presence of ads isn’t free in a way that makes that really true, and even if the service was free, if the benefits to the people that aren't being victimized aren't worth charging a sufficient amount to cover the harms to those who are, I would argue the service is almost certainly a net social loss, anyway.
TX RRC is an elected, political position. Don't confuse who's in that office with anyone actually working in the industry. You might as well say "the TX lt governor" or something similar. It would have the same implication for familiarity with the office they're in, sadly.
That's my point, maybe VectorDBs in production should have a fallback mechanism, for the documents inserted,

1. Generate embeddings using services such as OpenAI, which is usually more powerful;

2. Generate backup embeddings using local, more stable models, such as Llama2 embeddings or simply some BERT-family-model (which is more affordable).

When outages comes up you simply switch from one vector space to another. Though
possible, model alignments are much harder and more expensive to achieve.
Does the TypeScript team avoid making breaking changes even in major versions?
It seems it could be trivially disproven functionally. Putting aside ethics we could assign a population to go around behaving as though everything exists for their own experience and see how well that population propagates.
Let's walk through it in more detail.

Suppose you have two threads doing writes at a rate of r per second. Suppose that it takes time t to do an operation. Suppose that concurrent operations have a probability p of crashing. What rate do crashes happen at?

Well, the one thread spends time t * r per second in the operation. The other spends the same. So you spend time (r * t)^2 per second with concurrent accesses, and crashes happen at a rate p * (r * t)^2.

Now let's look at the normal case for a hash insert. t is small and constant in the size of the collection. p is proportional to 1/n. And therefore collisions happen at a rate of O((r * t)^2 / n).

Now let's think about the red-black tree. Exact numbers are calculated. While the writing part is at most O(log(n)). But on average you spend time O(log(n)) finding where to write, and only write O(1) nodes. Think half the time you only write once, 1/4 of the time you write once, rebalance once. 1/8 of the time you write once and rebalance twice. The result is complicated to analyze, but it works out as worse than the regular hash operation by a constant factor. So crashes happen at a rate O((r * t)^2 / n) with worse constants.

Now let's look at the resize operation. This works very differently. The first thread encounters resize every n operations, for a rate r/n. A resize takes time O(t * n). If any write comes in during that resize, the other thread will also do a resize, and they will crash. So the odds that we crash is the time of the operation, times the rate at which writes come, which is O(r * t * n). Multiplying this by the rate we get a probability of O(r/n * r * t * n) = O(r^2 * t).

The previous equation was smaller by a factor of t/n. But remember, t is a very small time (operations are fast) and n tends to be reasonably large (the size of the collection). The result is that race conditions happen dramatically more often for resizes of hashes than any other operation.
> Technically, when you enable WSL2, the Windows build itself is running through the Hyper-V hypervisor

My (very limited) understanding of hypervisor is it by definition is used to run VMs.

So I don't get why that makes WSL2 not be counted as a VM, even "technically".

I assume you mean once you enabled hypervisor, technically both Windows itself and WSL2 are VMs in parallel?
Will AI make resumes and cover letters *even less* useful than before?
$ clang++ foo.cpp -o foo -framework Foundation

-lswift_Backtracing also works, but dunno if that's "public API"

$ codesign --force --sign - --entitlements entitlements.plist foo

https://github.com/apple/swift/blob/main/docs/Backtracing.rs...

$ SWIFT_BACKTRACE="enable=yes" ./foo

Very cool!
These general "multicomputational processes" are well known in computer science as nondeterministic transition systems, or coalgebras for the powerset functor. And in that setting there is a lot of work that has been done about the kinds of logical statement that can be said about their evolution -- such as whether a given proposition about the states may always or eventually hold; this is coalgebraic modal logic. As usual, Wolfram does not mention this prior work.

One thing that I have often thought though is that the mathematical sciences could do with more cross-pollination with coalgebra.
DreamSDK: A modern, ready-to-use environment for the Sega Dreamcast
>the long pole in the tent seems to be the cost of the steam turbine generator

And yet some "renewables-only" people want to rely on gas turbines for the times of unfavorable weather conditions.

And, the turbines are still more efficient (46% efficiency with modern Siemens turbines), and the heat that isn't going into the turbine steam can still be used elsewhere, like for district heating or for industrial purposes, which makes the overall system very high yield.

In comparison, photovoltaics is currently at 20% efficiency. Wind is at 60% but it's quite intermittent and unpredictable.
Having something that executes, and having something that's genuinely useful, are two different things.

For my hand typed use case's, GPT-4 is the only acceptable model that doesn't leave me frustrated and angry at wasting time. For some automated stuff (converting text to json, etc), the local models are fine.
A Celebrity in Every Taxi
“Be a manager at Google”
That is how it evaluates, not what the original author intended in the example in the OP.

return a === b ?? c;

The intent was

const bOrDefault = b ?? c;
return a === bOrDefault;

You posted the actual (buggy) evaluation. I agree that its better if that is what you intend.
Also bt.com (British Telecom)
> wouldn't want this built into my car

I wouldn’t either. But I don’t think that means I should mandate my preferences be extended to all by banning the damn thing.

Simpler: mandate a network kill switch that doesn’t unnecessarily compromise functionality. (You would have to be creative about anti-theft tracking functions. But this is solvable.)
Because there's a threshold of where you know how things will be parsed. You wouldn't write:

a=(b+c)

Because you know it's not necessary. But we're human and sometimes make mistakes when we're sure we didn't.

That's also why we allow for some misunderstanding, (rather than (writing (using) (sentence trees))).
> I still don't understand how the National Association of Retailers enforce the 5-6% total commission.

Plaintiffs submitted some recordings in either this or a related case of an agent who said she wouldn’t even bother to show a house that didn’t have a guaranteed commission. The NAR is not so stupid as to have a “you must sign here that you will only show houses with a commission” form.

>> the incidence question … is a semantic one

Definitely not semantics. This relates to the elasticity of demand and supply in the market. The incidence can be on the buyer OR the seller OR shared. Depends on the good and the demand.
Hey, author of the rule/post here. I'd encourage you to click through to the actual examples linked from the post. Seeing the issues in context, as opposed to the minimal example, can help show how quickly these issues can get lost. It might also be interesting to click "blame" on the line and look at it in the context of the PR that added it.

Overall, my point with the examples was to highlight that these are mistakes that even make their way into high visibility projects built by highly competent engineering teams.

That said, looking at the issues few were in really critical paths of these projects. Often they cropped up in auxiliary areas like test harnesses or more off-the-beaten-path features. One can assume the same bugs may have existed at some point in the development cycle in other areas of the code base, but they got caught by more rigorous testing/review of those areas, or bug reports. But it's surely a time saver to identify them _as the developer saves the file_ rather than later in the process. The sooner you catch the bug, the more engineering energy you save.
Calling it newposters is already weird
Beej's Guide to Network Concepts
It certainly is when you attempt to avoid making public comment over some matter to which the public has an overriding interest.

In terms of ethics, I’ll side with the journalist’s here over the guy running a service that randomly matches adults with children for video chat when he didn’t immediately shut down the service for a top-to-bottom rethink the moment he found out it’d been used by a serial pedophile.
While those don't sound like desserts, they don't sound like entrees or appetizers either.
I'm old-fashioned enough to prefer carrying a discrete wallet, not least since my barbershop is cash-only, but also because to forgo it would promote a lost or broken phone from headache to catastrophe.

That said, I assume even restaurants whose POS equipment is well hidden would be generally able to handle folks who prefer the single point of failure.
Hard to tell, but sag-aftra memo says: "and for the first time establishes a streaming participation bonus.."

That's from the strikegeist newsletter today.

I will be anxiously watching to see what that actually means.
Why is that ethical? It seems neutral.
The short answer is that investors like the companies in their portfolios to have recurring payments. This leads companies to offer product features as subscription services. This makes them do things to keep you from modifying the device, such as using proprietary parts, employing device serialization, and using the DMCA to sue you when you attempt to modify a device.

There’s an awful lot of collusion behind the scenes. When one company starts a practice that drives revenues, all companies start doing it. Investors demand it. Then you see things like industry wide shifts. Where you can’t get a certain product that existed a few years ago no matter how much you’re willing to spend.

There might a free market, but when consumers are talking pennies and investors are talking dollars, you won’t have a lot of influence on it.