« first day (1277 days earlier)      last day (3673 days later) » 

12:57 AM
guys guys guys
I've been reverse engineering Apple's Classic environment and it's brilliant
I just wanted to tell people
it's basically a VM without a hypervisor and it's incredibly clever
 
1:12 AM
@zneak I can't tell if you're being sarcastic or not...
 
I am not sarcastic
it is incredibly clever
 
Hmm, interesting.
What is it emulating? A different architechure?
 
no, it's the same architecture for the most part, and it's pretty much what allows it to be so clever
Classic is the technology running Mac OS 9 inside a process on Mac OS X
 
Hmm, interesting
How are you doing the reverse engineering?
 
some time ago I made a program that parses ELF executables and x86 assembly
I extended it to support Mach-O executables and PPC assembly
(it's not as hard as it sounds, all the heavy lifting is done by llvm)
 
1:16 AM
wow, nice
 
(and I mean all of it, it's basically a GUI for llvm)
 
lol
I'd like to learn about the real side of reverse engineering. But it seems a bit out of my league.
 
you should try to make a gameboy emulator
there are resources to tell you how all over the place
and you get the basics of reading assembly code
 
Huh
that actually seems like a good project, thanks!
 
 
2 hours later…
3:00 AM
hi all!
 
If I say Skan what do you think I mean
Or Scin
@Elegiac You?
 
anyone here knows how to create new instance on usercontrol
easiest way
yow @OutlawLemur
 
What do you think of when I say "skan" or "scin"
 
i dunno sry ... never heard of that before
 
@Elegiac thats the point just whats the first word in your mind
 
3:08 AM
skan ? other term for scan?
scin ... something related with calculus i think haha
i try to google it lol
 
What about "Skanner"?
 
so Skan:
In Lakota tradition, Škáŋ is the Motion of the universe.

and Scin:
Scinderin (also known as adseverin) is a protein that in humans is encoded by the SCIN gene.[1]
 
Umm... It isn't a real word haha
 
it is
it has a meaning lol
 
Haha I was going for "Skin Scanner"... need to think of a new name for my app haha
 
3:14 AM
nice ... goodluck on that btw
what is the use of that app if u dont mind
 
3:54 AM
Do you think a column named "Is" something? Is poor naming conventions, to represent bool.
Inside a database?
 
4:15 AM
question is IsWhat @Greg
so i guess its a poor one .xD
 
4:40 AM
I'm really new to .net Socket programming. And I had a really quick question if anyone has a quick answer. If I open a socket on a server can any client connect to that socket... assuming of course that the firewall is not a blocking factor. Is there any kind of built in security on that?
 
5:02 AM
i need a help regarding creating a new instance
in usercontrol
 
5:19 AM
@JeremySeekamp If you open a socket on a server, it's not blocked by a firewall, and the port is currently not used by any other program, there isn't any other security blocking it
 
@AndrewKim So this technically means that while my socket i open an attacker could send my server bogus data? Take for instance an FTP server that opens a Passive FTP port and awaits data to be sent. Yes it will time out after whatever the timeout period is, but technically there's a window of opportunity there?
 
oh it depends on what you're talking about
IIRC, in a TCP connection you can only send/receive data from the one client, while (I think) in UDP there's no handshake
yep, UDP: No handshake (connectionless protocol)
 
@AndrewKim So it just accepts one request, I guess that makes the chances slimmer, but there's no checking to make sure it's the intended client sending data?
 
5:34 AM
When you create the TCP connection with the client, only the server and the client can talk to each other
No other attacker can randomly send data if the attacker were not the client
 
@AndrewKim
var socket = new System.Net.Sockets.Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.Bind(new IPEndPoint(IPAddress.Any, 30001));
socket.Listen(1);
@AndrewKim Nothing about the client is specified when opening a socket. Technically any client can connect at this point and send data, correct?
 
Right
Anyone can connect after you listen for clients
 
@AndrewKim I understand that as soon as a connection is established, we're all good. But if I'm waiting for file data on that socket, there's no way to know that it's the correct file data
@AndrewKim or that it is coming from the correct client
 
Do you mean "waiting for file data" as in you've already established a connection?
 
No before the connection is established with the client. As soon as I call socket.Listen(1), any client can connect and send data, an attacker for instance.
It seems this is the case I was just thinking when you setup a socket there had to be some way to specify an IP and port of the expected client.
I guess there isn't.
 
5:46 AM
oh oh oh
well then after you establish the connection
 
I realize it's a really slim chance, because you can set a very short window of time before the listening socket times out, and in only allows one connection.
 
and you also know the expected IP address of the client
you can simply verify it right after the connection was established
 
Woh
So can you specify that on the socket somewhere or do you just have to know?
what the expected ip address of the client is
 
I don't think there's a way to specify that on the listening code
It's just a simple check right after you get the connection established though
 
Ok makes sense
It's more of a manual thing rather than something built into the socket framework
Thanks so much for the help
 
5:53 AM
quick question though: what'd be the benefit of having it built into the socket framework? I guess that way it could reject the IPs that aren't expected before it fully establishes a connection, but isn't that a micro-optimization?
 
Yes, you're very right.
 
6:26 AM
anyone here knows how can i create a new instance of user control for every node of treeview?
   void CreateNewInstanceForBackTestingUserCtrl()
        {
            bt_UC = new BTUserCtrl(CurrentNodeTree.FocusedNode.Tag.ToString());
            bt_UC.Dock = DockStyle.Fill;
            BTabPage.Controls.Add(bt_UC);
        }
 
6:40 AM
that doesn't look wrong
if that's what you really want to do
 
how can i create new instance for every nodes of treeview?
 
creating new instance for _aaa_1
and another new instance for _aaa_2
 
is there a way to dispute when someone flags a question as off topic ?
Or do I have to wait and see if it gets closed as off topic which it wont this guy is so wrong.
 
@DaImTo If you have 10K rep you can review flags
 
6:55 AM
:/
0
Q: For google analytics i am getting Status: Tracking Not Installed

ShahzebI have added Google analytics to my site http://share-books.herokuapp.com/ when i view page source, google analytics scripts is there, but i am getting the following message when i view the statistics, and there are 0 visits. Can any one kindly help me what is the problem. Status: Tracking Not...

you do go kick Johns flag for please :)
 
ken doll why are you up?!
 
Its not my question and its a valid question he even gave the poor guy a -1
 
lunar eclipse
 
is it still going
 
almost there
10 more minutes
 
6:57 AM
:/ to much sun here. Send pictures kendall
 
Last I checked it was cloudy outside
I've just been playing games waiting for it
 
wow shocking a site that's not blocked video to Europe
 
whats with lunar eclipse.xD
 
um, it's in progress. what else?
 
can its give a good-luck?
haha
nah nvm ... hope it is
 
7:10 AM
I really wish I could watch the Google Analytics account for Google's registration for Google I/O over the next few days. Bet its going to go insane.
 
hi
plz need help
 
please don't say plz
 
hi have you used wysiwyg Jquery Editor ?
 
It makes you look lazy
 
its orange now
 
7:15 AM
sorry
 
@KendallFrey
 
@Elegiac Yup, and getting oranger
@jayrajGoswami What's that? Do you have a link?
I couldn't find it on Google
 
cool
 
no
i have no link
it's local no a host site
 
You made Wysiwyg jQuery Editor?
 
7:17 AM
yes
but issue is
 
If it's local, then of course no one has used it
 
post bag a time editor is One line
 
Excuse me?
 
not editor enable disable
 
Please speak English.
 
7:20 AM
editor is not enable or disable
Wysiwyg jQuery Editor
 
I have no idea what you're talking about
 
i have use Wysiwyg jQuery Editor
but
this editor is
not enable or disable
 
Please don't chop up your messages like that
 
ok
sorry
 
If it's not enabled or disabled, what is it then?
 
7:23 AM
Here's a tip to avoid chopping up messages. You can hit the UP arrow key on your keyboard to go back up and edit an existing message. That way you can add more text to it, correct spelling mistakes, etc.
 
its red now
jk
 
7:36 AM
Did stackoverflow chat just recently add the editing feature? last time I tried it, it only copied the last message (I think) (test edit)
 
@AndrewKim no, it's been around since I can remember
 
Oh, I must've missed it then
 
7:58 AM
hmmm i thought we got points for 1 ups on comments as well.
 
Alright, set to get 3 hours of sleep
 
3 hours huh...
 
8:41 AM
nope @DaImTo
 
9:18 AM
hi guys
 
hello :)
 
Do you know inner join in ms access
 
9:40 AM
@meranaamshahul Whats the difference from ms access and ms sql for instance?
 
ms sql have more functionality than ms access
 
@meranaamshahul ok, so what do you need help with?
 
do You know how to do inner join in ms access database
 
hello
 
9:56 AM
hi
 
 
1 hour later…
11:11 AM
hey everyone, is there a way to look for multile file extensions using this technique? -

var txtFiles = Directory.EnumerateFiles(sourceDirectory, "*.xml");
so search for ".json" as well? I tried using ".xml || *.json" but this produced an illegal character error
 
i dont know the answer to your question - but instead of trying what looks right, did you read the manual?
I don't think you did, I googled "Directory.EnumerateFiles" and the first Stackoverflow question to popup was:
23
Q: How to filter Directory.EnumerateFiles with multiple criteria?

YooakimI have the following code: List<string> result = new List<string>(); foreach (string file in Directory.EnumerateFiles(path,"*.*", SearchOption.AllDirectories) .Where(s => s.EndsWith(".mp3") || s.EndsWith(".wma"))) { result.Add(file); } It...

hope that helps
 
yep thanks
 
no problemo
sorry if i sound a little crabby, i'm extremely sick.
 
11:34 AM
omfg snow
 
right? we have inches
such bs
 
I looked outside and thought I was crazy
Which is certainly a possibility
 
all programmers are crazy
ALL
every. single. one
 
crazy enough to give up 3 hours of sleep for a lunar eclipse?
 
oh is that why you were up so late last night?
how was the 'blood moon'?
 
11:39 AM
The stream quality was kinda poor
 
that sucks
 
and the sky here was cooking up some devilish plans
 
was it overcast?
must've been for a while if it snowed
 
yeah
 
I'm going to attempt to work from home today, not really sure what I can work on though
 
11:42 AM
Was it a nice 3 hours of sleep @KendallFrey :D
 
it was
 
Sounds harsh thou
 
Though I woke up really weird
 
did you wake up confused and scared, that happened to me all sunday night, it sucked
didn't know where i was or what was going on
not that anybody cares
 
I was like why the fuck is my alarm going so that everyone can hear it
I thought it was supposed to be just me that can hear it
 
11:45 AM
lol
thats pretty funny
 
yes I was fucked up
no drugs or alcohol required
 
11:59 AM
i want 3 hours of sleep
 
12:27 PM
I appear to have an invisible file open. Make it go away.
 
12:53 PM
hi guys
can I promote my question here?
 
don't ask to ask, plz
 
6 hours ago, by Kendall Frey
please don't say plz
 
10 euro per qustion\
 
well, I'm desperate so @Shift you can deserve my money and rep
 
haha
 
12:56 PM
it's not about C# however
 
so shoot kalashnikov
o
 
C++
 
this is c# chat
I dont know anything about c++
:)
 
i did that on purpoise, porpoise
 
maybe others do
 
12:57 PM
yep but for the some reason it was shown when I typed C++
 
ask it anyways, no one is stopping you
 
-2
Q: How do I implement pidgin hide groups feature

DanatelaSince pidgin developers refused to implement subject of the question, I attended myself to start doing the patch that will implement that feature. There is a patch that does this for libpurple but it's hardcoded and I need the option to hide/show groups at run time, like any other messenger does....

@NETscape thanks
 
C# != C++, Windows != Linux. More luck in the C++ room I guess.
 
OK
 
i would probably downvote that too, but i'm saving my rep bullets
 
1:01 PM
@RoelvanUden - Makes me think of i.imgur.com/FjfrzMA.png
 
@NETscape downvotes on questions are free
 
@JanJohansen Heh, a little yeah.
 
any of you guys use printdialog before?
like, indepth, providing your own documentpaginator
 
Once, a long, long, LOOOOOOOOOOONG time ago. I know nothing anymore :P
 
1:19 PM
@NETscape which printdialog are you talking about?
 
1:40 PM
is there a certification for C# to study for like CCNA for network?
 
@Roel van Uden: thanks a lot!
 
You're welcome. I can't seem to find the visual graph, there is one too, it shows the entire path you'd have to go through. ;)
 
does it mean I need to take 483,484 and 485 to get the cert for c# assuming I want to go to the developer route for c#?
 
Web dev? 480, 486, 487
Store app dev? Then yes, your path is correct.
 
1:55 PM
great thanks!
thanks for helping a newbie out and bye for now
Have a good day ahead
 
No problem! Have fun :P
 
2:10 PM
@RoelvanUden - How come all n00bs aren't like that guy lol
 
I have no idea. Perhaps he had a rare case of being serious about dev'ing? :D
 
posted on April 15, 2014 by Eric Lippert

In the wake of the security disaster that is the Heartbleed vulnerability, a number of people have asked me if Coverity's static analyzer detects defects like this. It does not yet, but you'd better believe our security team is hard … Continue reading →

 
WPF Danatela
 
2:31 PM
Microsoft Microsoft@e-mail.microsoft.com via 26.memberemail.com
e-mail coming from there valid?
 
hrm?
 
reply-to: Microsoft <reply-fe9816787667047c73-866153_HTML-606657680-10655176-640@email.microsoftemai‌​l.com>
 
Email can come from anywhere regardless of return address
 
__, we miss you! Re-subscribe to receive the latest IT news from Microsoft
 
I could send you email from bill gates
 
2:32 PM
from: Microsoft Microsoft@e-mail.microsoft.com
 
"from"
Looks questionable to me. If you want to re-subscribe, do it on their website
 
mailed-by: bounce.email.microsoftemail.com
signed-by: 26.memberemail.com
 
I wouldn't touch it, but I am kind of shy about clicking on things which are sketch.
@Greg - morning :)
 
@TravisJ Question, if you have a column in a database called "IsEmail" or "IsChat" which is a TinyInt, so essentially if you query and it is zero or one is that good practice or no?
@TravisJ Hey.
@TravisJ How are you this morning?
 
Pretty good actually
I mean, that is fairly common. It is a logical partition.
 
2:37 PM
@TravisJ Some people yesterday said I shouldn't do that.
Figured I'd double check.
 
@Greg Some people were wrong :)
 
@RoelvanUden haha, thanks Roel.
 
@Greg - Another approach would be to use nullable foreign keys which were int? ChatId and int? EmailId so that you could use a join to and from the chat or email information
 
I'm unfortunately trying to build Call Center Software, which is also utilized or pulling information to the web.
@TravisJ So put them on a separate table?
 
Kind of hard to tell without seeing more structure. If the only thing that happens if it is chat or email is simple then that is fine. If the difference has complexity then you might want to separate some of that complexity into different concerns.
 
2:41 PM
So if you have (MessageType, Message, From) then the MessageType being the equivalent of IsChat/IsEmail is totally fine. If you have something along the lines of (MessageType, Message, PhoneNumber, PhoneRegion, EmailSender, EmailBounceState), then you really need to think about cleaning that mess up. :P
 
Well, all the email Messages are is the email / reply. The chat is the conversation. Essentially on the current table I have the Date, Initials, Category, Resolution Status.
 
haha that is a good description
 
Then I have the IsChat, IsEmail, IsCall to determine the users form of communication and message.
 
Yeah so I would look at that as an opportunity
 
@TravisJ ?
Clean it up?
 
2:43 PM
Factor out a new table Communication and then you can link to it. Although it may be small at first, as you find more potential connections to Communication it may become more logically important in the future
@Lasse would be a good person to consult as well, he knows a lot about design
 
Okay, I know how important database design is unfortunately. So I really don't want to screw it up.
 
@Greg - On the other hand, I like to 5nf my db stuff. Are you using a relational database?
If the database isn't going to be too large then it may not require as much normalization
 
I've never heard the term 5nf? Yes, I'm using MSSQL.
 
5th normal form
which is usually a bit overkill
 
normalize all the things
 
2:47 PM
It is for a call center, so it will become huge.
 
Normalize this, hotshot. [0,0,0]
 
I usually go for BCNF and then dial back a few things to optimize for speed if necessary
 
It is a little bit of overkill for sure. But it improves my query times for when I have to fetch large object graphs
 
ooh i love BNF
 
The call center people will need to pull all this information about the customer, previous communications, orders, services, and all of that.
 
2:47 PM
Yes I'm a bit crazy.
No, I'm not tired.
 
@LasseV.Karlsen BCNF?
 
Yeah, that is what most of my tables are. Sometimes I needed to break them out further to support single string searching
 
@LasseV.Karlsen What are the benefits in comparison between BCNF, 5nf, and standard normalization?
 
well, they're all degrees of normalization
you go through them, 1st normal form, 2nd, 3rd, BCNF, 4th, 5th
usually I stop at BCNF because the rules for 4th and 5th is too hard to get for me :)
 
2:49 PM
@Greg - You should really aim at 3nf in my opinion (which is basically the standard)
 
What are the benefits of 3nf vs bcnf?
 
However, I never think of database design in terms of normal forms
 
They are almost the same thing. BCNF is kind of like a 3nf best practice
 
and I probably "do things" in the wrong order
 
nosql for the win
 
2:50 PM
first I make sure to not store multiple distinct pieces of information in one column
 
like characters
 
having a datetime column is great, but no so great if you wish to speedily figure out who has a birthdate this month
 
Yeah I didn't mean to jargon you @Greg, I was just trying to say that you should use a lot of foreign keys in order to reduce duplication in your db
 
don't want strings of length >1
 
that's not the same :)
unless you value each character by itself, then yes
 
2:51 PM
i don't care, i love it
 
for instance, no comma-separated tag clouds in a single column
 
I crashed my brain into a morning
 
Morning all.
 
morning Evan
 
then I make sure to use autogenerated keys for everything, except pure many-to-many join tables, in which the row itself is the key
 
2:52 PM
am I the only one crazy enough to stay up for the eclipse?
 
then i make sure to split distinct types of information into distinct tables
 
@Lasse - Interesting m-m approach, I tend to use linking tables for those
 
I missed it... was out 2 hours before it even started =( Was it cool?
 
yes, linking tables
but not [key, ref1, ref2]
just [ref1, ref2]
 
@TravisJ I think that's the way to do it
 
2:52 PM
Ah, I see with a composite key
 
@EvanL normal, i guess?
 
unless you can store multiple [ref1, ref2] rows, and that has a meaning, then I would add the separate key
 
@LasseV.Karlsen @TravisJ I'm still here, I'm absorbing alot.
 
I like the first route because composite keys don't seem to play nice with the EF conventions
 
golden rule for me: if I store some piece of information more than once, I try to fix that
 
2:53 PM
But the row itself is an interesting way to key it.
 
but not always
 
lunar eclipse, perfect excuse to stay up way late and play video games
 
for instance, an address has a zip code and a city
in Norway, a zip code implies a city, so you might want to only store the zip code, and make the city a separate table, keyed by the zip code
 
@LasseV.Karlsen oh god not this again
 
however, in Norway, from time to time, they split and combine zip codes, so historical data may not be accurate if you do it that way
so I store city as well
 
2:54 PM
IMO, a lookup of zipcodes is overkill
 
Can't you store the zip hyphenated with the specific part of the city
 
yes and no
a lookup is great if you can help the user provide the right city
 
Just use a zipcode service to autofill the city
 
but to store the zipcode->city relation in a database, typically leads to other problems
 
but store them both
 
2:55 PM
for instance, my zip code is 3920
 
and for heavens sake don't store a reference to a street which has a reference to a city which has a reference to a state
 
but perhaps next year they split 3920 into 3921 and 3922, and give them new names, only one of which will be the current name
 
@LasseV.Karlsen huehuehue
 
and then 3920 won't be valid any more, but obviously a lot of databases will still have 3920 on old addresses
so as I said, my implied rules when designing databases tend to get me to around BCNF, and then I dial some things back a notch for various reasons
 
My general approach to database design is to look at what I would do in c# with objects, make a class to hold each individual object that composes the parent object, and then assign an auto-inc id named after each object as its PK, and then assign a FK for each reference to another object named after that relation, and then work on linking tables for the many to many relations.
 
2:57 PM
@TravisJ @LasseV.Karlsen That is pretty complex.
 
my general approach is >_> <_<
 
It gets easy once you work with it for a while
 
Database design is complex
it takes learning time
 
so is 2 -16i
 
@TravisJ So your database is dictated by your Poco Entities?
 
2:57 PM
and to be honest, it isn't only complex because of the words and terminology involved
the biggest complexity involved is that you're trying to model something that exists outside of a computer
and thus you need to get people to tell you how those things are organized and related
 
@Greg - Totally
 
that's the real complexity
 
like words. words are hard to make in a computer
and pictures
 
@Lasse - Starred, totally agree with that
 
vidya games, son
very complex
 
2:58 PM
Yeah the amount of 3d maths in video games are ridiculous
 
@LasseV.Karlsen I can see that, I try to use what makes sense. But the duplicate data I didn't fully account for. For instance an Address table, I would more than likely just store Street, City, State, Zip, Country, IsShipping, IsBilling.
 
I hope I'm not annoying anyone too bad
 
Hence the beauty of 3D engines
 
right, sensical approach
 
@EvanL I tried, once
 
2:59 PM
@Kendall - No one minds a kibitzer. It is nay-sayers that bother people.
 
but you could drop city, and imply city from zip code through a linking table, same perhaps with state from city?
 
I wonder if Lasse still has me on ignore
 
nope, not on ignore :)
 

« first day (1277 days earlier)      last day (3673 days later) »