HackerTrans
TopNewTrendsCommentsPastAskShowJobs

luvs2code

no profile record

comments

luvs2code
·4 tahun yang lalu·discuss
So 80% of new native code is C/C++. Not surprising and of course Rust advocates will try to defend this as a win.
luvs2code
·4 tahun yang lalu·discuss
I don't know why WxWidgets seems to be less popular now than it was back then. I remember it being somewhat popular. Now people hardly seem to know about it.

FLTK looks horrible next to most modern applications. But FLTK 2.0, which has been abandoned for 10 years, actually looks pretty modern and the API is actually pretty elegant. There was some kind of split in the community about FLTK 2.0 breaking backward compatibility and I guess the 1.0 people won in the end.
luvs2code
·4 tahun yang lalu·discuss
I'm gradually starting to see X11/Xlib as a solution for cross platform desktop apps. It is the native GUI API for most UNIX operating systems. Ports exist for Windows(win11) and Mac which makes X11 technically portable to them as well.

Its not exactly an elegant solution I have to admit. But the licensing problems with QT make a lot of people nervous, GTK seems to be pretty polarizing, and for whatever reason WxWidgets and FLTK never really got much adoption/didn't progress very far.

[0] https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-...
luvs2code
·4 tahun yang lalu·discuss
I have no experience in automotive software development so I could be very wrong about this. But I suspect that Rust is a very poor choice if what he said is true about automotive development since, at least some, Rust devs openly talk about Rust being a more complicated language to program in. Increasing the complexity of software development in an environment like that will ultimately add the problem instead of solving it.

But referencing the parent comment's discussion of business processes, its highly unlikely the problems will appear until Volvo tries to move to some other vendor or swap out the software solution for the next greatest thing.
luvs2code
·4 tahun yang lalu·discuss
So the alcohol is part of the story but far from the end of it. Alcohol related accidents only made up about 1/3 of the deadly accidents in the US [0]. The NHTSA identifies a few different causes of car accidents including distracted driving and drug or alcohol related accidents [1]. Also noteworthy is that Marijuana seems to cause the same issues as alcohol although the studies are a little less detailed[2]. I couldn't find long term studies on the topic but I suspect that distracted driving has gone up in the past few years since smart phones have become more popular. Distracted drivers killed about 3,000 people in 2020 [3].

What's interesting is that insurance companies seem to measure bad driving using a few different metrics including deaths per miles traveled [5]. Single vehicle crashes were also very dangerous in the rural states like Wyoming (deer are a serious problem), but for some reason Rhode Island tied with Montana at 70% of all accidents being single vehicle accidents[6].

I also couldn't find an annual figure for people disabled in car accidents, but a 2004 study found that about 1.2 million Americans live with permanent injuries from car accidents and about 41% of them are unable to work [6].

[0] https://www.nhtsa.gov/risky-driving/drunk-driving [1] https://www.nhtsa.gov/risky-driving [2] https://www.nhtsa.gov/risky-driving/drug-impaired-driving [3] https://www.nhtsa.gov/risky-driving/distracted-driving [4] https://worldpopulationreview.com/state-rankings/worst-drive... [5] https://www.iihs.org/topics/fatality-statistics/detail/state... [6] https://pubmed.ncbi.nlm.nih.gov/15474547/
luvs2code
·4 tahun yang lalu·discuss
If they are changing the information because of scientific knowledge the CDC should have no trouble whatsoever detailing

1) Why they had the information on their website in the first place 2) Why the information in the past was wrong (in light of new evidence) 3) Why the current information should be taken seriously in light of the aforementioned misinformation.
luvs2code
·4 tahun yang lalu·discuss
Gonna need a citation on that one. I work in the embedded world for a billion+ dollar company and there is zero interest or adoption in Rust.
luvs2code
·4 tahun yang lalu·discuss
I really miss desktop apps. They worked so well and didn't have half the problems that come with web apps.

I'm working on a project, for fun not for money, that uses Golang and talks to a SQLite database for things like accounts and user content. So far I really enjoy writing it a lot but I have to admit that it would probably have issues if it scaled to a large number of users.

In fairness to SQLite it was designed in a different era technologically. Maybe there will be a replacement for the web app era if we distill what we like about SQLite