HNHacker News
TopNewBestAskShowJobs

karl_gluck

325 karma · joined June 22, 2012

[ my public key: https://keybase.io/karlgluck; my proof: https://keybase.io/karlgluck/sigs/gzNpgSBv9GjAUGBD7XIGlEynRqHc1MJKlCESBgSWDjw ]

karlgluck.com

submissionscomments
karl_gluck··on Google Creates 'Dedicated Placement' in Search Results for AMP Stories
Well, here it is. This is the straw that broke the camel's back for me: I've finally been motivated to switch my browser default to Duck Duck Go.
karl_gluck··on A generalised solution to distributed consensus
If you abstract quantum-entangled particles to a communication channel with zero latency, you still have the consensus problem—you just run into the edge cases less frequently. So it would help, but consensus is still a fundamental challenge with parallel processes.
karl_gluck··on A generalised solution to distributed consensus
Is anyone else surprised at the relatively mild reaction to this result here on Hacker News? Only a couple dozen comments, and many are addressing other topics.

Can we take a second to appreciate that this result will rapidly become the first thing taught in every single distributed systems class? And if this holds as a generalization of trustful distributed consensus as a field, then she has defined its Turing Machine equivalent. And it is even remarkably easy to understand! That is wild!!

Props to the authors. Personally, this is going on the top of my “to memorize” list.

karl_gluck··on Push to Weaken U.S. Endangered Species Act Runs into Roadblocks
Conservation is tricky. One can usually make the argument that things will probably fine without <insert species> or that dumping a little more <insert environmental toxin> won't cause immediate disaster.

But have you ever played pick-up sticks? That's basically what we're doing with an environment we don't understand as well as we might want to believe. Sure, your particular possum might not be important. In all fairness, it probably isn't. But remove enough sticks, one at a time...

There's no seed bank for animal species. If they're gone, they're just gone.

karl_gluck··on On blockchains and why secure ledgers don't require proof-of-work
Security can be extremely simple and efficient when you just have to trust a third party. The author is describing Linked Timestamping [1], which has been detailed since the early 90's.

Removing the need for trust is what takes all the energy.

[1] https://en.wikipedia.org/wiki/Linked_timestamping

karl_gluck··on Indonesia's palm oil fires emitted more greenhouse gases in a day than the U.S.
You're right, I must have misread the original article while composing my response. This is what I was remembering:

"Taken together, the impact of peat fires on global warming can be more than 200 times greater than fires on other lands."

karl_gluck··on Indonesia's palm oil fires emitted more greenhouse gases in a day than the U.S.
Come on, that's incredibly disingenuous.

Of course it's not terrible to improve the atmosphere. But you're making it sound like all methods are equivalent; when there are limited resources to address the problem, they need to be allocated accordingly.

It's a similar situation to water in California -- yes, everyone should cut down on consumption. But the single-family mega-mansions using as much as 90 normal residences [1] cutting 10% of their water usage has a much bigger impact than an average residence cutting 10%.

Edited:

If a billion dollars spent in the US reduces US emissions by 5%, and US emissions and emissions from these fires are equivalent, and it costs less to incentivize Indonesian / Malaysian palm oil producers to stop burning peat forest and reduce emissions by 5%, we should be doing that instead.

[1] https://www.revealnews.org/article/the-wet-prince-of-bel-air...

Original before edit: If the US could spend a billion dollars to reduce our carbon emissions by 5%, or could spend a billion dollars paying Indonesia & Malaysia to stop setting palm oil on fire and reduce THEIR emissions, the results are not equivalent. The latter is 200x more effective. [the 200x was from a misreading of the article]

karl_gluck··on Procedural Dungeon Generation Algorithm
That's a great resource! Thanks :)
karl_gluck··on Procedural Dungeon Generation Algorithm
If anyone's interested, there is a Reddit post explaining this and an interactive demo from 2 years ago:

https://www.reddit.com/r/gamedev/comments/1dlwc4/procedural_...

http://tinykeep.com/dungen/

karl_gluck··on [dead]
Nothing to see here. It appears to just be a bug with blockchain.info that some opportunistic person decided to try to spin as news.

https://www.reddit.com/r/Bitcoin/comments/3frht4/satoshi_nak...

karl_gluck··on Ask HN: Where can I buy real software companies?
Also FYI to anyone trying this out -- this app gives you no warning or prompt before following hundreds of accounts on your behalf. I went through the FTUE and the first thing I saw was "You followed <rapidly increasing number> of Tweeter's [sic] today".
karl_gluck··on Apple now rejecting apps with Pebble Smartwatch support
I've said it before and here it is again:

Microsoft was in a position of arguably less control in the late 90's and got a huge antitrust case brought against them. Apple is somehow getting away with wildly anticompetitive behavior (more broad than just this case) and for some crazy reason we are all supporting it because "that's the way it is!"

When Microsoft was the dominant OS, imagine Windows having a blacklist of applications you can't install because they advertised compatibility with Linux or Mac apps. People would riot. But we accept exactly the same behavior from Apple like it's totally fine.

karl_gluck··on Slack was hacked
No, his reasoning probably isn't. But without putting words in his mouth, there is this quasi-religious "thou shalt not talk about cryptography" attitude among programmers like crypto is literally voodoo magic. The appeal to experience is an incredibly frustrating part of this. It's like people are willfully ignorant and forcing those of us who may not be experts but also want to have an intelligent discussion to pretend to be idiots along with them.
karl_gluck··on A Fast, Minimal Memory, Consistent Hash Algorithm [pdf]
First time I saw it, I'm glad it got reposted. This is really cool.
karl_gluck··on My Roommate, the Darknet Drug Lord
Wow, Godwin's law struck hard and fast. Was that reference really necessary?
karl_gluck··on FTC Says AT&T Has Misled Millions of Consumers with ‘Unlimited’ Data Promises
You always have the option of exempting yourself from the claim, citing this case as precedent and suing them yourself.
karl_gluck··on I Hate Puzzles: Am I Still a Programmer? (2011)
Definitively: Yes!

Everyone has their own preferences. Like you, I lose interest in puzzles after a few minutes. Whatever it is that gives some people great satisfaction out of finding that one missing piece, I didn't get it.

I can't speak to your experience, but for me, I like architecture. Finding the right way to glue pieces together is actually very interesting to me. I basically implemented reflection in C++ before I even knew that's what it's called because I thought it would be fun. I enjoy debugging and assembly optimizations.

What I found is that this speaks to the difference between a prototypical Software Engineer and Computer Scientist.

Engineers are interested in getting stuff done efficiently, and not just in CPU cycles--time for coding, training new coders, maintenance, extensibility, and how often the code will ever be run all must be taken into account. In my experience, grabbing someone else's solution via a package manager or using a 10-minute brute-force solution to a very hard problem can be the most "efficient". Just throw comments on it and avoid the puzzle so you can get something working. Of course, be sure to isolate the code so that if it ends up being a hotspot it's easy to fix later.

Computer Scientists, on the other hand, seek that efficient solution. Many of the PhD candidates I encountered were optimizing very specific cases of very hard problems (largely related to distributed computing). They enjoy spending time picking apart algorithms and understanding the problem so thoroughly that they can prove, confidently, that they have the most efficient solution to any given problem.

In the end, each broad category relies on its partner, and all programmers have to have some of both. Some of us just lean harder to one side than the other.

karl_gluck··on Introducing GIFV
That's exactly my point -- (editing clarification) that the Copyright Act does not consider this fair use.

From the article you referenced, "A key consideration is the extent to which the use is interpreted as <transformative>, as opposed to merely <derivative>."

These are not parodies, being used for education or being used for critical analysis of the subject.

karl_gluck··on Introducing GIFV
I'm surprised nobody has mentioned this yet: why is imgur allowed to use copyrighted material to promote this new feature? I'm pretty certain they didn't get permission to use those clips from Tron or Star Wars. Does the fact that they were created by a user somehow give them immunity?
karl_gluck··on Overstock.com Assembles Coders to Create a Bitcoin-Like Stock Market
The argument is actually fairly simple: behaviors that have been known to cause fraudulent or deceptive activity in the past are placed under more scrutiny or outright banned.

For example, it becomes quite easy to hide fraud when a single entity is both an investment bank and a mortgage lender.

In my layman's opinion, a lot of the problem comes from the fact that accounting is not an exact science. For a large company with many revenue, expenditure and investment streams spread over the course of a year, accountants have a lot of leeway to massage the numbers as they see fit. Until the house of cards comes crashing down ala 2008 it can be very hard to pick apart what is actually going on from the outside.

karl_gluck··on Ask HN: Big company approached our stealth startup – what to do?
That's their decision. You don't have to make it easy for them--especially if they are going to be your competitors.

For a motivated big company, cold hard cash isn't as hard to come by as you might think.

As for now, the only thing I can do is echo how absolutely crucial it is for you to have a knowledgable lawyer on your side RIGHT NOW. Get several on the phone today, and make a decision as soon as you can. If you're in the Dallas/Fort Worth area, I can make a recommendation but please, please do this.

karl_gluck··on Apple takes down another indie dev
It's what we "agree" to.

As in, we have no other choice. They could write a clause that said your third child must be named Macintosh and everyone would "agree" to it because there is no other option.

That does not mean it's right.

Consider this: It's the late 1990's and the Terms of Service for Microsoft Windows contains "10.4 Apps that create alternate web browser environments are not allowed".

Microsoft has its pants sued off in court and is almost forced to break up as a company.

I'd argue that Apple has far, far more control that Microsoft ever did, but face no similar consequences for any of their anticompetitive behavior.

That's what upsets me about this.

karl_gluck··on AnandTech Publisher Anand Shimpi Headed to Apple
Besides the fact that his public goodwill and expertise is valuable, Anand has been behind the scenes at many of Apple's competitors.

His extensive knowledge of the competition's 4-year product timeline is well worth whatever extraordinary concessions Apple must have made for him.

karl_gluck··on Stellar
For what it's worth, I signed up and connected Facebook and got 0 STR. Something broke, but now they have all my FB data so that's fun.

It's funny to me that even though I doubt Stellar will be more than a flash in the pan (due to the reasons you mention and what they imply) I'm still willing to give up privacy for the shot that 5000 STR might buy me a sandwich one day.

karl_gluck··on Show HN: Pastor generates and stores passwords without storing any passwords
Solving these issues was a fun challenge when I built a project similar to this a few years ago. It's one of the few things I've built that I use every single day.

My project, Cryptasia (www.cryptasia.com), uses a Google Spreadsheet as a data-source where each line defines a single set of generation parameters: the allowed character set, number of characters, domain name, hash seed, and name of the key. When you pick a service (e.g. gmail) and enter your passphrase, it creates a password for you using that unique combination. It also hashes the passphrase and displays an image based on what you typed, so if you recognize your image, you know you typed it properly. Some advantages of using a data-source like this are that it can be entirely client-hosted (the google doc need not be public) and you can regenerate your password for a site at any time just by changing the seed.

One interesting difference in OP's implementation is the use of a PIN as well as a passphrase. What led to this implementation?

karl_gluck··on Making of Aprilzero
This is really amazing; on the desktop, the site looks fantastic and it is very interesting to browse. I learned way more about his travel history than probably necessary due to sheer interest.

That said, it is completely unusable on the phone. Not just 'it looks weird' but completely broken. I can't navigate anything or even read the article linked here. -Firefox on Nexus 5

karl_gluck··on Shamir's Secret Sharing Scheme (2005)
I've written a short, simple web implementation if you're interested in the math behind this:

http://karlgluck.github.io/ThresholdJS/

karl_gluck··on Bulletproof Coffee
Or, you can make an actual simple Soylent alternative and do what I do:

- 8 oz Silk unsweetened original coconut milk

- 2 scoops (servings) of powdered Slimfast

- 1 Nature's Way Alive! Women's Multivitamin

- 8-10g (about 1 tbsp) of Potassium Gluconate*

Add protein at another meal and some omega-3 capsules and you're set. I hate to reduce my extensive research down to such a simple formula, but that's what I've done for a while now and it works great.

karl_gluck··on Show HN: I implemented gmaxwell's "solvency proof scheme"
It is important to know that this scheme is NOT foolproof without further evidence.

If one or more depositors are collaborating with the exchange owner, the owner can simply not include their balance in the "proof", but make an agreement that they would be paid first from the exchange's pool.

The exchange can still be insolvent without proof of all of the total deposits made in all accounts at the exchange. If depositors collaborate to hide their balance, this is very difficult.

karl_gluck··on Show HN: I implemented gmaxwell's "solvency proof scheme"
Others mention that it will be visible to other users, but I can be more clear in what that means:

At first glance, it seems you could use a negative-balance user to hide fractional reserve.

Say the sum of all deposits is 2000. You only have 1000 BTC that you can sign on the exchange. If you were to generate a proof tree for that 2000 and add a branch with -1000 BTC balance at the top of the tree, everyone on the other branch would have to be provided that balance in their chain in order to get to the 1000-valued root. Any of them could clearly see that the balance was being manipulated.

So that won't work. If you move the negative-balance hash down the tree, it is still visible to any user who intersects the branch on the way up.

← PreviousPage 2 of 4Next →