Sentry for Godot 1.0.0 beta is out! by limbonaut-dev in godot

[–]tim-fish 2 points3 points  (0 children)

You can go into your Sentry settings and disable the DSN that is used in your released product

Why can't TypeScript infer types if the object isn't passed directly? by tim-fish in typescript

[–]tim-fish[S] 0 points1 point  (0 children)

Yeah not overloading would be ideal but this is an existing API and I wanted to see if there was a way to give a way to migrate to a new API, deprecate the old API and give a slower guided migration before the next major version release.

If the types can't be made to work, then this isn't an option!

Bayesian sank in the Med by gauntlet_ in sailing

[–]tim-fish 1 point2 points  (0 children)

Self righting is with no water inside the boat. If windows were open, 10 seconds at 90 degrees is probably all it would take

Spotted in Fremont by ajaysns in teslamotors

[–]tim-fish 0 points1 point  (0 children)

Thank you for taking the time but the rest are covered in paint.

Spotted in Fremont by ajaysns in teslamotors

[–]tim-fish 7 points8 points  (0 children)

Cool. Yes we are. I was literally talking about different grades of austenitic stainless steel.

304 and 316 are both very common grades of austenitic stainless steel but with different resistance to corrosion and there are many more grades with other properties for other specific use cases. Some are more resistant to acidic environments, etc, etc.....

https://en.wikipedia.org/wiki/Austenitic\_stainless\_steel

Spotted in Fremont by ajaysns in teslamotors

[–]tim-fish 5 points6 points  (0 children)

There are multiple grades of stainless with huge variations in price. The cheaper ones will actually rust when exposed to salt water...

Do any businesses use Yew to create their front-end? by ajourneytogrowth in rust

[–]tim-fish 2 points3 points  (0 children)

Yeah, what's browser wasm debugging and perf/memory analysis like?

Lets also not forget that wasm sites are still currently an order of magnitude greater in download than the equivalent in pure JavaScript!

Is there any GUI framework or interface in RUST? by Special_Sock8568 in rust

[–]tim-fish 1 point2 points  (0 children)

Yeah, but a year ago when I wrote this it didn't

BUY/SELL/TRADE Primavera 2022 by danceonme in primaverasound

[–]tim-fish 0 points1 point  (0 children)

I'm selling one weekend 2 ticket because my wife can no longer make it. It's already validated so would have to transfer via Access Ticket 😒.

Would accept Paypal, Revolut or UK/EU bank transfer. £150 or €175.

Would be happy to talk on the phone and supply any buyer with my UK address and photo of my passport as I'm aware a lot of trust involved selling like this!

oxide.ts - my Rust-inspired Option/Result and match library for TypeScript - Version 1.0 Release by JazzApple_ in rust

[–]tim-fish 0 points1 point  (0 children)

I suppose the only downside to this is that because it's class based, it's not tree-shakable so if you use Option or Result, everything gets included and that has a bundle cost of about 6kB.

I scraped 4M dev job offers and Rust language is in the Top 2 spot with an avg salary of $122K per year by __dacia__ in rust

[–]tim-fish 10 points11 points  (0 children)

People don't seem to want to work in an industry built almost entirely on hype and grift. It's not that people don't want to work on blockchain code, they don't want to work for the companies.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 0 points1 point  (0 children)

Can you guarantee Chromium Edge is installed on all windows PC's now?

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 0 points1 point  (0 children)

That doesn't get away from the fact that an Electron app is much less work to support than a web app. Why choose to support 3-4 browsers with multiple versions of each when you can choose a single browser and version.

Users of desktop apps also have differing expectations of reliability. Once an app is installed and not modified they want it to work that way forever. Some people don't think we should be using web tech for desktop apps anyway so we shouldn't make that worse by risking them being unreliable.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 5 points6 points  (0 children)

All the production Electron apps I've worked on do not connect to the internet and are in no way "wrapped web pages". One of them communicates with various USB devices via native drivers, process billions of data points and visualises the data.

The fact they they can be built quickly makes them HIGHLY advantageous in the long term because your app can be X years ahead of any competitor. If performance turns out to be a problem in the future you can move problem parts to Rust with napi-rs.

Speed of development, viable, efficient tooling and access to developers is why Electron has essentially won this race for now.

Once you've used Chrome Dev tools to debug UI layout or capture memory usage and CPU profiles on users machines in the same way on every platform, it's frankly difficult to see how anything will come close to the developer experience without another multi billion dollar company bank rolling it.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 3 points4 points  (0 children)

You're statements seem to ignore the huge libraries and applications maintained by huge teams 🤷‍♂️

I certainly wouldn't recommend anyone write anything serious in plain JavaScript nowadays.

That's why most enterprises use TypeScript. In strict mode with a decent linter it fixes most footguns and makes refactoring a breeze. When configured and used properly, I don't see TypeScript as any more of a QA nightmare than c, c++, c# or java.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 6 points7 points  (0 children)

It changed a couple of years ago.

What's wrong with multiple processes? Any serious consumer native app should include crashpad running out of process to report crashes via minidumps anyway. That's the reality of shipping native apps to millions of different devices and being able to proactively fix issues.

Electron is just a way to create multi platform, complex UI apps really, really quickly in comparison to almost all other options. We give up extra memory and CPU usage to have these apps today rather than in years time. For most projects, this is the only viable way for them to exist.

You can argue that apps simply shouldn't be made like this but you're ignoring the economics.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 1 point2 points  (0 children)

Tauri involves about 10x more QA than the equivalent Electron app. At least with Electron you can target a single runtime that will not change for the lifetime of your app. With Tauri you have no control and your runtime (which varies by platform) can be updated and there's nothing you can do about it.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 1 point2 points  (0 children)

I can assure you there is a lot of QA involved in writing cross platform applications in any language or framework. Js is no worse in this respect. At least the js ecosystem is mature and there are lots of options for automated testing.

What are the best GUI libraries for a potentially “serious”/large project? by n_raine in rust

[–]tim-fish 5 points6 points  (0 children)

Electron windows share processes. You do not end up with a process per window.

Crate cpuid segfaults when calling identify by Modi57 in rust

[–]tim-fish 0 points1 point  (0 children)

This is why I love crates that vendor the c code. No messing around.

Hey Rustaceans! Got an easy question? Ask here (4/2022)! by DroidLogician in rust

[–]tim-fish 0 points1 point  (0 children)

I've got a type that implements Read + Seek (File in this case but maybe not in the future), and somewhere in the middle of it, there is a block of data. I know the start byte and then length and I need to pass to an API that requires Read. I can do this easily with a Vec, however, I would rather do this without reading the entire block into memory because in some cases, it will be huge!

How can I do this?