3,074 karma · joined Apr 4, 2021 (5y ago) · 2,147 submissions
comment 3y ago · link · parent
> “I think we will be ‘feature-complete’ on full self-driving this year, meaning the car will be able to find you in a parking lot, pick you up, take you all the way to your destination without an intervention this year,” Musk said during a podcast interview with the money management firm ARK Invest, which is a Tesla investor. “I am certain of that. That is not a question mark.”
https://www.wired.com/story/elon-musk-tesla-full-self-drivin...
comment 3y ago · link · parent
- Undocumented or unknown processes. Many enterprises have a discoverability problem regarding almost all information, and as somebody that frequently required some special support for my work, it often took shockingly long to find a person who knew how to find the information in the respective intranet. It's important that not only are the services available, they also must be discoverable and known.
- Complicated processes. A portion of developers that require these services are using them for the first time, or have used them without fully understanding and considering the implications. If the process for requesting support is too complicated (e.g. requiring a form where you either require very detailed information without assistance on how to find it, or - the worst case - a form with fields where the people responsible say "oh, just fill it with random stuff to keep going") it will make some people choose the less secure way to get going with work.
- Long processes. If a developer wants to use such a service and it takes weeks to months to receive support (e.g. overload of tickets, or the only person responsible is on vacation) it sometimes leaves little to no choice.
But again, definitely not advocating for circumventing security!
comment 3y ago · link · parent
comment 3y ago · link · parent
If you nest if/else, you'll quickly approach a point where you have to keep a complex logic tree in your head to determine which states the system could be in inside of any given branch. If you use guard clauses and return early, you'll keep this complexity down to a minimum, since the list of possible states changes linearly with your code instead of exponentially.
I know not everybody likes it, but I think this makes cyclomatic complexity an extremely valuable metric for measuring "ease-of-reading".
comment 3y ago · link · parent
But that's not at all surprising given that the ex-president who immediately tried overturning an election the first chance he got is one of the two front-runners for the party whose politicians propose this...
comment 3y ago · link · parent
comment 3y ago · link · parent
1. Start with an empty image and build your way up. There can be some cross-effects between packages depending on what you exactly do, it's a lot easier to debug if you go step by step. The base image recipes are all listed in the documentation, start with one of them.[1]
2. Lean into Bitbake and the whole thing. The more you try to fight it, the more it fights back. I liked this guide as a starting point to get a feel for it.[2]
3. Find a way to quickly iterate on your images. Nothing worse than losing your train of thought! Since I wanted to include update functionality I added swupdate, which integrates reasonably well with Yocto[3] - although the documentation is a bit difficult to read at times. But being able to simply push an update through WiFi is really, really nice.
4. If you do some lower-level stuff you'll inevitably need to create configuration fragments. This process was REALLY opaque to me. Say you want to set build options for U-Boot - you'll have to: 1) run `bitbake -c menuconfig u-boot` to open the config menu; 2) when closing the menu, you save the configuration in the default location; 3) then you run `bitbake -c diffconfig u-boot` to generate a config fragment; 4) you copy the config fragment into your recipe-append-folder and add it to the SRC_URI variable; 5) you run `bitbake -c clean u-boot`. When U-Boot is built the next time it will apply your configuration fragment to the build process.
These were the most important things that came to mind. Hope they help, and good luck on your journey! :)
[1] https://docs.yoctoproject.org/ref-manual/images.html
[2] https://a4z.gitlab.io/docs/BitBake/guide.html
[3] https://sbabic.github.io/swupdate/building-with-yocto.html
comment 3y ago · link · parent
I understand that we have to realistically look at the effects these changes have on individuals. But I don't think that we have reached any kind of "optimal social rules". Deciding to stop right here and now seems arbitrary, and I'm reasonably certain that there have always been people making this exact argument for any kind of change.
comment 3y ago · link · parent
> So there's no reason for trans-identifying teenagers to have their own puberties blocked [...]
If this is really your whole thought process, I'd implore you to read up on why transitioning is beneficial for transgender youth. Do you know what would happen if we were to implement your idea? We'd have a lot more suicides in transgender youth, because going through the "wrong" puberty is hard, and leaves a lot of mental anguish. Instead of relying on simple thought patterns, could we please do actual research into these complicated topics and try to find what works best for those afflicted, not what feels right to us in the moment? Thank you.
comment 3y ago · link · parent
The only defense I can see would be the same which was used to deny gay marriage - "we're not infringing on their rights, they can still marry straight people of the opposite sex!" - which I'm sure we can all agree is not in any way a good defense.
comment 3y ago · link · parent
I'll leave the question of "should a person be branded for life even if they've done everything they can to make things right" for the reader.
comment 3y ago · link · parent
> More regulation always favors big companies.
Is there actual research into this? I see this religiously repeated by a lot of people, but I somehow never see actual data to support it.
comment 3y ago · link · parent
You can most certainly know that a website could have a banner which says "by entering you consent to buying all products". You're aware beforehand of the danger - why should you be able to escape the consequences? If you don't want the danger, don't use the internet, right?
comment 3y ago · link · parent
If you're putting the focus on "improperly incarcerating a fetus" instead of "improperly incarcerating a fetus", I can see how it would have fuck-all to do. But since it's a willfully negative reading I don't see why you'd do so. Consider that other countries do what the lawyer is asking for - allowing pregnant people to serve prison sentences from their homes. Why is it so incredibly ridiculous to you to even entertain this thought, even though it would help in this situation (by saving the fetus' live)?
comment 3y ago · link · parent
I might have missed it, but what law is there that crimes shall be punished by being put into a situation which might kill your unborn fetus?
Her actions led to her being imprisoned. The state led to her being imprisoned in a dangerous situation. She is NOT responsible for the situation being dangerous, ONLY the state is.
comment 3y ago · link · parent
So if we make your scenario comparable, and there is a good probability I might die during one of my visits - then yes, I definitely would like the option not to enter the prison for said process, and it seems incredibly cruel to force both the prisoner and his blood to stay in the prison, and to force me to get my transfusions there. Why can there not be any accomodations made?
> It being dangerous for the fetus seems like a separate issue she should be suing the prison about.
I can't stress enough what a strange and uncaring attitude this is. Here you have the state forcing somebody to be in prison, and the prison is in terrible conditions. Why is it not the states fault that she is put into those conditions? Why should she have to sue the prison for this? Florida is forcing her to be in those conditions, specifically both in prison and pregnant. Why is she responsible for ensuring she doesn't suffer conditions where her unborn child might die?
comment 3y ago · link · parent
comment 3y ago · link · parent