« first day (2599 days earlier)      last day (2575 days later) » 
05:00 - 20:0021:00 - 00:00

05:48
Any SharePoint developer is here ?
05:59
06:15
Any SharePoint developer is here ?
06:56
Good morning.
ohayou
good morning
sorry, I broke the multilingual daily greetings
Buenos días
07:14
@HéctorÁlvarez בוקר טוב
Jesus Christ would be proud
Do you believe in the sanctity of this being that lets poor souls feel embraced by some sort of supernatural force that, at the same time, lets children die of cancer, but nobody points that out because all they want to see is their mistakes erased magically without any effort at all?
07:29
In what now?
Oh, the old "if god exists, he doesn't deserve our worship" argument.
is it old?
mmmmh I thought everyone had a cunning sense of blind approval
I've heard it, in various variations, over the past 30 years or so, and that's not because it's 30 years old, but because that's the age I started hearing it. :)
alrighty then, so what's the answer to this belief?
There's no answer. It's a question of personal belief.
every question has an answer, even if it's subject to personal bias
07:34
Not a meaningful answer.
I'm not a believer, so I can't really start picking apart the moral foundations of someone else's belief. I don't share that belief, and I can only pick apart what I imagine their belief is, if I were the one believing. But this approximation of belief is, by necessity, biased by the fact that I'm not a believer.
user7538827
Hi guys
user7538827
user7538827
the errore is on gdi+
user7538827
can you help me?
I know, but you can never achieve anything meaningful in religion anyway, I'm leaning more toward the answer that has no counter argument, the one answer that tears premises down and forces the other person to think for a moment. THE answer.
07:36
What's the error?
@HéctorÁlvarez That looks like a religious argument.
@RiccardoPirani mind explaining what's wrong with that?
user7538827
error is this: imgur.com/a/lH2yq
@RiccardoPirani can you please translate into english? We don't speak pizza here
It's an 0x80004005, also known as a "something went wrong, somewhere" error. Generic error.
Try to catch the exception in the debugger to see if there's an inner exception or any additional information.
@AvnerShahar-Kashtan there's always this one argument that makes the best religious person get mad at you for pointing our how the lies they believe in make no sense, because they've followed that mindset for years in order to achieve whatever they are promised on death, and be untethered from earthly desire or whatever crap they were told.
user7538827
07:40
Then the code loads an image from the file system and displays it on an imagebox and then saves it to a varbinary database! My problem is that an error on gdi + is printed in the database save time!
@HéctorÁlvarez Making a person mad at you is a very bad tactic for conversation, argument or conversion. Pointing out that someone else's beliefs makes no sense, again, isn't constructive. It's fine if you want to attack someone or feel superior, but it's not constructive.
@RiccardoPirani It's thrown on the call to Save, right?
What type is pictureBoxImmagineDistinta.Image?
BitmapImage?
Do any of these results help? google.com/…
user7538827
yes is bitmapImage
user7538827
@AvnerShahar-Kashtan It's thrown on the call to Save, right?

What type is pictureBoxImmagineDistinta.Image?
BitmapImage?
user7538827
@AvnerShahar-Kashtan sorry,
I also tried that on google but I did not find the solution
@AvnerShahar-Kashtan You don't have to "attack" the person, just ask them what they believe in, and tell them any of the thousand reasons why that doesn't seem plausible. The problem is, those people are usually intelligent enough to realize your words make sense, and it's fair to be angry when you realize you've wasted the past 20 years doing some stupid ritual that gets you nowhere. That's why religion is usually tabu
07:46
Any SharePoint developer is here ?
@HéctorÁlvarez In 90% of cases, these "reasons why that doesn't seem plausible" are grounded in a foundation of rationalistic non-belief. That's a different paradigm. That's like telling someone they've bought a bad car because the license plate number should be divisible by 3 - it might seem like a very important criterion for one person, but entirely irrelevant to another.
And again, saying "if they get mad, it's because my logic has made them face the fact that their choices are stupid" is, almost always, not true. It's "this jerk is telling me my choices are stupid" that makes people mad.
I think that depends on how you point it out entirely. As a rule of thumb, I tend to say things so people believe they discovered them by themselves entirely, and I was just the one given them and idea.
of course, these people don't usually get mad at me directly, they just run out of arguments
like those mormons yesterday, who came at me like "DO YOU BELIEVE IN OUR LORD AND SAVIOR!?"
08:02
It's very confusing for both of us to be yellow rectangles.
4
user7538827
I have solve with sleep main thread!
user7538827
for 2000 millisecond
@RiccardoPirani wait, is that an async task? Because what you did is quite a hack there... Can't you await that save method?
08:21
Are there any good web tools built on Asp.net to view the data base content like any SQL developer
I have a class I send a parameter to its constructor, I want any change to the parameter inside the class to reflect to the original object sent to it
However it works on perl which we don't have the setup in our servers.
mr5
mr5
08:35
I've got a question
@Sadanand Like phpMyAdmin?
I don't know of any ASP.NET tools, but do consider that a remotely-accessible web tool to access your DB directly is, of course, a possibly security hazard.
mr5
mr5
what is the word for a value, specifically an image size, that is physically consistent for whichever resolution it is displayed on?
@mr5 device-independent? resolution-independent?
A device-independent pixel (also: density-independent pixel, dip, dp) is a physical unit of measurement based on a coordinate system held by a computer and represents an abstraction of a pixel for use by an application that an underlying system then converts to physical pixels. A typical use is to allow mobile device software to scale the display of information and user interaction to different screen sizes. The abstraction allows an application to work in pixels as a measurement, while the underlying graphics system converts the abstract pixel measurements of the application into real pixe...
mr5
mr5
so the unit is DIP?
@AvnerShahar-Kashtan yes I think that's it
WPF, for instance, uses device-independent pixels when you size an element as "px".
 
1 hour later…
09:58
yop
I'm a bit new about c# language and I need to use github.com/JamesNK/Newtonsoft.Json in visual, i used the latest release version with nugget package (v10.0.3) but a bug has been fixed in the github version and I don't know how to use this new version
because on visual studio i only found the way to import .dll :/
can someone explain me how to use the github code for my project ?
anyone else having issues with nuget?
don't know how the other people get issues, but there is other people on the github and stack saying there are facing this issue
the issued happens in specific construction of the classes, with arrays (i don't really understand how^^ so not everybody is facing the problem
mr5
mr5
NuGet is a joke
maybe, but when you're looking on how to add a library it's the first way you get told (when look on google, and on the library website)
mr5
mr5
just include all your heavyweight dependencies in your repository and your joke NuGet issues will be gone
10:06
@mr5 in Jaba, I use gradle and it works like a charm
in C#, i was told nuget is the equivalent
you mean download the github repo of json.net and paste all in my project folder ?
but it never works correctly
at least with updating dependencies
it always remains on the old version
and i have to remove and re-add the dependency
which becomes tedious when there are dependencies that depend on that dependency
you can tell nuget to get a specific version of a certain package
but it's a bit obscure, so I also end up downloading the assemblies and referencing them in the project instead
i can, but it wont properly update
and still look for the old version
so how to use the lib ? :/
i'm very unused to c# and visual, first time I experiment it :/
mr5
mr5
10:20
@Wietlol biggest joke ever told to you?
@AvnerShahar-Kashtan yes similar to phpadmin, yes I understand the threats it process however it will be restricted to access from a closed group of people. And I believe we will use an account where only read permission is provided for it from database.
And this is for SQL Server?
Because I found a couple of solutions - some free, some commercial - here
It should be a generic one we have mix of databases like Oracle and mysql
Ah, now it's getting complicated. :)
I don't know of any cross-platform web tools. I've used some cross-platform clients like DBeaver and Visual Studio, but not a web solution.
2 hours ago, by Avner Shahar-Kashtan
It's very confusing for both of us to be yellow rectangles.
@AvnerShahar-Kashtan I thought you guys had completely different avatars? ;)
10:29
Yes. Completely different, and very confusing.
@mr5 i dont know, but the biggest joke that I get
@AvnerShahar-Kashtan well then we gotta build one :)
10:46
come back ...
i tried lots of ways to add github folder with mine, never find how to, always somthing missing
user8397869
Servus, Grüezi und Hallo
11:03
stackoverflow.com/questions/47509411/… details over there, if someone knows
DateTime.ParseExact("11/15/2017 09:00:00", "MM/dd/yyyy HH:mm:ss", CultureInfo.InvariantCulture);
why would this give me 11/15/2017 09:00:00 AM as result ?
I don't want AM\PM, and I have no "tt" indicator in the Format provider ? any info is appreciated
facepalm
can we just not
for once
@Sakthivel it doesnt
you are either trolling, or fooled
ok, wait proof coming on your way
yep, fooled
@Sakthivel I will assume you have to pass a different IFormatProviderr, according M$ you'll get the AM/PM whether you specify tt or not
For example
dateString = "15/06/2008 08:30";
that will display AM when parsed
dd/MM/yyyy HH:mm
11:14
but I want the result in MM\dd\yyyy
that doesn't matter, the point is you'll get a 12h format
@HéctorÁlvarez show me code
my input string has "11/15/2017", parseExact(""dd/MM/YYYY" gives me out of range exception
still waiting for proof
@Sakthivel of course it does, your month is overflowing
11:18
@HéctorÁlvarez that is not the right code
i think you are fooled too
or you are missing the issue
@Sakthivel DateTime.ParseExact(time, "u", CultureInfo.InvariantCulture);
try that
DateTime sampleDt = DateTime.ParseExact(dateString+" "+hourString+":"+minuteString+":00", "MM/dd/yyyy HH:mm:ss", CultureInfo.InvariantCulture);
@HéctorÁlvarez alright gimme a sec !
@Sakthivel and how do you check wether or not it has AM/PM?
the input time is from 24 hour server
that doesnt answer the question
11:23
@Wietlol Do you mean in the input time ? I am checking in the quickwatch.
and what does the quickwatch do?
sampleDt.ToString()
DAteTime.ParseExact(?11/15/2017 09:00:00", "u", CultureInfo.InvariantCutlure) gives me a format exception too.
@Sakthivel you misunderstand your issue
a datetime is not a string
@Wietlol yeah that's all right here. my code is in different machine and my SO is in different. VPN wont let SO in
a datetime has no concept of AM/PM
11:25
@Wietlol enlighten me !
okay ?
the quickwatch uses DateTime.ToString() which, for you, uses a format that includes the AM/PM
dont trust the quickwatch with anything except strings
not even numeric values
not even booleans
just strings
I get the casting issue because the result has AM\PM in the Database. this parsed value fed into db
you want to parse a string containing AM/PM to a datetime?
that is a different issue
@Sakthivel what? You put a question mark in the string...
11:28
the input has no AM\PM
and you probably still use that borked format
@HéctorÁlvarez typo
can't you use sortable datetime?
I swear I'd hack every developer who doesn't use sortable format, especially those who put months first
or use imperial units for measure
@Sakthivel try playing with the ToString formats
and stop trusting the quickwatch with any data types other than string
@HéctorÁlvarez The system runs on imperial system. and sortable, yeah i can do that
yeah its weird.
11:32
@Sakthivel run away from there, quick! UK or USA?
@HéctorÁlvarez i swear i hack every developer who uses strings to store datetimes
which also solves all sorting issues
and formats
strings are evil as data
@Wietlol What? Why would someone store a date as string!?
I can imagine "November 4th 2014 --> why isn't it getting sorted?!"
@HéctorÁlvarez neither actually. Offshore for USA.
> especially those who put months first
which can only be done in a string
anyway, afk
@Wietlol managing, and maintaining them is a pain
@Wietlol SQL Server goes mad if you put date first.
Thanks for your time guys !
11:37
ISO 8601 is the good stuff
ISO 8601 Data elements and interchange formats – Information interchange – Representation of dates and times is an international standard covering the exchange of date and time-related data. It was issued by the International Organization for Standardization (ISO) and was first published in 1988. The purpose of this standard is to provide an unambiguous and well-defined method of representing dates and times, so as to avoid misinterpretation of numeric representations of dates and times, particularly when data are transferred between countries with different conventions for writing numeric dates...
There's an ISO for making a cup of tea..
ISO 3103 to be exact
12:01
@Kieran Can I apply that to Roiboos?
i dunno, maybe?
@HéctorÁlvarez I'm not sure it constitutes "tea leaf" as used in the standard.
> The method consists in extracting of soluble substances in dried tea leaf, containing in a porcelain or earthenware pot, by means of freshly boiling water, pouring of the liquor into a white porcelain or earthenware bowl, examination of the organoleptic properties of the infused leaf, and of the liquor with or without milk, or both.
Although, since the purpose here is to provide a standardized procedure so that results can be reproducible and comparable, I assume replacing standard tea leaves with rooibos will probably work.
hey guys
when writing a resume
I have: software packages: matlab,....
programming languages: python, R,...
Where would you put git in a resume?
hmmm
what would count as other tools?
out of interest
12:09
CI tools like jenkins/travis/VSTS
Generally speaking, though, it's not something I would read too much into when reading a CV.
really?
@Permian Editors, IDEs, bash/batch, linters/code analysis...
If I hire someone as a python dev, I expect to see python listed (though more important are projects written in python). Tools? Tools should be easy to learn, on the job if necessary.
ah cool
These lists of packages and languages and tools are only relevant to front-line HR people who filter by keyword but don't know what they mean.
12:11
haha
If a job lists "git" as a relevant skill, you know the job description was written by HR. It's like saying "Must be familiar with the System.Text namespace". It's a tool, you learn it.
@AvnerShahar-Kashtan LMAO so accurate
I wrote my own version of stdio.h --> HIRED
I've always wanted to do that
Right now I'm writing my own version of System.Text.RegularExpressions
@AvnerShahar-Kashtan Conversely... people who write "Git" as a skill in their CV...
12:17
removes git from cv
@MadaraUchiha "Skills: Git (intermediate level - can pull, occasionally push)"
3
haha
@AvnerShahar-Kashtan "JSON: 70%"
@MadaraUchiha "Visual Studio: expert level, can beat final boss at highest difficulty"
I'm not making that one up, we actually got one who said his JSON skills were 70%
12:19
@MadaraUchiha That's... oddly specific.
@AvnerShahar-Kashtan 70% odd, sure
I think I can get behind the mindset, though. "I know how to serialize and deserialize JSON using JSON.NET, but that's basic. I know how to customize serialization with attributes, so that's a bit more advanced. But I know there's stuff I don't know, like custom serializers or whatnot, so I don't want to get ahead of myself, so let's say 70%".
I wanted to invite them for an interview just to ask them what acronym JSON is.
To see if their 70% covers that
I'm going to admit something
You don't know what JSON's acronym is?
12:21
Off the top of my head, I could not tell you what JSON Stands for
I can actually give the generous interpretation and say that "70%" here means "I know it pretty well, but am humble enough to know I don't know everything".
@Kieran Right, but you wouldn't claim to be 70% of a JSON expert
I use it all the time as well :(
Nah, I'd claim to be 99%
JSON = JavaScript Object Notation
@Kieran Java String, Object, or Number
12:21
the 1% is the acronym ;)
@Kieran If you know what the "JSO" stands for, I'll give you 70%.
75%, even.
OOOO
@Kieran Yeah?
Who's right. @MadaraUchiha or @KendallFrey
why not both
True or false: Any valid JSON document can map 1:1 to a valid JavaScript object
Mr 99% :D
12:22
I AM NOT PREPARED
THIS TEST IS INVALID
I'm going to guess false
@KendallFrey Alright, why?
You're going to ask me for a coun.... see?
I'm going to say the only reason I think it's false is because the question was poorly worded
12:23
Something about valid property names?
@AvnerShahar-Kashtan Nope
Now I'm going to guess that JSON allows duplicate keys or something
@KendallFrey It doesn't.
@AvnerShahar-Kashtan All JSON types exist in JS
If anything, it's the other way around that's problematic (Dates, functions, etc)
@KendallFrey I would say you are totally nuts, but I had to sync 4 servers at different time zones, so I my own version of DateTime to account for time differences and random clock changes (because not everyone uses the automatic daylight savings, there are people that dumb) so all 4 servers were synced to the exact same time, and the god damn global trasaction log made sense
so yeah, making a humanly comprehensible version of regular expression filters isn't out of the question
12:25
{"x": 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
@HéctorÁlvarez You are totally nuts, because Jon Skeet did that for you
Ah, obviously not all valid JS is valid JSON. For one thing, JS allows for unquoted property names ({prop:"value"}) while JSON requires prop to be quoted as well.
That translates to {x: Infinity} in JS
@MadaraUchiha Hmm. Json Numbers are unbounded?
@MadaraUchiha Is the rule that it needs to serialize back to the identical JSON?
12:25
@KendallFrey Man I really want to meet this Jon Skeet in person at some point in my life
@AvnerShahar-Kashtan Yup
And it's the language that reads it that has to decide how to support numbers that don't map to native integer types?
@KendallFrey No, but two different JSONs can't map to the same JS object
Which, is what's violated here.
oh, that way
that sounds trivial at first blush
@KendallFrey That's the meaning of the 1:1 part of the mapping
12:26
I need to know what "different JSONs" are
I assume it's not a string compare
{"x": 999} and {"x": 9999} are different JSON documents
Well sure that's obvious
If you took the JSON document above and changed the last 9 to an 8, you created a different JSON document, but they'd both still map to Infinity
@AvnerShahar-Kashtan That's an awfully anti-Haskell position you've taken there
@KendallFrey Don't I always? :)
Oh, incidentally, @MadaraUchiha - I am unfortunately no longer in the friendly boundaries of Tel-Aviv.
12:29
D:
@KendallFrey Fine, fine, I can add "if the language support such a concept".
Left for Petah Tikva or something?
@MadaraUchiha Worse. Hertzeliya.
Though the current project is for Microsoft, so I'm sitting in their development center, which is at least a nice building.
12:30
Neat
@AvnerShahar-Kashtan That would be talking about JS. It's the one that doesn't have a native integer type
12:43
Ugh. My Android emulators all stopped working.
I'm at the stage of learning new technologies where things don't work and you don't know why.
As opposed to the later stages, where things don't work and you don't know why, but you're used to it and it's fine.
...I thought that was just how you learned
Everything feels so fragile developing for mobile. So much voodoo, even if it's wrapped by automatic build scripts.
Fine. I'll deploy to my actual, real, physical phone. Are you happy, Xamarin? Are you?
13:13
why is chrome autofill so shit
@Kieran The real question is why you're using it, given that it's shit.
@MadaraUchiha I'm not, I hit it every so often and its a ballache
@Kieran Just disable it
pls god
show me how
I wish there were a simple way to disable it per the website's discresion
13:42
hey guys, wonder if anyone can help. I'm a newbie at c# but im trying to change a picturebox1 in a different form.

i have 2 forms, picturebox1 sits on form 'ControlPanel'

and i have this code:

public ControlPanel ControlPanelRef { get; set; }
public PictureBox ThePicture
{
get { return this.pictureBox1; }
}
then on the other form, called form1 i have

ControlPanel ControlPanelInstance = new ControlPanel();

Form1 f2 = new Form1();
f2.ControlPanelRef = ControlPanelInstance;

f2.ControlPanelRef.ThePicture.BackColor = Color.Red;
no errors display, it just doesnt do anything?
13:59
Morning Coders
Does anyone know why Edge is not Touch friendly?
@BCLtd It looks like ControlPanel is instantiated independently of Form1.
I'm guessing the ContrlPanelInstance you're modifying isn't actually part of Form1's children.
when we click on the element of the page, it is seen as selecting the DOM and not the elements
The class Form1 simply holds a reference to a different class, ControlPanel, but it doesn't actually use it when rendering.
@juanvan what do you mean sorry (I'm a total beginner at c#)
> Form1
flashbacks
14:01
This is more a DOM HTML problem
ahhh
guess I should ask in JavaScript room
But I like @KendallFrey answers more
@juanvan No but actually, what do you mean?
@juanvan Yeah, I didn't get it either. The elements are part of the DOM.
Correct, elements are part of the Dom
but when you select an element on the Dom, in edge it only selects the dom
14:02
Another advantage of this room over the JS room is that we're only rarely abusive, and even then, mostly in cases involving CSS used by the NSA to spy on people.
@juanvan "the DOM" is not something you can select
So you must mean something else and need to explain yourself
Let me see if I can get more concrete example
Here is the url
If you have a touch device and open it in edge the touch comes back as false
Clear as mud.
Basically, it calls a library called jqwidgets which is supposed to return true/false if the device supports touch, right?
14:13
And we're sure that this library isn't misreporting Edge here?
and I have a tough device, in firefox it see's the device as tough and response correctly
No clue
Good question
I see the same - Chrome reports "true" on my touch-screen laptop. Edge reports "false".
:)
mud is clearing
It seems to be a very dirty set of switch/case rules to determine it.
14:19
It starts by checking the user-agent, browser name and platform fields for tell-tale strings like "android", or "mobile safari", or "zune wp7", goddammit.
I'm translating something to vb and just came across something I've never seen in C#
@AvnerShahar-Kashtan ya it's a dumb method but he is grabbing and tracking all the user agents
Then it starts inspecting the window object for events like "MSPointerDown" or "touchstart".
@juanvan It's dumb, but probably the only effective method.
ya it is the Only method
public something()
: this(CONSTANT)
{
}

Anyone know how to translate that to vb by any chance? Not even sure how to start my search with this one
14:21
It's possible that the code simply doesn't recognize the idiosyncracies of Edge among the two dozen or so idiosyncracies it checks for.
@JohnnyPrescott Here you go: stackoverflow.com/questions/1612371/…
It's called "constructor chaining", and the VB syntax is similar.
@juanvan JqWidgets' own testing page reports "false" for touch events, so I'm guessing the problem lies somewhere between them and Edge.
Thanks avner. Will read about that.
Appreciate the help
@AvnerShahar-Kashtan thanks for the info - seems like it is an Edge problem
@juanvan It looks like IE and Edge (and also Chrome) support an alternative API, Pointer Events: caniuse.com/#search=pointer
Firefox doesn't officially support it, but it is on mozilla's MDN: developer.mozilla.org/en-US/docs/Web/API/Pointer_events
Ya they are working on it for the next release it looks like
user7480455
15:26
Hi all
16:16
Hi
user7480455
How have you been sir
Living, Dreaming, Working
Being the best Dad
user7480455
16:39
That is pretty nice statement! was your dream was to program
user7480455
how long have you had a child? Are you a new father?
17:26
In March he will be 2yrs old
Getting into them No years
user7480455
Ahh ok...
18:30
Hi
19:25
ehlo
05:00 - 20:0021:00 - 00:00

« first day (2599 days earlier)      last day (2575 days later) »