Better HN
topnewbestaskshowjobs
Log inSign up

nirui

2,090 karma · joined Jun 12, 2019 (7y ago) · 709 submissions

You know, I figured if I run this undefined behavior long enough, eventually one day that server will just jump down the shelf and fix the red black tree by itself.

[ my public key: https://keybase.io/nirui; my proof: https://keybase.io/nirui/sigs/oi8UKCZcYxKij-Pi43fDt35S1cHWmEKrFeMHZ4wW5Mo ]

Submissions

comment 14h ago · link · parent

I developed PTSD after getting my current Thinkpad Neo 14 AMD, it's mainboard dead basically the same day I got it, this year it's screen developed this flicking line and sourcing a good replacement screen turned out to be a little trouble. Luckily I still have this T440p, which currently giving me joy, I hug it every night before sleeping.

But that said, even for my Neo, which has a Ryzen 6800H CPU, hitting 95C is hard. I have to do something like encoding video with all cores to get to that. I also use something similar to PTM7950 for thermal and I hasn't repaste for a little over two years now. My light load temperature is around 45~50C.

I'm guessing, there's some problems with that particular Pad. If refund is still possible, do that.

comment 17h ago · link · parent

> owners running GrapheneOS reported that Volkswagen's

Just don't buy Volkswagen's

> Government identity software has adopted the same requirement

Cool, in person identification then.

All of those installed on your phone is really a exchange between convenience and the control of your own life.

One of the day you'll realize that most of these conveniences are a cherry-on-top thing rather than something critical, especially there's cost to maintain all this. That's when you start to trim unimportant stuff off of your life, to focus on things truly matters like love, peace, fulfillment, wisdom etc which your phone and Volkswagen can help very little.

Google seemed believe that they're the center of people's life. Well, Microsoft had the same idea few decades ago, and how that turned out?

comment 1d ago · link · parent

The world of cloud/infra development is a very narrow band of software development. From the infra perspective, the article is logical because now days infra is highly standardized with few choices of best practices. But what about all the other applications?

If you develop software for a company, many lines of code you wrote could be for addressing very specific problems that only this kind of business would ever encounter, and the knowledge itself needed to solve the problems maybe proprietary and heavily rely on company resources an experiences. The same code/application could be useless outside the company.

So yeah it's not that clean cut open source all the win.

comment 2d ago · link · parent

> “Righteous” is how the US military initially labelled the last drone strike of the 20-year Afghanistan war on a ‘suicide bomber.’ It later emerged the man was an aid worker, blown up with seven children as he arrived at his family home. The U.S. ultimately apologised.

Oh, I remember this one. After I saw the video on YouTube posted by WSJ, I spotted wreckage of his car and found it mismatched with the characteristics of a "suicide bomber" vehicle, the most obvious clue is the completeness of the wreckage, which suggests that the vehicle is unlikely contain any explosives when it was destroyed.

People on YouTube commented my founding as a "fake military expert". Few days later the U.S. military disclosed their error themselves.

> Targeting errors like these are common across advanced militaries.

Targeting error like this are common across military operations. Back in WWII times, KMT invited U.S. military to China to help with the commie+Japan problem, during their stay they killed quite a few Chinese civilians for reasons like "getting too close to their base" etc. They didn't bother to check even it's just visual distance away.

Military will never act in civil way, these are two systems, they even operate in different laws.

Base on that, I'm guessing, to "fix" the mistargetting problem, the solution is more likely "improve data collection flow", rather than "let's stop killing people". The whole point of using AI in wars is to make war cheap (you should feel the cold upon realizing this), not more sophisticated.

comment 2d ago · link · parent

It really depends on what you mean by detail.

Laravel uses autoloading (so as most other PHP frameworks), and magic methods (https://www.php.net/manual/en/language.oop5.magic.php) etc, which are features of PHP language.

Of course you can replace most of them, for example, swap `__get` with a manually implemented `.get`, but then you're talking about general programming patterns, not language/framework any more.

For Go specifically, it don't have class method override or even class, the `struct` embedding works a little bit differently. So at least that part will be different, and the difference will probably water fall all the way down to the point it effects how user use the framework.

comment 6d ago · link · parent

cgit+SSH (with guest+user access) is functionally exactly what I need. But cgit is a browser, I still need to setup a SSH+Git shell for it, which could cause problems for my setup, and the setup is not easy to containerize and scale (say, use a storage engine rather than files on disk), making it header to manage.

comment 1w ago · link · parent

The web standards don't really help too, that's HTML, CSS and JavaScript, was especially JavaScript, but now also CSS and HTML.

I mean, you already got <div>, <p>, now what is <main>, <article>, <section> and how to use them? Can I have <section> outside <article>? Can I have multiple <article> on one page? Can I have multiple <main> on one page? And there's also `flex`, `float`, `clear` etc etc etc in CSS.

(Oh, and HTTP is a can of bad worms all by itself)

Those people who wrote the standard just keeping piling new(-shit, potentially) content on top of old-shit content. One of the day people will find it too smelly and move on to better things as soon as other possibility arises.

It's about time to do some trimming, remove rules that's not needed, and make the integration more coherent. It's not that hard, just deprecating unnecessary standards and put warnings in browser engines while keep everything working as it was, the dev themselves will do the rest.

comment 2w ago · link · parent

> Check your local laws for what is legal to download and what is not

See? If the author hosts torrent, then this problem will just go away.

Also, yt-dlp still works? I tried few online ones about a month ago, none of them worked.

comment 2w ago · link · parent

Kids these days are really lucky, all these self-learning materials. Back then I have to learn computer from TV shows that broadcasts 30 minutes every week, and they mainly teaches Microsoft Office (that's how I learned Front Page).

Just a suggestion: can you also Torrent these? These video is worthy of archiving and YouTube don't allow download, not to mention watch videos locally is far better than the online one. Thanks!

comment 2w ago · link · parent

Really?

I love it when I saw sales pitches in my inbox which is webmaster@mail.localhost, I can't wait to receive partnership pitches to my inbox noreply@my.localhost, please send promotional material to my email me@me.localhost or to my company email sale@com.localhost. Make sure to upload all files on the computer as attachments when sending the email, and keep retrying until the email is delivered, make no mistake.

comment 2w ago · link · parent

Good for you :)

Though, the scam bots probably won't care about that. They mark your HN account as a AWS user then they send you scam mails hoping to trick you. Their failure is cheap, your failure is (maybe) expensive, that's the formula here.

comment 2w ago · link · parent

Yep, they're might be doing account profiling. Creepy, some might say, it's OSINT level stuff.

I never posted my email on this platform, but my Keybase page has that info, that's why I have also received few promotional emails originated from my HN posts.

But regardless, my internal security policy basically forbids me to be a early-bird of anything that require my personal info (that includes the email address), so these emails will never be effective on me.

comment 2w ago · link · parent

> so I immediately knew that the late AWS payments email sent to my HN email were fake

Have you ever mentioned AWS on this platform? If you're, then maybe the attack is more targeted/sophisticated than you've imagined.

comment 3w ago · link · parent

> around $20 per address

That's very high. I wonder how could some providers managed to offer VPS packages at $10.00/year that includes a dedicated IPv4 address (https://lowendbox.com/blog/1-vps-1-usd-vps-per-month/)

Maybe the pricing is different from one data center to another? These cheap VPSs are often hosted in ColorCrossing's data center.

comment 3w ago · link · parent

Man! Mr. Huang is B.U.S.Y., even at work lol

Just my opinion here, spy is probably fine, coworker is big no no. If I got a spy to bang, after it's done I'll publicly praise her on Twitter to thank her for the good time (assuming it is, otherwise I will have give advice) and tag my wife too so we can actually try the tricks at home but this time with true love. If a female coworker enters a meeting room alone with me, I'll insist that she keep the door behind her open so everyone can supervise what we are doing.

It's kinda pity. Mr. Huang seemed a nicer guy than the other CEOs, less dicky, trying to be useful etc. But then maybe that's why the other CEOs act like they do, a way to filter out the less loyal members from the company board. If Mr. Huang survives this, maybe he should get rid of whoever supported his ousting from the board, wasting money to breed a coup always burdens earning potential.

comment 3w ago · link · parent

WireGuard by itself is bare. Currently it don't have a "proper" ("official") way to make custom transport for it. Thus if you have to do it, the task is no different than writing a UDP proxy.

But that UDP proxy is then an independent program, with no awareness on the states of the WireGuard instance, thus the proxy have to run in a very dumb/blind way. That's not ideal.

If you want to write a network proxy, it's the best for the proxy to know as much user intent as possible, so for example it knows which request should be retried, which should be given up as fast as possible if encountered a fault, and which request should just be rerouted to another server, etc.

comment 3w ago · link · parent

Bias: I'm a Chinese.

How did they met? If it was a spy operation, then it will be an interesting case study to learn how the spy agency managed to connect these two without raising suspicion, and the information can serve as a warning/education.

BTW, the woman is fine, sure, but not cheating-worthy fine. Why? A escort (a.k.a prostitute) is much safer and clean option for man like him if he's THAT desperate. https://www.reddit.com/r/PeterExplainsTheJoke/comments/1xrlb...

comment 4w ago · link · parent

Can someone explain how to read this? Since "past performance is not indicative of future results" and "technical analysis is astrology for men"? I'm assuming these data is useful in some way, just don't know what.

The tech oligarchs are certainly panicking, given how they are acting cute now, like "space laser didn't work lol" and "Ram Altman" etc.

But I'm guessing, the market is panicking because it don't know what exactly the democrat would do to AI developments, so maybe some clarity from the party could fix it. More clear than "lowering living costs" that is.

comment 4w ago · link · parent

I think the problem Destin (host of the channel) faced, a.k.a. high production costs in the US, and the problem Unitree faces, a.k.a. no motivation to push for further automation are all both soft problems, meaning it can be resolved eventually if someone pushes enough to solve it.

If instead just creating few of the tools, Destin pushed to create $1T worth of it, then maybe the supplychain will automatically build around it.

If China's labor cost risen to the level that makes Unitree robots more appealing, then Unitree will figure out ways to automate their production line more to keep up with the demand.

All and all, it's not a capability problem, it's a "why do it, and why now" problem. Just like, say, sending people to Mars. The tech is already here, but why send people to a planet that (currently) don't even have enough stuff needed to support living? Except of course, Mars will probably stay this way much longer than a country changing course.

Also, just a sidenote: I think Destin misread the market. He wanted to create a "high-quality", "durable" product. Sure, it make sense to do it most of the time, but a brush? You know, that thing gets dirty in an dark and oily way very quickly. With a durable brush that's expensive to replace, then you have will a problem of maintenance, clean it etc. And grill oil is not easy to clean, do you now also have to buy another product just to maintain the brush? How about now I offer you a cheap made in China brush that will disintegrate in your hands after 5 times of use, but then you just throw it away and get a new one, no maintenance required. Of course, throwing away too many trash is bad for the environment, but guess how the other trash gets handled, including, say, toothbrush?

How about, invent a grill that don't need to be brushed? Just a rinse and it's done? Just a Smarter way to think about inventing, you know.

comment 1mo ago · link · parent

> The game right now rewards whoever puts out the cheapest garbage at the highest price.

Why? Don't people know that they should buy better? Spend their "hard earn money" on who truly worthy the support? Has the government forced people to spend money on shit products or die? Is there no good product anymore to spend money on?

> You'll never get to be #1 at "who sits on largest pile of money" by paying people an honest wage while your opponents are using slaves.

Why? Don't people don't know they should be working for who treats others fairly and kindly? Don't they know they can just quit when the working condition has gone too bad? Can't they just start their own company if they're unsatisfied with the one currently abusing them?

I thought people are wise and powerful etc, why instead of letting "robber barons and parasites to have nice things", people just stand up and "make things right"? What are they waiting for? What are they looking for?

> There should be no employee working 40 hours a week who still needs welfare to meet their basic needs

Few layers here:

    1. Why don't quit? Why can't quit? Why *choose* not quiting, willfully? People are not locked to their posts, they can leave whenever they want.
    2. Why working hours must be tethered with certain welfare outcome? Is the productivity guaranteed? What if the job just can't produce enough? Should a company hire people just to take a guaranteed lost? Or should the job be cut?
Demanding, saying "could", "should", "be fair" is easy and empty, but getting things to really work is hard.

comment 1mo ago · link · parent

> The special skill that the people with the most have is exploitation

If you're non-exploiting, then you should start a company to compete with the people who do. This is how the world actually work, don't just demanding, compete too. And if it worked, it could show that you don't need to be exploitative to remain competitive, it'll be a much greater world if everyone sees that.

comment 1mo ago · link · parent

> exclusive limited resources like land

I think you almost hit something more important there. Desires like mating, respect, status etc can only exists with the entities that needs it, but what if the existence of those entities is fundamentally no longer needed? Why then should "the society" maintain it? It's known that a society less burden advances faster, and it's also known that countries need to move fast to stay competitive.

I believe future is much grimmer for people currently living, because if productivity can increase without the import of human labors, then eventually the humans will simply not be kept alive. Meaning, shrink in human population, and even more intense competition for fewer still competitiable resources etc. Of course you'll are not hanging out, you're too busy doing hard labor the robots still can't yet do.

All of this is easy to see if you understand that human societies are not built to advance and provide, instead they are fundamentally built to fairly distribute resources from ones who's non-productive, to ones are. And most type of societies that is alive and well today is very good at that.

Also, off-topic here: most people confused the word "productivity" with something like "hard work", it's not that. I'll give you the readers some examples: Elon Musk can build and launch rockets that carries actual people to space safely, but you can't (so far) no matter how hard you work, and thus Elon Musk is more productive than you; Jeff Bezos (so far) deliver goods to millions of people or more each year, but you can't no matter how hard you try, and thus Jeff Bezos is more productive than you. That's what "productivity" actually mean, not "I work my ass off everyday so I deserve to get paid more". And that's the real reason why these guys are rich and you're not, not because rich people are evil, but because they found their way to be productive and thus they get rich.

comment 1mo ago · link · parent

> sci-fi technology

You know, based on some people in China has learned building VPN/proxies, the best and cheap way to communicate under surveillance/censorship is to hide it in plain sight. In fact, that's how most these proxy software works.

So no, you don't need sci-fi technology. If you really want to communicate, context-coherent code words though bugged phone line should be enough, at least enough to arrange a meet up.

Also a interesting thought: maybe one day when human invented a device that could listen to quantum communications, we turn it on and ended up detecting a sea of encrypted conversations from another space-time perhaps even an universe just aligned with ours, and the device also experiences unexplained packet loss. That's what I call a plot of a sci-fi story :)

comment 1mo ago · link · parent

If you don't know, China runs censorship program against radio signals beginning from the cold war time and it's not officially stopped yet: https://en.wikipedia.org/wiki/Radio_jamming_in_China. Of course it's not blocking ionosphere level, but not that different than chaffing the air (at the receiver side).

comment 1mo ago · link · parent

I kinda wonder what if Microsoft (or any major software company) would give their engineers a few decades of time just to refactor their existing systems, opposite of piling on new features. Will it result a much cleaner code, better architect, and stable product?

The last Windows I daily use was Windows 7 Home (same era with Windows Server 2008). The newer ones don't really improved much featurely from my (user) point of view, and from what I've heard, it's getting more sloppyer every newer version.

comment 1mo ago · link · parent

Well, it's a war, some people will die. But if drone saves one, that's one life goes on, at least it's very important for that individual life, people often forgot about that when they drown themselves in numbers.

And, if this method got "industrialized", they'll probably use survey drones to do a scan first before more expensive bigger drone gets deployed.

Damn, how long they been fighting now? Years, as far as I can remember. You know sometime I think human beings don't deserve anything pass the tree stick age.

comment 1mo ago · link · parent

> An automatic keep alive would keep pinging if you're dead

Look it this way: an automated request, a email click, it's all just signal collection. If something keeps making an automatic requests beyond it's intended need, then it's just bad signal collection.

I'm pretty sure there are better ways, especially the intended sample rate is 1/week which fairly high fault-tolerant for the use case. For example, you can send keepalives only when user's device is unlocked and in use, etc.

But of course that require client-side development, not sure if you're willing to get your hand dirty on that.

comment 1mo ago · link · parent

Firefox is a browser so it make sense to implement their TLS like that.

But we're talking about a lib of a programming language here, things happened in there effects your own reputation when you ship something built on top of it.

So the real question is, has others such as OpenSSL done the same? If yes, then yeah it's normal, but if no then I don't trust people from Google.

comment 1mo ago · link · parent

> independent web developers

Hmmm... the market is kinda narrow.

But more importantly, say I self-hosted this service, then, I have to answering emails for the rest of my life telling a program I'm still alive. It's kinda high maintenance all on it's own.

That is assuming this service continuous to run without upkeep, at very least keeping it powered, and connected to the Internet. I'm not really sure what comes first, the end of my life or I got bored of doing it.

I know it sounded inapplicable for a lot of people especially who do remote works, but still if you're thinking about letting a machine run your death plan, maybe it's also the time to start make people connections, such as with lawyers, partners etc, people you can trust and have the capability of handling issues.

Also, if you do remote work, maybe setup an account inheritance plan if the platform supports it, assuming the account is dedicated for working for the effected team of course.

Also also, just an idea, what if you make the check passive? Instead of having to answer emails, some automated procedure will send keepalives to tell the program to not trigger? That will massively lower the cost of using it.

12345
24