Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:About time... (Score 1) 33

by Kjella (#49147839) Attached to: Invented-Here Syndrome

Nothing is better than your own code. But given the choice between my predecessor's hairy ball of custom code and a hairy ball of clue between documented frameworks, I'm not so sure anymore. Because the other side to being generic is "will probably continue to function in a sane fashion if I tweak it a little" while one-off code tends to make a lot of assumptions that may have been true when it was written but falls apart in surprising ways when you try to change it. Unless your predecessor actually made clean, documented code but I know with myself that if you're in a hurry that won't happen. I had to walk a colleague through some systems we use once a year to update various coding schemes and such and to be honest it's an ugly mess. But we do it once a year and we're busy fixing the stuff we use often, so....

Comment: Re:More of this (Score 5, Insightful) 131

by Kjella (#49142839) Attached to: Microsoft's Goals For Their New Web Rendering Engine

I think this is because in the olden days having CRLF meant being able to dump a raw text file to a printing device. Unix had a tty driver that could handle adding the missing CR. CP/M and DOS didn't have any such thing. That doesn't mean I haven't spent 20+ years being annoyed by CRLF though.

That's not it, CRLF was a feature. How do you make strike-through text on a type-wheel printer? It automatically advances to the next position and it only has a fixed number of characters, you don't double it with strikethrough-a in addition to regular a. So you send a CR - carriage return - to return to first position, space your way over to the text to be striked out and make a ------- over it before you CRLF to the next line. And you have no idea how old knowing that makes me feel.

Comment: Re:Predicting the future is hard (Score 1) 306

by Kjella (#49142265) Attached to: The Programmers Who Want To Get Rid of Software Estimates

Unfortunately most of the projects I've been on are of the "We want to replace old system A and make a new system B that also has features X, Y, Z" variety. What they want from the new system is usually okay, it's somewhat documented already, you've identified some stakeholders, you can show them prototypes, you can ask for clarifications and their testing validates the feature. Developing new code for genuinely new features is actually quite easy and fun.

The old system on the other hand is more like software archaeology, nobody really seems to have the specs - or maybe a spec 1.0 from 10 years ago that's got nothing to do with reality - and if you're replacing it it's probably because it's crap, uncommented code in an arcane language with poor frameworks and third party components. So you dig and keep digging and try to implement something similar without knowing what's a feature and what's a bug, who'll come yelling if you break something or features nobody told you about and you weren't aware anyone was using disappear.

I had a bit of an epiphany today at work when i finally found out how structure a major piece of the redo I'm working on and I've so far spent ~2 months digging through that code. From a similar job I was doing in another area I thought maybe 2-3 months total, now I'm guessing it'll be 6-12 because of all the rework I have to make and every apparently simple thing has exceptions and special cases. It's wasn't my bad estimation, it's that the conditions are entirely different. Like comparing travel speed for a walk in the park to chopping your way through a dense jungle.

Comment: Re:The state is easy to see. (Score 1) 169

by Kjella (#49139737) Attached to: The State of Linux Gaming In the SteamOS Era

It's not great. It's only good for staunch advocates who refuse to run any other operating system. Linux still isn't good enough for joe sixpack to run it as a daily driver. Until they get joe sixpack on board, it'll forever be a niche product without enough inroads to support a gaming ecosystem. (...) OS X has more of a chance at becoming a capable gaming OS than Linux does, and that's really saying something.

Except for cost. That's what powered the Android drive, it wasn't the technical superiority. There's probably more people gaming on phones and tablets than any other platform when you count Angry Birds, Candy Crush and such. Chromebooks running on Linux also seem to sell reasonably well for the same reason. If Valve can get a a range of steamboxes out there to sell to everything from a $99 box to sell freemium + $1-5 games to a $999 gaming rig to people who don't really care about having a desktop anymore with their tablet/convertible covering those needs there's probably a market for gaming boxes.

It does of course assume that you commit enough to get it off the ground. Nobody wanted to code for Android either before it got popular. And if Valve is backing off now that the Microsoft Store doesn't seem that big a threat after all, it might take many years. But Linux is well propped up by servers, supercomputers, embedded, cell phones, tables, chromebooks... it's not going away. Particularly not in the direction we're going with more cloud, less local it's certainly not going to get worse.

The driving force behind Mesa is Intel, they're certainly not going away. Pretty soon they'll hit the big OpenGL 4.0 and it seems almost all the prerequisities for 4.1 and 4.2 are done once they get over that hurdle. And they certainly want to keep their OpenGL ES current if they want to play in the x86 smartphone/tablet market. AMD also apparently like their open source driver for embedded/custom projects, less legal hurdles for customers who want full control. So maybe they don't win, but I don't see how they could lose much terrain either.

Comment: Re:if it has a fan, you are doing it wrong (Score 1) 59

by Kjella (#49135861) Attached to: Intel Updates NUC Mini PC Line With Broadwell-U, Tested and Benchmarked

Built one almost like it, but with a 35W Core i7 4765T. It's not exactly a cheap machine though, for a HTPC it's way overkill. You can get a lot cheaper to play 1080p BluRays and probably won't be enough when 4K BluRay arrives, 3840x2160x60fps 10-bit HEVC decoding will need new, dedicated chips.

Comment: Re:Xp all over again. (Score 1) 468

by Kjella (#49135725) Attached to: Users Decry New Icon Look In Windows 10

People complained about the playschool look of XP and hated all the chrome. Those same users swore by XP after Vista came out, and will adapt to metro the same.

Guilty as charged, eventually I had to move off 2k for XP. Skipped Vista (went on a Linux hiatus), got 7, skipping 8.x but Win10 looks like the next usable version. Until either WINE is just as good as the real thing or most games are cross-platform I'll probably be stuck with a box with a semi-recent version of Windows. Currently the WINE rating of the game I play the most is garbage.

Comment: Re: Not surprised (Score 1) 298

by American AC in Paris (#49134515) Attached to: Reddit Imposes Ban On Sexual Content Posted Without Permission

When a forum starts to limit legal speech a slowly growing cancer of censorship is inevitable.

1. Reddit cannot, in any way, stop you from expressing your opinion. The most they can do is refuse to facilitate said expression.

2. I find it amusing that such a staunch, unyielding proponent of True Free Speech would use such a tremendously wiggly, pro-oversight qualifier as legal In defining what they consider acceptable. Legal implies a level of trust in the state that is entirely at odds with the rest of your post.

Comment: Re: Not surprised (Score 5, Interesting) 298

by American AC in Paris (#49134509) Attached to: Reddit Imposes Ban On Sexual Content Posted Without Permission

When a forum starts to limit legal speech a slowly growing cancer of censorship is inevitable.

1. Reddit cannot, in any way, stop you from expressing your opinion. The most they can do is refuse to facilitate said expression.

2. I find it amusing that such a staunch proponent of True Free Speech would use such a tremendously wiggly, pro-oversight qualifier as legal In defining what they consider acceptable. Legal implies a level of trust in the state that is entirely at odds with the rest of your post.

Comment: Re:Don't ask for advice online. (Score 1) 681

Or, "Don't take life too seriously... it's not like it's permanent."

At that age it's usually not a problem, you're far more likely to do something reckless and stupid that will have consequences for the rest of your life. I'd at the very least temper it with a bit of "Enjoy today, plan for tomorrow". Sure, life might throw you a curve ball but if act like every day is your last the odds are pretty good that you're wrong and have to live with yesterday.

Comment: Just Remember (Score 5, Insightful) 188

by American AC in Paris (#49130461) Attached to: Google Now Automatically Converts Flash Ads To HTML5

I cannot even begin to count the number of commenters here who pushed HTML5 as the best way to end, once and for all, those incredibly invasive and annoying Flash ads.

You got exactly what you were asking for.

So long as business is on the web, there will never, ever, ever be a technological "solution" to online advertising. There's simply too much money at stake for that to happen.

Comment: Re:He is linking homeopathy to astrology (Score 1) 301

by Kjella (#49128423) Attached to: Use Astrology To Save Britain's Health System, Says MP

But let's be serious. The placebo effect is one of the most effective thing in medical problems. The problem with it is that if you don't believe in it, it no longer works. Building false theories that makes sense for most people is therefore a skill that can be much more effective than finding real cures.

And the "anti-placebo" effect if you know doctors and nurses are liars and frauds so you think the actual treatment which has a pretty good track record is just more astrology/homeopathy/placebo bullshit? I mean you have to have a rather big medical community that knows this is as good as sugar pills. And you have to quite often tell that truth to limit the resources taken away from actual medical treatment to spend on placebo. Yes, the truth can be tough to deal with. No, having our real doctors pushing snake oil and superstition won't help. Now if we were talking about better psychological care to people suffering from severe physical conditions I'd be all for that, but not this.

Comment: Re:Yes (Score 2) 162

by Kjella (#49128015) Attached to: Should a Service Robot Bring an Alcoholic a Drink?

The question is... If you are in your own home, does the robot count as a bartender, or is it an appliance? My guess is the latter, the responsibility belongs to the operator.

Liquor licenses apply just to the sale of alcohol, if I'm at a private party and mix a round of drinks I don't need to follow any regulations except those that generally apply like serving alcohol to minors. And if a minor orders it from the robot, I shouldn't be in any more trouble than if they go to my fridge and grab one. I guess they could require "alcohol lockers" the way they do "gun lockers" around here, but we're not there yet.

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (10) Sorry, but that's too useful.

Working...