Hacker Newsnew | past | comments | ask | show | jobs | submit | PhilDunphy23's commentslogin

If you have issues with passkey authentication try other device

I added NPC, snow effect and recorder/player this year.

Code here: https://github.com/MiguelRipoll23/hood-ball

I still need to do some good refactor and separation of concerns... hopefully AI helps me out.


Is your browser missing passkey support? If you see any errors please let me know.


Tech stack:

- Passkey for registration and login

- JSON Web Tokens for game server authentication

- WebSocket for real-time notifications and tunneled communication between server and player

- WebRTC for real-time communication between host and players

- Web Crypto API for server configuration and player scores handling

Source code: https://github.com/MiguelRipoll23/wheel-ball

Feedback appreciated.


I've been analyzing the leaked source code of GTA V to see how the matchmaking works and learn more about game servers. I decided to create a Wiki on GitHub to publish my learnings with the hope of others to join if they interested.

Be aware that everything may not be fully correct, codebase is huge and I'm not a C++programmer which makes the analysis quite tricky.


I always asked myself this question: does this kind of attacks try to authenticate to every single IP address (for loop, excluding ranges from Google, Microsoft, Apple...) or does it penetrate the victim network first by executing some random file from the internet that the victim downloaded?


This is the kind of thing I see with my ad blocker and I press “save preferences” anyways because I don’t want to deal with more than one click.


If you have jQuery on your website alongside Google Analytics, you’re loading two jQuery libraries without you knowing due to Google using it too on their analytics script.


Do you have a source on this? I can't believe this is true and my 2-3 google searches say it's not.


https://www.googletagmanager.com/gtag/js

Search “jQuery” in there, first result will be the copyright comment plus the version.


Is that the same JS used for Analytics? I think that's just for GTM. Here is the analytics script I see more often and it doesn't have jQuery: https://www.google-analytics.com/analytics.js


It’s the new snippet for analytics.


it doesn't export to the global namespace though:

    <script src="https://www.googletagmanager.com/gtag/js"></script>
    <script>$</script>
    ReferenceError: $ is not defined

    <script>jQuery</script>
    ReferenceError: jQuery is not defined


I dislike a few things from it:

- Can't tell when the request has been made by the user or the service worker on the server logs.

- Not being able to ignore certain parameters from the search part of the URL (all or none).

Excluding these two issues, it does its thing pretty well.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: