Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Ask Slashdot: Is Pascal Underrated?

Lord Crc Re:Yes. (488 comments)

If you got an enum, you can declare a set of that enum, for example:

    TParam = (pAaa, pBbb, pCcc);
    TParams = set of TParam;

You can then easily check for membership: if pBbb in Params then ...

However the real power comes from being able to do set operations using + (union), - (difference), * (intersection) and the less than/greater than operators for testing for sub-/supersets, see the documentation for details.

For example, if you want to check if neither pAaa nor pCcc is in Params, you can do

if (Params * [pAaa, pCcc]) = [] then ...

[] is an empty set.

4 days ago

Disney Turned Down George Lucas's Star Wars Scripts

Lord Crc Re:Good news (420 comments)

Have you seen Mr Plinkett[1] pick the originals apart? While the presentation is a bit weird, though funny if you like that kind of thing, his points are spot on and overall does a very good job of explaining why the originals were considerably better than the prequels.

[1] http://redlettermedia.com/plin...

about a week ago

6 Terabyte Hard Drive Round-Up: WD Red, WD Green and Seagate Enterprise 6TB

Lord Crc Re:"NAS" hard drives? (190 comments)

Are the Red drives designed to be paired or run in RAID arrays specifically, as opposed to the Green line that is made for power savings?

Pretty much yes. The Red have better vibration tolerance, and the firmware is tweaked to fit a NAS workload better. For example, a Green will park the head as quickly as it can which for always-on machines can lead to a Green disk reaching its "Load/Unload Cycle" tolerance in months and die prematurely. The Red will not do this.

There's also a difference in how they handle unreadable sectors and such errors which makes the Red play nicer with hardware RAID controllers. An unrecoverable read error in a Green can cause the whole array to go down.

about 1 month ago

MIT Unifies Web Development In Single, Speedy New Language

Lord Crc Re:Syntax looks gnarly (194 comments)

It would have killed them, because (n) is a tuple of one element.

It's the same in Python, yet I haven't noticed it killing any Python programmers. Perhaps functional language designers are more fragile creatures.

about a month ago

MIT Unifies Web Development In Single, Speedy New Language

Lord Crc Re:Syntax looks gnarly (194 comments)

You have to get used to that. In functional programming, parentheses are usually used to denote function calls.

I really have tried, but it's just too terse for me.

At this stage I'm pretty certain I won't grok a functional language until someone invents a functional language that doesn't look like some variation of Brainfuck or similar.

about a month ago

MIT Unifies Web Development In Single, Speedy New Language

Lord Crc Re:Syntax looks gnarly (194 comments)

Looking over the official tutorial pages, the syntax is really different than anything I've done before. It looks hard to learn.

Indeed. And what's with this obsession amongst the functional language developers to try to use the least amount of characters possible? We're no longer in the 1960's where verbose source code took a lot of valuable space.

For example, when I read

fun double n = 2 * n

I see a function called double which implicitly takes a parameter n and returns true if n = 0, and false otherwise. Would it have killed them to separate the parameter from the "body", and used proper names? For example:

function double(n) = 2 * n

about a month ago

Sony Leaks Reveal Hollywood Is Trying To Break DNS

Lord Crc Re: These idiots remain idiotic (388 comments)

You'd need offline viewing capabilities, and Netflix has said they will never offer that.

No you don't. The vast majority of people who watch "pirated" movies are online 24/7 with good enough pipes for streaming.

I've got Netflix and HBO (Nordic). Last sunday I wanted to watch the new XMen movie with my gf. Brick and mortar stores aren't open here on Sundays, so no chance there. And of course neither Netflix nor any other similar streaming service available to me carries it yet. But the pirated Bluray is out there, and it would have taken me just 15 minutes or so to download a rip and start playing it on my TV.

No, what I think they need to do is to make a "movie-Steam" Netflix hybrid. That is, a rich catalog of movies for a monthly fee. Then allow me to pay money for early access to new releases. Once I pay I get to keep access to that movie.

And by early access I mean when the first Bluray hits the street. Because that's when people can get the pirated version.

about a month and a half ago

2 Futures Can Explain Time's Mysterious Past

Lord Crc Re:Article Venue (107 comments)

In that case one might be in for a disappointment. The article[1] seems to only contain about a page worth of equations.

[1]: http://arxiv.org/abs/1409.0917

about 1 month ago

Heathrow Plane In Near Miss With Drone

Lord Crc Re:How this differs from birds (325 comments)

A model helicopter is actually far more dangerous as it has a hardened rotor shaft. Does anybody call for them being banned? No. Has one ever being used to bring down a commercial airliner? No.

It's also significantly more difficult to operate than a quadcopter, as well as more expensive.

about 2 months ago

After Four Days, Philae Team Gets to Rest

Lord Crc Re:Questions for any who have been following this (88 comments)

As I understand it, the problem is that the batteries must be at 0 degrees C to accept charge. The limited sun it's getting now isn't enough to heat the batteries (surface temperatures are about -70C IIRC).

about 2 months ago

After Four Days, Philae Team Gets to Rest

Lord Crc Re:RTG (88 comments)

That would depend heavily on the radioactive material used, no? For example, Wikipedia lists Pu238 to have just a ~16% drop in output after 20 years.

I'm guessing cost and weight were the key factors for picking solar over an RTG.

about 2 months ago

Comet Probe Philae To Deploy Drill As Battery Life Wanes

Lord Crc Re:Huh (223 comments)

Time to audit the books to see who pocketed the money a more robust design would have addressed.

I think you guys should play some Kerbal Space Program and see just how much more fuel you need at every stage just to put an extra kg of equipment on that lander.

about 2 months ago

Getting 'Showdown' To 90 FPS In UE4 On Oculus Rift

Lord Crc Re:What's the FPS of diminishing returns? (30 comments)

There are several things at play here.

One is the latency as mentioned, which is very important for VR. Heck even playing with a mouse and a regular monitor I can feel the difference between 60 Hz and 120 Hz, not to mention 30 Hz. At 30 it feels like my mouse is submerged in honey. At 60 it's decent but if you switch suddenly to 120 it you do notice that 120 is quite responsive in comparison.

Then there's also motion blur. Due to the way most LCDs currently operates, they introduce a lot of motion blur. This is beause the image is shining for almost the entire frame ("sample and hold"). The eyes tracks the motion, expects to find the object has moved but get's conflicting data because the monitor is still displaying the same old frame. This causes a perceived motion blur.

This is unlike "modern" CRTs for example, where the image faded quickly (within 2ms or so). For the rest of the frame the monitor was effectively black. That is much better for the eyes, and results in smoother perceived motion at the same framerate.

Even at 120Hz motion isn't completely smooth if you use sample and hold. Newer LCD monitors can strobe the backlight to get an effect similar to CRTs and thus reducing motion blur.

about 3 months ago

Decades-old Scientific Paper May Hold Clues To Dark Matter

Lord Crc Re:"Leftover" high energy electrons (93 comments)

The LHC has about 115 billion protons in each bunch, and was designed for almost 3000 bunches at a time (I forget how many they ran before the shutdown).

Only a fraction of these protons collide, so there'll be plenty left when the beam quality is low enough for them to dump the beam and get a fresh one.

about 3 months ago

Why the FCC Will Probably Ignore the Public On Network Neutrality

Lord Crc Re:Changes require systematic, reliable evidence.. (336 comments)

At work we have a 100/100mbit internet connection (fiber), "business class" from a very solid ISP. We're 10 people here. Not long ago internet was horribly slow to the point that it took literally a minute to load my usual news site. Ping was up in the 1-2 second range.

Turned out one of my coworkers was downloading the some Windows ISOs from Microsoft.

If we didn't have QoS on the VOIP I'm pretty sure we would have noticed quite quickly.

about 4 months ago

AT&T Says 10Mbps Is Too Fast For "Broadband," 4Mbps Is Enough

Lord Crc Re: We really need (533 comments)

I'm in Norway on a 100/10 connection (which is plenty for me), and when surfing more obscure music videos on Youtube for example I definitely notice when I hit non-cached content. Even 480p can take up to a minute to start playing, and often has to pause to catch up.

For cached content 720p or 1080p is just there, instantly.

about 5 months ago

Firefox 32 Arrives With New HTTP Cache, Public Key Pinning Support

Lord Crc Re:First impressions (220 comments)

While Firefox is fast when it's fast, unlike Chrome a single tab can bog down your entire browsing session since it's only using a single process.

The same single process also runs out of memory if there's a crappy javascript on a page, and closing the offending tab does not help. For example FinalBuilder build overview page leaks about 2GB per day on my machine, taking Firefox with it if I don't remember to restart it before then. Quite tedious.

I strongly dislike Chrome for other reasons and have stuck with Firefox for ages, but they really should put more effort into their Electrolysis project if they don't want to be left in the dust. Heck I'm finding myself using IE11 for a lot of stuff these days.

about 5 months ago

The IPv4 Internet Hiccups

Lord Crc Re:Yes, Please (248 comments)

Here's from my router:

                    IPv6 Connection Type: Native with DHCP-PD
                            WAN IPv6 Address: 2a02:fe0:c400:1:95d2:656f:...
                            WAN IPv6 Gateway: fe80::219:2fff:fee6:73d9
                            LAN IPv6 Address: 2a02:fe0:c411:a960:da50:e6ff:.../84

My PC gets a fe80 address, but I can ping the "LAN IPv6" address above.

about 5 months ago

The IPv4 Internet Hiccups

Lord Crc Re:Yes, Please (248 comments)

My ISP supports IPv6, my router supposedly supports IPv6 (Asus RT-N66U), I can see the router getting an IPv6 address from my ISP, I can see my PC getting an IPv6 address from my router yet when I test it out on the various "do I have IPv6" pages it's failing.

After spending a couple of hours mucking around I gave up. I'll deal with it when it matters. Hopefully it's less painful then.

about 6 months ago


Lord Crc hasn't submitted any stories.


Lord Crc has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?