¿Los androides sueñan con ovejas eléctricas? Agosto 12, 2009
Posted by Litoman in Ocio.Tags: Chiste, informatica, Programacion
add a comment
Opiniones del Visual Sorce Safe de Visual Studio Abril 24, 2008
Posted by Litoman in Ocio.Tags: Programacion, Visual Studio, VSS
add a comment
Comparto 100%
SourceSafe is a real pain in my ass. Its integration with VS is shite. I keep getting errors and weird dialogs with messages like “You should close this program now” and “Could not perform operation”. What operation? WTF are you doing to me? And on top of all this, SS decided to revert every file I modified to a version that was a week old. Imagine sitting down and pressing a key, only to see sixty plus hours of work evaporate before your very eyes. No warning, no “Are you sure you want to do something incredibly stupid?”. Just WHAMMO you’re fxord. For some unknown reason it also decided to push my current work into a recursed version of my development directory, which is the only reason why I’m not swinging at the end of a rope right now. So, in addition to SS, I have a regular backup running multiple times a day. I’m definitely checking up on some of these alternatives.
Formatear fechas Febrero 4, 2008
Posted by Litoman in Ocio.Tags: Fechas, Formatear, Programacion
add a comment
Siempre es complicado trabajar con fechas… os dejo una tabla para que no haya problemas con los tipos de fechas usados y como transformarlos:
Style ID : Style Type
0 or 100 : mon dd yyyy hh:miAM (or PM)
101 : mm/dd/yy
102 : yy.mm.dd
103 : dd/mm/yy
104 : dd.mm.yy
105 : dd-mm-yy
106 : dd mon yy
107 : Mon dd, yy
108 : hh:mm:ss
9 or 109 : mon dd yyyy hh:mi:ss:mmmAM (or PM)
110 : mm-dd-yy
111 : yy/mm/dd
112 : yymmdd
13 or 113 : dd mon yyyy hh:mm:ss:mmm(24h)
114 : hh:mi:ss:mmm(24h)
20 or 120 : yyyy-mm-dd hh:mi:ss(24h)
21 or 121 : yyyy-mm-dd hh:mi:ss.mmm(24h)
126 : yyyy-mm-dd Thh:mm:ss.mmm(no spaces)
130 : dd mon yyyy hh:mi:ss:mmmAM
131 : dd/mm/yy hh:mi:ss:mmmAM
Por ejemplo, en SQL: convert(datetime,texto_fecha,103))
Gracia informática Febrero 1, 2008
Posted by Litoman in Ocio.Tags: Chiste, Programacion
1 comment so far
Hoy, buscando información sobre matar hilos en programación, me he topado con una gracia que ponia un tio.. la verdad es que hay que saber un poco, pero los que me entiendan, esbozarán una pequeña sonrisa al leerlo.
Me.Shoot(cow)
Thread.Sleep(5000)
If Not Me.Look(Direction.Everywhere, GetType(Cow)) Then
Me.Cry “booooooohhoooohoooo”
End If
Nota: Por cierto, si quereis matar una aplicacion entera en .NET (algo que no es recomendado, pordeis usar esta funcion:
System.Diagnostics.Process.GetCurrentProcess.Kill()
