« first day (1535 days earlier)      last day (3639 days later) » 

18:00
Yeah, probably very hard to design something as inefficient as corporate IT even given plenty of time & resources.
user862319
Sure. ill consult for a big company any day of the week. That way I can have contractually-enforced autonomy over various departments.
@Bob Yeah, Phantom isn't reading the web-page.
user862319
Corporations exist not only for the shareholders, but also to employ vast numbers of unskilled individuals who would otherwise be out on the streets dealing drugs or something.
@Bob If it does, I can't figure it out.
user862319
@Greg did you try any of the examples?
18:04
@Bob Yeah, but I don't konw what JavaScript library it is calling to auto-read the page.
user862319
It isnt calling a javascript library
user862319
the phantomjs binary contains a headless webkit browser that is scripted by the javascript file you provide it.
Then, how do you execute the function? Everytime you hit enter it reads that line.
user862319
it tells it how to load the page and what to do with it
user862319
what function?
18:06
var page = require('webpage').create();
console.log('The default user agent is ' + page.settings.userAgent);
page.settings.userAgent = 'SpecialAgent';
page.open('http://www.httpuseragent.org', function(status) {
  if (status !== 'success') {
    console.log('Unable to access network');
  } else {
    var ua = page.evaluate(function() {
      return document.getElementById('myagent').textContent;
    });
    console.log(ua);
  }
  phantom.exit();
});
user862319
so thats saved off in a .js file, correct?
user862319
and you are running phantomjs <whatever>.js?
I thought I did.
user862319
works fine for me
F4z
F4z
18:10
teach me c# please someone.
user862319
@F4z how many hours do you have?
F4z
F4z
i was kidding about that but what if i said i have 24 hours
user862319
I would have said I can teach you about how long it takes for visual studio to install.
F4z
F4z
haha why is that?
user862319
because it takes a long time?
F4z
F4z
18:12
unless you have the ISO
regardless
F4z
F4z
but i agree it takes damn long time IF you're using the web installer
user862319
web installer is faster for me than a mounted iso
F4z
F4z
o weird.
user862319
then again my internet is retarded fast
18:13
Says it can't find variable named unitTest?
F4z
F4z
i get a max of 1 mb download speed and i live in a first world country...
user862319
lol 1mb
F4z
F4z
ikr.
and that's the PEAK.
THE PEAK.
@Bob How are you supposed to type it in console? UnitTest.js 'https://www.url....'?
user862319
ive got a 10GbE connection to my switch+router/squid proxy and then a 300mbps wan connection
user862319
18:16
actual first world country
F4z
F4z
usually around 600 - 800 kbps, but steam downloads go upto 999 kb
lol that's crazy
I think I just need to upgrade
user862319
if the binary i am downloading is in the squid cache, it pretty much saturates my lan
user862319
yeah anything under 1mbps is horrible. You cant even netflix on that :(
F4z
F4z
I've been surviving with that for over 7 years!
so i can imagine how excited i'd be if I had your net speed
user862319
you get jaded really fast
18:24
Mhmm, what's the fastest available at your place?
user862319
but the other way around is bad lol... going to someone's internet thats less than 10mbps makes me want to scream.
F4z
F4z
yea, that's like using window 8 and getting used to it and then going to windows 98
Meh, 10 Mbps isn't bad. Unless you wanna do some large downloads. I have 10, and I'm loving it
F4z
F4z
i had a bit trouble with xp as in trying to find certain stuff and doing stuff after using 7 for soo long and even 8
I have something like 70Mbps on my cell phone
user862319
18:26
10mbps isnt bad until its steam winter sale time and you want to play a 20gb game 5 minutes ago.
user862319
I had farcry 4 installed in something like 15 minutes.
At this point, KSP is consuming my life (again)
user862319
did they finally multiplayer it?
For the first time, there is actully something hard to do
@Bob nope, but it's beta than ever
user862319
I saw that... what changed?
18:30
upgradable buildings are the biggest change to gameplay since... ever?
It's properly hard
user862319
oh yeah reading patch notes
user862319
This looks fantastic. I will have to spool it up tonight.
I suppose if you build Kennedy Space Centre (for example) and can never so much as replace the coffee machines, that'd put your space programme on a pretty different trajectory
upgrades make sense
user862319
challenge is good. I like the idea of starting from zero.
Sorry folks, we're stuck with segregated bathrooms. Tech tree doesn't allow us to change it.
18:32
yeah, it's nice in a twisted kind of way to not be able to use even the most basic flight computers at the start
@TomW I don't care about the tech tree anymore
I used to play all science focused, now I'm always busy just trying to get money
@KendallFrey have not played. I was just amused by the idea of not having upgradeable buildings
F4z
F4z
@Bob How good is far cry 4?
user862319
it looks nice. I like the secret ending.
F4z
F4z
a lot of people keep saying that it's far cry 3.5 but then no game is really the same... even though its the same franchise and a little is changed
user862319
F4z
F4z
18:34
nooo
user862319
possible spoilers...?
F4z
F4z
yes
i want to get it and play it
user862319
not really though
user862319
its just the first 15 minutes(ish) of the game with a funny way to end it
18:38
lol
F4z
F4z
i'm still waiting for the hoverboard
and for marty to come visit me
I just watched BTTF2 with my 4 and a half year old son a few days ago.
Think McFly THINK!!!
That was on when I was at my brother's on the 26th
He does Hell-oooo McFly, HELLOOO whack to me a lot, surprisingly enough
F4z
F4z
If C# was created using C then what was C created in?
and what was the creater or C created in?
there has to be a starting point am i right??
It goes to assembly pretty fast
Somebody had to write an assembler, presumably in machine language
I feel sorry for that person
F4z
F4z
18:48
why is that?
is it that hard?
@F4z Have you ever seen machine code?
Having done assembly, going down another level sounds like pain
@F4z read up something called a boot strapper
@BradleyDotNET well... basic assembly is just synonyms for machine code
@BradleyDotNET it gets more complicated when you have lots of symbolic stuff, but yeah...
@Pheonixblade9 If he googles bootstrapper, he won't find anything related to his question
F4z
F4z
Machine code seems like WTF
18:50
In computer science, bootstrapping is the process of writing a compiler (or assembler) in the target programming language which it is intended to compile. Applying this technique leads to a self-hosting compiler. Many compilers for many programming languages are bootstrapped, including compilers for BASIC, ALGOL, C, Pascal, PL/I, Factor, Haskell, Modula-2, Oberon, OCaml, Common Lisp, Scheme, Java, Python, Scala, Nimrod, Eiffel, and more. == Advantages == Bootstrapping a compiler has the following advantages: it is a non-trivial test of the language being compiled. compiler developers only need...
@KendallFrey boom.
although I don't know that C# is bootstrapped...
It is now
I'm pretty sure it is
ah, good point
I don't think it used to be, though
F4z
F4z
can you do exactly what c# does with other languages?
18:51
Do I suffix a method that just wraps a Task.Run Async?
F4z
F4z
so if iwas to make a game in c# and replicate it in vb.net is it possible?
@F4z sure
yup: C# and Visual Basic .NET via Microsoft Roslyn
F4z
F4z
the only difference is the syntax?
18:53
@F4z there are a decent amount of language feature discrepancies.
user862319
I am not sure c# totally qualifies....
any language can compile to .NET and access the same features
sometimes you have to write completely different code though
Theoretically, you can do anything in any turing complete language
C#/VB is a easier translation because they both use .NET/CLR
user862319
so we pretend the CLR is part of the system and doesn't need to be built?
18:54
@Bob CLR has nothing to do with the C# compiler
CLR is totally separate from C#...
F4z
F4z
Minecraft was created using JAVA and then later C# for ps3 and xbox, results were near similar
@F4z that's called porting.
Codename: Spartan
@F4z The word is "port"
18:55
Sure, the results were similar
Personally, I can't wait.
no doubt the code was very different
F4z
F4z
so when you port something results are the same or just have very few differences?
a true "port" has very few differences
user862319
Yes the CLR is separate from c#, but it is the environment in which the code must execute...
18:55
@F4z when you port something you make them as close to identical as possible
in terms of what the user sees at least
as with most things in engineering, it depends
F4z
F4z
fare fare..
@Bob Yes, unless you're using a C# compiler that compiles to something other than CIL
user862319
@KendallFrey Can you provide me with an example of one of these?
18:58
COSMOS maybe
There aren't many, for the fact that .NET is a perfectly reasonable platform
quite a few languages have been "ported" to .NET
F4z
F4z
tumblr community is funny.
MS is working on a new browser to replace IE.
F4z
F4z
Really?
F4z
F4z
any idea what it's called?
19:01
To buy Stanley Parable or not to buy
@KendallFrey - Sounds like a lot of reading
F4z
F4z
batman is such a badass.
but he is soo arrogant
I'm just judging him by the games, i.e. Arkham Origins. he sounds soo rude to Alfred
so I'm procrastinating telling my boss I have a job offer... ugh
@Pheonixblade9 just got a job offer - figuring out the same thing
19:09
well I decided I will take it pending my boss giving me a better offer
@Pheonixblade9 you must have already decided whether you want to go or not?
You know the common tropes about counter-offers, right?
@TomW if you accept the counter offer, you leave or are fired within 3 months anyways?
Yes, there is that
what are you referring to?
also:
- they'll perceive that you can be bought and that's your price, and treat you accordingly
- you can only do it once
19:13
oh I know, I haven't done it before
and I'm no fool and neither is my boss. I'm not working here because it's a treat, I'm selling my time and that IS my price
Until you get another offer
Is that ok with everyone?
hah, speak of the devil, recruiting manager just emailed me
@Pheonixblade9 - You are being recruited by the devil?!
haha, no, she's a nice lady :)
ugh. I don't wanna do this but I have to
So yes then
19:15
if somebody offers you more money, you should take it unless you're in love with your job
there is no loyalty any more
it's the sad truth
long gone are those days
sfw?
Which movie is that from?
Suppose you are the devil. And suppose you are an attractive woman with a pleasant demeanour. But I repeat myself...
@ton.yeung - Ah, right. Never saw it :)
decent movie
blah
so I got the 10 days of Kwanzaa or Whatever from Cards Against Humanity. One of the gifts was 1sqft of an island in Maine. Long story short... I got a little vacation place in Maine now ;)
19:33
6 acres - you can use to party when ever
yep
only rule was we can't break the law, which is fine
is great idea - who is paying the taxes lol
they are
they said they're taking care of taxes and everything
ya I did not read over the paper work much
@Pheonixblade9 that sounds better than when they sold people boxes of bullshit
If it wasn't actually bull shit, would that still fulfil the terms of the sale, do you think? What you got in that case was metaphorically what you asked for
19:37
TFS can't search changeset messages? areyoufuckingkiddingme.jpg
F4z
F4z
Has anyone watched Legend of Korra?
user862319
loltfs
@ton.yeung white background pls
F4z
F4z
To whoever has, 9gag.com/gag/aLQNNQA
They should rebrand it Windows Team Foundation Server. WTFS.
19:40
Ha the name of the island is Hawaii 2
Anyone know why this error might be happening:
Event message: Viewstate verification failed. Reason: Viewstate was invalid.
I've already modified the machine key, issue still persist.
20:11
@TomW #gem
@Reed Do you suffix a method that wraps Task.Run with Async?
typically, yes
though, TBH, I don't love the suffixing async method names thing much
ty ty
I don't love it either but convention > preference imo
That's what [some style guide somewhere] says IIRC. It's so ubiquitous in the framework libraries that people will come to expect it
@ReedCopsey - Your mean prefixing?
Oh, nvm. I see what you meant
no, suffixing
so you do FooAsync
20:13
Right, I thought you meant the keyword
As strong a convention as IWhatever imho.
Did the cancellation discussion happen?
Confused me because I wasn't sure if there was a way to avoid using async in a method that used await.
I use the Async suffix often when there is a non async version
Add
AddAsync
// Exception cannot be catched by Try/Catch when run in a Task
AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
This is what I wade through 16h/day.
20:22
Don't even know what I did.
@JohanLarsson - So basically you seem to manually send a nested exception inside of a task.run to the unhandledexception event handler of the app in order to have it thrown?
Not my code, just found it. Cried for a while then shared it.
haha
@JohanLarsson since you are the resident WPF lover, I have a design question for you
What if there were no panels, just anchor points that move depending on the size of content? i.e. a flattened hierarchy of controls
Especially since you are on the English exchange so often :)
How do I conjugate catch to its indicative preterite form?
"caught"
20:27
@KendallFrey a canvas?
An indicative preterite is something that sounds like it needs shooting, in a game like X-COM
sort of, but the anchor points would be just as flexible as Grid
@TomW - So much jargon in English lol
"The preterite (in American English also preterit) is a grammatical tense or verb form serving to denote events that took place or were completed in the past."
lol
14
20:29
:)
@KendallFrey Sounds like DockPanel if I understand you right
I'm thinking something like window.Left.Plus(100) for a 100px margin
How is it different from Canvas.Left=100?
or window.Left.Between(window.Right, 0.667) for a 2:1 column width layout
@JohanLarsson by itself, not much
I need to iron out the design some more
but the idea is floating
Do you have a mockup of what you are trying to achieve?
20:31
Nothing not in my head
The idea is a very simple layout engine
Have we used a program that has something like it?
probably not
I want the flexibility of WPF, but if I can make it simpler, I will
@KendallFrey So you want to make a layout engine for WPF, in WPF?
No, it's not going to be used in WPF
at least not for any liberal definition of terms
maybe for uber-literal, but I digress
@KendallFrey Take a look at mrange.wordpress.com/2014/10/26/…
might be a good source of inspiration (though you'll, of course, probably want to ignore the F# aspects ;) )
20:35
Stop trying to F#ctrinate me
Reed can treat diabetes with F#.
that looks like a widget framework, not layout
it's actually a fully composable UI from code - so it does do layout
where's the layout code
let done = _ << that's all it takes in F#
20:38
so far all I see is a F# port of HTML
lol - it's not anything like HTML
yeah, well, that's how it comes across
define content, and it lays itself out?
I dunno, I'll have to disagree with @KendallFrey. What are you guys talking about, anyways?
F4z
F4z
All of a sudden, visual studio 2013 c# doesn't show intellisense? any idea what might have happened?
@Pheonixblade9 Link I pasted above - somebody wrote a Formlets library for WPF
based on the formlets concept from websharper
20:40
@F4z well, in the beginning, Microsoft wrote an application called Visual Studio.
@ReedCopsey oh yeah, I know. I was just being a smartass.
@Pheonixblade9 I'm talking about ideas for layout frameworks
@KendallFrey yes, though it also has functions for changing layout
Many years passed.
It was never fixed.
F4z
F4z
but before, I got it now absolutely nothing???
20:41
@F4z Does it build? If so restart VS.
F4z
F4z
ill restart, build works
@F4z It's always done that, for different people in different versions. I never noticed it until recently either
@TomW Are you writing much? I'm a huge fail when it comes to F# and other things.
None
20:43
@ReedCopsey I have to talk to my boss about my offer :( I am procrastinating
control.Left = window.Left.Plus(5);
control.Top = window.Top.Plus(5);
control.Right = window.Right.Minus(5);
control.Bottom = window.Bottom.Minus(5);
some pseudocode I imagined up
@ton.yeung I struggled for two days the last summer. Then I quit coding for six weeks.
@Pheonixblade9 Why are you holding off?
because it is hard
@ton.yeung What types are confusing you?
20:44
In a way I don't want to learn F# so I start hating C#. Probably not possible to switch to F# at work for a while.
Not for the majority of the dev at least.
F4z
F4z
@JohanLarsson Looks like restarting worked. I hate when it just stopps.
I rely heavily on it :P
Yea... VS messes up IntelliSense a lot, and for the worst reasons...
@ton.yeung It looks like it happens to everyone who learns F#.
@ReedCopsey basically just being difficult. I've only had to quit a job once before, and that was at Office Depot, lol
I guess I quit my job at Meijer, but that job sucked
<3 that xkcd
I could swear I just heard someone log in to Windows XP
user862319
20:59
haha that is not a good thing to hear these days.

« first day (1535 days earlier)      last day (3639 days later) »