« first day (1845 days earlier)      last day (3104 days later) » 

5:01 PM
hello guys
between Visual Studio 2008 / Visual Studio 2015 for a project windows form using vb.net i will have different commands betweeen those versions ?
or the language stay the same ?
 
Chrome's dev tool let you throttle bandwidth. That's quite neat.
</random>
 
Pretty useful to see how pages load
we use it to demonstrate what "no optimisation" looks like
Lol
 
Hi there
 
@Squiggle: yeah, that comes in handy from time to time :)
 
I'll bet some business somewhere ends up using it to throttle access to a poorly optimised (but business critical) intranet webapp.
 
5:11 PM
Especially when trying out how the site would load when sitting on top of a mountain with only 2g/3g
haha
 
Lol
 
That would be awesome
 
All you need to do in the UK is go to the bottom of a hill
 
bad coverage?
 
Awful.
 
5:12 PM
:(
 
that and ISP regulation is really lax here
So they're not expected to fulfill obligation to provide what you pay for lol
that pisses me off no end.
"Hi, I'm not getting the speed I paid for."
"Have you considered downgrading?"
"No I want fast speeds."
"That's unfortunate, sir."
 
The coverage is pretty darn good here actually
 
It looks amazing
It's Warcraft btw
Not WoW.
 
Looking forward to that one
 
The Warcraft lore is extensive, way more than enough to make movies out of.
Not sure yet
No one really knows
 
5:17 PM
@Squiggle Twitter does this company-wide for an hour or two every tuesday
 
mm, that looks really good
 
Throttle to 2G
 
2g tuesday ye?
 
Yup
 
or what they call it
 
5:18 PM
@ton.yeung I am hoping they don't pussy out
And start from warcraft 1
Which was basically 8bit
Yeah I think they'll bitch out and just make an action movie honestly.
Not expecting a lot out of the story.
Good thing, it means they can cinematise the entire lore
I want them to surprise me with a great movie but I'm not expecting one :D
I'll pay to watch it though
 
@Sippy I have another question.

If I have a file with this in it:
000000046:Pickles:$2.99:836:03/11/2015:03/11/2016:$1.99
000000047:Pancake Mix:$5.99:124:03/11/2015:03/11/2016:$4.99
000000048:Vinegar:$7.99:021:03/11/2015:03/11/2016:$6.99
000000049:Vegetable Oil:$6.99:084:03/11/2015:03/11/2016:$5.99
000000050:Plain Bagels:$3.99:125:03/11/2015:03/11/2016:$2.99

How would I get only the last barcode digit (000000050)?
 
@kolton You can't.
not specifically
 
mmmmbagels
 
My friend says you can.
 
File.ReadAllLines().Last().Split(':').First();
 
5:20 PM
@kolton This is software, you can do anything!
 
That's the hack.
Or if there's a LastLineInFile()/similar method use that
more efficient
 
Get it into a data structure you can easily manipulate, then query that.
 
^
 
hello guys
between Visual Studio 2008 / Visual Studio 2015 for a project windows form using vb.net i will have different commands betweeen those versions ?
or the language stay the same ?
 
I did suggest JSON data storage
Serializing in and out of JSON is ezpz in .net
 
5:21 PM
It worked. Thanks Sippy
 
I feel dirty.
2
 
Lol
 
@gtzinos VS 2008 had VB.NET 9, and VS 2015 has VB.NET 14. It looks like there are many differences between those versions, but code written in VB.NET 9 should still run in VB.NET 14.
 
WINDOWS FORMS D:
 
SIPPY! I tried making it so it added 1, but it removed the zeros
 
5:25 PM
WHY ARE WE YELLING
OVERTHROW THE EMPIRE
 
YES
 
AFFIRMATIVE CAPTAIN
 
soooooooooooooooooooooo booooooooooooored
 
I figured out my dilemma
I needed to .PadLeft(9, '0');
 
@kolton Inherent issues with using .. whatever format that is.
 
5:28 PM
I figured it out sippy.
Shh
 
@Squiggle You ok?
Not in shock or anything?
 
So now I have:

textBox1.Text = barcodenext3.ToString().PadLeft(9, '0');
 
Hooray for unmaintainable code
 
Lmao
 
I couldn't be a lecturer
I'd cry all the time
 
5:29 PM
Like you do now?
 
There's nothing wrong with what you're writing for the amount of time you've been coding btw @kolton
 
Only not just at night?
 
And considering you don't do it professionally
Just wanna make clear I'm not hating.
I went to @KendallFrey and it came up with @loser instead
noob
 
sigh.
I headdesked
 
5:31 PM
fhghhh
 
@Jeremy I dont care for the code Visual Studio produce for me but only for the code i have to write. So the code i have to write will be the same for each of these versions ?
 
Owning domains is awesome
 
@Sippy I am learning to code. This project I am doing, I want to make sure it's 100% working and most efficient so in the future I can reference it.
 
Making database changes at 6:30pm, 10 minutes before deployment WHAT COULD POSSIBLY GO WRONG
 
@kolton Then rewrite it the way we're telling you to lol
What you're writing is not really what you wanna take with you to the future.
 
5:31 PM
@gtzinos If you use features added after VB.NET 9, then cno.
 
@kolton You will always look back at your old code with disgust. I don't think you can change that.
 
@Squiggle ROFLMAO
 
You can explicitly target VB.NET 9, though.
 
@Squiggle I pray for your sanity
 
@jeremy ok thank you
 
5:32 PM
I do
 
@KendallFrey I guess that makes sense. You change your ways as you do things.
 
Just keep in mind that the more disgusting your old code looks, the more you've learned.
 
@kolton The first easy change you can make is never give something a general name, the name should always reflect exactly what it is.
And should be immediately obvious to anyone reading your code what it is.
Naming things is often the hardest thing programmers have to do. :D
 
In fact, if you looked at code you wrote now before you wrote it, you'd probably be disgusted.
Seeing unreadable code is second nature to a programmer
 
I have to force myself to read it and reward myself afterwards
 
5:35 PM
i read all the code i wrote back in college, i cry
 
I always make comments on what things are doing
 
like this? int x = 2; //assign 2 to x
 
If you write the code better you won't need comments lol
 
comments are for explaining why
 
You'll need some comments for that ^
I get anxious when I see comments explaining how code snippets work
 
5:37 PM
s/explaining why/plebs/
 
There's a lot of them in this project.
 
codeshare.io/uFW7c This is what I do
 
What makes a device Wifi-direct compatible?
 
// Converting to integer
int barcodenext2 = Int32.Parse(barcodenext);
 
Lol
 
5:39 PM
:D
 
eek
Don't load the products from the file more than once lol
 
@kolton don't listen to sippy, do whatever makes it work
 
@Jeremy You're gonna get 'urt in a minute m8
 
Lol. I guess I could make it a variable so it loads only once.
 
yup, make it work then make it fast
 
5:41 PM
1. Make it work 2. Make it not suck
 
1. Make it work 2. Make it more efficient
 
Does it work?
 
Works
 
Then I'm right
 
@kolton things that aren't efficient usually suck, but not all that sucks is inefficient
 
5:41 PM
 
Lol
Sippy, funny thing is. My last name is Simpson
So it's perfect
 
Lol
If your file took 10 seconds to read
And you called it that many times in the code
You'd have a problem.
 
Never
 
@kolton: you comments too much on your code too :D
 
5:44 PM
// Initialize i to 0
int i = 0;
wow such ~clean code~
 
lol
the comments aren't bad
lol
would you rather have no comments
or a PCB
 
If someone asks me what something is, I will look at them with an evil eye.
Only because I have comments on everything
 
rip chat
 
RIP in piece
 
Did it die for anyone else or just me?
SO totally shit out haha
 
5:49 PM
@Sippy i'm sorry you're shit out
:D
 
Get more fiber in your diet
 
the coconut straw things at trader joe's have like 5g of fiber each
plus they're tasty :D
 
What's trader joe
 
a store's name
 
@Sippy Basically a hippie-flavored american Aldi
 
5:55 PM
hippie-flavored rofl
 
@Sippy Yup. A tinge of body odor and WASP angst in every bite.
 
6:07 PM
posted on November 04, 2015 by Visual Studio Blog

It’s been a year since we launched Microsoft Band and Microsoft Health. We’ve made a commitment to the developer community to make our ecosystem open and accessible on every platform. Since then, we delivered three developer tools around our devices and services: Microsoft Band SDK, Microsoft Band Web Tiles, and Microsoft Health Cloud APIs. And as our devices and services evolve, we

 
Lol, if you want hippie flavor go to Whole Foods.
Pretty much a starbucks crowd + vegan egotism
it's horrible there
the people that work there are judgemental arrogant pricks
 
@Failsafe Hm? What's wrong with Whole Foods, exactly?
It's expensive, for sure
 
Idk what it's like where you live but the one here is populated by a very arrogant crowd
meh I guess it depend's on where you live...
 
Any of you are freelancers or are working on remunerated side projects ? Where do you get your contracts from ? Are there good websites to help with that ?
 
@Jeremy it's higher quality than Aldi's I've found. I'm cheap as hell and I've bought things at Aldi's that I had to throw away
 
6:13 PM
@Codeman Definitely higher quality. But the layout and general philosophy is kind of Aldi-like
 
also... I work in the largest building by square feet on the west coast... and for some reason this team is having their standup less than a meter from my desk
only thing I don't like about TJs is the excessive packaging
 
@loser 1) Yes
2) People, HR
3) Not really, you need to talk to people or hire someone to do that
 
Whole Foods is expensive though :/
also - you're 100% right about the customers of Whole Foods. Many of them are entitled pricks. I've never had a problem with the employees though
 
is express the best option for mvc-ish node written with typescript?
 
Anyone know what kind of Lens/LCD HoloLens uses?
 
6:24 PM
I think it is a film on the screen with a projector
 
there has to be a lens right bc it's so close to the face
>
 
I'd think so
 
@CuddleBunny what do you mean..? Express has nothing to do with MVC
Express is used to service HTTP requests, nothing more
 
film on the screen+projector seems legit.. what kind of film and projector
I'll do some more googling
 
yeah, you can plug in a lot of middleware, but it's got nothing to do with MVC
 
6:27 PM
@SethKitchen reddit.com/r/HoloLens/comments/2v0nac/… <-- speculation
@Codeman yeah, I worded that bad, I mean I would structure my app that way and need to use node.js for this project. I don't particularly like express but most of the typescript samples use it. Meteor seems like overkill
 
Thanks for the link
 
@Squiggle Did everything blow up?
 
@Sippy not quite - but we're currently on the phone to the DBA interrupting his dinner.
 
@Squiggle Lol
 
god I hate this codebase :(
 
6:36 PM
@ton.yeung I'm not actually sure what I don't like about it. It's a weird feeling I get while writing it D:
Yeah, it is alright for small things
I'll probably just use it
eventually this stuff will run in electron so there won't be too much web stuff
 
            $('#rate1').find("a").each(function () {
                var buttonText = $(this).text();
                switch (buttonText) {
                    case "-":
There are so many things wrong with this that I cannot even.
 
Is there a way to view the build output on a TFS build? I can't find any way to see that.
 
I hate it when C# devs code JS like C# lol
 
jQuery: Letting bad developers write terrible UIs since 2006.
 
6:41 PM
@ton.yeung Don't
 
@ton.yeung don't you TypeScript, though?
 
And don't be pedantic you know I mean clientside :P
I still herp when I see try catch on clientside for stupid shit
Lol
I finally have a reason to pick up Node
Need to build a web api for a linux server
 
@Sippy Node vs WebAPI + Mono?
@ton.yeung I have a co-worker who has Docker running some pretty cool things with Amazon AWS
@ton.yeung They use Docker in production for their event management site (.net). Jenkins builds their docker image, pushes to AWS Beanstalk which in turn deploys it to an ec2 instance. they set it up for auto scaling and auto deployment.
It's an easy way of running .net on *nix eh?
 
+1 for WebAPI+Mono.
 
can it support a client application (WPF / WIn Form)?
 
6:45 PM
actually no
 
@RyanTernier I've basically been told don't ever use mono
 
+1 for Mono+NancyFx.
 
I'd make it using webapi + mono but mono is the bad apple.
Is it fine for web api shit?
 
@Sippy Why not vnext then?
 
Nancy is delightful. I've not used a framework so feather-light since Web.py or early Django.
 
6:47 PM
@ton.yeung Will take a look
Featherweight sounds good
 
@Sippy behold; a fully-functional web API:
public class SampleModule : Nancy.NancyModule
{
    public SampleModule()
    {
        Get["/"] = _ => "Hello World!";
    }
}
 
nice
Lol
@Squiggle Pub?
 
@Sippy plz
 
Someone should make a pint delivery service.
..
I should make a pint delivery service.
Why is that not a fucking thing
 
@ton.yeung A lot of contracts that come to my office and get pushed to me to assist them, I look at them and see: basic html... needs web service... basic html... needs web service. I tell them "Build your hTML5 sites, and hook it into a web api Web sevice for your calls. " They say "nooo, we were told to use MVVM and that it would take 10x your estmiate". I cry
 
6:49 PM
@ton.yeung great idea lol
gimbal drones wouldn't even spill any
 
A "contact us" page apparently requries a unique controller, 3 views, and data validation classes.... i say "build a damn HTML page, and call a RESTful web service". done.
@ton.yeung Nah, those were different quotes from other companies. CGI is pretty legit :) They always want me to lwoer my estimate to make it look better. :|
CGI F?
CGI works like the mob
 
> Functional, validation message not implemented yet due to unmaintainable code. This control needs rebuilding.
Fair comment?
 
@Sippy For a code review?
 
That's pretty much a direct diss to all the seniors who work here roflmao
 
hmm, express has changed a lot in a year...
 
6:53 PM
@RyanTernier Bug fix comment lol
 
Has anyone ever achieved to change the DataTables (DataTables.net) buttons (PDF,Excel ...) color?
 
The Control is Functional, however validation has not been implemented. I suggest that this control get reviewed to assess its maintainability and validation.
 
Ooo nice
 
@CodeMaster you'd probably get a better answer regarding 3rd party jQuery widgets elsewhere... ;)
 
yeah, it's not as bad as it was last time I touched it. I'll go with this.
 
6:55 PM
@Squiggle believe me, I tried many many times but most of them are out-dated answers.
 
@CodeMaster You confuse me with @PhoenixBlade @PB @PeanutButter @Codeman
 
@Sippy Best thing to do when putting in comments on bugs or tickets is to be 100% clear. IF a manager saw your comments they might freak out with the "holy cow rebuild it!? how much is that going to cost, who can do it, need a meeting, need a coffee, where's my coke" Suggesting to review and assess it calms them, which makes them like you better :)
 
Mr Peanut Butter???
 

« first day (1845 days earlier)      last day (3104 days later) »