News for hackers. Stuff that matters.

diericx

Re:H.264 Is Magic on Friday October 30, 2026 @01:11AM (#50300066)
Classic
Re:What happens if Japan takes in zero immigrants? on Friday June 05, 2026 @01:04AM (#48408200)
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.
Ahh I see
In complete sincerity, how is this better than ffmpeg

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

Re:Why Robinhood disabled buys but not sells on Monday February 01, 2021 @12:08AM (#25985743)
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.
Re:Building a Hexagonal Grid in CSS on Saturday June 20, 2020 @02:25AM (#23582183)
This helped me make my first hexagonal grid based game way back! Awesome site
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?

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?

This is freaking awesome!!
What are you using to create a customer facing UI/frontend? It sounds like Hasura is just for backend
Re:How to Find a SaaS Idea on Saturday March 21, 2020 @07:53PM (#22651315)
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.
Re:I “found” the database of a college app (2018) on Sunday June 09, 2019 @02:27AM (#20137530)
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!

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.

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?

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

I am trying to create a simple multiplayer server for a simple game using GO. I currently have it so that users can join, sign in, connect, and see other users. The issue I currently have is that moving around is very laggy because I send user input to the server and all actions are performed on the server rather than on the client. Clients and the server only get and send packets every 20...

( Read More... | 5 comments | 5 points | on HN )
Re:I love to programWhy do I hate programming classes? on Wednesday May 13, 2015 @01:05AM (#9536851)
I was just using that as an example, but that's interesting. I didn't think about using projects as a resume.
Re:I love to programWhy do I hate programming classes? on Monday May 11, 2015 @10:45PM (#9529277)
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.
Re:I love to programWhy do I hate programming classes? on Monday May 11, 2015 @10:09PM (#9529172)
That page is amazing...I had no idea universities had so many courses!! So many of them look so interesting!
Re:I love to programWhy do I hate programming classes? on Monday May 11, 2015 @10:07PM (#9529166)
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?
Re:I love to programWhy do I hate programming classes? on Monday May 11, 2015 @10:04PM (#9529144)
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?

I love to programWhy do I hate programming classes?

I love to program.To give some background, I am a high school student who is taking classes at my local community college. I made the decision to do this because I wanted to expand my programming knowledge. I develop games in my free time and programs when I find problems I can solve. I absolutely love this pass time and the creativity and satisfaction that comes from developing. I am thrilled...

( Read More... | 13 comments | 5 points | on HN )
Re:World on Sunday September 15, 2013 @09:21PM (#6391062)
Someone should make a version that spins in real time :O