Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scoutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
scoutt
4y ago
We don't really the term "woke" but the above is basically why my wife and I decided to cancel after 6 years. It seems that every show has elements to "poke/tease/provoke" some other party, or to generate
152.
▲
by
scoutt
4y ago
I wonder what will happen with websites that use payments integration like PayPal or Stripe.
153.
▲
by
scoutt
4y ago
> barbaric https://www.merriam-webster.com/dictionary/barbaric "possessing or characteristic of a cultural level more complex than primitive culture but less sophisticated than advanced civilization" This
154.
▲
by
scoutt
4y ago
I learn from the comments here that if you line up 100 women and 100 men, all 100 women will have sex with only 5 of the guys. For which I don't think this is true at all...
155.
▲
by
scoutt
4y ago
Probably for some sub-system. None of the suppliers for the peripherals we use (and HW in general) are giving modules written in Rust. Just C. Consider that for some kind of project, kernels are fixed at a certain version. Producing just
156.
▲
by
scoutt
4y ago
> What's the market like for embedded engineers working on cutting-edge hardware? Where I work we are always looking for engineers. We struggle to fill positions. And other local companies are facing this very same problem. There is
157.
▲
by
scoutt
4y ago
> I want tools that won't change every 5 years. I know this is an unpopular opinion with high-level developers, but if you want stability, go down the stack. I, for one, write firmware, kernel modules, etc. for embedded, in C. And C
158.
▲
by
scoutt
4y ago
I guess every other parent comment here is talking about general public. In other words, what's the ratio between people here @HN that can change a DNS and the global Samsung market?
159.
▲
by
scoutt
4y ago
My father (1951) went through Tandy's Dancing Demon through text adventure games, Lode Runner, Prince of Persia, Doom and modern video games. He went from black and white mummies movies through Rambo to Matrix. I (1980) was raised with
160.
▲
by
scoutt
4y ago
What you are talking about has been resolved since there is a system with interrupts and an OS with a scheduler. It's nothing new. Async Rust (or whatever async) is just an autogenerated state machine that for years has been being impl
161.
▲
by
scoutt
4y ago
> Literally every uC Not true at all. > How often are you bitbanging non standard protocols? Regarding protocols: bitbanging 1-Wire. Not all microcontrollers have this peripheral. You might be lucky if you can adapt some other periphe
162.
▲
by
scoutt
4y ago
Exactly, that's why "it's probably a good fit only if it just runs on a known controlled development board/architecture/platform". Maybe the title should be "Toit is a modern high-level language designed s
163.
▲
by
scoutt
4y ago
From a functional PoV, yes, timing seems to be relaxed by publishing sensor data every 60 seconds. From an embedded system PoV, your sensor might be a 1-Wire protocol device with a super strict signal timing. How do you mix both timing requ
164.
▲
by
scoutt
4y ago
I can imagine more scenarios other than "bad actors" (scammers and such) for this software... For example: what about using this in an interview for a remote job (possibly intercontinental)? It could tip the balance in some situat
165.
▲
by
scoutt
4y ago
I'm here because the other news site I used to visit (Slashdot) became a cesspool of people spamming swastikas (and host files unsolicited advices!) during 2010-2020. All I wanted was to read news and discussing interesting articles
166.
▲
by
scoutt
4y ago
> So, maybe, it's you who doesn't understand how to use the system. Maybe! It is possible that you are 100% right. But I also believe your answer (or that kind of answer) is part of the general problem. I have to say that I
167.
▲
by
scoutt
4y ago
I work with Linux for compiling Android images (with VSCode on Windows through SSH), and I also customize the kernel (drivers and DT, mostly). I also do some Qt porting to Linux, but I used Windows my entire life (apart from DOS). And hones
168.
▲
by
scoutt
4y ago
I think the problem is that there is no other way to provide feedback to Google other than clicking on links. I used to search on Google without an account. Then I created a phony account at work to see if there is an improvement in my sear
169.
▲
by
scoutt
4y ago
> No matter what, you are trusting a compiler vendor that the code it compiles and the functions it links against don't have bugs. I guess the key factor about a standard is that as a corporation you can point fingers if something g
170.
▲
by
scoutt
4y ago
Just chill, OskarS. I know the difference between compiled code and source code. Regarding std::optional , I even admitted " I don't know the overhead of possibly duplicating...". 30KB was a ballpark about exceptions plus
171.
▲
by
scoutt
4y ago
> the terribleness of exceptions is way overhyped It's not that exceptions are terrible. I have nothing against them. The thing is that most of the time they are not affordable, especially in embedded. Some compilers don't even
172.
▲
by
scoutt
4y ago
> beyond running on C Can we agree that for at least the past 25 years, 99% of devices runs on C and/or depends on C and/or relies on C, or its development ran/relied/depended on C? From Windows/MacOS/Linux
173.
▲
by
scoutt
4y ago
> RAII C++ is used mostly with exceptions disabled on embedded, so failing constructors are a PITA. You have to keep track of valid states with a bool . Now every function entry has: if (!m_bValid) return; I hate it. &g
174.
▲
by
scoutt
4y ago
> You cannot also use stdio and most stdlib, so what? You can still use a subset of stdio and stdlib. Newlib also provides hooks you can use to implement fopen and the like, if you want. > better safety options Safety is not always
175.
▲
by
scoutt
4y ago
On most embedded systems you cannot include std . You don't have a decent memory allocator. Bad use of templates will consume all of your flash space (code duplication). Yes, it can work for simple Arduino sketches, and I won't s
176.
▲
by
scoutt
4y ago
> Behind that function call, behind that nested expression and that "p = malloc(sizeof(*p))", etc. there might be extra complexity for the sake of developer's readability and comfortability. There is no way to avoid most o
177.
▲
by
scoutt
4y ago
I wouldn't called it "worse is better". Why not "less is better" or "simpler is better"? My take is that one should program in function of what the code should do, and not in function of what it's com
178.
▲
by
scoutt
4y ago
If might depend if your program does 1 request every now and then, or if your program is doing several thousands network requests per second (then I might complain too).
179.
▲
by
scoutt
4y ago
I was discussing "work you have to do to setup and actually understand your development tool chain in C as well as C++", and I mentioned IDEs' easy of use. Then you came along saying that the command line is the way for "
180.
▲
by
scoutt
4y ago
Well... if you consider the proportion of "lines of code (or projects) ever written in the history of a language" over "security issues found" then Rust will be probably losing.
More ›