Better HN
topnewbestaskshowjobs
Log inSign up

diericx

28 karma · joined Sep 16, 2013 (13y ago) · 26 submissions

Submissions

comment 3w ago · link · parent

Classic

comment 5mo ago · link · parent

The US opened the border significantly during the Biden administration and it caused plenty of issues worth worrying about. I think that is a good example of opening the floodgates. But if you mean only in terms of affecting the population numbers then prob irrelevant.

comment 5y ago · link · parent

Ahh I see

comment 5y ago · link · parent

In complete sincerity, how is this better than ffmpeg

https://trac.ffmpeg.org/wiki/StreamingGuide

comment 5y ago · link · parent

This is getting a bit pedantic. The reason people are specifying that RH accounts are margin accounts by default is because it’s relevant to the financial situation. Functionally, they are margin accounts even if the end user isn’t entirely aware of it.

comment 6y ago · link · parent

This helped me make my first hexagonal grid based game way back! Awesome site

comment 6y ago · link · parent

Is there any way to get it to immediately start downloading the files, then prioritize the bits requested by applications reading the file?

Also, very curious, how have you been using btfs? What have you been using it for?

comment 6y ago · link · parent

I would be way more interested in this project if it downloaded normally in the background immediately after the torrent is added, and then downloaded specific bits as programs requested them. I haven't looked into the code base for this exactly but it says nothing about it in the Readme.

Otherwise, like you're describing, you could add a file and then go to read it a week later and be met with no seeders and thus no file when it could have been grabbed somewhere in between.

But maybe that extends beyond the capabilities of a file system?

comment 6y ago · link · parent

This is freaking awesome!!

10.

A brief history of usury, from the Old Testament to the Consumer Protection Act(americansforfairnessinlending.wordpress.com ↗)

1 points · by diericx · 6y ago · discuss

comment 6y ago · link · parent

What are you using to create a customer facing UI/frontend? It sounds like Hasura is just for backend

comment 6y ago · link · parent

I struggle with finding ways to create functionality with good UI without coding (like the author mentions). I seem to always fall into a situation where I need a bit more than the no code solution I’m using offers.

13.

The Code of Hammurabi: The Best Rule to Manage Risk(fs.blog ↗)

1 points · by diericx · 6y ago · discuss

comment 7y ago · link · parent

Firebase keys give you access to the database, which can be public. You just have to setup rules for the database, usually so users have to be authenticated to view anything and can only read their own private info.

edit: just realized you may have just been asking about hiding keys in general. Sorry if this wasn't what you were asking about!

15.

Using MessagePack to transfer data between a Unity cleint and Go server(diericx.blogspot.com ↗)

2 points · by diericx · 9y ago · discuss

comment 11y ago · link · parent

This is all really interesting, thank you so much for sharing this with me! I just have a few questions:

Wouldn't the numbers for the current frame get really huge as the game progresses?

How would this method of sending the current frame (from the server) and matching it with the client work if there were a lot of people on the server? Would the server have to keep track of the current frame of each player?

Why does dx change? Are we not assuming in this example that the character is moving right at a consistent speed?

I am using TCP, I shouldn't have to worry too much about packets coming in incorrect orders right? But it's probably still good to implement your method of dealing with it just in case.

comment 11y ago · link · parent

I actually just noticed a bug in my code where I was only looking for data from the server every 20 milliseconds rather than every frame. Now the movement is smooth but the controls feel a bit sticky. I made the client send every 10 milliseconds and it looks pretty good, but this is a really bad way to solve this problem. I'll look at your links and try to optimize it better! Thanks a ton for those:)

Edit: I read your keynote and I'm not sure how exactly your client prediction worked. Is there any video anywhere of the keynote? Or could you give a brief description?

18.

Help with server logic for a multiplayer game server in GO/Unity

5 points · by diericx · 11y ago · 5 comments

comment 11y ago · link · parent

I was just using that as an example, but that's interesting. I didn't think about using projects as a resume.

comment 11y ago · link · parent

Coding in the real world doesn't sound very fun. :( What you said is true and is what I did. I would try to implement cool techniques I found on the internet but ended up getting marked off for not following the course.

comment 11y ago · link · parent

That page is amazing...I had no idea universities had so many courses!! So many of them look so interesting!

comment 11y ago · link · parent

I teach myself (exceptions being getting help from friends) everything now, I just don't think I can get a job off of self taught knowledge. I honestly completely hate the thought of this logic but I can't just apply for a job at Apple and on my resume say "taught myself rails" can I? Don't most places want to hire poeple who have delved into the programming courses at a university?

comment 11y ago · link · parent

I can't tell to what extent I am like you, but I can relate.

I really like developing complete programs and games from the ground up and tinkering with code, but I'm not sure about the other topics. Once I am done with a project I will often refactor the code just because it's sort of fun/nice to have clean and organized code. I just don't know if I could see myself doing this every day.

What were later courses like for you?

24.

I love to programWhy do I hate programming classes?

5 points · by diericx · 11y ago · 13 comments

comment 13y ago · link · parent

Someone should make a version that spins in real time :O