Better HN
topnewbestaskshowjobs
Log inSign up

thexa4

251 karma · joined Mar 10, 2009 (17y ago) · 90 submissions

Looking for interesting projects in Machine Learning.

http://in.maxmaton.nl max@delftsolutions.nl

Submissions

comment 3mo ago · link · parent

I am running local models but noticed that Copilot didn't work with them correctly. To fix that I made a llama copilot extension that fixes some problems like Copilot throwing away thinking traces: https://marketplace.visualstudio.com/items?itemName=delft-so...

Getting pretty good results now with the Qwen models on my mac.

comment 8mo ago · link · parent

I've created a llama.cpp integration with Copilot in vscode. The extension readme contains setup instructions: https://marketplace.visualstudio.com/items?itemName=delft-so...

comment 1y ago · link · parent

If anyone else runs into this, it's very easy to set up an ssh proxy: ssh -D 8080 user@hostname

Once that connection is set up, point your browser to use localhost:8080 as a socks proxy.

comment 2y ago · link · parent

I made a mac screensaver that paints your screen based on Game of Life: https://github.com/DelftSolutions/ConwayWatercolor

5.

Don't be smart and use web standards(derk-jan.com ↗)

2 points · by thexa4 · 2y ago · discuss

comment 2y ago · link · parent

I've backed up a forum[1] by crawling it using wget and creating a WARC file.

I hosted it again by writing a python script[2] to serve responses from that WARC file again and put it behind nginx with caching enabled.

[1] https://forums.empiresmod.com/index.php

[2] https://gitlab.com/thexa4/warc-server

[2, deb package] https://gitlab.com/thexa4/warc-server/-/jobs/5213679726/arti...

comment 3y ago · link · parent

I've reported a similar issue on mac where it gets slower over time [1]. I hope it gets fixed at some point.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1799681

comment 3y ago · link · parent

You can add another format to the multipart/alternative container. Just like html emails often have a text fallback. It requires picking a Content-Type name (application/vnd.<your_name>.something) but then you can attach any additional metadata you want: https://kevinjmcmahon.net/articles/html-and-plain-text-multi...

The hard bit is getting email clients to use your information.

comment 3y ago · link · parent

We standardized on debian packages for configuration management and code deploys. The packages are built during CI and then either pushed directly to the desired machine using ssh or published on our own debian package repository.

comment 3y ago · link · parent

If that works you can probably encode the ics as a data url and link that: https://en.wikipedia.org/wiki/Data_URI_scheme

comment 3y ago · link · parent

Instead of ice cubes you can also use frozen coffee cubes, it prevents dillution.

comment 4y ago · link · parent

I've personally used trueskill for n-n team balancing: https://trueskill.org/

I haven't had enough players to actually have enough data / joining players to actually tune those parameters. If I did though I would store joining data and try out different strategies offline using gradient descent / grid search.

comment 4y ago · link · parent

I made a small script to securely backup and restore some important files: https://gitlab.com/thexa4/ocrbackup

Data density isn't great though (especially with the added redundancy) but it's enough for things like a password manager file.

comment 4y ago · link · parent

You can create your own repo and also do a `git init` in the dropbox folder. Then configure both to point to each other as remotes. (`git remote add dropbox /path/to/dropbox`)

When merging stuff, make a commit if needed on the dropbox repo and merge in your changes. Then pull from your personal repo from the dropbox one.

comment 4y ago · link · parent

They did have traffic caps a while back but explicitly abolished them.

comment 4y ago · link · parent

Taking the dot product of the [x,y] with the 8 directions and picking the one with the largest magnitude might be faster in some cases.

comment 4y ago · link · parent

I've spent way too much time implementing a transpiler and bash like shell that makes programming my ships in Kerbal Space Program easier. The self-hosted version is almost done. I'd probably do it again though, way too much fun to see your spaceships autonomously do things.

Transpiler: https://gitlab.com/thexa4/kos-kpp

OS: https://gitlab.com/thexa4/kosos

comment 4y ago · link · parent

You can set up a cronjob to run hourly to remove logfiles using `crontab -e`. That would achieve almost the same effect.

comment 5y ago · link · parent

Sorry, you're right. I switched it out.

comment 5y ago · link · parent

I've made a tool to back up my important files on paper using QR codes and erasure coding: https://gitlab.com/thexa4/ocrbackup

comment 5y ago · link · parent

They recently enabled route validation. It's possible your provider doesn't have signed ROAs:

https://www.ripe.net/publications/news/announcements/rpki-ro...

comment 5y ago · link · parent

Wouldn't imposing a lower bound on the TTL push more people to using anycast instead?

comment 6y ago · link · parent

https://www.teletrader.com/bitcoin-drops-15-trades-close-to-...

This website suggests it's due to bitcoin halving the block reward soon.

comment 6y ago · link · parent

The attacker wouldn't use that one in that case though.

    https://uk.co.ee/billing-update-jan02.info
    https://uk.co.ee-billing-update-jan02/info
Would be more likely.

Perhaps an animation showing both would help.

comment 6y ago · link · parent

It means that information to the left is always the important part. Right now you have to find the '/', evaluate the components leftwards, return to the '/' and evaluate components rightwards.

Given that finding the '/' is not always trivial (broken screen example in the article) and doing this requires you to think a lot of people won't do it.

comment 6y ago · link · parent

Too bad domain names are generally written in the 'wrong' order. These issues would have been preventable if domain names were written the following way: https://org.example.www/index.html

The domain referenced would have been: https://info.billing-update-jan02.uk.co.ee/ vs https://uk.co.ee/billing-update-jan-02

comment 6y ago · link · parent

From what I've seen, perforce is better for storing binary intermediates.

Git doesn't work very well with partial or subfolder checkouts which is something you would need if you want to store intermediates. In games intermediates can take multiple hours to build (like maps). Building the game from scratch every commit like it's usually done with git CI tooling does not work very well.

We also ran into wanting to give modders access to maps and materials but not to game code.

comment 6y ago · link · parent

I wasn't able to find an open source alternative to Newrelic APM for ruby.

Perforce is also something that's very useful for game development but relatively expensive.

comment 6y ago · link · parent

If you're interested in API design the upcoming RFC standard might be of interest: https://tools.ietf.org/html/draft-ietf-httpbis-bcp56bis-06

comment 7y ago · link · parent

You can make it idempotent again by requiring API users to use an If-Match header with the ETag of the state they're currently expecting.

Also allows you to implement optimistic concurrency. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If...

123