« first day (2244 days earlier)      last day (2695 days later) » 

12:13 AM
@hello Hello! :D
 
 
5 hours later…
5:03 AM
 
5:19 AM
Need help
*some one
 
do you have a sample of the json
@dotn
@dotnetman
 
yes
[{"browse_count":0,"bytes_free_string":null,"bytes_total_string":null,"bytes_unk‌​nown":true,"comment_added_at":null,"content_added_at":null,"created_at":"2016-06-‌​09T17:23:53-07:00","directory":"/","error_bytes_free_size":null,"error_percent_fr‌​ee":null,"home_share":false,"id":63,"name":"linuxServerRoot","node_id":5,"percent‌​_free":null,"status":null,"status_at":"2016-12-06T21:29:34-08:00","status_message‌​":null,"updated_at":"2016-12-06T21:29:34-08:00",
It's just a part of a huge JSON output
I want all the keys on one column and the corresponding values on the other
 
why
 
so that it is easy to read
 
fair enough
gimmie a sec
 
5:45 AM
sure
 
done
 
thanks a lot....let me try this :)
 
I know I struggled with learning json.net and deserialising stuff when I started so I hope that helps you
but that was pretty easy
anyway, I hope that helps you delve further into it. It's an awesome library - I use it all the time.
I'm heading home now so good luck
 
wait pls
I am getting an exception
 
what's the exception
 
5:52 AM
An unhandled exception of type 'Newtonsoft.Json.JsonReaderException' occurred in Newtonsoft.Json.dll

Additional information: Error reading JArray from JsonReader. Current JsonReader item is not an array:
 
dunno
I'll paste my full code into my answer
 
pls
 
I'm using a C# console application and Newtonsoft.Json 9.0.1
what I posted works fine
 
i am also using the same thing
a console app
and Newtonsoft.Json 9.0.1
 
I'm also using .net 4.5.2
vs 2015
i gotta go, it's about to storm here and I dont wanna get soaked on my bike ride
maybe someone else can help
 
5:56 AM
thanks a lot
take care buddy
 
 
1 hour later…
6:58 AM
Yesterday I wondered if using two concurrent TFS workspaces would make me cry within the week. I tried it. It made me cry within the day.
 
7:12 AM
ohayou
 
7:40 AM
is there any point to upload branches to remote repositories on git?
I mean if I am working on a feature on my own and just want to merge when I am done
 
If it's a private branch that's only used by one dev on one machine, no.
You see where I'm going with this.
 
7:55 AM
yeaaaap
 
Morning all
 
Hello everybody!
 
Morning o/
 
8:35 AM
o/
 
@misha130 Might be if the remote prevents changed w/o merge requests with reviews or smth
 
Mornin ma fellow "humans"
 
@DefinitelyMidTwo You missed it, I completed candybox
 
@Kieran yeahy \o/
How long did it take?
 
I haven't really lmao
 
8:47 AM
löl
 
i have no idea what im doing so im just leaving it to farm candies and lolli;s
 
^^ why?
Just beat the devil
it's ez
 
wot
beat the devil?
is that slang for something @DefinitelyMidTwo
 
Nope
The programmer/dragon
 
Sounds it
ohhhh
that guy
got it
 
8:58 AM
Hi All
anybody here with hp Fortify scan tool experienced
 
Teo
hi guys....
I'm comparing two MVC Design Patterns both having a generic repository class;
In one it does the context.SaveChanges() at the end of every CRUD method (Insert->Save, Update->Save, etc.) , instead in the other it has a method Save to call from outside .....
Can you help me to understand which are the pros of these two different solutions?
Thank you..
 
Both are terrible. You're welcome.
 
Teo
@RoelvanUden why?
 
Because it's a generic repository and you seem to be using EF.
 
Teo
@RoelvanUden Yes, I'm using EF.... Do you think that generic repositoy is terrible in performance or utilization?
 
Teo
@RoelvanUden Thank you.. I run to read it! ;-)
 
Incidentally, I disagree with the ultimate point of that article, even though I agree with a lot of his analysis.
 
Just take the theory and apply carefully.
 
Hi mates, when i am creating new Employee i can select for him an existing Employee as Recommender. Using ajax, how it will be better to do it, to let user input Employee NationalID and check if id exists grab dat employee, or let user input employee full name and generate dropdownlist based on search result and let user select one?
 
Dear people, I have a problem using a com dll in my C# application. I had a look around and tracked down a presumed error. When using tlbimp.exe, I get the following error:

"PS C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools> ./tlbimp 'C:\Program Files (x86)\IVI Foundation\IVI\Bin\Ke26XXA.dll' out:C:\TMP\MyLib.dll

Microsoft (R) .NET Framework Type Library to Assembly Converter 4.0.30319.33440
Copyright (C) Microsoft Corporation. All rights reserved.

TlbImp : warning TI3001 : Primary interop assembly 'Keithley.Ke26XXA.Interop, Version=1.4.5.0, Culture=neutral, P
 
9:14 AM
i really dont wont to grab employees based on each character input and display them in dropdown, or maybe grab only Top 5 based on each character input? how do you think?
 
Teo
Thank you, I have read and it is very interesting... But I like the abstract way...
Do you think that if I try to consider my repository CRUD methods as ATOMIC operations, is a few better?
 
The main usage I see for Repositories isn't for transactions, but for abstracting logical operations. My WorkflowRepository can have a GetActiveWorkflowsGroupedByStatus method which wraps a specific query, and my BL components don't have to do the filtering and grouping, which are data operations.
 
Probably not. I'd be inclined to say it's a little better, but EF can also deal with relationships so it's never going to be quite transparent (tree inserts), even if you call SaveChanges after every operation. And then it's very hard to deal with related deletions etc, when something goes wrong, you need to manually rollback etc.. very difficult.
EF already solved all that, why not embrace the proper way?
 
>The Only Thing You Could Do Worse: Repository < T >

HEY I DO THAT!
#triggered
 
9:29 AM
Does anyone know whether there are any situations where dereferencing Task<T>.Result produces behaviour that is not as expected, e.g. when running in a COM application with a particular apartment state
 
winforms?
 
How can I change Web Reference URL dynamically?
 
I would expect that line to block, and resume when the result is available. However I have some code where the only significant difference to a sample that works is one line calling a DoFooAsync().Result
 
I am following this codeproject.com/Articles/12317/… but I am not getting the same. Thanks
 
Teo
@misha130 @RoelvanUden @AvnerShahar-Kashtan I've a mystical crisis about EF and repositories now
 
9:35 AM
Well then, my work is done.
 
I am in mystical crisis about my stack
But @Roel what if i don't have submitchanges()?
 
@Teo But really, why? :-)
 
Teo
@RoelvanUden :-D
 
pls validate my use of repositories, pls
 
Hi mates, when i am creating new Employee i can select for him an existing Employee as Recommender. Using ajax, how it will be better to do it, to let user input Employee NationalID and check if id exists grab dat employee, or let user input employee full name and generate dropdownlist based on search result and let user select one?

i really dont wont to grab employees based on each character input and display them in dropdown, or maybe grab only Top 5 based on each character input? how do you think?
 
9:50 AM
thanks to whoever linked reddit.com/r/MusicForConcentration the other day. It's pretty useful.
 
yeah that looks handy
I was laughing the other week some guy on .Net rocks was selling music to code too...I was like ..what
 
lol
how does that work :E
 
bruh
he makes music you can type too
however at 256 BPM
you may fuck yourself over
 
@JARRRRG Clicked, Life is Strange compilation, listening, I'm not crying.
 
^_^ I like stuff like this, soft, easy going, motivational almost
Invoking the feels
 
10:00 AM
Totally.
I just finished it Monday. It's so fresh.
 
10:14 AM
hate work politics !
 
Let me guess, they just elected....I mean hired...the most incompetent President...I mean CEO...in history?
 
@TomW They hired the most incompetent person in history
FTFY
 
10:27 AM
@Teo Just stay skeptical. Don't do things "because that's how they're done", but do whatever feels right to you. You might change your mind in a year or a month, but for now, try to do things because they make sense.
 
Teo
@AvnerShahar-Kashtan Thank you... I'm thinking about your suggestions, It's very important for me the comparison with your ideas ... In my office I can't do that always ...
@AvnerShahar-Kashtan even if someone will take me around for exposing my doubts
@AvnerShahar-Kashtan Now I'm trying to find the right compromise for my needs
 
if you had the option to work with angular.js or react which would you chose? i have read some articles about them online and from what i have read my preference is lying with react, but then again no real life experience
 
I've only used angular so my view would be biased
Works well though
 
Like everything, it depends. I used both, and even transitioned my apps from Angular to React.
But that's no guarantee that React is better for every use case.
 
yeah bot i'm on 0 and react looks better from what i have read @Kieran
 
10:42 AM
Try react then, see if you like it
Worst comes to worst, just try and do the same thing in both
like set yourself a little task to do or something
 
yeah our end result should be something similar to the drag&drop modules available on azure
 
If you use JavaScript, the biggest advantage of React doesn't exist. If you use TypeScript, it does, and it's called type safety (yes, even in views). In Angular, you can't get that no matter what you do.
 
what exactly do you mean by the 1 sentence @RoelvanUden
 
That said, Angular is an actual framework, whereas React is merely a view library. So if you need facilities like routing and dependency injection, Angular already has them, but React doesn't. You'll have to roll your own, or get another library for that.
@Proxy Huh?
 
If you use JavaScript, the biggest advantage of React doesn't exist
 
10:46 AM
JavaScript is type-less. I believe that React's biggest advantage is the fact that, when using TypeScript, you get complete type safety over all your code. If you don't use TypeScript, that advantage is moot :P
In contrast, TypeScript+Angular still has dynamic views, not compile-checked, which sucks. imho.
 
aha i see
 
11:06 AM
@Roel AOT fixes that
wowowo let me fix that type
 
@misha130 AOT?
 
AOT "fixes" that
ahead of time compilation
 
You can do that for Angular views? How?
 
it takes these dynamic views and converts them in to typescript
and then implements type checks on it all
the problem is, its slow and not part of the dev build
I just use it for prod building
 
@DefinitelyMidTwo Creeping on chat i see
 
11:20 AM
@Kieran nah just afk here
 
 
1 hour later…
G K
12:31 PM
Hello all,
Does anyone here worked with windows authentication for asp.net applications?

I have followed the steps mentioned in this link http://dotnetgallery.com/kb/resource6-Login-authentication-using-LDAP-Active-Directory-for-ASPNET-applications.aspx

it is working for the current user who ever logged in, but when I try to create another test account with admin privileges, the code throws as invalid username or password, but the fact is the credentials are valid.
 
1:05 PM
@GK Are you using Identity?
 
G K
Noah, I am using DirectoryEntry and LDAP
as it was there in the link
when I debug it, it shows as the following error
8009030C: LdapErr: DSID-0C09050C, comment: AcceptSecurityContext error, data 52e, v2580
 
what's your result code
52e?
 
G K
Where can I get that from exception object?
 
sorry wrong language
 
G K
1:25 PM
Hmm,
yes thats how it is showing in the above exception object
from this link I could understand that it is invalid credentials but
I am able to login into pc with that user account and password
This link I am referring for error codes
3
Q: DirectoryServicesCOMException.ExtendedErrorMessage - List of Data Codes

ChrisI am building a website that let's users log in with their Active Directory accounts, and I want to inform the user why their login failed. The Background Logins will usually fail due to a Bad Username/Password, but they can also fail due to an Expired Password or their account being Locked Ou...

 
G K
1:44 PM
One thing it is not created under domain, its a local user. Was it causing the problem that the code returns as unknown username or bad password?
 
well if you are going to try and authenticate a local user against a domain ofc it will fail
 
user986408
hey guys, not implicitly a c# question but anyway: in a micro service architecture i have service A (rest api) and service B (customer dashboard). now both need access to the domain models defined in service A - is it right to fire local http calls from B to A to handle everything OR would you extract the domain models into a library/submodule and integrate in each service
 
user986408
second idea is more coupled i think and not so good?
 
@GK i.e. If your computer name is MyComp and your domain is abc.com, and you tried to auth a local user, you would be trying to log into abc\myuser with mycomp\myuser
@codepushr that depends
there are arguments for both sides of the coin when it comes to sharing models
 
user986408
@Failsafe do you happen to have any resources/blog postings on this topic :) ?
 
user986408
1:58 PM
i'm building micro services for the first time
 
1
Q: Should I create separate models for ASP.NET MVC and ASP.NET Web API?

Josh SchultzI'm using ASP.NET MVC and ASP.NET Web API in the same project. I'm debating whether to keep the models for these separate (i.e., putting MVC models in a "Models" folder and putting Web API models in an "ApiModels" folder). Should I (not) do this? Could separating them cause problems? Will keepin...

 
Your micro-service should expose its functionality on a versioned API. The models for that versioned API should be available for your second service. You'll probably have ServiceA, ServiceA.API and ServiceA.Models. Then ServiceB can NuGet install ServiceA.API and get the full API and models to consume. Since ServiceA can handle versioning, you can keep upgrading ServiceA without having to update ServiceB.
Note that the models should NOT BE your DB entities.
Think ViewModels
 
user986408
@RoelvanUden i sort of understood haha. can you try explaining it for a non-.net world? nugget is the package manager for .net right? i'm from php/golang world and decided to ask here because the other rooms are full of hipsters and envangelists
 
> nugget
 
Well whatever you use, composer, npm, I don't really care.
The point is that you can get the api/model definitions from a version frozen in time
 
user986408
2:05 PM
so basically extract the models folder of the api into a git submodule and reintegrate into the api
 
user986408
and also use it in service B?
 
user986408
or instead of a submodule - as you said - an independent package
 
No. Make a client API and a shared model package.
The client API should be URL versioned too
 
user986408
i have that (a versioned api) but i don't really know how to share the models
 
if I have a list of attendance records. Attendance records contain properties for InviteeCheckInTime and GuestCheckInTime.

If I want to show the records on a "Check In History/Log" page. How can I use linq to order the records by most recent CheckInTime (whichever is greatest between Invitee and Guest)

I tried the following, but it doesnt work as expected at all:
attendanceRecords = context.AttendanceRecords.Where(x => x.InviteeCheckedIn || x.GuestCheckedIn).OrderByDescending(x => (x.InviteeCheckInTime > x.GuestCheckInTime ? x.InviteeCheckInTime : x.GuestCheckInTime)).ToList();
 
2:07 PM
@codepushr some would say a package mismanager
 
Yeah so

UserService
UserService.Api (Has HTTP method calls to get info/put info etc)
UserService.Models (both UserService and UserService.Api depend on this, all models)

Then your WhateverService installs UserService.Api and gets access. That's it.
Then when UserService adds new functionality, bump the URL version and update the UserService.Api and UserService.Models in your package manager registration.
 
user986408
ah
 
Now both versions of the client api will remain working
WhateverService can still use UserService.Api (v1) and my NewCoolKidService might be using UserService.Api (v2)
Versioning is the most important thing when dealing with microservices.
Get it right early.
 
user986408
makes sense... thanks
 
also note that you will probably be mapping things
so your db entity -> view model and vice versa
isolate that entire api
 
user986408
2:20 PM
@RoelvanUden sooo... you would load the UserService.Api and call the controller/handler that manipulates the data (e.g. post /v1.0/foo) internally?
 
user986408
like inside WhateverService's BarController call UserService.Api's v1.0Foo action?
 
@codepushr That's what microservices are about - treating your internal service calls like external service calls.
 
Which allows each microservice to be developed and versioned independently.
Reducing coupling and dependencies.
And theoretically making your life easier.
 
user986408
and why don't i simply call it directly via the local network? i mean without including it as a dependency but rather call localhost:port-of-service/api...
 
user986408
2:30 PM
is this possible?
 
Possible, but a terrible idea. All your other services will have to know the internal structure of the other service, which makes it harder to develop/maintain/reason about.
 
Service discovery is a whole different subject.
 
user986408
i see
 
Back in the day there was UDDI. Nobody understood it, so it was rarely used
 
user986408
there's a lot to learn here haha
 
2:31 PM
@TomW Ooh, I remember that.
 
WCF has a UDP binding for discovery as well, they promoted it along with AppFabric when that was a thing. Nobody used it.
 
Never understood it.
Rarely used it.
 
@codepushr Simply put, if I develop a service and you need to interact with it, what would you rather do? Learn and understand my entire service, or include a package and just invoke the calls I provided for you
 
user986408
@RoelvanUden 2. :)
 
The history of software development since ooh I dunno, probably the 80s is "And nobody understood it, so it went obsolete and was abandoned"
 
user986408
2:32 PM
but i thought including it as a dependency is also sort of a coupling - but then we got the api versioning
 
@RoelvanUden However, I can say that in every project I've worked on, the concept of microservices was rejected due to overheads.
 
But the overhead of having complicated, brittle monolithic service backends that don't scale is absolutely fine?
 
And it's true that there are overheads, mainly upfront. Versioning each internal service means more work at first to define these formal contracts. Persisting call context between them is harder to reason about.
@TomW Of course. People will always prefer technical debt over upfront costs.
 
Same here. Micro-services can be nice in theory, but it's really hard to do well and has a vast amount of overhead to maintain. I don't even know how you would handle aggregation of multiple service sources.
 
And really, technical debt is fine. It's perfectly legitimate to take on technical debt at the beginning of a project, just like it's fine to take on financial debt when starting a business or a startup. You need results fast, and debt lets you do that.
The mistake is thinking that you can hold on to that debt forever. Like financial debt, technical debt accrues interest. You have to have a plan in place, starting from day one, for paying off that debt.
 
2:37 PM
And then there is a debt that was always a bad idea, like buying an office block on a credit card
especially when what you needed was a hotel.
Look whatever the metaphor doesn't stretch that far
 
@TomW Yeah, the appropriate technical example for that analogy is, I think, all-in-one frameworks like Lightswitch or PHPNuke. You get a working system in hours and think you've got it all, and discover that any meaningful changes require you to dump the whole thing, take the loss and start over.
 
I like the look of Service Fabric, not got around to looking at it yet
But my client's other development partner is using it
 
user986408
hm. in my last project i had one huge code base acting as a rest api, dealing with push notifications and emails etc... in this second approach i feel like having a separate api and a push-notification service is much cleaner and more scalable
 
user986408
but again, i'm starting out in micro services :)
 
What I gather is that that handles things like versioning, like so:
v1 service is deployed; clients call the v1 service by being routed through a routing agent that just inspects the URL for the version string
v2 service is deployed; over time clients migrate and new agents running the v2 code spin up as they're used
as usage of v1 drops off, the agents serving v1 requests go to sleep and never wake up again
That's it, service migrated
 
2:43 PM
@codepushr Right, that's where it makes perfect sense. But imagine having customers, shopping carts, and orders. Some would split these into separate services, which will be incredibly awkward. But yes, isolated components like that are perfect for this
 
user986408
i chose to bundle all versions in one single api service... out of convenience, i didn't want to struggle with a proxy upfront that checks the url pattern :/
 
user986408
@RoelvanUden that also sounds terribly awkward :D
 
@RoelvanUden I guess this is why it's really important to factor it out into bounded contexts properly, really do your DDD well at the start
 
I'm pretty sure I've written variants of my "technical debt is fine" speech here in the past. This room is very useful for me as a sounding board to sharpen and polish my rhetoric. :)
 
user986408
whats DDD?
 
2:44 PM
Which is going to be a hard sell for a lot of organisations since very few people can think abstractly
> I'm pretty
good to know.
 
user986408
:D
 
Looks like nothing to me
 
@TomW Damn right I'm pretty! Look at my graceful curves and fluorescent yellow background!
 
@codepushr domain-driven design
 
G K
@Failsafe I tried by login into the newly created account but unfortunately we don't have permissions to create under domain, but we are allowed to create a local user. But logging in with user account also gives me the wrong password
 
3:07 PM
Is this code correct to write and read with a socket?
            string str = "<soapenv:Envelope xmlns: q0 = \"http://master\" xmlns: soapenv = \"http://schemas.xmlsoap.org/soap/envelope/\" xmlns: xsd = \"http://www.w3.org/2001/XMLSchema\" xmlns: xsi = \"http://www.w3.org/2001/XMLSchema-instance\" > < soapenv:Header >  </ soapenv:Header >   < soapenv:Body >    < q0:leerRMI >     < q0:recurso > volumen </ q0:recurso >  < q0:num > 1 </ q0:num >  </ q0:leerRMI > </ soapenv:Body >   </ soapenv:Envelope > ";

TcpClient clientSocket = new TcpClient("192.168.56.14", 8080);
 
3:19 PM
ViewBag.Title = "<b>" + Model.Result.First().Prop1 + "</b>" + " results";
@Html.Raw(ViewBag.Title)

Is there a XSS risk in using @html.Raw like this?
 
yes, you should not let the user display Raw
 
Is there a reason this doesnt work?

select * from SomeTable
where dateA != dateB
 
@Michael c'mon man, you know better than this. What do you mean "doesn't work"? What's dateA and dateB? What are you expecting to happen, and what's happening instead?
But given your question, yeah, there's about a million reasons that it might not "work", given that we have no agreed upon definition of "work"
 
3:36 PM
@Michael 1) you don't have a table named SomeTable 2) you don't have a field named dateA 3) you are trying to execute SQL on a potato.
those are the most likely problems.
oh, distant 4) you didn't account for the time parts.
 
seeshh tough crowd today :p
 
the potato thing happens to me a lot, to be honest.
 
lol
 
posted on December 07, 2016 by ericlippert

The nice people at the New Jersey Institute of Technology asked a dozen people for some extremely brief thoughts on the impactfulness of computer programming in the coming economy, and were kind enough to include me among those dozen. And … Continue reading →

 
How cool is this: imgur.com/a/xHON5
 
3:50 PM
okay well here we go:
I have a table called AttendanceRecords it contains two nullable date columns (InviteeCheckInTime and GuestCheckInTime)
The following results in what I would expect. All the records where the InviteeCheckInTime is equal to GuestCheckInTime.

Select * from AttendanceRecords
Where InviteeCheckInTime = GuestCheckInTime

However, the following sql statement returns no records:

Select * from AttendanceRecords
Where InviteeCheckInTime != GuestCheckInTime
 
@KendallFrey there's no message there is there? D:
 
Look closer
 
YOU ARE A FUCKING CUNT
 
LMAO
\o/
 
(╯°□°)╯︵ ┻━┻
 
4:09 PM
@Michael well, the obvious question is, are there any records where InviteeCheckInTime isn't equal to GuestCheckInTime?
What's select count(*) from AttendanceRecords vs select count(*) from AttendanceRecords where InviteeCheckInTime = GuestCheckInTime?
Also, since they're nullable, null != null
 
@mikeTheLiar yes
 
Good morning.
 
@Michael how do the two count queries compare?
 
@mikeTheLiar
select count(*) from AttendanceRecords : 559
select count(*) from AttendanceRecords where InviteeCheckInTime = GuestCheckInTime : 97
hhmmmm
 
Hmm. So you get count = 97 but no results from the select * query?
That makes precisely 0 sense
 
4:14 PM
@mikeTheLiar no select count(*) returns 559
 
Shouldn't it be: SELECT COUNT(*), * FROM
 
@Michael sorry I meant the count(*) with the where constraint
@Greg not if you just want the number of records fulfilling a condition
 
The count would only return how many results match, not the actual data.
 
That's all we care about right now
 
@mikeTheLiar Is that what he wants?
 
4:15 PM
there are plenty of records where InviteeCheckInTime has a value and GuestCheckInTime is null. Why aren't those returned?
 
Oh.
 
Because the select * from foo where bar = baz returns no rows
 
Never mind, continue.
 
@Michael oh
Because someValue != null
 
right
sorry I mean if we switch to a !=
 
4:16 PM
Sorry to elaborate
You can't compare a value and null
You have to use is not null
null can't be compared to anything
 
damn. Is that actually logical? because certainly you can compare things to null
like you just said someValue != null
 
@Michael that's how sql works. you use "IS" for that
 
it will always not be equal
 
<>
 
@Greg <> == !=
 
4:19 PM
^ sometimes
 
But you're going to have to do something like InviteeCheckinTime != GuestCheckinTime or GuestCheckinTime is null
null in SQL is a bit different from null in .NET
null in SQL just....isn't
 
Quite a bit.
 
null = null in SQL is false
Because null is a non-known
 
I always thought it was because not all programming languages even have the concept of null, so how would you represent it
you can do "IS null" in any language
 
Is that null the int? Null the datetime? Null the user?
@doug65536 but is null null?
 
4:23 PM
I'm with ya man. I know you can't compare with null
 
> "What time are you checking in?" "null"
Is that the null "I don't know"?
 
fun side note: NaN != NaN
 
Is that the null "I'm not going to check in"?
Is that the null "who the hell are you and what are you doing in my house"?
No way to know
 
even more fun side note: there are multiple types of NaN
 
something something haskell
 
4:24 PM
yes, signalling, quiet. and you can put something in the mantissa bits
 
nothing to do with haskell but since you mentioned it
 
dammit
 
challenge accepted
 
notsureifishouldclick
not that nsfw tbh
 
4:26 PM
He did say maybe
And we are talking about Kendall
 
twitter thought it was
so vOv
 
So maybe lies somewhere on a spectrum of null and /r/spacedicks
 
yeah but twitter thinks alot of things
doesn't necessarily make them right
 
sauce
the share links at the bottom are the fucking best
 
4:28 PM
> javascript
im ded
 
@mikeTheLiar was just about to link that haha
heh
 
@Michael here, play around with this:
declare @n datetime = null
declare @t datetime = getdate()

select case when @n != @t then 'true' else 'false' end
Fark. Too late to edit but the logic's backwards. You get the idea anyway
 
@mikeTheLiar thanks!
 
But yeah. You should never get a truthy value out of that
 
How could I write and read with sockets in C#? I have tried with 3 ways, no one works, always when reading the response, my program gets freezed.
 
4:39 PM
Uuuuuuuuuuuuuuuuuuuuuuuuuuh really
 
what is a socket?
sounds complicated
 
It is like the most primitive way to pass messages between computers in a network
 
@Michael you put it on when your footet gets cold
 
I prefer @mikeTheLiar 's answer. +1
 
OmG
4:57 PM
@Quico I suggest you using ZeroMQ (NetMQ in C#). It's a library which you can send message through sockets using it, and easy to use.
 
@QuicoLlinaresLlorens what are you connecting to? How do you know it answers?
 

« first day (2244 days earlier)      last day (2695 days later) »