« first day (2586 days earlier)      last day (2588 days later) » 
00:00 - 21:0021:00 - 00:00

00:23
@mikeTheLiar i am knee deep in the .NET framework source code i swear to god mike
 
1 hour later…
01:23
I think it's impossible
But only because the engine aggressively optimizes away infinite loops
wait what
am I missing some context here
4 hours ago, by mikeTheLiar
Oh would you look at that https://stackoverflow.com/q/4835592/1015495
4 hours ago, by Kendall Frey
Well fuck, now I feel like I have to prove them wrong
 
4 hours later…
05:12
Any idea why this exception takes the process down?
try
{
using (var smtpClient = new SmtpClient())
{
smtpClient.Host = "99.99.99.99";
smtpClient.Port = 587;
smtpClient.EnableSsl = true;
smtpClient.Timeout = 5;

smtpClient.SendMailAsync("[email protected]", "[email protected]", "subj", "body").Wait();
}
}
catch (Exception e)
{
System.Console.WriteLine(e);
throw;
}
mr5
mr5
what did the exception tells you?
06:06
It's an ExtendedSocketException
The particulars of the error aren't important so much as the catch block doesn't get a crack at it -- the process crashes before then.
mr5
mr5
06:23
which platform?
06:34
That, together with ignoring autocomplete=off
It's literally a rehash of IE vs Netscape war
07:11
ohayou
Hell-o
DAT TIMING THO
:D
good morning
how to type List<T> in xml comment
replace the symbols with their code
should be like this
| < = &lt;
| > = &gt;
I added the sticks, otherwise it turned itself into a quote
07:23
thanks :)
07:51
Ohhai
@HéctorÁlvarez you can escape stuff in chat too
/> escaped character
Owait
Etf
I'm pretty sure you could
\>
/>
lol, look at it sideways it it looks like some guy pondering the meaning of life
08:29
Morning all
more like angry eyes :P
08:42
good morning
o/
@ntohl you still play csgo sometimes?
@KamilSolecki yep
tho I play paladins nowadays
we gotta play again some day, I'm back at csgo :P
ok :)
I have ~700 hours in cs:go
~1300 here
08:53
725 to be exact. And gained 114 on paladins
although league season has ended
and now its the preseason grind
to get a good start for the next season
we derank a lot. Don't care about seasons
league derank is a pain tho
only cz only zeus. 8 kills
my mate same setup 16 kills. We almost won
I was Plat III at the end of season 6, after Season 7 placements I started silver V lol
08:55
ohh
you mean pala
I meant league of legends :P
the best game
:P
hmm... I play dota
>D
i know, and I will inform you once again that it was a mistake
:D
like all games with 2000+ hours on steam account
new patch changed meta a lot in dota
same in League
now, jungle is uber op
which causes a lot of boosters
09:00
i still suck at jungle :D
I don't like jungle either
I play adc mainly
adc -> mid, then top/supp
jungle last
I play 1 character mid, rest support
but that 1 character mid is same amount as rest summed
we can say pretty specialized on Invoker
i have fallen to silver 3 form plat 1 last season :'(
09:24
Hello.
I have a table UserItems {ID, UserID, ItemID}

Items must be in RAM (not in db table)
What is better for this? As enum with attributes or as dictionary of items?:

enum Items
{
	[InternalParam("x432")]
	Red = 1,
	[InternalParam("x431")]
	Green = 2,
	[InternalParam("x438")]
	White = 3
}

OR

enum ItemsIds {Red=1, Green=2, White=3}
Dictionary<ItemsIds, Item> Items = new Dictionary(){
	{Red, new Item("x432")},
	{Green, new Item("x431")},
	{White, new Item("x438")},
}
RabbitMQ need something keep listening to queues on consumer side !!! totally forgot about that
Hi, Is anyone familiar with authorization/authentication to REST api like OData?
I have self hosted(not web) OData api
I want to implement authorization
owin ? windows service not sure if possible ?
console app ?
09:34
Yes, kind of, WPF
if you want simple use db table and then attributes on controllers and actions ?
and it should work for web client, mobile and from Excel also(Power query in MS Excel)
haven't tried it but just saying
do you know about basic or OAuth authorization methods?
use oAuth2 with connect openID
09:36
I read a lot of articles about it
lol sorry I don't
not with WPF
WPF or console no difference I think
it says basic authorization is not secure enough
do you know if I can implement OAuth2 with OpenID in the one server?
Like data and authorization is in one machine
not using external(twitter, facebook) authorization
@Mathematics Are you still there?
@Mathematics thanks, looking into it...
mr5
mr5
10:04
fucking Intellisense!
I just restarted my VS over and over again
10:16
and now I need to know about MassTransit as well
grrrr.....
@Jamaxack sure, its all in the docs
@GLeBaTi According to what you are asking for, I'd use a struct
@KamilSolecki Hi
 
2 hours later…
12:37
What does Windows 10 development mean?
it sounds to me like Android Nougat development!
it sounds like developing an application that only works on win 10
@Wietlol really, not kidding?!
it sounds != it is
12:53
to me it sounds like actually developing features for Windows 10
maybe you can build a store that actually works?
or improve groove music!
oh wait, it's discontinued...
13:05
I mean, why I spend time working on developing a version of windows, the natural is developing for platform not a version
13:16
because windows 10 is a product
like google+
nobody likes it, nobody ever liked it, and nobody will, but they'll force it up your throat and eventually you'll stop complaining about the lack of stuff until they decide to make someone new that tries to fix what wasn't broken, and they move everything around
so you have to relearn, and if you don't like it nobody cares, because people have the tendency to move to the cutting edge broken version that will cause millions of errors, but it's OK because "it's new and they innovate"
I've had so many MS representatives admit that technology is usually not finished, or it underperforms so much they discard it at first sight
the last one was about Sharepoint's absurd memory management, oh well
13:34
don't know what this guy is talking about,
windows 10 is the best windows to date
And it would be nice if they weren't so many stubborn people sticking to win 7 cuz "mah privacy" and " evil Ms"
if something to hate, it is PSD format>
412
A: What is the best comment in source code you have ever encountered?

halcyFrom: https://github.com/zepouet/Xee-xCode-4.5/blob/master/XeePhotoshopLoader.m#L108 // At this point, I'd like to take a moment to speak to you about the Adobe PSD // format. PSD is not a good format. PSD is not even a bad format. Calling it // such would be an insult to other bad formats, such...

13:57
@ntohl lol
14:12
@KendallFrey lol you're welcome
14:26
@GeorgeSarcasmGod Windows XP was the best. Windows 10 includes so much rubble that it hardly works as expected
Creators update broke so many PCs I laughed out loud every time I heard about it, then my own PC forced itself to update, piercing through my policy that blocked Windows Update from triggering, and breaking my PC too.
and that's how I formatted my PC randomly
there's also the store, half the apps don't work there
has anyone tried the xbox insider hub? It crashes so often I even suggested they moved that service to Steam
oh, and then you have Cortana and other background useless services that chew your RAM and CPU. It's okay on high end devices, but also hogs down the average PC.
Luckily there's a powershell script that force-uninstalls every single windows package. Honestly, Powershell is flawless, which is weird coming from microsoft
14:53
@HéctorÁlvarez I haven't had a single issue or bluescreen or any other issue for 2 years now ever since I got win10
@GeorgeSarcasmGod I'll troubleshoot one for you
I use a surface book, never
I mean never ever
1. Add the feature "Hyper-V" and all the related components
Ever had a single issue
2. Install virtual box
Boot up virtual box
--> BSOD
14:55
Your issue
Not mine
I have hyper ex
dafuq is that
And visual studio enterprise with an sql server on
And vb and never ever had an issue
the leprechaun blessed you apparently
Maybe if you get a decent machine and not those made to break gaming shit
I've never attended a MS conference where the stuff they display doesn't break
and I've attended many MS conferences
14:57
Because they use surfaces
Not random hp trash pcs
they use laptops
Surfacebooks
Or lenovos
who uses a surface, are you mental?
What
Dude
If you want a decent Windows PC you buy a surface
It's the quality standard
14:58
@HéctorÁlvarez That didn't make much sense. Use the !!/help command to learn more.
!!rofl
!!lol
Lenovo Thinkpad T570 right here
BSOD already
Yeah remember when think pads where good
Now they are shit
I personally have a Dell XPS 15, best laptop I've ever owned.
> Dell
hiss
14:59
Dell xps is amazing
All my friends use xps
I've never had good experiences with their consumer-level support. Corporate, sure, but consumer, no.
I mean the work friends
Their current XPS line is honestly fantastic.
Not much of a difference from last year tbh
I'm quite satisfied with my Surface.
15:01
The only gripe I have is the material on the palm rest/keyboard area will suck the oil from your hands and collect it for the sole purpose of making you look like a digusting pig.
Surface model?
@mikeTheLiar basically this
@GeorgeSarcasmGod Pro 3 I think
id | sn | amount
----------------
1 | 111 | 100
2 | 111 | 20
3 | 222 | 55
4 | 222 | 40
5 | 333 | 10
6 | 333 | 30

"get last amount paid for each serial-number (sn)"

select id, sn, amount from table

group by sn

order by id desc
can you help why this doesn't work on sql server?
15:16
group by needs an aggregate function for amount
601
Q: Retrieving the last record in each group

Vijay DevThere is a table messages that contains data as shown below: Id Name Other_Columns ------------------------- 1 A A_data_1 2 A A_data_2 3 A A_data_3 4 B B_data_1 5 B B_data_2 6 C C_data_1 If I run a query select * from messages group by ...

^ is this help?
27
A: Retrieving last record in each group from database - SQL Server 2005/2008

Joe Stefanelli;with cteRowNumber as ( select COMPUTERNAME, SERIALNUMBER, USERNAME, LASTIP, LASTUPDATE, SOURCE, row_number() over(partition by COMPUTERNAME order by LASTUPDATE desc) as RowNum from YourTable ) select COMPUTERNAME, SERIALNUMBER, USERNAME, LASTIP, LASTUPDATE, SOURCE from...

^ or this one
@ntohl thanks got it working
27
A: Retrieving the last record in each group

JYeltonI arrived at a different solution, which is to get the IDs for the last post within each group, then select from the messages table using the result from the first query as the argument for a WHERE x IN construct: SELECT id, name, other_columns FROM messages WHERE id IN ( SELECT MAX(id) ...

@whyguy you need to group by every selected column (that isn't an aggregate function of course)
@HéctorÁlvarez it doesn't work 'cuz id is different for each row
@whyguy The group by clause will work, it just won't show the results you need
@HéctorÁlvarez useful?
15:28
@whyguy Not much, every row is different so it will output everything in that table
You could also use first_value(amount...)
Why doesn't visual studio like files with ~12k lines?
@Raldo94 is it a source code file?
@HéctorÁlvarez Yes, WinForms :)
Why do you like 12K lines ~_~
15:31
@Raldo94 Then it's not only VS that doesn't like you, everyone who glances at that will probably hate you and your firstborn child
@HéctorÁlvarez Haha, luckily i'm not the one who wrote it.
@Raldo94 Then it's your duty to hate some wicked mind and their firstborn child.
@Whyguy I assume you got it working?
Best part is is when you have an combobox populated in the database query result loop
Hey let's play stop flagging shit. Y'all go first.
15:56
@Raldo94 I've seen shittier shit than that shit
16:11
heya
anyone has a good idea on how to send stuff from a console application to a web service?
basically said, we have 10 objects (of whatever kind) and need them on the server to do a task based on some header parameters of the web requests
but we cant just put it in a json or xml and put it in the body
i thought about binary streams and sending a shit ton of data just for the sake of it, but i dont know good libraries for that in C-harp
@Wietlol why not?
Sure you can - seems like the best option
because the data must be able to be deserialized without knowing the types beforehand
going to have to model it up some how..
i made a library that does this sort of thing for pet projects in Jaba
but I dont like using those stuff in business applications
mostly because its untested
and on top of that, I have to translate everything to C-harp
which is tedious
any existing library would be quite nice
@juanvan so im trying to do this without using models
16:17
What you do want C# webclient to accept when it comes over
an array of strings?
an array of objects
.. But you don't know what the objects will be when they get to the WebCode
some are strings, some are ints, some are xml documents, some are dictionaries
and a list now and then
I guess you could use some kind of Dynamic syntax to do it
dynamic syntax?
that still doesnt explain how I send it over the network
so getting the data to the client is the problem
not what to do with the data when it gets to the client
Has anyone ever had StackOverflowException issues with EF Core? I've been having them off the public 2.0.0 nuget packages.
You can make web calls in a console app
Are you searching for a serialization library for a format that is self-describing?
16:20
I've build 2.0.1 branch from EF Core source locally to new nuget packages and that seemed to solve it.
@AdamHouldsworth you using a Linq method
on the context?
No, it occurs on model creation.
@MohamedAhmed I hope I'm not the only person worried about that question.
So just var m = context.Model; is enough to cause it
@juanvan getting the data to the server mostly
there is a console application that sends a web request to a rest service
16:21
context.Model? That creates a DBSet<t>
and it must pass some parameters with it
Well, its just the simplest code that causes the context to call OnModelCreating etc.
not too versed in core but I assume its the same
It's not the eventual code.
There was some info on the net about it, but it all appears to be fixed :/
@Wietlol so you package up the request on the console and send it to the server
16:23
You can use HttpClient to issue request, which is built-in to .NET, alternatively, there's a RestSharp library
@juanvan yep
And when the server gets the data, what happens
@milleniumbug i know how to send the request
it does not know how to work with all the seperate objects you're sending
not how to get the data to the server to make it a 1 on 1 copy
16:24
3 mins ago, by milleniumbug
Are you searching for a serialization library for a format that is self-describing?
a 1 to 1 copy of the object being past
@milleniumbug ow, i did not see that message
but the Server does not know the object
but yes
Console app wraps up a Foo object, send it to the server
the server gets Foo object, but has no clue what Foo object is
16:26
@juanvan the class definitions will exist on both sides
or what to do with it after the fact
ok
think @milleniumbug is correct with serialization
just need the serialized data to be self describing
self describing
Explain
I need water to be wet, explain why it's wet water
I need an object
the object will tell me which type it is
don't know if that's a good example, but I'll take it
16:27
then I can use it as that type
you need something to be wet
you will ask the thing that makes you wet what type it is
usually her XXXXX
it will return water
@Wietlol You want JSON to be strongly typed? JSON.NET can do that
but someone's XXXXX will also work
the problem I think is that you are sending over an object, Foo, or the object can be Bar, or the object can be Cat
server gets the request, has to decide what object (foo,bar,cat) was sent
16:29
@KendallFrey do you mean like this: stackoverflow.com/questions/5979434/… ?
I hate the word No, give me more then No
give me "I mean this"
google isnt helping me much
@KendallFrey you mean that ^?
ah yeah that's the one
I didn't remember the name
i think that'll work
yea, that's what i need
ty
16:35
hmm. I haven't seen it. Nice
Yeah, looks like there is a public feed for the pre-release patched EF Core that features the fix for this.
I'll stick with that for now and hope the next full release gets it :-)
user7480455
17:21
hi all
user7480455
19:56
how are you mike
Can't complain. Nobody'd listen if I did. Vacation starts this weekend.
20:14
@mikeTheLiar Damn, mine too. You taking thanksgiving week off?
20:53
hi
i want some kind of config file
Best I can do is a config rasp.
should i do it in json or xml ?
should i just serialize a class in json?
config file should have a name field some id, and a few codes
inside
The question is nigh impossible to answer without actual requirements.
its fields should be constantly changing and accessed by multiple threads
That does not sound like a config file.
20:58
it should hold some metadata
like date and size
and some bool options
xml region systems seems appealing
but wanna know what pros use
00:00 - 21:0021:00 - 00:00

« first day (2586 days earlier)      last day (2588 days later) »