Forgot your password?

typodupeerror
Portables

Journal: Poster child of Android tablets' 2

Journal by jawtheshark
Galaxy Tab 2 is the poster child of Android tablets out there, right? Well, let's just say that I ain't impressed. Boyfriend of MiL got one, to read his newspaper. Well, we didn't manage to do that, partially, I think due to wort.lu screwing up. Partially, because the default browser just says "downloading" and that's it. What exactly happens after that is unclear and unless you know that a tiny download icon shows the download, and if you swiped away that, where to find the PDF... you ain't gonna go far. Apart from boyfriend of MiL not (wanting) to understand the difference between an app, a website and a PDF, it ended up being an exercise in frustration.

Unable to help on that front, he asked if he could read his email. Naively, I said, of course you can! So, I set up his (national, very standard) ISP email address. Well, I followed the wizard. Big mistake, I ended up on POP3, which of course is a standard that should have been banned years ago. Damn, I hope you didn't have important emails. I set it up again as IMAP. Works fine, really... Except it doesn't show any email. None... I specifically sent email to him. Shows nothing... I assure you, the settings are correct. I used the same as those, I used on his iPhone. Besides, they do show on his iPhone
No way to make it work. On a related note: the POP3 did not delete his email from server. At least that was good.

Then, I want to show him to install apps (Despite me hating the word). Choice between the Samsung App Store, which most likely works but you want the Google store. So, Google Play. Okay, do you have a Google account? No... Ah, no problem, let's set one up. I follow the wizard, up until it asks for a secondary email for "lost password" situations. I could type in whatever I wanted, but the "Next" button never got enabled, stopping me right in the track to create the account.
Yes, I know, I could just go to a computer, create him a Google account and be done with it. Still, isn't this simply a scandalous bug?

So, I try to help and end up having I to explain that tablet browsers are second-class internet citizens (a site he uses failed to work. How do you explain that to a non tech, eh? Nothing I did worked as expected and I'm supposed to know what I do.

Okay, I might simply have become obsolete and have become unable to troubleshoot modern devices. Perhaps it's a hint I should stay in my basement with my servers and "real" computers. I don't know... It must be me. Everyone loves their Android tablets....

User Journal

Journal: Holy shit. 3

Journal by Luke727

Just when I think April 1st on Slashdot couldn't possibly get any gayer, they up the ante again. If it wasn't so terribly fucking retarded I would be impressed.

User Journal

Journal: Aaron Swartz and I 1

Journal by squiggleslash

I still remember the day that I nearly met Aaron Swartz. I was at a hackers convention in my bedroom, and as I stared at my computer screen, I started writing a journal entry about some political thing or other. I forget which. But anyway, if Aaron had happened to be in my house at the same time on that day, which he wasn't, but if he had, and I'd gone down to the kitchen to get some orange juice, I think it's highly likely we'd have met.

I like to think that Aaron would have read my journal entry and said "Well said, I agree entirely with what you just wrote." And in that regards, I feel like the two of us ultimately were fighting the same war for a greater good. True, Aaron was liberating locked down academic information that should have been available to everyone, and I was probably complaining about the lack of universal healthcare, or criticising the latest version of Ubuntu, but in the sense that we were both "out there", saying what we believed in and fighting for what we believed in, and I'm sure Aaron would have agreed with me, I think we were on the same team.

RIP Aaron Swartz.

(c) All IT commentators and pundits

User Journal

Journal: Biology Help Desk: Volume Seven 19

Journal by Samantha Wright

Hey, remember these? I do. Vaguely. But vaguely isn't good enough, so here's another one. Since I've discovered that the secret to understanding machine learning problems well enough to implement them is mostly a matter of strategically procrastinating, it seems only fair that I should run one of these. So before cross-entropy actually starts making sense to me, what would you like to know?

User Journal

Journal: Get off my Lawn! 6

Journal by KshGoddess

I feel old, guys. I feel like the old man sysadmin with the Unix Beard and suspenders (which I continually think of as a halloween costume, less and less ironically). My coworkers are all... what would have been slashdotters had they not found digg or reddit, or whatever it was.

These are "kids" who grew up with linux. (They're all 30.) But they don't have the base knowledge that I expect them to have. They only know bash. They mostly know Ubuntu and Red Hat, although the one 'sysadmin' type dude knows virtual machines with Xen, and seems to know what he's doing most of the time.

I figured I'd pick up python, because I ordered a raspberry pi, and it seems that's what all the cool kids are doing. (I get along fine with shell and perl for most of whatever it is I do around here.) The advice I got from one of my coworkers was that I should "uninstall the IDE." IDE? For python? Seriously? It's interpreted, you use a goddamned text editor. Apparently that's one of the 'tips' from "Learning Python the Hard Way." (I'm reading Programming Python on my nook, FWIW. And I'm already yelling at it, as the examples are how to create a database from your filesystem with pickle, because seriously, if you're managing peoples' salaries, you don't want your data in flat files, or necessarily in a readable format to your other employees. But that's my cross to bear.)

When I got home, I started ranting about that to the Benny. Frothing at the mouth kind of ranting like I used to be able to do. Who uses a goddamned IDE for an interpreted language!? There's no "I" for your "DE". When you're writing C, in a complex environment, sure. When you're writing Obj-C for your iPhone app of the year, fine. You have libraries, you have interdependencies, you have reasons to have a debugger and a compiler. Python is interpreted. There's no need for these things.

Goddamned kids these days. In my day, we had emacs and vi, and flamewars about both. There was no IDE for writing shell scripts. There was no IDE for perl. There wasn't even really decent tab completion! We used 'more' instead of 'less'. We knew how to pipe things to awk and grep. We used which instead of locate. And we liked it, damnit!

I'm running OpenNMS on Ubuntu at work, using vi (technically vim) to edit all the xml files and java.properties style files. I don't run KDE, Gnome, or any other desktop on the damned thing. It's a server, for pete's sake. Not that it's lacking RAM or CPU for me to run that, but because I'm old, and old-school. Some of my coworkers (and I use that word loosely, as I'm a department of one) run linux on the desktop ... not because all the tools are there and work, necessarily, but because our IT group doesn't know how to deal with linux, and they can get away with it.

Ubuntu

Journal: Linux: adoption by those who are fed up? 6

Journal by jawtheshark

Today, I had the most peculiar experience. A (female, and pregnant, but that has no importance at all for this story) cousin of mine complained on Facebook about a virus infection on her Windows machine (I assume Vista, but I actually didn't bother to ask). Locked out by one of these ransom viruses. Worst part is that she did have an up-to-date antivirus sponsored by the Bank where here partner works.

I don't mind helping, but -of course- my first comment was. "Drop that crap OS and go to ubuntu.com and get a real operating system". I NEVER expected her to actually do that. Well, she jumped on the occasion. She was also very happy to hear what a live CD is and that she could recover her data from her current installation using the LiveCD and copy it to a USB disk. So, she managed to burn the ISO, boot to it, copy her data and install the whole thing. Basically without me helping except saying that it could be done. I also explained what dual booting was and she could do that.

She asked me one question: Why do you use Windows? My reply was: I don't, unless I want to play games (the non-Flash variants. I illustrated Flash games with FarmVille). The tipped her over: She'd go full Linux.

I was completely baffled... You have to imagine the frustration Windows had to put on her so that she would try something completely unknown, just because I say I use it.

First reactions were: Hey, this thing already has Firefox,,Thunderbird and an Office suite. Wow, I have four workspaces (she means virtual desktops). She found Ubuntu Cloud (5GB seems a lot to her, I wonder where else she has been?) and -while not Ubuntu specific- I explained her what Firefox Sync is. She also seemed to like the idea of the Software Store (I compared it to Apples App Store, I know not the same, but she has to understand what it is) and steered her to installing ubuntu-restricted-extras and explained it was to install Flash and similar.

Linux on the desktop... Yes, it can be done... She is non-IT, perhaps a bit geeky, but definitely non-IT.

User Journal

Journal: Got myself a new monitor... No, nothing special, just cheap. 5

Journal by jawtheshark

Got myself 58% more screen real estate at 117.99€. The prime condition on a Full HD[*] monitor was that it must have integrated speakers. This is because it saves desk space. That's hard to find in my allocated budget of max. 149€.

Funnily enough, this is exactly the same model as my moms screen which I bought nearly two years ago. 149€ back then. I have cursed myself ever since that day that I didn't buy one for myself.

The integrated speaker isn't as great as the ones in my old Fujitsu-Siemens C17-2, but more than sufficient for the occasional youp...I mean youtube video.

On a related note, I start to have quite a few "spare" LCD screens now.

[*] As much as I'd love to have a 2560x1440 monitor, there is no way I want to spend 400€++ on a monitor.

Java

Journal: Does anyone even use the tomcat/jsf packages of Debian? 3

Journal by jawtheshark

I don't program much these days any more, but due to a not very important reason, I wanted to do a little something with Java Server Faces. Being a sysadmin by day, I thought that setting up such an environment would be easy-peasy, as long as I stick to the default packages, I'd get an environment that would be more than sufficient for my modest needs. Basically, my idea was that

aptitude install tomcat6 libjsf-impl-java

on a base Debian squeeze would do it. I mean change a config file left and right, drop the webapp in /var/lib/tomcat6/webapps/ and point my browser to http://dusky.sharks:8080/megasuperextremewebapp

Well, apparently, it's not that easy. I took this as test web application, as it looked extremely simple. I immediately got greeted with a ClassNotFoundException on com.sun.faces.config.ConfigureListener. That seems to be one of the core JSF classes. No problem right? Just a classpath problem right? Well, I do remember that could get quite complicated. To make a long story short. The JSF jars are in /usr/share/java where you'd expect them. Superficially there didn't seem to be an entry to that in the classpath, so I added it manually. Didn't help.

Well, let's try adding a few symbolic links to the web applications WEB-INF/lib part... namely jsf-impl.jar and jsf-api.jar. Nope... Then I read something that can't do that but need to copy the jars to make it work. I do so. It still doesn't work, but the ClassNotFoundException is gone (replaced by another one). WTF?!? Java doesn't work with symlinks?

It's pretty much at that point that I decided to write this, because despite all my Googling, I found no references on how to do this (using default packages on Debian). All instructions basically are quite Windows centric, instruct you to download software here and there tell you to copy jars nilly willy, which would be okay if they explained why. I don't like "just do this" instructions.

I'm a big fan of the central repositories, but unless I have a blonde moment, server-side Java doesn't play nice at all...

So, is there anyone who ever tried using just the packages and have it work?

User Journal

Journal: APK stuff 1

Journal by squiggleslash

Microsoft's Hosts file changes in Windows 8 generated a predictable discussion about, and then by, APK, but this discussion caught my eye and I thought was worth raising in a "Mind boggled" way.

The pertinent points:

- APK made a claim about his code that resulted in someone calculating that it was taking about 4 million CPU cycles, or up to 16 million instructions, to process each HOSTS file entry.
- In the ensuing discussion, APK said that his algorithm processes each entry multiple times. He also claims that a slightly optimization to his method would result in the algorithm becoming 98% accurate.
- He also claims, if I understand it correctly, that his code actually turns off the Windows process scheduler - by apparently giving this batch processing code a "realtime" priority - while it runs, for extra speed.
- The reason it takes 4-16 million cycles per record? Apparently, again quoting APK, this is because there's string processing involved with 11 string operations on each record.

Now, to be clear, we're talking about a program whose job is apparently to generate a hosts file from a list of hostnames, deduping and doing other minor clean-up operations on the list, and writing it all out with "0.0.0.0" on the front of each hostname. For the deduping, apparently APK's using a sort - and he denies using a bubblesort, so I guess that's something. Me, I'd use a hash table, but what do I know?

I'm not trying to get at APK, but is anyone else having a WTF moment based upon the above description?

User Journal

Journal: I swear Austrian economists are the most stupid on earth 2

Journal by squiggleslash

(Just to be clear: by Austrian, I'm talking about the school. It's possible that economists who live near Germany are also stupid, but that's not what I'm talking about.)

From what I can see, the logic is:

1. Follow a theory to its logical conclusion. Eg. "All government actions are bad + "socialist" (ie "government does things") governments provide healthcare" -> "Nobody has access to healthcare in socialist countries", "No healthcare -> people die early", "If people die early, there are no old people!"

2. Assert logical conclusion as fact, without checking. "Yeah, well of course Britain doesn't have a pension problem, everyone dies before the age of 30 in that country!"

3. When others assert "WTF", come up with logical process rather than facts. "Uh, hello. Britain has socialist healthcare! Nobody in Britain can possibly live long enough to reach the age of 30, given they all die of preventable diseases!"

4. Simply ignore statements to the contrary. "No, Britain's socialist healthcare system means everyone dies before the age of 30. And Keynesianism is totally discredited."

Lord of the Rings

Journal: [Beloved] A Pretty Song (redux) 2

Journal by johndiii
From the complications of loving you
I think there is no end or return.
No answer, no coming out of it.

Which is the only way to love, isn't it?
This isn't a playground, this is
earth, our heaven, for a while.

Therefore I have given precedence
to all my sudden, sullen, dark moods
that hold you in the center of my world.

And I say to my body: grow thinner still.
And I say to my fingers, type me a pretty song.
And I say to my heart: rave on.

-- Mary Oliver
Hardware Hacking

Journal: I know you want to be green of envy... 4

Journal by jawtheshark
Public album on Google+. You don't need a Google+ account to view.

It's my full Raspberry Pi kit: I was lucky, the two high speed 4GB SD cards were 5€ each on sale, and the power adapters were on sale at 7.50€ each.
The RS Components Pi was 39,16€. The Farnell/Element 14 Pi was 42.05€ (including the t-shirt!).

The whole shebang was thus "only" 106,21€....
The SD cards are both loaded with the default Raspbian, with SSH enabled (just added links manually in /etc/rc[2-5].d)

They have been at a great feast of languages, and stolen the scraps. -- William Shakespeare, "Love's Labour's Lost"

Working...