Better HN
topnewbestaskshowjobs
Log inSign up

fsckboy

8,214 karma · joined Nov 7, 2019 (7y ago) · 5,323 submissions

and those who were seen dancing were thought to be insane by those who could hear that there was no music.
Submissions

comment 3y ago · link · parent

From a decision-making standpoint it seems difficult to argue that you made the wrong choice. At the time when the $99 kits were ubiquitous, 23andme seemed like a solid, reputable company.

I am interested in genetics, but I didn't trust google, and I trusted a google spouse company even less (it's like John Lennon's Google, and Yoko Ono's 23andMe, when I didn't trust Lennon to begin with) and my data hasn't been spilled. Half of you are thinking of all sorts of epithets to call me, but fact is, I was right about 23andMe. From a decision-making standpoint, slam dunk for me and anybody who listened to me. It was not an unusual position to take. "What. Could. Go. Wrong?"

(I'm fully aware they probably already have my data from numerous blood tests I've taken from normal medical checkups, etc. but what could I have done about that?)

comment 3y ago · link · parent

> It's also a matter of getting to your seat at the back, finding no space, and then having to walk up and finding any remaining space has been taken ... If you're boarding last (as I do voluntarily and involuntarily), you just shove your stuff wherever

I get what you're saying, but I pay extra (a lot extra) to sit in the front and have more leg room, and forget about the fact you hate rich people, there out to be a place for my one carryon near where I'm sitting. Because if I have to walk to the back of the plane to stow, how will get to my bag after we land?

the asshole approach really is the asshole approach.

I know, I know, rich and asshole go together. Me paying for that seat, that comfort, should be balanced by me not being able to get my bag till everybody else has left the plane /s

comment 3y ago · link · parent

It's what I was taught in statistics class at MIT. But you're right, I rarely see them, people just call bar charts "histograms". What it does is smooth out outliers. There is always (i mean, within reason) a good sample at the mean, but as you go out from the mean you get more and more variance (it's sort of the definition of variance)

A gaussian bell curve is a "population density function" and this definition of histogram reflects keeping the population density meaningful in terms of height. I will try to look for some. But the wikipedia article on histograms does reference them, that's what they are talking about wrt "varying width" bar charts. It's just that there is a rule to varying the width, "x times y is equal for all the rectangles" (oh yeah, you even get to "eyeball it" to make them. Unless you have a massive number of sample points, if you can choose a width parameter that makes your curve look normal, your curve probably is normal, or at least, you can't say that it's not, no matter what the bar chart looks like.

to put it another way, if you follow this rule for a perfect normal distribution, you'll still get a plot of a perfect normal distribution. But if you have a sparse sample that's a jaggy bell curve, it will move the curve toward a smoother curve, accurate in the sense of "this curve is statistically equivalent to your data, so if it looks "normal", probably your data is normal, and you won't imagine a mode where there isn't one.

comment 3y ago · link · parent

this is going to be something of a disaster :) People travel together and like to sit next to each other, it's just going to be so confusing for some parties, and so many people are going to try to cheat, mayhem.

planes should switch to pods, then we get loaded in bulk. Everybody gets strapped in before the plane even gets there, then load us all up with a forklift!

comment 3y ago · link · parent

don't forget Vulcans, and there are also half-Bajorans, right?

comment 3y ago · link · parent

I hate zinc! I wish God had never made this cursed element!

https://www.youtube.com/watch?v=U1iCZpFMYd0

comment 3y ago · link · parent

when you talk about Winsorizing, you're talking about applying some subtle sophistication to statistically sparse data... so then you mention histograms, which also apply subtle sophistication, so you best be talking about histograms with unequal bar widths. Equal bar widths is a bar chart. It doesn't get to be called a histogram (pace wikipedia) unless every bar reflects the same proportion of the population.

comment 3y ago · link · parent

LLM cracks into your blog: "interesting blog post today about the 8088, thank you! that 8/16 architecture, with some 32 bit ops and, through segmentation, a 20 bit address space really expanded the possibilities for this chip. These PoTeNcY pIlLs will expand your possiblities even more!"

comment 3y ago · link · parent

8088? I swear I'm not a robot, but I wouldn't know how to answer that. Perhaps that's the correct answer?

comment 3y ago · link · parent

I'm not an expert on the GDPR (and I'm frankly sick of hearing about it) but surely what it bans is tracking cookies, and not cookies necessary for the proper function of the website?

comment 3y ago · link · parent

how did the Z80 cards work interfacing with the Apple hardware? I presume CP/M software loaded onto the Z80 was accessing (what I will call) "S-100 memory and displays"? Did you run a piece of software on the 6502 that translated/transported that virtual hardware state on the Z80 card to the real Apple hardware? Or did the Z80 card translate the available Apple hardware memory and display to be directly accessible to the Z80, and put the 6502 to sleep? The mind boggles. Hardware was much simpler back then, seems like anything could be possible, but memory was expensive so you wouldn't want to duplicate it or waste it.

I once heard from a reliable source that Paul Allen's Z80 card was Microsoft's big cash cow funding Microsoft's growth in between the BASIC era and the MS-DOS era, it was a really important product.

comment 3y ago · link · parent

just knowing that my neighbor was sending his mail this way would aggravate me!

comment 3y ago · link · parent

Should change the name of the place to "whales", then the whole world would join in trying to save them all. (No point in blubbering about it, there's strength in numbers!)

> I went on a road trip a month on from the controversial change... with an open mind.

It's not possible to have an open mind about it. If the law is based on large-number population statistics, an individual driving around talking to people will have zero basis to question the statistics. If the judgement is to be based on personal preferences, well then you don't have an open mind, you have your mind.

There's nothing wrong with voting on policy based on personal opinion and preferences, but why tell me you have an open mind, as if other people don't?

comment 3y ago · link · parent

Prop 13 has the opposite effect of what was intended.

If you stay put and don't move, your property taxes won't go up much. So you can vote for all the govt spending you want: don't move and you won't have to pay for it.

I'm not saying people are "getting away with" low taxes. I'm saying that people are "getting away with" high spending.

comment 3y ago · link · parent

when you read the doc and realized you missed something, don't say "footgun", say "aha! I misunderstood" Then if you want, set about to make things better.

Instead of jumping to "It shouldn't work this way" consider "Hmmm, why does it work this way? Is it possible that Thompson, Kernighan and Ritchie knew more about how to make a coherent straightforward system that would last 50 years in 1970 than I know how to now?"

comment 3y ago · link · parent

no, this is a person who understands what is there. People who imagine something else is there, are disappointed when it's not.

People who try to invent the new new, and don't complete the task, blame unix, when unix just does what unix said it would do. It was the people who made bigger claims but did not deliver who should step up and say "I didn't turn the unix environment into what I thought I did."

but people trying to invent the new new are trying to invent it on unix because unix delivers what it promises. It doesn't deliver what you promise. But have some humility, and accept your failure and don't try to pin it on unix. Go implement on Windows.

Unix does allow you to deliver what you promise, that's why you'll still be complaining about unix 10 years from now, but it's up to you to deliver what you promise.

people who say "footgun" are people who try to shed responsibility; "it wasn't my fault, waaaaaah". I'm not saying we should not make computers easier to program, I'm saying that when we fail to: "it's a poor worker who blames his tools."

Why is it so important to you to blame this on unix, when you could blame it on a mistaken implementation of a library that could be fixed?

comment 3y ago · link · parent

there could very well be a bug. if there's a bug, fix it.

But from what I read, it's documented as not threadsafe and this problem is happening in a threaded environment. That still could be called a bug. You find bugs, you fix them;

That's better than hyperventilating about how there is some massive problem with an operating system that you are using because all the people who came before you who knew more than you decided it was the best thing to use. The other OSes sucked more. This OS is simple enough that you can actually learn how it works, it's all laid out in front of you.

Should it do some additional things? sure. Help write the code.

comment 3y ago · link · parent

a "syscall" is not going to call back into your code to get the environment. If a "syscall" is using your environment, it's part of your code, probably better described as a library call.

comment 3y ago · link · parent

this is not a unix beartrap, this is a bug in Go if that's where it was found. If your code is multithreaded, it's up to you to make it threadsafe. You can't declare you're creating the most threadsafe memorysafe newbie safe system, and then go home. You have to write the code.

Your program gets its own copy of the environment when the program was launched. Nobody is changing it on you, any contention for that resource is you contending with yourself.

You don't expect an operating system to change things out from under you. Unix doesn't. If there is contention for this resource, it's all you (or whoever wrote the library you are using)

The environment is name-value pairs, as strings. That's it. That's what makes it accessible and useful. You can swallow it up, the whole thing, into whatever data structure you prefer in your language in a few lines of code, and a millisecond (if that much) of runtime. Just learn how things work and you won't feel helpless.

comment 3y ago · link · parent

coal burner is really a neutral reference that makes a note of race. Your interracial group of friends could say "she's melting snow" or "burning coal" with just a smile, no slur. I've only ever heard the term used in a friendly way. People frequently giggle about sexual matters.

Of course, if a racist makes any racial reference, it's generally racist.

comment 3y ago · link · parent

Nobody else answered you so I'm going to make up an answer which, even if it's not a specifically correct answer, it's a good answer :)

look into a.out and ELF formats for executable files; your executable files, said files hereby called "your code", will be in this format on linux.

There will be an entry point for your code, so if your program gets run, the kernel (or whatever userspace launcher it's given this task to... now that I think of it, from the command line, the shell would fork itself, and one fork would exec your program, so we're talking about exec here) will load your code into memory, and transfer control to--transfer control to means set the program counter to--your code at a particular address (the address of C main(), so to speak). Before this happens, the launcher will have allocated memory for you, set up the stack pointer, opened stdin/out/err, put the command line arguments into place (argc, argv), etc. Then your code can run till it's done, making system calls if it needs to, and potentially being preemptively multitasked, but that's all invisible to your code, black box in terms of how it's implemented.

now for signals...

Signals from the operating system need their own entry point(s) into your code. So, while your code is running, the OS can interrupt it (stuffing everything of yours onto your stack so it can be popped off later when control flow is returned to the same point later). In this meantime, the OS will now transfer control (set the program counter just like it did when it first launched you) and you're off and running with code to handle the signal, the interrupt.

If you have not prepared your code for this event, the default (set up by the launcher for programs) program flow at this point will be sent to a generic handler that says "unhandled signal", and your program will be killed. They're actually lying, the signal is being handled, but it's being handled by a handler that cleans up and exits.

But, you can write code to handle the signal yourself, and when your program launches you (generally in main() or nearby) register the address of the handler you want to use so that when the interrupt comes the OS will know where to send control. At that point it's as if you just called a function/subroutine at wherever your code running at that moment, and when that function returns, things continue as they were before, modulo whatever you did in your handler.

There's a bunch of specifics I don't know, is there one entry point for all signals, and a signal argument token decides where to transfer control, or are there 10 separate handlers so you don't waste time? etc.

if you're doing no-wait I/O with a single thread, one way is to make a blocking call, call into something that doesn't return till there's new data, and that new data may then arrive, handled by your interrupt handler; in that case returning from your input-getting handler could return from the blocking call and your code is off and running as if it just returned in the first place. There are a myriad variations on this, but that's the general idea.

happy to clarify anything, others can probably answer better, etc.

comment 3y ago · link · parent

>Could this be considered a strike breaking action?

"Strike breaking" is a different epithet, you're looking for "union busting". Nobody at Bandcamp is on strike.

comment 3y ago · link · parent

can one stream a mix of music sourced elsewhere and bandcamp music? If people have to keep switching apps, I think that's going to limit the appeal to people who are a bit more serious/intentional about every "listen". There's a lot of those, but it's still a minority.

comment 3y ago · link · parent

for the shadenfreude LOLs

comment 3y ago · link · parent

I would think it would depend on the year. When he first invented it, probably him. Later on when he was selling the things, not.

Edison was obsessed with making money from the patents he had, applying them to anybody making movies; the reason Hollywood (the industry) is in LA is that filmmakers fled the East Coast to the wild west to get away from Edison's lawsuits.

so perhaps (speculating) if Edison was spending a lot of time with lawyers, I tend to doubt he was doing the filming.

Mark Twain was a celebrity though, so perhaps it was a friendly visit.

comment 3y ago · link · parent

saying "Is it to your advantage to switch your choice?" is actually hinting at the correct answer; should be worded more neutrally, simply giving the choice to stay or switch.

comment 3y ago · link · parent

but there's no mention of what incomes did over the same period? the recent inflation was caused by cheap money policies (probably around covid) which flooded the market with spending, driving up prices.

also, isn't inflation always calculated on a 12 month scale? each month they publish how much prices have increased from 12 months before. This means that if there is a lot of inflation for a few months, each succeeding month after that will show high inflation till that bulge in the snake works it's way through. The numbers are a valid comparison to a year earlier, but misleading if you think "omg we've had month over month of high annual inflation numbers!"

comment 3y ago · link · parent

Visa and Mastercard are umbrella organizations that at bottom work through banks; the card doesn't just say Visa or MC, it also has a bank on it, and the front part of the card number is a bank identifier. So, there's no reason that European banks can't also be part of the same network, and presumably they are.

comment 3y ago · link · parent

>How could we possibly know the such things as 'Nazi snatch squads' even existed

Germans keep good records, and after the war all the archives were captured and read through and cross indexed. Every incident in Allied logs was compared with German logs to see what matched.

1
100101102
178