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

Just release it anyways, their problem that they don't have a public api, not yours. Sometimes you gotta break some rules to do something great.

comment 9y ago · link · parent

Yeah, I hate that they changed perfectly food mplayer binds to make less sense.

Fortunately there's a file included that will restore the original behaviors.

comment 9y ago · link · parent

A quick overview of how SSH key authentication works:

> SSH client: I support key auth

> SSH server: Let's use key auth

> SSH client: Do you take this public key hash: XXXXXX?

> SSH server: Yes I do

or

> SSH server: No I don't

Repeat for as many keys as you like.

You can therefore grab a list of known public keys for a given person and ask a given ssh server if it knows about the given public key. Given a few days you could even scan the entire IPv4 space for servers taking a given public key. Username must match, etc of course, but it's an attack many people might not consider.

comment 9y ago · link · parent

Yes, but similarly if you have a given public key you can ask a server if it accepts that key with no need for the private key.

Basically, don't reuse keys in places where you might not want to be identified and use ssh configs to prevent announcing all keys to the world.

comment 9y ago · link · parent

I wouldn't really say this is significant in an attack sense - you need to reveal your public key to engage in many types of secure communication, SSL throws these around all day as does any private messaging app, PGP, SSH servers, etc. The entire point of a public key is that it is public, password material on the other hand is not, it's meant to be a shared key between you and the other party.

The only bad thing about the GitHub issue there is that a de-anonymization attack is possible as an SSH server will tell you if it accepts a given public key... if, say you had the same SSH key on your GitHub account and a server you wanted to keep private, this could be bad to say the least. And SSH clients offer every id_* key to every server they connect to, so if you connect to an untrustworthy server, even over an anonymity network like Tor your client may offer a key that identifies you (use your ssh config!).

comment 9y ago · link · parent

Vultr has like half the specs and different locations if I recall correctly.

comment 9y ago · link · parent

The flip side of that for me at least is that the US government is a lot more likely to be able to come after me for something I say or do than the Chinese government is. Yeah, it's brutal for Chinese citizens, but I'm on the other side of the planet in a country that's unlikely to submit me to their justice system.

Many of the laws affecting internet usage are nasty in the US too - you'll have a lot better luck torrenting, firing security scans or hosting certain leaked documents using a Chinese provider than a US one for example.

comment 9y ago · link · parent

Also $30/year for a cheap virtual server from a pretty major provider is nice. I'll probably pick one up just for some network testing purposes.

comment 9y ago · link · parent

Yeah - it's an interesting conundrum, but it's not like similar doesn't happen with US providers - it's pretty much commonplace here given taps in DCs and under-the-table agreements, "Room 641A" and all such things.

comment 9y ago · link · parent

I've been reading more into it and it seems like back in 2008 they came up with an algorithm to do this: https://blogs.oracle.com/ahl/expand-o-matic-raid-z

But it doesn't look like there's been any movement on an implementation and it seems like it's high effort and mostly home users who want this, not enterprises who might be willing to pay for.

Ah well, guess I'll stick with mdraid for now.

comment 9y ago · link · parent

And your network-running VMs have high disk IO requirements?

comment 9y ago · link · parent

You're limited then to only mirroring, you can't do RAID6 or similar on a massive array where you're only giving up 2/10 drives space but can have a 2 disk failure. Seems like a lot of wasted disks when the only thing I'm dependent on the NAS for is not losing my TV collection. Right now I know if that if I go out and buy 2 more 4 TB disk I get 8 TB more in my NAS and at the price of an only slightly increased risk of having more than 2 drives fail at once. That's probably my favorite feature of RAID6 for a home NAS.

I actually went custom because those off-the-shelf boxes are either very expensive or have weak CPUs so can't be used for video transcoding very well - it's cheaper to build it yourself, much cheaper if you already have old hardware to dedicate to the task.

comment 9y ago · link · parent

Correct me if I'm wrong, but I can't add vdevs to a RAIDZ (RAID5/6ish) system in ZFS, which are probably the most common configurations for home NAS systems.

I'd love to run ZFS, but I can't because I need to be able to add more drives as I buy them.

comment 9y ago · link · parent

Btrfs is a mess too, especially with its metadata system that you have to manually resize constantly, data-loss bugs and fsck problems. I've had nothing but problems with it and will never use it on a production system.

LVM on the other hand makes it easy to do snapshotting, RAID, volume resizing, adding more drives, etc - at the cost of some performance in some cases. For the most part, it's the best trade off available if expandability is a requirement and you can't get away with simple mdraid.

comment 9y ago · link · parent

One thing that you seemingly missed in your review of toolkits is that PyQt cannot be used freely by a proprietary application such as yours. Qt itself is LGPL, PySide (the official python Qt binding) is also LGPL, but PyQt is GPL-only unless you pay them $500.

comment 9y ago · link · parent

I'm in the same situation, my handwriting is illegibly bad, even by myself - the main reason I don't want to improve it is that I just don't use it, haven't for years, it'd be an incredible waste of time and effort. There's no motivating reason to do it except for perhaps some very abstract learning benefit - which hasn't to my knowledge even been proven out in the software engineering or computer science field, where it arguably makes the least sense.

comment 9y ago · link · parent

If you think you're going to catch every possible NIC-level modification, does tampering on the CPU really matter if there's no way to store or exfiltrate the data without being detected?

comment 9y ago · link · parent

Yeah, given Intel's support for TXT and SGX which are basically moves in the opposite direction, I highly doubt they want to lose customers over things like not being able to play some new DRM'd content from Netflix. The gain from this is probably minimal compared to the loss from something like that. While I'd definitely buy it, the market potential of it seems limited overall.

Though it's possible they could just offer it as an option on some chips to get both markets which would do the job, but given the sheer diversity of ARM and possibly RISC V SoC vendors, those might be a better starting place than x86.

comment 9y ago · link · parent

That RISC-V stuff looks pretty appealing - I'm looking the Freedom E310 now and one thing I'm sort of confused by.

Is only the architecture open, but the silicon isn't? If so, what's the point of that, is the only thing differentiating it from ARM that there's no licensing fee?

If so, are there any ARM SoC vendors making them in a way that they're relatively free from stuff like Intel ME?

comment 9y ago · link · parent

Keep an eye on projects like this: https://github.com/commaai/opendbc

comment 9y ago · link · parent

I'd say that using the land of your own country - owned by people in your country - for military purposes, while sketchy, is definitely more acceptable than taking an island from its indigenous occupants by force. The UK ownership then seems at least to be legitimate.

comment 9y ago · link · parent

I've never had a problem finding replacement parts for phones, tablets and other devices including batteries, screens, power buttons, headphones jacks, etc. All are readily available if you're willing to wait a few weeks for shipping.

Maybe a few things aren't "genuine", like finding OEM batteries is pretty tricky with some devices, but the ones you get do the job with no significant issues in my experience - just beware of the risks of faked specs and buy the cheapest rather than paying more for faked spec.

The thing about repair is it's often not economically viable, especially if you're paying for labor - for example, I could have payed someone $100 to replace the phone screen on my Nexus 5 - a brand new one on ebay goes for $170. I may as well just buy a new phone or use it as an excuse to upgrade. So in many ways, the repair shops are a bigger impedance to repairs than the parts situation in my opinion. Instead I was able to buy a replacement screen assembly directly out of China for $30 and do the replacement myself for free, it's the only way the repair made economic sense.

comment 9y ago · link · parent

I've had this issue too with npm on my build server - sometimes things just fail, maybe it's flaky network, maybe it's some package update that didn't quite go as planned, but yarn seems to solve it and works a lot faster to boot, so I'll be sticking with it for now.

comment 9y ago · link · parent

Ads I can see as they pay for content, DRM, not so much as the content has already been paid for.

comment 9y ago · link · parent

> This reasoning, IMHO, ignores the fact that the user-agent still asks for consent, so the user may choose not to allow anything they can't audit

Aaaand we're back to the days of good ol' ActiveX.

1
8910
46