« first day (1917 days earlier)      last day (3034 days later) » 

12:06 AM
comparing js speed to C++ speed is a bit like comparing a pinto to a formula one car
lolol
> It is worth noting that these test results were achieved in a post-2003 Tuscan S without traction-control or anti-lock brakes. TVR's design philosophy holds that such features do not improve either the performance or safety of their vehicles and thus they are not so equipped. TVR rejects the notion that these features, along with airbags, are "safety devices" and believes that, based on testing and experience, their cars are safer without these things than with them.
"stupid airbags"
 
Well, it does make people drive less safely when they have such devices
Ideally, I would have seat belts and airbags, and everyone else would have cars made of glass.
 
@Codeman why would you do that?
 
That's TVR for you
 
@TomW it's just such a hilariously TVR thing
"I know that Ralph Nader guy across the pond is pretty smart, but I think we can do better"
 
@torvin lots of things get freeze dried
for example, food going into space
!!youtube astronaut ice cream
 
astronaut ice cream is awful
 
If TVRs were impeccably designed and never went wrong or fell apart, that would be a noble disposition
 
@Codeman in what sense?
 
as it happens...TVRs have basically no redeeming features apart from looking cool
 
it tastes bad and pulls out any crowns in your teeth
@TomW and they're fast in a straight line
 
12:12 AM
last time I checked @Codeman wasn't an astronaut O_o
 
12:27 AM
whoo I have monday off
 
12:48 AM
why's that?
 
user47589
MLK day
 
malk
 
1:08 AM
malkin
 
evgeni
Евге́ний Влади́мирович Ма́лкин
 
geno
 
haha his "middle" name is sooo sterotypical russian
"Vladimirovich"
 
lol yeah
vlad imir ovich
 
but what can I say, your name's Steve
 
1:16 AM
yea
 
1:49 AM
@KendallFrey age of empires 2?
 
2:00 AM
Major vulnerability in client OpenSSH: undeadly.org/cgi?action=article&sid=20160114142733
 
@SteveG not F2P, you'll need to put some effort into convincing me
 
it's fun and i wont kill you
 
 
2 hours later…
4:07 AM
@SteveG @KendallFrey Vladimirovich means that Evgeni is Vladimir's son, usually middle name explain whos son is this guy, But yes it is really long
 
hi @Jamaxack! have you been able to fix your problem with removal from the collection yesterday?
 
Good morning @torvin, Yep, I fixed the design, and get access to collection and easily removed that object from collection
 
great!
 
4:31 AM
shall i ask a question in powershell?
 
shall you, indeed?
 
Is it possible to write a script which detects system volume level and initiate an automatic mouse click whenever all sounds stop?
 
HAMMERTIME!
 
user47589
a dictator who asks permission? what new marvels will this chat reveal?
 
@Amy it's OK since he asks permission from My Highness
 
user47589
4:40 AM
who is your Highness?
 
@Thegreatdictator not without a dependency on some external library I suppose...
it's me, the Great Torvin :P
 
user47589
ah :)
 
user47589
of course :)
 
@Thegreatdictator to programmatically check whether anything is playing, I would try to use either waveOutGetVolume or IDirectSoundBuffer8::GetStatus
nothing of that would work from pure powershell though
 
5:05 AM
 
 
2 hours later…
7:06 AM
Morning then all
 
Morning
 
Why entity data tools put databaseContext class within model
pretty sure it doesn't belongs there
 
7:34 AM
Guten Morgen
 
8:02 AM
Moin Moin
 
Good morning! It's Friday, and almost weekend! Viva la freedom?!
 
@RoelvanUden yes!
 
!!youtube friday
 
!!stfu
 
8:07 AM
@SteffenWinkler That didn't make much sense. Use the !!/help command to learn more.
 
!!/help
 
@SteffenWinkler Information on interacting with me can be found at this page
 
You are not making sense Steffen. Sorry"!
 
8:09 AM
lol, that's not what ...the fuck is that?
 
That is some deep shit yo
 
@SteffenWinkler That didn't make much sense. Maybe you meant: 3, d, y, ^, !, π, ?
 
She clearly do not understand you Steffen
No grill for you, my friend
 
8:29 AM
@JakobMillah I'm not your friend, buddy
 
@SteffenWinkler He's not your buddy, mate
 
@RoelvanUden you get me :)
 
@SteffenWinkler I am everybody's friend, friend
If you can't accept that.. Then FO!?!?!?!?!? :O
Kidding (; Love you
 
^ he doesn't.
 
8:32 AM
So you're a bad boy huh?
Gangsta from da hoods?
 
the fuck?
 
So mad
 
just confused honestly
I've no clue what you are talking about.
 
Never had a friend before?
Or you have a hard time accepting love form a guy
:o
 
ah, it's much better if you put some people on your ignorelist =)
does someone work with module frameworks/dependency injection here?
 
8:40 AM
... Yesh ...
 
@RoelvanUden how do you organize the modules? Meaning, where do you put the modules that are to be loaded and how do you put them there? Copying manually? Or with scripts/tools?
 
I'm not sure what you mean with module frameworks?
 
Freitag!
 
@RoelvanUden something like MEF
 
@SteffenWinkler I'm still not sure what the question is then
 
8:43 AM
something where you can have multiple modules (assemblies) for the same role that can be exchanged for eachother.
question is how does one organize those modules on the filesystem. How do you 'construct' your application/get the different modules into the directory which will be searched for modules
 
am I missing something here, how to download data onion code generator from here - sswdataonion.com
as it's in comments of accepted answer - stackoverflow.com/questions/12317126/…
 
@Mathematics looks like it links to the nuget packages.
woo! I broke 300 rep!
Perhaps I'll reach 1000 before 2025
 
Did I just get ignored :<
 
@Squiggle thanks
 
@RoelvanUden are you working with dependency injection of some kind? Modules that are interchangeable?
 
9:01 AM
what an awful product, can't even install it
Attempting to resolve dependency 'SSW.Data.Entities (≥ 1.2.6)'.
Attempting to resolve dependency 'NuGet.Core (≥ 2.8.3)'.
Attempting to resolve dependency 'Microsoft.Web.Xdt (≥ 2.1.0)'.
Attempting to resolve dependency 'SSW.Data.EF (≥ 1.2.6)'.
Attempting to resolve dependency 'EntityFramework (≥ 6.1)'.
Attempting to resolve dependency 'SSW.Data.Interfaces (≥ 1.0.7)'.
Attempting to resolve dependency 'SSW.AnalyticsInterface.Core (≥ 1.0.3)'.
Attempting to resolve dependency 'EntityFramework.BulkInsert-ef6 (≥ 6.0.2.8)'.
it doesn't likes 6.1.3 neither 6.0.2
 
≥ 6.0.2.8 ...should be fine with 6.1.3
wait, why is it depending on NuGet.Core? O.o
 
@Squiggle uh you've 296 here?!
 
never seen such a useless product before
I want to generate templates for repositories but how
 
9:16 AM
0
Q: Xamarin Android Player is unable to run API 21 or higher emulators

EminemI'm using Xamarin Studio and Xamarin Android Player on my windows 10 PC. I'm having trouble starting Lollipop/Marshmallow (API 21/23) devices using the XAP, but on the other hand, launching Kitkat (API 19) works prefectly. I've downloaded the required android SDK, tried reinstalling everything...

Any Xamarin devs in here?
 
Nope. I went with Android Studio.. :D
 
@JakobMillah Maybee you could help me any way :)
 
Are you trying to start the emulator with a basic project? Like hello world or something.
 
Yes.
For some strange reason, API 19 works, but API 21+ just freezes/stucks/not starting.
 
Alright. as the guy commenting. No build errors? There might be some weird dependencies that are not working
Ye I don't know.. I don't use the emulators just because they usually sucky sucky
Try to customise the emulator a bit? Change CPU and what not
 
9:28 AM
It also does not work if I just start it from the Xamarin Android Player, without any programs, just starting the emulator fails.
The emulator is a "build-in" - from the Xamarin Android Player
 
Don't you have a 20 API+ device yourself?
 
Well, I have not realy thought about connecting a real device from the beginning. I'm just starting with Xamarin.
I figured that the emulators should work just fine.
 
Read on a couple of pages and it seems to be a common issue running emulators in xamarin.. People tend to use real devices
I HIGHLY recommend it. 100 times faster and more accurate
 
I've contacted Xamarin support about it, but they just told me to reinstall it.
 
Classic ;)
"Have you restarted your computer?"
 
9:33 AM
Yea :)
 
genymotion.com installing this, run with your own device and you should be goodie to go
At home I test with a Sony M2 and Galaxy S6. So nice just leaving the phone on, run the project and couple seconds later I got it running on my phone
 
I did that already. But I got other errors. Something with cannot start device, related to Virtaul Box.
 
are you running windows 10?
 
@SteffenWinkler Caching :-/
 
Yup. Brand new Windows 10
 
9:35 AM
do you have hyper-v installed?
 
Damn... This is the reason I picked Android Studio.. I looked up Xamarin and Cordova.. Couldn't even get the environment going. Android Studio -> Install -> Good to go
 
@AlexL I'm not sure I realy know what it is, or whether it is installed.
@JakobMillah Yea, but C# rocks !
 
2
A: Failed to convert parameter value from a String to a Int32 and my stored procedure is with the same parameters

SquiggleTo me it looks like it boils down to these two lines: > SqlParameter pd = new SqlParameter("@PacientId",SqlDbType.Int); > pd.Value = DropDownList1.Text; In the first line you're telling the command that parameter "PacientId" is of type int. In the second line you're assigning the parameter th...

> You cannot parse "Panini" to an Int.
:-]
 
@Eminem I do agree with you.. C# is my field as well
EZ points for you! :P
 
totally!
 
9:39 AM
Sometimes you find that untouched gem that just waits to throw points at you
 
But, like, you know when people ask for help with their code, and it looks like they're trying to write a hospital management system, or some complex, critical system...
 
@Eminem If you do then you will have virtual box problems
 
and then I am sad
 
@AlexL I've heard something about it, but I figured that if KitKat works fines, than it should not be a problem, right?
 
hahaha There's SOOO much shitty code out there..
 
9:40 AM
@Squiggle it scares the shit out of me :P
 
My friend showed me some code from a security system..
As I am working with a personal wordpress website.. ;)
 
Damn it !!! Just installed Genymotion. Here is what I got after downloading Nexus 4 Lollipop
 
@JakobMillah we re-wrote our security systems here because the stuff we had before gave us The Fear
and being trapped in an airlock isn't a pleasant experience
 
@JakobMillah Same thing :(. It looks like no matter what I do, Geny creates a new Host-Only adapter every time, and assign it to the device, instead of using the adapter that i want.
It just changes the settings back to their starting point.
 
9:51 AM
@Eminem Damn... I know a colleague of mine that tried getting Xamarin going.. Failed
 
Ahhhh, why it is so complicated??? With WPF I just hit start !
 
Was the same story with Eclipse 5 years ago.. Fuck that shizzle
 
Hello fellow nerds :D
 
Sup, boro!
 
just let that boro thing die out already
pls :(
 
10:00 AM
People are mad today :/
First getting ignored. Next people complain about how I write
 
Yeah got 7 labs to turn in today
Nah i still love you Jakob
 
The world would be much happier without me.
 
boro borrowed some time to live
 
That took a dark turn quick
 
Trying to spread love, but the inner me is darker than a winter night when there's no snow
I don't want to change with you @MaartenWachters.. 7 lab reports sounds like hell itself
 
10:02 AM
It fucking is man
 
unless "labs" == "Labrador puppies"
 
It was normally 4 until our Orc of a prof decided to change the dates from 31 Jan to today
mind you, in the MIDDLE of exams
 
I love those
Puppies :/
Me want doggie
 
I wish I had those labs :(
then 7 wouldn't be enough
 
10:04 AM
I...I am getting more depressed
I love dem doggies :/ Miss my doggie..
 
If your inside is a black hole, that means you didn't wipe good enough
said by a once man called Maarten Wachters cough
 
@JakobMillah snap out of it, man. It's Friday!
 
@Squiggle Yep and I am going out... Alone
Probably gonna get a lot of weird looks when trying to socialize
 
Where are you going?
 
"You are sober!? Fuck off"
No idea
Out
I want to dance with somebody
 
10:07 AM
:D
 
dance, dance, dance
!!Hammertime
 
STOP
HAMMERTIME!
 
holy shit jakob
 
did you guys take the survey already? meta.stackoverflow.com/questions/314186/…
 
why so depressed today
 
10:08 AM
where should DTO go ?
 
I don't know.. I havn't socialized in a while. Nor any good time with a lady for almost 2 weeks
 
in data project along with model classes, or in services
or in shared
 
so ronery...
 
Yep :/ I have been programming too much lately. On and Off work
 
:((((((((( Somebody help me :((((((((((((((((
 
10:10 AM
I believe in model class @Mathematics
 
@Eminem I'd love to help, but have zero experience with what you're doing. I haven't touched android emulators since 2011.
 
Doing the survey later @SteffenWinkler Who ignored me
 
@Mathematics Depends which DTO you're taking about. Mine are in Services.
DTOs are POCOs for communicating between layers. I've got DTOs between my adapters and reponsitories, and between my services and clients.
 
@Squiggle makes sense
 
it can be a bit overkill if you don't have a large system
 
10:25 AM
services returning IEnumerable, I want to do some unit test
should I convert it to list - using ToList()
or is there more to it
 
@Mathematics don't let @RoelvanUden see that...
 
@SteffenWinkler hides --> very quickly
 
@Mathematics ;)
seriously I had a lengthy discussion with him yesterday about that method.
he really doesn't like it
 
why not
 
21 hours ago, by Roel van Uden
@Michael In a UoW you'd just expose an IQueryable that enables you compose the query it fires of to the database down the line, including the eventual limit and paging constraints, very efficiently. Repositories can do that, somewhat, too, but not like you did it. It's terrible to ToList anything.
 
10:36 AM
:|
 
the last sentence was what caused me to enter that discussion
 
to keep him happy I will use .count() from linq then
 
11:10 AM
what if I want to expose my domain services as application services
 
Oh dear, considering ToList? Please don't ;-)
Though, if you return IEnumerable anyway, you're inefficient as it is :P
Why not go all the way :-D
 
is any one used telerik ORM?
 
@Jamaxack telerik has an ORM? Why on Earth would one want to use that?
 
@Squiggle Yes. No idea.
 
11:26 AM
:28145568 Wait what? That sounds pretty silly.
 
@RoelvanUden yeah. I know. That guy really hates everything that improves security.
@RoelvanUden coming to think about it, he hates security as much as you hate ToList()
 
@SteffenWinkler but you understand why he hates it, right?
 
user has view any database permission but getting denied on select, seriously !
SQL team seems to like people getting mad
 
11:41 AM
@Mathematics I'd make this their problem. Make them design a useful permissions set for application users and give it to you for review. Better than starting with nothing and asking every time you need something different. If they design it, they're responsible
 
@TomW because it reduces comfort/easy usage. Which is like duh!. That's the point!
 
not really
just a necessary consequence
 
true
But my phrase sounds more condescending
 
I told her I'm not interested in learning Java and I'm fine learning something worth learning.
She's now just being petty about everything
In other news, I've been thinking about REST over UDP
 
11:52 AM
Is this something common
I first saw it being discussed somewhere on HN
 
REST is over HTTP, HTTP is over TCP, therefore by definition REST over UDP does not exist.
 
But I thought REST was an architectural style
And could be over HTTP
 
By convention it is best to be implemented over HTTP
other protocols interact with URIs in ways incompatible with REST
 
I came across coap.technology
 
Internet of Shit.
 
12:01 PM
@SteffenWinkler Why does security make it harder to use?
 
@RoelvanUden where you were previously able to just start the application, you, after this change, have to enter a password. That's apparently very troublesome for most users.
 
Authentication needs you to meet a requirement, which is always harder than not meeting it
 
@SteffenWinkler So it wasn't user-based?
 
@RoelvanUden nope. Wasn't.
 
12:21 PM
Then why does it matter? :P
 
because the application is being rewritten, thus some features that were previously not possible to implement can now be implemented.
and this is a feature some customers wanted for a long time
 
12:59 PM
0
Q: Is there a way to be notified when Task.Status changes to running?

Johan LarssonI'm writing a class that runs tasks and notifies based on this. One problem I can't think of a solution for is how to notify when Task.Status goes from TaskStatus.WaitingForActivation to TaskStatus.Running. Shortened code below: using System.ComponentModel; using System.Runtime.CompilerService...

 
Morning
I'm struggling with sending mail from C#. If I send via Outlook or webmail, it works fine. When I send from my PC or deployement server, mail is not sent. I check the logs and destination server (Outlook for example) refuses it as it says it's spam
Is there anything special I need to do? I try to change the content, same issue persists?
 
@JohanLarsson Perhaps a dumb suggestion, can't you create a task that does the notification and then does a continuewith the real task you intended to run?
 
Maybe, not sure it will work though
 public TaskStatus Status => Task.Status;
As I'm getting the status from the original task
Think it will just notify as a false positive if that makes sense
 
@RoelvanUden Taskception
 
morning
 
good afternoon @Failsafe
 
var awaiter = task.GetAwaiter();
if (!awaiter.IsCompleted)
{
    new
    AsyncTaskMethodBuilder.Create().AwaitUnsafeOnCompleted(ref awaiter, ref customStateMachine);
}
Playing with ^ now
 
good morning
 
o/
 
we need a bot that converts those 'good morning' posts to 'good afternoon' or 'good evening' depending on the time zone of the reader. Rr rather a browser add-in than a bot.
<nothing>
 
1:15 PM
@Codeman If you have any more information about EventLog entries appearing in TFS build logs (a link would be fantastic), I will be grateful to you forever. Our team is spending a lot of time trying to find a logging solution without reinventing the wheel.
 
How about a Hello World :D
 
@SteffenWinkler Or just use UGT
 
@KendallFrey UGT?
 
or UGH
 
1:17 PM
Any Xamarin developers in here?
 
@KendallFrey neat.
 
aurelia looks pretty cool
honestly though these mvc frameworks are all starting to look similar
 
@Eminem im wearing a xamarin shirt, does that count?
 
user47589
what color
 
1:30 PM
(good) morning
 
white i assume, i got one too, now rough as paper after washed it
 
Michael, you meant UGT :D :D :D
 
user47589
store all dates in UGT to save space.
 
@Dave yes. of course :) ill have to remember that
 
he he he
 
1:33 PM
good {[UGT.MyMorning]}
 
@KendallFrey kendalll so 3 for red 3 for green and 2 for blue -am i right now?
int rgb = (red & 0xE0) >> 5 | (green & 0xE0) >> 2 | (blue & 0xC0) ;
 
user47589
3 for red 3 for green and 2 for blue is an expensive magic card.
 
..
maybe you could answer? :P
 
user47589
i have no idea
 
lol.
 
user47589
1:35 PM
all i have is snark
2
 
@Slashy looks ok, does it not work?
 
@Amy it's probably a good artifact
 
I've got a dumb question.
 
user47589
i've got a dumber answer.
 
I've got an application that uses Windows Authentication, but now we're switching it to WebApi / Rest and using Ember as out frontend framework. What would be the best way to secure that knowing we need windows authentication?
Would it be better to just have a request, query ad, for that username and password, great hash it, then issue a token?
 
1:39 PM
@KendallFrey not sure.. i'll show the extracting process too
     int rgb = (red & 0xE0) >> 5 | (green & 0xE0) >> 2 | (blue & 0xC0);//sender
      int r = (rgb << 5) & 0xE0;
        int g = (rgb << 1) & 0xE0;
        int b = (rgb ) & 0xE0;
oh oops
its 2 in the g
:)
 
The tricky part of this is that it takes 3 frames to send complete r and g bytes, and 4 frames to send a complete b byte
 
@Amy You have any experience in that?
 
@Greg is your web api driven by owin/katana or old school global.asax?
 
@KendallFrey yeah.. but as i've understand blue color is the most seen to the human eye
 
I have a lot of experience (more than 900,000), just not in WebApi.
 
1:44 PM
or somthing like that :)
 
Well, I just created it in MVC 6.
So it could be done in whatever way I choose, I just am not sure the proper standard or ideal way.
 
well if mvc6, very likely it's OWIN
 
I just created the project.
I'm basically rewriting
 
4
A: ASP.NET MVC5/AngularJS/Web API app using Windows Authentication and OWIN

ClaiesThis article series would be a good place to start: http://bitoftech.net/2014/06/01/token-based-authentication-asp-net-web-api-2-owin-asp-net-identity/ of note, would be the following code, which essentially stores the bearer token in local storage and attaches it to the headers. There is obvio...

 
@KendallFrey im not even on the sending the next bits part..
im just really confused how to do this..
damnn
 
1:46 PM
it's angular, but basically you do same thing on api side
 
Okay, yeah Ember is in essence Angular.
 
Seriously.. if i add the left bits to the next values in the next loop iteration i would always get stuck.. and send only the first 2 bits..
 
I'll check that out @tweray
Thank you.
 
expose a auth/fetch token url and have ember fetch the token and inject in into every request
 
i just need a short explanation :( ahm
 
1:49 PM
@tweray Thank you.
 
@Slashy Yeah, blue is the correct color to subtract a bit from
 

« first day (1917 days earlier)      last day (3034 days later) »