|
coffeetable posted:use a library it's not an actual .config file, just some data to set how some of my program works. maybe i should change it to a properly formatted config file so i can do it properly
|
# ? Jul 19, 2014 16:12 |
|
|
# ? Jun 5, 2024 22:45 |
|
pointsofdata posted:just checking: does setting variables from config files always look kind of crap? i've got a load of fields and a big stream reader method setting them one by one as it goes through the file in java use properties files that are either loaded via Properties class OR load the properties file via your spring config. in c# use appSettings if its a web or just regular Settings if its a desktop app
|
# ? Jul 19, 2014 16:14 |
|
this week's improvement: finished converting all my java stuff to use maven. should have done it ages ago, all the xml put me off but it's really not that bad and holy poo poo everything else is so good
|
# ? Jul 19, 2014 18:32 |
|
maven schemas are documented, editing poms in intellij is fuckin sw8
|
# ? Jul 19, 2014 19:09 |
|
use a property tree from the boost libraries
|
# ? Jul 19, 2014 19:55 |
|
In an effort to address the topic at hand asynchronous code gets run when something that cannot happen immediately would otherwise hold up execution of the thingy. So it goes on about doing other stuff instead of waiting. Then you have two threads both doing stuff once the first thing isn't waiting to execute anymore. This can cause all kinds of problems so it's important to know when it will happen and program with it in mind.
|
# ? Jul 19, 2014 23:21 |
|
concurrency and parallelism are different things. you can have non-blocking io without multiple threads executing at once, and you can have a parallel program that doesn't use anything asynchronous. the concepts often get confused because you can use threads to implement either one (although that is rarely the ideal solution)
|
# ? Jul 19, 2014 23:35 |
|
at some point i realized i am a terrible programmer. threads and locking are where monsters dwell. the only times i use concurrency OR parallelism is when a library does it for me. e.g. dispatching tasks to threadpools, handling http requests in threads. if i ever invoke a locking primitive or spawn a thread by hand the hair rises on the back of my neck.
|
# ? Jul 20, 2014 01:27 |
|
Notorious b.s.d. posted:at some point i realized i am a terrible programmer. yes
|
# ? Jul 20, 2014 01:40 |
|
i decided to do a quick tooling project in ruby why
|
# ? Jul 20, 2014 05:35 |
|
i thought about programming today, but i sat outside in the sun instead
|
# ? Jul 20, 2014 05:42 |
|
Notorious b.s.d. posted:at some point i realized i am a terrible programmer. threads and locking are where monsters dwell. handling synchronization myself has only ever led to pain and regret. if it seems like a threadpool wont handle my concurrency needs, generally the best thing is to reshape my problem until it will
|
# ? Jul 20, 2014 05:47 |
|
BONGHITZ posted:i thought about programming today, but i sat outside in the sun instead but my pasty skin
|
# ? Jul 20, 2014 05:53 |
|
Alfred Pennyworth: Took quite a BURN, didn't we, Master Bruce? Thomas Wayne: And why do we BURN, Bruce? So we can learn to pick OUR SKIN up.
|
# ? Jul 20, 2014 05:56 |
coffeetable posted:and while checking that i got the names right for those, ive just spotted Seven Concurrency Models in Seven Weeks which is deffo going on my reading list I bought this today as I think it seems like a nice book. It has a little blurb on the back from José Valim who is a cool guy.
|
|
# ? Jul 21, 2014 01:04 |
|
i was just browsing a website and it got really slow then there was a popup box that said "out of stack space"
|
# ? Jul 21, 2014 01:14 |
|
MeramJert posted:i was just browsing a website and it got really slow then there was a popup box that said "out of stack space"
|
# ? Jul 21, 2014 09:24 |
|
shockingly, company that wants to hire people who know c# doesn't want to hire me because i don't know c# they said they'd be glad to talk to me again after their current project is over though!!! in november lol i'm still really depressed because it's the only tech job that's interviewed me within 40 miles
|
# ? Jul 23, 2014 21:07 |
|
Luigi Thirty posted:shockingly, company that wants to hire people who know c# doesn't want to hire me because i don't know c# rejection sucks but you gotta keep trying
|
# ? Jul 23, 2014 21:24 |
|
Luigi Thirty posted:shockingly, company that wants to hire people who know c# doesn't want to hire me because i don't know c# All Programmers Should Know C# And Java
|
# ? Jul 23, 2014 21:27 |
|
Luigi Thirty posted:shockingly, company that wants to hire people who know c# doesn't want to hire me because i don't know c# i beliv in u luigi30
|
# ? Jul 23, 2014 21:28 |
|
Shaggar posted:All Programmers Should Know C# And Java shaggar... was right? Careful Drums posted:rejection sucks but you gotta keep trying i have the untreated sadbrains because lol retail insurance and it's hard enough to motivate myself to get out of bed let alone read this c# book that I saw in the op of the .net COBOL thread
|
# ? Jul 23, 2014 22:23 |
|
are you familiar with java? C# is that with more decorator things and lets you use .net so you get to use msdn instead of stackoverflow oh nevermind
|
# ? Jul 23, 2014 22:35 |
|
lol @ reading books, just lol i wish i could read books
|
# ? Jul 23, 2014 22:36 |
|
MeruFM posted:are you familiar with java? I know of it!!! I am okay at C++ and good at python but I do not use java outside of FactoryFactoryFactory jokes
|
# ? Jul 23, 2014 22:40 |
|
Luigi Thirty posted:I do not use java outside of FactoryFactoryFactory jokes this is pretty much everyone who makes these jokes
|
# ? Jul 23, 2014 23:02 |
|
Luigi Thirty posted:shockingly, company that wants to hire people who know c# doesn't want to hire me because i don't know c# we totally are just looking for smart, motivated people who can learn what they need to do the job oh wait after we interviewed you 4 times we realized that this would mean you don't already know everything you need to know to do the job. no thanks
|
# ? Jul 23, 2014 23:08 |
|
is there a good resource on making web pages that arent retarded. because i have to do a web at work and it's retarded and i'm retarded and i can feel the tech debt piling up. today i committed some JS that works but i don't know why and i dont care enough to figure it out. someone tell me how to make webs the right way and i have to use php so telling me to use razor and knockoutjs isnt gonna fly
|
# ? Jul 23, 2014 23:11 |
|
if you'r;e using php it sounds like its going completely by the book
|
# ? Jul 23, 2014 23:12 |
|
the php is actually going ok and the retardedness on the server is mostly under control. but i have to add features to a jquery form thing with tables and inline css everywhere. it was written by an intern if that helps to understand the problem i'm facing. it's like the idiot child of 1995 and single page webapps so how do i make it sane. preferably doing as little work as possible
|
# ? Jul 23, 2014 23:16 |
|
help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html on a production server you can even access the old versions by going to that url
|
# ? Jul 23, 2014 23:19 |
|
no you dont get it, thats exactly how php webdev plays out. you could i guess import your work into some php content management system but literally every single one is garbage and it sounds like you'd lose or be forced to rewrite a lot of your stuff at this point. lmao, tables and inline css. the only fix is a rope and a sturdy rafter
|
# ? Jul 23, 2014 23:22 |
|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html revoke his access to the server. you're in ops, right?
|
# ? Jul 23, 2014 23:24 |
|
my stepdads beer posted:revoke his access to the server. you're in ops, right? I like making outrageous amounts of money though!
|
# ? Jul 23, 2014 23:26 |
|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html install gentoo Kevin Mitnick P.E. posted:is there a good resource on making web pages that arent retarded. because i have to do a web at work and it's retarded and i'm retarded and i can feel the tech debt piling up. today i committed some JS that works but i don't know why and i dont care enough to figure it out. someone tell me how to make webs the right way make sure you echo() each line of HTML separately you don't want the server to get confused
|
# ? Jul 23, 2014 23:26 |
|
how can I cook a healthy gourmet meal? btw my only source of heat is a candle and I can't use any ingredients apart from regurgitated mcnuggets.
|
# ? Jul 23, 2014 23:27 |
|
Socracheese posted:no you dont get it, thats exactly how php webdev plays out. you could i guess import your work into some php content management system but literally every single one is garbage and it sounds like you'd lose or be forced to rewrite a lot of your stuff at this point. i was hoping for something more reassuring like "use angularjs it will totally fix everything"
|
# ? Jul 23, 2014 23:27 |
|
nah you're hosed basically
|
# ? Jul 23, 2014 23:30 |
|
hi i'd like to publish my novel, i painted all the words on the side of a burning shed, in sanskrit, whats a simple way to just automatically put my book onto amazon?
|
# ? Jul 23, 2014 23:34 |
|
|
# ? Jun 5, 2024 22:45 |
|
Kevin Mitnick P.E. posted:i was hoping for something more reassuring like "use angularjs it will totally fix everything" as long as everything includes "not using PHP"
|
# ? Jul 24, 2014 00:46 |