HNHacker News
TopNewBestAskShowJobs

Bognar

883 karma · joined April 10, 2013

submissionscomments
Bognar··on High Quality Video Encoding at Scale
The simulated 60 FPS (or higher) are significantly worse than just 60 FPS source material. TVs attempt to interpolate between the frames automatically and it just screws everything up.
Bognar··on Dwarf Fortress 0.42.01 released
It's light on graphics, but not on processing power. There's an immense amount of calculation and simulation going on.
Bognar··on Writing code doesn't mix well with oration
I agree with you, but I'm probably biased because I've used live coding in one of my talks. However, the intent of coding live was similar to the talk you mentioned - it was to show people that what I was trying to accomplish isn't as hard as people think it is. In fact, it's easy enough that I can do it in an hour while explaining out loud what's happening.
Bognar··on Firefox for iOS now available
So, you don't trust the JS served by Mozilla but you would trust their browser? That doesn't make much sense. Firefox could be sending all of your personal data straight to Mozilla, we just tend to trust that they don't (and can verify that they don't since the source is available).
Bognar··on OAuth Has Ruined Everything
Cookies and fingerprinting tell me that the same browser is coming back to my website, but I don't care about the browser I care about the user. As a user if I go to a website on my work machine, my home machine, and my phone then I'd like my data to be available on each.

I don't have strong opinions on OAuth or any other federated identity solution, I just think it's a specious claim to say that just because a system doesn't care about who a user is then that system doesn't care about the uniqueness of that user.

Bognar··on OAuth Has Ruined Everything
> But if you don't care who your customers are, why are you asking them to log in?

I may not care who they are, but I do care how their identity maps to information in my system. Simple functionality such as favorites or saved preferences doesn't require any information about the user, other than them being able to identify themselves as someone who has previously used the site.

Bognar··on The “high-level CPU” challenge (2008)
I don't think a GPU is significantly faster than a CPU, it's just highly parallelized. Many FPGAs are similar, but it's hard to generalize that space. FPGAs and ASICs are also usually designed with a specific task in mind and are not suitable for general computing.
Bognar··on CBCrypt: Encrypt from the client rather than send passwords to servers
> ECDH by itself just gives an /unauthenticated/ session key, and from a 30-second look at the code, CBCrypt appears to be trivially vulnerable to a replay attack in which a malicious server A convinces a standard client to give it a valid authenticator for a session to a different server B.

From looking at their tests and the PowerPoint file in their repo, they mention confirming that the hostname provided by the server in the challenge matches the SSL Certificate. Asking as someone who knows very little about crypto, under the assumption that they validate the hostname and are using TLS would it still be vulnerable to a replay attack?

Bognar··on CBCrypt: Encrypt from the client rather than send passwords to servers
> The description leads off talking about the grave privacy implications of storing scrypt password hashes. But then it stores what is in effect an scrypt password hash on the server.

I don't think it's saying that storing the hash is bad, it's saying that sending an unmodified password to be hashed on the server is bad since that server now has your cleartext password.

Bognar··on Image diffing using CSS
This is the same general method as I used to quickly solve "spot-the-difference" games as a child. Just cross your eyes until the images match and let your brain pick out the disparities.
Bognar··on Shoelace knots
I use this knot once every few years - when I get new shoes or new laces. This knot is so amazingly strong that I only ever tie it once, then I just slip my shoes on and off.
Bognar··on “I have already used the name for my programming language” (2009)
What? Apple Music was announced in June 2015, the Swift language has had its name since at least June 2014.
Bognar··on Tagged Pointer Strings
It's likely that the CPU overhead is lower than a cache miss.
Bognar··on Final Steps
I've still yet to find a "basic" description, but their whitepaper is actually quite useful in describing what it is and possible uses:

https://github.com/ethereum/wiki/wiki/White-Paper

Bognar··on Show HN: Rubik's Cube
I highly recommend any cube from Dayan, but this is my favorite:

http://www.amazon.com/dp/B008U6V50U

It's smooth as butter, and there are no stickers to cheat with.

Bognar··on Project Fi Review: Cell Service from Google
If I am on a call, it's seamless - no issues there. However, it doesn't seem to work for data in general.

I commonly try to get Google Maps directions as I leave the house, and often it just fails since it's still trying to use my WiFi which is too far away to be useful.

Bognar··on Project Fi Review: Cell Service from Google
Unfortunately, no. I have Project Fi and this is still an issue. They may only have this feature when actually on a call, since I imagine it uses a lot of power to constantly poll for the power of networks. I can still hope that they'll fix it though.
Bognar··on They Took Our Myths
This isn't relevant to the main point of the article, but the paragraph about the power of mythology reminded me of Frank Herbert's Dune. The book does an excellent job of dropping you into a new universe starting with the very first pages. Herbert relentlessly uses new terminology from that universe without explanation, but you gradually learn what the words mean through context. For me this is an immense aid to immersion since you are surrounded by the new universe, similar to learning a new language by living in the country that speaks it.

If you haven't read Dune, go pick it up. It's a great piece of science fiction with a mythical element like the article describes.

Bognar··on Vim's speed is not really the point (2013)
> An IDE is built to understand code constructs and concepts like the context-sensitive selection I mentioned above. Being able to move a java file and have it update all my imports and packages. Being able to auto import when I start typing a class name. Code templates (eg type "iter" or "itar" in IntelliJ then hit tab when you want to write a loop).

You can have the best of both worlds. For example, I use Visual Studio with the VsVim plugin. Visual Studio is my IDE, but vim is my editor.

Bognar··on Altering Course: Why the US may be on the cusp of an energy revolution
It looks like we killed it. Here's a text-only cache/mirror from Google:

http://webcache.googleusercontent.com/search?q=cache:SmNdAIe...

Bognar··on Once you go functional, you can never go back
Also, for C# IEnumerables, .Select() is map and .Aggregate() is reduce.
Bognar··on Console.mihai();
It's there on Nightly:

    console.mihai()
    > "http://incompleteness.me/blog/2015/02/09/console-dot-mihai/"
Bognar··on Microsoft .NET CoreCLR is now running on FreeBSD 10.1 (amd64)
Just because someone doesn't understand it doesn't mean it's magic.
Bognar··on Turning Japanese: Coping with stasis
This site has this line in bookstrap.css:

  /* Use responsive pixels */
  font-size: 1px;
Since Firefox uses the font size to determine scroll distance, this page scrolls really slowly in FF.
Bognar··on Lisp in 3 words
> Conditions, loops, function definitions, types, and so on, can be expressions (depending on the language, they may be fundamentally so), but having them look different, that reduces the interpretive burden, I think.

I think this is a very important point. Since everything is the same in Lisp, it's nearly impossible to have an idea of what the program is doing "at a glance". In (sane) syntax heavy languages, you can glean a significant amount of information in a short period of time just by scanning the syntax without reading the code.

This is less of an issue when writing a program, and more of an issue when maintaining one.

Bognar··on Sass Guidelines
Seconding this. Leading zeros are important for decimals because it is extremely easy to miss a single dot. This is less of an issue in the world of fixed width fonts, but I don't really think that's a valid excuse to buck the trend of every other engineering field.
Bognar··on Real-World JavaScript Anti-Patterns
It gets even weirder:

    parseInt('10', {test: 'test'})
    10

    parseInt('10', 'test')
    10

    parseInt('10', '2')
    2
Bognar··on Fast immutable vectors in C#
Set is the corollary to SetItem on ImmutableList<T>, not Insert.
Bognar··on Fast immutable vectors in C#
Comparisons with ImmutableList<T> from Microsoft aren't necessarily valid, since ImmutableList<T> supports insertion and removal at arbitrary points. The implementation in the article is optimized for adding at the end.
Bognar··on Show HN: StackShare – discover and discuss software stacks
Doesn't work in Nightly on Windows 8 either.
← PreviousPage 4 of 5Next →