Better HN
topnewbestaskshowjobs
Log inSign up

Timon3

3,074 karma · joined Apr 4, 2021 (5y ago) · 2,147 submissions

Submissions

comment 3y ago · link · parent

If we're going by inaccurate estimates in 2020, how about this one?

> “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

Counterpoint: it should be much more bizarre, and should track social consequences for those responsible.

comment 3y ago · link · parent

I understand your perspective, it's absolutely right to insist on security in a corporate environment. I have also seen the other side as a developer and saw it happen a number of times. Understanding why it seems tempting to developers is probably the best way to fully get rid of it (although you might be doing so already, probably no way to fully get rid of the problem). The reasons I've seen usually were:

- 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

Can you explain why you believe this to be the case? Let's say you log the user in. Yes, you need consent to store a login cookie, but that doesn't mean you need "a banner and explicit opt-in". You only need explicit opt-in, which you can do by... putting a "remember me" box next to your login form[1]. Is that really so hard?

[1] https://law.stackexchange.com/a/32157

comment 3y ago · link · parent

That horrible moment when you come home from a four week vacation and, just as the smell hits, suddenly remember you were dogfooding...

comment 3y ago · link · parent

It's much nicer, especially since it keeps the complexity down.

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

Why exactly is it seemingly so expensive not to sell your customer data?

comment 3y ago · link · parent

It's terrifying that America has reached the "propose fascist laws for laughs" stage. It doesn't matter if it's supposed to be a joke, or not serious, or anything else.

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

Imagine a beam of light hitting a prism. What comes out on the other side is a Fourier transform of the incoming light. Did the prism do a computation? If you say no, how about if I place photo detectors on the other side and measure the result - did I build a computer that does not do computations?

comment 3y ago · link · parent

Those same millions of years of evolution have also made us quite adept at reinforcing power and dominance structures through those same signals. Seems like there might be more to the discussion than "doesn't matter", no?

comment 3y ago · link · parent

Just to expand on this:

> Pickling is the process of preserving or extending the shelf life of food by either anaerobic fermentation in brine or immersion in vinegar.

https://en.wikipedia.org/wiki/Pickling

comment 3y ago · link · parent

I just started learning Yocto a few weeks ago, and just shipped my first embedded image. Here are a couple of learnings and thoughts:

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

But how do we know what the "right" ways to present yourself are? It used to be that if you were a white kid in the US and you played with black kids, other white kids would treat you badly. I presume we all agree that this is not good behavior, and not good for society. But can you clearly delineate between this, and between kids bullying other kids because they are wearing the wrong colors?

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

> Middle-aged men choose to transition to become transwomen, and they all went through puberty. Some even fathered kids.

> 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

Wouldn't this be "free speech absolutist relative to their countries' laws"? It seems like the moniker "free speech absolutist" is meant to be, well, absolute.

comment 3y ago · link · parent

They are speaking loudly about the issue, because their speech is being infringed. The law in Florida currently says that you're not allowed to talk to school children about sexuality in an inappropriate way, without specifying what this exactly means. I have not seen any conservatives deny that this is specifically set up to still allow talk about heterosexuality (e.g. a male teacher talking about how he went hiking with his wife) while disallowing any mention of homosexuality (e.g. a male teacher talking about how he went hiking with his husband).

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

This is very interesting! How did the FANG in your hypothetical find out about the person being a convicted domestic abuser? The law says they are not allowed to ask about prior criminal history which is not relevant to the job itself, so it would be interesting to know how these pieces of information come to light.

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

And surely there's no way your impression is biased? Or that you have an agenda?

It's easy to say something like this, but without any actual examples, complaints, studies or anything it just detracts from actual conversations.

comment 3y ago · link · parent

This looks deep at one side, and fully ignores the other. Think about the consequences of not improving safety - personally a lot of poor people will be hurt, either resulting in them having to be supported by their family, or more likely simply dying, and structurally you're not encouraging any change in these conditions. By allowing the workers to be made to work in unsafe conditions you'll reduce cost and prices, but you won't have an incentive to develop safer ways to process everything, since the unsafe way is allowed and way cheaper!

> 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't know what is on a website until after you visit it

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

> But it has fuck-all to do with any sort of "improperly incarcerating a fetus".

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

> Woman actions led to her being imprisoned, why are you blaming the state all of a sudden?

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

Your described scenario is not comparable, since the issue is not that the woman doesn't want to be in prison, it's that she fears her fetus will die, which seems well-reasoned (not even mentioning the potential damage done to her in said process).

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

This feels similar to "the mother didn't kill the kid; the hot car did". If the state is forcing the woman to stay in a situation which is dangerous to the fetus, surely the woman which is forced to carry it to term is not responsible for the situation itself?

comment 3y ago · link · parent

This works fine for now. I am however worried that politics will make this much harder in the future. We're already seeing that a certain crowd wishes that AI responses reflect the "average" without any kinds of filtering. If they were to pass a law in this direction (and, let's face it, considering all the other overstepping laws passed in the direction of book banning etc. this is sure to come) we might not have any choice or options left.

comment 3y ago · link · parent

Yes, the way you're stating it is fully correct. It is trivial to circumvent, but it would be so in your scenario too - sharing cookies is easy to implement in a proxy server. Still, for a simple website it's a big hurdle, since it forces you to build a proxy server.

comment 3y ago · link · parent

I'm pretty sure "Resource Sharing" is about resources on a server being loaded from other origins, not about sharing client-side information. This is a client-side restriction. By offering an alternative you ship a workaround for CORS, effectively disabling it.

comment 3y ago · link · parent

You could still have a reverse proxy to deal with the worst of it. But if the client could already talk the right protocols it would remove a lot of unnecessary complexity.

comment 3y ago · link · parent

Yes. A computer trusting itself used to be the primary way, and still is in many cases, of how viruses work.

comment 3y ago · link · parent

This is a terrible take. The more technology is integrated into society, the more we need to offer different avenues to access it. Otherwise we'll be excluding the differently-abled from many parts of society, and at some point we really should be able to put that behind us...
1
6869707172