HNHacker News
TopNewBestAskShowJobs

Teckla

1,081 karma · joined August 27, 2010

submissionscomments
Teckla··on Java SE 6u24
It has been extremely well documented that closures are planned for Java 8. If you absolutely, positively can't wait, anonymous inner classes are your best work-around at the moment. However, it turns out you can, in fact, get by without closures.

Or is this just a thinly veiled attempt to insult the current state of Java? If so, it might be more productive to simply choose a different programming language that you like better.

Teckla··on Why I absolutely love java
"Java as a language is horrible language because the only problem it solves well is how to inflate a consulting bill, or how to waste developers time figuring out what exceptions a method throws. Only exception a method needs to throw is JavaOutTheDoor."

You hover your mouse pointer over the method call and a pop-up window tells you what exceptions it can throw.

Better yet, right click the method call and tell it to insert the try and catch block(s) for you.

This is how professional Java developers work. It only takes a few seconds.

Teckla··on How Americans Get Out of Credit Card Debt
The fastest way to pay off debt is to pay off the highest interest rate debt first, then the next highest interest rate debt, then the next highest interest rate debt, etc.

The debt snowball approach isn't the fastest approach, but the theory is that it has a strong psychological impact: By paying off your smallest debts first, you see forward progress more clearly, which motivates and energizes you to keep going.

Another good psychological trick is to have only one credit card. Then, when you get the bill each month, you can clearly see how much you've spent. The single big statement is scarier than having lots of little statements, and leads people to spend less money unnecessarily.

Teckla··on Inequality in Equalland
Sorry, but I respectfully disagree. You've oversimplifying the complex subject of nutrition.

It is now known that it's not as simple as "calories in - calories burned = weight gain or loss". The body burns more calories processing some kinds of foods compared to others. The body is less efficient or less encouraged to convert some kinds of excess calories into fat, depending on the source of the calories. It is becoming more clear that insulin plays an important role in a large percentage of cases of obesity, and it turns out most of the most cost effective foods encourage the body to produce the most insulin (and, almost paradoxically, also encourage hunger).

Your own example demonstrates my previous point. I would need to eat 18 (!) of those salads you suggested, every day, to merely maintain my weight. Or 5 Big Macs. It's obviously an extreme example, but which do you think poor people would choose? Buying cheap food can make the difference between paying the rent and living on the street.

With all due respect, it's ignorant and offensive to blame poor people for all their problems. Having an adequate amount of money makes an astonishing difference in your ability to achieve good nutrition, lower your stress, pursue advanced education, get enough exercise, etc.

I know it's popular to blame all poor obese people for their own predicament, but it's simply ignorant.

Teckla··on Inequality in Equalland
The poor don't eat too much compared to the middle class and the wealthy. The poor eat the wrong kinds of foods, because the wrong kinds of food are inexpensive.
Teckla··on The frontpage with a threshold of 100 points
"Spending more time on UI = spending less on quality."

I disagree.

The inability to reverse incorrect votes reduces the quality of the site by assigning incorrect scores to comments. In fact, many comments are apologies for accidental down-votes.

Also, not being able to comment inline means thread context is lost when comments are being composed. It is very likely this results in lower quality comments, which reduces the quality of the site.

A good UI can and does lead to a higher quality sites. Keep things as simple as possible, but not so simple that quality suffers.

Just my opinion.

Teckla··on Life in Text Mode
> Does anyone still use "mc" ?

Midnight Commander is great!

I use it for file management on my wife's iMac (I'm usually ssh'd in, while she uses the console). I also use it to keep her small business web site updated (it supports ftp, which is what my wife's web host uses).

Teckla··on Life in Text Mode
Finch is actually pretty easy to use once you memorize the keyboard shortcuts.

On a related note, I recently switched from Pidgin to Finch, and it boosted my productivity at work. I'm a bit OCD, and every time my Pidgin window would blink, I would feel compelled to read the new message immediately. The end result was that I was allowing myself to get interrupted a lot, all day, every day.

Now that I've switched to PuTTY/ssh+screen+Finch (the original goal was privacy-at-work, the boost in productivity was just icing on the cake!), I find that I only check for new instant messages on MY schedule; e.g., when I'm doing a big compile, or need a break anyway.

I would highly recommend it to anyone looking for a productivity boost.

Teckla··on C++ Hating
As it turns out, the Microsoft Office example is not a good one.

Microsoft Office was written in C, and only relatively recently ported to C++. Please note that I didn't say it was rewritten in C++. It was ported to C++. That is, the minimum changes necessary were made to get it to compile without errors or warnings under a C++ compiler.

That means, technically speaking, Microsoft Office is now written in C++, but it's still very much written in the style of C. Quite a few applications that use C++ are written this way.

Speaking just for myself, I think C++ is scary-complex. There are a lot of corner cases and unexpected behavior to memorize. To be blunt, I think the complexity of C++ gets in the way of productivity. There is no question C++ has some nice features, I'm simply unconvinced they're worth the cost.

I'll stick with C for low level, and pick from a variety of better and more sane (in my opinion) choices for medium and high level work. That being said, if someone is happy and productive with C++, that's great. There's room for lots of programming languages in this world, including C++.

But please, don't look down on developers like myself that have rejected C++, for what we consider good reasons.

Teckla··on Statement by the ASF Board on our participation in the Java Community Process
"Mostly compatible" (at the source code level) would be good enough for quite a few applications. For example, take a look at a lot of the C and C++ applications out there, which use OS APIs that often vary widely. Despite that, C and C++ applications are still written, and very popular.
Teckla··on 1140px grid system. Time to scrap 960px?
Good catch. On their web page, text zoom in Firefox works, but text zoom in Chrome doesn't. Chrome bug?
Teckla··on 1140px grid system. Time to scrap 960px?
I'm glad someone pointed this out. The inability to zoom the text sure makes that web page unfriendly to those of us that have trouble reading the little tiny microscopic fonts that are so popular on web pages these days.
Teckla··on What do you want to see in Learn C The Hard Way?
One important thing I would like to see in such a book is one or more chapters devoted to memory management best practices.
Teckla··on Programming languages have to break free from the tyranny of ASCII
I think it's a terrible idea to adopt more arcane glyphs merely to keep code more terse. Just because code is short doesn't mean it's readable. If anything, I think programming languages should use less arcane glyphs. Not to mention it would be annoying and uncomfortable to memorize how to enter those arcane glyphs with our current keyboards.

I also think it's a terrible idea to use color. Not only are a lot of people color blind, but what happens if you need to print your source code on a black and white laser printer? Those are still heavily used.

I don't think the author of the article thought these issues through very carefully.

Teckla··on Electric cars neither as useful nor as green as their proponents claim
From the article:

"But that final 1% of journeys presumably includes the summer holiday when people pile into the car and head off for the coast. Hopping on the train laden with suitcases and children may not be an attractive alternative."

So the author of the article is advocating against electric cars because 1% of trips require more range?

Has he never heard of a rental car?

Teckla··on Greg Mankiw: I Can Afford Higher Taxes. But They’ll Make Me Work Less.
If the Bush tax cuts for the wealthy are extended, it means the U.S. must continue to borrow greater sums of money than it otherwise would have to, in order to pay for those extended tax cuts.

This is one area where Democrats and Republicans should agree. The Bush tax cuts for the wealthy are simply not fiscally conservative.

The author expresses concern about the future for his children. Perhaps the author should consider that his children will have a higher tax/debt burden in the future if the U.S. keeps borrowing so much money.

Teckla··on Black Swan' Author Taleb: Stimulus Made Economic Crisis Worse
Congratulations on knocking down that straw man.

ajg1977 didn't say the economy would have been worse without the stimulus. He said that what you presented as evidence was not, in fact, evidence, because it could be interpreted a different way.

Teckla··on Oracle sticks to Sun's open source strategy for Java
> There is really no profit motive to killing the OpenJDK.

They could change the licensing on future versions of OpenJDK. Perhaps free for academic and non-commercial use only. And then attempt to monetize the JDK for commercial development.

I'm not saying it's likely to happen, just that it could happen, and it's these kinds of worries that are making Java developers uncomfortable. I should know, I'm one of them.

It would be in Oracle's best interest, and in the best interest of Java developers, if they make their position on the JDK absolutely crystal clear. And soon.

It sounds like they might do that at JavaOne, but I fear they won't communicate their plans with the kind of crystal clarity I would like, whether intentionally or unintentionally.

Teckla··on Biolab Disaster - an HTML5 Game (plus Making-Of Video)
Very nicely done. I played to the end, which is a big compliment coming from me, as I don't usually play JavaScript or Flash games more than a few minutes.

It gave me a pleasant nostalgic feeling, reminding me of the Commodore 64 games I used to play as a teenager in the 1980s.

Here's hoping more of the same is coming!

← PreviousPage 8 of 8