« first day (2144 days earlier)      last day (2797 days later) » 
02:00 - 11:0011:00 - 00:00

11:04 AM
@StevenLiekens Take a look at mustache.github.io
 
@RoelvanUden that looks like what I need
"Nustache " lol
 
Mustache has its place. So does Razor.
 
Looks like smarty
 
The beauty of mustache is that it works everywhere, and has no code or logic.
 
yeah, it looked like it had a implementation for about any language out there
 
11:18 AM
^ Yeah. The big down-side is, of course, that it is weak typed.
 
Do anyone here have a "gaming" chair? I've been looking into this one: akracingeurope.eu/product/… but can't really decide.
I'd imagine it be a bit clammy over time
(is clammy even a word? Sounds like the name of a clam in a cartoon or something)
 
user2299177
Hi
 
user2299177
any one working on xamarin forms
 
user2299177
?
 
@scheien It's probably a good idea to get a breathable chair
 
11:28 AM
0
Q: Encoding byte data to base64 crashes for some byte data in vb6

Sagor AhmedI have the following code to convert byte data to base64 string : ReDim g_Template(dwLen) As Byte i = 0 Do While Len(m_strTemplate) > 0 iPos = InStr(1, m_strTemplate, "$") If (iPos > 0) Then g_Template(i) = Mid(m_strTemplate, 1, iPos - 1) m_strTe...

Please help me
someone
 
@scheien Consider getting an actual relax chair
 
@KendallFrey That's what I thought as well. Nothing is worse than sweating like hell after a short time.
 
@scheien There are also extensions you can get that basically put an air gap between you and the chair. That completely ignores the chair's ergonomics though.
 
I use one of these at home and stand quite a lot:
 
@KendallFrey That kind of defeats the purpose of having a gaming chair. :p
@RoelvanUden Any suggestions?
 
11:32 AM
Take this with a grain of salt, but the only brand of gaming chair I've heard of (other than ads) is DXRacer
 
And images not working god damn t.
 
@KendallFrey yeah, the one I posted is only available within Europe. :(
 
Why can't I have a working profile picture! :(
 
because it doesn't have a green card
 
 
11:40 AM
@scheien Go to a quality furniture shop in your local area. Go and see for leather relax air chairs with feet support
Note, they aren't cheap
 
Nothing is cheap around here
:p
 
I mean.. I have two of those quality chairs and it cost me 3 grand
So yeah.
 
Well, a quality chair is importante!
 
@JakobMillah I disagree
Cause, y'know, I've used a folding chair for the past couple years
 
@KendallFrey My back does not after receiving sciatica after half year studying from home
 
11:43 AM
hey fellas how do i convert an excel interop sheet to an object
 
Well, either you have hellofa back or rip your back sooner or later
 
I suppose my back is used to no support
I don't lean back that much
 
I don't have a better picture. This kind of idea.
 
is this the dentists office?
 
I can use that for 12h straight without issues.
 
11:45 AM
I am considering that I need to get a racing chair soon, maybe
 
@RoelvanUden it's probably a bit low for me
but I get the idea
 
Low? But yeah, find one that suits your height, length, back size, etc.
This one was custom made to me..
But.. it is expensive as fuck
 
@misha130 rofl
 
@RoelvanUden might be the angle of the picture
 
@RoelvanUden Yeah I think you can do 24 hours in that...cos you can sleep in that thing
 
11:48 AM
@scheien Probably is. It's higher than most office chairs I've had.
@Ggalla1779 You can. :3
 
I think the most I spent on a chair is like £300
 
I think the definition of the term "DB" has been seriously loosened.
I ran into this product description, for instance:
> RethinkDB pushes JSON to your apps in realtime.
I mean, it looks very cool, but it seems like it's not really just a db.
 
12:05 PM
what are apps?
what is REAL TIME
 
I think it uses websockets to push updates to connect web clients.
Again, pretty cool. But that seems to describe an application layer, not a db.
 
no, no
I know what you mean
I am just saying it all changed
 
Data Pusher I like it
 
Or, actually, maybe it just gives you a push layer, regardless of what you do with it. If it has bindings for Reactive Extensions for C#, for instance, it can be pretty nice.
 
Sounds a bit like Signal R
 
12:10 PM
@AvnerShahar-Kashtan Of course it is a database. It's a base, with data.
Interesting related topic confluent.io/blog/…
 
a little help about udp protocol managment.anyone?
 
@RoelvanUden All your base are belong to us.
 
12:30 PM
@RoelvanUden Hi sensei
 
When did u start programming actually?
 
Yesterday
 
This morning.
 
I "inspected element" and changed some text on a grade. Probably coolest hack i've done
you probably don't know what that is but it's pretty advanced
 
12:35 PM
Yeah man I defaced a website like that
 
It's a standard trick to post fake news headlines - go to a news site, change the text and take a screenshot. No photoshop involved.
 
Holy shit dude don't say that in a public chatroom
 
It's, as I said, a standard trick. Good reason not to accept anything you see at face value - just because someone posts a screenshot of CNN.com saying something doesn't mean it was actually published.
 
Man don't spoil the good stuff
its an elite haxxor cheat
@MilesA. About 13 years ago
 
@AvnerShahar-Kashtan dont expose the trade man, you gotta be 1337
 
12:38 PM
@RoelvanUden What's that chair for?
 
@Failsafe Awesome april fools, change the balance on your bank account and show your wife.
 
@scheien No that's called "How to get in trouble"
 
@scheien oh man that could backfire SO HARD
 
@KalaJ Sitting?
 
@Squiggle It totally would
@Failsafe "you're sleeping on the couch tonight"
 
12:39 PM
speaking from experience?
 
There is no way that ends with her not being mad at you
 
you plonker
 
lol
 
@Squiggle I have thought about it, and I know what my wife would say.
 
@RoelvanUden daaaaamn :D
 
12:41 PM
and I couldn't put her through the pain
 
@scheien so put her to sleep bevor! :P
 
Lookign into Cloud services is so damn overwhelming..
 
@JakobMillah new picture?! :O
 
Do you want this, do you want that. do you want to have sprinkles on your ice cream? What flavors?
 
12:44 PM
Where is the hughe ass beard?
 
List goes on..

Ohhhh image working now!!!
Beard gone like 1 ½ month ago :) I have more now though
 
NOOOOO
It's the sadest thing when a fellow mate shaves off his beard
it always makes me cry...
 
I failed, so I had to shave it
 
<<<the emotional beard guy thingi
 
@MilesA. You're familiar with the xkcd strip about the "huge-ass X" phrases?
 
12:47 PM
Nope, whats that?
 
@MilesA. Always try shifting the hyphen to the next word. Instead of "Huge-ass beard", think of it as "huge ass-beard".
 
haha
 
@RoelvanUden true but I might like would you use it to watch tv, go on the computer or sleeping. Main function wise. I guess it was a stupid question :P
 
haha :D
now that works great with the beard!
 
@KalaJ Oh. Central point in my home cinema, but also for gaming
 
12:49 PM
haha cool
For gaming, I would feel during certain points, I would need to sit upright
 
Agreed ^^
Sometimes the rush is too much for laying calm on your back.
 
Never had that problem ;-)
 
Do you like .. really game? wanna be gamer
I don't trust gamers who don't get some extra adrenaline push here and there.
 
I'm just too experienced ;)
 
Only adrenaline rush I ever need is from DFO combat
And I'll never feel it...Ever again...
 
1:02 PM
how did you find enough time to game and code and be a good person overall :P
 
A good person? Whoever said anything about that
 
I played before I started coding
 
jakob's picture is working
drinks on me guys
But still there are too many games to dive in!
 
Yeah. And for some magic reason, it's after I asked over at meta
No reply... Just magically started working..
 
The force is with you.
 
1:04 PM
I think the force is with someone at meta and hushed a fix
Like the support errand I had last Friday... Customer had issues getting purchase order to their FTP. They contacted the other company providing them with files. Got a reply that "everything seems to work just fine"....5 minutes later they started receiving orders.... hmmmm
Someone replied to my question "With enough waffles the unicorns do magic things"

( Í¡° ͜ʖ Í¡°)
 
troyhunt.com/… - SRI crash course
 
@JakobMillah what are these fkin emoticons called?
 
No idea :P Unicode Emoticons?
 
waffle the unicorn emoticons? Hmmm
 
sup
 
1:23 PM
@QuietNaN yo
 
1:34 PM
https://open.spotify.com/user/1153819123/playlist/54mBXmJQKTCY2fbHVZsSg7
spotify:user:1153819123:playlist:54mBXmJQKTCY2fbHVZsSg7

Add Music!
It's kinda weird that there are options to write text using CSS.. Just to confuse things further
 
@JakobMillah you added rebecca black .. i do not dare to go near the list anymore.
 
Removed
It's not friday anymore
 
I will add in a few.
 
(y)
 
If you are following the MVVM pattern and you have Domain Models some of which inherit from a base class, how then do you implement the ViewModels that match those DomainModels including the inheritance?
Do you create a base Abstract ViewModel class that mirrors the Abstract base Domain Model class?
 
1:51 PM
@Michael I usually don't, unless there's actual logic, functionality, that I need shared.
 
@AvnerShahar-Kashtan well there are shared properties
 
For instance, we have two model classes, Entity and Relation, which have VM classes Node and Edge. The model classes share a base class, the VMs don't, because they don't share much functionality.
Somewhere else we have a different model hierachy (CaseActivity, with several derived classes such as CaseUpdatedActivity, CaseAssignedActivity, etc). In this case, we do have a matching VM hierarchy to reuse code.
 
@AvnerShahar-Kashtan okay thanks
 
2:08 PM
what do you think, what is faster?
----------------------------------
// Sol 1
int i = 0;
foreach (var e in elements)
{
e.EatE(i);
i++;
}
-- or ----------------------------
// Sol 2
for (int i = 0; i < elements.Count; i++)
elements[i].EatE(i);
 
@marbel82 Measure it.
 
Also format it
 
you don't "think" what's "faster"
 
!!tell marbel format
 
@marbel Format your code - hit Ctrl+K before sending and see the faq
 
2:10 PM
it's not a matter of opinion
 
@AvnerShahar-Kashtan so.. I'm still kinda scratching my head at this. The situation I'm dealing with is UserAccounts. So Ideally I could have an Abstract NewUserAccountBase, from which NewStaffAccount, NewStudentAccount, NewGuestAccount, etc inherit from.
 
something I did not work here formatting
 
Because so many of the properties are the same. If I ever need to add an additional shared property it could be added to just the base class instead of updating all the ViewModels individually to have it
 
`for (int i = 0; i < elements.Count; i++)
elements[i].EatE(i);`
 
2:12 PM
@Michael Should these even be separate classes in your model?
 
for (int i = 0; i < elements.Count; i++)
    elements[i].EatE(i);
 
@AvnerShahar-Kashtan I am refactoring the classes actually. They were orignally all one NewUserModel.. But to me it got really messy. You have a good core set of shared propeties, but then there are numerous other unshared properties that make the entire model bloated
 
hmmm weird
What do you use Sol 1 or Sol 2
Is foreach faster than elements[i] ?
 
@marbel82 same thing
 
it's as if you'll notice the difference
 
2:16 PM
@Michael So foreach also uses an index to get to the item?
 
@marbel82 if you dont like that particular article or explaination there are numerous others if you just google: "Foreach vs For loop perfomance"
@AvnerShahar-Kashtan thoughts?
 
@marbel82 In short: it depends on the implementation of what elements is
 
@Michael Don't match the inheritance hierarchy for neatness' sake.
 
Hello Everyone :D
 
If you have the same UI for all user kinds, use the same VM.
 
2:20 PM
@AvnerShahar-Kashtan its not neatness, its managability
 
@Michael Thanks!
 
@AvnerShahar-Kashtan if I go with 1 VM then a lot has to be handled with Javascript
 
Ah, you're doing MVC. We're doing WPF, and not afraid of client-side code. :)
 
right
I'm not afraid of JavaScript.. it's just that its... gross JavaScript
 
JavaScript is as elegant as you are capable of wielding it.
 
2:24 PM
@RoelvanUden very true, and I am not very capable yet
 
@RoelvanUden that's like saying a maggot-infested piece of rancid meat is as good as you can season it
 
...on that happy note that certainly won't lead to any nasty language wars, I bid you all adieu.
 
@mikeTheLiar well technically it is
 
@mikeTheLiar what do you think? Single DomainModel, Single VM, Single View (Lots of Cons, hard to maintain, lots of javascript) OR Multiple DomainModels (Inheritance), Multiple ViewModels (Similar Inheritance to DomainModels), Multiple Views (with _Partials)
 
hi all
@RoelvanUden you there?
 
2:33 PM
@Michael sorry I haven't been following the discussion. Don't really have any context but the second one sounds better.
 
@FadeD o/
 
@RoelvanUden hey :), is it possible for you to help me out with something?
 
Perhaps
 
I have this XML file which I need to get some values from, but thing is that it's not really readable
pastebin.com/EcuTXLcw that's where you can find the xml
I need only a few values in that XML
AttributeValue Filename in Document Tag, DocName value inside Document Tag, IndexValue of Dossiernummer, IndexValue of Submap
I've got no clue what the best approach would be
I want to read the data that I need into an custom object.
 
This seems pretty predictable. Just deserialize into POCOs?
 
2:46 PM
Still, no clue.
 
@FadeD linq to xml?
it doesn't look very unreadable to me
 
3:20 PM
how would I change this into mvc5 razor
<input type="hidden" name="country" value="Norway">
@Html.HiddenFor(t=> model.Country)
I know that is the syntax but how do u specify the value
of the country
 
@MooseTheTitan wouldn't it come from the model?
 
What I want to do is store the current date of the record
 
the date doesn't have anything to do with what your hidden country though
 
however since i am using database first, ever time I try to configure my model to have the date field as the current date. My application doesnt work
 
and you'd want to store the date server side anyways since the client date is inconsistent
 
3:27 PM
that was just an example
for the country
 
Quick question: I found this class in my code base.
public class TokenInfo
{
    public TokenInfo();

    public string access_token { get; set; }
    public int expires_in { get; set; }
    public string token_type { get; set; }
}
Is the second line there the constructor?
 
@gunr2171 yes
 
With a semicolon and no body? I didn't think you could do that.
 
it is sort of pointless since the compiler will make an empty constructor for you
 
True. I'm going through code and trying to clean it up, just wanted some clarification on it. It does seem rather pointless. Thanks
 
3:30 PM
I'm not sure if it needs a body or not because it isn't abstract
You'd only need to explicitly define the empty constructor if you had another constructor that accepted parameters, in which case the compiler wouldn't add it for you
 
Yep, but seeing that I posted the entirety of the class, that's not the case.
But good point
 
 
2 hours later…
5:32 PM
Boo. Anyone using the MS Bot Framework? I'm looking for some suggestions on how to connect it to IRC. So far my best idea is to build a custom client and have it relay messages.
 
your'e welcome to help :)
0
Q: C# Using tcp and udp protocols

SlashyI need to use udp and tcp connections in my application,the TcpClient/TcpListener would rarely be active,but the udp one would be the main usage. This is the server code: static void Main(string[] args) { TcpListener listener = new TcpListener(IPAddress.Any, 25655); lis...

 
I've never dealt with sockets, sorry.
or tcp/udp listeners.
 
it's okay
:)
 
 
1 hour later…
6:48 PM
is resetting it instead an option?
 
yeah
but i dont have the old one
 
Do you have access to AD?
 
no :(
 
Then you're (probably) boned.
 
damn
 
6:58 PM
does someone have admin rights to login and change the password for you?
 
7:45 PM
hello guys
i want to create an auto self updater for my c# winform app
my problem is that i don't want to get a project with auto installer
i need to have an exe and on start to check his version.
 
I think you want click-once deployment
 
no
i dont need this
this is auto installer + auto updater
i need only auto updater
 
8:01 PM
Is anyone good at polymorphism using overloaded methods? I've been tasked with creating a base class representing "all products" and adding a class for each product type that contains that product's attributes. I've completed this part, however, i'm struggling with condensing the data back down.
There is a method in the base class called ToJson() that does exactly that.. It makes JSON of the attributes on ALL product types. In each derived class, there is an override for ToJson() that does just that type's attributes. How do i combine the output of those 2 methods using best practice?
I've considered calling base.ToJson() and then pulling that output into the derived class, but that "feels" like i'm going the wrong way with things.. Like i'm going 'up the down slide' so to speak
 
8:14 PM
I think base is the way to go. if done properly shouldn't the objects be called to parent and integrated into the derived class's method
 
9:01 PM
Either way will have the same results. You can either do what you said, or you take the iOS ICoding route and create an object to store attributes and simply have your class add to that object (pass it as a parameter).
 
9:15 PM
hello guys
i want to create an auto self updater for my c# winform app
my problem is that i don't want to get a project with auto installer
i need to have an exe and on start to check his version.
 
9:51 PM
we had to build that logic into the main app @gtzinos
 
@gtzinos You're app will need to know how to find stuff, and connect to a service outside your app to get it
Usually applications have 2 executables for this. First one launches the 2nd and also checks for updates for the 2nd.
@CarComp Polymophism doesn't mean you need a base class. It means you're classes, interfaces, etc. should be interchangable. Many studies and current thoughts for development are saying never use base classes, just build dependencies and inject the necessary functionality
 
@CarComp I think what @RyanTernier might be trying to say is, use interface based development, not polymorphic / inheritance based development.
 
10:18 PM
FOr the past month I've been blaming all the issues at work on Stannis.
TOday, someone asks me: Who's stannis
 
11:12 PM
Hello all, anybody good with Huffman encoding/decoding for text?
Because I suck but have some questions
 
02:00 - 11:0011:00 - 00:00

« first day (2144 days earlier)      last day (2797 days later) »