Better HN
topnewbestaskshowjobs
Log inSign up

problems

3,239 karma · joined Oct 3, 2016 (10y ago) · 1,374 submissions

Submissions

comment 9y ago · link · parent

So what - will companies stop producing non-self-driving cars? Will regulators force that action? I can't see either happening if self-driving cars have major limiting factors like that.

The alternative to self-driving cars that behave badly is not necessarily other self-driving cars, but simply non-self-driving cars.

comment 9y ago · link · parent

If the future of self-driving cars involves trapping them to reverse engineer them, I for one am really excited for that future.

comment 9y ago · link · parent

Do people shop this way? I haven't bought anything blindly like that in years, I've had too many experiences going "oh shit, I just got ripped off" to do that.

Particularly on Amazon, where many people are selling re-branded stuff from Chinese vendors which can be obtained much cheaper on AliExpress or eBay.

comment 9y ago · link · parent

Exactly, noticing things like this is just too easy - Friends and I frequently discuss it when comparing prices, usually it turns out to be that one of us found a product from a vendor via the search and one found it via a sale page.

You'll get caught all the time if you're doing this.

comment 9y ago · link · parent

Probably just more mental overhead people don't want to deal with. No one wants to remember to do more stuff.

If you're comparing 2 trucks, one with a DEF system and one without, chances are as an average consumer, you're going to take the one without because it's cheaper to run and less effort for you.

Heck, the other day I was looking at some electronics on a very large Chinese shopping site and ran across a device that can emulate DEF systems in 8 different manufacturers vehicles with no actual DEF consumption occurring for ~$15. People are lazy, cheap and just don't give a shit.

comment 9y ago · link · parent

That definitely sounds wrong - if you're leaving unburnt fuel in your exhaust, that is wasted fuel, you could burn it further and get more energy out of it - they seem exactly in line with eachother as goals. Do you have any source for that statement?

comment 9y ago · link · parent

I've heard this and avoid it in many places, but I think their arguments are sound here. The maintenance effort and unexpected rebuilds needed to upkeep forward declarations is something I'm not interested in doing.

I'm not going to change my coding style because Qt Creator is broken, switching IDEs makes much more sense.

Maybe I'm wrong and I've just been made horribly lazy by writing too much C#, Python and JS, maybe this is some pretty horrible technical debt, but hopefully this will all go away once the planned C++17 modules system is introduced. It's one of my biggest annoyances with the language to date.

comment 9y ago · link · parent

We use Embarcadero at work for our older stuff and have moved to Qt.

It's a clunky piece of crap, built around what used to be a big community due to Delphi in the Borland era. Their standard library is awful, support for 3rd party libraries is slowly dying. I'm sure some people from that era love it, but unless you have legacy code to maintain I really wouldn't suggest it. Maybe their new version with the move towards a Clang-based compiler will be an improvement, but the IDE itself is just... bad compared to Qt creator - doesn't support DPI scaling, no easy jump-to-class, upgrading packages often involves hacking at giant XML project files by hand, it's just a mess. Not only that, but the compiler has some pretty horrid bugs. Just this morning the compiler exited with no error, had to reboot the machine to make it work.

It's also incredibly expensive and making decent use of it almost necessitates buying expensive component packs from 3rd party vendors like DevExpress.

If you're an individual or small time company, you can get better visual IDEs for free via Qt Creator or VS Community. Most old Delphi-style development has moved to WinForms or WPF in .NET land.

comment 9y ago · link · parent

It's interesting, I used Qt Creator for a few years, overall I quite enjoyed it, the refactoring features builtin to it were much better than the VS builtin ones IMO. The code completion was brutally slow sometimes though, especially if using the Clang code model which basically maxed a core for over a minute every time I saved a file. In the end I switched to VS and Resharper C++ for the performance gain there and coworkers comfort.

I tend to use includes everywhere and only minimal forward declarations when required - this might be the source of the problem, but many modern C++ standards I've seen actually encourage that as best practice and discourage use of forward declarations. VS is able to keep up with that and Qt Creator just isn't. I find maintaining forward declarations a pain in the ass. See https://google.github.io/styleguide/cppguide.html#Forward_De... for example.

comment 9y ago · link · parent

That's awesome, wish my city would do something like this - you're lucky to get updates once per 2 or 3 minutes on their service.

comment 9y ago · link · parent

Yeah, I can definitely see using it more if I were out of town or if the couriers actually bothered delivering things instead of trying once and dropping it at their warehouse because signature is required on everything - or the federal postal service which drops things up the road, beside a shit load of shopping and has a location only inside of a drug store, where no one works the postal counter and I spend 15 minutes waiting around sometimes.

Maybe I just have bad luck, but as is, ordering online is way more hassle and I only do it for absolute extremes.

comment 9y ago · link · parent

Local stores (Active Electronics, Canada Computers) have comparable prices to online and often even beat Newegg prices - even without shipping. And even when they're a bit more, I'll pay an extra $20 to have that graphics card today and know I can return it if it's DoA without a hassle.

Of course there are exceptions and extreme price differences where it's worth it to go online, but if it's within 10% or 15%, or sufficiently cheap in general, I'll probably take a store. Shipping often involves going out of my way to pick something up because no one is at my house during the day and even the local post service decides to drop things off in the next town over. Often I have to wait an extra day just for it to show up there and go through a huge hassle to pick something up.

Of course with more obscure stuff or a large price difference, you'll choose online, but in my experience that's surprisingly rare - I shop everything major I buy around and with smaller stuff it just makes more sense to go local. I order IEMs and some electronic components, things I can predict needing in advance direct from China for price and that's about it. I've never placed an amazon order in my life, their prices and selection just aren't competitive in my experience - but I suspect mostly that's because Amazon Canada is a lot worse than Amazon US.

comment 9y ago · link · parent

Because governments and forensic companies buy their tools.

"Completely outdated" you may say - but most people still don't use these things. Most people won't go out of their way to take anything more than the most basic security measures. So that's good enough most of the time for forensic purposes.

Apple's "secure by default" concept sounds like the best practice in theory, but their backups and account tying of devices make it so that there's easy attack vectors for tools like this. In order to fully take advantage, you'd have to have never taken a backup of your iOS device and have all iCloud features disabled. Most people don't do that, most people would rather get their data back if they forget their password than keep them private in an extreme situation - for most people that probably makes sense.

comment 9y ago · link · parent

So maybe that's true of books, music and computer software - but those things are often best experienced digitally anyways, many people consume them solely as digital goods.

But when I need clothes, car parts, electronic components, computer parts, any physical product with a non-zero chance of failure or an immediate desire really - knowing I can try something on or walk in 10 minutes later and return something and get it replaced on the spot is a killer feature - one that online shopping cannot replace.

I'd go so far as to argue that real stores are always better than online stores - online stores can only win on price and selection. For every other metric around, delivery time, replacement effort, ability to compare and to try, there's just no replacement.

comment 9y ago · link · parent

This is exactly the way I've gone - I have a "projects" folder full of shit that just solves a problem for me in the quickest and mentally easiest way possible. I go learn new technologies only when they improve my ability to do that.

comment 9y ago · link · parent

Self-hosted Gitlab+Mattermost has been a very good bet for us so far.

JIRA was on the table too as it's more feature rich, but the costs were several times higher (especially when you start tacking on their CI tooling and stuff).

GitHub however was just too feature poor to be considered seriously - less features than GitLab and it's priced higher than JIRA.

comment 9y ago · link · parent

There's been several cases in history of "Fixer" worms. Welchia is probably the best known example.

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

comment 9y ago · link · parent

Salon is a very left-wing site, heavily opinion-based. You get about the same kind of thing when looking at opinion sites from any part of the political spectrum.

It's glorified trash talking really.

comment 9y ago · link · parent

> Well, that's kind of the point. If you can download something that's 3GB in two minutes, it fundamentally changes how you deal with media.

Not really in my experience. I'm a big usenet guy, but I still horde a local collection - if you're using a private tracker you don't want to be re-downloading things all the time because that'd cost you ratio and you still need to hold them long enough to upload them a fair bit. Usenet is really the closest you get to not needing to hoard, but there's still a risk with that, so you often keep it around.

I wouldn't say having something in 2 minutes vs an hour, but still needing to keep it around "fundamentally changes how you deal with media". Especially when you can freely stream a torrent using peerflix off a public tracker, but can't off a private one due to ratio concerns.

comment 9y ago · link · parent

You need merely look at other countries where this is implemented like Canada and the UK though to see its success.

Cell carriers are a completely different case which isn't comparable - bandwidth costs them a lot more than it does to landlines due to air time costs and the associated impact on other customers, the sheer cost of spectrum also prices many smaller players out of the game altogether, limiting the real ability for competition in the cellular space.

Freeing those last mile lines results in plentiful and cheap bandwidth - something unavailable in the cellular space and an easy tool for small competition to use against the big guys.

EDIT: Sorry if that seems contradictory to what I said before, just trying to make the point that the cases are quite different and more appropriate examples would be better, I'd mistakenly oversimplified this before.

comment 9y ago · link · parent

I'm generally in agreement with you, but one minor criticism, cell carriers are not home ISPs and there's a lot more competition in the cell carrier business because cell carriers are not limited by physical lines.

The physical lines are what kills competition in the home ISP business and largely breaks the market. If you look at countries where they've freed the physical last mile lines, the issues are a lot fewer as there is greatly increased competition.

comment 9y ago · link · parent

Interesting, I think an alternative to the net neutrality ruling might be to go the way that Canada and the UK did which largely prevented this from becoming a significant issue: force the major ISPs to lease last mile lines to the upstarts. Make a market that works. It also did great good for competition on speed grounds.

comment 9y ago · link · parent

Well, that is part of the Kotlin project itself, so I assume it is or will be built in, should the proposal succeed.

comment 9y ago · link · parent

> And since Kotlin is built on JVM compatibility I _assume_ that Kotlin does not support an immutable style of programming.

The underlying host doesn't imply anything about language support as that's handled at the compiler level, not at the machine or VM level.

Even in Haskell data isn't immutable if you have a debugger or modify the machine code. It's simply a tool provided and enforced solely by the compiler - other JVM languages do support it like Clojure or Scala.

comment 9y ago · link · parent

There's really no need for a certificate on an onion name - onion names are already the hash of your public key. Tor validates everything for that already and if someone else can compromise your onion name, they could just produce a certificate for it anyways.

Unlike with regular http vs SSL, Tor provides confidentiality, integrity and host authentication integrated simply by connecting to the right name.

comment 9y ago · link · parent

Do you have any auth on the MQTT? If I recall correctly onion names are basically public.
1
151617
46