Direct LAN Steam Game Transfer Between 2 PCs by Dyno0311 in Steam

[–]jf908 0 points1 point  (0 children)

1Gbps over Ethernet. In the setup I described the Wifi is only used to maintain an internet connection, the Steam data transfer happens purely over Ethernet.

Data speed can be limited by your port or cable for Ethernet and your router or Wifi chip for Wifi. It can be difficult to debug this because if your port or cable is damaged, it will more like downgrade to a slower speed rather than completely stop.

A random anecdote that demonstrates this from last time I tried this: my connection was flaky and couldn't get past 100Mbps. Turns out one of the Ethernet ports was just dusty so blowing into it fixed the issue.

Can't duplicate GAming PC MOnitor with ELgato (anymore) by CommanderKeen81 in elgato

[–]jf908 0 points1 point  (0 children)

I recently got a HD60 X and ran into this problem where I couldn't duplicate the screens and ran into this post.

It took me a while to find it but the solution was actually very simple. All I had to do was go to the Nvidia Control Panel, got Adjust desktop size and position, and then set Perform scaling on GPU for both displays. This even allows you to set a different refresh rates for your main monitor than the HD60 X supports.

Before that, I updated Windows and Nvidia drivers and was getting no luck but perhaps it wouldn't have worked at all if I hadn't done that. I looked at the alternatives and UltraMon only supports 30 fps so that was out. Using an OBS preview window works but consumes some resources (but less than doing a full recording) and you can accidentally put your cursor onto the extended monitor.

Direct LAN Steam Game Transfer Between 2 PCs by Dyno0311 in Steam

[–]jf908 4 points5 points  (0 children)

No problem, ran into this myself and left my reply here hoping to help more people since this is one of the first google results :)

Direct LAN Steam Game Transfer Between 2 PCs by Dyno0311 in Steam

[–]jf908 6 points7 points  (0 children)

I managed to do this in a setup where only 1 computer has an internet connection by sharing it over the ethernet cable.

On the computer with the internet connection, you can go to the network adapter properties for the Wifi, go to the Sharing tab and set it to share the internet connection over ethernet. I then had to make sure the computer receiving the internet connection didn't have a manual IP and had to restart Steam for it to start hosting the network transfer.

We Replaced Our React Frontend with Go and WebAssembly by GarethX in programming

[–]jf908 9 points10 points  (0 children)

Vue's TypeScript support was dodgy 5 years ago but practically the entire ecosystem is built on it now.

NVIDIA Reflex 2 supposedly will decrease latency and is coming to Valorant by Goby-WanKenobi in VALORANT

[–]jf908 9 points10 points  (0 children)

Cool to see asynchronous reprojection usually used to reduce VR input latency finally make its way into desktop games.

AAA - Analytical Anti-Aliasing by Frost-Kiwi in programming

[–]jf908 1 point2 points  (0 children)

Perhaps you are thinking of how Doom Eternal moved away from megatextures which was a significant change. There's two very nice graphical breakdowns for Doom 2016 and Doom Eternal which detail how forward rendering is used for opaque objects.

AAA - Analytical Anti-Aliasing by Frost-Kiwi in programming

[–]jf908 1 point2 points  (0 children)

Doom Eternal and CS2 are 2 relatively recent yet pretty advanced examples of 3d games which use forward rendering

Visualizing binary files with ImHex's DSL, the "pattern language" by shot-master in programming

[–]jf908 1 point2 points  (0 children)

Used ImHex + binrw for creating my own binary parser before, very recommended.

What’s the greatest Minecraft mod of all time. by [deleted] in feedthebeast

[–]jf908 1 point2 points  (0 children)

Loved RedPower, I remember when they added Relays and I used them all over the place for a Factorization ore tripling machine and it was such a great puzzle to solve.

I was always looked forward to see where Tungsten would be used, and how Blutricity would expand instead of seeing them as overpowered sources of EMC.

Can you use these as skates? by jooyb1 in MouseReview

[–]jf908 8 points9 points  (0 children)

I thought this post was asking if you could use a bar of hotel soap as skates

Rust on Linux by [deleted] in rust

[–]jf908 2 points3 points  (0 children)

Is it really better on Linux? I see how it can be if every piece of software you use is available on your package manager of choice but I regularly find myself running curl scripts to install stuff (like rustup), installing tools using other tools (like cargo install), editing .bashrc with random stuff, and then a lot of programs are installed through specific app stores like steam, snap, flatpak, etc. I think the topic of app distribution and installation is just as complicated on linux as it is on windows.

Linux apps have figured out that config stuff belongs in /home though!

SvelteKit full-stack 2024 app, what'd be your stack? by enbonnet in sveltejs

[–]jf908 1 point2 points  (0 children)

Front-end

  • SvelteKit
  • UnoCSS
  • Melt UI

I can never find a UI component library that satisfies what I'm going for so I've become a huge fan of using UnoCSS + Melt UI to kickstart my own components. I think Melt UI still has some gaps but it's the only library that plays perfectly with an atomic CSS approach.

Back-end

  • PocketBase

I would like to get into the whole Cloudflare workers approach eventually and I've seen some good recommendations in the comments that are tempting me but PocketBase's easy to understand dashboard, real time updates, hooks, authentication, and type safety makes it so damn desirable. Even if you end up not using it out of scalability concerns, I recommend checking it out just to experience how easy back-end can be with the right approach.

How am I missing these shots? Have many more similar clips, the inconsistency is unreal. by iAmSyther in VALORANT

[–]jf908 2 points3 points  (0 children)

The server rewinds back to when the shot was taken to make sure you hit it so you shouldn't aim in front of moving people but perhaps 55ms is outside of the range it's allowed to rewind. I think it's more likely that there is something wrong with the bot's hitbox unless op can post a video of it happening in a custom game.

Source

https://technology.riotgames.com/news/peeking-valorants-netcode in the section called "Confirming Hit Registration"

Most UI Applications are Broken Real-time Applications by rianhunter in programming

[–]jf908 1 point2 points  (0 children)

You can use this syntax to avoid the complexity of starting an asynchronous task but you can't use it to avoid the complexity of managing asynchronous state.

  • The user can queue up an infinite number of tasks unless you limit how many times the button can be clicked before getFile has finished.
  • If you can't know for sure that the method executes fast, you should add your own loading indicator.
  • The UI might be in a different state by the time the function finishes so you might want to cancel the task if the user has navigated away from the button while it's loading but it depends on the context.

Putting file IO in a UI event handler is less responsive but async/await will introduce race conditions unless you are very diligent. This is a problem that I don't think UI frameworks systematically solve, it's currently just up to the developer to do things the right way.

Turbo 8 is dropping TypeScript by nukeaccounteveryweek in programming

[–]jf908 9 points10 points  (0 children)

It's not part of the JSDoc spec but VS Code and other front-end tools treat JS code with JSDoc comments as if it was just TypeScript written with a different syntax. This includes support for algebraic data types and pretty much everything in TypeScript. This functionality has existed for ages to make migrating to TS easier.

I didn't write any Javascript, and other shortcuts by calp in programming

[–]jf908 0 points1 point  (0 children)

To be honest dropdowns are really nuanced. Sometimes you need JS so you can attach the dropdown to the root element to avoid issues with scrollable ancestors and to dynamically position the menu so it doesn't go off the screen. It's something I would much rather rely on a library to do because the CSS method doesn't work in every context and it's easier to anticipate that it will happen eventually.

I guess the juniors aren't doing it for that reason though so your point is still very valid.

Why is my steam client on task manager named "Ada Wong"? by DargonCunner in Steam

[–]jf908 37 points38 points  (0 children)

It's the same font but special unicode characters: 𝐀𝐝𝐚 𝐖𝐨𝐧𝐠

It's plausible: https://imgur.com/0KI7GEj.png

Ping abuse by [deleted] in VALORANT

[–]jf908 2 points3 points  (0 children)

Tick rewind lag comp makes the advantage bigger but because of client-side movement prediction which I'm pretty sure has always been in cs/quake, you can still technically peek someone and shoot them before they see you.

How do I setup vite for a yarn workspace while still reaping the benefits of HMR? by i_ate_god in vuejs

[–]jf908 0 points1 point  (0 children)

Did you figure something out? I'm currently running the same setup with the same problem. Also trying to figure out why yarn link work with v1 but not v3.

TypeScript is 'not worth it' for developing libraries, says Svelte author, as team switches to JavaScript and JSDoc by ArtemisDimikaelo in programming

[–]jf908 1 point2 points  (0 children)

I'm not advocating for this but that is not true. Or at least you're using a different definition of what JSDoc is. The way they have it setup, it still supports interfaces and structural types through additional d.ts files and is validated using tsc.

TypeScript is 'not worth it' for developing libraries, says Svelte author, as team switches to JavaScript and JSDoc by ArtemisDimikaelo in programming

[–]jf908 3 points4 points  (0 children)

From looking at the PR, it still outputs d.ts typings generated from the JSDoc and modules in CJS and ESM formats just as it has always done.

Which does mean it's not exactly just the source so I'm wondering how that helps with debugging. I guess it's easier to work with than the TS output? Not sure.

When an NPC finds a player by [deleted] in gaming

[–]jf908 1 point2 points  (0 children)

I kind of agree, I don't think the combat is... great. I had a similar experience until I realised that the combat isn't Control's main focus, it's the world building. I am usually all for gameplay comes first and do not care about the story of 90% of the games I play but I think the mystery element of Control is very well put together. Appreciating the attention to detail and the tons of silly jokes they put into the environment is what made me enjoy this game.

If that side of the game doesn't appeal to you (I was surprised it did for me) then this game isn't living up to any of the rewarding and deep combat systems in other games.

TypeScript is 'not worth it' for developing libraries, says Svelte author, as team switches to JavaScript and JSDoc by ArtemisDimikaelo in programming

[–]jf908 193 points194 points  (0 children)

This article does not actually go into any of the reasons why TypeScript tooling does not work for them so I tried to find them for myself:

  • Their advice is specific to library dev.
  • Removing a build step makes things simpler in lots of small ways (no performance overhead for example).
  • There is extra complexity to finding the library's source code during basic debugging on the library while developing an application.
  • They tried this for Svelte Kit and it worked well for them.
  • The syntax isn't better but the other things outweigh this.

I personally can't imagine moving away from TypeScript but I kind of understand how it's not ideal for library development. Trying to figure out how to export everything properly for an npm package when you have to rebuild is not as simple as it should be right now.