|
akadajet posted:https://petitions.whitehouse.gov/petition/outlaw-programming-languages-threaten-safety-american-people-and-work-counter-our-way-life why isn't c and c++ there?
|
# ? Mar 22, 2016 18:17 |
|
|
# ? May 12, 2024 10:25 |
|
doin something random at work today in c# and had a file path too long exception https://blogs.msdn.microsoft.com/bclteam/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton/ heres a 9 year old article on msdn about file paths and how they are thinking about maybe doing something about it (they didnt)
|
# ? Mar 22, 2016 18:43 |
|
i just got hired as a C# dev with zero experience, i have found my new home in this thread
|
# ? Mar 22, 2016 18:56 |
|
how many figgies
|
# ? Mar 22, 2016 19:00 |
|
i got hired as a java dev with 0 experience a while back and my body and mind are being being destroyed by stress. the figgies and the hours are good, but the minutes are terrible.
|
# ? Mar 22, 2016 19:03 |
|
im only getting paid slightly above the bottom of the typical range given for my area and title from salary sites still more money than i know wat to do with
|
# ? Mar 22, 2016 19:08 |
|
right now i'm posting instead of working because they said this thing i got assigned should take me a couple days, but i'm almost done copy-pasting all the code
|
# ? Mar 22, 2016 19:10 |
|
HoboMan posted:im only getting paid slightly above the bottom of the typical range given for my area and title from salary sites make a fort out of the money, live in it
|
# ? Mar 22, 2016 19:11 |
|
Barnyard Protein posted:i got hired as a java dev with 0 experience a while back and my body and mind are being being destroyed by stress. the figgies and the hours are good, but the minutes are terrible. I like that. "The hours are good, but the minutes are terrible." Edit: Oh it's just a Hitchhikers Guide line.
|
# ? Mar 22, 2016 19:20 |
|
I've only done iOS and xamarin work and somehow I got stuck designing the DB and APIs for a new app at work. How to learn DB and API design? Also I'm picking SQL for the DB because I've read this thread enough
|
# ? Mar 22, 2016 19:28 |
|
no, use mongodb it's infintetly customizeable!
|
# ? Mar 22, 2016 19:31 |
|
just to be clear, don't use mongodb i was making a joke. i don't want my jokes to lead to someone actually using mongodb i would have trouble sleeping at night at the thought
|
# ? Mar 22, 2016 19:47 |
|
akadajet posted:https://petitions.whitehouse.gov/petition/outlaw-programming-languages-threaten-safety-american-people-and-work-counter-our-way-life java doesn't, but javascript and ruby sure do
|
# ? Mar 22, 2016 19:47 |
|
KidDynamite posted:I've only done iOS and xamarin work and somehow I got stuck designing the DB and APIs for a new app at work. How to learn DB and API design? Also I'm picking SQL for the DB because I've read this thread enough use MSSQL server and ASP.net 5 WebAPI
|
# ? Mar 22, 2016 19:51 |
|
poo poo, I am faced with a situation where there is no code I can just copy-paste to do the thing. i guess this gravy train was fun while it lasted
|
# ? Mar 22, 2016 19:54 |
|
HoboMan posted:i just got hired as a C# dev with zero experience, i have found my new home in this thread HoboMan posted:right now i'm posting instead of working because they said this thing i got assigned should take me a couple days, but i'm almost done copy-pasting all the code congratulations and welcome! HoboMan posted:poo poo, I am faced with a situation where there is no code I can just copy-paste to do the thing. i guess this gravy train was fun while it lasted welp, then
|
# ? Mar 22, 2016 20:03 |
|
the last dev on project python last day was today, so I am now the sole dev on it
|
# ? Mar 22, 2016 20:15 |
|
HoboMan posted:poo poo, I am faced with a situation where there is no code I can just copy-paste to do the thing. i guess this gravy train was fun while it lasted did you used to live in my upstairs? you sound like someone i used to know
|
# ? Mar 22, 2016 20:28 |
|
HoboMan posted:poo poo, I am faced with a situation where there is no code I can just copy-paste to do the thing. i guess this gravy train was fun while it lasted post problem here and copy paste code from replies
|
# ? Mar 22, 2016 20:35 |
|
AWWNAW posted:post problem here and copy paste code from replies what could possibly go wrong
|
# ? Mar 22, 2016 20:51 |
|
HoboMan posted:just to be clear, don't use mongodb i was making a joke. i don't want my jokes to lead to someone actually using mongodb i would have trouble sleeping at night at the thought besides, mongo is just too mainstream these days. you need to go for something even less widely known, preferably with the most hosed up data and consistency model you can find
|
# ? Mar 22, 2016 20:58 |
|
gently caress MySqlDataReader right now. Why won't it just work like SqlDataReader? I keep doing reader.read() but it gives me the same values every Read() call. I have a 3 row result set. I can execute and see the results in mysql but when the MySqlDataReader does it, it gives me three rows, but they are all the same row. I'm going to chalk this up to MySql because I'm not very good at programming, apparently
|
# ? Mar 22, 2016 21:07 |
|
YeOldeButchere posted:besides, mongo is just too mainstream these days. you need to go for something even less widely known, preferably with the most hosed up data and consistency model you can find CouchDB, I choose you!
|
# ? Mar 22, 2016 21:07 |
|
YeOldeButchere posted:besides, mongo is just too mainstream these days. you need to go for something even less widely known, preferably with the most hosed up data and consistency model you can find
|
# ? Mar 22, 2016 21:23 |
|
Finster Dexter posted:CouchDB, I choose you! I'd take couch over mongo any time. I mean postgres JSON makes them both pointless but at least couch actually wrote stuff to disk.
|
# ? Mar 22, 2016 21:31 |
|
Zaxxon posted:I'd take couch over mongo any time. I mean postgres JSON makes them both pointless but at least couch actually wrote stuff to disk. 100% agree, but conflict resolution in Couch is... interesting. The best part was that if a document got several conflicts, a DELETE request would get rid of the default document, and one of the other conflicted versions would happily take its place, leaving you to wonder why this document is still here that I just deleted. But yeah, count me as a fan of postgres JSON. I loved how Mongo's BI suite ended up just being a layer on top of postgres.
|
# ? Mar 22, 2016 21:35 |
|
lol if your not using potatobase in 2016
|
# ? Mar 22, 2016 21:40 |
|
Finster Dexter posted:gently caress MySqlDataReader right now. Why won't it just work like SqlDataReader? I keep doing reader.read() but it gives me the same values every Read() call. I have a 3 row result set. I can execute and see the results in mysql but when the MySqlDataReader does it, it gives me three rows, but they are all the same row. Oh dear god. It was my lovely SQL statement that was causing it. dammit I loving suck Spent all day trying to figure this out. holy loving poo poo e: I love that feeling though, of closing down like 20 browser tabs of google searches and stackoverflow questions. Feel like my day can finally begin Finster Dexter fucked around with this message at 21:59 on Mar 22, 2016 |
# ? Mar 22, 2016 21:56 |
|
you are in the right place
|
# ? Mar 22, 2016 21:58 |
|
can someone unpack this for me? i know what it returns but gently caress if i know what the hell 'p => p.Value' is or does or whatever (also p is no where else in this function) this is from a lovely c#/ASP.NET webapp by the way code:
HoboMan fucked around with this message at 22:01 on Mar 22, 2016 |
# ? Mar 22, 2016 21:58 |
|
Bloody posted:you are in the right place
|
# ? Mar 22, 2016 22:00 |
|
HoboMan posted:can someone unpack this for me? i know what it returns but gently caress if i know what the hell 'p => p.Value' is or does or whatever (also p is no where else in this function) => is a lambda function. It means Select(...) is passed a function that takes a parameter called 'p' and returns the result of 'p.Value' Edit: it looks like Select is what is called in every other function a map function on a list. It takes the CheckedItems property, calls ToList to turn it in to a list, calls Select/map to make a new list where every element gets an element in the new list from the result of the lambda function in Select, then ToArray turns it in to an array. Basically it just gives an array of the Value properties for whatever is in CheckedItems. piratepilates fucked around with this message at 22:05 on Mar 22, 2016 |
# ? Mar 22, 2016 22:01 |
|
HoboMan posted:can someone unpack this for me? i know what it returns but gently caress if i know what the hell 'p => p.Value' is or does or whatever (also p is no where else in this function) "p => p.Value" is a lambda expression - what this is doing is taking the collection fConfirmed.CheckedItems.ToList() and applying Select to that collection with that lambda. Select takes a lambda that takes a single parameter and returns a single value, and runs that function along each item in the collection; the return value of the lambda applied to each element is used to build a new collection. calling ToArray() on that enumerable forces evaluation (because Select is lazy) and creates the collection. it's a bit like this, but more concise: var newCollection = new List(); foreach(var x in collection) newCollection.Add(x.Value)
|
# ? Mar 22, 2016 22:03 |
|
piratepilates posted:=> is a lambda function. It means Select(...) is passed a function that takes a parameter called 'p' and returns the result of 'p.Value' Oh man, you're on the brink of understanding exactly how LINQ works. Very exciting time, tbh. Once I learned all about lambdas I became a LINQ master.
|
# ? Mar 22, 2016 22:03 |
|
linq is awesome & really good and functional programming is awesome & really good
|
# ? Mar 22, 2016 22:05 |
|
linq is so good that i get legit annoyed when i have to go back to java and write foreach loops like a caveman
|
# ? Mar 22, 2016 22:10 |
|
St Evan Echoes posted:linq is so good that i get legit annoyed when i have to go back to java and write foreach loops like a caveman Get out of the past man, Java got weirdo linq with the Java 8 streams. Some of linq while still having the weirdness of java
|
# ? Mar 22, 2016 22:11 |
|
Yeah, I want to get into more functional programming. I keep trying to convince my co-workers that we should write our services in F# but they just look at me weird. I had one other guy on my side, but then I left that job.
|
# ? Mar 22, 2016 22:12 |
|
i still have to target java 1.5 because reasons
|
# ? Mar 22, 2016 22:12 |
|
|
# ? May 12, 2024 10:25 |
|
St Evan Echoes posted:i still have to target java 1.5 because reasons I am sorry for your loss
|
# ? Mar 22, 2016 22:12 |