679 karma · joined Dec 26, 2024 (1y ago) · 1,040 submissions
comment 1y ago · link · parent
It calls the internal Fill function to fill 4 bytes of the slice at a time. That calls the rng assembly stub function which uses 'rdrand' to get 32bits of random data. Which gets called len(b)/4 times.
I don't think they did it for speed but rather to be more idiomatic.
Anyways, OSDev has had a "Go Bare Bones" page for quite a while:
comment 1y ago · link · parent
What is accurately? The efficiency of the product will depend on how full it is. The less mass you have inside it the more often it turns on and the more energy it consumes.
So do consumers even understand this particular point of their device? Or how their use case may impact the displayed numbers?
comment 1y ago · link · parent
Do you have any examples of such products? I don't believe I've ever seen one.
> it was cheaper to warm the outside of the fridge to avoid condensation
A refrigerator has an evaporator inside the fridge to get cold but it must have a condenser on the outside to discharge heat. The outside of the fridge is going to get warm no matter what you do. The only time I've seen an actual heater used is when a fridge is placed outside where temperatures go below freezing.
> but the parts cost was a few dollars lower.
The labor cost was also significantly lower and the rate of production was higher.
> than it was to install adequate insulation inside the fridge
They used to be insulated with cork and then fiberglass which were the common technologies for their time. As soon as foam became more prevalent they switched to that.
> Energy star and those yellow power consumption stickers changed that.
It normalized the patchwork system that existed before it. California, as always, experienced the initial problem and created it's own standards on refrigerators sold in the state. Other states followed, the federal government picked at it slightly, and finally Energy Star came into existence mostly by industry demand.
comment 1y ago · link · parent
And so no Democrat voted against her? Does a party line split ever look good regardless of how it breaks?
> Fewer than half the R Senators voted to confirm her.
Anti-trust issues have become more popular lately. Senators come and go. Like I said she had a rocky start.
> Obama nominee Edith Ramirez, was confirmed unanimously
And she did nothing. Do you see the connection between those two facts? I mean it's not like there was a bunch of consumer problems during Obama's term or anything. :|
> let the different parties take responsibility and/or credit for their decisions.
Party politics are just exceptionally dumb. They don't even reasonably reflect how decisions are actually made on the hill. It devolves into a weird left vs. right fight between citizens while the actual meaningful policies and civil servants are entirely ignored. I don't sense a way to improve anything by doing this.
comment 1y ago · link · parent
JD Vance. Matt Gaetz. Josh Hawley. Ken Buck. They literally started calling them Khanservatives. There is strong anti-trust sentiment in parts of the Republican party. Just like there are "somewhat more progressive parts of the Democratic party."
> is revisionist history.
Or the story is more subtle and nuanced than people care to admit.
comment 1y ago · link · parent
More appropriately this is a Lina Khan era policy. She had a rocky start but her focus and conviction was unparalleled by any previous iteration of the agency. So much so that she enjoyed more bipartisan congressional support and approval than most staffers in recent memory.
comment 1y ago · link · parent
Where as these are not typical concerns for movie producers and movie theaters which are already operated as a legal cartel.
comment 1y ago · link · parent
If you want to smooth out data centers then you need hourly pricing to force them to manage their demand into periods where excess grid capacity is not being used to serve residential loads.
comment 1y ago · link · parent
Yes. I'm calling into question the idea that modern treatment of children is responsible for the world we live in. Clearly it is not given the relative scarcity of it in our history. I'm not saying we shouldn't give children a free lunch just that the OPs reasoning was rather lofty and detached from history.
> They said "without kids", not without this particular program.
They're replying to someone with the obvious implication that this program is in some way critical to children "learning and becoming productive members of society."
> Someone is carrying them no matter what.
Now are you serious? Do parents consider it their career to raise their own children? Does this career have the effect of increasing the number of children they care for in exchange for greater profits?
Which is why I invoked incentives. The tragedy here being that schools consider their primary obligation to the child and not to the family. So when parents are in a situation where they cannot care for their children successfully, for whatever reason, we completely ignore the core problem and instead patch over it. Worse it can sometimes create negative stigma for the child and work to further destabilize their living situation.
comment 1y ago · link · parent
Child labor was legal until 1930. It has been a part of society for longer than it hasn't. I think your calculus is a little off.
> your lifestyle would not exist
Because /some/ children struggle to eat enough? Which, again, has been a norm in our society for longer than it hasn't. We didn't fully get rid of horses as beasts of burden in agriculture until the 1950s.
> you personally don't need to walk places.
Carrying everyone who can't walk is not a universal good. Particularly when some of those people can't walk because of a tiny, temporary, and highly solvable problem.
Now you have people who make it their career to carry people. Their motivations are to carry as many people as is possible. If we actually made it so no one had to be carried they would be out a job.
We live in a world of odd incentives. There is no point at which abandoning the middle way will benefit you, regardless of how pretty those ideas sound.
comment 1y ago · link · parent
No. They're really good at it. There's a lot of kick backs, deal making, and free tickets behind that purchase. You know how hard it is, from the inside, to push through a billion dollar long shot like that? Nearly impossible. Whoever did this pulled a miracle to make that happen.
Our governments are bad at punishing corruption and graft.
comment 1y ago · link · parent
Our school just had "lunch tickets." There was a register on a different floor from the lunch room where you could go buy them, pick them up if your parents bought them by check, or pick them up if you were on the assistance list. Once you had them they were all the same. Only the person at the register would know your status.
None of my friends who got that ever were embarrassed in any way about using them as they were the only ones to know.
comment 1y ago · link · parent
The previous failure.
https://theaircurrent.com/aviation-safety/faa-knew-of-potent...
> All I can find is hand-wavy claims that wiring shorted and took down some piece of critical hardware.
Which would most likely be communications equipment. In any case I think it's fair to say it's a structure issue and not an administrative one. Unless we think DOGE made some change at the center that caused this wire to burn out?
The ceaseless political drum beating for points around here chafes. The likelihood that any administration is perfectly good or perfectly evil is absolutely zero. Let's get to causes and not generalities?
comment 1y ago · link · parent
You attribute to personality what should be attributed to malice. You do this three times.
> Please calm down
I am perfectly calm.
> Please try to be charitable and curious rather than accusatory towards me.
In attempting to explain why my point of view has been misunderstood by you I also attempted to find a reason for it. I do not think my explanation makes you a bad person nor do I think you should be particularly confronted by it.
comment 1y ago · link · parent
I'm a citizen, the laws of politics are the problem.
> Musk is a complex figure
Hogwash. He's greedy. There's nothing complex about that.
> and he often exacts a tool on the people around him
Yea it's a one way transfer of wealth from them to him. The _literal_ definition of a "toll."
> When he goes into "demon mode"
When he decides to lie, cheat and steal? Why do you strain so hard to lionize this behavior?
> you don't want to be in his way.
Name a billionaire who's way you would _like_ to be in. Elon Musk literally stops existing tomorrow. A person who's name you don't currently know will become known and take his place.
His place needs to be removed. It's not a function of his "personality" or "particulars." That's just goofy "temporarily embarrassed billionaire" thinking.
comment 1y ago · link · parent
Now they're separated by a commercial data link. When that link breaks ATC breaks, this is because they literally moved the staff from EWR to PHL, so you can't even revert when this occurs. This is why NATCA opposes and opposed the move.
It's even a little worse since this type of failure had occurred before and some of the controllers who experienced it took leaves from their positions reducing staff availability even more. It was an absurd change that set of a chain reaction of consequences for the system as a whole.
comment 1y ago · link · parent
"The Newark TRACON, which was previously located at the New York TRACON in Westbury, New York, has been transferred to the Philadelphia TRACON. This change, which occurred in June 2024, was implemented to address staffing shortages and improve the efficiency of air traffic control in the busy New York area. "
comment 1y ago · link · parent
The USB edition was kinda neat but just didn't have the same charm of the previous models but certainly had a lot more capabilities including games. I believe this is the Timex watch the article is referring to.
[0]: https://en.wikipedia.org/wiki/Timex_Datalink#Ironman_Triathl...
comment 1y ago · link · parent
The first world has great coverage, I'll give you that, but to say that this network is somehow an inherent advantage to indigenous and under served "remote" people is quite literally laughable.
And yes, the Amazon is being served, and they have _faster_ internet than before, which is somewhat good and not without it's problems to be sure, but they had the internet before. They have smartphones. How did you think they utilize the starlink service at all? They have a pretty narrow power budget which this really doesn't help with all while delivering them deeper into the pockets of American monopolies.
Oh, and the mining and logging companies absolutely love that they have the service necessary to support their commercial work in the Amazon. High rating from them, they would agree, it's "amazing."
The ocean, planes, and all sorts of remote vehicles had internet before as well. This is nothing particularly new other than being faster. Which moves the question to the appropriate place. Is it worth damaging the sciences for faster commercial internet? Are we actually doing anything more than sending youtube poop and pornography and gambling websites into places that never had to deal with these intrusions before? All while enabling a higher rate of destruction of the very place they live?
comment 1y ago · link · parent
That used to be true but the rate has declined significantly recently.
> Tonsillectomies used to be routine
Well you can literally observe the inflammation of those. Which is significant if your patient is not verbal yet. The risk of UTI drops off significantly after age 5 which highlights some of this reasoning more clearly.
> Surveys have been conducted and found that an overwhelming number of intact men
In cases where state Medicaid stopped covering the procedure for newborns they found it did reduce the rate of newborn circumcisions; but, it increased the rate of adolescent and adult circumcisions.
Also the use of "intact" and "amputate" are fairly judgemental terms particularly when "uncircumcised" and "circumcised" are more correct and more commonly used. To be technical it's actually a partial amputation as it's not typical to remove all of the foreskin. It's also true that the procedure can be a treatment for Phimosis or other chronic infection issues. So these terms are needlessly loaded and possibly inappropriate for the stigma they create.
> don’t believe one can argue that it is less traumatic and less risky for a human who is only a few days old
I'm sorry but the medical data is perfectly clear on the risk. It is absolutely less risky. "Circumcision risks tend to be lower when performed on infants compared to older children and adults. The complication rate is generally much lower in neonates (around 0.4%) than in boys aged 1-9 (around 20-fold higher) or those 10 and older (10-fold higher). "
> understand and contextualize the intense pain that it is being subjected to
Do you believe that the act of birth itself is painful for the baby? Was it more or less painful than this procedure that is performed with local anesthetic? I also think this is why parents are somewhat inclined to opt into the procedure. You've already gone through so much you might as well get it all done early.
We could also observe that parents that are circumcised are likely to opt into the procedure for their own children. So to the extent that this pain made any impression on them it doesn't seem to be evidenced in practice.
These are pretty thin points either way. We need better data otherwise this will always be rooted in subjectivity.
> Whereas an adolescent or an adult opting for this procedure would be informed beforehand, give explicit consent, and be given sufficient anesthesia.
Parents are expected to make health care decisions for their children until the age of majority. In most treatment related cases they would still be under their parents care. In both cases as long as the parent is informed and consents there is no actual difference.
Unless you're suggesting that unless required by medical condition that all circumcisions must be performed after 18 and only when a patient solely consents for it; well, there are clearly just as many problems with that proscriptive and tortuous approach. And without strong data to suggest that it would be a net benefit to do this we're better off with the current status quo.
comment 1y ago · link · parent
It's an elective procedure. No one has made it mandatory.
> by giving some disease prevention excuse that is minimally effective at best and bogus at worst.
A reported 10x reduction in UTIs does not seem "minimal."
> if it’s ethical to dock a dog’s tail or clip its ears because you think it looks better
Usually it's done for working dogs to reduce their chance of injury. Even in countries where the practice is fully illegal exceptions are made for working dogs.
> But for a newborn? Well, that’s just how we do things.
We tend to respect peoples religions. Judaism, Islam and some branches of Christianity require it for males. We accept the practice for newborns under the logic that it will be less traumatic and less risky than doing it when they come of age later in life.
comment 1y ago · link · parent
Until an emergency or a conflict suddenly occurs. There's often very little you can do here other than quickly and clearly provide the necessary information and instructions to aid pilots in averting the disaster. The pilot is in full control during emergencies and you're simply there to give them anything they need. In a severe emergency and in an ATC center they're going to dedicate you to the emergency and bring another controller on to manage other planes in that airspace.
As the technology became available to give planes the ability to see and avoid each other with Traffic Advisories and automated Conflict Resolutions we made it mandatory equipment for passenger transports. We made it mandatory for pilots to obey this system with _higher priority_ than any prior or new instructions from ATC.
So you want people who think ahead, constantly prepare for conflicts, and have a reliable level of vigilance. So when the emergency happens they're situationally well prepared and capable of managing all available resources that their stress levels barely increase. A bad weather day with lots of cancelled flights and closed airports should be the highest stress factor they face in their careers.
comment 1y ago · link · parent
Then can you tell me how many remote communities were not being served before that are now suddenly capable of accessing the internet now that these particular constellations exist? I mean just looking at Starlink's current availability map shows how little you might actually care about this particular outcome.
Even so was this the most affordable and sustainable option for these countries? Was there absolutely no way to achieve both goals at once?
> I don't really care that much.
Noted. We're just picking sides today, I guess. Bummer.
comment 1y ago · link · parent
The first framework I ever got to use was GTK with Glade and QT with designer shortly there after. These, I think, show the correct way to arrange your applications anywhere, but also it works great on the web.
Use HTML and CSS to create the basis of your page. Use the <template> and <slot> mechanisms to make reusable components or created widgets directly in your HTML. Anything that gets rendered should exist here. There should be very few places where you dynamically create and then add elements to your page.
Use javascript to add event handlers, receive them, and just run native functions on the DOM to manage the page. The dataset on all elements is very powerful and WeakMaps exist for when that's not sufficient. You have everything you need right in the standard environment.
If your application is API driven then you're effectively just doing Model-View-Controller in a modern way. It's exceptionally pleasant when approached like this. I have no idea why people torture themselves with weird opinionated wrappers around this functionality, or in the face of an explosion of choices, decide to regress all the way back to server side rendering.
comment 1y ago · link · parent
Of course it is. The next question is "is it a good thing to let a single owner completely control access to this resource?"
We've actually decided in the case of highways and rails, that no, it's not. There needs to be reasonable and non-discriminatory access to these resources otherwise the trade is not worthwhile. We actually have laws that are meant to enforce this.
> the obvious solution would be to provide a small number of orbital observatories to the astronomy community for free or with heavily subsidized pricing.
Define the "astronomy community." Do we do first come first served or do we have a priority list? How do we handle disputes? Is it just US citizens or do we need to offer this to the entire world? What if the vendor fails to make good on their concessions? What sort of penalties should surround this system?
There's really nothing "obvious" about this.
comment 1y ago · link · parent
Isn't one of the nice aspects of astronomy is that you can do quite a bit as an amateur with some decent equipment and a nice vantage point? What value does this fleet have to these people?
> people who espouse this sentiment would likely be whining about "useless astronomy taking money away from helping poor people".
You've constructed a strawman for the purposes of gatekeeping; meanwhile, there very much is a reason to have a rational conversation about the trade offs of these large commercial ventures that impact literally the entire planet.
comment 1y ago · link · parent
Commands with support would detect the shell and output an SQL schema along with insert statements containing the result of the command on a special file descriptor. These would be applied to a newly created 'history#' table and aliased to the 'result' table. The standard output of the command would still be displayed as it is now.
You could then do things like 'ls' and then 'select name,size,owner from result where size > 1024 and owner != 0;' And continue to run queries against the last result until it's replaced by a new command. Or run queries against the 'history#' table or multiple tables to join results from multiple independent commands.
With support for JSONB in most SQL engines this would provide a nice mechanism for working with any sort of nested data structure from any given program or from plain JSON files if required.