« first day (821 days earlier)      last day (4352 days later) » 

18:00
or array
@brunoais Try google.
but array takes alot of place
Lounge<C++> is much closer to a C room than this.
thank You bot Shotgun and Kendall
If you want moderately fast lookups, but slightly slower inserts and checks, while keeping near-optimal memory usage and automatic sorting, then use a RBTree.
18:00
@Patryk Mod is the secret.
no help given there... And it has a tag saying "no-questions"
@brunoais Then avoid it.
And use google.
adios folks, lunch.
tried google but no help, maybe wrong keywords
What are you looking for?
18:01
I wanted to try programing singlethreaded non-blocking I/O
...well, that was underwhelming
it's something I never tried and I think it would be interesting and fun to learn.
I don't.
single threading and non-blocking IO are almost mutually exclusive.
They are not mutally exclusive!
Such thing exists
18:03
Why not?
@AndréSilva sad.. I heard about the accident at 89.1, but they didn't give more information about it
Simple.
picking this up from home in a bit.
@WileyMarques Yeah when they were going to talk about the accident, they started playing Mamonas so..
you don't need to stop just because you are writting to file
actually it's the OS that is writting to file (or reading)
while the OS is doing his thing, I can do other stuff
I wanted to try doing a program that opens and reads 2 files and then creates a new one with both contents appended.
Just to test myselfs and to tryout single threaded nonblocking I/O.
18:05
And what do you intend to do while the OS is reading the files?
haha
89 is playing great songs again, yay o/
Dictionary<int, int>[] tablica_dat = new Dictionary<int, int>[10]
shouldnt that work? :S
For now, nothing much. I just want the knowledge and-know how, for now.
why? :(
18:06
simple, Patryk, you are notstating the size. (or stating that you are not stating the size)
@brunoais "And what do you intend to do while the OS is reading the files?"
Why would you want to initialize a Dictionary to a certain size?
I want to create an array with 10 dictionaries, and its not working
:P
@KendallFrey For now, nowthing. I just want the know-how, for now. I'll come up with something about what it would do in the meantime
Then you need a Dictionary<int, int>[]
Wait...
durr?
take a look at this @AndréSilva
http://noticias.r7.com/sao-paulo/marginal-pinheiros-tem-transito-intenso-no-primeiro-dia-da-volta-do-rodizio-de-veiculos-em-sp-14012013
18:08
isnt that what I've just pasted?
@brunoais I can't help you until you answer the question.
in that case, count the number of words that the previous file has while reading the 2nd file
If you say you just want to wait, then blocking IO is what you want, and non-blocking IO is shooting yourself in the foot.
OK sorry guys, my mistake. It works now :P
@KendallFrey I heard that it is hard to do it right, that's also why i want to try it for myself!
18:09
Single-threading + non-blocking IO = shoot me.
@WileyMarques --' Damn accidents.
@brunoais No, that's why you don't want to.
Why don't I want to?
Just because storing 100 characters in 50 bytes is hard, doesn't mean it's right.
Take my word, and don't do it.
did you try it already?
18:11
No.
It doesn't even make sense in theory.
@KendallFrey ...but hypothetically, that might be a useful optimisation in some circumstances?
then do you know how hard it is, then?
how come do you know how hard it actually is if you never tried?
How hard is it to walk on the ceiling?
18:12
depends on the ceiling. Different ceilings has different difficulties
Kendall, I've found out how to ADD, how to say wheter there is such KEY or VALUE, but I cant find anywhere how to edit VALUE under x key. Will using ADD just rewrite the old VALUE?
@brunoais In the general case.
depends on the equipment you have
@Patryk Don't you just use =?
there are too many variables for me to get "the general one" .
18:14
Goddamn it, anyone familiar with OpenGL?
like dictionary[0] = 5?
@brunoais OK, take the ceiling above you right now. How hard is it to walk upside down on it?
@Patryk Yeah.
@Crowz Not OpenGL specifically, but 3D graphics in general.
with the tools I have now. It's impossible. I can't get there, the wall is too steep
@KendallFrey I'm using 2D graphics trying to get JoGL to not be stupid.
@brunoais Have you tried it?
18:15
yeah, years ago.
believe it or not.
Later I tried with the right tools, and I did it
Pants on fire.
but got nausea of being upside down so I went down a little later
?
what do you mean?
My point is, you don't need to try something to know that it's hard.
18:17
how come?
how come you know if you don't try?
One can try analyzing the situation but he never gets quite there
Because I know enough about single threading and non-blocking IO to know that they don't mix.
I want to get there in async singlethreaded I/O!
They do mix! It may be hard, but they do mix!
Right, but it's not a good thing to do.
I already read enough and discussed with other ppl enough to know it exists!
If you want to know how to make a cake by mixing acid and chlorine, go ahead, but the result won't be pretty.
18:19
it may not be a good thing, I may regret later, that's true. But I want to "waste" some time of my life trying than giving up just because it's hard
Then go do that.
But I need docs to tell me the interface that the OS offers
I don't know where to find 'em...
I searched using google but no usable results...
Google.
I could be wrong keywords, though...
18:31
@KendallFrey still no results...
do you have any advice for me to make the process of finding such docs easier?
I already "filled" 5 google search pages...
What are you looking for? Stuff in the cstdlib?
cstdlib? Ok, I'll try that.
facepalm
I don't know those libs
that's why I need the docs
Hum... I only see results about C++...
You really need to get back to basics.
Eve
Eve
18:39
I don't know what the thing is about but I've read "single thread" and "non-blocking I/O". Question, why not using Tasks?
Or async/await?
Eve
Eve
ok
pthreads? Already did many stuff with those. Non blocking File reading/writing, Quorum based replication, and I did a middle ware for replication but I don't remember the name of it...
It's about replication...
viewstamped replication!
but it was single threaded
anyway it was able to coop with multiple clients at the same time, even though it was single threaded (just one socket to listen to). It was made using udp (just like the protocol forces the user to).
So I believe I'm no longer a basic programmer of the C language
I'm just not knowledgeable about the libraries that exist out there
If you can't find the docs, you're below basic.
I can't find because I don't know where they are
18:45
hence 'find'
the only thing I know is the man 2 and man 3 to check out the manual. But the manual does not have keyword search or anything like that
Hum... Should have had written that better...
I can't find the docs because The whole internet is huge, and I don't know the place in the internet where I may find 'em.
I know stdlib
I know it exists and I know some functions
But you need the docs?
but I don't know the full extent of it
and what I need is definitely not in header file (stdlib.h), isn't it?
18:50
That sentence made no sense.
I need information, explanation about constants, whatever... that shows how to work with nonblocking I/O in C. I only find for C++. They are quite similar but not the same. C++ is object oriented, C isn't. And that makes a nice big difference.
Maybe... I already used that to setup for sockets...
Already seen that page...
Then you've passed the extent of my research ability.
that code is not C. Sounds much more like C++ than C.
Eve
Eve
18:58
Sorry to interrupt, but @brunoais makes me think a lot of: eve.cx/paste/Yh8jdKPP.png
that was funny @Eve :)
are you a robot?
no, why do you ask?
@brunoais Also, it's not "true" C++, it's what's called C with Classes.
no I meant eve
19:01
I know that guy even with the shades.
@ShotgunNinja Yeah, true.
Essentially, all of the functions used are exposed in C libraries, and if rewritten as structs and global functions, would be compilable with a C compiler.
hum...
I can always try to give it a go...
C With Classes is used to organize C code into a meaningful structure that can be presented to an OO-language-user without frying their delicate brains.
In fact, C With Classes was the original form of C++, and you used a precompiler to convert it into mangled C before compiling.
And C++ skips that step and goes straight to mangled C?
19:04
Classes became structs, and the methods within them became function pointers to name-mangled global functions with a this-pointer.
Gah ! I'm getting crazy, why does not my dropdownlist bind?!
http://pastebin.com/0xWcTBg3

db.Categorys contains 3 categorys... Why Cant I see them in the dropdownlist? :(
@KendallFrey Nope. C++ skips the Mangled-C step, and goes into object code.
No, C++ is mangled C.
@KendallFrey Touche, good sir.
I'm getting crazy lol :D
19:11
@KendallFrey Butter is like json but xml
@kush wat
@ShotgunNinja I have no clue what I just said
Eve
Eve
19:25
wtf is this
Eve
Eve
Butter is like json but xml
@Sean I'm not the only one that knows MVC!
@RudiVisser heeeeelp
@Eve That is AMAZING
@Stripps What's up?
19:31
Gah ! I'm getting crazy, why does not my dropdownlist bind?!
pastebin.com/0xWcTBg3

db.Categorys contains 3 categorys... Why Cant I see them in the dropdownlist? :(
ViewData["CategoryId"] = ..., not ViewBag
hey @AndréSilva you must watch this: youtube.com/watch?v=QDKweAVGHSQ
Hmm, where? Both in controller and in view?
Just in your controller...
public ActionResult Create()
{
	ViewData["CategoryId"] = new SelectList(db.Categorys, "CategoryId", "Name");
        return View();
}
Still does not work :/
19:44
Try setting them both? I use them in multiple places so always do like this:
        ViewData["Gender"] = new SelectList(new List<SelectListItem>
        {
            new SelectListItem { Text = "Male", Value = "M" },
            new SelectListItem { Text = "Female", Value = "F" },
        }, "Value", "Text");
        ViewBag.Genders = ViewData["Gender"];
I think there's something wrong with my view code
Well since you have a model you could try forcing it like so:
<div class="editor-field">
    @Html.DropDownListFor(model => model.CategoryId, (SelectList)ViewBag.CategoryId)
    @Html.ValidationMessageFor(model => model.CategoryId)
</div>
@RudiVisser You forgot new SelectListItem { Text = "Other", Value = "?" }.
@ShotgunNinja Haha :D
Just turned around to take my cup of tea that I thought was brewing..... Haven't even put a teabag in the cup, nevermind water.... ffs
Still does not work
Something is seriously wrong :d
19:55
Doubtful, I just did a test and it's working fine
Anyone here got GT5?
theres the full code
@Html.DropDownListFor(item => item.Category, (SelectList)ViewBag.Categorys) => @Html.DropDownListFor(item => item.CategoryId, (SelectList)ViewBag.Categorys)
But apart from that, it should be fine
lol, using Categorys instead of Categories...
Have you confirmed that db.Categorys actually contains stuff? I mean, I know you're checking, but at runtime in the debugger is ViewData["Categorys"] actually populated?
I worked on an API that had a collection access path in the form parent.Matrices.Matrixs
20:00
Did you enter the matrix?
... or were they prepopulated? Badum tssssss
Fuck it's cold
Eve
Eve
Would you mind editing your messages and uniting them all in one so I can flag it while keeping its context?
@RudiVisser bahaha
@Eve Don't flag it; that's how we get more C++ folk in here making trouble.
Eve
Eve
Mine was just a joke. I don't flag messages.
Holy crap, GT5's intro movie is a) about 5 minutes long and b) the WHOLE process of making a damn car. This is awesome
I normally get bored but now I watched it this is so awesome
Ok, they showed building of a car, and now it's showing them racing. It's still going and is STILL awesome; Now I see why this took 5 years, they were making an awesome intro movie
http://tinypic.com/r/28b4do9/6

There, It contains 3 categorys, but it still doesint work. Still an empty dropdownlist :/
20:06
@RudiVisser youtube link?
But my viewing pleasure is in 46" 1080p 3D HD
gah, work intenet sucks. I'll disconnect from the VPN and watch it in a bit
TV/monitor model?
It's just a Samsung TV w/ Active 3D
I think 466500 or something
Welp, I'm heading out in a bit, folks.
20:19
Afternoon, all.
Bye, @Ellie.
Bye @ShotgunNinja
I'm leaving you for another woman.
;P
gasp
Who is this slut?!
Quick, guys, what are some fields you'd need in an EMPLOYEE table?
I just found acapella metal
20:22
@Ellie firstname, lastname, gender, sexual_orientation
EmployeeId
@.@ Why do I ever expect a serious answer from you fools?
OH SHIT I GOTTA GO PICK MY GF UP
2
Bye
Sigh
@Ellie Mine was a serious answer
20:24
Yes, but obviously I already have that.
@Ellie social security number, mothers maiden name, credit card number, blood type, dna sequence
@KyleTrauberman UGH
I just felt like I was missing something. Wanted y'all to rattle off some regular fields and see if I missed something obvious.
@Ellie Department, Phone Extension, Desk Number
I have FName, LName, Phone, Address (Street, City, State, ZIP), and the company they work for.
Email, Fax, Answering Machine
20:26
@ShotgunNinja Ah, Nice. I hadn't thought of that, though these are all people who work on cattle or pork feed lots... No desks. haha
favorite color, favorite food, address, satellite photo of home, GPS locater id
ReportsTo
CriminalRecord
Virginity
WaistSize
BustSize
shoe size
CupSize
underwear type
20:27
>.<
PantSize, ShirtSize, SleeveSize
underwear color
JunkSize
I need some help guys. There is a Save() method that reaches out to a particular stored procedure which creates/modifies a certain bit value in a database table column. When I do a find all references on save, I get just itself. What is calling this save method and how do I find it?
HairSize (an enumeration containing Bald, Normal, and Texan)
20:28
natural hair color, current hair color
@KyleTrauberman You know, all too often do I wish I could run the query SELECT * FROM EMPLOYEE WHERE UnderwearType = "None"...
6
HairTexture
@KendallFrey Don't forget JunkGirth and NumberOfTesticles (defaults to -1 for females)
WaxOrShave
BAHAHA
20:28
is_sterile
:C
RespondsToFlirting
time since last sexual encounter
XD
Y'all are cracking me up over here.
LastSexualEncounterType
20:29
is_open_to_threesome
LastSexualEncounterPartner(s)
WasMolestedAsAChild
Is that a foreign key?
@KendallFrey Is that a foreign key?
inventory (defaults to mop for @Ellie)
Oh god
BahahahahahA
@kush No.
20:30
NumberOfChildren, DesiredNumberOfChildren
has_daddy_issues
SexualPartnerCount
DesiredSexualPartnerCount
@KyleTrauberman Default is 'Yes' for all women
is on birthcontrol
PlaysBdsm
20:31
good selector for short term, undesirable for long term.
@ShotgunNinja -1
@ShotgunNinja 99
PreferredBirthControl
does_anal
@KendallFrey is that nullable
Is that where 'spit' and 'swallow' go Kendall?
20:32
Or just accepts None
has_gag_reflex
@Billdr Yeah.
IsPmsing
HasErection
IsWet
@KendallFrey super important
20:33
oh god
this is going downhill
I'm glad I'm not at work right now.
PrefersDownhill
IsntAmused
favorite_position
20:34
@KyleTrauberman what is the default value?
WTF is happening in here?
@KyleTrauberman MinimumDrinkRequirementForAnal
results_of_last_std_test
@TomW We are building an Employees table.
@TomW I asked a LEGITIMATE SQL question, and the boys went crazy.
4
20:34
dateoflaststdtest
@KyleTrauberman wtf, that is disgusting. Underscores man, seriously...
is crazy (don't stick your dick in)
PaysOrIsPaid
Hello1
just found TWO empty whisky bottles down the back of furniture. #likeaboss
20:35
@TomW ? are you saying underscores are disgusting?
hello seasoned C# experts
@TomW that's a shame, being empty, i mean.
@Ellie Is that the secret? My wife and I are going to the bar tonight.
is anyone here familiar google-diff-match-patch for c#?
@Billdr Not for me, but some girls, I'm not too sure.
20:37
@Ellie Sounds like you just haven't found your limit yet.
Or is the limit set to 0? O_O
@SteveKonves sorry, I am not.
@Billdr Yeah, I draw the line at butt secks. Not for me at all. At ALL.
bummer.
So, in a Razor website, one's helpers (their methods) apparently cannot receive intact any anonymous objects; is this right? Cause... I can't seem to find a way to make it work, short of iterating .GetType().GetProperties(...) to pull the values. Everything is up-cast to object.
@SteveKonves Baaad timing.
I have a small adobe air app Im creating and I'm trying to generate a MD5 checksum.. I have the MD5 on the AS side of things generating based on a base64 of the byte array however when this MD5 is passed to the webservice, the function that validates the bytearray passed in the HTTPPost never comes out to the same MD5. Anyone feel like chiming in? heh
20:39
@KendallFrey Haha. No joke!
@KendallFrey :D
Adobe air?
yea, ActionScript (yuck)
How to find your next date to the company party:

SELECT PhoneNumber, DaysOff FROM dbo.EMPLOYEE WHERE IsHorny = "Yes" AND PreferredBirthControl = "Swallowing";
@Bracketworks I've never had to fiddle with helpers. Sounds like logic. Don't put logic in your view. :p
20:41
However the MD5 generated by AS is correct, its the MD5 my webservice is creating that is wrong :/
I need some adult supervision. What the [redacted]!
@jhartzell Is the web service C#?
You provide open access to company databases at parties? DO WANT
When you're in love with a beautiful woman You know it's hard
Yes it's c#
20:42
Okay, tell us about that code.
@Billdr yeah, Views should be completely illogical.
5
@KendallFrey Not at them; just prior.
@kush Uh, yeah!
@KendallFrey I used to sing the song as a kid. Freaking didn't know what hard meant :C
@Billdr pastebin.com/z7UJ9GBP <-- the small webservice.
20:43
I thought they meant it is difficult
pastebin.com/RsMEX6A1 <-- my Utility class that is doing the encoding/decoding
Eve
Eve
Wanna play a game?
However I'm almost certain the issue is in my MD5 encoding method, not 100% sure yet.
Eve
Eve
Make the best sentence composed only by C# and LINQ query keywords (blue words in VS).
Simple example: switch this on
Love is difficult. You think you've finally got all the women out of your life, then a pair of boobs walks by.
20:44
@Eve private interface
@Billdr Sorry for the ugly code, it's been a nightmare getting this to work so it's not formally refactored yet :p
@Eve Oh, that's an old game.
Eve
Eve
Really? I'm new around here.
Let me see if i can find some of mine
@jhartzell It looks like you're making a few md5s here. Are all of them broke?
20:46
jesus h christ. I'm wearing a pair of these, because it's really fscking cold: amazon.co.uk/Bridgedale-Merinofusion-Summit-Mens-Sock/dp/…
Eve
Eve
let this long object break into ulong
nevermind
I don't remember paying £13+ for ONE PAIR OF SOCKS.
Eve
Eve
Oh wait, that's kinda redundant.
@Billdr The problem is, the MD5 coming from the POST is different than that of the one I create from the posted bytearray, if that makes sense.
20:47
So if you're debugging the code, the md5 is right, but when you fetch it, the md5 is wrong?
no, the md5 never matches up on the c# side, ever
I'm taking the mp3 in flash, grabbing the raw bytearray, B64ing it, then MD5ing it and posting to the webservice
Where is checksum defined?
then the webservice takes the bytes it grabs from the body of the request, b64's it then MD5's it
and it doesnt match what is passed
that should answer your latest question :p
got ya
So, I guess what I'd do is compare the values each step of the way. Do the base64s match? Do the file names match? Do the parsed file names match?
yea I was thinking that myself, I'll give it a go :)
20:54
A capella power metal
@Eve I found one of my best sentences.
Eve
Eve
Eager to read.
Jul 25 '12 at 17:46, by Kendall Frey
get this long unsafe object into new sealed case for catch volatile yield if void is unchecked public interface
Eve
Eve
I have problems understanding from "for catch".
Could you kindly paraphrase that?
Nice
I'm not risking that being taken out of context.
Eve
Eve
20:58
Agreed.
Very poetic.
Jul 25 '12 at 14:06, by Kendall Frey
if this is private event break out unchecked

« first day (821 days earlier)      last day (4352 days later) »