Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
User Journal

Journal Journal: TBD: Beautiful Soup 4

Well, as always, i'm in for some good soup. But what's a guy to do with no stock ingredients, pot, or heat source? Well, as any good hacker, impossibility is what gets me interested.

Just because i'm in the back room, doesn't meant i don't know what is going on up front in the smelting factory. While the exact configuration of the hot mixture may vary from day to day, the basic structure is usually the same, save some weird alloys. Time to experiment, eh?

User Journal

Journal Journal: TBD: The retroactive JE 2

One thing i don't like about JE's, is that comments are disabled after a bit of time. That makes it difficult to comment on a topic found much later, that you want to come back to, or to contact a user who no longer posts. OTOH, the author can edit old JEs's, which i usually use to correct spelling mistakes when i go back to a JE some time later. The problem with that though, is the ability to post something marked with an old date, but actually written much later. Without revisions or the li

User Journal

Journal Journal: Rant: Android namespaces and ids 3

I hate Java, i hate Android development, but i repeat myself. And that's exactly what i hate about them.

In Android, objects have their own namespaces, under R. There's R.class, R.mipmap, R.layout, R.color, R.integer, and many more. So, the namespace of the layout (where you usually add objects) is under R.layout, the image on a button can be under R.mipmap. Nice.

User Journal

Journal Journal: Stupid Code: Using if() to set a value 4

Here's the latest example of something i have seen way too often:

if(getListView().getCount()==checkedItemCount) chk.setChecked(true); else chk.setChecked(false);

What's the point of obfuscating your code with an if()? This isn't conditional. You want to set it to the same boolean value as the evaluated expression. Obviously, the clearest way to write this (without changing names) is:

User Journal

Journal Journal: Verbiage: Seeing more often a weird sentence formulation

I seem to be seeing more often a weird sentence formulation. A book talks of passing to a function a variable, an article mentions "signed into law a bill," and plenty lately of others. While normal to be found this formulation in other languages, it sounds in English rather awkward.

Comment Re:google play (Score 1) 3

You can do a search to setup play. There's an article on XDA about it. I took the longer method, because i don't feel right getting rid of the ads. I saved $15 by "saying" i would view them.

I have not used it extensively. The OS is made to use and sell Amazon services, and has a somewhat different feel than regular Android.

User Journal

Journal Journal: Chronicle: Bluetooth, Kindle Fire, updates, and more. 3

Continuing from the last exciting edition of what is Chacham buying today, I decided to try out the Plantronics Explorer 50 for $23.19 on ebay. Weird that it's cheaper from the UK. Anyway, i was thinking of purchasing the 3 for the 10% discount, but that's too big a gamble for a product i have not tried. If i like it, i may buy another 1 or 2. Or, purchase 3 and see if i can sell one on Amaz

Slashdot Top Deals

Never let someone who says it cannot be done interrupt the person who is doing it.

Working...