Better HN
topnewbestaskshowjobs
Log inSign up

Sebb767

7,812 karma · joined Oct 29, 2018 (8y ago) · 2,113 submissions

Get in touch: hn@${username}.${German tld} or on Telegram (same username)

Don't try to contact me on other social media, I'm not active and will usually not read it.

Always open to connect: meet.hn/city/de-Nuremberg

Submissions

comment 6y ago · link · parent

I've been in the same boat. If you really want a hackable infotainment without a TON of work and electrical problems, your best bet is an Android head unit which supports aftermarket OS's. It's not perfect, but you save yourself the headache of getting the CAN Bus working, connecting the Audio, getting the startup right etc etc.

comment 6y ago · link · parent

> An engine running at 3000 RPM is only doing 50 rotations per second, so you have a 20 ms budget to calculate whatever you want, hit whatever spark plug timing you need and then GC.

The engine should still work at redline, so lets go for a conservative 6000 RPM, or 10ms budget. The spark plugs don't fire at the same time either, but (as far as I know) every second rotation in a staggered manner. So with a 4 piston engine you'd have 5ms (one firing every 180 deg) to do calculations, check for failure conditions and run the gc, with the latter one needing to finish in time.

It might be possible to do a proof of concept, but I don't think its that easy.

comment 6y ago · link · parent

> The switching costs of going between iOS and Android are obviously not remotely comparable from the switching costs of going between Walmart and Target.

True, but you knew that very well when you bought iOS device (and it might've even been exactly because of the strict review). Same if you moved to that town with the single Dollar General - you knew what you were getting into.

Don't get me wrong - I don't like the situation. But people buy iPhones (at the very least) despite the strict guidelines and developers still put apps in the store despite the strict rules. If either of those components would miss, Apple would not be one of the highest value companies in the world right now. And Apple does not have the market force to simply crush everyone else.

comment 6y ago · link · parent

Only in the (probably unlikely) case that you have a `pip.py` in your CWD. In all other cases, it will execute pip as intended.

comment 6y ago · link · parent

It is possibly when you select 'always save to downloads' in your preferred browser.

comment 6y ago · link · parent

And php, which is also a really beginner-friendly language. In fact, not needing the big toolchain at the beginning helps experimenting a lot and is probably one big factor of what made both of them take off so much in that niche.

comment 6y ago · link · parent

> Self-hosting is clearly inferior in major objective measures: availability, durability, and security.

I'd not go as far. You can have your setup behind a VPN on a high port, go for distributed storage (for example at your home and at your parents) and be rather secure with a stable, auto-updated distribution. Cold backups could be an encrypted blob in a cloud or a tape somewhere.

Now, of course this needs quite some upfront investment in time and money; without a solid setup, I fully agree that the cloud is superior (unless your prefer your data lost over read by the NSA).

Other than that, it mostly boils down to risk management: A third-party hacker might have an easier time with your network than Google or Dropbox, but being script-kiddie save is not that hard [0], so it needs to be someone with time and skill. TLAs can't simply subpoena your data, so it might be harder for them - unless your home network is setup badly [1] or they're willing to possibly burn a zero-day. Your day-to-day ad agency is not going to lay hands on your data. It really boils down to what aspect you optimize for; given the grandparent, I assumed it to be privacy and therefore selfhosting to be probably better. But I should've been clearer on that :)

[0] Yes, mistakes happen, but big corporations have also been hacked with trivial exploits, so let's call it even.

[1] This also poses a danger to your login data, though, so the Cloud security team does not help either.

comment 6y ago · link · parent

> Out of curiosity, what's the benefit of replacing Google Docs with Dropbox? [...] the same drive that would have me ditch Google would also make me ditch Dropbox

They're both for-profit US companies saving your data overseas, so yes, for your last point it doesn't matter much. However, there are two advantages:

1) You're giving your data to a company aiming to sell you storage space vs a company which tries to make money of selling your (meta-)data, where selling storage space is only a minor accounting item. This also gives clear priorities: Dropbox loosing or being caught selling your data is a big reputation hit to them [0], while for Google it would neither change their reputation nor their total revenue by much.

2) You're not putting your eggs in one basket. If you're all in on Google, loosing your account does kill your calendar, contacts, mail, storage (possibly with the backups you need right now) ... . Also, that one company has basically full access to your life. If you're using diversified services you're far less likely to suddenly loose access to multiple services [1] and those services only own a part of your data vs your whole life [2].

Concluding this, selfhosting surely is the superior solution. But if you must use external storage providers (i.e. as worst-case backup or due to lack of money/space for own servers), choosing Dropbox over Google has its advantages.

[0] Yes, I'm aware it has happened.

[1] Assuming 2FA and a reasonably secure mail service, of course.

[2] One could argue that Google is going to guard your data with world-class engineers while the other services are probably less well equipped and therefore you have an increased risk of (at least!) parts of your data being leaked. That's personal risk management, though, and the consensus seems to be diversification.

comment 6y ago · link · parent

This might be true (it appears we have similar people in the western world). However, I think you're being downvoted because it seems you're advocating less internet access in the hopes of more equality.

It brings up an interesting question, though: Assuming for the moment that internet access actually increases hatred - is more hate towards a group a good tradeoff for empowering them by giving them internet access as well?

comment 6y ago · link · parent

> that would mean admitting how utterly dismal our Covid response has been

Only if there would've been a better way. While COVID surely could've been handled a bit better overall, I don't think a lockdown was fully avoidable (note that it escaped Wuhan while the city was in a lockdown stricter than anything seen outside of Wuhan) and remote learning is, as shown above, not ideal either. So I don't think admitting that this school year was bad equals admitting a bad response to COVID.

comment 6y ago · link · parent

Can you post a link to those? Maybe it's me, but I cant find them on the kickstarter page.

comment 6y ago · link · parent

> Is it a damage if you damage damaging thing?

When in doubt - yes. It's the same reasoning forbidding you from shooting criminals in the street, you'd just open up mob justice.

Of course, this is a pretty clear cut case and you might argue that this is an emergency (as people are clearly in danger of being scammed unless you act right now), but overall this is a very blurry line.

comment 6y ago · link · parent

While funny, real-looking fake login data might be more useful, as it's probably real easy to filter the few large requests. Unless, of course, you bring down the server and stop the whole operation (for a time).

It would be quite interesting to do a study on both options using a honeypot-account (to detect whether the login could be extracted by the spammer).

comment 6y ago · link · parent

That's dependent on the zoom factor and focus distance of your lens and therefore really hard to say in general.

In theory, you could even make a micrometer-sized QR code and scan it using a phone-microscope-attachment - so if you're really trying to push it, probably smaller than you can reasonably print/manufacture.

For a more practical usage, when we worked with QR-Codes, about 3cm by 3cm (or 1.2 inch) seemed to be the smallest unit not causing trouble; smaller than that and problems with focus started appearing for some clients and scan times increased. Of course, that's only anecdotal evidence.

comment 6y ago · link · parent

For a lot of crashes (mostly due to X bugs - I have an "interesting" setup) I couldn't find those tabs in recently closed. I'll try to simulate it and maybe open a bug report; if it's only in my case this might be less of a general issue than I thought.

comment 6y ago · link · parent

Why wouldn't they? If some companies are that invested in keeping their data off the cloud (on which I agree that those are few and far in between) I could easily this as an on-prem instance.

comment 6y ago · link · parent

Crash safety. If Chrome crashes, you get one single, short lived pop up to restore your tabs. If you miss it or can't click it for some reason, though luck.

Firefox, on the other hand, will simply always reopen your tabs and prompt you, in case the crash was its fault. In fact, losing ~50 open tabs in Chrome was what made me switch.

1938.

Anthrax Outbreak in Russia Thought to Be Result of Thawing Permafrost(npr.org ↗)

2 points · by Sebb767 · 6y ago · discuss

comment 6y ago · link · parent

> looks like humans are well into destroying their own kind and the environment faster than most other creatures.

To be fair - we really only focus on war against our own kind so much since we've basically won against every other one. Sure, there are still problems in small, but in general no other species is a threat to a large part of us in general.

Also, destroying the environment really is a side effect of industrialization, so I don't think that's a fair comparison either. No other species needs any kind of stable power grid, but that's surely not because we're less advanced.

> At the same time human beings seem ill equipped to judge or characterize 'alien' lives: we often want to 'make contact' or have a communication or social channel with aliens. As if a show of our mental power and social structure is the most important aspect..

Honest question: What is?

> Just looking at how octopuses are being measured by humans, it feels rather silly the kind of approaches humans use to evaluate other species let alone aliens.

In some way, yes. But it's hard to do it any other way; most possible partners are seriously limited in their communication abilities and (at least probably) in their intelligence.

comment 6y ago · link · parent

Yes, this was in deaths per billion km - sorry, should've specified.

comment 6y ago · link · parent

> In other words, if the odds are e.g. 1 in 10 that the trip will kill me, I don't give a shit how low the risk per mile is.

The average distance to mars is about 225 million km, so that would be one accident about every 2,2 billion km or 0.45 deaths per km, which is a bit deadlier than buses and 9 times as deadly as planes. Gives some perspective on how save planes actually are.

comment 6y ago · link · parent

> Just remember to acknowledge how exceedingly well this works for white guys and the uphill battle faced by others.

With all the bonus programs and scholarships for women and minorities, this is probably even more true for them.

For example, the top 5 women graduating each semester in informatics from my university receive a grand of 5000 Euro. We do not have more than five women graduating each semester (it's a small faculty, to be fair). Just showing up once after completing your bachelors degree can net you 5000 Euro.

comment 6y ago · link · parent

I'd compare it more to the law of entrapment: You need to show that you did the action because it was an officer convincing you; the fact that you were convinced/talked into doing something is not enough. Which seems parallel to our case: The spouse in question was open to cheating; the fact that it was a detective (or fraudster) on the other side seems irrelevant.

But I see your point, it feels fraudulent since you prove one side is bad by doing something (possibly) equally as bad, but only one thing is regarded in court. Though it will probably look bad if it's found out.

> I am not your lawyer. This is not legal advice.

Me neither, but I think it's an interesting topic.

> If your partner is actively sabotaging your relationship, it may not be a good idea to stay with that person.

Of course. But that was the point all along, I guess ;)

comment 6y ago · link · parent

As someone who works on a business app using CouchDB+Typescript, I can tell you that (a) you will also hit the edge cases of NoSQL, like transactions and joins, and it will not be that awesome either and (b) at some point you'll realize that you'll need to do schema validation still. Frontend bugs, possibly malicious clients and protected attributes (i.e. 'disabled' should only be set by an admin) will force you to write a lot of validation anyway.

It definitely allows for faster iteration, though. You can deploy a prototype or change very quickly without caring about this, which is pretty nice. But you need to keep track of that and pay the debt if you use the prototype.

Overall, I think it would not give or take much if we'd be using PostgreSQL+some JSON column for general data instead of CouchDB. You just need to know your stack and its drawbacks and work with them.

comment 6y ago · link · parent

Why? As far as I can see, they don't force anything on anyone. One could also make the argument that if a partner falls for this (or hires them), the relationship is already on rocky ground, so they don't do much harm either.

comment 6y ago · link · parent

It's a side note, but I think open research (in combination with a bit more readable language) would contribute a bit to suppressing conspiracy theories and general scientific knowledge.

Right now, proofs and research are locked away behind paywalls and inaccessible to the usual reader - an open policy would allow far more linking and quoting and therefore get the average person used to looking things up in papers.

comment 6y ago · link · parent

That's why I've mentioned time to market. Take GitHub as an example: It's neither the fastest/most lightweight git hosting page (that would probably be Gogs/Gitea) nor the most feature-rich (GitLab is far more advanced, as far as I can tell). They are where they are because they've made a viable product first. Same with slack: Electron is not a good solution, but it was a desktop app in 5 minutes - can't beat that.

I'm not trying to say performance doesn't matter - I'm using lower-powered devices myself - but development time is also a big factor for b2c.

comment 6y ago · link · parent

> Networking Layer is invisible to 99% of users nowadays. "it just works."

Yes, but the problem is that it didn't take someone who knows better to hack what is (used as) an official government communication platform. Or one of the largest social networks, or a company with thousands of engineers - take your pick; it's hard to put this in a good light.

comment 6y ago · link · parent

You'd think so, but the history shows that this will only be a footnote in Twitters history. See Equifax; they have lost the personal finance data of basically everyone in the US and they're doing fine. Twitter is not going to suffer anything other than a few bad jokes at its expense.

comment 6y ago · link · parent

> Should we make homeowners equally criminally liable when burglars break in?

Aren't they? I've seen a lot of insurance cases being denied due to negligence. This might even happen if you let your bag lie around openly in your locked car.

Also, burglar victims tend not to cause further damage. And, if they do, the victims will be in trouble as well. At least in Germany, a stolen gun will cause you a lot of problems, unless you can prove that you stored it securely according to the national guidelines.

1
646566
71