skysight-inc/HackerNews huggingface dataset:
> I understand that countless engineers have this opinion, but really (and bluntly) all it means is that you’re unaware or ignorant of how maths applies to what you’re doing.

I disagree.

I am aware of trigonometry, for example. Sines, cosines, tangents. Circles, curves, parabolas. Degrees and radians. None of that stuff is even encountered in systems programming.

Calculus I know. Derivatives and integrals. Rates of increase and decrease, acceleration, calculating areas and volumes. Totally unnecessary for systems programming. Or is it? Of course, if you're into profiling programs, taking metrics, observing historical trends, then you'll need calculus to make sense out of that type of monitoring data. But if you're slinging code to make an authentication server work, it's irrelevant.

Now, the math that I have handled in programs is basically integer operations. Floating-point math is likewise nonexistent in systems programming. Simple arrays in one or two dimensions, usually. Pointer arithmetic and making sure you're dereferencing the right thing. Bitwise logic with AND, OR, XOR. Different numerical bases: binary, octal, decimal, hexadecimal; converting among those formats and reading them in and out. Exponents, certainly. I learned all the powers of two so early in life!

Again, my background is in Unix systems programming and text manipulation. You just don't need trig or calc in those domains. Not to put a basic program together and get it debugged and deployed, or hack someone else's code.

I think the last time I must have run into trigonometry or floating point in code was in college when I was ftp'ing and installing a bunch of Unix adventure games. Wasn't my code, though; I didn't touch those sections.

And an interesting case in point is LOGO: how do you draw a circle in that language? All you need to do is

REPEAT 360 [FD 1 RT 1]

Now you may protest that knowing 360 degrees is a tenet of trigonometry, but it seems just like common sense to me.
That's not how the law typically works. Laws provide their own definitions because dictionaries describe how the language is typically used, not in a precise manner.
The person who submitted to arxiv (and promoted the paper on Twitter) is one of the senior authors (listed last in the author block), so I don’t think that’s an excuse for publishing to arxiv before doing due diligence on methodology

Apparently some of the other profs were not in the loop about the arxiv submission though
Red Lobster
To save you few clicks, this is the place you can play around with this - https://serpapi.com/playground?q=Coffee&ref=serpapi.com
Don't forget, however, that the $45K landscaper probably pays zero in Federal taxes, while the 900K dev (assuming it was all cash, which it isn't) is losing a third of that to Fed taxes alone, and tons more to State and local.

I'm not saying the highly-paid developer is hurting, but the better question is why does it cost $675/year to register a vehicle in CA? Our income tax system is already highly progressive, so why do we have all these other stealth taxes that hurt low incomes the most.
That's a bit like saying "I'm trapped in a theater with a fire but the sprinkler system is sabotaged because a bunch of idiots decided public water system is the work of the devil, and that's why I'm not worried about the fire at all!"

Sadly, Mother Nature doesn't care how many idiots we're sharing the planet with. We won't get any sympathy points.
Funny thing is, if we did nothing, we would solve the problem. We could just stop -- flying airplanes, running power plants, driving cars around. The situation would be improved tremendously if we all just sat on our asses. Do the bare minimum to keep food happening, that's it. But that isn't allowed, because everybody's in an arms race with everybody else, and hardly anyone can feed or shelter themselves autonomously in this environment. No, we have to keep doing shit -- carbon-emitting shit -- to justify our existences.
Sirens call
Try multiplying signed and unsigned 16-bit integers with values in the range -128 (65408) thru +255. Signed n-bit multiplication is just multiplication with sign-extension to 2n bits.
Clif stopped sponsoring every rock climber because free soloing is associated to it.
No surprise. Scale vertically first, then horizontally
Probably the strongest argument against the death penalty in general.
As someone who has studied a lot more math than CS (including grad level physics and math courses), and does SW for a living, this is nonsense.

I mean, sure, algorithms involve math. If you're dealing with trees/graphs, that's math. If you're compiling a program there is math behind the scenes. But for the majority of SW engineers, actually knowing the math is of little benefit to most problems that SW engineers need to solve. As long as you know the rudiments of algorithmic complexity (big Oh notation, etc), you're good.

(I am excluding trivial things like arithmetic and very basic algebra, as clearly this submission is speaking of more advanced math).
Another factor is that 'private enterprise' gets to decide which customers they want to have.

Meanwhile, government organizations cannot be 'run like a business' because they have to follow the laws that created them, which often preclude competition with the private sector.
If you want to get better at DSP programming, then you will need to study calculus, complex variable theory, linear algebra, and linear systems theory. There is such a thing as pre-requisite or foundational knowledge.
That's some poor research. I mean Jesus, spend 10 minutes with a search engine.

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

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

https://translate.google.com/?sl=auto&tl=en&text=1.%20Choral...
They've moved away from the hero's journey to focus on emotional character development that just churns and coddles. It's boring.
Because Indira Gandhi was a woman. She was killed by her bodyguards.
Sorry I didn't see your response.

> 1. Manually checking that will likely not affect the compiler. Again, you can implement your own optimizations, but that's not what you want to do.

I wasn't implying to do it manually. Compilers do it all the time.

2, I understand and would use. I also want to restrict input alignment.

3, I never knew, but compilers I use for x86 on linux seem to think it's fine to just check memory address distances.
You just reminded me of a comment I saw a dev make when someone posted the same criticism:

“Or your sense of imagination has atrophied.”

Maybe a bit pithy, maybe a bit sour, but what really resonated with me was the idea: graphics can rob us of that role in the production. I’m sure I’m about to say what’s obvious to many but: I just realized that I’ve lost a sensation that was dear to me as a kid: taking the handful of pixels and the box art and building the graphics in my mind.
Not really. It's the same argument for making any punishment proportional to the crime.
You should be able to do that on iOS with an extension like Hyperweb
New to Docker Use
Thanks for posting the actual history. This article is a ramble. The introduction is a mess of concepts and irrelevant links, the background is rushed and weakly researched, and the lyrics they fabricated are so removed from the original that it makes the headline clickbait. Kind of confused why it was even posted.
Yes, and a majority of internet discussions generally. Do I wish I could deflate that aspect of HN? Sure I do.
Roads in the US are a major part of the problem. They are incredibly wide and attempt to make drivers feel as safe as possible, lulling drivers into a false sense of security.
Struck a nerve, eh? Interesting. What do you do then?
COOP / PPD-40

Government Continuity of Operations:

Continuity of Operations (COOP) is a United States federal government initiative, required by U.S. Presidential Policy Directive 40 (PPD-40), to ensure that agencies are able to continue performance of essential functions under a broad range of circumstances. PPD-40 specifies certain requirements for continuity plan development, including the requirement that all federal executive branch departments and agencies develop an integrated, overlapping continuity capability, that supports the eight National Essential Functions (NEFs) described in the document.

<https://en.wikipedia.org/wiki/United_States_federal_governme...>

See also:

Post Attack Command and Control System: <https://en.wikipedia.org/wiki/Post_Attack_Command_and_Contro...>

United States Continuity of Operations Facilities: <https://en.wikipedia.org/wiki/United_States_Continuity_of_Op...>

<https://fas.org/irp/offdocs/pdd/pdd-67.htm>
I moved to Japan. I think we’re almost at the level where I’m confortable with the level of rule following here.

Some people don’t follow the unimportant rules, but almost never when it’d inconvenience someone else.
That's just the point of the page again. To highlight how there is no uniform agreement on if the rules should be enforced 100% to the letter, or if they can be bent when it makes sense. And even if you agree they should be bent, agreeing on exactly how is not agreed on either.
The author says the Hakka are Taiwanese aboriginal people, but I'm not sure they are. They're not recognised as aboriginal by the Taiwanese government [1].

[1] https://en.wikipedia.org/wiki/List_of_indigenous_peoples_of_...
Maybe there is already something like this but this would be sick for sql DBs. Having to make prod updates to a table always terrifies me.
The first page said to not make your own assumptions about the local laws, but to simply select if the rule as written has been violated.
Everything you never wanted to know about CMake (redux)
I appreciate the constructive suggestion!

I'm not sure I'm ready to let go of that phrase though. Probably it includes more than I managed to capture in my attempted definition upthread.
I did quite recently, to communicate requirements to devs working in a language I wasn't familiar with.
> The most likely answer for what is going on here is the one right on the surface. Prigozhin realized that he could try to take Moscow, but he'd ultimately be defeated

I think this coupled with the military didn’t seem to come over to his side in large enough numbers quickly enough indicated it was going to be a real fight, and not a one or two day affair. Otherwise, yes, Progozhin is a dead man walking.
I meant 'trained' networks in contrast to totally-synthetic intentionally-pathological networks like my 2abs-1 example. (It could be that only pathological cases give bad results - similar to how (Hindley-Milner) type inference is EXPTIME-complete but works fine for ~all real world programs - but that seems unlikely.)
The railroad bridge from the adjacent (closed) automobile bridge, in 2013. According to the article, the highway bridge was removed in 2021. https://goo.gl/maps/HbaKZjHjniSMJJEg6
maybe you could run the updates in a transaction that you could roll back if you were unhappy with the result?
Just run the whole operation in a transaction and verify whatever you need to verify before committing.
Yes, and studying some mathematical logic also helped. Neither math people or programmers really study logic enough. It is a rabbit hole, but just some understanding of the basics changes your whole approach to math.
Both species are just highly-organized "pattern recognizers," typically responding to their environmental cues in predictable and structured manners.

Occasionally an individual member of the species "acts wrong" and is therefore destructive to the entire collective society — and typically these misbehaving parts of the patterns are sloughed off from the rest of the clan.
We are hundreds of successful starship flights away from it being human rated IMO.
“they will demand you to surrender your fundamental right to privacy bit by bit”

In this case, literally all the bits.
What should he wear so that no one thinks it's propaganda?
"Climbing with a rope is a certain path to falling."

Yes. And if you miscalculated, you will still fall on a rock and break your back.

Or a sharp rock will cut the rope and you will fall to death.

Or the nut will come off and you will fall to death.

Or the material was bad and you will fall to death.

There are many ways climbing can go wrong (especially if you are inexperienced or careless, most accidents happen on easy routes). And I am quite sure, that the way I was doing freeclimbing, was way more safe, than what many casual hobby climbers are doing with a rope. That is quite often horrific. And this is what I meant with false security.
Sure by that logic we shouldn't be fighting wars or funding space exploration

But seriously there has to be some threshold of common sense. You are sending a sealed box 100s (thousands?) of meters into the ocean (or replace with another similarly risky sounding proposition - trying on experimental jet packs, getting shot out of a cannon with a parachute etc). It can't be that unreasonable to ask "if something went wrong who should be responsible and for how much damages and what level of insurance should be mandatory (or atleast available for sale)" - we already do this for mortgages where risks and impacts are a lot lower.

Now if you have more time and patience sure go ahead and enumerate it and do the actual work of passing regulation around it until that insurance premium actually becomes profitable. The free market actually can help if you ensure it is used.
I did a lot more math before focusing on programming, so it's hard for me to say.

Doing a lot of math definitely helps you think rigorously. Doing programming forces you to think rigorously.[1] So it's not clear if math is a value add in that direction.

I think the only way math has helped me is that mathematicians tend naturally to think "functionally", so for me switching from C/Python to more abstract functional programming (be it in Scheme or ML based languages) was fairly easy. In fact, I was already trying to program functionally in Python before I knew what that even meant.

On the whole, I would say: Study more math if that's what interests you - but not with the expectation of becoming a better programmer.

[1] See also my prior comment that discusses a Field's medalist's comparison between math and programming: https://news.ycombinator.com/item?id=36344681
Zoning restrictions are a red herring. Even cities with liberal or nonexistent ones (Houston) have traffic issues, and even the most adamant anti-zoning activists rarely want to raise their kids next to a gas station or a liquor store.

It's the downtown-suburb hub-spoke city model, where everyone ends up on the road at the same time driving in the same direction.

Look at some cities designed from scratch with cars in mind like https://en.wikipedia.org/wiki/Irvine,_California The office complexes are decentralized, surrounded by shopping plazas, parks and schools which are then encircled by apartments, then semi-detached residences, and finally detached single family houses. Everyone with a job at one of the office parks can live closer to their specific job without affecting the traffic patterns of the other neighborhoods.

Even though it's very car-centric (with I-5 and 405 going through it), has next to zero public transport, is home to a regional airport, Irvine consistently ranks in the top 10 places for living / retiring / growing up / bringing up kids / park access metrics.
Hahah old school hate for js. Very good.
This is meaningless. If we spend x on y, things could be safer. So?
How is this unsafe for McDonalds?
>=400 basis points over the risk-free rate.
https://archive.ph/PZJgo
There used to be a lot of different code editor and coding environment projects on Android in the first few years it came out. What happened?
If you update ubuntu or arch and something breaks, you have to look at `dpkg.log` or `pacman.log` to see what updated, and then you might need to grab an old package from the archive and manually install it.
Ok I see where the difference is now. You are clearing the hit bit for all items marked as hit on a single eviction. I mean yes I guess that means that during the following request you don't have to check all items in the queue but now you have a different problem: you evict items prematurely. With a cache of size 2 I can't show it but consider a cache of size 3 and the following pattern: a, a, b, b, c, b, d, e

When d arrives state changes c(0) b(1) a(1) -> d(0) c(0) b(0).
When e arrives state changes d(1) c(0) b(0) -> e(0) d(0) c(0).

Note how b got evicted from the cache even though it was requested more recently and more frequently than c because d cleared out the hit bit for both b and c.

Now you traded off hitrate vs latency. But the worst case latency is still O(n) just can't happen multiple times in a row anymore.

Imagine you have a cache of 1 million items all marked as hit and you get a new request which would evict all 1 million items. You gained latency for some subsequent requests but increased it in the current one. Crucially you also just cleared out the hit marker of whole cache.
Contracting Lockheed would not be cheaper lmao
Not an expert in Python plugins, but I asked chatgpt gpt-4 about this, and this is what it came up with - https://chat.openai.com/share/e1ad569f-4d4d-4057-8564-0d79a8... . See if this helps.

Essentially boils down to this:

Best Practices
The correct approach to managing dependencies will depend on the specifics of your application and its plugins. However, here are some general best practices:

Document your dependencies: Make sure to provide clear documentation of all dependencies required for your plugin to function properly.

Specify dependency versions: When downloading dependencies during installation, always specify the version to ensure the plugin works as expected.

Regularly update your dependencies: Whether you bundle them with your plugin or download them during installation, make sure you regularly update your dependencies to patch any security vulnerabilities and benefit from new features or improvements.

Consider using virtual environments: To prevent conflicts between different plugins' dependencies, consider using Python's virtual environments. This isolates each plugin's dependencies in its own environment.

Leverage dependency management tools: Tools like Pipenv, Poetry, or conda can help you manage your dependencies effectively. These tools also support the creation of virtual environments.
Oh, my point was that the parent comment was being obnoxious by calling out the hyperbolic title (which is a totally normal place for hyperbole) when they themselves used hyperbole to tell their own anecdote. Like it was just a dumb thing to call out.

I do agree that students who come into college often have an advantage, but they often have less of an advantage than they think, and it costs them because they end up not actually learning some of the less obvious skills that are being taught in a course setting. I found that the _best_ students in my cohort were those who started college with almost no programming experience but put in a lot of work. The next batch were those who came in with significant experience but were willing to reflect on it and adapt to the new information. Then kind of everybody else was mixed in depending on how they had taken things individually with no clear distinction between those with prior experience and those without.
> Doesn't mean they don't do a good job when they're on the clock.

While this is possible, I’ve found the people that do more of it to be generally better.
As a classical, old-school *nix-style developer, I can confidently say things have changed in Windows-land. Between WSL2, VS Code, scoop/winget, Windows Terminal, and dozens of small quality-of-life advancements, Windows has shockingly become a very comfortable, ergonomic development environment for lots of things that have nothing to do with .NET, Windows SDK, etc.
Filesystem checkpointing/snapshotting is one of the nice things about ZFS.

If the OS supports ZFS on boot drives, you can do checkpointed full system/kernel upgrades.

I like your idea about process checkpointing. Of course any side effects (eventually we're only talking about network in/out) would be nonreversible, but would be theoretically replayable (have to checkpoint the RTC too). The other side of the connection might have other ideas...

Sounds like a dream debugging tool though.
Walking amongst the swarm, as it is just "casting off," is among the most-beautiful experiences — there is so much chaotic goodness, as this species collectively reproduces. As a beekeeper, you "have failed;" but there is nothing you can do but watch this beauty, unpanicked.

When reading this book, remember that bees have different "genetic fitness" than mammals; i.e. an individual female worker has greater chance of passing along "her" genes by raising her sisters [than her own children]. When a hive becomes queenless, is the scariest time for a hive — and you can hear it in their changed tones as the hive is alerted to Her absence.
BEGIN TRANSACTION;

... ; Modify DB

... ; Inspect State

ROLLBACK TRANSACTION;

and then switch the rollback to commit when satisfied
Can confirm all of the above, I’ve worked at two federal government agencies in Canberra.

The agencies were like daycare for adults. No secret cabals of 5D chess planning. Those people couldn’t plan their way out of a wet paper bag.

Also, Canberra itself is rather lovely! It’s quiet, clean, and the food is good.

All those politicians have to eat their “it’s totally not bribery” $500 lunches somewhere.
I'm in the same boat, being in love with making games but really quite terrible at graphics (and with no real enjoyment for learning either, sadly). I tried pixel art several times, but ended up solving my dilemma with parser interactive fiction instead. I lucked out in that a) I'm an excellent writer and b) I'm obsessed with puzzle-y, simulationist games with a lot of exploration and atmosphere, so parser IF is perfect for me.
> The drone footage comes from Hart Island, off the Bronx in Long Island Sound, which has been used for more than 150 years by city officials as a mass burial site for those with no next-of-kin, or families who cannot afford funerals.

> Normally, about 25 bodies a week are interred on the island, according to the Associated Press news agency.

> But burial operations have increased from one day a week to five days a week, with around 24 burials each day, said Department of Correction spokesman Jason Kersten.

They always did mass burials at this site. It just increased velocity during COVID. Mass burials did not start because of COVID.