Better HN
topnewbestaskshowjobs
Log inSign up

Carbocarde

42 karma · joined Apr 2, 2022 (4y ago) · 8 submissions

Submissions

comment 2y ago · link · parent

I’m not who you were replying to but I’ve had positive experiences working with polars: https://pola.rs/

comment 2y ago · link · parent

Compare this policy to godbolt’s policy:

> In short: your source code is stored in plaintext for the minimum time feasible to be able to process your request. After that, it is discarded and is inaccessible. In very rare cases your code may be kept for a little longer (at most a week) to help debug issues in Compiler Explorer.

comment 2y ago · link · parent

> All submitted binaries are saved and made available to any of the authors of the tools used so they may improve their decompilers. If you're such an author who would like access, let us know!.

oof

4.

Predicting the End of Penny Auctions(apps.nulliq.dev ↗)

2 points · by Carbocarde · 3y ago · discuss

5.

Predicting Penny Auctions(apps.nulliq.dev ↗)

1 points · by Carbocarde · 3y ago · discuss

comment 4y ago · link · parent

I actually started working on that with some of my friends, here's a link: https://github.com/Carbocarde/games

We were planning on eventually making it into a website and doing a leaderboard.

The program works by having agents that write to stdout and a game that reads from stdin. That way we can kinda avoid some of the security issues around running untrusted code.

Still has a lot of work to be done before it's ready to simulate battleship :)

comment 4y ago · link · parent

Definitely in a real game against a human you would want to adjust the weighting based on historical game data. When I'm playing games against my friends, I treat the solver like an advisor. So sometimes I ignore what the solver says and instead choose from only edge squares.

comment 4y ago · link · parent

Author here. Yeah that graphic is a little confusing.

Since we have a 3x3 area of squares that are already accounted for by the current hit, we only focus on expanding that 3x3 area into a 3x4 or 4x3 area by shooting adjacent squares. We're expanding the 3x3 to 4x3, so we only focus on the delta between the 3x3 and 4x3 area (hence highlighting the edges of the 3x3 area). Once we decide which direction would result in the most potential ships being eliminated, we shoot in that direction.

Hope this helps!