« first day (1368 days earlier)      last day (3591 days later) » 

12:42 AM
@LightnessRacesinOrbit try running example code - it says internal server error
 
Goddammit, why doesn't Java have templates...
 
12:58 AM
so I'm writing something in C++/C finally, it's broken so many times
 
@Mysticial Because that would be a good idea.
instead they only have generic ideas ;)
 
@Borgleader Which suck.
I have two nearly identical functions. To combine them, it would be straight-forward with templates.
 
user406009
Why not use java.util.function?
 
Generics won't cut it. My only option is to make a factory for the new ObjectType in there and pass it in.
Or I can leave the code duplicated.
 
or you can use another language ;)
 
1:10 AM
Android. :(
 
oh... my condolences
 
I'm almost willing to bet that it will be a very long time before I do any professional programming in a native language.
Granted, I'm not exactly sure I'd want to spend each day reading through thousands of lines of C++ TMP and error messages.
 
@Mysticial What's the functions?
 
@CatPlusPlus It's a color blending function that needs to operate on text foreground and background.
 
So why is there two of them
 
1:17 AM
Two different objects, nearly identical blending code.
@CatPlusPlus There's an object for a foreground setting and one for a background setting.
 
But why
 
They're Android objects. Ask them.
 
Use an anonymous class vOv
 
The part that kills me is that they have identical constructors. If it was C++, I could just template it and it would work.
But since this is Java, I'd need to make a factory object and pass it in.
 
Languages that have C++-like templates: C++
And they are a pain in the ass for C++
 
1:21 AM
I think given the amount code extra code that would be needed to get rid of the code duplication, they'll probably let me get away with a bit of it.
i.e. It takes more code to setup the dummy classes and factory objects than it is to simply duplicate the code.
This is really dumb.
It makes me appreciate C++ more and more.
 
@CatPlusPlus Nah.
Could be better but not my definition of "pain in the ass"
 
I meant from language design POV
 
2:03 AM
I'm so trying that one next time I'm going there.
 
2:19 AM
I'm not sure what I ate today
I'm not sure I ate anything
Hm
 
Is that an aggregate of cheese, chicken, onions and mushrooms?
Or are those potatoes at the bottom? :v
 
Xeo
I'm not sure why I'm still awake
fuck me
 
@MohammadAliBaydoun It's a poutine. Usually, it's fries, gravy and cheese curds. This one also has chicken, bacon and onion.
 
Xeo
have to get up in 4h
 
2:38 AM
you know for all this hate windows 8 gets, it does run pretty fast
 
2:52 AM
Amazing what four cores will do.
and 8GB of memory.
 
@RobertHarvey ... unless you're trying to manipulate gigabytes of data ;w;
 
Or using Chrome. My God, what a pig.
 
oh ok
@RobertHarvey 1) use Onetab or similar, it's amazing 2) use the low memory profile & purge command line opts
 
3:08 AM
@RobertHarvey 8GB is hardly enough these days.
:)
 
Oh yeah.
Speaking of builds. I'm thinking of buying one.
 
Buy instead of build?
 
I put "making one" first but changed it to "buying one" for some reason.
Feeling like I should get a gold certified PSU
 
lol @Rapptz it really doesn't matter
unless you're chugging some serious power....
 
I don't like going cheap on the PSU.
 
3:16 AM
why?
i just get a cheapish psu and go ham on the parts
 
Absolutely terrible.
 
and make sure i have a nice circuit breaker in case of weird things
@Rapptz a bronze or silver is decent
and profile comparable profile
*provide
 
3:48 AM
@Rapptz Why not an I7?
 
I don't need hyperthreading enough to justify the $100 difference.
 
Would multitrack music software take advantage of hyperthreading? Or is it all about the physical cores?
 
I don't think software particularly cares if a core is virtual or physical.
 
Difference is $65. Still...
 
@Mysticial is better suited at answering that question since his y-cruncher thing uses multiple cores.
 
3:52 AM
Define 'multitrack music software'
 
@RobertHarvey Slightly cheaper than I recall.
Difference for me is $85.
 
@Rapptz actually his number cruncher thing doesn't like hyperthreading i assume
so in general hyperthreading is good
makes things faster
os nicer
 
@EiyrioüvonKauyf Actually it does.
 
the problem is when you do super fast things like proprietary trading or his nice thing
it also f* the ram
 
@CatPlusPlus musicradar.com/us/tuition/tech/…. Plus software effects, virtual instruments, etc.
 
3:53 AM
@Mysticial ? have you benchmarked without
all the nice hft kids i know hate hyperthreading
then again i don't know what algo you're using... so the cache may be useless
 
@EiyrioüvonKauyf Yes. ~10 - 20%
 
o_O why
the cache invalidations should be slow as heck
 
10-20% faster?
 
~4.2 - 4.4x speed up over 4 cores with HT.
 
how do you load distribute
e.g. is each thread truly unique
or do they share
 
3:56 AM
It's just a fork-join paradigm.
 
Hello, I want to declare a war
oops
a discussion
 
adjosadjsa i want to use intel's nice parallelism thing to debug your code
 
If the code wasn't as optimized, I'd expect the HT to help even more.
 
but so lazy
 
about C++ vs Python in the new era :D
 
3:57 AM
@Mysticial can you elaborate why it helps
are you fully using all cores at 100%
 
@huydotnet Try another room.
 
or do they run some less intensive thing in parallel
 
HT is good for filling up pipeline bubbles. If the code is long critical path of FP ops, it'll be impossible to fill up the slots.
 
yes.... where is the memory stored. i'm still wondering about all those cache misses
 
Most of the y-cruncher code is heavily unrolled for the purpose of avoiding those critical paths.
@EiyrioüvonKauyf It's been a long time since I've measured cache misses.
 
3:59 AM
also how is the dependency flow...?
and how are the branch predictions.....
i'm surprised still xD
 
There are no branches to predict.
The stuff is so heavily unrolled and inlined that branches are extremely rare.
 
o_O
i remember looking at it one day and seeing it was long
and being like "i'll read this later" xD
 
@EiyrioüvonKauyf Looking at what? The disassembly for y-cruncher?
 
lol
There are several basic blocks that have upwards of 1000 SIMD instructions.
 
4:02 AM
:|
 
So it probably thrashes the uop cache.
 
@Mysticial why on earth did you write something so large :|
 
Should "extended" help come before or after the option list in the --help text?
 
@EiyrioüvonKauyf It's just a bunch of nested macros.
 
@Mysticial i'm crying so much right now
 
4:04 AM
I didn't really write them that long.
 
I'd be crazy to write a loop with a 1000 intrinsics in it.
 
hey, what are u guys talking about? it's not about C++ right? :D
 
Even 100 is rare. Most of these are macros with about 10 - 20 intrinsics. Then the macro is duplicated a bunch of times.
Do a few levels of that and you'll get to 1000 easily.
Of course I keep an eye on how large it gets.
Though I've recently been moving away from this approach.
 
lol
i feel like
there are so many ways we could make tcc more intuitive
 
4:08 AM
So if it's not well-optimized, it could still benefit from multithreading?
And by not optimized, I mean probably 80 to 95 percent of all software?
 
^ i debate this. but on average HT helps software
 
It needs to be designed for multithreading
 
@Mysticial can i have the source code mebbe? good disassemblers don't exist yet
 
@RobertHarvey If the code is poorly optimized but is not memory bound, it will love HT.
@EiyrioüvonKauyf lol, no
 
and assuming it doesn't thrash shit
@Mysticial :<
but binaries are ugly
@Mysticial i shall now start my slow campaign to convince you to open source it <3
is it working yet haha
 
4:11 AM
lol
 
@EiyrioüvonKauyf Mini-cruncher.
 
@EiyrioüvonKauyf A smaller, less-optimized version of Y-cruncher he wrote a year ago or so (for which he did provide source code).
 
Admittedly, there isn't anything interesting about it from the HPC standpoint.
 
Oops -- sorry, got the name wrong.
 
user3010322
4:16 AM
The only way to "Hide Implementation" in C# is to return objects and cast, huh?
 
The new version of the flops benchmark uses a programming style that's closer to what I use in y-cruncher.
 
user3010322
Feels kinda like using void*... without the benefit of not having to include headers for dependencies, 'cause you still need to drag in other stuff...
 
user3010322
... Bah. Oh well. It's all necessary I guess.
 
@ThePhD Define 'hide implementation'
 
Poor Cat.
Lost his dictionary :p
 
user3010322
4:21 AM
@CatPlusPlus I dunno, I'm not sure what I'm thinking.
 
I moved the stars back to the left side
But with text right-aligned from the left
Much better
 
user3010322
I'm trying to think of a way to keep from having types from "implementation detail" libraries get into the main application.
 
user3010322
But that's not really a problem in C# I guess.
 
user3010322
Meh.
 
@Rapptz: How did you pick the motherboard?
 
4:24 AM
@RobertHarvey I just looked for a mobo that had good amount of usb ports, supported 16+ GB of RAM, supported SLI, and was Z97/Z87.
 
If you don't think that's better then you're craazy
Also god I drank two energy drinks and I feel more sleepy than before
 
user3010322
Lol.
 
user3010322
Crashmode.
 
What's different? I don't get it
 
See I can't even pick right words
 
4:26 AM
oh wait
 
Alignment is different
 
date is in a newline
 
fix
the erning
 
Text is justified
 
and stop justifying it
it makes pain
 
4:27 AM
No
 
4:46 AM
TIL: git merge --squash
 
user3010322
._.
 
user3010322
void func ( Vector2 tits = Vector2.PerfectTits )
 
user3010322
DOES NOT WORK
 
user3010322
BECAUSE ~~NOT COMPILE TIME~~
 
user3010322
Fuckin' C#.
 
4:54 AM
@CatPlusPlus The stars are at the right side of the number, which is opposite in mine.
 
user456814
5:22 AM
@ParkYoung-Bae awww, don't be mean to Cupcake! :(
 
user3010322
5:33 AM
;~;
 
user3010322
Experiencing severe Stockholm Syndrome.
 
user3010322
WTB C++.
 
user3010322
5:50 AM
What is the implementation of GetHashCode for an array in C#?
 
user3010322
Run through all elements, mix the hashcodes?
 
user3010322
Or just the default object-metadata/object-pointer-value hashing?
 
user3010322
Probably the latter. The former would be egregiously slow.
 
@ThePhD You think they care? ;)
 
user3010322
They sort of do.
 
5:57 AM
@ThePhD I guess they based it on the elements' values, you know, equivalence stuff. I somehow hope I'm wrong though.
 
user3010322
@MarkGarcia array == array is a reference equals.
 
user3010322
So GetHashCode is also reference equals.
 
user3010322
To test if elements are equal you need to write a LinQ expression or an extension method.
 
@ThePhD Good thing.
 
user1804599
6:52 AM
> [JavaScript] is a festering pustule rotting the developer community from the inside. The sooner we can move on from this madness the better.
 
user1804599
@ThePhD Probably because the perfect tits are nonexistent.
 
Xeo
7:18 AM
@Rapptz That looks almost familiar!
Different GTX 760 brand, different PSU and different RAM brand
Oh, and the Pro version of the SSD
 
I might switch from GTX 760 to 770
and i5 to i7.
would raise price though
so iunno
 
everyone calm down
 
Xeo
i7 4790k has baseline 4GHz, which is a nice improvement compared to just HT
and turbo boost to 4.4
but yeah, expensiiive
 
it's $75-85 more
not terrible but still pretty high
 
Xeo
.. fuck your cheap prices :<
 
7:29 AM
my dad told me today he found an i7 4th gen for $220
so imma see if it's true tomorrow and buy it if so
 
user1804599
> found
 
yup
 
user1804599
I imagine that as if he's walking somewhere and suddenly he finds an i7 on the floor.
 
lol
 
Or an i7 plant with mature i7s hanging from it
 
7:30 AM
he found a listing for it or something, idk
 
Xeo
the 4790k is 90eur more expensive here
 
for all I know he's pulling my leg.
 
user1804599
I wish I could get 4790k for only .310k.
 
4790 is $340 here
 
@rightfold my hs physics prof made fun of a colleague who said whoever invented laser "discovered" it
was like "dude, the guy invented the laser, he didn't dig a hole in his backyard and discover laser"
 
7:32 AM
4690 is $240 so I guess it's $100 more
 
@AlexM. That's more of a philosophical question, really
 
the 4770k is $320
 
user1804599
@AlexM. I just discovered that your hs physics prof made fun of a colleague who said whoever invented laser "discovered" it.
 
user1804599
I didn't invent that!
 
user1804599
But lasers > i7s.
 
7:32 AM
nope, you found out
 
user1804599
What's the difference?
 
You can very well discover laser
 
well in this case I told you about it
 
Just as electricity was discovered
And all that
Your HS physics was dumb and uneducated
 
user1804599
If there was a natural laser somewhere, you can discover it.
 
7:33 AM
@Rapptz It is also 4790 - 4690 = 100 too. That a reasonable price jump. :P
 
Only possible explanation!
 
user1804599
And find out how it works.
 
what's going on here?
 
user1804599
@thecoshman Lounge<C++> is the #discovery channel.
 
thank god we're not animal planet :A
 
user1804599
7:34 AM
Animal Star
 
Disco very channel.
 
It depends if you assume that things preexist before being discovered or not
 
@ParkYoung-Bae not really. If he was actively trying to make LASER, he would have invented it, if he just happened to do something quirky and noticed this awesome effect, he discovered it. Anti-biotics, discovered; Planes, invented.
 
@thecoshman Yes really.
 
user1804599
Idiocy, yet to be discovered.
 
7:36 AM
@ParkYoung-Bae good point
morning btw :D
 
user1804599
8:03 AM
iTerm 2 looks good.
 
user1804599
lol replay feature
 
took like 5 minutes for VS to change the solution platform to x64 :(
now to wait several years whilst it builds
 
yea that always seems to take long
 
user1804599
8:18 AM
@TonyTheLion That's what she said.
 
wooo, git on windows is no longer insanely slow!
 
user1804599
 
user1804599
lol the commercial
 
user1804599
8:31 AM
@EtiennedeMartel Are those shrimps or chips?
 
@ParkYoung-Bae CALM THE FUCK DOWN!
@jalf interesting. What did they do?
 
user1804599
Do you die when you visit Australia?
 
@rightfold Eventually, yes
 
nothing. But I found these two settings, which make a huge difference: `git config core.fscache true`
`git config core.preloadindex true`
 
8:44 AM
I'd really like 4.5 to come out already
 
Xeo
Yay, rest of my PC parts are now on their way to me \o/
 
Basically after 4.5 comes out fuck everything that was before it
 
@jalf huh. Interesting. Lemme read up on the implications, but thanks already!
 
it's going to make everything so much easier there's no point in going back anymore
 
4.5 of what?
 
8:46 AM
4.5
2
 
user1804599
Ha!
 
¬_¬ the man is clearly drunk
 
@jalf OGL
 
Oh gee. lol
 

« first day (1368 days earlier)      last day (3591 days later) »