Shaggar posted:c#'s configuration manager is bad rear end. you mean piss
|
|
# ? May 13, 2013 16:02 |
|
|
# ? May 10, 2024 00:36 |
|
prefect posted:yeah, i'm doing a section that's name-value pairs, but it now looks like i'll need a second section where it's a list of patterns that i have to match the computer name against is this some sort of deployment thing where you do different settings for different servers? if so look into slowcheetah. if this is client side stuff, lol sorry have fun
|
# ? May 13, 2013 16:04 |
|
OBAMA BIN LinkedIn posted:use vim if ur serious about your text editing
|
# ? May 13, 2013 16:08 |
|
Cold on a Cob posted:is this some sort of deployment thing where you do different settings for different servers? if so look into slowcheetah. if this is client side stuff, lol sorry have fun i'm trying to rewrite a vbscript into c#, partly as a learning experience, partly because the vbscript occasionally hangs itself for no good reason when trying to load xml files and yes, it runs on the client machines prefect fucked around with this message at 16:25 on May 13, 2013 |
# ? May 13, 2013 16:17 |
|
Cold on a Cob posted:is this some sort of deployment thing where you do different settings for different servers? if so look into slowcheetah. if this is client side stuff, lol sorry have fun vs2012 has slowcheetah built in for the default config files (app.config, web.config,etc...)
|
# ? May 13, 2013 16:21 |
|
Shaggar posted:vs2012 has slowcheetah built in for the default config files (app.config, web.config,etc...) oh yeah? cool. maybe i'll upgrade this year, after i get a new machine. 2010 is bad enough on this pos laptop.
|
# ? May 13, 2013 16:27 |
|
I need to get an ssd cause this spinny drive sucks, but vs2012 is still decently fast.
|
# ? May 13, 2013 18:09 |
|
Cold on a Cob posted:yo here's a thing if you want to learn vim and graduate to a better level of coding played this a bit, it seems like good practice, but goddamn $25 for this is wayyyyy overpriced.
|
# ? May 13, 2013 18:37 |
Shaggar posted:the most glaring of these mistakes is no checked exceptions.
|
|
# ? May 13, 2013 18:49 |
|
Shaggar posted:I need to get an ssd cause this spinny drive sucks, but vs2012 is still decently fast. i have a core2duo 2.4 GHz w/ 4 gigs of ram running win7 (32 bit lol) the disk is 7200 rpm too i don't get why it's so bad/slow everything just chugs but outlook and vs2010 are the worst
|
# ? May 13, 2013 18:54 |
|
lamao at people seriously suggesting vim and saying it's not an unusable piece of poo poo ah yes let me just :%s/fart/burp/g /my posts n n n n n 5dd :14 p trap sprung
|
# ? May 13, 2013 20:00 |
MeruFM posted:lamao at people seriously suggesting vim and saying it's not an unusable piece of poo poo go back to gbs
|
|
# ? May 13, 2013 20:10 |
|
vim because cmd/ctrl-f is too mainstream sublime text allows directory grep without the need to memorize all your directories. It even improves upon grep because it searches while you type. it has regex search while you type most of the hotkeys for it have parity with other tools and IDEs it's much easier to install user made plugins it has a toolbar for more obscure features with the keyboard command next to it so you can learn it without consulting a wiki. i'm sorry you don't like the last 20 years of UI improvements this is all without going through a million tweaks and plugins to fix everything MeruFM fucked around with this message at 20:42 on May 13, 2013 |
# ? May 13, 2013 20:39 |
|
sublime
|
# ? May 13, 2013 21:12 |
|
MeruFM posted:ah yes let me just :%s/fart/burp/g best vim command
|
# ? May 13, 2013 21:29 |
|
are you fuckers serious about checked exceptions
|
# ? May 13, 2013 21:38 |
|
Hellsworn Barn posted:are you fuckers serious about checked exceptions do you even shaggar ????
|
# ? May 13, 2013 21:40 |
|
no i do not shaggar and no i do not like checked exceptions
|
# ? May 13, 2013 21:42 |
Hellsworn Barn posted:no i do not shaggar and no i do not like checked exceptions when a trivial error can kill your program then you should drat well have to make sure that is what you intended
|
|
# ? May 13, 2013 22:56 |
|
I like to put the oddcode:
in my code, you know, coz gently caress computers
|
# ? May 13, 2013 23:36 |
|
OBAMA BIN LinkedIn posted:when a trivial error can kill your program then you should drat well have to make sure that is what you intended i read this as indented then laughed about p-langs which will implode if not properly indented
|
# ? May 14, 2013 00:50 |
|
Var helps terrible programmers like me, and with type erasure why would c# not have it? Also checked exceptions, I think it's annoying when resharper nags about possible null-pointer stuff...
|
# ? May 14, 2013 07:31 |
|
how do i map a network drive with c#? (i'm having a tough time finding what i need in the dot-net class library reference) shaggar, i apologize for arguing with you all the time
|
# ? May 14, 2013 12:29 |
|
prefect posted:how do i map a network drive with c#? there's no straight up native .net way to do it iirc easiest way to do it and avoid the windows api is do a process.start to invoke "net.exe use \\server\path\goes\here\"
|
# ? May 14, 2013 12:39 |
|
So what does the future hold for our terrible programmer? Job out of college at some boring company dumb enough to hire you. Maintaining bad internal business apps. Never getting the time to work on making things better internally so that you're always stuck maintaining poo poo code. Being annoyed at your management because they don't know anything about software and will literally believe anything a sales rep says. Browsing the web and Facebook and yosposting out of boredom/resentment and barely doing any work (nobody notices the difference). Hating computers and your stupid colleagues. Dealing with outsourced developers that are so bad that you have to be their tester just to make sure things get done. Picking a fight with the CJs over server access or deployment or something else they're bad at. Reading some development books/sites, subsequent anger that your company does none of the things you view as "good". Getting laid off or quitting in disgust, continue cycle at new company. Becoming the bitter old guy by 28. Watching porn at work. Getting lousy raises based on things out of your control. Finding excuses to walk by the new receptionist's desk. Drinking at lunch. Becoming a manager, dying inside. Why do all this when you can kill yourself now?
|
# ? May 14, 2013 16:04 |
|
lol if you try to get fulfillment at work it's a job, just do it, go home, and then do whatever really makes you happy or makes you feel accomplished
|
# ? May 14, 2013 16:07 |
|
Cold on a Cob posted:http://www.theonion.com/articles/find-the-thing-youre-most-passionate-about-then-do,31742/
|
# ? May 14, 2013 16:14 |
|
Cold on a Cob posted:lol if you try to get fulfillment at work if you don't have anything that makes you feel happy/accomplished, you can pass the time before death with video games and recreational chemicals
|
# ? May 14, 2013 16:16 |
|
The Management posted:So what does the future hold for our terrible programmer? Job out of college at some boring company dumb enough to hire you. Maintaining bad internal business apps. Never getting the time to work on making things better internally so that you're always stuck maintaining poo poo code. Being annoyed at your management because they don't know anything about software and will literally believe anything a sales rep says. Browsing the web and Facebook and yosposting out of boredom/resentment and barely doing any work (nobody notices the difference). Hating computers and your stupid colleagues. Dealing with outsourced developers that are so bad that you have to be their tester just to make sure things get done. Picking a fight with the CJs over server access or deployment or something else they're bad at. Reading some development books/sites, subsequent anger that your company does none of the things you view as "good". Getting laid off or quitting in disgust, continue cycle at new company. Becoming the bitter old guy by 28. Watching porn at work. Getting lousy raises based on things out of your control. Finding excuses to walk by the new receptionist's desk. Drinking at lunch. Becoming a manager, dying inside. sounds like your job sucks, the only thing here that applies to me is "watching porn at work"
|
# ? May 14, 2013 16:18 |
|
Tiny Bug Child posted:sounds like your job sucks, the only thing here that applies to me is "watching porn at work" you got it worse than me. i got bored with coding for fun because of coding for work, at least watching porn is still fun for me
|
# ? May 14, 2013 16:20 |
|
maybe you should write porn apps for fun
|
# ? May 14, 2013 16:35 |
|
Tiny Bug Child posted:sounds like your job sucks, the only thing here that applies to me is "watching porn at work" I'm actually a great programmer so none of that applies to me
|
# ? May 14, 2013 16:55 |
|
The Management posted:I'm actually a great programmer so none of that applies to me i'm not sure you're allowed in this thread or at least you're not allowed to be mean to us
|
# ? May 14, 2013 16:57 |
|
prefect posted:how do i map a network drive with c#? I don't think theres a way to do it which is probably cause its a userland feature and lots of c# stuff runs w/out user credentials. if you're just looking to access network files you can treat \\computer\sharename as any other folder in c#. if you want to map a drive for a user then shelling out to net use or a batch script or something is probably doable. e: looks like someone wrote a p/invoke wrapper for u http://www.codeproject.com/Articles/6847/Map-Network-Drive-API e2: other option is to include the windows script host libraries via COM http://techisolutions.blogspot.com/2011/12/map-network-drive-using-c-vbnet-code.html Shaggar fucked around with this message at 17:06 on May 14, 2013 |
# ? May 14, 2013 17:01 |
|
I was trying to save you a lifetime of agony, I don't see how I could be any more kind.
|
# ? May 14, 2013 17:01 |
|
Cold on a Cob posted:you got it worse than me. i got bored with coding for fun because of coding for work, at least watching porn is still fun for me sorry about your misogyny
|
# ? May 14, 2013 17:02 |
|
Tiny Bug Child posted:sorry about your misogyny i only watch organic vegan bespoke artisinal porn
|
# ? May 14, 2013 17:05 |
|
Shaggar posted:I don't think theres a way to do it which is probably cause its a userland feature and lots of c# stuff runs w/out user credentials. if you're just looking to access network files you can treat \\computer\sharename as any other folder in c#. if you want to map a drive for a user then shelling out to net use or a batch script or something is probably doable. i wound up shelling out but my program actually works! (people tell me i shouldn't be so surprised when things work)
|
# ? May 14, 2013 17:19 |
|
prefect posted:but my program actually works! gently caress those people, this is when programming is still super fun plenty of time to be jaded about coding in the future
|
# ? May 14, 2013 17:32 |
|
|
# ? May 10, 2024 00:36 |
|
prefect posted:i wound up shelling out one of the dirty secrets of .net is that on windows you have access to everything in com which is a whole shitload of stuff. you can also register your .net libraries in com too so old com poo poo can use them. what that means is if you've got some old rear end vb6 app and you want to do something like webservice or have a nice database model or w/e you can do that in .net and then expose it to the vb6 via com so you never need to upgrade from vb6!!!
|
# ? May 14, 2013 17:42 |