« first day (857 days earlier)      last day (4073 days later) » 

2:00 PM
The Institute of Electrical and Electronics Engineers (IEEE, read I-Triple-E) is a professional association headquartered in New York City that is dedicated to advancing technological innovation and excellence. It has more than 400,000 members in more than 160 countries, about 51.4% of whom reside in the United States. History The IEEE is incorporated under the Not-for-Profit Corporation Law of the state of New York in the United States. It was formed in 1963 by the merger of the Institute of Radio Engineers (IRE, founded 1912) and the American Institute of Electrical Engineers (AI...
 
user1357851
IEEE sets a lot of standards, such as Ethernet Standards
 
> Control.Hide() vs Control.hidden=true
~quality~
 
Seriously how much can you complicate routing
Rails :argh:
 
@BartekBanachewicz: That's not a GLSL matter; it's an OpenGL matter. glVertexAttribPointer can only feed vertex shader inputs that are floating-point values. Just as glVertexAttribIPointer can only feed signed or unsigned vertex shader inputs. Just as glVertexAttribLPointer can only feed double-precision inputs. — Nicol Bolas 5 mins ago
ARGH. How was I supposed to know that? Normal people don't know these things. Duh.
 
2:03 PM
@Cicada What?
 
@R.MartinhoFernandes Some question
 
user1357851
@ScottW No ... just have to say that :p
 
@Cicada lol, which is faster.
 
@BartekBanachewicz Must be somewhere deeeeep in the specs
 
@BartekBanachewicz You can simply read the docs. Just saying.
 
2:05 PM
@Cicada Well, "TIL", right? :) Roawr, I bet I am learning new things faster than he is. "Asymptote, biatch!"
 
yeah but in the game industry, be prepared to see that plenty of stuff is actually undocumented
HELLO NVIDIA
 
@R.MartinhoFernandes I read the goddamn GL and GLSL spec before posting the comment. It just wasn't there, I swear
 
How I wish this stupid project was written in Haskell
 
2:07 PM
@Cicada Same everywhere.
 
@R.MartinhoFernandes To be honest, I've never ever in my life looked at this two bottom versions. My mind just automatically skims to the details -.- I know, I'm retarded, but they are so rarely used.
 
@R.MartinhoFernandes It's a bit infuriating when you post an answer on a CUDA question saying "the behavior you are experiencing is undocumented" and then some NVIDIA guy comes and says "of course it is, that's the way it works".
 
Yeah okay that's the way it works, I see no paper mentioning it anywhere, thanks. (Because there's none! I asked for a reference and didn't get any)
 
2:08 PM
Anyway, duh, I'm stealing this question then.
 
Is there any way to determine the optimal number of threads that a computer can handle in C?
 
benchmarking
 
i mean from the code?
 
@BartekBanachewicz Actually the docs say "The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by glVertexAttribPointer and glVertexAttribIPointer."
 
the "rule of thumb" is 2x the number of cores, I don't really know why but well.
it really depends on what your app does
if you do a lot of IO then many threads will be faster than one only
 
2:10 PM
Which means glVertexAttribPointer can handle integers.
 
@AlbertoBonsanto No. It's app-dependent.
 
@R.MartinhoFernandes Well, technically speaking, it doesn't say that
 
..and environment dependent
 
@R.MartinhoFernandes It says that the constants are accepted, but that does not inherently mean that they do anything useful
 
@Cicada because context switch overhead may kill performance benefits of threading after that
 
2:11 PM
@R.MartinhoFernandes Of course, though, I'm just massively pedanticising you.
@R.MartinhoFernandes Carry on.
 
..and data design dependent
 
Context switch overhead matters when your thread TTL is very low
Not when thread count is very high
There's a bazillion threads in the OS and they're all scheduled anyway
 
what?
 
@LightnessRacesinOrbit Context! Other docs make that clear. :P
 
@R.MartinhoFernandes I'm retarded. Let's just get over it.
@Cicada 2x+1
 
2:12 PM
Right now I have 107 processes with 1084 threads
 
@BartekBanachewicz Woah, no need to say that. I'm just trying to help.
 
@TonyTheLion it really is a rule of thumb where you expect half of threads to be blocked on IO, it has no real intrinsic value
@CatPlusPlus I think 107 looks prime
 
@CatPlusPlus Are you saying it matters for short-lived threads? Why?
 
Aw yes it is
 
@MartinJames So i can set 1Million of threads and the program will run smoothly?
 
2:13 PM
doosh bag
 
@Cicada Is your algorithm "ends in 7 => prime!"?
 
Why don't you try and measure? — Bartek Banachewicz 18 secs ago
^ .Hide question
 
@LucDanton Probably because of the relative duration of (time spent switching) / (total thread life)? or something
 
I have 72 processes with 1161 threads. CPU use at 1%, so 99% threads blocked on I/O and/or each other.
 
@BartekBanachewicz That crap has one upboat?
 
2:14 PM
@R.MartinhoFernandes No no, some numbers just look prime to me D:
 
afaik context switch overhead matters for any threading, no matter the TTL. What's TTL got to do with it? If you have short-lived threads, what's more of a pain is the thread creation overhead, use a damn thread pool for shortlived threads
 
@R.MartinhoFernandes The first step in development is understanding of one's flaws.
 
@LucDanton If context switch takes longer than the code you're executing, you're better off just executing the code instead of creating a thread (yes it's a generalisation but we're talking about generic situations so it's hard to say anything else vOv)
Or close to
I guess
 
@R.MartinhoFernandes oh lol, yea
 
There's a lot of context switching going on every second
 
2:15 PM
@AlbertoBonsanto Sure, assuming 999999 are not running.
 
@CatPlusPlus So context-switches and thread creation overhead are of the same order of magnitude then?
 
@AlbertoBonsanto what are you trying to do, actually?
 
I'd say thread creation is vastly more expensive
 
creating threads is expensive
 
Context switching is actually simple
 
2:16 PM
but it has some overhead
 
So does context switch overhead matter or not for short-lived threads?
 
Me too. My default design is always 'create threads once, at app startup, and never terminate them'.
 
but to have loads of threads you NEED LOOTS OF MEMORY #OHNOES
 
Probably not disregard me
 
2:17 PM
lol
 
I prefer not to think about OS threads anyway
 
user1357851
there is no context swtiching if the thread is doing nothing (CPU usage at 1%)
 
There's always context switching
 
Well your point isn't invalid
 
@CatPlusPlus No.
 
2:18 PM
It's more like " If context switch takes longer than the code you're executing, then your time quantum sucks"
 
user1357851
if you have 4 cores, have 4 threads
 
@MartinJames That's what I'd like to do. Instead, currently, my worker threads spawn as required, because it's fucking easier
 
@Telkitty You can have more than 1 thread per core. Also, many of them will probably be blocked on IO or something.
 
Core count matters only in heavy computational threading
 
user1357851
no point having 1000 threads, most expected to be doing work when you only have 2 cores
 
2:19 PM
but I don't use them for performance so much as just working around blocking procedures
 
Aaah .NET TaskFactory
 
i.e. if something is going to take one second I don't want to lose my timers and IO for that one second. I don't really care if my timers and IO will be a bit slower when I parallelise
 
@ScottW We have a room devoted to that.
 
neither is your mom
 
user1357851
@Cicada you can, but if the thread is always doing work and you have more than 1 thread on each cpu, then you are actually making it slower.
 
2:21 PM
@ScottW So post some there and make it active.
 
@ScottW Your fault!
 
@Telkitty And again it only matters in heavy computational threading
 
@Telkitty slower, but each calculation is at least making progress
 
@Telkitty No, see what the cat said
 
OMG
0
A: Compile Code using minGW / JDK from webpage

Partharaj DebSadly happy to answer my question. I got the way to run minGW/jdk by cmd commung of system using php from webpage. <?php system($cmd_commund,$returned_value); //here $cmd_commund is the command string. //$returned_value contains the last line of cmd result. ?> I solved my pro...

he should get banned for life
and this question should be deleted
 
2:22 PM
Threads are used for other things you know
 
because some other moron is gonna read that
 
In fact probably more often
 
@BartekBanachewicz I am writing a program that multiplies 2 matrices, so it can be done using threads for example 1 thread by element, or 1 thredad by line but i was thinking in the case of a 1k x 1k resulting matrix will need 1M of threads if i use 1thread/element
 
How the heck did you reach that conclusion?
 
2:25 PM
the lounge descends
 
@AlbertoBonsanto why would you want to multiply 1k x 1k matrix?
 
Don't use one thread per element.
 
Don't forget to lock when you're reading from the matrix~
 
Also, what algoritm are you using?
 
wtf do you need threads for that
 
2:25 PM
however i can't even test this thing cause it doesn't work with visual studio and linux eclipse drives me nuts
 
the fuckwit algorithm
 
see guys?
 
@AlbertoBonsanto Use a coarser granularity.
 
@BartekBanachewicz homework
 
And you were arguing about time to switch treads
-.-
@AlbertoBonsanto Threads aren't the fastest way to multiply gigantic matrices
 
2:26 PM
You don't have to lock the matrix
There's a divide & conquer multiply algorithm for matrices
 
your teacher wants you to implement Strassen's algorithm
 
@CatPlusPlus lol
 
(I wasn't being serious)
 
(You scared me)
 
@BartekBanachewicz it's my professor choise it's a homework
 
2:27 PM
Oh I just noticed the ~
 
@AlbertoBonsanto and that's what I said. He wants you to do this, not threads
 
@BartekBanachewicz My teacher said epxlicitly that we must use pthreads :)
 
@AlbertoBonsanto oh for goddamn's sake
<headdesk>
I'm done here.
 
If the task/parcel/chunk/whatever that you signal to your threads/ppol/whatever takes less time to run than the inter-thread comms, you're wasting your, (and CPU), time. If the task takes 10ms, great. If it takes 100ns...
 
however why visual studio refuses to let me use pthread.h?
 
2:29 PM
Because it doesn't ship with pthreads?
 
Define "refuses".
 
@BartekBanachewicz Why
 
It refuses to let you include a header?
 
Hint: p in pthreads stands for POSIX
 
@R.MartinhoFernandes "Sorry m8 i'm not touching this"
 
2:29 PM
@CatPlusPlus oh I thought it stood for porn :P
 
hth
@TonyTheLion Of course you did
 
what is a "ppol"
 
@LightnessRacesinOrbit donno
 
@LightnessRacesinOrbit :) Please apply auto-correct.
 
2:30 PM
pool?
correction accepted
 
Your mental context-sensitive auto-correct is working fine.
 
@Cicada because std::thread
 
@R.MartinhoFernandes yes, robot?
 
I compiled LLVM.... why the fuck does it take 4.25GB of HDD space T_T
 
2:32 PM
@Borgleader because fuck you, that's why (no offense)
I feel better after I wrote that
 
@Borgleader Temp crap?
 
@R.MartinhoFernandes I have a feeling it might be debug info >.>
 
People? I try not to go near them. 10^11 adaptive-threshold logic gates, an undocumented OS and millions of apps. No thanks!
 
@thecoshman It's been a while since I have claimed to be doing anything on kyrostat...:S
 
Also, are these two structs equivalent? ideone.com/v5ME6D The first one wouldn't compile under MSVC2012 :(
 
2:34 PM
0
Q: Trying to make a Voxel tree in voxel engine

Gareth HughesI have already made a floor but i am struggling on making a tree to go with it (I am making a voxel based opengl engine) I need to finish the commented out for loop. My code so far is: void vox_build_tree(GLfloat *start_position, GLint) { GLfloat next_cube_position[3] = {1.0, 0.5, 0.75}; ...

I am voxel expert. Please ask questions.
 
I gotta go. The office door is making whining, squeaking noises. I'm off to walk dog.
 
@MartinJames you have an office dog?
 
@Borgleader check in the standard if you can initialize non statics that way. I think not.
 
I try to keep him out of the office. There's enough shit in here as it is.
 
@BartekBanachewicz You can.
 
2:37 PM
@Borgleader then blame it on VC++
> First, I used goto statements for everything. Now I am trying to get rid of the goto statements by using functions instead
My eyes.
 
hmm..guys...if I compile a library with vc++ 11 / v110, and then use it in a november ctp ("v120") project...what happens
 
@melak47 works good. should work. I've used vc100 binaries with vc110 with success. Even vice versa, but without new functionality, still works
 
@melak47 bah, more then most :P
@Cicada sucka :P
@LightnessRacesinOrbit ah, thanks. nice to know
 
@thecoshman well what else could I do anyway?
 
user484068
2:39 PM
@ScottW LOL - that was my reaction!
 
@BartekBanachewicz hm, ok. I've been wondering if my v110 boost could be making my v120 app crash randomly
 
@melak47 of course it can :)
By the way, my girlfriend is gone until tomorrow
 
@Cicada You bought a domain? What is it? www.mysticial.istealnicks.com?
 
this means...
 
moar cubes
 
2:40 PM
Mwahahahah I can code all the evening
 
@Cicada under UK law, domain squatting is a crime. If you have a valid reason, such as having been using it already, or you had a company and are only just setting up a web site, you have a legal right to that domain name, unless they also do and got there first. Not sure about French/EU law though
 
@melak47 yes!
 
@BartekBanachewicz the problem is I can't consistently reproduce the crash
 
... I kind of feel like a huge nerd now
 
@Borgleader It was a domain I forgot renewing and it got bought by a bot. Doesn't really matter.
@thecoshman It doesn't really matter lol
 
2:41 PM
@melak47 that's the problem indeed
 
Bots buy domain names? wtf...
 
@Cicada principle :P
 
@Borgleader You didn't know? That's common. They buy domain that have had enough traffic, so that they can put ads on those.
They also offer you to buy the domain back for an awfully high price
 
@BartekBanachewicz and well, it's not really a crash as much as something calling abort(), so I can't debug it once it has happened, and I can't seem to get it to fail while debugging in VS...
 
No I was not aware of this practice
 
2:43 PM
@Borgleader oh, you must be new here
 
We should be able to set aliases in chat
@Robot
@ape
 
1
Q: Unexpectedly large number of tlb misses in simple PAPI profiling on x86

jmetcalfeI am using the PAPI high level API to check TLB misses in a simple program looping through an array, but seeing larger numbers than expected. In other simple test cases, the results seem quite reasonable, which leads me to think the results are real and the extra misses are due to a hardware pref...

 
Good idea.
 
interesting or not?
 
@dudette
 
2:44 PM
@thecoshman Yes I'm new to the interwebs
 
@TonyTheLion PAPI must be hilarious for spanish programmers
 
@TonyTheLion > I am on Nehalem <-- I'm out
 
@Cicada lol
 
@BartekBanachewicz Those are old...
 
@BartekBanachewicz I have no idea what I'm on
 
2:45 PM
@TonyTheLion What model did you buy?
...
 
i7-3770 isn't nehalem
 
@Borgleader fuck knows, I'd have to check when I'm home
 
it's... um....
 
@Borgleader few bits of advice; those drugs do not work, there are no girls wanting sex with you, you did no win anything, you bank has not been compromised and most importantly don't trust any one
 
@BartekBanachewicz I'm not saying it is
 
2:46 PM
fuck, it's not like all Intel employees have to learn all architecture names!
 
@thecoshman lol
 
I think it's just called Ivy Bridge
 
Does anyone know if Mr. Lippert did a post on why Array.Equals does only reference equality and not content equality?
 
@Cicada meh
 
@BartekBanachewicz its fine...as long as you know the arch names and code names of intel's GPUs! :p
 
2:49 PM
It was Nehalem -> Westmere -> Sandy -> Ivy -> (upcoming) Haswell
 
@BartekBanachewicz It is. I was just listing names from the last 3 generations in case one of the rang a bell.
 
@BartekBanachewicz Sandy > Ivy
 
@BartekBanachewicz You switched Ivy and Sandy, newb
 
God dammit
@melak47 haha. I even have a tshirt with our driver logo now
 
what's intel's driver logo? :S
 
2:50 PM
Wait... you work at Intel!?!?!?
O.O
 
Oracle masters of UI
 
@CatPlusPlus +1 I can confirm this
 
@CatPlusPlus Unusable Interfaces?
 
@CatPlusPlus ow. too much sarcasm, overloaded me filters
 
There's a button in MySQL Workbench that says "toggle whether execution of SQL scripts should continue after failed statements"
And sure it toggles visibly
 
2:52 PM
I just realized that pork and porn are only one letter different, yet quite different things.
 
But the icon suggests that when it's on then execution doesn't continue
 
I don't know why I am having this realization?!
 
@Borgleader lol, slowpoke
 
And tooltip the other way around :v
 
@TonyTheLion yet equally great
 
2:52 PM
@BartekBanachewicz I don't know where everyone works >.>
 
@TonyTheLion pssst corn
 
@thecoshman :)
@Cicada oh and this
 
Hint don't use the word toggle in tooltips just describe the fucking ON state
 
@Borgleader oh, nevermind that, but the reaction is usually funny :) One of the reasons I work here, lol
 
We can tell it's a toggle
BECAUSE IT TOGGLES
 
2:53 PM
~mysticism~
 
:argh:
 
Prolog doesn't have this problem
Maybe cause it doesn't have UI
 
Do you think someone will notice if I go home one hour earlier?
 
Way to go, Prolog
 
@BartekBanachewicz Well now I know who to ask for CPU buying advice ;)
 
2:54 PM
@BartekBanachewicz nope
 
@Borgleader lol, I'm in the graphics team :)
 
@Borgleader ¬_¬ hardly, he will just give a biased view
 
@BartekBanachewicz The onboard graphics chip or discrete GPUs? or are you not at liberty to say?
@thecoshman I always buy intel procs anyway
 
silly pole
 
@Cicada std::non_intrusive_question< "Do you have any plans involving Minicraft today?" >
 
2:55 PM
@Cicada rather have a boom?
 
ALL THE COMMENTS ARE IN POLISH SO I DONT KNOW WHAT TO DO
2
 
@Borgleader hmm... actually, all of them.
 
My plans today: a) get food b) survive
 
@Cicada aaaa.. don't shout at me. I'll translate them today.
 
@TonyTheLion Are they that different? (think verb)
 
2:55 PM
@Cicada Why are you prologing?
 
I'm not
I'm skipping all courses today
I got a mail from a teacher saying he put me 0
Oh well
 
~sounds like failure~
 
@Cicada c) fap dwell on life
 
But all comments in minicraft should actually be in english -.-
 
2:56 PM
@Cicada Put zero what?
 
Ell
I might boot into linux again
at least then failing is less embarrasing
 
@BartekBanachewicz Yeah I'm kidding, most of them are in english.
@R.MartinhoFernandes 0 the grade
 
// FIXME : rekompilacja psuje uniformy! oh well
 
I understand that
Mostly
 
@Cicada you fail the entire module for not turning up one day?
 
2:57 PM
At least the FIXME part
 
Ell
@BartekBanachewicz I think some characters don't show up properly in linux. There are £s in some places
 
"Recompilation of shader breaks uniform bindings"
 
@BartekBanachewicz I wonder what uniformy could mean...
 
-y is Polish most common plural suffix
 
Barteky
 
2:58 PM
@BartekBanachewicz do you comment driver code in polish, too? :p
 
hah, most common, because Polish is on par with Chinese
 
"Bartki", but heck, how often do you need plural name?
@Ell I even have an issue for that
@melak47 no, of course not
 

« first day (857 days earlier)      last day (4073 days later) »