Langauges that need their runtimes installed can go fuck themselves.
Like c#?
Not since like 2002.
You can package ruby into standalone executables too, it's just not normally done because most ruby use is server-side where people want more control over the environment.
So today I spent nearly two hours looking for a bug in all the wrong places.
I'm working on the login page for this web app. The backend has all the code necessary for 2FA via app, phone and email, but it's not implemented on the frontend yet. My job is to wire that up and use ajax stuff so it's all a single page for the login.
I write JS stuff that sends some JSON with login credentials, and a method in the controller that accepts that and validates it and returns some JSON with the login state. That works just fine, and if the account doesn't have 2FA enabled it logs in properly.
Then I start on the bits to handle 2FA. I write the JSON receiver in the controller first, and I can log in with 2FA by just posting the auth code in a regular form. Great, now to hook that up to the jQuery bits. I write a new function for the ajax call, but realize it's identical to the bit for the first auth, so I change that to a single function that takes an additional URL argument.
Now the login bit works, but not the 2FA. The only different thing is the URL. In hindsight this was the obvious warning bell, but for some reason I decide it's the javascript bits that are wrong, because the 2FA validation method apparently gets no data whatsoever from the ajax call.
90 minutes later: oh look, I forgot the [FromBody] that populates the input model from the JSON in the request.
0
Options
SarksusATTACK AND DETHRONE GODRegistered Userregular
edited June 2016
I am two weeks into my first internship and it is a mixture of joy and misery.
I am using internal libraries to bring shit in COBOL files to the database, and the code for that was like the SMALLEST part of the actual task. Most of my time was spent being abused by the build system, SVN, build path fuckery, deploying* to Tomcat, talking to the REST API, and testing. And I have to use Eclipse.
I still have to figure out how to better test the code I wrote. I'd like to do more than eyeball a few entries and make sure nothing was mangled. I miss Python's zip function from itertools.
But it was really cool making a request to the API and seeing the database fill up with everything. One step closer to leaving COBOL behind! And I am gonna write hella documentation in the internal wiki about the stuff I figured out.
Had my third (and hopefully final) interview with a company I'm pretty excited for today.
I feel like I'm not exactly what they're looking for, but also that the person they're looking for doesn't exist, if that makes sense.
They want someone who knows SharePoint inside and out, can write custom C# SharePoint code, modify CSS/master pages, and also knows how to plan and architect a server farm for a global company from an administration standpoint.
There are maybe 10 people in the world that fit this job description I think. That being said, I think I'm doing pretty well and hope I get an offer. But I won't be upset if I don't, it just won't be a surprise.
Had my third (and hopefully final) interview with a company I'm pretty excited for today.
I feel like I'm not exactly what they're looking for, but also that the person they're looking for doesn't exist, if that makes sense.
They want someone who knows SharePoint inside and out, can write custom C# SharePoint code, modify CSS/master pages, and also knows how to plan and architect a server farm for a global company from an administration standpoint.
There are maybe 10 people in the world that fit this job description I think. That being said, I think I'm doing pretty well and hope I get an offer. But I won't be upset if I don't, it just won't be a surprise.
Yeah
When I'm looking for jobs, I like to keep in mind that the list of skills that they put forth is their "ideal" candidate. And just like your "perfect" partner, they only exist in your dreams.
Our job is to let them down gently, and bring them back to reality =P
Yeah, it's not something I want to have to do again. I get a little nostalgic chuckle every time I see whatever.someMethod pop up in my suggestions though.
I turned on Unity for the first time in years and it's easy enough now to actually get something done without needing to know half of Unity's classes. Kind of fun almost. And the automatic Visual Studio integration is just dandy
Posts
Got example code? I think I could use this actually.
Can you generate an anon type from the Json on the other end?
It grabs properties from the POST (I think it requires JSON, actually) and sticks matching properties into whatever you give the [FromBody] attribute.
though that looks pretty close to what I want
Like c#?
Not since like 2002.
You can package ruby into standalone executables too, it's just not normally done because most ruby use is server-side where people want more control over the environment.
PARKER, YOU'RE FIRED! <-- My comic book podcast! Satan look here!
Very cool stuff!
https://www.youtube.com/watch?v=kDXHzLOPv2s
PARKER, YOU'RE FIRED! <-- My comic book podcast! Satan look here!
merging this thread into my usual forum browsing
I love this site.
So today I spent nearly two hours looking for a bug in all the wrong places.
I'm working on the login page for this web app. The backend has all the code necessary for 2FA via app, phone and email, but it's not implemented on the frontend yet. My job is to wire that up and use ajax stuff so it's all a single page for the login.
I write JS stuff that sends some JSON with login credentials, and a method in the controller that accepts that and validates it and returns some JSON with the login state. That works just fine, and if the account doesn't have 2FA enabled it logs in properly.
Then I start on the bits to handle 2FA. I write the JSON receiver in the controller first, and I can log in with 2FA by just posting the auth code in a regular form. Great, now to hook that up to the jQuery bits. I write a new function for the ajax call, but realize it's identical to the bit for the first auth, so I change that to a single function that takes an additional URL argument.
Now the login bit works, but not the 2FA. The only different thing is the URL. In hindsight this was the obvious warning bell, but for some reason I decide it's the javascript bits that are wrong, because the 2FA validation method apparently gets no data whatsoever from the ajax call.
90 minutes later: oh look, I forgot the [FromBody] that populates the input model from the JSON in the request.
I am using internal libraries to bring shit in COBOL files to the database, and the code for that was like the SMALLEST part of the actual task. Most of my time was spent being abused by the build system, SVN, build path fuckery, deploying* to Tomcat, talking to the REST API, and testing. And I have to use Eclipse.
I still have to figure out how to better test the code I wrote. I'd like to do more than eyeball a few entries and make sure nothing was mangled. I miss Python's zip function from itertools.
But it was really cool making a request to the API and seeing the database fill up with everything. One step closer to leaving COBOL behind! And I am gonna write hella documentation in the internal wiki about the stuff I figured out.
*copying the .war file to the test server
I hate to break it to you, but... this is actually quite normal...
Most programs work perfectly... at doing something other than what you need them for.
I feel like I'm not exactly what they're looking for, but also that the person they're looking for doesn't exist, if that makes sense.
They want someone who knows SharePoint inside and out, can write custom C# SharePoint code, modify CSS/master pages, and also knows how to plan and architect a server farm for a global company from an administration standpoint.
There are maybe 10 people in the world that fit this job description I think. That being said, I think I'm doing pretty well and hope I get an offer. But I won't be upset if I don't, it just won't be a surprise.
Yeah
When I'm looking for jobs, I like to keep in mind that the list of skills that they put forth is their "ideal" candidate. And just like your "perfect" partner, they only exist in your dreams.
Our job is to let them down gently, and bring them back to reality =P
Yeah it's a big change from school where 94% of the work was code with the remaining 6% being the one semester we had to use makefiles.
In school they tell you what to write and how to write it though, which eliminates the most massive portion of work: thinking
Crashing. Most programs are good at crashing
IDEs, where you least expect them
I've edited code on a tablet before. It was not an enjoyable experience, and now swiftkey's user dictionary has a bunch of method calls in it.
Well, I guess a phone might be worse
Try coding on a phone through no editor other than TFS Online.
Sometimes bugs have to be fixed.
I wouldn't even offer that up as an option.
edit text in Vim via Twilio's text message API no matter your phone or your network
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.