HNHacker News
TopNewBestAskShowJobs

deniska

270 karma · joined February 24, 2012

submissionscomments
deniska··on Gemini 4 Argon
Or maybe Google actually knows how to set up a VM.
deniska··on Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?
About $20 (a single unit, 100mbps link)
deniska··on Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?
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

deniska··on Don't couple your Go code to GitHub
In the case of a typical software enterprise having your domain gone means that you probably don't care about the code anymore anyway.
deniska··on OpenAI Feared "Optics" of what might appear on Hacker News
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.
deniska··on Neovim have a ~$800k Bitcoin donation sitting untouched since 2023
To never have experienced a usefulness of cryptocurrency is a privileged position to be in.
deniska··on Show HN: Hacker News, Without AI
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".
deniska··on Russia's businesses under strain from Ukraine's attacks on Wildberries
I mean… https://www.amazon.com/s?k=fpv+pcb
deniska··on Godot will no longer accept AI-authored code contributions
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.
deniska··on Developer gets Half-Life running at 30 FPS on a Nokia N95
Well, there's always… https://github.com/FWGS/xash3d-fwgs
deniska··on Ask HN: Are we as society going to let LLM companies take all the values?
A tool with a monthly subscription isn't a tool, it's a service.
deniska··on I run multiple $10K MRR companies on a $20/month tech stack
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.
deniska··on Implementing a Z80 / ZX Spectrum emulator with Claude Code
Just some more parameters, and it would overfit that specific PDF too.
deniska··on Go-legacy-winxp: Compile Golang 1.24 code for Windows XP
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

deniska··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
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.

deniska··on Flappy Bird for Android, only C, under 100KB
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...

deniska··on Arrest of Pavel Durov, Telegram CEO, charges of terrorism, fraud, child porn
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.
deniska··on Pg_hint_plan: Force PostgreSQL to execute query plans the way you want
Why it's good: you won't get a sudden slowdown if postgresql for some reason changes its plan to something much less performant.
deniska··on FreeBasic
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.

deniska··on Reviving decade-old Macs with antiX and MX Linux (2022)
Because they come with not-really-multitasking OSes, with restricted access to file system and limited selection of software.
deniska··on The Maddest My Code Made Anyone
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.

deniska··on Underappreciated challenges with Python packaging
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.

deniska··on Fred Brooks has died
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.
deniska··on Show HN: Wa-tunnel – HTTP Tunneling through Whatsapp
Fine.

launches bittorrent client on the phone

deniska··on A guide for getting started with self hosting
I have a small script ran by cron (well, systemd timers) every 15 minutes which checks the current IP via https://api.ipify.org/ and updates dns entries on digital ocean (its dns service is free) if it differs from what's there.
deniska··on Show HN: Minimal, no-JS web forum software
My favorite kind of web forum engine is the one which keeps discussions threaded, but displays them in a flat list of messages ordered by time, but with quick navigation to parent and responses.
deniska··on SELinux is unmanageable; just turn it off if it gets in your way
So that your ISP, or someone else along the way, doesn't put a cryptocurrency miner into the page source.
deniska··on Yandex Provides Update on Impact of Current Developments
It's not a war, it's the "special military operation". Calling it a war can be considered a lie in Russia.
deniska··on Last Day of IKEA in Moscow
Gorbachev is 91 and still alive.
deniska··on Why I will never buy another Samsung device
I was using Nexus 6 from 2014 in 2019. And honestly I would continue using it if its battery wasn't in abysmal state leading to throttling. Considered buying new old stock or trying to replace a battery in this one. N6 is a 32-bit only device, that's the primary (the only?) reason I switched to something else, it would limit software choice going forward.
Page 1 of 3Next →