HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Stampo00

no profile record

Submissions

Build2 0.15.0 Released

build2.org
1 points·by Stampo00·4 anni fa·0 comments

NGINXConfig: nginx config generator on steroids

digitalocean.com
1 points·by Stampo00·4 anni fa·2 comments

Sorting and Search Algorithms as Dances

i-programmer.info
2 points·by Stampo00·4 anni fa·0 comments

The best starting word in Wordle

bert.org
29 points·by Stampo00·5 anni fa·6 comments

The Balldo

indiegogo.com
1 points·by Stampo00·5 anni fa·1 comments

Reconstructing TypeScript

jaked.org
1 points·by Stampo00·5 anni fa·0 comments

Phantom Types in Rust

greyblake.com
34 points·by Stampo00·5 anni fa·3 comments

Feature Freeze in C23

gustedt.wordpress.com
2 points·by Stampo00·5 anni fa·0 comments

Reverse engineering a thermal printer's WiFi setup commands

blog.lambda.cx
7 points·by Stampo00·5 anni fa·0 comments

C++ Smart Pointer Gotchas (2013)

cppstories.com
5 points·by Stampo00·5 anni fa·0 comments

comments

Stampo00
·4 anni fa·discuss
I don't know if the author will see this or not. The RF shielding probably didn't get wet. It just looks like that. I have a TI-83 Plus Silver Edition which sports a semi-transparent case. I'm the original owner. I never got a drop of liquid on it. And the RF shield in mine looks exactly like yours. It has since the day I bought it.
Stampo00
·4 anni fa·discuss
Pardon me while I go add Optimus Prime to my corporate letterhead.
Stampo00
·4 anni fa·discuss
Sometimes I wonder if the long interview process isn't a psychological game. Maybe they think they can leverage sunk cost fallacy against you just so they can low-ball you. Yeah, the pay might not be great, but if you walk away now, you'll have wasted 9 weeks of effort! You can't give up now. You're invested. ;-)
Stampo00
·4 anni fa·discuss
I've recently started using devcontainers for some of my projects. VSCode makes using them pretty seamless and convenient. I'd be shocked if Codespaces on Github didn't have first class support for devcontainers by the time it becomes available for individual users. It seems like a logical extention of their utility.
Stampo00
·4 anni fa·discuss
This company doesn't understand public relations. Rather than countering bad PR with good PR, they decided to double down, cutting off their nose to spite their face.
Stampo00
·4 anni fa·discuss
Looks like it's open source only.
Stampo00
·4 anni fa·discuss
That's very true. I just wish there was a middle ground. I'd pay for a service that just runs a managed version of Gitea. Something similar to installing WordPress or a PHP bulletin board system to an old-fashioned web host. Hell, I could probably do just that if there was a super low end version of these types of services that will run with just PHP and Apache.

EDIT: Oh my god. I think I understand Sqlite and Fossil a little better now.
Stampo00
·4 anni fa·discuss
That's true. But I use VSCode every day. FWIW, I tried the de-Microsofted version and it worked well for almost a year. But then the plugin store split happened and it just made life more difficult than sucking it up and going back to vanilla VSCode. So I'd be a huge hypocrite if I said Github is a step too far.
Stampo00
·4 anni fa·discuss
I'm sure the tools are out there. But I'm at a point where I have more money than time for this. I empathize with the self-hosting ethos. I want a more decentralized internet. But I don't enjoy the setup and maintenance. I have previous little free time. I even spend much of it writing software, because I enjoy that. I don't enjoy being a sysadmim or my own personal devops.

I think I realized that in college when a friend tried to get me to run Gentoo as my first linux distro. I never made it to a desktop! I still run linux as my daily driver today, but I'm currently using Pop!_OS after having used Ubuntu since college. Because when I'm using my daily driver computer, I want to use it, not maintain it.
Stampo00
·4 anni fa·discuss
I'm so tired of this argument. I want to host stuff myself. Really, I do. But I really don't have enough time in the day to do it.

I set up a blog this weekend using Hugo, Ansible, and Github Actions to host it on NearlyFreeSpeech.NET. It "only" took two days, but I'm exhausted and I don't actually have any content yet.

I host Plex and TiddlyWiki at home on my Raspberry Pi. I used docker and traefik. Sometimes it still has weird issues and I have to reboot it. It was another project that "only" took a weekend and left me exhausted.

So let's say I don't want to self host, but I don't want to use Github. What are my options? I used to use Bitbucket, but I moved to Github a few years ago to consolidate my accounts. I liked Bitbucket, but people give you weird looks when you give them a Bitbucket URL. It's not as seamlessly supported in apps that can automatically understand Github urls. Confluence kept buying other products and tacking them on. And they kept trying to upsell me.

Then there's Gitlab. I'm going to have to get used to it because my employer is transitioning to it, away from Github. This article mentions developers having short memories. I remember when Gitlab decidedly said they'll do business with anyone back when people were shaming tech companies for helping and cooperating with ICE a few years ago. That left a bad taste in my mouth.

There's Sourcehut. But I have friends with beef with the guy who made it and I don't want to support him.

I can't help but feel like Github is probably the lesser evil here. Honestly, I'd pay for a service if I believed in it. It's important to me that I'm the customer, not the product. That's why I switched from Gmail to ProtonMail a few years ago. I have their top tier paid account because I believe in them and I want to get what I pay for.

Sorry, I don't really have a point. I'm just tired of this argument. I'd self host in a second if I could do it quickly, easily, and reliably. But I don't think I can.
Stampo00
·4 anni fa·discuss
If you like the style of the blog, there's a theme available for Hugo and a Go-based clone available for self-hosting. Links in the project README.
Stampo00
·4 anni fa·discuss
Maybe not directly, but if you like the style, you have some options: https://github.com/HermanMartinus/bearblog/#can-bear-blog-be...
Stampo00
·4 anni fa·discuss
Best Friends charms for nerds.

Someone with a CNC router or a laser cutter and a Python script or something could probably make some cash by selling these on Etsy.
Stampo00
·4 anni fa·discuss
Does anyone know of a tool like this for Apache?
Stampo00
·4 anni fa·discuss
I think we need to separate IRC the client from IRC the protocol. Everything you just described is possible with a sufficiently advanced client without any changes to the protocol. In fact, some clients already do what you describe.
Stampo00
·4 anni fa·discuss
The spline stuff is super useful to me for another non-cursor idea I've had simmering.

But I'm torn by this. The spline approach seems to look the most accurate. But when all three approaches are shown at the same time at the end, I think the spring animation might look more visually pleasing. But then, if the spring approach is only degrees better than CSS transitions, is it really worth all the extra code?
Stampo00
·4 anni fa·discuss
I've been watching those mesmerizing YouTube videos visualizing sorting algorithms lately. The header of this article uses a screen cap from one of them.

Them: So what shows do you watch?

Me: ... It's complicated.

There are a lot of different sorting algorithms. Like, a lot, a lot.

As I watch them, I try to figure out what they were optimizing for. Some only scan in one direction. Some only use the swap operation. Some seem to do the minimum number of writes. Some are incremental performance improvements over others.

When I see an algorithm like this, I don't assume the person who wrote it was an idiot. I assume they were optimizing for something that's not obvious to me. Its only modifying operation is swap, so maybe that operation is faster than an arbitrary insert for whatever system or data structure they're using. There are no temporary variables besides loop counters, so maybe they're on a memory-constrained environment. There's barely any code here, so maybe this is for a microcontroller with precious little ROM. Or maybe they're applying this as a binary patch and they have a strict ceiling to the number of ops they can fit in.

Or maybe it's just the first sorting algorithm they could think of in an environment that doesn't ship with one and the performance is adequate for their needs. In that case, it's optimized for developer time and productivity. And honestly, it's a far more elegant algorithm than my "naive" version would be.

These are all valid reasons to use a "naive" sorting algorithm.
Stampo00
·4 anni fa·discuss
I know everyone is here to complain about the mess that is "modern" frontend work. But I have to say, I started using Vite a week ago to bootstrap a new project using Typescript, Preact, and Tailwind, and I'm loving it. There is one weird quirk in where it insists the index.html file should be. But if you can live with that, Vite takes care of the details for me and gets out of my way. It also bundles everything exactly how I would have set it up by hand. I think it's weird that it insists its mostly a dev server. It does that well. But it's also a very good bundler with good defaults. I'd recommended it to anyone who just wants to get started, and wants a good middle ground between esbuild and parcel.
Stampo00
·4 anni fa·discuss
The old pros are continuing to age out and retire or die. Places with COBOL systems want to keep their applications limping along instead of replacing them. The shortage of devs is only going to get worse. Remember when lock down started and some government systems built on COBOL started straining under the load? Rather than being dismissive, I'd encourage those with any interest at all to try to pick it up. We need folks to maintain it.
Stampo00
·4 anni fa·discuss
Rumpelstiltskin certainly thought his name was private information.

There's actually quite a bit of folklore suggesting that knowing a person's (or creature's) name gifts you with a kind of power over them.

And like most folklore, there's a grain of truth to that. It's a lot harder to gossip about someone in a way where they'd gain a reputation if you don't know their name.

People who do shady things don't come up with aliases because it's fun. In the same way, I doubt as many people would donate large sums of money to hospitals, universities, and other institutions if they didn't get buildings named after them in return.