HNHacker News
TopNewBestAskShowJobs

chainsaw10

100 karma · joined February 28, 2015

So I'm currently a computer science student at UMBC. I'm interested in programming, security, and linux.

Email: z1_hackernews+5ef0ae@zackorndorff.com

Website: https://zackorndorff.com/

GPG key fingerprint: 8BCF 4423 CBAF 7F6C 60E3 BBA0 3238 40E9 FC31 AFAA

[ my public key: https://keybase.io/chainsaw10; my proof: https://keybase.io/chainsaw10/sigs/EQuFDdPOk_VsdnKb7oGlp6eYO6t0uwKUiKKg6hnXq-4 ]

submissionscomments
chainsaw10··on Solitaire Alone Together
If you click Start > Shut Down and click OK, it’ll say “it is now safe to close this tab”, which I thought was a nice touch.
chainsaw10··on CS336: Language Modeling from Scratch
I’m intrigued by this course. However I’m also curious about its prerequisite:

> Machine Learning (e.g. CS221, CS229, CS230, CS124, CS224N) You should be comfortable with the basics of machine learning and deep learning.

Anyone have a good implementation-heavy self-study resource for those topics, or experience with the recorded lectures for those Stanford courses?

chainsaw10··on Blocking high-risk non-secure downloads
From my reading, it looks they're considering this for only non HTTPS downloads initiated from an HTTPS page

Relevant quotes:

> ... we will likely start by treating certain high-risk downloads initiated from secure contexts as active mixed content and block them.

> We're not planning to focus on non-secure downloads initiated from non-secure contexts at the moment, because users at least see the "Not Secure" omnibox badge on those pages.

chainsaw10··on Facebook Is Giving Advertisers Access To Your Shadow Contact Information
If someone does that with one of my (custom domain) addresses, it won’t work, here’s what I implemented: https://zackorndorff.com/2015/03/10/disposable-email-address...

(To save you a click, they look like aa_COMPANY+SHORTHASH@mydomain.com, with shorthash being based on COMPANY and a secret)

Downside is the address ends up absurdly long, and I’ve had to manually create some aliases for companies that won’t accept the plus.

I don’t recommend this setup, it’s kind of a pain to maintain, but I wish one of the mainstream providers would implement something similar.

chainsaw10··on How I use Wireshark
Locally-installed root CAs are allowed by HSTS, so if you added the HTTPS proxy to the root store, this would work without warning, unless you manually checked the certificate.

Of course, this only works on machines you're the admin of, which is why it's allowed.

chainsaw10··on Digital Vigilantes Who Hack Back
So what happens if a hacker hacks company A and uses their server as a jump box to hack company B? Is company B allowed to hack A since their machine was used in an attack?

Or even worse, what if company B is mistaken as to who attacked them? If they "hack back" as advocated, but against the wrong target, are they liable?

chainsaw10··on Chrome 68 will mark all HTTP sites as “not secure”
> log in with some criteria more than just a username/password

The problem there is that captive portals don't add any extra link-layer security. The network is open, so literally anyone can sniff packets.

It's uncommon, but a network using WPA2-Enterprise and user/pass uses different keys for each person (not sure if per device or per user), so you don't have to trust everyone in the room.

chainsaw10··on The growing body of evidence that digital distraction is damaging our minds
Very well said.

To directly answer GP's question:

I took a differential equations class last semester, where the easy part of quite a few problems was to solve a quadratic equation. And it was easy, because my algebra classes had correctly required me to practice that skill (and memorize the quadratic formula).

So, you say, I'm never going to take differential equations. And you very well might not. I have two responses to that:

1) That's true, you might not, but the guy sitting next to you will, and he doesn't even know it yet. If you were allowed to opt out of that subject, you both would, and he wouldn't even have a chance to make up for it later.

2) There are plenty of other subjects where the easy part is an algebra concept, and it's only easy because you practiced it years before.

chainsaw10··on Reading privileged memory with a side-channel
> computer security Nobel prize

While they're not as big of a deal AFAIK, we do have the Pwnie Awards: https://pwnies.com/

chainsaw10··on Ask HN: What do you love/hate about terminals? Would you change them?
You can do something similar with bash. If you set PROMPT_COMMAND='history -a', it'll append to the history file right after the command completes (because the prompt command is run as the prompt is printed).
chainsaw10··on Avast open-sources its machine-code decompiler
radare2 is a disassembler, not a decompiler.

Disassembly is a much easier task than decompilation, since it's a mostly mechanical process. Decompilation requires you to undo the optimizations/transformations the compiler did as it generated the binary, which is much harder.

That said radare2 is still cool, and a GUI (Cutter) is in the works.

chainsaw10··on Oracle VM VirtualBox 5.2 Is Now Available
Have you gotten Windows to work well as a guest?

I could never get it to work as well as it does with VirtualBox.

chainsaw10··on Microsoft Edge for iOS and Android: What developers need to know
Ah, okay, that makes more sense.

I guess maybe it was to enable touch on some websites?

chainsaw10··on Microsoft Edge for iOS and Android: What developers need to know
I'm curious as to what good reason there is to have the Android user-agent string contain "Mobile Safari"...

The rest of it looks like fairly standard user-agent string antics.

chainsaw10··on “this code very fast” pull request to remove whitespace from linux kernel
It doesn't compile though -- I hope.

I'm pretty sure C keywords require a space on either side...

chainsaw10··on What's the deal with Ctrl+Left and Ctrl+Right?
Also, somewhere in GNOME settings, there's a setting to enable "emacs mode", which lets you use ^a, ^e, ^k, ^y in normal textboxes.
chainsaw10··on Tiny Linux distro that runs the entire OS as Docker containers
> Which would work if licenses and copyrights didn't exist.

I don't think it would.

Dynamic linking allows a library to be patched once and have the patch apply to all the programs using it. If every program was statically linked, you would have to update each one individually.

Not to mention the waste of space.

I'm guessing much of that is moot these days, but IMHO it's still something to aim for.

chainsaw10··on Tavis Ormandy finds another major hole in Lastpass
I feel like just having a browser extension is a major security hole for any password manager. Yes it's more usable and prevents domain spoofing, but it makes the attack surface huge.

Whereas to exploit a desktop app that doesn't interface with the browser (written in a decent way), you'd need code execution already.

Thoughts?

chainsaw10··on Linus on Git and SHA-1
> reversing commit hashes back into their contents

Somewhat off topic, but is this actually possible?

Given hashing is inherently lossy, I'm inclined to assume it's not possible for anything must longer than a password, but commits are text, which I suppose is low entropy per character, so I don't know.

chainsaw10··on When “Dumb Pipes” Get Too Smart
> The bug is in bad js authored by CF

No, the bug is definitely in the browser. Web code is untrusted and should not be able to adversely affect the browser.

chainsaw10··on Messaging Is the One Thing People Do More Than Anything Else on Their Phone
> Why not standardize?

You can't. These apps don't federate, and not everyone uses all of them.

As I wrote this comment, I realized I use more apps than I thought.

I use SMS for some folks, Messenger for others, and Slack, Hangouts, and GroupMe for specific groups.

If I'm in a 5+ person group chat, I can't really ask everyone to move to something else. And I want to hear what's going on, so I keep the app around.

chainsaw10··on Vim for Humans
I'm curious: what do you use to enter insert mode then?
chainsaw10··on Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line
Some recent distros will actually let you run that as yourself, without root, if you're physically present at the machine. It's convenient for personal machines.
chainsaw10··on We ditched Google Analytics
IIRC that meta tag is also used for verification for Google Webmaster Tools
chainsaw10··on Sideloading f.lux on iOS with Xcode 7
I don't suppose there's a way to do this from a non-OS X platform, is there?

I'd assume no, but I'm wondering if anyone's found a way.

chainsaw10··on Apple’s approach to privacy
> to explicitly lie about it.

Maybe I'm dense or naive, but I don't think there's any precedent for that. A gag order is one thing (and there are certainly places for it), but forcing someone to lie would hopefully violate the First Amendment.

chainsaw10··on ASK HN: Why are so many IP's text based?
I think he's abbreviating "internet protocols" to "IPs".

He's asking why we have human-readable/text based protocols vs a binary protocol.

chainsaw10··on Tell HN: Clickable domains and other new features for story quality
My feelings are mixed on this.

On FB, I'm usually glad that links open in a new tab (well, I middle click them anyway, but sometimes I forget) because if they didn't, I'd have the huge problem of trying to infinite scroll my way back to where I was.

On just some random business website, OTOH, I usually take it to mean the business owner (or developer) thought their site was so important, it should make me keep it open while I go to another link.

I usually middle-click on HN anyway, but I feel like it's sort of nicer in a way, to be in control of that. Maybe HN feels like more of a page than an application to me because it doesn't use infinite scroll / a ton of custom Javascript behavior?

I'm inclined to agree that web _applications_ should open external links in a new tab, but I'm not sure it's best for HN.

chainsaw10··on Jailbreaking not a requirement for infecting iPhones with Hacking Team spyware
So, apparently they created an app with an enterprise certificate that has a transparent icon in the newsstand app.

The enterprise certificate (now revoked) bypasses the App Store review, as is well understood.

However, the app still needs permissions. It asks for permissions. So, if I'm reading correctly, it would require physical access to activate.

Not quite as scary as the title would show. I'd say "install" rather than "infect" because there seemingly, unless I missed something (which it's possible I did) there's no actual exploit involved.

If you let someone else run software on your device, and allow them to grant permissions, then obviously they can steal your data. The only reasons that make this notable are the enterprise certificate and transparent icon. (And of course the source)

So read the article, but the title is a tad misleading.

EDIT: Thinking about it some more, I should point out that the article is fairly well written. Also, we consider computer spyware that doesn't use an exploit an "infection", so I guess it's valid, but still misleading. Great and informative article though.

chainsaw10··on We Can’t Let John Deere Destroy the Idea of Ownership
I am not a lawyer, so I'm probably wrong on some of the finer points here, but I'm going to postulate an analogy here.

Why can't we equate the software inside a computer inside a vehicle with the mechanical equivalent? What then would our rights be?

It obviously doesn't require permission to move a valve or a gear around. Therefore, it shouldn't require permission to move a few bits.

It also doesn't require permission to draw a diagram of your changes and tell your neighbor what you did.

On the further extreme, one could potentially draw a diagram of the entire vehicle. At some point you're copying the entire idea, and the lawyers can fill in how this is protected. In this analogy, the computer code replacing it should then be protected the same way?

Page 1 of 2Next →