HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tikotus

394 karmajoined 2 yıl önce
Making games in many forms Daily logic puzzle: https://cluesbysam.com Ad free mobile games: https://games-by-sam.com Physical mystery puzzle magazine: https://cluehound.com Consulting: https://adartis.fi

Submissions

Ask HN: Can I trust GitHub not to use my code for LLM training?

4 points·by tikotus·2 ay önce·4 comments

Show HN: Clues by Sam – a daily logic puzzle using natural language in a grid

cluesbysam.com
3 points·by tikotus·geçen yıl·2 comments

comments

tikotus
·10 gün önce·discuss
I don't know enough to give an answer. But I also wonder if Unity, using Box2D to empower games generating billions, paid him anything.
tikotus
·10 gün önce·discuss
I used to work at Rovio (the creator of Angry Birds). Everyone was telling the story of a talk given by Peter Vesterbacka, the head of marketing. When it was time for questions, a man from the audience asked what physics engine the game uses. Vesterbacka gives the correct answer, Box2D, to which the person replied with another question. "Why isn't it mentioned in the credits? And by the way, I'm Erin Catto, the creator of Box2D." To this Vesterbacka replied "Come talk to me after the show". Maybe that's when Erin was given the hoodie? Also, his name was soon added to the credits.

But one thing amazed us all. It was impressive that the marketing guy knew which physics engine was used!
tikotus
·10 gün önce·discuss
Ah, found more: https://box2d.org/documentation3d/md_simulation.html#autotoc... "Box3D is designed to be deterministic across thread counts and platforms."

This is absolutely fantastic!
tikotus
·10 gün önce·discuss
I was looking for the same thing. There is a replay mechanism, so it seems to be deterministic. But with floating point physics, not across platforms. Though -ffast-math is unsupported according to the documentation, so maybe it is intended to be deterministic across platforms? https://box2d.org/documentation3d/recording.html

EDIT: Clarified meaning about ffast-math
tikotus
·10 gün önce·discuss
Oh, nice! What a wonderful surprise!

Very easy to build, and quite small. A release build of the library is 916K (on macos at least). I have a game engine that compiles to WASM for web, and having 3D physics has been a challenge. 3D physics libraries tend to be large and hard to compile. I didn't try yet, but compiling this into a WASM library with emscripten should be easy, and it's likely small enough to be justifiable for a simple web game.
tikotus
·17 gün önce·discuss
Germany is not EU though. Very different bureaucracy in different EU countries. Up to a point, EU doesn't add a single bit of bureaucracy to the stack. Only once you reach a certain limit you will have to enroll in an international VAT system, which is not too bad.

EDIT: Just re-read your message. I thought it said EU. But the point stands, Germany is not Europe either.
tikotus
·22 gün önce·discuss
What about the case of just needing one, not a collection? And when a function receives a Point, how does it know if it's a value or a reference?
tikotus
·23 gün önce·discuss
Indeed. But luckily those who mostly want per commit versioning are coders, and they are technical enough to find a solution for this. Like perforce git interface.
tikotus
·23 gün önce·discuss
I like putting it like this: VCS can be centralized or decentralized, and it can version per file or per commit. For games you want centralized per file versioning, like Perforce. Git is decentralized per commit versioning.
tikotus
·geçen ay·discuss
Meta's ad manager breaks maybe once a year on Safari, so I have to boot up Chrome. Also recently there's been an odd bug on more than one sites (at least Zoho mail and, again, Meta) where the top 20 or so pixels are hidden behind the tab bar. Again works in Chrome. But mostly Safari has been fine.
tikotus
·2 ay önce·discuss
C# (and F# before it) got it (mostly) right. JS did a shallow copy of it, messing up some details, making it harder to use for certain things.
tikotus
·2 ay önce·discuss
I hadn't done any PHP in almost 20 years, not since my studies when LAMP was still the way to go. But recently I had a reason to create a dynamic web page (not what I usually do) and went with PHP. Haven't regretted it.

I haven't run into any of the quirks. I keep things simple, and it just works. The only problem I ran into was the realization that PHP is the wrong tool for long running tasks. After some rogue requests/users running my whole service to ground, I had to move the long running endpoints to node.
tikotus
·2 ay önce·discuss
Async stuff, vector math (vector value type) and special let-style forms for pushing/popping render states. For example, if I want a drop shadow, I can do (vfx/drop-shadow [settings] ...) and a drop shadow effect will be applied to what is rendered within that scope. Also GC that works well with game style allocations where most of the allocations are dropped every frame.
tikotus
·2 ay önce·discuss
I've also made my own language for making games. It's a scheme with some tricks to make some gamdev specific aspects much nicer. Making it work was indeed not that hard, but making it good has taken its toll. Really happy with it currently!
tikotus
·2 ay önce·discuss
This does not sound like any of the several vegetarians I know. Is it a cultural difference?
tikotus
·2 ay önce·discuss
I was also curious about this, and I don't think the other replies understood what was being suggested.

If I understood correctly, the aim of the engine is to lower the in-memory size of the history of game states, by only snapshotting the delta. I'm also curious what would happen if, instead, you'd just run any deterministic snapshottable physics engine, and delta compressed the history on the fly. I think this is how, for example, Braid works.

Might be that it doesn't work, that running the delta check on two big enough snapshots would be too slow, and that's what this engine fixes. But would love to hear if it was considered.
tikotus
·2 ay önce·discuss
If you like smoothies, I think I've got something for you!
tikotus
·2 ay önce·discuss
Actually, inspired by this, I went ahead and installed Zed to try it out. After a couple of hours of working remotely using Zed, I'm impressed. It actually works, and the experience feels great. Only little issue was that when I first opened the remote folder, I was greeted with a blank window. I thought it was stuck loading and was about to give up, but turns out I had to open the project panel myself to see the files. Otherwise, working fine so far! Memory-wise it's practically free.

EDIT: Scrap that. After a while it starts running at 100% CPU on my macbook. I'm editing a small, simple PHP remotely over SSH. I haven't yet tested if it only happens with remote editing. Too bad... Well, at least it didn't trash the server like VSCode.

EDIT: Logs showed it was trying to do some auto suggestions every few seconds, but failed due to missing credentials. Didn't seem like something that would eat up 100%, but after disabling all AI features (I'm glad there was an option for this), the problem disappeared, and I'm happy with Zed again.
tikotus
·2 ay önce·discuss
I'm glad to hear the SSH remote editing is working well.

A lot of the time I'm developing on a remote server using VSCode Remote-SSH. I mostly love it. But! It consumes a lot of memory. And not only that. At times it gets stuck in some infinite loop or such, and ends up consuming all memory on the machine, preventing all traffic. Takes a few minutes for the OS to finally kill it, so I can get back in. I'm pretty this is happening due to large collections of symlinks (the subprocess eating up the memory is rg). But also just JavaScript editing at times launches up a bunch of ts-servers consuming everything and more.

This is super scary, if I'm poking around on the prod server.

Looking for alternatives. Zed is on my list.
tikotus
·2 ay önce·discuss
I've had two people reach out to me asking about one of my services. They both said ChatGPT recommended it to them.

My service does kind of exist. It's a small tool I created for a client while retaining full rights to the tool. So I created (vibe coded) a site around it, making it look like an established service. Even ran google ads for it for a while.

The service still doesn't show up on google with relevant search terms. There hasn't been another client. I forgot about the service. And then ChatGPT started recommending it to people.

I wonder what I did to achieve this. Did vibe coding the business page inject it into ChatGPT's training data?