skysight-inc/HackerNews huggingface dataset:
With jails, I could really use a tutorial that goes through a standard proxy/app/db setup (nginx, wordpress and mariadb maybe?) that does require multiple ip addresses on the physical network. So request comes in to the host on port 80/443 -> proxy -> app -> db. All jails can do outgoing connections for things like sending email, downloading updates, etc. The db and app are on a network with the proxy and only the proxy can be reached from the outside. So what would be a pretty normal setup with Docker.

And yes, firewall config should be part of that rather large tutorial, but it I really feel like a complete tutorial is missing. The ones I have seen only cover a part of it and it's left as an exercise for the reader to figure out how to glue them together.

Some of the other issues I had with incompatible dependencies would be solved if I know how to use jails correctly.

How to get a Linux jail up and running (Alpine Linux).

ZFS + NFSv4 + Kerb + ldap would be great. I ended up solving that particular problem by using minio instead, because it was so much easier to setup, but I would like to know how to get nfs working for future things.
From your link the problem seems to be that some people want voter ID legislation, not the lack of IDs.
Have a look at what they reply to subpoenas with.

https://signal.org/bigbrother/cd-california-grand-jury/
This is almost correct.

It's not that math is vastly larger (or more sophisticated) as a field. Both fields are infinitely large in many senses. Rather, the number of respectable starting points where you can do interesting things is much larger, orders larger in math.
> You have been duped by hysterics.

> The US certainly has problems. Election integrity isn't one of them.

The US has a real problem with perceptions of election integrity. You may argue that’s all because one side is duping people-but even if that’s right, the real flaws in US election administration make it easier for people to believe those claims, and addressing those flaws - for example, elections being run by elected officials rather than independent electoral commissions as in most other English-speaking countries-will make them less believable, and hence help prevent people being duped.

> Read here about the Australian election. The official result can take up to ten days.

A large part of why it takes so long here, is because Australia has a significantly more complex voting system than the US - a combination of ranked choice (or “preferential voting” as we call it) and single transferable vote, instead of first-past-the-post - so how long it takes here isn’t really relevant to how long it takes in the US.

Furthermore, a big reason why claims of election fraud are far less believable in Australia, is because we have an impartial/independent/apolitical and highly respected government agency, the Australian Electoral Commission (AEC), which fully runs all national elections, and also controls redistricting - and each state has its own state-based equivalent which does the same for state and local elections. Australia’s system is miles more trustworthy than the US system of leaving the management of the process to elected state and local politicians.
> While the tech bodyshops (TCS, Infosys, etc.) might have a poor reputation in the US, these companies have been absolutely critical in helping move tens of millions into middle-class respectability.

couldn't agree more. In my previous comments, I've criticized bodyshops for their business model but this is so true. While I never worked for any of the WITCH company but I worked with few product based and service based companies, In my case, we do not had our own house, in my 10 years of Software Engineer career, I was able to bought house and also paid my whole housing loan. Own a second hand car. I could also buy a new car but I decided to go ahead with used car instead. For those who don't know, car is necessity in US but in India it is considered a semi-luxury.

Agreed, I would say, I am relatively good at what I do so it also translated in to comparatively higher salary (and still way less than what I could have made if I would have moved to Bengaluru - "Silicon Valley of India")
OP's technique is useful for a consumer of a another function, to consume it in a synchronity-agnostic manner. In the implementation of the function consumer, you should find the usage of OP's technique.

In other words, this technique allows a library's implementation and interface to be synchronity-agnostic, but it does not say anything about the library user. If the library user likewise makes use of the OP technique, the library user code will remain synchronity-agnostic, otherwise it will be tied to be either synchronous or be asynchronous (parametrised to the synchronity).
How much did USA's MLMs, unhealthy food companies and ponzi schems steal from the world?
James Cameron Destroyed a Real Bridge Without CGI
Yes, there's required typography, and there's what you might call "learned" typography. You read Butterick to look more polished, and to show judges you're educated. You fight over fonts because one font might be more legible than another. And you fight over two spaces after a period, or use (cleaned up) to show that you're in the forefront of the practice.

> You may be giving them too much credit in their cunning.

No one has to be especially cunning; it's just a tradition that develops because it works well enough. The American tradition weeds out people who don't have an incentive to help the system be efficient. The English system regulates Barristers even more. If the loss of your license doesn't mean anything (because there won't be a next time for you) then a lot of the rules lose their sting.

Judges do spot carpetbaggers and neophytes through their briefing. You've never seen a pro se brief that used CAPS FOR SHOUTING, or six different fonts? All classic marks of someone outside the normal system.

And even among lawyers, there are tells. In my jurisdiction, we don't use line numbers. A Californian who shows up with line numbers in the briefing is a dead giveaway, and vice versa.

Granted, a handful of times, pro se plaintiffs won at the Supreme Court.[1] But those are exceptions that prove the rule. I don't think it should be this way, but knowing the local judges' typography preferences counts as 'law practice.' For now.

[1] https://abovethelaw.com/2013/07/r-i-p-pro-se-litigants-befor...
Just based on the usual engine efficiency curves it seems unlikely that 3 extra gears would have an average ~10% efficiency/MPG gain by themselves. For that to happen the engine itself must be falling off a lot more than 10% over a few hundred RPM outside of the efficiency peak. Which seems unlikely, look at this stack overflow question, about half way down where someone posts an efficiency map.

https://mechanics.stackexchange.com/questions/2161/fuel-effi...

Note that the most efficient curve for a given load is frequently ~1k rpm. Which given the usual gear ratios a 5 speed transmission should be more than capable of keeping it a couple hundred RPM on one side or the other of the actual peak.

Its more likely a long list of optimizations where the most noticeable was the gear count change on a car that probably wasn't particularly optimized to begin with. A good part of it might have been the transmission/torque converter, but even then it had to be a pretty crummy transmission for that large of an improvement. The usual things to look for are drag improvements, weight improvements, tire efficiency, oil/transmission viscosity changes, and an untold number of small transmission and engine tuning changes to the ECUs as well as any number of subtle mechanical changes to the intake and exhaust to ignition system changes. Most of those things aren't going to show up on a white paper at the dealership.

So while the 0W-30 oils and the like have an effect, the tires things as I mentioned is huge on some cars. You can walk around in the truck area of many dealerships and see 10% deltas in MPG on some of the them that are identical except for things like offroad tires and 300Lbs of bed liner.
We as a race are starving non-tech industries of talent. We pay developers a lot of money, honestly disproportionately to the returns they generate for society (aside from a handful of extremely specialized and well trained individuals). This is the invisible hand of the market deciding the relative value of fields. Computing is extremely hot right now and it is enjoying a lion's share of society's interest.

We do not pay farmers, fruit pickers, garbage men, nurses, cleaners, mailmen, waiters, etc. similarly, despite the fact that our society runs on this underclass of people. We also don't offer them a great quality of life in their jobs. These jobs used to be careers, and now they are temporary camping spots on the way to "real careers", which, I think, is a contemporary american invention, and, annoyingly, a rather sticky meme. What this means is that people are not becoming subject matter experts in these fields. That's a bit of a concern, as SMEs are often well placed to identify opportunities for advancement in an area.

You could argue that it's the government's job to compensate for the fanciful nature of people and intervene to balance this out, as markets won't optimize investment and wages to align with the best path for a country. This is, again, undesirable for small government types, and, probably, Americans at large who believe that government is a necessary evil that can do nothing right when it comes to ownership and running companies.
I never had any doubt that it was possible, I just couldn't figure out how to get it working and in the end decided to not bother with jails.
Mastodon isn't just Mastodon it's a tiny part of the greater Fediverse
Phoenix Framework 1.7rc0 Released
> - get the symbols of the compiled image, and fail the build if the above are referenced

He explains how to detect the symbols later in the article.

> - other ideas: eliminating the allocator code from the image? (Why have it there if it's not called?)

Because you want to detect if it is called indirectly by some function you're calling.
How else can the TV networks know on the day!?!?

I mean, run the elections on Saturday instead. Then you'd have a whole weekend to count without work getting in the way
Vision trumps sound in the human brain. See the McGurk effect.
> the difference between morals, ethics

That one's especially easy. They are exactly the same thing; mos is the Latin word, and ethos is the Greek one.
What's the possibility that it's due to a hacker breaching into one of the state's system?
Orders? Plural? This is not true. Youre likely to make 90 percentile
Explore the fun new wold of coding for the fediverse
How would this work in reality? One party committee proposes 5 voting district maps that lean toward their desired outcome. The other party chooses the least damaging one. Not sure this helps much.

Or how about 5 random maps that evenly divide the state? Voters vote on the maps and most voted map wins.
I'm an aspiring home machinist. I smell opportunity.
SpaceX is private. Tesla IPOd around a decade ago.
I don't think it was inevitable for Russia to end up so firmly in the anti-West camp. Back in 1993 - and, really, all the way until the end of 90s - it was very much at the crossroads.

The mistake is claiming that the path it ended up choosing, it chose because of something the West did or didn't do. It was all about choices that people made - and back then, elections in Russia still meant something - in response to concerns at the time. Which were mostly domestic: economy, crime, terrorism (in Caucasian regions).
We use copper to conduct electricity and carbon fiber to form rigid structures. Your body has parts that do both of these without using copper or carbon fiber, so your argument is not particularly compelling. Furthermore, who said we are limited to using bacteria?
Businesses that don't change with times do die a slow death. I have no idea how you've come to the conclusion though that Pair is in that category - would you like to clarify?
They stopped following up after that date.

https://en.wikipedia.org/wiki/Censoring_(statistics)
I can look back at my life and see the times when I should have taken the non default option. I shouldn't have gone to uni, I should have chosen different subjects at college. However, it's easy to see that now, at the time it didn't seem like a choice.

So my takeaway from this kind of argument is to explain to my kids that they do have choices and they can make them, and it's not the end of the world if those were the riskier options that didn't turn out well. You can go back to education etc.

There are, of course, irreversible decisions. But when it comes to risk surely the greatest risk is getting old and thinking "dang, wish I'd done that when I was younger, now it's too hard / late and my life is that little bit more boring"
The article provides an easy way of triggering a linker error if your microcontroller code inadvertently pulls in a library that does dynamic memory allocation.

I think most things (?) are dynamically-allocated in Python. This kind of manual memory management doesn’t exist there, which is one of the reasons it’s not used for bare-metal programming.
Or, as Juergen Schmidhuber likes to point out, in the same field.
Not sure why you’re downvoted.

Causation can always be argued, but I think correlation between education level, income level and propensity to marry (and stay married) is pretty high.
We tried appeasement back in the '30s, it didn't go so well. There are cases where the right thing is to fight to the last man is appropriate. I certainly hope we don't reach the point of western nations having to draft the likes of me and send us to defend Ukraine, but if it comes to that then it beats letting Russia take what they want. Once you start doing that there's no end to it.
I’ve been interested in dabbling with Rust for some time but haven’t really had an idea of where to start or what to use if I do - this is super helpful in a way that the Awesome ** pages just aren’t bc of the info it gives on each library. Nice initiative - thanks for putting it together.
This comment has spawned one of the most positive threads I’ve seen here in a long time.
Thank you for correcting me there.
Because it's unsustainable.

You need to look at the current death rate when comparing with Canada. Which is fairly low. If you're actually looking at the numbers keep in mind the criteria is quite broad in terms of what counts as a Covid19 death (e.g. anyone that had a positive Covid test within 30 days of death even if the cause of death was not related). Nobody knows for sure what's the death rate right now.

That said you do need to have the population vaccinated with a good vaccine. So I do agree China could fare worse than Canada.

The other thing to keep in mind is that Canada pretty ended all and any measures at this point in time. There's a range of responses between lock down an entire city for one case and no restrictions at all.

Another piece of supporting evidence:
"Excess mortality fell nationally from the end of February and through the spring of 2022

From the end of February and through the spring of 2022, the weekly number of deaths in Canada fell generally within the range of what was expected had there been no pandemic. This same trend was observed in Ontario and Quebec, despite COVID-19 deaths in Quebec remaining high."

https://www150.statcan.gc.ca/n1/daily-quotidien/220908/dq220...

But... If your point is that Canada got here by taking a fairly large number of deaths, ~47k (+/-) for a population of 38M and China avoided most of that (assuming we can trust their data, questionable) ... then I'll concede you have some point, but still - unsustainable. A lot of Canada's deaths happened before we had vaccines and presumably with a higher % amongst unvaccinated populations after.
So far it looks more like Russia is self-destructing in Ukraine, so why would Ukrainians yield?
Air Combat Developments from China’s Air Show
The place where your language needs to interoperate with the outside world is in OS calls.

The modern way to interact with an OS is to stick a request on a ring buffer and get back a request ID, and (eventually) check the response ring for that ID to show up. Like in io_uring.

If your language is powerful enough, its OS library can encode that directly (without first marshalling arguments onto a stack that they must then be copied from) for minimal overhead.

You might also have an FFI thing so you can call out to libcurl, libzstd and libsqlite. (Do any others matter?) Again, if your language is expressive enough, you can avoid building up an argument list the usual way that must then be reorganized for what the foreign library wants.
Not a bad idea. When I’m going through code I’m not thinking about these things. I’m trying to fix something or get a feature out the door by some unreadable deadline.

I think I could see this as beyond word choice. It would be good to have something like this at work on all applications that process my writing looking for anything that could be seen as too negative. Neutral or positive is usually the way to go.
> [...] but it now requires so much knowledge just to get to the frontiers of human knowledge, not to speak of making a dent into uncharted territory, that results are being obtained later and later in life.

That's not really the case here. Zhang spent 10 years out of school working in fields in the cultural revolution, and didn't start college until he was 23. After his PhD, he couldn't get an academic job for 8 years and ended up delivering food and working as an accountant. He only got a part time lectureship after that. He wasn't made a professor until his big proof at the age of 58.

It seems incredibly likely he'd have been able to proove his big proofs faster had his life gone otherwise.
There's an excellent series in which Newton plays a large part, called The Baroque Cycle. I'd love a TV adaptation of it, although you'd have to gut much of academic stuff in it and just focus on the (excellent) plot
Bro . what are you talking about . I live in BTM, Bangalore and I can get a nice masala dosa for 30rs where I live . or I can get 8 idlies . enough to last me the whole day if I really needed it to . 40rs can get you a lot if you know where to look .
Well I'm glad they're trying and not listening to the defeatists!
A trend is to move towards using containers to replicate most of your production environment in your dev environment.

This has a bunch of purported benefits (you maintain one way to run your app, you test all the deps while developing), but note that it's never exactly the same setup.

It also has a bunch of issues like performance (in a large team, images change often, which means redownloading image layers or entire images; starting up containers adds an overhead too, especially noticable with running unit tests), flexibility (unless you run a full cluster locally, it's usually harder to work on multiple branches of your software at the same time since containers would be configured to use the same internet ports) and complexity.

I think an ideal would be containers for local dev work without tying them to production images so they can be optimized for different goal, but I've never seen that. The big issue there is that Dockerfiles are not composable (ie you can't have a install-deps sub Dockerfile that follows the caching semantics).
>Why is the arrow-function "this" behavior odd?

Because it behaves very differently from ordinary function "this" behavior.

Your statement about "this" being defined at the function call site is just...wrong.
> We ran an alternative by the telco. They didn’t like it and were frustrated. So was Sales. I was asked to go to telco’s HQ and figure out exactly what they want.

Sales. Sales at Twitter sells user data to Twitter's customers [who aren't necessarily even advertisers].

Got it.
Thus spoke Chamberlain.
Yeah. Maybe, you know, Russia should yield.
"A Partisan Districting Protocol with Provably Nonpartisan Outcomes"
https://arxiv.org/abs/1710.08781

Very cool. Though it does freeze in the two-party nature.
The Beatles themselves didn't need to ingest the entire corpus of past musicians to be productive & inventive, but they did stand on the shoulders of giants musically (vs being born in some prior century), and they were in the right time & place to be part of a growing scene whose smarts exceeded that of any of it's individual participants. This is the nature of 'scenius' and of golden ages - a lot of ideas are already teed up in the collective consciousness.
Homotopy type theory?
> You don't usually need them unless you are on the literal bleeding edge of a very minute subfield-of-a-subfield.

Not necessarily true. I have been there many times. We did not need PhD's to solve the problems.

One thing people might fail to understand is that there are professionals who not only invest the proverbial 10,000 hours to become experts in a field but go way beyond that and live and breathe the stuff for decades.

I don't want to sound like I am hating on PhD's. I am not. Just saying that they might just lack the marketing value some assign to the degree, that's all. You don't need N years of torture at a university to become an expert on something at the bleeding edge. In fact, in some cases this is almost impossible because the resources and "rules of engagement" in a university research context are very different from that of a business environment where your competitors are trying to eat your lunch every day and you have to perform or die.

You are absolutely correct in saying that certain industries favor having PhD's on the roster.

Here's what's interesting about that. We have done a range of aerospace projects for DARPA-related work. What happens more often than not is that the PhD's go get the funding and then discover they can't build it. That's when they shovel money our way to actually make it happen. I don't have a single PhD on staff. We get shit done. No matter how complex. From industrial products to sending hardware to the Space Station and (hopefully soon) the moon, 'been there, done that.
This essay uses too many analogies with the manufacturing of consumer electronic goods. I spent years using recombinant DNA to modify animals (nematodes and fruitflies), and I think a lot of folks don't appreciate the level of QC needed to manufacture and grow stuff at any level of scale. Your fingertips and the air itself is teeming with microorganisms that themselves are crawling with RNAses. My wife works in semiconductor manufacturing and the difference cannot be more stark. I went to a science conference with her and damn near every chart was filled with straight lines that differed no more than nanometers.

I'm now a software engineer (still working in biotech), and I can tell you there is a lazy level of comfort in being able to type code and get the same result every time
Who Watches the Watchers? You
Pre-COVID projection for SF Central Subway is 43,700 daily trips by 2030, and maxing out at 65,000. So yes, order of magnitude difference in capacity.

https://www.wsp.com/en-US/projects/san-francisco-central-sub...
Not talking would be a future crime that immunity would not cover.
A lot of people love SMS too.
I can't work out how this could actually work (if your smart color changing lights are just paired with regular switches).

1. It's midday, your lights are bright and blue
2. You turn the switch off. The bulb (and ESP) no longer has power.
3. It's 9pm; you turn the light on.

Would you not get bright blue light for a second or two until it had a chance to sync? You can get timely local execution with something like Tasmota but it has no consistent internal clock, so you're at least one network hop away from it taking proper state.