Better HN
topnewbestaskshowjobs
Log inSign up

echoangle

5,377 karma · joined Oct 20, 2023 (3y ago) · 2,450 submissions

Submissions

comment 2y ago · link · parent

This website manages to crash the safari tab every few seconds (“A Problem repeatedly occurred”). Is it that hard to write a website showing a text article?

comment 2y ago · link · parent

https://www.usinflationcalculator.com/ tells me the dollar is worth 60% of what it was worth in 2004, that’s a lot more than a third. Where did you get that figure from?

comment 2y ago · link · parent

You should probably set the language of the SpeechSynthesis to english, currently the browser seems to use the system language which leads to bad output with the english text.

comment 2y ago · link · parent

So you think that Elon seriously believed that Autopilot was coming the same year for 9 years or so in a row? If that wasn’t a total lie, he’s really stupid. He obviously knows that he’s wrong but still makes completely unrealistic predictions for hype/marketing reasons. That’s lying.

comment 2y ago · link · parent

Would you consider it lying if he made optimistic promises while knowing they were impossible?

comment 2y ago · link · parent

Wouldn’t it be far better to pass a list of options into the subprocess call instead of joining it all into a string and then using shell=True?

comment 2y ago · link · parent

No, I started skimming before that point, thanks for pointing that out. I guess you have to check your sent mails now after sending one, until this is fixed

comment 2y ago · link · parent

Wouldn’t this be fixable by not allowing Stylesheets but only inline style attributes on the tags? To improve usability, email clients could include an automatic step where all Stylesheets are “compiled” to inline styles. The only thing this would break would be advanced CSS selectors (hover etc.) but I’m not sure they would be needed.

comment 2y ago · link · parent

At least the person forwarding the mail could check the preview and see that the text changed.

comment 2y ago · link · parent

What if your application is written in Rust or C? Would you write your build scripts in these languages, too? I would much prefer a simpler scripting language for this. If you’re already using a scripting language as the main language, you don’t necessarily need to pull in another language just for scripts, of course.

comment 2y ago · link · parent

I’m not a security professional either, but that doesn’t sound very plausible to me. If you assume a maintainer who checks every commit added to the codebase, he’s hopefully blocking you the second he sees an eval call in your build script. And even a code audit should find weird stuff like that, if the code is pythonic and simple to read. And if it’s not, it should not be trusted and should be treated as malicious.

comment 2y ago · link · parent

The problem is that obfuscated bash is considered normal. If unreadable bash was not allowed to be committed, it would be much harder to hide stuff like this. But unreadable bash code is not suspicious, because it is kind of expected. That’s the main problem in my opinion.

comment 2y ago · link · parent

Where are you going to hide your monkey patching though? As long as your code is public, stuff like this is always going to stand out, because no one writes weird magic one liners in python.

comment 2y ago · link · parent

I think the common usage of bash and other languages with a dense and complicated syntax is the root problem here. If build scripts were written in python, you would have a hard time obfuscating backdoors, because everyone would see that it is weird code. Bash code is just assumed to be normal when you can’t read it.

comment 2y ago · link · parent

Is that really a thing? Is private supposed to be more secure because of accidents or because of risk of kidnapping and assassinations? I don’t see a reason why private flights would be less accident-prone than public flights.

Edit: looks like private flights are actually much more dangerous than airlines, the insurance would probably prefer if you would fly public… (not my favorite source but the first thing I found: https://www.livescience.com/49701-private-planes-safety.html )

comment 2y ago · link · parent

Which Distro did you use on the affected devices?

comment 2y ago · link · parent

That only affects the controls of the PIP mode, the question was how to completely disable PIP mode. A sibling comment posted a about:config setting to do this.

comment 2y ago · link · parent

I hope they didn’t store the literal rate, but only the selected product id, in the session. Otherwise, you could just modify your request and set a low rate…

comment 2y ago · link · parent

Does any tool seriously localize CSVs?

comment 2y ago · link · parent

It’s available on google fonts.

comment 2y ago · link · parent

Isn’t the point that you have a way to get to a point far away faster than you can get to a point in between? The worm hole thing ist because you can only exit at discrete points so it pulls a single point far away, and it’s sorrounding, closer to the starting point. That’s probably hard to map to a 2D map because there would be some overlap between the different „islands“ starting from subway stations

comment 2y ago · link · parent

Is it really an application if it’s not stateful? Maybe you’re managing the state client-side which makes it easier but I wouldn’t call a plain website an application, or am I missing something?

comment 2y ago · link · parent

Would you really be responsible for this? Like, what’s the worst that could happen? People putting threats or insults into their messages? Can’t you just remove it as soon as it is reported, and be fine? Is there a legal need to proactively monitor your content?

comment 2y ago · link · parent

I bought one for $3 or so on AliExpress and to my ears it sounds fine, some audio enthusiasts might hear a difference to a $30 version though

comment 2y ago · link · parent

Correct, that should tell you everything you need to know about the market value, and why they don’t get constant royalties for images. There’s a lot of competition because many people are willing to do it for little money.

I do not understand why people think this is bad though, that’s just how the market value of services is determined.

comment 2y ago · link · parent

If the people selling photographs don’t like that, they should license them accordingly, right?

comment 2y ago · link · parent

Is the stated predicted cost really their honest prediction? I thought they always lowball on purpose to make approval easier. Otherwise, I don’t understand why they not just double every prediction by default, that would probably increase accuracy.

comment 2y ago · link · parent

Isn’t that mostly IO limited anyways?

comment 2y ago · link · parent

That’s shifting the goalpost, the original point was that nobody wants this, not that it’s bad for society
1
7879808182