Wednesday, December 28, 2011
Thursday, December 22, 2011
Friday, December 16, 2011
Thursday, December 15, 2011
Wednesday, December 7, 2011
если выпало в империи родиться, лучше жить в глухой провинции у моря...
Иосиф Бродский
«Письма римскому другу»
«Письма римскому другу»
(Из Марциала)
*
Нынче ветрено и волны с перехлёстом.
Скоро осень, всё изменится в округе.
Смена красок этих трогательней, Постум,
чем наряда перемены у подруги.
Дева тешит до известного предела –
дальше локтя не пойдёшь или колена.
Сколь же радостней прекрасное вне тела:
ни объятье невозможно, ни измена!
*
Нынче ветрено и волны с перехлёстом.
Скоро осень, всё изменится в округе.
Смена красок этих трогательней, Постум,
чем наряда перемены у подруги.
Дева тешит до известного предела –
дальше локтя не пойдёшь или колена.
Сколь же радостней прекрасное вне тела:
ни объятье невозможно, ни измена!
Sunday, November 27, 2011
Thursday, November 24, 2011
одностишия
Наталья Резник
Одностишья
Я всех умней, но это незаметно.
***
Хотелось бы кому-нибудь хотеться...
***
Гиппопотам - как много в этом звуке!
***
Национальность у меня не очень...
***
Одностишья
Я всех умней, но это незаметно.
***
Хотелось бы кому-нибудь хотеться...
***
Гиппопотам - как много в этом звуке!
***
Национальность у меня не очень...
***
Saturday, November 19, 2011
Tuesday, November 15, 2011
почему все программные языки на английском?
Why are all programming languages in English?
Alfred Thompson
Last week I was at the CSTA Computer Science & Information Technology conference in New York City. One of the great thing about events like this is the hallway conversations that just happen. When you get a lot of interesting people together the conversations are interesting by default. I had one such conversation with Dave Reed, computer science faculty at Creighton University and past Chief Reader of the Advanced Placement Computer Science exam. We started by talking about programming by people whose language is not English. The keywords they use are, for almost all languages, in English. Comments, variables, user written classes and methods though are in their own language. How confusing might that be? Dave has used a program written in German in some of his classes and asked students to explain what is going on from context. That’s an interesting exercise for sure. On the other hand why not translate the keywords?
Thursday, November 10, 2011
Sunday, October 23, 2011
Wednesday, October 19, 2011
Thursday, October 13, 2011
джеф клэйз
BUILDING SMALL THINGS
Jef Claes
Due to the nature of things we build in our day to day job, writing software can wear out even the most fit of us.
Most software jobs make you constantly deal with complexity. The amount of things which can lead to a complex software project are immense. A poor first design, and failure to redesign. External dependencies, which seem to behave different every time around. Or just the complexity of the problems itself.
You are almost always working in a team, which can be exhausting as well. If the team doesn't share your passion and you have a hard time getting your ideas across, you will get frustrated, real soon. Add some coroporate politics to the mix and you'll be on your way to Paranoia.
It feels like I'm turning this into a rant, but I'll stop right here, you get where I'm going at. Building software in the real world can be hard. Very hard.
I like to think building something small on your own once in a while can be extremely liberating. It can help you keep your sanity and not lose your passion towards software. You pick what to build. Something small. Something new. Something built with your favorite tools, on your favorite platform. Something that can be shipped. Something which takes only you and your machine.
Having problems finding something meaningful to make? Look around you, the most trivial problem can lead to a satisfying little sideproject. Look for things that bother you, and try making them bother you less. Listen to others, maybe you can help solve their problems. Who cares if it already exists in one way or the other? Look for something that looks fun. And just build it.
Jef Claes
Due to the nature of things we build in our day to day job, writing software can wear out even the most fit of us.
Most software jobs make you constantly deal with complexity. The amount of things which can lead to a complex software project are immense. A poor first design, and failure to redesign. External dependencies, which seem to behave different every time around. Or just the complexity of the problems itself.
You are almost always working in a team, which can be exhausting as well. If the team doesn't share your passion and you have a hard time getting your ideas across, you will get frustrated, real soon. Add some coroporate politics to the mix and you'll be on your way to Paranoia.
It feels like I'm turning this into a rant, but I'll stop right here, you get where I'm going at. Building software in the real world can be hard. Very hard.
I like to think building something small on your own once in a while can be extremely liberating. It can help you keep your sanity and not lose your passion towards software. You pick what to build. Something small. Something new. Something built with your favorite tools, on your favorite platform. Something that can be shipped. Something which takes only you and your machine.
Having problems finding something meaningful to make? Look around you, the most trivial problem can lead to a satisfying little sideproject. Look for things that bother you, and try making them bother you less. Listen to others, maybe you can help solve their problems. Who cares if it already exists in one way or the other? Look for something that looks fun. And just build it.
ускоряем пинг
надоело окрывать кмд, писать пинг и вообще...
берем этот код в текстовый файл и меняем на .vbs
strComputers = "192.168.98.5,LA1DVCONSVR001,jenkins.d3nw.net" 'use comma: "192.168.98.5,192.168.98.6"
arrComputers = SPLIT(strComputers, ",")
for each strComputer in arrComputers
set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}")._
ExecQuery("select * from Win32_PingStatus where address = '" & _
strComputer & "'")
for each objPingStatus in objPing
if ISNULL(objPingStatus.StatusCode) or objPingStatus.StatusCode<>0 then
if strFailedPings <> "" then strFailedPings = strFailedPings & vbcrlf
strFailedPings = strFailedPings & strComputer
end if
next
next
if strFailedPings = "" then
strOK = "Ping status of specified computers is OK:" & vbcrlf
for each strComputer in arrComputers
strOK = strOK & strComputer & vbcrlf
next
wscript.echo strOK
else
wscript.echo "Ping failed for the following computers:" & _
vbcrlf & vbcrlf & strFailedPings
end if
берем этот код в текстовый файл и меняем на .vbs
strComputers = "192.168.98.5,LA1DVCONSVR001,jenkins.d3nw.net" 'use comma: "192.168.98.5,192.168.98.6"
arrComputers = SPLIT(strComputers, ",")
for each strComputer in arrComputers
set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}")._
ExecQuery("select * from Win32_PingStatus where address = '" & _
strComputer & "'")
for each objPingStatus in objPing
if ISNULL(objPingStatus.StatusCode) or objPingStatus.StatusCode<>0 then
if strFailedPings <> "" then strFailedPings = strFailedPings & vbcrlf
strFailedPings = strFailedPings & strComputer
end if
next
next
if strFailedPings = "" then
strOK = "Ping status of specified computers is OK:" & vbcrlf
for each strComputer in arrComputers
strOK = strOK & strComputer & vbcrlf
next
wscript.echo strOK
else
wscript.echo "Ping failed for the following computers:" & _
vbcrlf & vbcrlf & strFailedPings
end if
Wednesday, October 12, 2011
вдруг пригодится: sql для крутых
добавив одну строчку в самом конце sql запроса, вы можете получить результат в виде xml, а не в виде обычной таблицы:
For XML Auto, Type, Elements, Root('Whatever_you_want')
вдруг пригодится...
ну, а под катом - уж для совсем крутых...
For XML Auto, Type, Elements, Root('Whatever_you_want')
вдруг пригодится...
ну, а под катом - уж для совсем крутых...
Tuesday, October 11, 2011
знаменитые уроженцы верчелли
молодцы!
Subscribe to:
Posts (Atom)
