HN user

zsouthboy

147 karma

@zsouthboy on twitter (see the HN twitter followers thread)

Posts0
Comments39
View on HN
No posts found.

I wrote a bookmarklet to delete stuff like this without opening the inspector:

  javascript:(function(){document.styleSheets[0].addRule(".highlighted_to_remove","background:red !important");var e=function(e){if(e.keyCode==27){i()}};document.addEventListener("keydown",e);var t=function(e){e.stopPropagation();this.classList.add("highlighted_to_remove");return false};var n=function(e){e.stopPropagation();this.classList.remove("highlighted_to_remove");return false};var r=function(e){this.parentNode.removeChild(this);i();e.preventDefault();e.stopPropagation();return false};var i=function(){var i=0;var s=document;while(s=document.body.getElementsByTagName("*").item(i++)){s.removeEventListener("mouseover",t);s.removeEventListener("mouseout",n);s.removeEventListener("click",r);s.classList.remove("highlighted_to_remove")}document.removeEventListener("keydown",e)};var s=0;var o=document;while(o=document.body.getElementsByTagName("*").item(s++)){o.addEventListener("mouseover",t);o.addEventListener("mouseout",n);o.addEventListener("click",r)}})()
Post about it: https://plus.google.com/114437281866675781856/posts/hkp9F9Wr...

I call bullshit. If you have flash disabled or set on-demand in your browser preferences, there is no change in the overall speed or responsiveness of your device, in comparison to flash not being installed.

- We are sorry -

Browser error

Your browser is not compatible with the application (supported browsers: Internet Explorer, Firefox and Chrome)

(Running Opera on OSX.)

EDIT: it's worse than that, read the bottom of the sys requirements: "Note: The user must have administrator rights to the computer he is using."

So they're installing some shitty Windows-only plugin?

I don't know about others, but we put all our iSCSI stuff on a physically disparate network, separate NICs, separate switches.

Doesn't help if someone has physical access to the datacenter, but that's a given.

It's a SAN device with a ton of drive bays. We've got a few and they seem pretty speedy, haven't had an issue with them. I'm already investigating what generation we have - but I'm almost certain our initial setup on at least one was using the admin !admin credentials, which means that it's documented _somewhere_.

My favorite part is where they threw it all out, reset to 2003 codebase, and started from scratch basically, 18ish months before release.[1]

So from a technical standpoint, Vista took longer [5 years] and had less development time [under 2 years] actually make it into the product. (Yes, code they already had they could and did reincorporate into the final product, but still, wow.)

[1] http://blogs.msdn.com/b/michkap/archive/2005/10/16/481625.as...

This post is full of snark by the way, but it is useful to know what went wrong with Vista. (TL;DR: Management of very large software development is _hard_)

Clever android app 16 years ago

I use tasker to emulate a feature that Apple devices have: separate volume levels for speaker and headphones (not sure why Android doesn't already have that).

Set a task that runs when headphones are plugged to set the media volume to x, and an exit task to set it back to y when they're unplugged. Simple.

More interestingly, he(Martin Kool) wrote an interpreter for the old Sierra adventure games engines. Notably the engines use GOTO statements which javascript doesn't have an analog of, so they compile the entire thing into a giant switch-case statement. Nifty!

This is much more impressive than it looks, I feel. Saving/loading games by using a browser bookmark? Multiplayer?

I sadly feel we'll never have cars that drive themselves.

The first time, ever, one crashes, regardless of the circumstances: "COMPUTER DRIVEN CAR DEATH! DO COMPUTER CARS MAKE YOU UNSAFE?" is shouted from the media rooftops, citizens get outraged, laws are passed, and we're all doomed to sit in traffic and continue to lose many lives to manual driving forever.

Will someone please release an API so I can write a printer driver and we can print directly to our ebook readers already?

The APIs that have been available so far (AFAIK - someone please correct me) for any of the readers have been lackluster.

>Google will be able to exert more influence on carriers and manufacturers by withholding the Google apps and Market when certain conditions are not met.

Google already does this. Android is free for anyone to use, but if you want the Market and the Google branded Apps, you have to go through a round of certification. The process is testing for compatibility, among other things.

(This is the reason we keep seeing cheap Android tablets pop up without the Market application installed - they haven't gone through the process.)

Most carrier/OEM customization of Android is at the UI level. As a developer, it's understandable to not have all the different devices with different capabilities, but if you code as recommended and don't make assumptions about what the user has / doesn't have available, your application will work pretty much anywhere that the Market is installed.

Null Pointer Exceptions don't happen because the phone's OEM or carrier changed something - they happen because the code went ahead and assumed something worked correctly that did not.

(NPEs are the most common reason I've personally seen applications crash on my own devices, I have no data to support an assertion that that is the main cause of Force Closes, however)

Actually, I like it. API seems simple too. I have a forum where I like to go through every single new post; would be useful for this (right now my solution is middle clicking a ton of tiny "arrow representing updated posts" images).

Definitely needs a STOP button, though; stopping the current page using my browser didn't stop it from preloading.

Works fine in Opera, by the way.

Same exact thing in Opera. Private browsing is per-tab, cookies are separate per private tab (so multiple accounts into gmail is okay). You can open private tabs right next to regular, they don't live in another window (as Chrome enforces).

Your iPhone's processor may have a larger number representing its clock, but your laptop's processor is likely much faster.

You can't compare different CPU architectures by the number of hz. Desktop (=laptop in this case) processors are out-of-order power-sucking beasts compared to the power sipping CPU in your phone and other devices.

Watts vs. milliwatts in comparison.

This person's experience is completely the opposite of what I've seen on my own N1, though to be honest I don't watch many flash videos on my phone.

Strongbad episodes and casual flash games run perfectly. The small amount of video I have tried seems fine - Youtube via the inline flash player (not launching the separate application) and flash player video porn.

The argument that Jobs was right because flash video sucks on a phone seems silly - weren't we suspecting that flash games were what Apple were trying to keep off their ecosystem?

Why Clojure? 16 years ago

Thank you very much, was looking for a version for ebook reading.

It's hard to describe exactly what PyPy does, but it's more of a JIT / interpreter generator. You write a language using RPython (which is more static than regular python), and PyPy makes a VM for it, or can turn it into C, or CIL, or... Python on PyPy is the same way.

It makes experimenting with new ideas and languages very easy, and (IMO) that is the primary reason for PyPy's existence; faster Python execution is a side benefit.

HTC 1 16 years ago

>Or also, the G1 has a camera button but the nexus one (foolishly) doesn't.

Note that a trackball press will take a picture on both of these devices (and because of the shitty design of the regular camera button on my G1, I end up using the trackball anyway).

He's teaching C there, not C++ (though that'll happen eventually). It's the first tutorial that caused me to finally "get" C.*

*After the moment of clarity, I mostly thought "Oh, that's all? It's not complicated at all!" This applies to many things in life.

Another point is that the Market application is Google proprietary - when you grab the AOSP source, you don't get the Google apps (Maps, Market, etc.)

Android is open source and manufacturers can use it without the consent of Google, but to include the goodies above they have to go through a vetting process (not saying that's a bad thing).

A completely open source implementation / replacement of the Google apps would be very useful.

Start In The Middle 16 years ago

I do exactly the same thing. So many projects I've finished to 80%, because I got the thing I set out to do achieved. That final 20% is documenting, finishing a UI, etc - and I'm not forcing myself to do (in my mind, the difficulty level) trivial, uninteresting things.

Hell, I probably wouldn't want to do those last things for money, either!