HN user

UberMouse

368 karma
Posts8
Comments107
View on HN
Alexa+ 1 year ago

Honestly that seems like a good result to me? Did you look at the product? Earbuds Connected by wires to a thing that you can dangle around your neck

5090 was an example, same process applies to lower tier GPUs that don't require extra power cables. ie a 3080 with the same power budget as a 1080 would run circles around it (1080 with default max power limit of 180w gets approx 7000 in TimeSpy, 3090 limited to 150w gets approx 11500). Limiting the power budget is very simple with tools such as MSI Afterburner and others in the same space.

Then get a modern GPU and limit the power to what your 1080 draws. It will still be significantly faster. GPU power is out of control these days, if you knock 10% off the power budget you generally only lose a few percentage of performance.

Cutting the 5090 down from 575w to 400w is a 10% perf decrease.

Brandon Sanderson only wrote the last book though? (which he split in two because all the stuff Robert Jordan wanted to cram in would have been a ridiculous 2000+ page tome) so it was already going to be at least 11 books by Robert Jordan. FWIW the two Sanderson books are my favourite of the series (but they are also the ending so it's hard to say)

That would be true for the 4090, but the 3090 is even more cut down so the 5090 is about 100% faster in rasterization (based on the 4090 being nearly 70% faster than the 3090 and the 5090 being approx 25% faster than the 4090)

React 19 2 years ago

`bar` is 2 because `setFoo` does not update the value of `foo` until the next render

Just chipping in as someone who is a tremendous fan of the books (I've read all of them 4 or 5 times and listened to the audio books twice). I _hated_ the series, I was very excited for it, watched Season 1, was blown away by how awful the changes were and won't be watching more.

It honestly baffles me that anyone who liked the books is able to enjoy the TV show, it feels like bad fan fiction.

Enabling the `envfs` service fixes the bash shebang issue `services.envfs.enable = true;`

Disclosure: I don't know if this has any downsides, I haven't run into any

I could hit triple digits WPM without knowing how to touch type. I just learned adhoc how to type very fast from gaming as a teenager. I haven since learned how to touch type (and moved to a split keyboard with Colemak-DH) and I type at a pretty similar WPM, it's just more comfortable.

I almost exclusively use Colemak-DH and have 0 issues typing in QWERTY when I have to. I chalk it up to my phone keyboard still being in QWERTY so I get enough exposure from that to not forget the locations of the keys (it's certainly not as well retained as it used to be, I no longer remember the location of all the keys in QWERTY from memory). I do use a columnar split keyboard though (Moonlander) so it's possible the radical difference in how I use the keyboard helped to keep the muscle memory separate.

FWIW I have the opposite experience, I never buy digital playstation games unless I'm forced to because they all sell for MSRP in New Zealand ($129/$139 NZD), whereas I can always get them physically for $99/$109 brand new. I would much prefer to buy digital games, but I'm not paying an extra $30 for the privilege of saving someone _else_ money

From skimming the paper[1] they pulled that number from it seems... not the best metric. It looks like they are estimating the power consumption of the internet, then dividing that power usage by the amount of data transferred and claiming that is the cost per gigabyte.

But that's including a _lot_ energy cost that isn't related to _transferring_ the data, but storing/generating/running services to send that data etc

[1] https://www.emergeinteractive.com/wp-content/uploads/2020/02...

Compilation is an embarrassingly parallel task: if you've got N cores, you can use N cores and get a linear speedup for every expansion in N you are offered.

Somebody should let the Javascript world know that. Both Webpack and TypeScript are single threaded by default and it's a pain in the ass to get them to use more threads. So my 12 core CPU mostly sits around twiddling it's thumbs while I compile code for work.

Provide a source for that? As someone who actually lives in New Zealand that's the exact opposite of what they have said about the outbreaks genetics... iirc it looks like it might have come from the UK or Australia.

I decided to check back in this and this seems like it was entirely a wording problem in your first post. Your post implied that _parsing the query selector string_ was slowing down Javascript websites, which obviously made everyone do a hottake and jump in to say that can't be the case. What you seem to _actually_ be saying is that using query selectors instead of finding elements directly by class/id is slow which yes, that's certainly the case.

That does help clarify things, thanks :) For context I'm just starting out this app so it's simple for now, but this is my first major project with xState so I'm trying to come up with sensible patterns.

I'll have a think about this and see if I can work it into my structure as I'm certainly going to need inter-machine communication as it grows.

The `makeMachineRoutable` function in this gist is what I'm using to consume my state machines in React. https://gist.github.com/UberMouse/49ff91e95390265d63d3ac1bc7...

It also shows my prototype for xstate based declarative data fetching, though I have sinced switched to using observables instead of promises for representing my GraphQL query results so I've changed it quite a bit.

e.g. having the “NavigationService” change which links should be available by listening to a state change on the “UserSession” service as a user becomes authenticated.

Could you expand on how you're achieving this? I'm creating a new project using xState at work and this is one of the things I've been trying to come up with a solution too.

My biggest problem is the pattern I've set up for routing on top of xState (It's an electron app so no URL management required which makes that easy) requires you to create the state machine yourself, so it can't for example be used as an actor in part of a larger system.

It sounds like your NavigationService and UserSession service might be similarly separated so I'm curious how they're communicating?

Something that occurred to me last night is that I can probably make a coordinator of some sort somewhere in the tree which forwards actions from state machine to another as required.

That advertising campaign wasn't Romero's idea; it was the idea of someone else at Ion Storm. Romero was initially a bit hesitant on the slogan but caved to pressure.

At least that was how it was presented in (iirc) Masters of Doom, who knows what the actual truth is.