HNHacker News
TopNewBestAskShowJobs

cobbal

1,143 karma · joined April 8, 2010

submissionscomments
cobbal··on Function Space
There's also a ceiling around the integral (⌈...⌉), so it evaluates to 2013
cobbal··on Shell script Mac Apps
I have a small script named `pman'

  #!/bin/bash
  man -t $@ | ps2pdf - | open -fa Preview
it opens a man page formatted as a PDF in Preview
cobbal··on Vim clutch
Another benefit of hosting something like this on GitHub is you get instant scaling in case you hit the front page of HN (or similar sites) and suddenly get thousands more visitors than some blog software can handle.
cobbal··on Why you should never use hash functions for message authentication
I think the title is fairly accurate if you read it as "never use a hash when you need a MAC". MACs have nice provable security properties that you get for free, so you don't get surprises like extension attacks.
cobbal··on The Critical Security Flaws that Resulted in Last Friday's Hack
I'm not sure of the details here, but it wouldn't be too hard to make sure the reset call arrived in the middle of another call.
cobbal··on The UTF-8-Everywhere Manifesto
Unfortunately, this isn't entirely true.

  - (unichar)characterAtIndex:(NSUInteger)index
will return the UTF-16 "characters" (codepoints or half-codepoints)
cobbal··on Notch's Specification for the In-Game DCPU-16
I've never written an LLVM backend, but one difficulty that immediately jumps out at me is the 16-bit architecture.

LLVM specifies types with bitwidths and 32 is most commonly used, meaning a backend would have to either emulate 32 bits, forbid the frontends from generating 32 bits, or silently cast them all down to 16 bits.

cobbal··on Poll: What are your prime hacking hours?
I'm not sure about you, but I also find 1:00 PM to be a great hour for hacking.
cobbal··on Fixing the Python subprocess interface
It states that the lines

  curl("http://duckduckgo.com/", "-o page.html", "--silent")
  curl("http://duckduckgo.com/", "-o", "page.html", "--silent")
are equivalent. This worries me, I would much rather always have it be one argument corresponding to exactly one shell argument. Here it looks like in some (maybe all?) cases arguments are split on spaces, which means always having to be extremely cautious about escaping, something a good abstraction shouldn't force you to deal with.
cobbal··on The Moore's Law free lunch is over. Now welcome to the hardware jungle.
Indeed, and Wolfram Alpha is more than happy to plot it for you: http://www.wolframalpha.com/input/?i=moores%20law
cobbal··on Reddit to go dark on Jan 18 to protest SOPA
My mistake, with all the spotlight going to the DNS side of SOPA I had forgotten it also included requirements about payments.
cobbal··on Reddit to go dark on Jan 18 to protest SOPA
True, but the direct legal action wouldn't threaten Google and other businesses much (Google does run DNS servers, but it's not their main gig) so moving outside the country would accomplish very little from a technical standpoint.
cobbal··on Reddit to go dark on Jan 18 to protest SOPA
SOPA is actually aimed at foreign sites; this is the motivation behind SOPA blocking at the DNS level instead of going after the companies.
cobbal··on Golden Ratio for Readable Web Typography
That's a really interesting video; I asked about this on math.stackexchange, and it already has one response about why φ is optimal for your color spacing.

http://math.stackexchange.com/q/93623/37

cobbal··on Programming Languages Suck at UX
m4 uses nested quotes in the form of `a `b' c', but it can get pretty confusing if you're not used to it.
cobbal··on The power of Google: how the Panda update hit Experts Exchange
If you're going from an HTTPS site to a HTTP site, then your browser doesn't send a referer header, so they can't really know you came from google.
cobbal··on In defence of Objective-C
Objective-C actually allows you to choose which string class you use as well using the compiler flag "-fconstant-string-class=class-name"

http://gcc.gnu.org/onlinedocs/gcc/Constant-string-objects.ht...

cobbal··on Skype bug gives attackers root access to Mac OS X
The headline says root access, but I didn't see any references to it in the article or its link. Does anyone know if it really is root access?
cobbal··on Readability-inspired Wikipedia Beautifier for Chrome
Actually, Wikipedia even lets you upload your own custom css and javascript when you're logged in. http://en.wikipedia.org/wiki/Special:Preferences#preftab-1
cobbal··on I took "abusing the HTML5 History" to the next level.
Fun bug: press escape tons and watch the animals move faster and your browser freeze.
cobbal··on Apple releases dev preview of Mac OS X 10.7 Lion with AirDrop, FileVault
Snow Leopard (and probably earlier) already support this. When an app reopens twice after from the "reopen" button on the crash reporter it opens without loading the preference file.
cobbal··on Anon claims that it has the source code to Stuxnet
Ah, it seems you're right: http://en.wikipedia.org/wiki/Stuxnet#Windows_infection
cobbal··on Anon claims that it has the source code to Stuxnet
"Stuxnet is one of the more powerful viruses to ever spread across the internet"

Is an interesting statement, since to my knowledge it spread via USB drives instead of the internet

cobbal··on 37Signals to retire OpenID for logins on May 1
> Every time I see a web app supporting openid Im glad that I don't have to invent yet another user/password combo

The problem is most people don't bother doing this; they just trust every site with the same password. The benefit I see in OpenID is that it is not a secret, and canot be "compromised" (intentionally or not) in the same way as passwords.

(I also am one of the few, it seems, to use OpenID for my 37signals account)

cobbal··on An Open Letter to JavaScript Leaders Regarding Semicolons
An interesting property of this is that == isn't transitive

  '' == 0 // true
  0 == '0' // true
  '0' == '' // false
cobbal··on Google "Reading Level" filter
homomorphism - <1% basic, <1% intermediate, 99% advanced

Edit: plz - 93% basic, 3% intermediate, 2% advanced

cobbal··on Sony's next-gen application platform built on Objective C/GNUStep
Do you know if this will have any implications for applications built on it (will they be forced to use GPL)?
cobbal··on How to screw with those firesheep snoops - FireShepherd
As I understand it, certificates are not the only problem. SSL requires significantly more overhead on the server as well, which is why it is commonly used just for logins.
cobbal··on Nothingtoinstall.com now live
It was the highest voted domain name by the community http://meta.nothingtoinstall.com/questions/108/what-should-o...
cobbal··on How and Why Chrome Is Overtaking Firefox Among Power Users
Latest development releases of chromium support this (see http://blog.chromium.org/2010/09/unleashing-gpu-acceleration...)
← PreviousPage 10 of 11Next →