Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment perl5 in perl6 (Score 1) 161

perl6 is a complete overhall of the language. It isn't merely perl5++. They are similar, but they aren't compatible, which is why the perl5 interpreter will be maintained in parallel [so stated]. The perl6 interpreter [written in perl6, BTW], will be able to run perl5 code (e.g. it hooks on .pm or .pm6, etc.) and run a mix of the two. It will also be able to run python code, ruby, javascript, etc. if one wants to add the front end. So, in some ways, it's like .NET. You can run a program comprised of perl6, perl5, python, C, etc. all coexisting in one program.

Speaking of which:

- Inline Perl5 : hooks into the (still maintained) perl5 interpreter to run Perl5 code down to the latest bugs/weirdness.
- v5: (ab)uses the ultra flexible grammar and meta programming of Perl6 ('s interpreter - like Raduko) so that it can interpret Perl5 ('s language syntax).

Comment Perl5 in Perl6 (Score 1) 161

One of the goal (longer term, so don't expect it fully working with this preview release. Maybe neither with the final at christmas) is to allow other language being accessible to Perl6.

To quote one of the links:

But Larry was especially proud of Perl's ability to drop down into other languages. ("This is why we say all languages are really just dialects of Perl 6...") Python and Lua are even included in the Inline library. And Larry pointed out a new library that adds Ruby-esque rules, so exclamation points and question marks can be used at the end of identifiers. ("If that's what it takes to make Ruby programmers happy...")

- Inline-Perl5/ - Wraps a Perl5 interpreter as a module in Perl6 with data passing. Means perl5 and perl6 mixed *TODAY*. Works with compatibility down to all perl5's bugs/weirdness. Might still suffer limitation when passing some weird constructs around, and some speed limitation.
- v5 - abuse Perl6's ultra flexible grammar and meta programming to teach perl6 (...'s interpreters - like Raduko) to understand perl5 (...'s syntax). Should allow perfect passing of weird constructs, without any speed limitation. But is a new implementation of perl5 interpreter so might break some legacy code which unknowingly relied on bugs of the actual perl5 interpreter.

These 2 modules exist already and are used in the wild.

Comment In fact a new version often is how it should be (Score 3, Insightful) 225

Companies should regularly update their products to use the latest tech. There is no reason to freeze a product and not update it for a long time just to make owners feel like they still have the "latest". Rather they should update as often as changes in available technology/manufacturing/etc dictate. Customers then buy new ones as often as they feel it useful.

That's how it has been with desktop computers, excluding Apple, forever. Few, if any, people upgrade every time something new comes out because the changes are usually minor. They buy something, stick with it for a few years, then buy something new when they feel like they want or need it.

The problem is that Apple devices seem to be something that some people wrap their ego in. They feel a need to have the newest device to be "cool" or some such and thus get mad when a newer device comes out that they cannot or do not wish to purchase since they feel it somehow lessens what they do have.

Comment Oh no (Score 0) 161

Saw this and had some bad flashbacks to using Perl. What a monstrosity. Even a friend of mine who loved it admitted he could read his own code later on. If you have to write a one liner, fine, but I had to maintain actual code written in Perl. It makes my skin crawl just thinking about it.

Comment Ya I'm having trouble imagining it (Score 2) 170

Everyone I know, even the cheap types, keeps some kind of wired Internet. It is usually faster than wireless and always cheaper per GB. If you were an EXTREMELY light user I suppose you could go all wireless all the time, but even for the casual user who likes to surf the web on a daily basis and watch cat videos, you'll easily use more data than a wireless provider is interested in letting you have cheap and they'll charge and/or throttle.

Simple example: T-Mobile gives me phone, text, and 1GB of data for $50/month. It would run me $30/month more to get unlimited data (they'll throttle if you get too excessive though). That's for a single device, and gives 7GB of tethering. Speeds are in the realm of 40mbits max, 20-30mbits normally. So that'd work only if your phone is going to be the one-and-only device you use for most things, and do a little surfing on something else. If you want to add a tablet to it you'd be talking adding another line/device which brings it up to about $100/month with 10GB of data per device.

Ok well then having a look at the cable company for about $60/month they'll sell you a 50mbit connection with a 350GB soft cap (meaning if you go over they complain at you and try to upsell you, they don't charge or throttle). You'll really get those kinds of speeds too, pretty much all the time.

That's more money, but not a ton more. Presuming you would have the basic phone plan anyhow you pay about $30/month more than the unlimited or $10/month more than the two devices. With that you get a faster connection, the ability to connect as many devices as you like, enough data to watch Netflix, download games, and so on. Also, you can, of course, upgrade your speed. They'll happily sell you 100mbit or 300mbit for a bit more per month (about $75 and $100 respectively) whereas the mobile speed is what it is.

Not surprising then that all the people I know keep a wired connection. Personally I don't find I need much LTE data, I use WiFi most of the time at work and home, so the 1GB cap is fine for me (more than fine actually) but I need a lot more on another connection. Looking at my usage I used about 350GB last month. Not the kind of thing a wireless provider would be ok with.

Comment ubiquity and Git (Score 5, Insightful) 920

Is Linux successful? Debatable. It has success in limited uses,

These limited uses being "pretty much everything outside the desktop".

Servers, embed, high performance computing clusters, smartphones, robots, home appliances, etc.
And new uses still pop up on a regular basis.

Hardly a niche.

Though you probably are proud of explicitely using a non-Linux OS on your computer (Mac OS X ? Windows ?), fact is that you probably interact with a dozen of Linux powered device each day without noticing.

Linus accomplished a lot, but what groundbreaking thing has he done in the last 20 years?

Yeah, the guy has done nothing more that the Linux kernel in he's life. He's a one trick poney.
It's not like he would be ablto to do anything else like starting a distributed source control management (DSCM) that in practice almost replace any other SCM.
Oh, wait...

Without Linus to create Git, you probably wouldn't have had communities like GitHub emerge nowadays (or they would have tried to built on much less optimal technology. Github is born out of the specific feature that with git, forks/merges/rebases are cheap - a specific feature that Linus needed to build in order to be able to use git for the kernel work).

Comment Even if it isn't some blend (Score 4, Insightful) 568

Most fruit juices have a lot of sugar. Fruit contains a lot of fructose, water, and fiber. So squeeze out the water that contains the fructose, the fiber gets left behind, and you have something that is by volume and weight a tons of sugar.

Apple juice is a good example. If you go and have a look at the Simply Apple stuff at a grocer you can see easily. It really is 100% pure apple juice. They don't add any sweetener or anything else, they just squeeze the juice out of apple and bottle that shit up... and it is as high calorie as soda. 180 calories per 12 oz (355ml). For comparison Pepsi is 150 and Mountain Dew is 170.

I love apple juice, it tastes fantastic, but you can't fool yourself in to thinking that because it is juice it is magically good.

Comment Much more complicated (Score 1) 174

why would you need 120fps per eye when the human eye isn't really capable of seeing that much?

Actually it's much more complicated.
Depending on several factor, humans might notice 120fps.
(Mainly "dotted path" type of artefacts).

(The situation is different than audiophile's obsession with 192KHz which CAN'T be heard)

Comment Re:Can we get back (Score 1) 94

Not really. We can call Pluto a "planet" and call the asteroids asteroids and call the Kuiper Belt objects Kuiper Belt objects. There's no particular need to go into a frenzy over it. The reality is that there is going to be range of sizes of objects, from "almost suns" down to pebbles, so sweating exactly how you are going to name objects is ridiculous.

It's not hard to admit errors that are [only] cosmetically wrong. -- J.K. Galbraith