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 4y ago · link · parent

um... I would have written this same article with the exact opposite slant,

Algos in Plain English – Mult, Div, and Mod make for Efficient Division

The "binary intuition" is that "what you already know from grade school about multiplying and dividing numbers the long way on paper, by lining up and shifting columns of numbers, is even easier in binary because shifting is multiplication and binary only has a 1 or a 0 in every place.

I just think it's a little wrong to say "we're not mulitplying" when we are. And when you use Mult, Div, and Mod operators, that's what they do.

comment 4y ago · link · parent

> I disagree with this. This might be fair and technically correct on paper, but we don't use paper anymore.

here's a simple case you may have encountered yourself: you order a shopping cart of a fair amount of stuff (not even that much) from Amazon, and click purchase. Later you're wondering about an Amazon charge on your credit card so you look in your emails from Amazon and you log into your account on Amazon, and you can't match the charges on your card with any of your shopping transactions with Amazon, the numbers bear no resemblance to one another. Amazon is not bookkeeping in a way that's at all useful to you. Since you are the consumer of the data, they're not fulfilling their accounting obligation which is clear presentation of the record.

I have no doubt that their calculations are correct, but just as computers can free us from the burden of adding up numbers correctly, computers can also do other tasks we find burdensome, like double entry bookkeeping. When as a programmer I used to resist writing code that seemed inelegant, my old boss used to remind me that the computer was the drudge, a mere servant to the whims of the various humans using it. If Amazon wants to rejigger your shopping carts with respect to backorders and shipping, they could easily do it in a way that allowed you to reconcile your statements simply.

comment 4y ago · link · parent

humans learn words through contextual exposure to them.

exponential has two meanings depending whether you studied and understood what exponentials are in a math class, or did not.

if you did not but you've learned the word through repeated verbal contexts, it means "bigly"

also, in the example given of F=ma, the "a" is characterized as "speed" (per second) which it is not; but rather "acceleration" (per second per second) which is related to speed via an integration over time (seconds), but that's a f(unctional) relationship as is exponentiation, so from context I think people pick up that exponential means something like biglyly

(When I read the Mysticization title I was prepared for a pun on the game Myst, but it didn't show up. Myst and SimCity date from the same period of time, and SimCity is a system dynamics game. I was disappoint.)

comment 4y ago · link · parent

> Maybe contra accounts are an outdated concept.

for the readers, contra accounts keep track of expected adjustments, particularly "opposites", So when you sell items you also expect a percentage to be returned later by dissatisfied customers. If you book all sales revenues as they occur, that will show an "untrue" number, so you book expected returns into a contra account so you can see what your actual revenues are expected to be. Then later when you have accurate information on returns you use those values to unwind the expected values you put in.

Accounting is all about providing accurate information to various "stakeholders" who might be looking at the books.

comment 4y ago · link · parent

> “N-entry” accounting

it's called double entry bookkeeping because each value (each number) gets entered in two places, once as a debit, and once as a credit.

comment 4y ago · link · parent

I contend that the appeal of Brutalism lies entirely in its name, people are just mesmerized by that word, you hear it dropped much more than any other school of architecture. I don't know how to look at stats on wikipedia, but I'll bet that page gets more attention than its cohort.

Brutalist buildings are generally very unpleasant to visit.

comment 4y ago · link · parent

it's quines all the way down

comment 4y ago · link · parent

title? it has a "flying saucer", not a UFO

comment 4y ago · link · parent

you get different amounts of money coming in at different times (investors, loans, revenue from sales) and you have different amounts of money flowing out at different times (paying workers, paying for supplies, equipment...)

double entry bookkeeping not only "checksums" these quantities for errors, but also gives you different snapshots of your business, how much money do you owe in the short term, how much in the long term, on average what's the profit margin, how much tax do you owe this year.

other people can also look at your accounts and check up on random sample pieces of information to ensure it's not all made up.

It creates a clear picture where the raw data is somewhat murky, which enhances trust on many levels.

comment 4y ago · link · parent

> who is going to make you repay it and how exactly?

people are used to thinking of personal debt which they need to repay.

Corporate debt is not repaid, the %age is considered part of the "capital structure" of the company. It's a type of ownership, equity holders own the frothy top of the company, bondholders own the underlying assets at the bottom. As corporate bonds are repaid, new bonds are issued, renewing the debt. The fixed %age interest payments on the debt are a cheap way for the equity holders to increase their profits.

Government debt is more in the category of corporate debt, repaying it is not part of the plan, the goal is to move future spending into the present for long term infrastructure projects, etc. And as long as the economy grows so the debt percentage stays manageable, it's not an issue.

comment 4y ago · link · parent

reddit color is referred to as orangered, particularly your inbox "you have mail" indicator

comment 4y ago · link · parent

> If now wasn't the time to use the strategic oil reserve when exactly was?

the strategic reserve is for times of national defense. As long as it's lowered, we are more vulnerable to expanding threats from Russia and China, with potential disruptions to supply lines.

Otherwise, it's good for our oil prices to fluctuate with the market, things cost what they cost.

The strategic reserve is so we have ready access to oil at any price; it's not big enough to buffer very much of world market consumption.

comment 4y ago · link · parent

> Assuming US can print any value of USD out of thin existence as they have done multiple times in last 20yrs

The US doesn't do that. You're probably confusing the increase in the US debt with money supply. So long as the economy grows (as it has over the last 20 years) then the debt is not a problem

comment 4y ago · link · parent

I haven't watched till the end of it, but he's on and on about bodging rather than computer science, and all I've gotta say is "sounds like he wished he knew how to use linux". Worse is better is not computer science.

comment 4y ago · link · parent

> 2. The tech savant

yes but you're saying things in a slightly negative way and not mentioning, for the tech savant it's not just good, but better.

comment 4y ago · link · parent

> Windows is the only practical desktop OS for most people.

I agree except that the more naive among them are always one click away from being wide open to downloading and installing malware, you can't lock that stuff down without making the account very inconvenient to use.

Linux, at least it's at least a bit of a pain in the ass to download and install something even if you want to.

comment 4y ago · link · parent

I don't know if the blame is fzf's or cygwin's, but when i used to use cygwin I would just install everything in Setup, and that meant that i at a certain point i got fzf with (what?) default config.

It was a hot mess and took over several bash/emacs control keys. It did a nice job of searching history, but I hated that it paralyzed my keyboard usage

comment 4y ago · link · parent

> The tricky part would be combing through the 160 exabytes of output to find the cycle

I don't think you get to leave that out of the O(?) of this problem

comment 4y ago · link · parent

https://old.reddit.com/r/opendirectories/

comment 4y ago · link · parent

you'll win a Nobel prize in econ if you can prove "The pricing model isn't appropriate to make people care"

comment 4y ago · link · parent

> Now you have to change your thinking to be when supply is high

teachable moment, all along you should have been using price

comment 4y ago · link · parent

lower case, battle royale is just an expression in English that anybody is free to use to describe a conflict that had some aspect of getting out of control.

> ...and they are not organized into teams. Here, the title qualifies Battle Royale...

but in this incident they were organized in teams

comment 4y ago · link · parent

people try to nail down definitions of words that are only loosely defined. You know the fight scenes in movies where a fight breaks out in a bar, and before you know it, everybody is fighting everybody? That's a battle royale. Is it a fight to the death? not usually. Have some people used that phrase to refer fights to the death? yes.

https://en.wiktionary.org/wiki/battle_royal#English

https://en.wikipedia.org/wiki/Battle_royal

books.google.com search "battle royale" in the 19th century, you'll see talk of ladies squabbling and how to conduct a mass cock-fight

comment 4y ago · link · parent

> I appear to be distinctly in the minority, but sourdough is the usual bread I buy and eat

where do you live? on the US west coast it can be difficult to not buy sourdough, it's usually all they have.

source: I don't want to buy sourdough

comment 4y ago · link · parent

regular yeast dough also works that way, it doesn't need to be "sour" dough for the yeast culture to munch on the new dough food, so that evidence alone is not definitive.

comment 4y ago · link · parent

>> "specification left this undefined so that the compiler can define it"

>> I do however expect the compiler documentation to have an extensive section on stuff undefined by the specification and he should have said which is defined by the compiler

so your response is not to what he meant

> There is an entire section of the C specification that lists every single undefined behavior. What more do you want?

a similar section wrt the compiler he is using, because he's talking about "behavior undefined by C but defined by implementation"

comment 4y ago · link · parent

To truly believe in free speech you need to defend speech you disagree with. That's the ultimate prioritization.

comment 4y ago · link · parent

> less dangerous

pure ethanol is flammable, particularly when aerosolized https://firefighterinsider.com/ethanol-flammable/

boric acid (an irritating white powder) is highly effective

1
147148149
178