HNHacker News
TopNewBestAskShowJobs

lhgaghl

45 karma · joined July 10, 2013

submissionscomments
lhgaghl··on How Jason Bourne Stores His Bitcoin
Am I missing something, or is it easier to just come up with a password that's not in a wordlist/rainbowtable than to trust (audit) this 13K lines of code HTML file?

Also, I find this laughable:

> Leave little cryptic notes around your house and office to remind you of what your passphrase is in case you ever forget.

lhgaghl··on FFmpeg and a thousand fixes
> For performance sensitive code, you sometimes need to deliberately step out of the strongholds of the compiler.

...or just add more primitives to the language.

lhgaghl··on FFmpeg and a thousand fixes
I wasn't even taking Rust into consideration. One could make a language the way I said with no problem in a small amount of time. I'm talking no novel stuff. Arrays bound checked at runtime. No attempt at code correctness even has to be offered, get rid of remote code execution vulns, and suddenly you watch HD videos without fearing for your life. It simply isn't done because nobody cares. It's not sexy enough. It's been 30 years now.
lhgaghl··on FFmpeg and a thousand fixes
A) Ada isn't sexy and unproven B) Most people who do mad algorithmz don't give a fuck if they introduce security vulns (even if they do, they don't know that other languages exist other than C), nor do they care about other languages (probably are put off by the facts that 1. other mainstream languages don't support mad algorithmz (Ada isn't mainstream) 2. if you look up any mainstream programming language you get nothing but dogma)
lhgaghl··on FFmpeg and a thousand fixes
If Java is somehow a problem, you can simply make a language without stack smashing but also without GC. Nobody has done this so far because nobody gives a shit about the fact that every program we use is full of remote code vulns and will never be fixed.
lhgaghl··on FFmpeg and a thousand fixes
"Until we can declare both projects "fuzz clean" we recommend that people refrain from using either of the two projects to process untrusted media files."

BAHAHA What a joke.

lhgaghl··on Machine that Levitates Objects Using Sound [video]
DAE just watch Dune recently?
lhgaghl··on Do Not Track California Privacy Law Changes Effective Today
Wow I didn't know the law even talks about Do-Not-Track. It's a distraction posing as a solution. The time spent talking about Do-Not-Track could be spent on useful things such as contributing to torbrowser.
lhgaghl··on Show HN: Use any text as a domain name
This is like pet names but pointless.

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

lhgaghl··on Local State Is Poison (2012)
> What, and why would you want to upgrade during a loop?

See Erlang for a trivial example.

lhgaghl··on Doge as a Service
This isn't true SaaS because the images are generated on the client side. You could add value to your service by saving the images on the server and providing URLs that people can link to. https://bayimg.com/KaegiaAFP
lhgaghl··on COBOL on Wheelchair
> I know it's a play on Cobol being old

err... just from reading the title, I assumed it was a play on cobol being disadvantaged, but being old would also imply being disadvantaged physically. metaphorically speaking it makes perfect sense on first read... You seem to be using eval() on human language

lhgaghl··on COBOL on Wheelchair
How about cobol on crutches
lhgaghl··on RSA Key Extraction via Low-Bandwidth Acoustic Cryptanalysis
> Are you only doing one thing on your computer? No.

You seem to be implying that doing multiple things on a computer means that every single side channel will be masked by noise indistinguishable from random. This is obviously false. Cryptographically secure random data doesn't just appear out of nowhere.

I'm not even concerned with the credibility of this article; side channel attacks are old news and will continue to be a threat for a long time (I'm guessing we don't even understand physics well enough yet to eliminate them completely, so there will still be new breaks all the time for the near future). Luckily, everyone is still too busy trying to remove their remote code vulnerabilities to deal with real issues like side channel attacks.

lhgaghl··on RSA Key Extraction via Low-Bandwidth Acoustic Cryptanalysis
Uhh... When people say physical access to your box, they mean someone can physically tamper with it in arbitrary ways. This is not the same as being near the box. Otherwise we would just say that all phones/laptops are insecure.
lhgaghl··on Sources: Target Investigating Data Breach
Can someone just make some data visualization of corporations getting hacked and to what extent, e.g what kind of data was leaked - private messages, health info, credit card, passwords, etc. Methods used for infiltration should be listed too. Getting tired of reading 5 articles a day on how huge site X got hacked. It would be good to just be able to look at a graph and see some peaks once in a while, click on them for detailed info about the breach. Such a site would be useful for backing up arguments.
lhgaghl··on Why I want Bitcoin to die in a fire
And here I was, having a decent day, and now I'm extremely angry.

Why I want the author to die in a fire:

> Mining BtC has a carbon footprint from hell

This is an insanely dubious ungrounded argument. How do you know fiat doesn't have a high carbon footprint too? The linked article doesn't even mention whether this is the case.

> Bitcoin's utter lack of regulation permits really hideous markets to

WHAT the fuck? Who the fuck actually believes this? You fucking sheep.

> Bitcoin mining software is now being distributed as malware

Non-argument, fuck off. This is like saying someone can kill you and take your money, or even more obvious and ironic, install malware on your computer and steal money from your fiat bank account, which happens all the time anyway.

lhgaghl··on Don't Distract New Programmers with OOP
Can't tell if you're trolling. Ignoring the fact that you don't actually need the if __name__ == "__main__" thing in Python...

    <script type="text/javascript">
        $(document).ready();
    </script>

    int main() {
        return 0; // may or may not be needed depending on version of C/C++
    }

    class Main {
        public static void main(String args) {
        }
    }
Perhaps you should try Haskell, since you seem to care so much about how to write main...

    main = print "blah"
lhgaghl··on Apple Tells Gliph to Remove App's Bitcoin Transfer Function
Meh. Was just pointing out that "unbannable by Apple" is inaccurate.
lhgaghl··on Apple Tells Gliph to Remove App's Bitcoin Transfer Function
Can they change their policy?
lhgaghl··on Apple Tells Gliph to Remove App's Bitcoin Transfer Function
They could ban by heuristic or URL.
lhgaghl··on BASH as a Modern Programming Language [ppt]
> - very weak data structures support - no typing at all, everything is a string - it does not have a complete standard - stunning amount of pitfalls in syntax and corner cases, escaping hell

Sounds like the next JS. I better create Node.sh before anyone else thinks of it so I get all the credit.

lhgaghl··on FuckIt.py - The Python Error Steamroller
Is there a Python version? If so does it beat Fuckit.py?
lhgaghl··on Obama: "I'm not allowed for security reasons to have an iPhone"
We have a predicament. Either iPhone is insecure or the US government security is insecure, or both.

Pick one.

I predict the general consensus will be something moronic like "the government needs a different type of security", so they're both secure.

lhgaghl··on List of cognitive biases
I thought I was reading a list of typical programmer thought patterns.
lhgaghl··on Obama: "I'm not allowed for security reasons to have an iPhone"
I'm not allowed for security reasons to have an iPhone

but we can fix this

with HOPE

CHANGE

lhgaghl··on Hotfile shut down
But you need a license to put JPEG files on your website. But I guess you already knew that.

https://en.wikipedia.org/wiki/JPEG#Patent_issues

lhgaghl··on Richest Bitcoin Addresses
Say public key x receives 1 BTC in block A. I'm guessing it's encoded as ripemd160(sha256(o)) -> 1 BTC -> ripemd160(sha256((x)) where o is some other public key with sufficient funds. I create a new key pair with public key y, such that ripemd160(sha256((x)) = ripemd160(sha256((y)). From now on let's call this address hash h.

In block B, I make a transaction h -> 1 BTC -> s. Where s is a securely generated public key that I own. I then sign this transaction with my forged public key, which hashes to h.

How does this not give me x's money?

lhgaghl··on Programming Language Checklist
...and brendan eich checked all the boxes
lhgaghl··on Richest Bitcoin Addresses
I'm confused, how can you break EC but not be able steal people's money?

Similarly, if you found had preimage attack for ripemd160(sha256(x)) (you can find a public key with the same hash as any other hash), how could you not steal people's money?

← PreviousPage 3 of 4Next →