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

I would not suggest this as KeePassXC does not support the new KDBX4 format with the upgraded cryptography - only the old Keepass format which relies on a custom AES-based key derivation function, which I cannot in good faith recommend.

Once it's implemented I may reconsider, but for now at least, I'd shy away from it.

https://github.com/keepassxreboot/keepassxc/issues/148

comment 9y ago · link · parent

I use the open source Keepass2Android which is open source and supports the new crypto, has just about every utility I could want.

https://keepass2android.codeplex.com/

comment 9y ago · link · parent

Agreed - I was tolerant for quite a while as the vulnerabilities seemed obscure and the handling seemed good, but they kept cropping up in more and more obvious ways. When KeePass got a crypto upgrade recently I jumped ship. I loved LastPass for the sync, but SyncThing to my phone has made it all too easy to get away without it.

comment 9y ago · link · parent

KeePass recently got an Argon2 KDF and ChaCha20 as a cipher. I highly recommend it, good mobile apps, pretty simple UI, control over your own DB, sync it with your favourite tool, I use SyncThing as its Android support is excellent.

comment 9y ago · link · parent

Have a link to your more advanced Git courses? I feel like I've got a solid grasp on the basics, but could use some help with more advanced features, when I get into hairier reverts, rebases and merges things can get confusing.

comment 9y ago · link · parent

What don't you buy about it? If a tax preparer doesn't give me the return I'm expecting, you can bet I'm going somewhere else or using different software the next year.

And of course the government wants to maximize revenue - if they were given control over this they could easily do small UI tweaks that may result in significant increases in revenue.

comment 9y ago · link · parent

At least in the software case it pretty much is that easy.

It's incredibly straight forward, no special user interface or IO, just basic UI and basic math, just a bit on the tedious side to get all the forms together and up to date.

comment 9y ago · link · parent

Why not just use free tax prep software which doesn't need to be government funded and cost taxpayers.

Maybe the US is different but in Canada at least this is well supported - even endorsed by government.

comment 9y ago · link · parent

> Because of the complexity of tax regulations, I don't think a free/open-source/nonprofit tax preparation system is the right answer to this problem.

Maybe our taxes are simpler, but in Canada we have many free tools even endorsed by the government for tax preparation and they're quite popular.

Some of them are even offered by Intuit and H&R Block in order to keep people using their software.

comment 9y ago · link · parent

Sounds like a good idea - one of the main ways I learned programming... and still wind up doing all the time is to just copy examples and hack them into shape, understanding what's necessary, what's not and how they'll respond to different parameters via experimentation.

comment 9y ago · link · parent

It likely would prevent the vast majority of bugs that are actively exploited in security breaches.

Sure, bad logic bugs happen of course, but more often than not they result in bugs relating only to their own area and often somewhat limited in scope. They're also usually a fairly significant mistake that's often times easier to see - not necessarily all the time, but I'm probably more likely to catch a logic bug in a code review than I am a memory issue beyond a missing free.

Memory bugs however are much nastier - even a minor mistake can result in a complete takeover of the system as manipulation of the instruction pointer basically means game over and there are many ways to get that with only a little memory manipulation - blow out the stack until you overwrite the return address, overwrite vtables on the heap, overwrite function pointers, etc. Even a minor off-by-one can result in total exploitation in some scenarios.

comment 9y ago · link · parent

Closest thing I can think of is this mostly silly poster: http://rebuildingcivilization.com/sites/default/files/travel...

comment 9y ago · link · parent

Yeah, I haven't played many Zelda games in the past because they seemed fairly reflex and puzzle based rather than strategy and combat tactics. "Playing well" in those games often amounts not to thinking but to just muscle memory which I don't care for much. The puzzles I can appreciate but I have a limit. I did like Twilight Princess... maybe just something about the mood if it though.

comment 9y ago · link · parent

> As you can pretty much do everything off the bat, there's no "oh a boulder, can't move it, better come back later" element to the game. (This is my biggest gripe I think, a big part of the Zelda games was doing a dungeon and getting a gimmick to unlock new places).

I was actually considering getting it, but you might have just changed my mind. I like an open world, but the reward of progression is often a key to enjoyment for me in many cases. Do they make up for this in any other ways (ie: unbeatable monsters until you're high enough level/have better gear or something)?

comment 9y ago · link · parent

GitHost seems incredibly expensive. For $150/mo for their most basic plan I could easily rent a basic dedicated server or VPS from for $10-40/mo. In my experience this takes about a 1 day investment up front then 1 hour/mo (basically just update the box or replace a failing drive once in a while) to maintain indefinitely if you keep it behind LAN/VPN. It's a fairly small time investment with a big reward for security, privacy and stability in my experience. Then you have control of backups too, which seems like a pretty good thing to me given the recent GitLab fiasco.

comment 9y ago · link · parent

It's a LISP dialect. Brackets are essential to tell the difference between arguments and function calls... take for example in C: foo(bar(1)) would in lisp be (foo (bar 1)).

If it were to just be "foo bar 1", you couldn't tell the difference between (C style again for clarity): foo(bar(1)) and foo(bar, 1).

Some newer functional languages have a composition operator which allows you to write this without the brackets, but the brackets still are easier to follow in many cases.

comment 9y ago · link · parent

Out of curiosity, why did you move from self-hosted to gitlab.com? I run self-hosted and I've been quite happy with it.

Cloud anything just seems like begging for this kind of problem.

comment 9y ago · link · parent

In this case it's just behind a use flag, but regardless it seems to me like this could be fixed with a relatively simple wrapping library.

SDL for example supports outputting to OSS, ALSA, PulseAudio, ESD and with a patch, JACK. What you want to output to can be easily configured at runtime. You as a developer write the least code possible and only have to do the job once, your users get the benefit of picking any output system they please.

I believe Gstreamer offers a similar system too which Mozilla already uses for video decoding on Linux.

Additionally the same code can be used across other platforms entirely, not just Linux.

comment 9y ago · link · parent

I think a lot of people, myself included will just straight up lie, use bullshit accounts, give bullshit zip codes, etc. It's often times easier, gets less looks and gets the job done in a straight up utilitarian sense.

comment 9y ago · link · parent

> When I get asked for my phone number, zip code, email address's etc... At checkout in stores, I give a polite "no thank you". Which usually results in a huff and/or an eye roll from the cashier, as if I'm expected to give this info for the privilege of shopping there.

For the most part I don't even get the huff and eye roll anymore, they just hit cancel, input the store's postal code or something else and move on.

Though I once had a cashier insist I give her my postal code after giving the polite no, she gave me some "I need it... for the system" or something. When I started giving an obviously fake one, I got the huff and eye roll. I wonder how many people would have caved. Hopefully just a new cashier who didn't know the appropriate thing to do in the case that I didn't want to provide details.

comment 9y ago · link · parent

Yeah... it's sort of a lose-lose honestly, I think the model used in Canada and the UK is quite good - the government forced the big ISPs to lease last-mile lines. Keeps a working free market with competition, many people started switching to smaller ISPs with lower rates and unlimited bandwidth caps, a few years later the big guys increased their speeds, increased their caps and made it relatively cheap to go to unlimited.

It fixes more than just the net neutrality problem, it also fixes the lack of infrastructure improvement by making big ISPs have a monopoly on last mile improvements for the first year or two - they're greatly incentivized to keep improving infrastructure and speeds or lose customers to the smaller guys who can run leaner. It's a pretty clever regulatory model that manipulates incentives quite well.

I'm sure there are flaws, regulatory models are rarely perfect, but from what I've seen over the last 10 years going from 5mbit DSL to gigabit fibre for only about 1.5x the cost, I'd say it's doing a pretty good job, without any net neutrality enforcement or any complicated legislation - just by giving the regulatory authority the ability to compel ISPs to lease lines.

comment 9y ago · link · parent

I must hang around too many libertarians, most of the pro-gun people I know are also very much pro-choice and will even discuss total open border policies at times.

comment 9y ago · link · parent

Yeah, what's exactly what I was saying. He's using existing high quality algorithm implementations and integrating them into his new tool. The only custom part is how exactly he uses them in his code.

While it's totally possible to screw that up, it's also not really the majorly discouraged part.

comment 9y ago · link · parent

> The program that uses the inotify system call has to keep a mapping of file descriptors to paths

If it doesn't care what file is modified and just wants to run a command on any change, why would it need to do this?

comment 9y ago · link · parent

> I couldn’t find anything that fit the bill, so I did exactly what you’re not supposed to do and rolled my own: Enchive.

Someone correct me if I'm wrong, but I think the main thing you're "not supposed to do" is create or implement your own primitives.

If you have a decent understanding of the software engineering and cryptographic implications around them - especially if you're using a high level library like libsodium, implementing high quality algorithms into your own applications is fairly well supported.

Of course, before anyone puts much faith in it they probably want some reputation at stake at the very least, but the primitives you've gone with are some of the hardest to screw up with the least weird side effects around.

comment 9y ago · link · parent

The catch with the Kindle and why I would suggest the Kobo over it is that Amazon has tried and in the most recent firmwares has succeeded at blocking modifications.

The Kobo has no such protections, it's fully your own device and you can mod it as you see fit. Additionally, the whole OS is on an internal SD card and if you fuck everything up you can crack it open and reimage your SD card. Perfect tool for modders.

comment 9y ago · link · parent

Someone else already commented on it, see that thread. It's trivially bypassed using current tools.

comment 9y ago · link · parent

Depends on your country, in Canada at least they're stocked by our largest chain bookstore. They're quite readily available online just about anywhere though.

comment 9y ago · link · parent

From what I've seen, there are no actual cases of this in practice at least not on Google devices - Google devices don't even have such a fuse. Maybe some Samsung stuff - but that's an easy fix, don't buy from Samsung. Also, it does not fail SafetyNet even on those Samsung devices, just some Samsung-specific stuff.

From what I've seen the only mention of such fuses on Google devices is one that enables secure boot from factory and forces you to run the unlock command as I mentioned to reflash your bootloader - nothing to do with safetynet or anything similar.

Let me know if I'm missing a device which does actually do this. Yes, it's theoretically possible, but requires sufficient crypto hardware and protection to make it significant and it'd be a significant shift in direction for Google to go this route currently in my opinion.

Of course a full safetynet emulation that would spoof the check as a different device would also be an option... but it'd be a pretty big undertaking, but one which I'm sure would happen if this ever became a remotely significant threat.

comment 9y ago · link · parent

Sorry, but "froze and messed with all partitions" makes it sound more like you fucked up and flashed the wrong rom or something - flashing an update should never mess with all partitions - only /system and /data really.
1
242526
46