HNHacker News
TopNewBestAskShowJobs

akira2501

11,987 karma · joined June 10, 2010

submissionscomments
akira2501··on A comparison of Rust’s borrow checker to the one in C#
> The defaults can also be unintuitive: say we wanted to write a method on a struct which returns a reference to one of the struct’s members.

Why would you do that?

> n fact, this is so common that Rust doesn’t require you to write the lifetimes explicitly

This is an actual _pattern_? Yikes^2.

akira2501··on There is no such thing as a global method in Ruby
> also how do you increase the volume of your speakers

The mixer is a separate device.

> it's a file and you can write to it!

Which means you don't need any special software or tooling to use it. So you can automate actions with it using scripts in ways that any other desktop system won't do for you nearly as easily.

> all you need to do is write a turing complete configuration file.

Welcome to "general purpose" computing. Go back 50 years and see what the alternatives were. Or check out Plan 9 to see the file concept taken to a much better conclusion.

akira2501··on Cooking with black plastic is particularly crucial to avoid
> are you bringing it up for a reason?

This article relates to "hidden dangers of cookware." If he was talking about the vagaries of the solar cycle on Mars, I'd be on your side, as it is, this comes across as reflexive gatekeeping.

> Do people on this site now just read the headlines and then come to comment their stream of consciousness based on the title?

And.. what, precisely, do you think _you're_ doing in this comment? Is it not precisely what you complain about?

akira2501··on Steam games will need to disclose kernel-level anti-cheat on store pages
> lag compensation

That's already done entirely server side. It could only be. If you mean predictive positioning from the client side you can do that with far less state than gets transmitted today, and you could factor in the other players momentum on the server side to see if prediction would even be necessary in a given frame or not.

The server could also send lots of phantom updates so the player client has no idea which objects are real and which aren't. The hacks could work around this but it would take a lot of power to do so. There's room for asymmetric counterhacks here.

As for the other types of bots those are far less useful and more detectable by naked eye without wallhacks, which ironically, is because lag compensation is server side, these hacks do not have a deterministic outcome when used.

When you look at a video of what a wallhack enables and how much state data gets transmitted that shouldn't be, I would be embarrassed to have such unworthy netcode in the 2020s. They've had 20 years and have done next to nothing.

akira2501··on Pushing the frontiers of audio generation
ah.. so "frontier" is the new buzzword that keeps the corporate board invested in this dead end?

frontier garbage.

akira2501··on I attended Google's creator conversation event, and it turned into a funeral
People tend to create value inherently. If they are not receiving the benefit of that then it would most appropriately be described as theft with the aid of blind regulators.
akira2501··on Steam games will need to disclose kernel-level anti-cheat on store pages
It makes it way easier to detect it. If a player can pre move their aim to be at the point near where the aimbot would take it by using a wallhack they can hide the action much more clearly. If they're constantly doing 180 no scopes you've got a pretty good indication something is wrong.

Also if your guns aren't _perfectly_ accurate then the aimbot can't actually predict much of anything.

akira2501··on Steam games will need to disclose kernel-level anti-cheat on store pages
My question would be can't the netcode be improved to prevent this in the first place? The fact that all players receive full game state enables this. In the early 2000s this made sense. Does it still today?
akira2501··on Steam games will need to disclose kernel-level anti-cheat on store pages
> Prop 65 went great!

The secondary effect is that business will stop using processes and chemicals which require them to carry this warning. You've effectively created a new market segment.

Are the labels annoying to the point of comedy? Sure, but it's not /your/ behavior we were trying to modify.

akira2501··on Google’s TOS doesn’t eliminate a user’s Fourth Amendment rights, judge rules [pdf]
> Consumption per se does not incentivize it,

It can. In several public cases it seems fairly clear that there is a "community" aspect to these productions and many of these sites highlight the number of downloads or views of an image. It creates an environment where creators are incentivized to go out of their way to produce "popular" material.

> Strict liability for possession in particular is nonsense.

I entirely disagree. Offenders tend to increase their level of offense. This is about preventing the problem from becoming worse and new victims being created. It's effectively the same reason we harshly prosecute people who torture animals.

> nor social damage involved in that at any point,

That's a bold claim. Is it based on any facts or study?

> over the extreme ickiness of the act as opposed to any actual harm caused by it.

It's about the potential class of victims and the outrageous life long damage that can be done to them. The appropriate response to recognizing these feelings isn't to hand them AI generated material to sate their desires. It's to get them into therapy immediately.

akira2501··on Google CEO says more than a quarter of the company's new code is created by AI
These statements rely on an unchallenged monopoly position. This is not sustainable. These statements will hasten the collapse.
akira2501··on Google CEO says more than a quarter of the company's new code is created by AI
Early Compilers. By a wide margin. They are the enabling factor for everything that comes below it. It's what allows you to share library interfaces and actually use them in a consistent manor and across multiple architectures. It entirely changed the shape of software development.

The gap between "high level assembly" and "compiled language" is about as large as it gets.

akira2501··on Google CEO says more than a quarter of the company's new code is created by AI
> Can’t really deny that reality anymore folks.

You have to establish that the CEO is actually aware of the reality and is interested in accurately conveying that to you. As far as I can tell there is absolutely no reason to believe any part of this.

akira2501··on Google CEO says more than a quarter of the company's new code is created by AI
> isn't this announcement a terrible indictment

Of obviously flawed corporate structures. This CEO has no particular programming expertise and most of his companies profits do not seem to flow from this activity. I strongly doubt he has a grip on the actual facts here and is uncritically repeating what was told to him in a meeting.

He should, given his position, been the very _first_ person to ask the questions you've posed here.

akira2501··on What scripts have you built to stand up a new server?
I built a shell and dialog based monstrosity 10 years ago to help take stage3 gentoo installs to a full desktop install.

Here's half of it.

https://pastebin.com/ayZ2j9dQ

akira2501··on NASA reconnected with Voyager 1 after a brief pause
There isn't enough throughput to achieve a negative delay which offsets the actual flight of light time to reach the object. The ratio of throughput delay to actual light delay is so infinitesimal it might as well be zero.
akira2501··on Australia/Lord_Howe is the weirdest timezone
> It really is quite flexible.

Other than considering current legally defined timezones as "legacy" definitions and then removing them for no reason other than to follow European fashion.

So, flexible, but managed by inflexible university types.

akira2501··on GLP-1 for Everything
> An anecdote is one piece of data

It is not documented, so no, it is not. Which is why I questioned if it was entirely based on self assessment or not and left the door open either way as the question was based out of curiosity and if his anecdote was public I wanted the answer to be as well. Is that not fair?

> when those pieces of data come together it provides evidence.

When you properly document them it literally stops being an anecdote and then becomes evidence.

> The researchers also tested semaglutide in rats that were made dependent on alcohol through long-term exposure to alcohol vapor.

So.. what are we actually measuring then? Isn't alcoholism a disease and not some acquired exposure based dependency? The idea that "GLP-1 for Everything" is even floated in this way is unusual in and of itself. I'm uncomfortable with all this and am once again annoyed at the way we use rats in research.

akira2501··on NASA reconnected with Voyager 1 after a brief pause
It only really needs to be on the upper managements desk:

"The $3.57 you save on capacitors per unit will cost you $50 in lost good will."

On the other hand there is a balance between longevity through simplified maintenance and replacing aged appliances with newer and significantly more efficient models.

akira2501··on NASA reconnected with Voyager 1 after a brief pause
You can alter throughput. You cannot alter delay. You also can only really broadcast at high power from one side.

Deep space RTT is unavoidable.

akira2501··on GLP-1 for Everything
> No, but same thing

They're either the same or they're different.

> Like I asked, where's our cutoff?

Exigency of loss of life.

> kills you a couple of decades earlier

Staying obese into old age carries risks. There are multiple ways to manage that risk. None of it is as exigent as other conditions.

> does treatment for that meet your approval?

Universally? No.

akira2501··on GLP-1 for Everything
> You're free to your opinion

Oh. Thank you. That's very generous. I assumed we started from that position but apparently not.

> the market will deliver to the demand.

Yes, because our healthcare market is perfect, and we should acquiesce to it's demands. The same could be said of opioid pain killers.

> The cost benefit ratio is obvious

Which entities cost benefit ratio, exactly? The patients? Are you _sure_ you have data which allows you to say that?

> even accounting for potential side effects at scale.

You're free to your opinion. The market will repeat history.

akira2501··on GLP-1 for Everything
I'm pointing out the problems of considering this a valid on term "solution." It's simply not. You need a plan to eventually be rid of this compromise.

That GLP-1 has benefits is good. That we could possibly rearrange our food system so we don't need it anymore is better.

You can acknowledge both without hurting _anyone_. You entirely lack an argument.

akira2501··on GLP-1 for Everything
As long as the supply chain correctly functions for the entire time you plan on being on the drug.
akira2501··on GLP-1 for Everything
> in a modern environment that is hostile to it.

Our ancient environment was hostile as well.

> It patches malfunctioning reward centers

It has an impact on them. It does not "patch" them. This is not a rational way to describe any drug.

> it reduces overall inflammation

It can inhibit certain inflammatory pathways.

> it provide cardiovascular protective properties.

It reduces the number of cardiovascular events. Whether that number is normal to begin with is not considered here.

> We need more information and research.

You certainly do.

akira2501··on GLP-1 for Everything
> turned moderately problematic drinking into easily achieved light social drinking.

Is this based on your survey or her self assessment?

> Sitting in a bar for hours on end drinking heavily is simply downright uninteresting

Yet it used to be? You don't find this situation suspect?

akira2501··on GLP-1 for Everything
Untreated diabetics can die within a week. Are we facing the same sort of problem here?
akira2501··on GLP-1 for Everything
Obesity rates are not consistent across the world or time. Neither work. They just hide symptoms of the larger problem.
akira2501··on What's New in POSIX 2024
> "It mostly works if you're careful" doesn't sound very convincing to me.

Would you rather write your own parser?

akira2501··on What's New in POSIX 2024
> I haven't seen any other tool ever have so many pitfalls.

I haven't seen any other tool with so much general utility and availability.

> to loop over a string array and print its contents

Is incredibly easy in bash and bash like shells. As highlighted the issue is that tools like 'ls' don't create "a string array." They create one giant string that has to be parsed. The rules in the shell are different than in other languages but it /will/ do most of the parsing for you, or all of it, if you do it carefully.

This is a fine tradeoff. As evidenced by it's wide usage and lack of convincing replacements.

← PreviousPage 13 of 34Next →