Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Israeli Singer Publishes a Song In Hebrew — and Perl

timothy posted about a year and a half ago | from the tank-driver-coder-songwriter->-singer-song-writer dept.

It's funny.  Laugh. 69

Noiser writes "The Israeli pop singer Aya Korem published her new song "Computer Engineer" as a website that shows translation to the Perl programming language along with the lyrics. Perl is quite a good match, given that the Perl community has a long tradition of publishing "Perl poetry", and this song proves that this tradition is very much alive. No Flash is required to view the website, so if you are an HTML5 geek, have no worries."

cancel ×

69 comments

Sorry! There are no comments related to the filter you selected.

A *real* artist would have done it in Assembly (4, Funny)

TWiTfan (2887093) | about a year and a half ago | (#43674021)

Hack!

Re:A *real* artist would have done it in Assembly (1)

SJHillman (1966756) | about a year and a half ago | (#43674075)

A real artist would have assembled windchimes of magnets and hard disk platters. As the breeze blows, it simultaneously plays the music and writes it to disk.

Re:A *real* artist would have done it in Assembly (1)

maxwell demon (590494) | about a year and a half ago | (#43678781)

A real artist would have used C-x M-c M-butterfly ...

Re:A *real* artist would have done it in Assembly (0)

Anonymous Coward | about a year and a half ago | (#43679025)

A real artist would have used C-x M-c M-butterfly ...

Fuck you and your stupid XKCD emacs reference.

Re:A *real* artist would have done it in Assembly (5, Funny)

Kagetsuki (1620613) | about a year and a half ago | (#43674091)

I think you're referring to "JUMP" by Van Halen?

Re:A *real* artist would have done it in Assembly (1)

bill_mcgonigle (4333) | about a year and a half ago | (#43674165)

C'mon, now, a real perl monger would have written Lingua::Hebrew, then compiled the lyrics into bytecode. Since Latin and Klingon are both supported, Hebrew seems like a reasonable next step.

punctuation (2)

goombah99 (560566) | about a year and a half ago | (#43674443)

At least perl has punctuation. Hebrew would be hard to read.

Re:punctuation (1)

bstarrfield (761726) | about a year and a half ago | (#43675155)

As a point of information, modern Hebrew also uses punctuation.

Re:punctuation (1)

ubrgeek (679399) | about a year and a half ago | (#43675365)

More particularly, modern Hebrew uses vowels where Hebrew in the bible does not. Then there is the issue of "trop" which are symbols that give guidance to the melodic pronunciation of words used when reading the Torah during the service.

Huh. (1)

Jethro (14165) | about a year and a half ago | (#43674081)

That's actually pretty good. I've never been happier that I speak Hebrew. And perl.

Re:Huh. (1)

Mystakaphoros (2664209) | about a year and a half ago | (#43674095)

At least when I try to read Hebrew I can mumble the consonants out... I don't do so well with Perl.

Re:Huh. (1)

thetoadwarrior (1268702) | about a year and a half ago | (#43677119)

I hope you don't write code if you're struggling with that site.

Re:Huh. (1)

K. S. Kyosuke (729550) | about a year and a half ago | (#43674155)

That's actually pretty good. I've never been happier that I speak Hebrew. And perl.

Yes, but which one is which? The green letters are Hebrew and the guttural sounds are Perl, I take it? For me, it's like being helful and offering a translation of a Xhosa text in Mandarin Chinese...

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43674297)

The lyrics are entirely Hebrew, the text on the screen is entirely perl?...

Re:Huh. (1)

K. S. Kyosuke (729550) | about a year and a half ago | (#43674729)

The lyrics are entirely Hebrew, the text on the screen is entirely perl?...

Yes, but if both Hebrew AND Perl are all Greek to me, doesn't it stand to reason that I might have trouble telling them apart?

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43674813)

Not when one of them is visual and the other is aural! (:

Re:Huh. (1)

maxwell demon (590494) | about a year and a half ago | (#43678831)

Perl is the one where you can recognize the individual characters.

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43674271)

That's actually pretty good. I've never been happier that I speak Hebrew. And perl.

Me either. Of course, I've spoken neither Hebrew nor Perl for approximately 10 years, but we'll just ignore that.

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43674301)

I still speak perl occasionally, and since I still have parents I do occasionally have to experience Hebrew.

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43674391)

I still speak perl occasionally, and since I still have parents I do occasionally have to experience Hebrew.

My condolences. On the perl, that is. Hebrew-speaking parents can be great fun. I don't have any myself, so I just have to live vicariously through others.

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43674439)

I actually enjoy Perl.

Here's some vicariousness for you, I was just on skype with my dad and he practically forced me to watch a bunch of youtube videos. Ah, technology.

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43675487)

I'm glad that you enjoy perl. To me, it just looks like Q*bert swearing.

Hope you got to see some good youtube videos!

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43675603)

If you think that looks like cartoon swears, you should see old Sendmail configuration files...

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43675985)

If you think that looks like cartoon swears, you should see old Sendmail configuration files...

Sorry, I only practice S&M with a partner.

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43676045)

It'd be kinda weird to do it alone!

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43676115)

It'd be kinda weird to do it alone!

I agree! But once again, the Internet proves that if you can think of it, it exists [wikipedia.org] .

Re:Huh. (1)

Jethro (14165) | about a year and a half ago | (#43676179)

Thank you ONCE AGAIN internet for broadening our horizons, whether we like it or not.

Re:Huh. (1)

Slashdot Parent (995749) | about a year and a half ago | (#43676281)

Thank you ONCE AGAIN internet for broadening our horizons, whether we like it or not.

I guess I forgot the corollary to "if you can think of it, it's real, and you can find it on the Internet." Corollary: and there is already a porn site for it.

I'm at the office so I can't google *that* for you. You'll just have to trust the rules of the Internet.

Re:Huh. (1)

ccandreva (409807) | about a year and a half ago | (#43689127)

If you think THAT looks like cartoon swears, you should see APL code.

I'm confused (1)

sl4shd0rk (755837) | about a year and a half ago | (#43674143)

The music I get, but how does this tie in with the Perl code? Is this the madness one falls into after graduating from basic Perl Zealotry?

Re:I'm confused (1)

Dan East (318230) | about a year and a half ago | (#43674175)

At some points the Perl corresponds to the song. Like a clap(2) and commands to output Ahhs and stuff. Perhaps the meaning of the lyrics is more synchronized to what the code does, but mixing three languages (Perl, English and Hebrew) makes it harder to figure out for most of us.

Re:I'm confused (1)

OakDragon (885217) | about a year and a half ago | (#43674531)

As I'm watching it, the Perl code continues to be written on the screen long after the song has ended. Is everyone else seeing that? Is it supposed to be that way, or does it matter?

Re:I'm confused (1)

anagama (611277) | about a year and a half ago | (#43674797)

For me it was opposite. At the end the clap lines preceded the song for five or six seconds.

Re:I'm confused (0)

Anonymous Coward | about a year and a half ago | (#43676151)

Here too. They didn't sync the screen output exactly. realistic-typewriter.js is supposed to output between 19 and 22 characters per second, but this is done via setTimeout(), not by measuring the time since start. So if your browser is busy it will take longer to type the code.

Re:I'm confused (1)

Slashdot Parent (995749) | about a year and a half ago | (#43674293)

The music I get, but how does this tie in with the Perl code? Is this the madness one falls into after graduating from basic Perl Zealotry?

The perl code fits with the lyrics of the song. I'm guessing that this was your typical geeky "because I can" type exercise.

Really well done (1)

Sez Zero (586611) | about a year and a half ago | (#43674147)

I don't speak Hebrew, but I got a pretty good idea of the lyrics from the Perl.

Re:Really well done (4, Funny)

elashish14 (1302231) | about a year and a half ago | (#43674243)

I only know Perl, but I still found the Hebrew easier to understand...

Re:Really well done (1)

VortexCortex (1117377) | about a year and a half ago | (#43674633)

I can parse the Perl perfectly; Though the performance was pleasing, the prose would perform poorly due to parsing problems:

# Song Ends HERE

Sure some sentient system sees that and stops the song, but to a sub-sentient server saying some secret something isn't sufficient; The sub scope is still standing wide open. She should suffix a single syntactic 'stop' symbol: }

Re:Really well done (0)

Anonymous Coward | about a year and a half ago | (#43676217)

It would have been cool if the Perl code was written by her but it isn't. Blame the syntax on dcshrim, mehandes machshevim.

Perl poetry (2, Funny)

Anonymous Coward | about a year and a half ago | (#43674163)

Perl poetry looks only marginally better than Vogon poetry.

Re:Perl poetry (1)

Mystakaphoros (2664209) | about a year and a half ago | (#43674221)

But thankfully leaps and bounds ahead of the works of Paula Nancy Millstone Jennings.

Re:Perl poetry (0)

Anonymous Coward | about a year and a half ago | (#43674525)

Perl poetry looks only marginally better than Vogon poetry.

You don't say. I want to see someone writing this [perlmonks.org] in something other than Perl.

Re:Perl poetry (1)

cold fjord (826450) | about a year and a half ago | (#43674575)

But does it sound better than Klingon Opera [youtube.com] ?

zip? (0)

Anonymous Coward | about a year and a half ago | (#43674173)

pop? and distributed as a zip file ? .. lame ..

boycott (-1)

Anonymous Coward | about a year and a half ago | (#43674177)

The Palestinians primary non-violent resistance to ongoing Israeli ethnic cleansing and apartheid is the academic and cultural boycott of Israel. [pacbi.org] Much like South Africa in the 80's, only outside economic pressure will stop the century long Zionist project to drive non-Jews from Palestine so the land and water can be incorporated into an ethnoreligiously pure state. Without assistance from the international community, the Palestinians have very few options. Please respect the boycott until Israel abandons its attempts to annex the West Bank and Jerusalem with as few non-Jews as possible and begins to make a real effort to reconcile the Nakba.

Re:boycott (1)

Anonymous Coward | about a year and a half ago | (#43674309)

Please, no one is buying your "apartheid" BS here. The Palestinians have few options because of their own actions. Take your intellectually dishonest and hypocritical "boycott" elsewhere. Whether or not one agrees with Israel this stuff is stupid showboating that does absolutely nothing to address any of the issues on either side.

Re:boycott (0)

Anonymous Coward | about a year and a half ago | (#43674435)

Do Palestinians in the West Bank under Israeli occupation get a vote in Israeli elections?
Does that become less justifiable the longer they are occupied?
Will it be any different to apartheid when the occupation is centuries old instead of a few decades?

Re:boycott (2, Interesting)

Anonymous Coward | about a year and a half ago | (#43674949)

Do Palestinians in the West Bank under Israeli occupation get a vote in Israeli elections?

Seeing as there are 12 Arab members of the Knesset [wikipedia.org] it seems that Palestinians are represented. How many non Arabs are there in the Palestinian government? How may Jews are allowed to live anywhere in Palestinian territory? If you really want to see racist (maybe even "apartheid?") rule look no further than the PA.

Does that become less justifiable the longer they are occupied?
Will it be any different to apartheid when the occupation is centuries old instead of a few decades?

Invalid question. They are 'occupied' due to their own actions. If there is justification for an action initially, then the justification would remain the same as long as the initial conditions are unchanged. And whether or not what you say is accurate has nothing to do with an intellectually dishonest 'boycott' of Israel. Although it is better than the usual Palestinian method of protesting, which is murdering Israeli women and children- if these are the only two options you can comprehend, then keep it up.

Re:boycott (-1)

Anonymous Coward | about a year and a half ago | (#43676367)

Right, it has nothing to do with Israel's desire to annex as much of the Palestinian's territory as possible with as few non-Jews as possible. As far as the intellectual quality of the boycott, I guess Stephen Hawking [nytimes.com] hasn't sat around and thought about it as deeply as you have.

Re:boycott (0)

Anonymous Coward | about a year and a half ago | (#43677591)

As far as the intellectual quality of the boycott, I guess Stephen Hawking [nytimes.com] hasn't sat around and thought about it as deeply as you have.

Seeing as he is now being accused of hypocrisy [guardian.co.uk] over his continued use of Israeli technology, I'm guessing he didn't think about it very much [washingtonpost.com] . Great physicist, I enjoy his work, and fortunately he seems to bounce back [goodreads.com] from his previous mistakes [rferl.org] . I'm sure he'll bounce back from this mistake too.

Re:boycott (0)

Anonymous Coward | about a year and a half ago | (#43681511)

The accusations are just hasbara. The Intel I7 chip was designed in Hillsboro Oregon and the Sr. Principal Engineer’s name is Ronak Singhal, an Indian. The design team does not consist of Israelis and is not located in Israel. Hawking’s sentence construction software, EZ Keys, was designed and built by an American company, Words Plus, which was based in Palmdale, California. Hawkings speech synthesizer, NeoSpeech, is produced by a company based in Fremont, California and backed by Voiceware Co of Korea. It has nothing to do with Israel either. Hawkings system used to run AMD but Intel CEO Gordon Moore personally persuaded Hawking to switch to custom Intel hardware.

Perhaps Hawking didn't abide by a Chinese cultural and academic boycott because there neither exists one called for by Tibetan civil society nor was he personally persuaded by any Tibetan scientists as he was by Palestinian scientists.

In any event, Israel's technological prowess doesn't excuse its ongoing ethnic cleansing.

Re:boycott (0)

Anonymous Coward | about a year and a half ago | (#43678311)

I didn't ask about who can be elected. I asked about who can vote.
Answering an unasked question is just avoidance.

Jews not being allowed to live in the parts of Palestine that the PA has 'control' over isn't apartheid.
I don't believe you are stupid enough to think that.

Re:boycott (-1)

Anonymous Coward | about a year and a half ago | (#43674605)

They have separate legal systems in the West Bank: Israeli law for Jewish colonists and martial law for non-Jewish Palestinians. If the West Bank is part of Israel then it is apartheid. If the West Bank is not part of Israel then it has no business colonizing it and stealing its resources. It is clear from Israel's actions and the words of its leadership that the Zionist plan all along has been to annex as much land as possible with as few non-Jews as possible by driving out undesirables and building walls around the parts they definitely want to keep no matter what. Boycott is the best way to stop it, certainly vastly better than suicide bombings.

Are there any Flash geeks left? (0)

Anonymous Coward | about a year and a half ago | (#43674241)

Even Adobe is getting rid of the last remnant of Flash support, let alone development. Flash is dead. Noticing that doesn't make one an HTML5 geek.

Re:Are there any Flash geeks left? (0)

Anonymous Coward | about a year and a half ago | (#43675385)

Adobe isn't abandoning Flash.

Before you all get too excited (1)

Begemot (38841) | about a year and a half ago | (#43674321)

She's kinda Michael Bolton of Israel..

cute clip though

Re:Before you all get too excited (1)

Noiser (18478) | about a year and a half ago | (#43674421)

Michael Bolton? Don't exaggerate. More like Sandi Thom.

Re:Before you all get too excited (2)

Begemot (38841) | about a year and a half ago | (#43674463)

I'm gonna go ahead and sort of disagree with you on that ;)
I guess it's subjective anyway

Bug Report (1)

Beltway Prophet (453247) | about a year and a half ago | (#43674407)

The programmer appears to be confusing the 'eq' and '==' operators; the 'eq' operator in Perl is used for string comparison, while == is used for numerical comparison. The result of using '==' on two strings, e.g. "M" == "F" will always be true, in the sense that 0 == 0. The 'eq' operator *can* be used to test whether 1 == 1, but will report that "1.0" does not equal "1".

Example:

$ perl -e 'print "M" == "F", "\n";'
1

Recommend developing a battery of tests using Test::More to verify the author's assumptions.

Tsk, tsk (1)

Anonymous Coward | about a year and a half ago | (#43674409)

No "use strict" ? No "use warnings" ? I've stopped reading already.

Re:Tsk, tsk (1)

bandi13 (579298) | about a year and a half ago | (#43674609)

It's also missing a right curly brace at the end of the song.

Hewbrew? (0)

allo (1728082) | about a year and a half ago | (#43674919)

So no
use English;

TIOBE boost? (1)

Sez Zero (586611) | about a year and a half ago | (#43675035)

Does this mean Perl will see a boost in the next TIOBE index?

WARNING (2)

Blaskowicz (634489) | about a year and a half ago | (#43675613)

Link to a song that plays outright at a very loud volume with no volume control so you have look for pulseaudio volume control instead. That must be awesome and revolutionary web 3.0.
Anyway, the song is all in arabic with the singer saying "Hachem" here and there, so you can't understand anything of it.

Re:WARNING (0)

Anonymous Coward | about a year and a half ago | (#43679791)

Arabic?

Translated lyrics (4, Informative)

bluegutang (2814641) | about a year and a half ago | (#43676413)

(from the Hebrew, not the Perl)

It's funny that you married a computer engineer
It's funny, in the end you went to study like everyone
You told me you wanted to live out of the box
You told me you wanted to conquer the world

I remember you breathing

It's funny that you now have a office and secretary
And a beautiful white Mazda company car
You told me once you are afraid of commitment
You told me you can't be mine

I remember you breathing

Ai-oh He has no problems
Ai-oh He's definitely a lucky guy
Ai-oh He has an investment fund
Ai-oh He definitely wants to die already

Let me guess, you bought a house in the neighborhood
To not be far from the parents
How all the houses look exactly the same
And all the people look very happy

I remember you breathing

Ai-oh He has no problems
Ai-oh He's definitely a lucky guy
Ai-oh He has an investment fund
Ai-oh He definitely wants to die already

Re:Translated lyrics (0)

Anonymous Coward | about a year and a half ago | (#43682865)

(from the Perl, not the Hebrew)
[previous track ended with: I'm not strict, and I don't do warnings, but I do posix.]

You seem to be new here. I'll treat you as an object that comes in a package.
I think it would be funny if you got some roots. Or if there was some school when I call generic_program_end.

Now some paradox might arise if you don't say Linues' length isn't grater than yours or if I can't run gratuitous shell commands.

Let's define the function foo, that's some printing thingy. Give foo air and more punctuation.

Override the previous value of funny, by testing for some equalities. For fun, you should haved scored under the office, your reminder must be a TODO, and false isn't true.

There are warnings that would be raised, but calls to trivial functions defined afterwards prevent this. [translator note : I guess. Roger, you will check that with your translation please ? I can't really figure what's going on here.]

foo is the same as before. Give it more Air.....................

Now get a stamp, and write with it. First I want you to write some moans, some claps under certain conditions. If you have no problems, if you can not define doubt if not getting lucky or not scoring while male, if you can run code, if you can write variables to the world.

I have to guess if your house is nearby. I get a dollar and a clause every time this miss the ceiling. [does this ever end ?]

Warn some fuck is going on, unless the missmatched parenthesis makes noone Happy in your house.

Finally, let me take you to dinner. I suggest we have italian. I'll take some spaghetti code, with more of the same.

English? (1)

djbckr (673156) | about a year and a half ago | (#43676839)

I went and listened to the song, and though I couldn't understand it or the Perl on the screen, I enjoyed it. It would be awfully nice to see an English translation to I could follow along better. Is this something somebody here could do?

Unoptimized! (1)

Toad-san (64810) | about a year and a half ago | (#43677395)

Code sure could use some cleaning up (all those "foo's" !!!). But I suppose that (and obvious subroutines) would detract from the musical flow of the thing.

Clever, still.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?