Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
361.
▲
by
simias
5y ago
I've worked in that industry. The problem with infotainment systems (be it in planes or in cars) is that they're usually designed years before the planes/cars enter production, they have very strong constraints in terms of pr
362.
▲
by
simias
5y ago
Maybe, you have to see if the cost of having independent components (dev time, prototyping etc...) is worth the few cents saved on the BoM. Then you have to consider that IC designs are usually easier to reuse since they're more flexib
363.
▲
by
simias
5y ago
I don't know but maybe one of the factors is that given how cheap microntrollers have become it's not uncommon to use an "overpowered" integrated chip just for ease of development. Suppose that you have to drive some LED
364.
▲
by
simias
5y ago
It's fine not to like the game or some of the changes but I don't really get the resentment towards the devs that I read in some of these replies though. If there's one thing where I believe that "if you don't like
365.
▲
by
simias
5y ago
I started replaying DCSS last week after a hiatus of about two years, SpEn is one of my go-to backgrounds and it's still quite fun IMO. You can worship Dithmenos to get increased stealth. It's not as OP as invisibility but it'
366.
▲
by
simias
5y ago
I would say "privacy is only for those who value it". Nobody rich or poor is forced to use Facebook (and plenty of wealthy people do use it). I think Zuckerberg is more sensitized to privacy issues because he knows how the sausage
367.
▲
by
simias
5y ago
Operator overloading is a mixed blessing though, it can be very convenient but it's also very good at obfuscating what's going on. For instance I'm not familiar with this boost library so I'd have a lot of trouble piecin
368.
▲
by
simias
5y ago
> Wheras, the direct equivalent in C, an assignment with a (type changing) cast, is illegal. I don't understand what you mean by that. The direct equivalent of what? Endianess is not part of the type system in C so I'm not su
369.
▲
by
simias
5y ago
While C is a direct descendant of B, Python is a very different beast. It's a bit odd to frame Python as "C but without types". Maybe I misunderstand what you're saying. Also I don't know much about B but given its
370.
▲
by
simias
5y ago
I think that's the best solution (the only potential optimization I can think of would be to add a padding byte after every country to force 32bit alignment which would make the offset computation faster on some architectures, althou
371.
▲
by
simias
5y ago
I agree of course but I'd argue that an array lookup would be more readable and more maintainable than this `if` soup in the `getCountry` example code. One added benefit for instance is that the language will never allow you to declare
372.
▲
by
simias
5y ago
Or shorten dev time, sure. I don't think those are necessarily bad things. The industry seems to have enough trouble as it is to recruit software devs. Can you imagine if you needed deep assembler mastery in order to develop a website?
373.
▲
by
simias
5y ago
I think it's the glue that keeps up with the CPU power curve, so to speak. You give devs more RAM and more cycles and they'll find a way to use them with inefficient languages, suboptimal code and shiny UI. I think it's impor
374.
▲
by
simias
5y ago
I think the shifting "product focus" is probably the main factor here, simply because such a service being used for malware hosting was completely predictable from day 1. When they started they probably thought that it was worth i
375.
▲
by
simias
5y ago
The parent's comment was uncalled for, but many regulations are made specifically to "dictate what consenting adults can agree to". That's why minimal wages exist after all. The problem is that if the task doesn't r
376.
▲
by
simias
5y ago
The conversation is framed from the point of view of tradition in some parts of the world. Of course the cops won't arrest you if you decide not to get an engagement ring. It's like going to work in flip flops, it's not illeg
377.
▲
by
simias
5y ago
Did your SO explain why it's so important for them to get a "real diamond"? While I understand wanting a valuable piece of jewelry as a token of the value of your relationship, I must admit that the extreme fixations on speci
378.
▲
by
simias
5y ago
What would be a safer alternative? At some point you'll have to trust volta.sh unless you're willing to audit all of the code manually. One potential issue with `curl | sh` is that if the connection dies prematurely you may end up
379.
▲
by
simias
5y ago
Per TFA: >Credit where credit's due, Daan Tech didn't completely lock down the machine with Bob cassettes. Once empty, you can leave it there and add detergents manually. If that was the true concern they'd have locked tha
380.
▲
by
simias
5y ago
Given that they went out of their way to build an auto-renewal system in the device (a pretty sophisticated endeavor for a kitchen appliance manufacturer) it seems blatantly obvious that this lock-in was meant to prevent refills. Otherwise
381.
▲
by
simias
5y ago
It's definitely technically doable: you'd have to checksum every read-only page of a program and see if you already have one in cache. But is it worth it though? Even "big" statically linked Rust programs are a few dozen
382.
▲
by
simias
5y ago
I've bought a reinforced travel bag similar to this one: https://www.bhphotovideo.com/images/images2500x2500/pacsafe_... The original lock is absolutely puny so I decided to learn more about padlocks to find
383.
▲
by
simias
5y ago
I don't think Python and C++ are really comparable here. Python was meant to be fairly minimalist from the start. I think if Python "feature froze" right now it'd still remain relevant for a long time. As you mention for
384.
▲
by
simias
5y ago
Was it used to publish malware? Given that it's a general purpose scripting tool I can imagine that some people would abuse it and use it as some sort of backdoor to get clueless users to run malware without having to publish it on the
385.
▲
by
simias
5y ago
Even if you're right, that's the same argument for airplane safety. The problem is being in control versus putting your hands in the hands of an unknown third party. The psychological, ethical and legal implications are completely
386.
▲
by
simias
5y ago
I'm not ascribing malice to their decisions, but I think they're really shooting themselves in the foot with the way they handle their PR. Maybe I'm wrong but my theory is that it started with "end-to-end encryption mean
387.
▲
by
simias
5y ago
So there are two things, there's OS-provided event handling (poll, blocking syscall that schedule another task, OS threads) and there's coroutines (libdill and friends). OS-level async is what I accuse some devs to underuse, prefe
388.
▲
by
simias
5y ago
Right, maybe "heavy" was a bit too strong, I was more thinking from the point of view or Rust which aims to have a small, mostly optional runtime.
389.
▲
by
simias
5y ago
I think the idea is to make the concept more general (it's not about blocking/async, it's about adding an additional concept into the language) but then the article is specifically about sync/async so I agree that it
390.
▲
by
simias
5y ago
>If you start over, there's no reason any blocking API should really BLOCK your program. Your functions can look completely synchronous, but yield to the event loop when they invoke a blocking API. That implies a level of sophistica
More ›