HNHacker News
TopNewBestAskShowJobs

k3vinw

95 karma · joined February 6, 2022

submissionscomments
k3vinw··on JSDoc is TypeScript
Ha! I see I elicited the copy/paste response I’ve seen elsewhere. The gp comment I was replying to implied a JSDoc only solution (“all in JSDoc”), but given the response, clearly they’re still relying on the TypeScript language service (aka lsp plugin) to achieve type checking inside their IDE.

Wishful thinking on my part that an alternative solution for JSDoc based type checking exists :)

k3vinw··on JSDoc is TypeScript
I’m curious how type checking is possible in a JDoc project. As far as I’m aware there’s no way to get type checking to work without tsc or a TypeScript LSP plugin.
k3vinw··on Damn Small Linux
Agreed. Why not have one installed by default and the other 3 could be recommended by DSL as alternatives?
k3vinw··on Cloudflare outage should not have happened
I was expecting a critique on the centralized nature of the infrastructure and the fragility that comes with it.
k3vinw··on You can make PS2 games in JavaScript
mkisofs might also do the trick.
k3vinw··on Spec-Driven Development: The Waterfall Strikes Back
What is this tripe? It even reads exactly like a response I would expect from a bad AI prompt.
k3vinw··on Nobel Peace Prize 2025: María Corina Machado
That personal risk includes having yourself or loved ones thrown in prison without any contact to the outside world for however long the dictatorship sees fit.

It’s a very sad history of oppression and corruption that has forced many Venezuelans to pull up their roots and risk their lives leaving their own country. It would be a dream come true to see this dictatorship overthrown and replaced by a democratic system of government that serves the people.

k3vinw··on Python developers are embracing type hints
I really think that Rust has one of the best designed/inspired type systems.

If I had to rewrite a Python project, I would consider Rust or another statically typed language before choosing to continue in a dynamic language with types bolted on. I hope the situation improves for dynamic languages with optional types, but it still feels weird and bolted onto the language because it is.

k3vinw··on Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
Ahh this might explain the behavior I observed when running npm install from a freshly checked out project where it basically ignored the lock file. If I recall in that situation the solution was to run an npm clean install or npm ci and then it would use the lock file.
k3vinw··on U.S. added 911k fewer jobs in year through March than reported earlier
I disagree. The BLS head was either incompetent or corrupt. The two are not mutually exclusive so they easily could have been both. Firing the BLS head was the obvious choice and it sends the right message to all involved that we will not accept this margin of inaccuracy when it impacts our economy. We need a BLS head with the balls to raise hell when the numbers are not reflecting reality.
k3vinw··on U.S. added 911k fewer jobs in year through March than reported earlier
So the federal reserve has been operating on bad intel for years? OMG
k3vinw··on Stop writing CLI validation. Parse it right the first time
jsdoc types are better than nothing. You could switch to using Typescript today and it will understand them.
k3vinw··on I'm working on implementing a programming language all my own
Rawk deserves it’s own HN post: https://eli.li/make-awk-rawk
k3vinw··on Modern CI is too complex and misdirected (2021)
This speaks to me. Lately, I’ve encountered more and more anti patterns where the project’s build system was bucked in favor of using something else. Like having a maven project and instead of following the declarative convention defining profiles and goals, everything was a hodge podge of shell scripts that only the Jenkins pipeline knew how to stitch together. Or a more recent case where the offending project had essential build functionality embedded in a Jenkins pipeline so you have to reverse engineer what it’s doing just so you can execute the build steps from your local machine. A particularly heinous predicament as the project depends on the execution of the pipeline to provide basic feedback.

Putting too much responsibility in the ci environment makes life as a developer (or anyone responsible for maintaining the ci process) more difficult. It’s far more superior to have a consistent use of the build system that can be executed the same way on your local machine as it is in your ci environment. I suppose this is the mess you find yourself in when you have other teams building your pipelines for you?

k3vinw··on Using Microsoft's New CLI Text Editor on Ubuntu
That’s excellent. Thanks for sharing and best wishes to the team’s success and popularity of the new editor!
k3vinw··on Using Microsoft's New CLI Text Editor on Ubuntu
Is it only the keyboard shortcuts that they’re borrowing from VS code? I hope they have plans for LSP and extensibility.
k3vinw··on The time bomb in the tax code that's fueling mass tech layoffs
Ironically the debate/discourse here is healthier than anything we see from US Congress. Presidents have a limited number of terms they can serve, but there is no limit on the House and Senate and change is hard if not next to impossible because of this. Term limits would be a good start to introducing positive changes, but good luck finding the necessary majority to vote against their power and very cushy and comfortable lifestyles.
k3vinw··on Being fat is a trap
If you can handle the responsibility adopting a dog can be a very rewarding experience with physical and emotional benefits. Many adoption centers will work with you to make sure you are a good match and can provide a loving home.
k3vinw··on What Is Post-Fascism?
Ha! Are you sure about that? These so called student activities have been anything but peaceful. And they are being instigated on American soil by foreigners which is an obvious violation of their Visa stays.
k3vinw··on If you are useful, it doesn't mean you are valued
What you’re describing is micro management and indicative of a toxic work environment.
k3vinw··on If you are useful, it doesn't mean you are valued
I’m curious. What kind of work would management ignore or look at negatively? If the work needs done, shouldn’t you be able to justify to management?

For example, by doing X this will improve our efficiency in performing Y by 80% and help us achieve our goal by reducing time wasted on Z.

k3vinw··on If you are useful, it doesn't mean you are valued
This hits close to home after recently being laid off.

I believe in making yourself invaluable, but would caution against falling into a niche. Especially if you want to avoid getting caught up in a layoff. But as long as you have valuable skills you will be able to find other work. Some companies are better at hiring (talent acquisition) than others.

k3vinw··on Yes-rs: A fast, memory-safe rewrite of the classic Unix yes command
I’m glad to see that even the project issues get the same level of dedication and commitment to the cause: https://github.com/jedisct1/yes-rs/issues/2

This whole project is a work of art.

k3vinw··on Advanced Shell Scripting with Bash (2006) [pdf]
One of the first things I do is turn on errexit and pipefail options, but trapping ERR and combining with LINENO to catch silent exits is brilliant!
k3vinw··on Annotated Unix Magic Poster
Ahh. Good point! Perhaps a better analogy would be that the brain processing power is represented by the circuitry. I’d be curious to other interpretations for why it appears where it does.
k3vinw··on Annotated Unix Magic Poster
Interesting. When I look at this I see printed circuitry like you would find on a PCB. In which case it could represent the electrons flowing downwards into the processor which powers the shell. And the power source might be the wizard himself or his beard.
k3vinw··on US accidentally sent Maryland father to Salvadorian prison, can't get him back
Except he was here illegally. So that protection was meaningless.
k3vinw··on US accidentally sent Maryland father to Salvadorian prison, can't get him back
The headline only tells half the story. This guy had previously been scheduled for deportation due to sufficient evidence that linked him to MS-13. It was an administrative error that he was deported to the wrong country. Here’s a link to the court case: https://www.courtlistener.com/docket/69777799/abrego-garcia-...
k3vinw··on A cross-platform multi-target dotfiles manager written in Rust
Shameless plug for my bare repo git shell wrapper approach inspired by others: https://github.com/k3vinw/simple-dotfiles-kit

I’ve been using it for a couple years now and it’s worked well for me across multiple machines.

k3vinw··on DOGE's only public ledger is riddled with mistakes
Good. We need a lot more representatives genuinely interested in eliminating government waste. Because the graft is real regardless of political party.
← PreviousPage 2 of 5Next →