HNHacker News
TopNewBestAskShowJobs

kardianos

1,490 karma · joined February 21, 2017

submissionscomments
kardianos··on Human-Oriented Markup Language
My only pet peeve: can we define decimals as dec128 rather then float64 in configuration files?
kardianos··on AI was supposed to help juniors shine. Why does it mostly make seniors stronger?
I just felt this recently. I was sent some code for me to put into prod, a long running service. And in one func, which returned an error (Go) but still called "os.Exit" in each error handler rather then returning.

Fixing the issue was a small matter. But the amount of disrespect I felt, that I looked at it closer then anyone else apparently (which wasn't really all that close at all), when they were ostensibly building this code, that disrespect was just immense.

kardianos··on Pnpm has a new setting to stave off supply chain attacks
It seems like the core problem is (1) NPM node_modules is so large usually, no one actually audit them and (2) the NPM churn is so great, no one audits them and (3) the design of NPM appears to think that automatically updating point or minor versions is actually good and desirable.

Go is one of the few packing systems that got these right.

kardianos··on We all dodged a bullet
> We need some deeper changes in the ecosystem.

I avoid anything to do with NPM, except for the typescript compiler, and I'm looking forward to the rewrite in Go where I can remove even that. For this reason.

As a comparison, in Go, you have minimum version spec, and it takes great pains to never execute anything you download, even during compilation stage.

NPM will often have different source then the github repo source. How does anyone even trust the system?

kardianos··on U.S. government takes 10% stake in Intel
What is missing is that Intel has US based foundries and US based talent.
kardianos··on Windows XP Professional
I also run Linux using XFCE.

But some of my Clients use windows and were just "forced" to upgrade their hardware and use Windows 11.

kardianos··on Windows XP Professional
Yes please. Can I please have a simple desktop that doesn't get in my way back?
kardianos··on The Offline Club
As an alternative:

* Go ballroom dancing. * Go square dancing. * Go to the library and read their historical non-fiction primary sources (letters and journals). * Go to church (I'm serious, even if you are an atheist). * Go roller skating at a rink. * Go ice skating. * Go paint balling. * Go to a water park. * Go to your HOA/City/County board/commissioners meetings. * Go to your state legislature meetings. * Go to a volunteer firefighters informational meeting. * Go to a plant/flower (orchid/African violate) growers club. * Go to a sewing club. * Go to a fishing class or just fish. * Go to a hunting/gun class or just hunt/shoot.

kardianos··on Long live Xorg, I mean Xlibre
"everything is political" -> Communism
kardianos··on Show HN: Qrkey – Offline private key backup on paper
Nice, I'll add to the list of similar thing I made, specifically for keepass.

You tag entries in your keepass DB with "safe-print", then point the tool to the db file, unlock it, then it generates a printout to put in your safe.

https://github.com/kardianos/safekeysheet

kardianos··on Run a C# file directly using dotnet run app.cs
The author's didn't come out against it; they came out in favor of using it as a programming language first and foremost. Tools like gorun https://github.com/erning/gorun have existing for almost as long as Go has, so if you want to use Go that way, it is easy to do. They recently added in support to do this: go run github.com/kardianos/json/cmd/jsondiff@v1.0.1 Which pulls a tag and runs it directly, which is also kinda cool.
kardianos··on Leaving Google
That's not what Ian said, and he always says what he means.
kardianos··on Mississippi Can't Possibly Have Good Schools
They teach using proven methods, like phonics. They actually teach math. They test and use that as real information. They focus on results not on ideology.

They do NOT encurage using Paulo Freire's "methods".

kardianos··on Gmail E2E is as terrible as expected
This is how all HIPAA "secure email" works. Outlook, Zoho, clinic comms, BECAUSE it lets you revoke email access.

If you want an opportunity in this space, it isn't actually encrypted emails, but possibly standardizing and streamlining such "message pointers" and address endpoint verification.

kardianos··on Zelensky leaves White House after angry meeting
This is exactly what VP Vance and President Trump has asked the EU to do. They want them to pay more for their own defense... So, yeah.
kardianos··on Zelensky leaves White House after angry meeting
Believe it or not, yes, the US wishes NATO paid for more of it's defense.
kardianos··on DOGE has 'god mode' access to government data
1. I don't want the federal government to know much about me.

2. I think the federal government executive branch should be able to control itself and inspect itself.

kardianos··on DOGE has 'god mode' access to government data
In a sense, I agree.

The president should not be able to declare war without an act of Congress. The constitution grants the power to make law to congress, but then congress has enacted many laws which create agencies under the executive branch, which in turns empowers the executive branch.

So I agree that Congress should make/repeal laws that reduce the size of the executive branch so that only necessary powers are entrusted to the executive branch.

However, until that day comes, the separation of powers is the Legislative, Judicial, and Executive. Within the executive, inward looking (not external like killing people), yeah, the president and his appointed cabinet should have control. Without that control, you are defining an unaccountable form of government.

kardianos··on DOGE has 'god mode' access to government data
Is that your preference or what the constitution says?
kardianos··on DOGE has 'god mode' access to government data
I actually believe the executive branch should actually control the executive branch.
kardianos··on Typst 0.13 is out now
Exactly. I like to output PDFs with exact layout, and then output to HTML with approximate layout for flowing, ease of use.
kardianos··on Younger cannabis users have reduced brain function, finds largest study yet
This so much. I grew up in Oregon when it was legal for "medical" purposes. You could tell who smoked pot; they were not chill, they were dumb.
kardianos··on The Origins of Wokeness
Woke is critical construcivism.

The belief consists of two parts:

1. That truth is socially constructed thus when we see bad things, it means society created these bad things.

2. In order to determine what parts of society to cut-out to make society better, so bad things stop happening, use a critical theory to determine who should be removed from society so it can be more equitable (usually the stand in for good.

Woke normally holds that goodness is when results are equal, and if they are not equal, they have license to adjust them to equal (This is the core argument of Marxism, though woke could be said to be identity or social Marxism rather then just the economic Marxism presented, though in practice class identity was present from the start as well and expanded in practice under Mao).

kardianos··on If I Could Wave a Magic Wand
> Don’t Lose Your Idealism, Ground It.

This is almost universally true. We need morals/ideals, but they must be grounded in reality, in what is. If we just trudge along, we loose any vision for the future that could be better. If we just have idealism when we try to make things better, things usually get worse.

I'm not a constructivist (and definitely not a critical constructivist); I believe reality is knowable and consequential.

So have ideals; ground them in reality.

kardianos··on Why does storing 2FA codes in your password manager make sense?
If useful to this crowd. I use keepassx, I made a way to easily print off key passwords along with their instructions:

https://github.com/kardianos/safekeysheet

It could be modified to also print out the otp as well if stored.

kardianos··on E.W.Dijkstra: Simplicity is a great virtue ... complexity sells better.
I feel like this is philosophy in a nutshell.
kardianos··on I'm daily driving Jujutsu, and maybe you should too
I also use gerrit, and one repo uses large files. Looking at the roadmap ( https://martinvonz.github.io/jj/latest/roadmap/ ) they are aware of both these things, but aren't done.

That being said, it looks like jj pragmatically addresses many of the issues with git.

kardianos··on I'm a developer not a compiler
This isn't about knowledge. If you can't compute that a 32-bit integer is 4 bytes, or have the knowledge that an int in c# is 32 bits and a long is 64-bits, then no, you don't actually know enough to be on a team. And yes, it does come up and yes, it does matter.
kardianos··on I'm a developer not a compiler
[flagged]
kardianos··on I'm a Developer Not a Compiler
Yes. On principle, survival in many ways is "right".

But also, these little things aren't useful. But having been on the other side of the table, there are too many candidates you can't do basic programming, debugging, or logical thinking. So you dial it back, where do these people fall down? Often, they fall down at elementary questions like these "nano questions" and people who can do all these, these "nano questions" always known. They are proxy questions that act with a high degree of correlation to the people who I want.

← PreviousPage 3 of 13Next →