|
it really depends on how your company uses the database. if they do a simple, dirty persistance model then you dont actually ever write any sql or care about the database design. if its a big company you probably have dbas who will handle all the data design and sql for you (dbas should be comp sci people, not cjs). if its a smaller one where you're going to be sharing responsibility for data design, writing sql, and writing code, then they probably already have something established that you'll learn when you get in there. if you're starting from scratch then get ready to learn by trial and error!
|
# ? Dec 4, 2012 20:05 |
|
|
# ? May 9, 2024 03:27 |
|
Jonny 290 posted:here have an unrelated one liner
|
# ? Dec 4, 2012 21:27 |
|
that was actually hosed up and an improper use of ?: here code:
|
# ? Dec 4, 2012 21:49 |
|
This old guy at work keeps telling me to learn perl. Jonny is that u c/d.
|
# ? Dec 4, 2012 21:53 |
|
perl is good and people telling you that perl "leads to unreadable spaghetti code" is a good way to tell who the bozos are
|
# ? Dec 4, 2012 21:54 |
|
perl's a good hammer if you need to drive nails its poo poo for gui or efficiency stuff but it is really does seem to be the best glue code language out there
|
# ? Dec 4, 2012 21:55 |
|
Shaggar posted:it really depends on how your company uses the database. if they do a simple, dirty persistance model then you dont actually ever write any sql or care about the database design. if its a big company you probably have dbas who will handle all the data design and sql for you (dbas should be comp sci people, not cjs). if its a smaller one where you're going to be sharing responsibility for data design, writing sql, and writing code, then they probably already have something established that you'll learn when you get in there. shaggar was right
|
# ? Dec 4, 2012 22:01 |
|
Jonny 290 posted:perl's a good hammer if you need to drive nails (not high-level audio/video editing obv)
|
# ? Dec 4, 2012 22:09 |
|
perlschool: what does that line noise do command line switches: -e says 'i want to type a program in', -n means 'read a filename from the command line and wrap the "-e program" in a foreach loop, iterating through that file' and -a means 'as you iterate through each line, split the line on spaces into an array named @F' the above code takes input from a giant file that is just a tee output from running show commands on a controller pre:APUS-0000-209 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 1.23.42.19 ^M APUS-0000-218 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 7 11.23.42.73 ^M APUS-0000-244 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 11.23.42.49 ^M APUS-0000-300 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 11.23.42.63 ^M APUS-0000-403 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 11.23.42.34 ^M APUS-0000-400 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 11.23.42.88 ^M APUS-0000-308 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 1 11.23.42.03 ^M APUS-0000-303 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 1.23.42.74 ^M APUS-0000-401 Cityname, VA 0000 B4-C7-99-00-11-22 2 W-W 0 11.23.42.39 ^M ... APUS-0000-305 s-TCM-01.s00000.savemoney.livebetter.com 12.34.5.22 cisco WS-C3750X-24P ge1 GigabitEthernet2/0/7 full ^M APUS-0000-206 s-TCE-01.s00000.savemoney.livebetter.com 12.34.5.38 cisco WS-C3750X-24P ge1 GigabitEthernet4/0/7 full ^M APUS-0000-008 s-TCK-01.s00000.savemoney.livebetter.com 12.34.5.26 cisco WS-C3750X-24P ge1 GigabitEthernet1/0/24 full ^M APUS-0000-139 s-TCL-01.s00000.savemoney.livebetter.com 12.34.5.24 cisco WS-C3750X-24P ge1 GigabitEthernet1/0/18 full ^M APUS-0000-209 s-TCO-01.s00000.savemoney.livebetter.com 12.34.5.18 cisco WS-C3750X-24P ge1 GigabitEthernet2/0/4 full ^M APUS-0000-175 s-TCN-01.s00000.savemoney.livebetter.com 12.34.5.20 cisco WS-C3750X-24P ge1 GigabitEthernet2/0/12 full ^M APUS-0000-401 s-TCP-01.s00000.savemoney.livebetter.com 12.34.5.16 cisco WS-C3750X-24P ge1 GigabitEthernet2/0/23 full ^M APUS-0000-227 s-TC100-01.0000.savemoney.livebetter.com 12.34.5.52 cisco WS-C3750X-48P ge1 GigabitEthernet2/0/43 full ^M APUS-0000-222 s-TC100-01.0000.savemoney.livebetter.com 12.34.5.52 cisco WS-C3750X-48P ge1 GigabitEthernet2/0/41 full ^M APUS-0000-153 s-TCN-01.s00000.savemoney.livebetter.com 12.34.5.20 cisco WS-C3750X-24P ge1 GigabitEthernet1/0/11 full ^M APUS-0000-231 s-TCP-01.s00000.savemoney.livebetter.com 12.34.5.16 cisco WS-C3750X-24P ge1 GigabitEthernet1/0/17 full ^M APUS-0000-166 s-TCF-01.s00000.savemoney.livebetter.com 12.34.5.36 cisco WS-C3750X-24P ge1 GigabitEthernet1/0/14 full ^M then map loops through it and builds our CSV: pre:APUS-0000-205,s-TCO-01.s00000.savemoney.livebetter.com,GigabitEthernet3/0/3,B4-C7-99-11-22-33 APUS-0000-206,s-TCE-01.s00000.savemoney.livebetter.com,GigabitEthernet4/0/7,B4-C7-99-11-22-33 APUS-0000-207,s-TCE-01.s00000.savemoney.livebetter.com,GigabitEthernet4/0/9,B4-C7-99-11-22-33 APUS-0000-208,s-TCE-01.s00000.savemoney.livebetter.com,GigabitEthernet2/0/1,B4-C7-99-11-22-33 APUS-0000-209,s-TCO-01.s00000.savemoney.livebetter.com,GigabitEthernet2/0/4,B4-C7-99-11-22-33 APUS-0000-210,s-TC100-01.s00000.savemoney.livebetter.com,GigabitEthernet1/0/45,B4-C7-11-22-33-44
|
# ? Dec 4, 2012 22:09 |
|
Jonny 290 posted:perl's a good hammer if you need to drive nails for a gui it depends on what you need. for a user facing app it's not great (i mean it has gtk bindings like everything else but mleh). for internal stuff that doesn't have to look pretty but you want a gui and you want it done quick and with minimum hassle, perl/Tk is actually pretty neat and convenient
|
# ? Dec 4, 2012 22:31 |
|
Otto Skorzeny posted:for a gui it depends on what you need. for a user facing app it's not great (i mean it has gtk bindings like everything else but mleh). for internal stuff that doesn't have to look pretty but you want a gui and you want it done quick and with minimum hassle, perl/Tk is actually pretty neat and convenient perl has adequate gtk bindings and tolerable win32 gui bindings and perl objC bridging for cocoa and perl java bridging for awt/swing perl is not particularly good for anything perl is not particularly bad for anything except SOAP gently caress perl SOAP::Lite forever ironic that the world's best glue language doesn't also make good soap
|
# ? Dec 5, 2012 01:43 |
|
Notorious b.s.d. posted:gently caress SOAP forever
|
# ? Dec 5, 2012 01:47 |
|
SOAP < XMLRPC CSV < TSV Sometimes simpler is just better.
|
# ? Dec 5, 2012 04:45 |
|
Meiwaku posted:CSV < TSV Unit separator you scrub lord
|
# ? Dec 5, 2012 05:07 |
|
Hard NOP Life posted:Unit separator you scrub lord preach it
|
# ? Dec 5, 2012 05:12 |
|
tef posted:operator precedence is for weenies
|
# ? Dec 5, 2012 05:21 |
|
soap owns and is the best
|
# ? Dec 5, 2012 06:51 |
|
Shaggar posted:soap owns and is the best unusual sentiment for a goon
|
# ? Dec 5, 2012 06:51 |
Sniep posted:unusual sentiment for a goon
|
|
# ? Dec 5, 2012 06:54 |
|
|
# ? Dec 5, 2012 08:30 |
|
nuke it from teh cloud
|
# ? Dec 5, 2012 08:31 |
|
Gobol amirte
|
# ? Dec 5, 2012 09:12 |
|
Hard NOP Life posted:Unit separator you scrub lord Cocoa Crispies posted:preach it
|
# ? Dec 5, 2012 09:30 |
|
Notorious b.s.d. posted:perl has adequate gtk bindings i made a perl gtk app for work and it sucked a bit, so i made the next program in C# + gtk# and well, i dont think i will do that again
|
# ? Dec 5, 2012 10:48 |
|
writing 'clever' code is for ppl with small weiners
|
# ? Dec 5, 2012 10:49 |
|
confirmed
|
# ? Dec 5, 2012 11:02 |
|
Jonny 290 posted:perl's a good hammer if you need to drive nails i had to replace some perl glue code due to changed requirements, i did it with python and it was 4x as fast and way more readable hth basically taking some netflow data, doing some massaging and shoving it into a database, pretty straightforward stuff too. sqlalchemy was way quicker than raw sql in the perl code for some reason
|
# ? Dec 5, 2012 11:28 |
|
http://www.pltgames.com/competition/2012/12 heh
|
# ? Dec 5, 2012 13:30 |
|
my stepdads beer posted:i had to replace some perl glue code due to changed requirements, i did it with python and it was 4x as fast and way more readable hth yeah i guess i could see python filling that void somewhat. it still feels like babby's first code to me but it's not a bad language regardless i think that we all can agree that the answer to "what is perl 5's replacement?" will never be "perl 6"
|
# ? Dec 5, 2012 15:26 |
|
python is a terrible language that attempts to dumb down programming enough for random assholes to pick it up and in the process becomes a disaster
|
# ? Dec 5, 2012 15:28 |
|
Sniep posted:unusual sentience for a goon
|
# ? Dec 5, 2012 15:39 |
|
0xB16B00B5 posted:python is a terrible language that attempts to dumb down programming enough for random assholes to pick it up and in the process becomes a disaster
|
# ? Dec 5, 2012 15:43 |
how long would it take to train my dog to be turing complete
|
|
# ? Dec 5, 2012 15:48 |
|
my stepdads beer posted:i had to replace some perl glue code due to changed requirements, i did it with python and it was 4x as fast and way more readable hth let's not kid ourselves here, all the popular dynamic languages are so similar that going from writing your sql to using an orm (dbix::class, sqlalchemy etc) is a greater change than swapping languages, notwithstanding a dozen years of partisans on irc claiming otherwise
|
# ? Dec 5, 2012 16:05 |
|
Otto Skorzeny posted:let's not kid ourselves here, all the popular dynamic languages are so similar that going from writing your sql to using an orm (dbix::class, sqlalchemy etc) is a greater change than swapping languages, notwithstanding a dozen years of partisans on irc claiming otherwise yeah i started telling people this, "if you like python you will like ruby, it's basically the same language"
|
# ? Dec 5, 2012 16:06 |
|
liar liar
|
# ? Dec 5, 2012 16:20 |
Cocoa Crispies posted:yeah i started telling people this, "if you like python you will like ruby, it's basically the same language" python and ruby are actually rather different, hth
|
|
# ? Dec 5, 2012 17:25 |
|
no they're both p languages.
|
# ? Dec 5, 2012 17:34 |
|
python and ruby serve the same general purpose but ruby is sorta weird and isnt as widely adopted0xB16B00B5 posted:python is a terrible language that attempts to dumb down programming enough for random assholes to pick it up and in the process becomes a disaster wrong, python owns for what it is, which is basically to be an intelligent version of php
|
# ? Dec 5, 2012 17:45 |
|
|
# ? May 9, 2024 03:27 |
|
whenever i read about ruby i imagine anime eyed cartoon coders frolicking with woodland creatures in a glittery candyland i just can't get past this and take ruby seriously
|
# ? Dec 5, 2012 17:47 |