Better HN
topnewbestaskshowjobs
Log inSign up

codeka

2,034 karma · joined Jan 13, 2012 (14y ago) · 426 submissions

Contact me, dean at (my user name) dot com dot au.
Submissions

comment 14y ago · link · parent

It "works", but not without copious zooming and scrolling. Clicking the vote buttons in particular is a kind of challenge I don't like subjecting myself to and I actually find I vote on comments much less frequently on my phone than on my desktop browser just because its such a pain.

I know what you mean about many mobile sites since people often assume the only mobile devices are iPhones and Androids and nothing else, but that doesn't mean the way this site works is any better :)

comment 14y ago · link · parent

The main problem for me is it makes the site pretty painful to use on a mobile browser. With proper markup and good CSS, the site could easily be much more usable on a smaller screen.

comment 14y ago · link · parent

The really horrible part of this story is all the effort he went to, trying to make his app compliant but all in vain. Is there no way to just ask "if I do this or that, will it be acceptable?" rather than just blindly trying things and resubmitting?

I guess he's skirting around the fringes of what's acceptable as an app, but at what point do you draw the line between a "movie" and an app with video content? Remember those "interactive movies" that were popular in the 90's? What side of the fence do they sit on?

comment 14y ago · link · parent

On the overview page(1) they explicitly call it "a JavaScript cloud scripting language". As far as I know, there's no practical difference between Apps Script and JavaScript (except one runs on the server and one runs in the browser).

(1): https://developers.google.com/apps-script/overview

comment 14y ago · link · parent

"Effective immediately" is common for VP and CxO level positions. Remember Marissa Mayer quit Google and started at Yahoo! the next day.

You're right though that "everybody is still friends" is boiler plate and doesn't actually mean anything. Especially given how horribly Zynga is doing right now, it seem unlikely that things are going great for the CxOs.

336.

Lon Seidman gets YouTube takedown notice for public domain video from NASA(plus.google.com ↗)

87 points · by codeka · 14y ago · 56 comments

comment 14y ago · link · parent

I really do think these things should be separate, with separate enabled/disabled settings.

Especially on the iPhone/iPad where a lost device (i.e. behind the couch or something) is far more common than a stolen one.

comment 14y ago · link · parent

Not only that, but McDonalds is the official restaurant of the Olympics. Surely I'm not the only one who sees the irony in that?

comment 14y ago · link · parent

Well, either way it's deep-fried potato.

It does seem really stupid though. Are you going to go to a fish-and-chips shop, ask for "chips but no fish", get told that they're not allowed to sell that, and then say "OK, we'll go to McDonald's instead"? That's never going to happen!

comment 14y ago · link · parent

I also don't really understand the benefit here. Who actually tries to remember people's email addresses? For that matter, who even tries to remember twitter handles?

comment 14y ago · link · parent

I would buy your argument if we were talking about a gradient. But this isn't a gradient, it's an anti-aliased line.

The CSS describes a step transition from #eee to transparent, but because it's on a diagonal, the browser is anti-aliasing the line.

Note that the reason it looks right in Chrome is because Chrome doesn't anti-alias the line.

comment 14y ago · link · parent

It's 30 cents: http://support.google.com/accounts/bin/answer.py?hl=en&a...

comment 14y ago · link · parent

> We don't scan your email content or attachments and sell this information to advertisers or any other company

They're saying they don't scan your email to sell information to advertisers, that doesn't mean they don't scan it for violations of their T&C's.

Mind you, even this statement is pretty FUD-like since Gmail also doesn't "scan your email [...] and sell this information to advertisers".

comment 14y ago · link · parent

> This question has been asked in an Oracle interview.

I don't usually sit on the side of fence that complains about "write a function that does X" style questions in interviews, but I can't see how this is useful at all.

This just seems like one of those things that you either know off the top of your head, or you don't. If you asked me to derive the addition operation using only bit level operators, I might be able to come up with it, but it'd probably take me much longer than an interview allows. But to come up with divide is just not going to happen.

So if you don't know the answer off the top of your head, what use is this question?

comment 14y ago · link · parent

Nobody is saying it is. However, this is the reality in a surprisingly large number of corporate environments. I have to support a lot of enterprise customers in my day job, and working around corporate firewalls is a large part of the issues that come up for us.

comment 14y ago · link · parent

> In fact the only real possibility that leaves any credibility whatsoever is that the stored password is being decrypted then compared to the password provided at logon using a non-case sensitive comparer.

You can do case-insensitive passwords with hashing/salting. It's just a matter of lower-casing the password before hashing it. (Edit: I'm not saying this is a good idea, of course!!)

I remember reading once that Facebook actually hashes multiple versions of your password (eg with the first letter upper-cased to handle the case where a phone auto-corrects it, and also with all character cases toggled to handle the case when you left caps lock on). I wonder if there's any statistics about how often this kind of thing actually helps?

Of course, it seems pretty clear in this particular case that Troy is right and they're just storing your password in a case-insensitive database column.

comment 14y ago · link · parent

So they actually say the passwords are not encrypted in that email, which is quite different to what they say on twitter. I wonder if they're using a reversible encryption now, or (perhaps more likely) they just don't know what they use.

comment 14y ago · link · parent

Yes of course. In a corporate environment, you would usually install the proxy server's CA certificate in your certificate store and validate that all certificates were issued by the proxy server.

My original comment was just pointing out that validating that the certificate you get when you connect to https://www.github.com in a corporate network may not be the same as the one you get on the open internet.

It's up to you to decide whether that's something you care about though.

comment 14y ago · link · parent

The problem here is that if your app is deployed in a corporate environment, it's possible (likely) that the corporate firewall is intercepting your HTTPS traffic and returning a different certificate, issued by the IT department.

So if you try to validate that the certificate is the specific one that your API server is using, it's going to fail in that scenario.

Depending on your app, you could just ignore that possibility of course.

comment 14y ago · link · parent

Not to sound harsh, but what's described here sounds totally believable. Someone who loved Sparrow on Mac wanted to bring it to Windows. He got the blessings of the developer to do it, was even lucky enough to have a few meetings with them.

But none of that implies any sort of formal relationship or gives any reason why the Sparrow team (or Google) should have any sort of responsibility toward him.

It sucks he got burned, but I honestly don't think he has anyone to blame but himself. If you're going to do so much work, either make sure you own the work (and can sell it yourself if the company no longer wants it) or have some legal agreement in place that you get paid for it. Don't leave yourself in a situation where the other person changes their mind and you've got no recourse to recoup your loses.

comment 14y ago · link · parent

How is this even possible? Firstly, they've spelled the name of the infringing product incorrectly. Secondly, it doesn't even do what they're saying it does.

OK, I mean, it's possible, but is anyone taking this seriously? Does this lawsuit even stand a chance?

comment 14y ago · link · parent

I completely agree with him on this point. I had a friend ask me to install a Korean keyboard on their HTC the other day (I think it was an HTC One).

On my own phone (Nexus), I just install the Google Korean IME from the markplace and it works fine. But on the HTC device, they've apparently replaced the built-in keyboard with their own thing and it took me about half an hour to figure out that I need to install a complete keyboard replacement (not just an IME) and totally replace the HTC one with this other custom one. In what way does any of this help anyone?

comment 14y ago · link · parent

Anyway, I would say "--ignore-certificate-errors" is an acceptable workaround here. If your proxy is already intercepting all HTTPS traffic, then there's really no benefit in the client browser also verifying certificates.

Of course, I would still only run with "--ignore-certificate-errors" for the limited time the proxy has broken certificates or whatever...

comment 14y ago · link · parent

This is far more common than you might expect. You just need to push you're company's internal CA to all your client computers, and bam, MITM for everything!

comment 14y ago · link · parent

The quote from Isaacson seems to fly directly in the face of the rest of the article. Clearly Apple and Facebook were not on very good terms for a long time.

It seems a really long bow to draw to say that Apple didn't create a competing social network because Jobs admired Zuckerberg. It's like saying Apple don't make cars because Jobs admired Henry Ford. Mostly likely, they didn't come out with a competing social network because that's just not the business they're in.

356.

New Yahoo CEO says she'll work through maternity leave(lifeinc.today.msnbc.msn.com ↗)

1 points · by codeka · 14y ago · discuss

comment 14y ago · link · parent

I didn't down vote, but how did you come up with 290 as a value?

comment 14y ago · link · parent

I did something similar recently for a game I'm working on[1]. I didn't know it was called a Markov chain, but one thing I found is that if you take the two previous letters to generate the next one, the results are a little less random and seem a little more natural.

The more letters you take to generate the next one, the closer to the original source data you get, but with a big enough corpus of source data, you can still make random names using three or four letters.

[1] http://www.war-worlds.com/blog/2012/07/generating-names

comment 14y ago · link · parent

It kind of annoys me that we've got all these "kind-of, sort-of" related stack exchange sites for programming and whether one question belongs on Stack Overflow, or Programmers.SE or cstheory.SE or whatever is often quite hit-and-miss.

But then, on the other hand, you have tags on Stack Overflow that are almost separate sites in and of themselves. Usually this happens when companies start using Stack Overflow as the defacto support forum for their product (a lot of Google stuff uses this, e.g. http://stackoverflow.com/questions/tagged/google-apps-script or http://stackoverflow.com/questions/tagged/android etc)

comment 14y ago · link · parent

I used to use MarkItUp but eventually moved away from markdown altogether. I found I had to keep tweaking the parser to allow stuff like inline, floated images, code blocks with language-tagging (for syntax highlighting) and so on. It came to be more work than just using a WYSIWYG editor.
1
1112131415