skysight-inc/HackerNews huggingface dataset:
Well, the idea is that your port mappings in the docker compose look roughly like this

```

ports:

- "${PORT_PREFIX}01:80"

```

This means that devs can drive the port range that the project bind to by editing their .env file.
I used traefik a lot, but man those labels get tedious. I still don’t get all the middleware stuff. I switched to using caddy, a caddyfile feels like a huge improvement. Much less lines for the same results. No routers no middleware just define a port mapping to the container:port.

If you go to a server you get https for free, no extra config.
Related:

https://news.ycombinator.com/item?id=37722438
Most of this applies to C++, or any other compiled language.
Are you using the monaco editor? If so please enable the autoClosingBrackets:

```js

monaco.editor.create(document.getElementById('container'), {

value: 'const myVar = hello',

language: 'javascript',

autoClosingBrackets: 'always' // <--- This

});

```

When I highlight "hello world" and press ', I want to see "'hello world'" instead of "'"

All that aside, awesome project
I would argue that rather than stability a lot of the puritan instinct comes from a desire to see one's children thrive.

The relevant analytical unit at the small scale is the family: I don't want my kids to be temperant because of stability, I want them to abstain from drugs/games/$VICE because that's the path which maximizes the chance of their living a fulfilling life, or (more cynically) which maximizes their chance of bearing me successful grandkids and great grandkids. This is why puritainism is selected for evolutionarily (at least in environments where resources are limited).

To return to the large scale policy questions, I also don't want to see the continent of my children fall to a mercantilist China (using China as an example because Chinese law cracks down hard on drug sales and limits students to one hour of video games per night). Accordingly, I support policies to limit access to addictive substances and stimuli, despite the inevitable conflict between those laws and individual rights. The inequitable enforcement of those laws is another problem entirely, and one which I think would be well solved by starting with the prosecution of celebrities and thought leaders who openly partake in $ADDICTIVE_STIMULUS, and their suppliers.
> Yeah, I'll proudly "steal" from these bloodsuckers.

As long as we're on the same page that you're advocating for stealing a service, you can internally justify it however you want.
I think they mean the literal builtins `any` and `callable` instead of typing.Any and typing.Callable.
Every thread about WFH immediately devolves into people listing the pros and cons of WFH vs RTO. Guys, it's a matter of preference and dependent on individual circumstances.
Petty crimes. They're stealing $3 sodas, not cars. Presumably, the bodega owner is calling the cops saying "Joey's back - please get him out of my shop"
It's not anti-war for a country to defend itself against an invader, and Democrats have been and are still against wars of aggression.
Was FTX a bank? Can you show marketing materials or any documentation indicating that FTX was a bank?
Maybe more generally it's just "Politics Corrupt Science"?

I doubt "preapproved narratives" are plaguing fields such as niche north american spider research (but maybe so if biased gatekeepers have reputations at stake).

But things like covid, climate change, lgbtq issues, and soon probably ai/ai safety are politically controversial and thus are much more susceptible to corruption.
It's also extremely useful to recall that most of the tropes of SciFi TV, cinema and books are there for visual, narrative, budgetary, and literary necessity. Star Trek utilises transporters and warp speed not because they're technically probably or scientifically valid ... but because spending days or millennia going from ship to surface or between stars in a galaxy is utterly nonviable for a television or film production Sets and locations are similarly frequently recycled or drawn from nearby opportunities (which is why The Entire Universe is now in British Columbia). Star Wars's light sabers and blasters are visually appealing but nonsensical physically. Even "realistic" films such as 2001: A Space Odyssey remove such elements as the absolutely gigantic heat radiators the Discovery would have needed if it were depicted in a technically-accurate manner.

Similar depictions occur in fiction, most of which are fairly shallowly-disguised Western, Journey, or Empire sagas relocated in space, though without any actual foundations on physics. Hard science fiction can sometimes make a few nods to reality, and often exists as a sort of "what if", exploring the potential consequences of some scientific or technological capability being realised, but again has very little basis in any known physics.

And I write this as someone who was caught hook, line, and sinker by the von Braun vision of spaceships to the planets, Asimov, Clarke, Heinlein, and others. As I've gotten older it's the psychological and social explorations which are more interesting: Le Guin, Stephenson (who tends to remain in near-Earth orbits), Bradbury, Butler, KSR, and the like.

Not that the fantasy isn't still attractive at times, and with the capabilities for visualising potential space-scapes and starscapes, the visual imagery really is stunning, as in 1RPM here.

(I'd watched before reading the description, and pretty much all the points Wernquist highlighted were ones I'd noted in the video itself.)
Average commute in the US is 45 minutes each way, so as long as $25k is ~15% of your income or less, it may not be so bad of a deal as you think.
(or total income of ~$167k; which isn't outlandish for even non-megacorp devs with some years under their belt.) And given you're mentioning paying that much for an apartment, I'm guessing you fall closer to that side of things vs. the general average.
From my experience, when you have too many similar resumes there are no useful metrics you can define. You just have to choose some to interview and bin the rest.
Most Americans comfortable with solar panels, turbines in their communities
Python 3.12 Preview: Subinterpreters – Real Python
A lot of games have GCs...
Yeah, I used to use delicious!

The only question I'd have about this is how long will it last? Can it auto backup to Google Drive/Onedrive, etc etc? Something about social bookmarks seems to never go well.
agreed that the discussion about how you measure or even define social stability is probably what's really at stake in this discussion. Policing and the concept of criminality provide a kind of 'stability' in the form of social control to governments. On the other hand, those same forces can be incredibly destabilising to the social lives of everyone who is criminalised, their families and friends, especially given that criminalisation for so many people is often a death sentence.

The other thing I'd like to just bring up is that the either/or between criminalising/not criminalising drugs can sometimes miss that there are many creative, diverse and humanising responses to problematic drug use that don't depend on control via the threat of punishment
> Most violent crime is the result of interpersonal disputes

Sure violent crime is complicated. I'll walk back my claims with regard to things like domestic violence or violent crime resulting from a fight or something. However there is still the large component of violent crime that is things like an armed robbery, for which I believe my claim applies. Somewhere else in the thread someone brought up the link between impulse control and poverty, which I think also has bearing here. Poverty has been documented to increase baseline stress, and I would imagine that someone working multiple part time jobs just to afford rent and food is going to have a way shorter fuse than like, some tech worker earning a quarter million a year, but that's just speculation on my part.

> We have a worker shortage! Fast food wages are higher than ever. Young men steal catalytic converters because it's more fun and because they don't want to work at stupid Dunkin Dounuts and wear a uniform like a nerd.

I see your point here, and I don't think it's totally invalid, but I do think it fails to acknowledge the whole problem. For one, I think we would need to get some sense of how many people both work at DD and steal cats out of cars. I would imagine that it's not a small fraction of the population. While slinging donuts probably pays more than petty crime, it also requires more time. If you're already working one fast food job maybe you're just going to augment that salary with some theft rather than take on another 20-30 hours of work. There's also the pride factor, FF jobs can feel very degrading whereas some varities of crime are self-employment, you get to set your own hours and working conditions. Additionally FF jobs may not even hire you if you've already got a conviction or consume certain drugs.

I do overall agree that there is some cultural stuff at play, a young man who grows up in a poor neighborhood and meets a lot of criminals is likely going to feel pressured to himself start committing crimes, but I also have to ask if you can truly blame someone for making that choice and if it makes sense to separate that choice from an overall feeling of desperation? If you're a young man who believes he has absolutely no prospects whatsoever to actually "succeed" following the typical career path then that means you have little to lose, and coming from that mindset I don't think it's totally unreasonable to say "fuck it" and start operating outside the law, even if it pays less than slinging burgers. Desperation breeds disaffectation, which in turn results in seriously anti-social behavior. If coolness was the only factor every affluent suburbanite teenager would also be cutting catties, but clearly that's not the case. Yes the ultimate consequence is something more than "I just need money so I'm going to turn to crime", but the underlying agitation which kicks off the chain of events is often socioeconomic disadvantage.
That's essentially a light rail system. Have a look at the Montreal REM.
I love that that evidence actually supports both of us. My claim was that more people that win the lottery do fine than otherwise. Your own evidence is that 2/3rds of them do so. You are focusing on that fact that 1/3rd of them declare bankruptcy, which is higher than the general populace.

That is to say, yes, you have to rack up some bad debts in order to declare bankruptcy. The kind of debts that just aren't possible for most people.

And this is ignoring the selection bias that almost certainly exists here. Buying a lottery ticket is, basically by definition, not a savvy financial move. That it basically works out for 2/3rds of the people that do it speaks to the power of additional resources. :D
I don't think it's really fair to say that this has anything to do with Ubuntu Server at all, or that it reflects on Ubuntu's security. After all, this issue only occurs if you decide to enable a sudo command for a user and, if you're doing that, it's on you to understand the risks; risks which you'd have to take into consideration regardless of the distro.

For example, if I told you that I've identified a security risk in giving sudo access to a user for the command "rm -rf /", would you conclude that Ubuntu is an insecure distro?
I couldn't agree more with that quip!
Edit: see TheK's answer, which is virtually identical.
> What's wrong with e.g. "The IPFS DHT was using Kademlia and is now using Coral"?

Because that’s not what is happening.

The Kademlia-like DHT is not going away. It just has a name (“Amino”) so you can refer to its as an implementation relative to other implementations that will coexist, not necessarily replace, the original.

> The result is that there are now more names for the same thing, and the old names have changed.

They gave a name to a thing that didn’t have a formal name, because it can compete with other implementations. Having distinct names for a service and an implementation isn’t uncommon. The only criticism is that they didn’t do it sooner.

All of this seems pretty academic. The majority of developers and vast majority of users won’t know or care about the branding or abstractions allowing for different implementations. The tools work the way they did, hopefully faster. That’s it.
> “the legendary German knights” to come and attack “the hated Poles,”

Maybe Poles were also not angels towards Ukrainians at that time.
…they’ve had years at this point to plan for that
I used to work in vendor professional services. After the salespeople closed a deal that hit the sweet spot between your needs, how much money you were willing to spend, and the sales guy’s quota, I’d come in to explain what you really bought, how much it could do, and figure out a plan to use what they bought to get them at least part of the way to their goal.

Customers hated me because I was always telling the something less than the salesperson did. They also were not crazy about paying me to give them bad news. Salespeople couldn’t handle me because they couldn’t hide their sales puffery during my implementation efforts. The rest of the company was perennially tired by my team asking for one-offs or advanced techniques to make impossible things out of what our customers bought. This is what it’s like when you’re not near the money: the rest of the rig feels like it’s working at cross-purposes and you’re a cost center.

Meanwhile my sister is a commercial lender at a bank. She writes loans. That’s a pretty good example of a person who cannot help being in line with the money: not only is she selling the company’s product, but the product is actually money. Whereas when you’re out of line with the money you’re constantly forced to justify your working existence, the guy in line with the money can just take a slice of the deal.
I'd be amused if we just sent the border patrol and military home. I suspect that would be a bit too small government for a lot of people.
I understand you're trying to help, but everything you are suggesting is basically not helpful.

Microscopists are savvy enough to match sensors and lenses, it's typically called "diffraction limited" (https://en.wikipedia.org/wiki/Diffraction-limited_system) based on the Rayleigh criterion (https://en.wikipedia.org/wiki/Angular_resolution#The_Rayleig...). I rarely if ever hear microscopists refer to nyquist limits. They would not overimage something at a higher magnification, or more correctly, they would be aware it was happening and either downscale or not worry.

Next, when you make a point like "we can get a 1TB SSD for under $50". It shows you're not understanding the domain microscopists work in. Their scopes typically cost $100K (with a camera for another $50K, and a stage that costs $10K). The cost of the storage system (or parking the data in S3) for 10 years is usually far less than the capital cost of the scope, or the operational expense of maintaining staff on site.

I believe the effective resolution can already be computed from the captured metadata, which includes the objective's numerical aperture, as well as the frequency used for imaging (many microscopes today use lasers to image with a very specific frequency to cause fluorenscence, which itself has a fairly tight output spectrum).
I continue to not see the difference in this vs physical stores measuring customer behavior and adjusting their pricing. Considering also store brands, which fluctuate pricing based on those behaviors and the pricing of their competitors.
When you owe creditors as much money as wework does, people will take a bit more time to try and squeeze a few more drops out of the stone. But now clearly all the drops are wrung, and the end is neigh.
Wow I have been doing this subconsciously for YEARS
Sportsmans Warehouse
It's absolutely a pro-war position to fight defending _another country_ from an invader, a country that isn't even an ally.
It would make a big difference for the used natural resources though.
Regarding the dimensions, I wanted to make the structure as large as possible, while still getting a clear visual sense of the curvature in the interiors. That is how I ended up with the 450-meter radius and 1 RPM spin rate.

From TFA, which consists (apart from the video) of 8 short paragraphs in its entirety.
This sort of app helped hold the fabric of the internet together before facebook et al fucked it. Great work.
Multiprocessing means you need to deal with signals (which are ancient and powerful footguns), handle processes being killed, platform differences (fork vs spawn), etc. It really is a bad solution. Isolates are much much better.

> You get the same cumbersome communication primitive (channels), except now native code can easily get messed up.

I'm not sure what you mean by that. Native code has to be thread safe sure, but now it also can be thread safe! You can have native code that is actually properly multithreaded. A big win.

> And it requires more care when developing the interpreter itself.

Maybe. Not really an issue for the user though.
"Did fighting the Soviet Union on the eastern front in WWII put you on the wrong side of history? Some nonzero number of atrocities was committed on both sides, so who can say?"

Can we just make these people watch Come and See for two days straight or something?
Netflix is planning to raise prices again
Umm what? I hear “50% more time” all the time.

50% to 200% is 0.5x slower to 2x slower.

People seem to be confusing “% slower/more time” vs “% of current time”
Are these changes reflected in any downstream price changes?
You may be interested in Mojo: https://modular.com/Mojo

Kind of a crazy project but the "just go ahead and import any Python module and we'll embed the VM in your binary" approach is interesting, at least.
I have a mechanical keboard I like its sound and I dont want to add anymore noise to that
We're extremely proud to announce that ToasterDream has raised $323M in Series A funds, and we look forward to many years of exciting developments ahead. As the CEO I'd like to personally assure our loyal customers that taking this funding will not compromise the quality of our goods and services — rather, quite the opposite! In fact, in just the first month since we secured this funding with our investors, we have already managed to create an entirely new product! It's called ToasterDream Ultra, and allows users to toast up to 8 images simultaneously for just $5.99/month...
Very few of the situations under discussion are about companies that don't have offices at all. So commuting is usually an option. Of course, in many cases, the commute will be to a suburban office park so you may have a long commute if you're determined to live in the city.
Try doing a google search like this:

"semiconductor" "primer" "Important Disclosures" filetype:pdf
Right. Nobody is trying to force anyone to live densely. The point is: dense housing (e.g., Manhattan) is expensive because of supply/demand. Lots of people do want to live like this. And it's illegal to build this way in most places in the U.S., only perpetuating the affordability problems across the board.
A perfect square wave has infinite bandwidth. The phase change from high to low theoretically happens instantaneously. Practically nothing moves that fast in the real world. Voltages take time to go up and down because of inductance and what not in the circuit, the cone of the speaker needs to start accelerating to move, etc. A speaker cone doesn't move instantaneously from its high point in the wave to the low point in the wave, it takes time for it to move and actually push the air around. Plus, the air itself is kind of springy, so even if the speaker did move instantaneously (which it can't, it would have to move at infinite acceleration) the resulting pressure wave wouldn't be nearly as sharp of a transition.

Your ears don't experience pure square waves. They can't. They'll get the approximation of a square wave as close as they can experience them, but your ear drum doesn't immediately warp from one point to another. It gradually moves. The fluid in your ear has its own springiness. The hairs which do the final detection don't just instantly move either, they're being vibrated by the motion of the fluid in your ear.

And yeah, technically your eardrums can be moved by waves higher than 20kHz. But its not just the motion of your ear drums that give you hearing, its lots of tiny hairs in your inner ear that resonate at different frequencies that gives you the detection of certain audio frequencies that are present. Normal humans (read: practically everyone) tend to only have the equipment to accurately sense up to ~20kHz pressure waves with our ears as sound. As you age the areas which detect higher frequency sounds get less sensitive first, so you start losing the ability to hear those higher frequency sounds first.

It does seem like you're missing a bit of knowledge about signal theory though. That would really help you understand what I mean when I say a real square wave has infinite bandwidth. A very rough and basic idea to help here is that a wave can be thought of as a sum of fundamental sine waves. So a square wave is essentially the sum of all the component fundamentals, each fundamental gets sharper and sharper edges of the square. But the only way for the sine wave to have a truly vertical edge is to be infinite frequency, right? And what are the edges of a square wave? Vertical lines. So to keep adding these fundamentals together to achieve a square output, you'd need to add an infinite sum of sines together to make an actually perfect square. Monty touches on this in that video a bit, but it goes pretty quick.
Au contraire! Persecution of the lower classes can do wonders for the preservation of a certain order. Aldus Huxley imagined an imposition of fetal alcohol syndrome to keep the trades in their place, but we do it more cheeply by destroying families and carting men off to work slave labor. Overzealous policing synergizes nicely with the myth of meritocry by helping the middle class (MLK's "white moderate") attribute socioeconomic divisions to heritable "merit."

And thus is the pyramid scheme maintained.
> It's a promotion to drive new sales, because the process is complicated and inefficient.

There is no reason it cannot be both reasons and I find your take overly and needlessly cynical.
Maybe this is explained somewhere in the docs but I'm lazy: how does it cope with possible performance issue in highly trafficked tables? Can you somehow control the backfill speed if it's taking up too much I/O?
Seriously, don't put traefik in front of your localdev if.you don't explicitly have to. It is way too much complexity and introduces an added layer of noise to bedug.

Also, does local host subdomain resolution work on all OSes OOB now? Iirc this was an apple exclusive feature in the past.
Too many to count I'm afraid
Climate Action? State or Civilization
>Changing society to cope with climate change is demanding. I am looking for the implications for how to approach climate change with the idea that civilizations can change fundamentals, but nation states cannot.
WebP 0-Day: How to Identify Apps Vulnerable to CVE-2023-5129