Better HN
topnewbestaskshowjobs
Log inSign up

nameiscubanpete

20 karma · joined May 8, 2018 (8y ago) · 20 submissions

Submissions

comment 2d ago · link · parent

I would give Gemini 4 Neon (High) a try. I've found it to be the best model for social reasoning and literary prose. I use it for my "Oracle Bot", which performs I Ching readings and synthesizes the output with my personal journal entries.

comment 2d ago · link · parent

On Antigravity "Gemini 3.8 Flash" now has a label "Leaving Soon" with a note: "Use Hydrogen for better quality with lower quota usage. Leaving on Nov 30".

I've moved from Flash to Hydrogen over the last few days, and while I don't have any real data, it seems to do what it says on the tin.

comment 7y ago · link · parent

ConEmu is the best solution on Windows. Hopefully the new Windows Terminal brings console API changes that ConEmu can take advantage of; there is a lot of black magic going on under the hood.

comment 7y ago · link · parent

That was my first thought. But then I realized some guy basically broke something so his stuff would work and someone else's wouldn't. He didn't destroy files, but that was malicious as hell.

comment 7y ago · link · parent

It's better that "Hello, world" take 5 seconds to print than 1 second to crash and print nothing.

comment 7y ago · link · parent

Speaking of code readability, the article uses a function in the example called "isNotOpenSource()". If you have a function that returns a boolean, it's best not to put another boolean in the function name i.e. "isOpenSource()" is cleaner and more readable.

Honestly, it's a code smell that makes me trust my initial reaction that the switch statement is indeed more readable than the authors solution.

comment 8y ago · link · parent

Check out Stallmans argument. He ends up at the same place as Theo, but goes into the why's:

https://www.gnu.org/philosophy/programs-must-not-limit-freed...

comment 8y ago · link · parent

It's harder to be moral when you know you can do the wrong thing and get away with it.

comment 8y ago · link · parent

I see your point and not necessarily disagreeing, but noting the creators of typescript refer to it as a superset.

comment 8y ago · link · parent

It's really kinda both, but context sensitive.

comment 8y ago · link · parent

I'd almost guarantee that it's Typescript. But being a superset of Javascript, it's still correct to call it Javascript.

comment 8y ago · link · parent

> The Bash scripts were good, but if someone was working on a Windows machine, they couldn’t be run

Git Bash. The only requirement is installing Git For Windows, which is an easy install.

comment 8y ago · link · parent

It's a PITA for any reasonably large/old CVS repo. Partly because CVS is fundamentally broke.

comment 8y ago · link · parent

Just to note, you can indeed browse build artifacts on GitLab, but finding it is a PITA. You have to drill into your CI Job and there's a button link on the right. It'd be nice to have a "Browse artifacts" option in the Download widget.

comment 8y ago · link · parent

I come to this site for articles like this.

comment 8y ago · link · parent

It could be. I got into this mode of thinking many years ago and Debian may be just as suitable nowadays.

comment 8y ago · link · parent

Trying to install Slackware on a laptop with 4MB of RAM is my Linux coming of age story.

comment 8y ago · link · parent

I think perls niche is sort of it's downfall. For example, I used to work at a company with 70% C, 25% shell script, and 5% perl. Any time I ran into a perl script I had to switch my brain into Perl mode, with the understanding that what I was working on would be just as good or better in C or shell. I had nothing against Perl as a language, but always enjoyed exorcising a perl script from the codebase.

comment 8y ago · link · parent

I use debian for my own stuff, but always push for RHEL/CentOS at work. Why? Because it's easy to persuade people into keeping the damn systems updated. As long as you stay within the same major version, updates don't break builds or require new rounds of QA.

comment 8y ago · link · parent

Under what shell? If this works as described, then it's broke.