snaggen

joined 2 years ago
[–] snaggen@programming.dev 1 points 2 years ago (6 children)

Men någon måste stå för kostnaden när flaskan måste bytas. Nu kostar en flaska inte så mycket och håller länge, så avskrivningskostnaden per år blir rätt liten. Således kan de som tillhandahåller gasen lägga det på gas priset så att du som kund inte märker det. Ett Tesla batteri kostar ca 100000, det blir svårt att dölja i laddningspriset, så då blir det mycket billigare att bara ladda hemma. Men för att detta ska fungera måste någon stå för kostnaden att byta batteri när det är slut. Så, varför skulle laddstationer ta den risken, när de inte är garanterade kostnads täckning. Och om jag ska stå för kostnaden vill jag inte riskera byta in ett fräsht batteri och få Svarte Petter.

[–] snaggen@programming.dev 2 points 2 years ago* (last edited 2 years ago) (9 children)

Tesla hade väl försök med batteribyte, men kunderna ville inte ha det. Vilket är förståeligt, då batteriet kostar en ansenlig summa, så om man på något sätt är ansvarig för batteriet vill man inte riskera att man byter in sitt nya fina batteri och får ett taskigt batteri tillbaka som riskerar sluta fungera på så sätt att man måste stå för det. Så för att kunder ska vilja detta, måste stationen stå för alla risker med batteriet. Tveksamt om de vill det.

[–] snaggen@programming.dev 13 points 2 years ago (7 children)

Well, if the only thing you need from reflection is the name of a type, so then yes. But I wouldn't really call this reflection since it is very limited.

[–] snaggen@programming.dev 5 points 2 years ago (1 children)

Jag antar att Stureplan blir en visitationszon , då det nog är rätt mycket droger där en lördagskväll.

[–] snaggen@programming.dev 15 points 2 years ago

It starts by presenting it self as an Comedy AI, that implies more than deep fake.

[–] snaggen@programming.dev 5 points 2 years ago

Librsvg did the rewrite incrementally, so you can choose to only use rust for new code in an existing codebase.

[–] snaggen@programming.dev 2 points 2 years ago

I say that you should find some interesting project, possibly something related to some desktop environment like Gnome, KDE, sway, cosmic and so on. There are multiple fun/interesting projects around them. Then pick a small and manageable task, use that to learn the language that project uses.

I find Cosmic to be a very interesting desktop project, and they use Rust if that would be of interest.

[–] snaggen@programming.dev 12 points 2 years ago

On my first programming lesson, we were taught that 1 second sleep was for i = 1 to 1000 😀, computers was not that fast back then...

[–] snaggen@programming.dev 7 points 2 years ago* (last edited 2 years ago) (9 children)

If you avoid Nvidia, it have been ready for many years. And to be honset, not sure X11 was really stable with Nvidia either. My main issue with Wayland, is that X doesn't have multi dpi support... and for that I really cannot blame Wayland. Also, Skype doesn't have screensharing, well, they actually had for a while, but then removed it... still, hard to blame on Wayland.

But as a general rule, if you have Nvidia, then you are not allowed to complain about anything... that was your choice, and with Nvidia under Linux, all bets are off. I thought that was clear a long time a go, especially after Linus not so subtle outburst.

[–] snaggen@programming.dev 19 points 2 years ago

Also, it was easier to support X11, since there is no security. You wanted to read other applications key events, no problem. Want to read the screen, without without anyone knowing? No, problem, just read it. With Wayland you must use APIs for stuff, and you are not allowed to do everything.

[–] snaggen@programming.dev 8 points 2 years ago (14 children)

Are they really? Didn't you press a button that said "Buy"? Just because they want things to be something else, doesn't mean that the meaning of the words changed.

[–] snaggen@programming.dev 2 points 2 years ago (1 children)

Well, I have avoided Nvidia for 20 years due to driver issues on Linux, so I would be surprised if you had fixed them all :) But, it sound really promising, looking forward to try it out!

 

87261 rust lines added 76766 / 77063 C++ lines removed ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99 %

#riir #rustlang

--

The reader and input stack have been ported, which is basically everything. There's still some entry points in C++ (PR being reviewed) and test helper binary (might make a good external contribution as it's entirely self-contained), but almost all of the C++ is gone, and with it large chunks of the FFI.

Now we just have the second 90% to go - making sure this rewritten fish is portable and distributable!

view more: ‹ prev next ›