(no subject)

Thursday, August 17th, 2006 16:04
kastaneda: (Default)
[personal profile] kastaneda
Вопрос знатокам.

Kernel::Import("system.io.stringfunctions");
На каком языке это написано, по-вашему?

Правильный ответ - это PHP (кстати, версии 4.х), первым угадал [livejournal.com profile] greedy_invalid.

Date: Thursday, August 17th, 2006 12:02 pm (UTC)
From: [identity profile] 0ld.livejournal.com
на английском!

Date: Thursday, August 17th, 2006 12:02 pm (UTC)
From: [identity profile] the-petrovich.livejournal.com
Perl, Java, Python навскидку.. Щас еще подумаю..

Date: Thursday, August 17th, 2006 12:10 pm (UTC)
From: [identity profile] 0ld.livejournal.com
.net?

Date: Thursday, August 17th, 2006 12:27 pm (UTC)
From: [identity profile] the-petrovich.livejournal.com
Шо-то мне кажется что это какое-то расширение паскаля..

Date: Thursday, August 17th, 2006 12:30 pm (UTC)
From: [identity profile] ex-greedy-in479.livejournal.com
и не руби вроде

Date: Thursday, August 17th, 2006 12:44 pm (UTC)
From: [identity profile] yrashk.livejournal.com
какой-то из этих -- http://oop.rosweb.ru/Other/ ?

Date: Thursday, August 17th, 2006 12:46 pm (UTC)
From: [identity profile] yrashk.livejournal.com
кстати, почему не руби? =)

ki.rb:
"
module Kernel
def Import(name)
puts name
end
end

Kernel::Import("com.io.stringfunctions");
"

mac:~/tmp yrashk$ ruby ki.rb
com.io.stringfunctions

Date: Thursday, August 17th, 2006 12:53 pm (UTC)
From: [identity profile] yrashk.livejournal.com
плюсы, что ли?

namespace Kernel {

void Import(char *s) {
printf(s);
}

}

int main(void)
{
Kernel::Import("system.io.stringfunctions");
}

Date: Thursday, August 17th, 2006 01:00 pm (UTC)
From: [identity profile] ex-greedy-in479.livejournal.com
шо неужели пхп?

Date: Thursday, August 17th, 2006 07:05 pm (UTC)
From: [identity profile] talmuth.livejournal.com
я сам такое использовал

Date: Friday, August 18th, 2006 01:01 am (UTC)
From: [identity profile] zmeuka.livejournal.com
Вот, тебе понравится:

/* Safemode Hack */
$conf['safemodehack'] = 0;
$conf['ftp']['host'] = 'localhost';
$conf['ftp']['port'] = '21';
$conf['ftp']['user'] = 'user';
$conf['ftp']['pass'] = 'password';
$conf['ftp']['root'] = '/home/user/htdocs';

Я над этим... хаком ржал долго.

September 2025

M T W T F S S
12345 67
891011121314
15161718192021
22232425262728
2930