Better HN
topnewbestaskshowjobs
Log inSign up

deniska

298 karma · joined Feb 24, 2012 (14y ago) · 91 submissions

Submissions

comment 4d ago · link · parent

We stopped asbestos, ozone layer decay and some other nasty things.

comment 1w ago · link · parent

It's really "fun" how people suddenly started writing short and concise tutorials on how to use a tool or a library without too much yapping, and somehow instead of being at the beginning of the docs, it's buried deep in "skill.md" file, not intended to be seen by humans.

comment 1w ago · link · parent

"Twitter, currently X"

comment 1w ago · link · parent

In my circles using a public url shortener was considered more rude than posting a long url.

comment 1w ago · link · parent

The difference is the scale. Yeah, some mice and small birds are eaten by bigger predators. Doesn't mean that introducing cats to that ecosystem won't be disastrous.

Same with the ecosystem of creative work. Will some humans be inspired by my code or other artifacts? Sure. Does it mean it's fine to introduce an automated 1000 times more effective plagiarism machine to that ecosystem? Probably not. Certainly not if avoiding destroying the ecosystem is your consideration.

comment 2w ago · link · parent

People who never tried outsourcing before are discovering that there are risks associated with outsourcing.

comment 2w ago · link · parent

Technically they did use a character which can't appear in a hash, '*'.

comment 1mo ago · link · parent

Or maybe Google actually knows how to set up a VM.

comment 1mo ago · link · parent

About $20 (a single unit, 100mbps link)

comment 1mo ago · link · parent

It's not exactly a cheap VPS, it's a server with 376 gb of ram my dad bought on ebay, put on co-location, and I help to administer it, and can create some VMs on it. But some of the things I do on these VMs are in principle similar to what I would do a $5 vps:

- irssi running in screen (irc client, yes, occasionally I still talk to people on there)

- my very small imgur-inspired image hosting (https://github.com/deniska/imghost)

- miniflux (RSS client, I am trying to get into a habit of reading RSS feeds instead of letting the algorithm to decide what I read)

- git directory with bare repos I use as remotes over ssh. I also have gitea installed, but I don't really see the appeal if I'm the sole user of a repo.

- snikket, xmpp server with a whatsapp-esque mobile app, useful to talk to people who are behind the great Russian firewall

- llama.cpp serving gemma4-26b-a4b for image processing of things too sensitive to let openai and other similar companies to see it (ok, this on won't fit on a $10 vps)

- minecraft server for this once a year 2-week minecraft phase

comment 1mo ago · link · parent

In the case of a typical software enterprise having your domain gone means that you probably don't care about the code anymore anyway.

comment 1mo ago · link · parent

What's the medium term plan though? Before we achieve singularity or UBI or whatever rapture analog this new religion is promising. Being employed is the primary way (and for most people is the only way) of getting housing, food, and other necessities meet.

comment 2mo ago · link · parent

To never have experienced a usefulness of cryptocurrency is a privileged position to be in.

comment 2mo ago · link · parent

The majority of links about "AI" are not really interesting. "New model released, people who want to avoid thinking can now avoid 7% more thinking according to NoThink benchmark". The top comment: "look at the SVG of a pelican they overfit the model on this time".

comment 4mo ago · link · parent

I mean… https://www.amazon.com/s?k=fpv+pcb

comment 4mo ago · link · parent

We should keep some people around who can read paper maps (and keep paper maps around too). We need to keep doctors around who can keep working without a computer. It's a civilization threatening issue not to. There might be plenty reasons, from natural disasters, to self-inflicted "geopolitics", when we suddenly have to take a technological step back, and it's in our interest to maintain "30-50 years ago" level of tech possible, so that we don't have to start all over from something resembling a bronze age.

comment 5mo ago · link · parent

Well, there's always… https://github.com/FWGS/xash3d-fwgs

comment 5mo ago · link · parent

A tool with a monthly subscription isn't a tool, it's a service.

comment 7mo ago · link · parent

I help my dad run a proxmox setup on a server he's got from a local craigslist analog and put on a co-location in a datacenter. It only uses a single public IP. All VMs are in a "virtual intranet", and the host itself acts like a router (giving local IP addresses to VMs via dnsmasq, routing VM internet access via NAT, forwarding specific outside ports to specific VMs). For example ports 80, 443 are given to a dedicated "nginx vm" which then will route a request to a specific VM depending on the hostname.

comment 9mo ago · link · parent

Just some more parameters, and it would overfit that specific PDF too.

comment 10mo ago · link · parent

If you ever wanted to use a modern C and C++ compiler on windows xp, 32 bit version of w64devkit[1] does target it and provides a recent gcc version.

[1] https://github.com/skeeto/w64devkit

comment 1y ago · link · parent

At some point, python became the language I use the most. And its IDEs… are frankly not really great. They are doing their best, but given the dynamic nature of the language, the experience of using autocomplete and other similar features is often jarring enough, when it doesn't do what you want it to do, to be annoying.

So I mostly stuck with really simple text editors (first likes of notepad++, geany and gedit, later switched to barely customized vim). You learn the language, you learn its standard lib, you learn the libraries you use often, you learn to navigate their docs. You learn the project you are working on, and remember how things are named. I do use a simple autocomplete (ctrl+n in vim), but it's more of a typo preventer (or a typo propagator, depending on how you look at it). It autocompletes every word in open files. Which might be more handy than it sounds, because it will autocomplete stuff not typically being autocompleted in IDEs, like json keys, or file names in the open directory listings, or even outputs in the open terminal session.

As for navigating unfamiliar code bases and "go-to-definition": it's grep. Just search for a substring in the whole project. You will find the definition. You will also find some other interesting stuff, which "normal" IDE tools wouldn't look into. Heck, you'll find interesting comments, interesting name clashes, interesting usecases for a thing you were looking for. And it's a language agnostic skill. You don't need another bespoke IDE, you don't need to configure some weird LSP to navigate unfamiliar code base even in not so familiar language.

comment 2y ago · link · parent

Yes, raylib does support android. I have a slightly incomplete build script I use for my raylib projects (obviously you need to take better care of signing, you probably want to build for other targets besides aarch64, your SDK is probably not installed in /home/denis, and I'm not sure whether I'm adding .so files to apk in a way modern android prefers, but it still works).

https://gist.github.com/deniska/f1ee73e18e1444eb724c01f933b6...

comment 2y ago · link · parent

Some time ago many people in Russia wished that Russia will become a normal European country. I guess the wishes were granted, but not in a way we wanted.

comment 2y ago · link · parent

Why it's good: you won't get a sudden slowdown if postgresql for some reason changes its plan to something much less performant.

comment 2y ago · link · parent

I started with the basic family of languages. VB6, QBasic (yes in this strange order), VB.Net, PowerBasic, FreeBasic.

FreeBasic was probably the most fun of them to me: cross-platform, compiles to fairly fast running binaries, can easily interface with libraries written in C, and has qbasic syntax mode.

comment 2y ago · link · parent

Because they come with not-really-multitasking OSes, with restricted access to file system and limited selection of software.

comment 3y ago · link · parent

Yes and no.

Modding a game means that you have a specific starting point, the original game, which you are probably a fan of. And you may want your creation to be a part of this original world, share some (or most) of gameplay elements, design elements, story elements etc.

People modded Half-Life not only because modding Half-Life was somewhat easier than making an FPS game from scratch, but also because they wanted to explore the original story from another angle, or they liked how engine feels to play, or for whatever other reason wanted a starting point to be a complete game. Kind of the original asset store: the assets of the game you are modding.

comment 3y ago · link · parent

With modern tooling packaging pure python code to be used by other python developers is a relatively painless process.

The main problem with python packaging is that it's often C/C++ packaging in disguise, among multiple OSes and CPU architectures, and that's far from being solved. Building such python wheel is essentially like building a "portable" (aka one you don't need to properly install into the system) linux/windows/macos application. That comes with a variety of caveats and requires some specialized knowledge one wouldn't pick up playing around with just python alone.

comment 4y ago · link · parent

We prefer option c: add a new table/column with similar looking name. Then few years later start wondering why there're two almost identical entities, and why one of them behaves weirder than another.
1234