HNHacker News
TopNewBestAskShowJobs

wang_li

2,140 karma · joined March 17, 2015

submissionscomments
wang_li··on "Doors" in Solaris: Lightweight RPC Using File Descriptors (1996)
>Doors at the end of the day are a control transfer primitive. In a very real sense the calling thread is simply transferred to the callee's address space and continues execution there until a door_return(2) syscall transfers it back into the caller address_space.

Your phrasing is misleading. A door is a scheduler operation. What would it even mean for a thread to go from a caller to a callee? They are different processes with completely different contexts on the system. Different owners, different address spaces, etc. What the door is doing is passing time on a CPU core from the calling thread to the receiving thread and back.

wang_li··on Costco starts to sell 'apocalypse bucket' with food that lasts 25 years
Economics. You have a week’s worth of food in the pantry. Over the next month buy a little extra each time you go to the grocery store. Now you have two week’s worth of food. Continue shopping weekly or whatever your routine was. Eat the oldest items. Costs a little during the month you bought extra. Or use coupons and buy specials and sale items. But it costs a lot less than freeze dried food in a bucket and is fresher and tastes better.

Also get a ten gallon container for water and rinse, clean, and refill it a couple times a year.

Put the extra long term stuff in your bunker. Use regular food for the annual power outages and extreme weather.

wang_li··on Anti-ageing 'supermodel granny' drug extends life in mice by 25%
All you need is something that extends your healthspan at slightly greater than the rate that new discoveries to extend your healthspan are made.
wang_li··on A RP2040 based DECstation 3000 emulator that can run DECWindows
I want to know if they have a patched version of Ultrix or a license file that allows more than two users? Ultrix on a MicroVAX was my first contact with a Unix system. Then briefly some SunOS 4.x and then extensively Ultrix on DECstation 3000. But while you can do some fiddly show and tell stuff without a license, only being able to have two process owners, one of which is root, is kind of limiting.
wang_li··on Second factor SMS: Worse than its reputation
There is zero reason for ad companies or ad networks to be covered by any safe harbor provisions of the law. They should have 100% criminal liability for every mal-advertisement they send to a user.
wang_li··on PySkyWiFi: Free stupid wi-fi on long-haul flights
It's interesting that you can't see that what capitalism does is push everyone to contribute in doing something useful for others.
wang_li··on Booting Linux off of Google Drive
Once you have PXE you can do all the things -- NFS boot, HTTP boot, iSCSI boot, and so on. There are several open source projects that support this. I think the most recent iteration is iPXE.
wang_li··on All web "content" is freeware
This already happened and MS sent a cease and desist.

https://en.wikipedia.org/wiki/HiQ_Labs_v._LinkedIn

wang_li··on The case for not sanitising fairy tales
> So never mind 'original' versions, there may be no such thing.

There may be no authoritative version of a particular story. But there is an authoritative version of a particular writer's version of a particular story. If you want to retell the Little Match Girl story so that she gets to stay inside and have a nice meal and wake up on Christmas morning with a whole pile of gifts under the tree, fine. But don't call it Hans Christian Anderson's Little Match Girl. Call it Bob McBobface's Little Match Girl.

wang_li··on Apple found in breach of EU competition rules
>Apple's market is 1-2 billion people and affects 100,000+ companies.

It's a bit disingenuous to use customer base and the number of people who develop for the platform as a excuse to bring legal action against the company. Customers know what they were getting when they bought the phones and companies knew the rules when they chose to develop for the platform.

wang_li··on Reining in America's $3.3T tax-exempt economy
What would that even look like? Gift taxes are paid by the giver not the recipient. Currently you don't even have to report it if it's less than $18,000 per year per recipient. If you give less than $13 million in your lifetime you don't have to pay any gift taxes anyway.

I have a feeling that most people probably don't give $18,000 to their churches annually. At a 10% tithe rate, that's $180,000. Wel above the median household income.

wang_li··on Researchers to retract landmark Alzheimer's paper containing doctored images
This kind of fraud should carry a prison sentence.
wang_li··on Debian's /tmpest in a teapot
Code and scripts should be well behaved and clean up after themselves. There’s zero reason to periodically go in there and wipe stuff out. Especially when some file systems don’t have a creation time attribute in the on disk inode and some archiving tools preserve the mtime when unpacking. A newly placed file can already be five years old.

Also the tone of some of the included quotes is so offputting. Their statements and arguments for this change don’t even acknowledge the fact that there are different views on this. This change comes across as progress for progress’ sake. Makes me want to make a 500TB /var/tmp and never delete anything.

wang_li··on Go east from Seattle
The article doesn’t though. East is a path parallel to the equator on a spheroid. East of Seattle is a circle around the globe at a particular latitude. Facing the thing 1mm east of Seattle is a different heading than facing the thing 5000km east of Seattle.

As has already been said as soon as you “go”, if you aren’t turning some infinitesimal amount you aren’t going east. It’s only a surprising result when misleading people by arguing that east is a particular heading.

wang_li··on How to create mobile apps that make $3k a day
> This is what it means to own a platform for which they have a monopoly and do not answer to anyone but themselves.

This is true of every business. You can't set up a small shop selling fruit from your garden in your local Safeway. They own it, they decide what products are being sold from it. If there were only Safeways then maybe you can have a conversation about monopolies, but there are also Albertsons, Fred Meyers, Wincos, Publixes, etc. so you can't argue that Safeway has a monopoly. Unless you're arguing about a monopoly on Safeways, and then, well, yeah.

Apple controls their ecosystem. Google controls theirs. Amazon controls theirs. Microsoft controls theirs.

wang_li··on State of the Terminal
> Building new walls doesn’t automatically imply tearing old ones down.

But often in this space they seem to want to do that anyway. I can only imagine that they are attempting to force people to adopt their pet project. There's literally no reason a pair of sequences can't be specified that allows clients to query support for advanced terminal mode and get a response. After the client and the terminal have agreed on advanced mode, switch to a byte stream/command blocks/whatever which allow rich text, graphics, sound, access to UI devices, etc. Whan you're done you've recreated X11, but they can do whatever they like I guess.

There's no need to fuck up terminfo along the way though.

wang_li··on One Minute Park
Feels like window-swap.com.
wang_li··on Richest Americans Now Pay Less Tax Than Working Class in Historical First
>Relatively speaking, the rich do pay less % of their share of income in taxes, despite them obviously being way more able to pay taxes than the lower castes.

It's not entirely clear what you are trying to say, but as a share of income earned, the rich earn 20% of the income, they pay 40% of the income taxes collected by the government. They objectively pay more than a fair share.

wang_li··on Richest Americans Now Pay Less Tax Than Working Class in Historical First
They want you to start supporting redistributionist policies by making you feel it's unfair that someone who is a lot older than you and has worked many more years than you and pays a greater share of the tax burden than their share of the income has more money than you.
wang_li··on Stack Overflow simply bans folks who don't want their advice used to train AI
You can't say I'm using the word learn as a metaphor for some purely mechanistic and deterministic process and not like when people say learn as in middle school kids learning algebra and then switch to using the second definition to absolve OpenAI from following the license.

That'd be like saying my computer learned the film Oppenheimer when bittorrent copied it to my computer's storage system, transcoding it to a lower bitrate, and claim I'm free of copyright law because my computer just learned some facts.

All of OpenAI's products are databases with highly lossy compression applied. Using language that implies a mind is pure scam.

wang_li··on Stack Overflow simply bans folks who don't want their advice used to train AI
LLMs don’t learn facts. They don’t think, cogitate, daydream, hallucinate, lie, or any other activity that requires intelligence, a mind, or a personality. Writing about them the way you did just advances the scam that is the current AI industry.
wang_li··on Dell responds to return-to-office resistance with VPN, badge tracking
The ADA requires reasonable accommodation, not whatever the employee demands. If you’re blind they can get you a screen reader, they don’t have to hire Tim Curry to read all the text you encounter during the day. And if you lack mobility they have to have a wheelchair accessible workplace, they don’t have to let you work from from orbit via radio uplink.
wang_li··on I've forked neofetch to keep it alive
Not neofetch because it's a useless vanity thing. (E.g. /r/unixporn is pointless because it's just screenshots of people's random linux systems.) But other projects, yes.
wang_li··on I've forked neofetch to keep it alive
>I don’t understand why people have such high expectations and demands from OSS volunteers.

Because OSS volunteers frequently push people to use their projects. Sure, I didn't pay them, but they advertised to me and encouraged me and resulted me in expending time and resources in adopting their project. I have a valid claim that they act in a manner that doesn't rug pull me.

wang_li··on What is Webb observing now?
Light isn’t RGB. We just receptors that react to certain wavelengths. I suspect the sensors on the telescope have a range of wavelengths they are sensitive to. It would be a straightforward translation to shift it to map it to the visible spectrum without varying the relative intensities to accentuate certain aspects of the image.
wang_li··on Amazon owes $525M in cloud-storage patent fight, US jury says
TXT records were specified an rfc published in 1987. SRV records in feb 2000.

This sounds to me like the web. You make a connection, you request a resource, it returns content and references to further resources that are required to get the full content of the resource you originally requested.

wang_li··on Steven Levitt and John Donohue defend the abortion-crime hypothesis
It will be interpreted as saying minorities commit crime since minorities have a much higher rate of abortion in the US.
wang_li··on Steven Levitt and John Donohue defend the abortion-crime hypothesis
They will be unpopular with this when someone breaks down the demographics of abortion.
wang_li··on Radxa's SATA HAT makes compact Pi 5 NAS
Agreed. A low bandwidth SSD with no rotational or seek latency would be a very good use case for home users and NAS storage devices. Add in the reduced power, heat, and noise benefits and it's even better.
wang_li··on Sequential and parallel execution of long-running shell commands
>The focus of pueue lies on human interaction.

How is it better than me having another window open and running my long running command there?

← PreviousPage 14 of 34Next →