« first day (2143 days earlier)      last day (2809 days later) » 

12:59 AM
@Dartek12 SO chat is a websocket(for events, messages, etc)+webrequests and you would have to use some tool to read the requests and response to do it your self or take the shortcut and use an API if available. For facebok and skype for example, microsoft offers a bot framework.
On another note if anyone knows about this drop me a quote...
yesterday, by Guapo
user image
 
@Guapo Looks like what happens when like Windows XP freezes and you move a window
With the whole image sticking around part anyway
 
Gui
1:20 AM
in C#, is class Maybe or Optional avaiable by default in last .net framework version ?
otherwise, which library would you recommend me
 
Depends on what you need, really.
 
Gui
just the class Optional
I implemented my Optional class
but it sucks
I can't use it as an optional parameter of a method
for example
public class Maybe<T> : IEnumerable<T>
    {
        private readonly IEnumerable<T> values;

        public Maybe()
        {
            values = new T[0];
        }

        public Maybe(T value)
        {
            if (value == null)
                values = new T[0];
            else
                values = new T[] {value};
        }
        public IEnumerator<T> GetEnumerator()
        {
            return this.values.GetEnumerator();
        }

        IEnumerator IEnumerable.GetEnumerator()
and I need to be able to have a method like
public void Foo (Maybe<int> bar = default(Maybe<int>))
{

}
but bar is always null
so I guess my implementation sucks, probably someone found a solution with a struct class instead of a class
I meant, if I call method Foo without parameter, then bar is always null inside the method and I can't do bar.Any()
nevermind, there's a SO question about this problem and the solution seems good :) stackoverflow.com/questions/16293374/…
 
1:45 AM
If you want nullable semantics from a struct, you can use Nullable<T>.
 
2:05 AM
0
A: How to setup environment for ASP.NET?

kushWhat do you have currently installed on your computer? Windows? Mac OS? GNU/Linux? If Windows, simply download and install the latest visual studio community edition to get started. https://beta.visualstudio.com/vs/community/ If you have a more specific question about any step you're stuck with...

Maybe I misunderstood the question?
 
 
4 hours later…
6:05 AM
Yo yo.
 
6:17 AM
Sunday morning. Got to work. Had a good 30 minute design brainstorming about my upcoming feature. That's enough, right? I can go home now?
(Reminder: Sunday is a workday here, for those of you in Christendom)
 
6:45 AM
go home man
 
Tell them you're not allowed to work on Sunday because of religious objections.
 
@GrantHill Then they'll make me work Fridays. No win there.
 
Clearly, Fridays and Saturdays are holy days.
Heck, have six or seven a week.
It's not like anyone checks this sort of thing.
 
how will they even check
if you are working on friday
they are supposed to be keeping the shabbat
 
@misha130 Seeing as my boss regularly checks in code on Fridays an Saturdays from home, I really don't think I want to align my work schedules to his.
 
6:48 AM
right
 
7:00 AM
welp I amma spend my day enriching my knowledge with youtube :^)
 
 
1 hour later…
8:20 AM
@Darkrifts Indeed, but its not frozen and it properly uses background worker and such as to not lock the GUI in anyway
 
salam
i have a question
can anyone help me?
 
@HamreenAhmad See the the top message pinned to the right there ------->
 
sorry @AvnerShahar-Kashtan
thanks
ok
my question is that
how to put this image to the right of the text
 
anyone got any idea why SELECT Value FROM STRING_SPLIT('Lorem ipsum dolor sit amet.', ' ');
why this wont work
on compability level 130
 
that icon which surrounded with the yelllow line
how to put that to the right of the text
 
8:29 AM
@HamreenAhmad Judging by the icon and title, I'm guessing this is WinForms, right?
 
And this is a standard Tab control?
 
its just a tab control
can i do that using wizhard?
iam beginner in c#
 
I haven't written any WinForms in years, but I remember RTL was a lot less convenient than in WPF.
There's this, which seems to imply you have to take control of drawing yourself:
0
Q: Windows Forms C# TabControl ImageList Alignment?

Jason AxelrodIs it possible to align the image icon from on a TabControl's ImageList to the right of the text? Right now, the image icon gets put on the left, and the text is to the right of that. I would prefer the text to be on the left, and the icon to the right of that. Is this possible?

 
thanks @AvnerShahar-Kashtan
i try with that
but as you see the icon is not in the center vertically
in my image
dose that answer solves that problem too?
 
8:56 AM
@StevenLiekens
dont you know what is my problem
in this video
@AvnerShahar-Kashtan
i couldnt do that watch the above video
can you help me more...
thanks
 
Not really. Haven't done WinForms in years, as I said, and I'm really not missing it.
 
9:52 AM
if you're new to c#, do yourself a favor and skip winforms/webforms
there's no point in learning it now
unless your job requires it but then I suggest you start typing your resignation letter
 
 
1 hour later…
10:57 AM
Hello guys
I am sorry for that. I want to create a desktop app but i don't know how to design a beautiful design without web tech. Any idea how can i do it using c# ?
 
@gtzinos That's... not really an answerable question.
 
why not my friend ?
 
Is the question "can I get the same styling possibilities available in HTML/CSS with a desktop app"? The answer is "sure".
 
I need to use bootstrap into my app
this is the only i need
 
@gtzinos That's not really a desktop app, it's hosting a web app in a desktop wrapper.
 
11:08 AM
i dont care for javascript
it is a good idea?
i found electron project but my source code is open source to users :O
 
Again, "is it a good idea" is way too vague of a question.
If you don't need javascript, I'm assuming your "app" is basically a static page?
 
yes
i need just a progress bar
and a beautiful design
 
12:30 PM
c#, Windows forms Application
how to i handle label in real time?
I want it to disappear after 4 seconds?
 
1:02 PM
@ARr0w after four seconds of what?
maybe an event handler that changes the label text?
 
Hello coders.
O
I'm reading this book PEAA.
And I cannot seem to understand this part:
Can someone help?
 
nah. I needed the timer.
i got it
 
 
2 hours later…
3:39 PM
sql server:
if i don't mention the size of datatype.
What will the sql server consider it?
such as

create procedure test
@test1 varchar
as
BEGIN
//Query
END
 
 
2 hours later…
5:19 PM
@ARr0w it depends on the type
 
oky
 
the only way to find out what size sql server will use is to look it up in the documentation
> When n is not specified in a data definition or variable declaration statement, the default length is 1. When n is not specified when using the CAST and CONVERT functions, the default length is 30.
so in your example the type of @test1 is varchar(1)
but if you use it like SELECT CAST(10000 AS varchar) AS test1; then test1 is varchar(30)
so it's pretty fucked up
:)
 
yeah, it is pretty much
by the way, another question regarding c#
@StevenLiekens
i am trying to keep my listview real time.
I want it update the list when data is updated in database.
i am populating the listview from dataset > datatable > forloop > populate Listview

and it is happening in a method i denoted as 'dashboardinfo()'
do i have to call this method in a thread to make listview work in realtime?
misha, you can also answer, if you can, don't hold back* :P
 
you want a push model from the db server to the application?
 
yes and i want it to show in a listview in realtime.
 
5:30 PM
that's pretty advanced
 
if by model you want the 'data calling from database which i am storing in dataset'.
 
you want the db server to trigger an update in your view?
because I don't know how to do that
 
yes
 
there's something called query notifications
> query notifications allow applications to be notified when data has changed.
 
alright i'll read around.
thanks mate for the concern <3
 
5:33 PM
does it have to be realtime?
 
yeah
 
good luck ;)
 
thanks. ^^
 
cache expiration?
objectdatasource ?
I have a data management philosophy question. Or, set of questions, really.
Anyone want to talk about data storage?
I know you're not supposed to "ask about asking" but...
I don't have a specific question.
I've been programming in .Net for about 10 years now and C# for about the last two years.
 
.Net is c# based?
 
5:47 PM
Hmm?
 
12 years of experience of c#?
legit.
 
8 years of Vb and 2 years of C#
Equals 10 years in .Net
 
owh.
well, doesn't matter.
 
Doesn't?
 
only difference is the 'syntax'
 
5:49 PM
Oh. Yeah, mostly.
 
if you've got the logic.
you own it.
 
I like C# a lot more after getting over the "fear curve."
 
so do i.
its like a girlfriend to me.
and i'm too possessive.
 
I started as a wee lad with basic (not VB) and all those semicolons and curly braces really scared me.
 
lol, they are the easy part though.
 
5:51 PM
Yeah pretty much.
 
those are just 'scope of the logic you are performing'
scope -- of the code *
well you know more them about than i do. I'm 5 months old.
on c#
 
Cool.
How are you applying it?
Websites, windows apps, gaming, etc?
 
6:12 PM
made my final yea project on asp.net which took 4 months.
my project was managing and computing payrolls which were view-able and attendance with detailed information with storing, editable and delete facilities including their picture.
it was generating crystal report. It have a google map on it which tracks the location of an employee who works on the fields with an help of an android app(java - made by my fyp partner who was intered in java)
worked on school management system in asp.net.
now making an application on windows app (forms)
what i experienced is 'more projects = new problems'
new problems = more learning
i prolly shared my cv with you lol
 
Sounds interesting
 
6:44 PM
i hope so
i am applying for a job now.
do you think i am eligible for one? from this overview?
 
Sounds promising.
 
thanks.
i have a plan of applying abroad after a year
of an actual job.
 

« first day (2143 days earlier)      last day (2809 days later) »