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!



Kawa 2.0 Supports Scheme R7RS

ziggystarsky Let's compare these advantages to Haskell (62 comments)

It combines the strengths of dynamic scripting languages (less boiler-plate, fast and easy start-up, a REPL, no required compilation step).

Let's see whether the great dynamic scripting language Haskell also fulfills these points.

  • - less boiler-plate: in addition to not requiring type annotations, Haskell even gets rid of parens; check
  • - fast and easy start-up: you can compile it to native; check
  • - REPL: check
  • - no required compilation step: if you use runhaskell it looks like interpreted, check (thouch technically that's a lie, as it is for JITed scripting languages

Now we see Haskell has all the advantages of dynamic scripting languages. How about the advantages of compiled languages?

with the strengths of traditional compiled languages (fast execution, static error detection, modularity, zero-overhead Java platform integration).

  • - fast execution: ghc creates very efficient native code, check
  • - static error detection: uhm, yes; though better than traditional languages, check
  • - modularity: dunno what this means. Since there are modules in Haskell we call it check.
  • - zero-overhead Java platform integration: unfortunately not. But since exactly when is Java-integration zero overhead?

Which proves that Haskell has all the advantages of dynamic scripting languages, and most of the advantages of traditional compiled languages.

Btw., you can do the same using any other modern compiled language. This post wants to show the "advantages of dynamic scripting languages" have nothing to do with the languages being "dynamic" or "scripting", whatever that means.

about a week ago

The Effect of Programming Language On Software Quality

ziggystarsky Script languages have few concurrency errors (217 comments)

See Figure 2. They even stress this in the text:

Among the dynamic languages, only Erlang is more prone to concurrency errors. The regression analysis also shows that projects written in dynamic languages like CoffeeScript, TypeScript, Ruby, and Php have fewer concurrency errors

Now everyone knows that Erlang is bs for doing concurrent stuff, right? I do all my concurrency related programming in Ruby, as every other sane developer would do!

about a month and a half ago

A Mysterious Piece of Russian Space Junk Does Maneuvers

ziggystarsky Bring it down (146 comments)

Get it down now. Then you can claim you were testing technology to remove space junk from orbit. Once the Ruskies admit it's a satellite that's no longer a valid option.

about a month and a half ago

US Army May Relax Physical Requirements To Recruit Cyber Warriors

ziggystarsky Re:Good luck with that (308 comments)

Mandatory unit testing.

about 2 months ago

Ask Slashdot: Finding a Job After Completing Computer Science Ph.D?

ziggystarsky Re:overqualified (479 comments)

I know the BS and MS students from India. If the PhDs are the same...

They appear to put enormous work into making their CV look good (like having publications in shitty journals, about shitty pseudo research). But they're not able to get anything done, because they have no skill whatsoever. Only on paper.

about 3 months ago

The Site That Teaches You To Code Well Enough To Get a Job

ziggystarsky Re:special software client (131 comments)

In particular when other sides manage to do everything within the browser. A good example is hackerrank.com. There, you can edit your code for a multitude of languages (Bash, Brainfuck, Haskell, Scala, Ocaml, Octave, R, ... just to name a few) within the browser. When you hit submit the code is compiled and run on the server.

I don't want to use a stinky client, just because these people can't code their website properly.

about 3 months ago

Canon Printer Hacked To Run Doom Video Game

ziggystarsky Re:So it runs Doom ? (92 comments)

You know what the next logical step is?

Not quite yet.

A "security researcher" has four months of over spare time. check.

Yes, I think I got it now!

about 3 months ago

Microsoft To Buy Minecraft Maker Mojang For $2.5 Billion

ziggystarsky Re:That's that then (330 comments)

But you have to craft ketchup then...

about 3 months ago

The Future According To Stanislaw Lem

ziggystarsky Re:roadside picnic (196 comments)

"Roadside Picnic" is by the Strugatski brothers.

about 3 months ago

Deputy Who Fatally Struck Cyclist While Answering Email Will Face No Charges

ziggystarsky Re:yet if we did it (463 comments)

Omg, now I do understand the high levels of police violence in this country.

about 4 months ago

Deputy Who Fatally Struck Cyclist While Answering Email Will Face No Charges

ziggystarsky Re:yet if we did it (463 comments)

... and replace him with someone competent!

And how would you do that exactly?

about 4 months ago

Linus Torvalds: 'I Still Want the Desktop'

ziggystarsky Re:I love games, but ... (727 comments)

I hate FPS games. Desperately. I love small and sometimes clever games, though. Flash games - and recently sometimes HTML5 games - are perfectly suited to my needs. Play a game for 15 minutes, sometimes 5 hours over several days - then you're done with it. You can play something completely different next time. I noticed that very often games that take only 5 minutes (like the story is over and there is no point in replaying it) get very high ratings - also from me. I love playing games with fresh ideas. And almost never a game requires to be 3D. I hate 3D games. Desperately. One series of desktop games I played was Heroes of Might and Magic. A great game. But then they decided to make the new one in 3D. For no real purpose, as the gameplay requires only 2D. Result was that you had to pan and rotate, just to get a view on your hero that was not obstructed by trees. Why in hell did they do this? 3D simply sucks.

about 3 months ago

Berlin Bans Car Service Uber

ziggystarsky Re: There's more to EU transport than cheapness (341 comments)

But the rules for commercial provision of transport service are far more stricter. Obviously adhering to these rules is connected to a cost which Uber drivers do not have to pay and thus can be cheaper.

It is somewhat sane to demand a higher level of security from drivers that are expected to transport more people. Yes, it would be very safe to demand the same level from everyone that is driving a vehicle. But demanding the higher standards only from those transporting the most people gives a good trade-off bewteen effort/cost and benefit.

In addition the insurance for an average driver can be lower, because the average number of people injured in an accident is lower. I bet (but don't know) that insurances for taxi drivers are higher. Insurance for a bus will probably be even higher.

about 4 months ago

Russian Government Edits Wikipedia On Flight MH17

ziggystarsky Re:Let us keep our thoughts with our Kremlin frien (667 comments)

Let's remember that this plane fell down somewher, and the exact spot seems to be indisputable. I don't expect Russia claiming that the black box recorders stopped working with the plane flying for another 100km.

about 5 months ago

Malaysian Passenger Plane Reportedly Shot Down Over Ukraine

ziggystarsky Re: Crime and politics in Russia (752 comments)

It is mostly limited to local criminals, ex- political leaders (Communist and "Party of Regions" parties).

In these situations I must always think about one of the leaked cables, where some embassador said that in Russia you cannot distinguish organized crime from politics.

about 5 months ago

Western Energy Companies Under Sabotage Threat

ziggystarsky It's the Russians (86 comments)

It's Russia because
- UTC+4 is one time-zone east of moscow;
- it shifted to energy supplying firms with the beginning of the crisis in Ukraine (where Russia's gas delivieries are considered as the its only trump)
- it's either Russia or China in general

about 6 months ago

Open-Source Hardware For Neuroscience

ziggystarsky Re:"Brain signals" (41 comments)

You noticed that the described project is used to implant electrodes into the brain of live animals (mostly rodents)? The aim is to measure an electrical signal that can be associated with a small cluster of neurons.

This indeed sounds cruel (and I think it is), and for such research the ethical cost has to be related to the scientific gain in a reasonable ratio.

Btw, I know researchers that say you can pull out the electrodes after the experiment and the animal could live on without much impediment. But the laws here in Germany demand that the animals are killed.

about 6 months ago

The Flaw Lurking In Every Deep Neural Net

ziggystarsky This is not entirely true (230 comments)

We (humans) can classify stills of cats pretty well, no? So your argument does not hold.

It's true that there is more information in video data, but the problem described in the article is certainly not caused by the restriction to stills.

about 7 months ago

Ask Slashdot: What Do You Consider Elegant Code?

ziggystarsky Re:Elegant code is... (373 comments)

If you say "has constant execution time", you mean it's not allowed to use functions and other control flow constructs, right? Because only then you might get close to "constant execution time", when also abstracting away the rest of the system the code is running on.

Most non-trivial code has non-constant execution time. And IMHO only non-trivial code can receive the tag "elegant", for if the task is trivial, there's no room for doing anything interesting.

IMHO, Haskell is a language that enables writing very elegant code. But estimating the execution time of a Haskell program is extremely difficult, not only because it has a lazy execution model.

But we can agree on the "no side effects" thing, better calling it referential transparency. Call the same code with the same arguments to obtain the same result every time.

about 9 months ago

How Satellite Company Inmarsat Tracked Down MH370

ziggystarsky Re:Little disturbing (491 comments)

The nice thing about (bayesian) statistics is that you can combine information from different sources and form a coherent statistical estimate based on everything you have. So given they have a model about debris occurance in this part of the ocean, they can very well increase the probabilities based on the sighting of debris.
The BBC had a nice article about bayesian search methods some days ago: http://www.bbc.com/news/magazi...

about 9 months ago


ziggystarsky hasn't submitted any stories.


ziggystarsky has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?