« first day (1038 days earlier)      last day (3903 days later) » 

4:01 PM
@nightcracker i refer only to the C++ frontend of LLVM.. I wouldn't want to reinvent LLVM
that would be silly ;)
 
^^ ahaha
(2) 0.48124 meters == 481.24 millimeters == 481240 micrometers. The fact that you messed up the conversion while talking about how good an idea it is is a point against the practice. — cHao 3 hours ago
 
user784668
@Mysticial Obviously the best unit is Planck length.
 
ergh
every answer on that question (stackoverflow.com/questions/18314811/…) is such bullshit
when precision is a requirement you NEVER use floats - you only use floats for easy development or speed
 
user784668
Fuck floats.
 
4:08 PM
float fucks
 
Ell
hi guys
 
@nightcracker For me, it's speed. :)
 
@Ell Hi
 
In soviet russia, floacks flut
 
Ell
I just got glasses!
 
4:08 PM
Is there much design in web development, in terms of code? Like one might see in languages supporting OOP?
 
Welcome to the club
@Pawnguy7 PHP
 
@Pawnguy7 what exactly do you mean?
 
user784668
@Mysticial Poor excuse. You're just unable to implement a fast big number lib.
 
@Fanael sorry, but I trust mystical on this one
 
@Fanael yep :)
 
4:09 PM
If anyone can answer this question:
http://stackoverflow.com/questions/18317262/implementation-example-of-a-peer-to-peer-architecture-in-c
..with actual code, as requested, I would be very grateful and I will take a copy myself :)
 
@Fanael no big number lib can do 12 floating point additions per CPU cycle << edit ;)
 
user784668
@nightcracker Obviously they can't. They're not floating point in the first place.
 
@Fanael also you're talking to the world record holder for most digits of pi calculated - I'm sure he can do a big number implementation
 
0
Q: How do you deal with legitimate questions from a troll?

BlenderWhat do you do about legitimate questions from the Python Newbie guy (for those who don't know)? Should I flag them as spam and downvote them, or should I leave them alone?

 
Um... say, if it is all pretty.. flat, for lack of a better word.
 
user784668
4:11 PM
@nightcracker So? The law of the country I live in allows me to joke. Sorry (PROTIP: no I'm not) it wasn't obvious.
 
alright
I think I broke every single translation unit and header in my semantic analysis class.
 
@nightcracker You just got trolled, hard. :P
 
Xeo
:11324165 Hi. Just read the newbie hints linked on the right.
 
user1804599
@TonyTheLion dat Facebook post.
 
4:12 PM
it's more than fair - I'm usually the biggest troll here
 
lol
@not-rightfold just waiting for the reactions
 
user1804599
Let's do it together baby.
 
user1804599
With the video thumbnails I've always needed.
 
@nightcracker No, you're no way in hell the biggest troll here. :)
 
user1804599
Fuck random-screenshots-on-hover.
 
Xeo
4:14 PM
Guy, stop deleting your messages. You can edit them.
 
(removed)
 
@Xeo IOW GTFO
 
SAM
@Xeo Hi! As you told me on stackoverflow, to join you:
http://stackoverflow.com/questions/11691021/why-does-this-call-the-default-constructor/11691101?noredirect=1#comment26866404_11691101
I have entered this room
Although I am new to the chat room, I am coming around... :)
 
Xeo
@TonyTheLion no
 
4:15 PM
A SAM keeps popping up. Is it some kind of anti-aircraft artillery?
 
ffs llvm has been compiling for ages now =/
 
Xeo
That's what it does.
3 mins ago, by Xeo
:11324165 Hi. Just read the newbie hints linked on the right.
 
SAM
@Xeo Ok sorry... I was having problem with the link...
@Xeo ok
 
Xeo
Also check the chat faq
 
SAM
@Xeo OK
 
4:16 PM
@nightcracker If the disk is still rattling, and the LED flashing, just go get another coffee.
 
wut
my SSD ain't got no fancy leds/rattling
where can I get those features?
 
@nightcracker No disk-access LED?
 
Hmmm my soup was good
 
OK, hungry, going down to kitchen.
 
@nightcracker On spindle based disk
 
user1804599
4:21 PM
Thank the inventor of English that "then" and "else" are of the same lengths.
 
lol
 
Are downvotes -2?
 
user784668
Great, another day spent doing absolutely nothing.
 
Iiff only other common keywords behaved in a similar way wile I am formatting code.
4
 
@Mysticial how many parallel _mm256_add_epi32 operations can Haswell execute?
 
4:23 PM
gah, can't disable the quick-find in VS2012 and make Ctrl+F open the old window :(
 
@willj They removed the old window.
 
they clearly don't use the keyboard shortcuts much
or they would have noticed that it's totally broken
@MartinJames "set" and "get" pair nicely, but "open" and "close" are somewhat irritating
 
@willj I use Delphi a lot: 'begin', 'end' :(
 
user784668
@willj foo.close(); should be spelled } most of the time.
 
4:39 PM
creat
 
user784668
CreateFooExW
 
Is there something better than Bitbucket for free private repos?
 
perhaps the solution is fully-justified non-fixed-width formatting
then everything lines up
 
@Jeffrey maybe a raspberry pi
 
@nightcracker wat
 
4:45 PM
instead of bitbucket
 
@nightcracker It's still only 1 / cycle throughput.
But if you fake it with an FMA, then you can get 2 / cycle throughput.
 
user784668
Meh.
 
user784668
Throw more cores at it.
 
Wow, I just realized Githup offers 5 private repos for free for students
The micro plan I mean
 
Ell
@Jeffrey you could use gitlab if you have a host somewhere
 
4:51 PM
@Fanael but where can you go if you're already using all cores?
@Mysticial what do you mean with "faking it with an FMA"? integer logic on the FPU?
 
user784668
@nightcracker Buy more cores.
 
@Fanael I'm developing a crypto library - I do not get to choose/buy the platform
 
user784668
Note to self: for(int i = 0; i < 100000; ++i) futures.push_back(std::async(std::launch::async, &foo)); is not a good idea.
 
Xeo
lol
Robot, still not back in Berlin?
 
1 hour ago, by R. Martinho Fernandes
@Martin I'm at Alexanderplatz.
 
Xeo
4:54 PM
oho
 
I don't know where alexanderplatz is, but I don't think it's in Portugal :P
 
user784668
Couldn't spawn kill to kill the offending code, because I hit the process limit.
 
@Fanael Shouldn't that code only spawn threads?
 
user784668
@DeadMG On many nixes, like the one I'm using right now, threads are processes that share things like address space, file descriptor tables and stuff.
 
I thought that model of threads died in about 1995.
 
4:56 PM
@nightcracker Do an addition with an FMA as: a * 1 + b
The Haswells can do two FMAs / cycle.
 
@Mysticial but that's still floating point - I'm talking integers here
 
Oh integer?
Ah fuck...
 
user784668
@DeadMG It didn't. That's the same model that Windows supports, threads being processes is an implementation detail most of the time.
 
> epi32
 
4:59 PM
@nightcracker Hint: He isn't stupid.
 
I would never claim that he's stupid
 
lol
 
> We've upgraded you to a student micro account, which will be free for the next two years. We don't have any collaboration limits, so any group projects you may encounter can be hosted via your account.
Wow, that fast.
 
wow that was wrong before the edit
it's actually pretty nifty what he's done
 
user784668
@DeadMG And I'm pretty sure implementing std::thread as forking away a process wouldn't be standard compliant.
 
5:01 PM
it absolutely would not be.
 
but that'd be highly unlikely to work for what I'm building (a blockcipher), especially not while retaining performance in hardware/non-floating-point implementations
 
oh, yay, this is the version of Wide where I haven't yet fixed the most complex function in my codebase being duplicated.
 
5
A: How do you deal with legitimate questions from a troll?

Brad LarsonI've dealt with many of this user's accounts, and tried to figure out a way to handle them, so I can explain my approach so far. First, I should comment that this user has been an ongoing nuisance since the start of the year, and we've probably deleted something like 100+ of their accounts since ...

> They generally follow a pattern of posting decent or borderline questions for a little bit, then flipping out and posting diatribes about the FBI or a Google robots.txt conspiracy (among the more tame things they've posted).
 
welp installing VS2012
apparently compiling lld with mingw64 is not really working
 
user784668
@nightcracker lld?
 
5:10 PM
damn, you'd be amazed at how many annoying cases there are with name lookup, ADL and such.
 
I cannot fix my file associations :\
 
@Ell apparently I just got 2 years of github micro plan for free, that's all I needed :)
 
Ell
I can't get io.popen to return anything other than nil in lua :(
oh wait, yes i can!
But it still doesn't work >.<
 
@Ell Bad..good..bad.. You should try and stick on 'good' :)
 
Ell
I know :(
hey it works again!
 
5:26 PM
@Ell lua eh. Are you sure input is correct?
Oh
 
Ell
I don't know what was going wrong to be honest o.O
 
@Ell Hey, nm, you got it to stick on Good
 
Ell
Oh it was because I was passing "*a" to read
 
haha
 
Ell
oh wait I needed that xD
 
5:29 PM
@Fanael lld is the llvm linker project
 
@Ell what are you using lua for?
 
Ell
@Chemistpp premake, but I need to do some shell expansion in there
annnnd it's broken again
 
I love my new avatar. It looks like an unicorn that tries to lick its corn.
 
Ahh cool. I didn't know that this existed. My lua experience is from scripting for a really old game.
the 'premake'
 
user1804599
> 3000.0.0, 3000.0.1, 3000.0.2.1, 3000.0.2.2, 3000.1.0.0, 3000.2.0.0, 3000.2.0.1, 3000.2.0.2, 3000.2.0.3, 3000.2.0.4, 3000.2.0.5, 3000.2.1
 
user1804599
5:34 PM
Ugh, those version numbers.
 
lol.
 
user1804599
@Jeffrey What?
 
user1804599
I need to put something up there.
 
Ell
what. It works now. WHy!!!
 
Xeo
5:36 PM
... fuck this, I don't get it. I'm eating way less than I should to keep my current weight, but I'm not losing any.
 
@Xeo It's never about eating less
 
@Xeo That was also my experience.
you have to eat less in a pretty hardcore way if you want to lose weight just by eating less.
 
your energy consumption varies with your energy intake
 
Xeo
Sure, but you'd think there'd be atleast some change
 
@Xeo You are violating the laws of themodynamics, or eating/drinking too much pizza/beer.
 
5:37 PM
I bet on the latter
 
Xeo
Neither pizza nor beer (remember, I'm not a beer fan)
 
XEO LOVES BEER
He's just trying to spread FUD.
 
He just doesn't admit it
 
@Xeo Oh, sorry, Coors and Bud, then.
 
Xeo
lol wut
 
5:38 PM
reddit down?
ffs have to restart again
stupid msvc setup
brb
 
While everyone's watching, there's some interesting live sports broadcasting proposals on Ask Different: apple.stackexchange.com/questions/99384/… and on Web Apps meta.stackoverflow.com/questions/5234/…, and on IT Sec security.stackexchange.com/questions/40865/…, and on WebMasters webmasters.stackexchange.com/questions/52062/…Mat 3 mins ago
^^ lol
 
Not that shit again...
 
user1804599
xD
 
@Xeo Sustaining fat doesn't cost the body very much energy at all- it's very purpose is to be a store for emergencies, and that wouldn't serve a very useful purpose if you had to pay a large quantity of energy to keep it around- it'd be better to just burn all the energy immediately.
 
Xeo
Well, you'd think it has to burn some of that to make up for the missing energy.
But apparently not.
 
5:42 PM
@Xeo alternatively, it can simply slow you down. Which is safer in the long run, because then you still have your emergency stores.
 
yeah
why burn your precious energy storage when you aren't putting your body under stress?
 
so: excersize :(
 
Xeo
I should just get me a bike and ride again :s
@MooingDuck *exercise
 
Ell
@DeadMG Do you know what components wide needs to link to?
 
@Ell There's a list in the premake. But I think that this is a more fundamental problem because even using LLVM's own tool to give the list, you still get linker errors. I think it's something where I'd have to ask on #llvm to figure out what's going on, but since I'm not the one who actually has access to the generated makefiles, system configuration, etc, then I can't really do it myself.
 
5:45 PM
Nuclear, biological, chemical, weapons, Pu239, U235, lithium, tritium, beryillium, neptunium, terror, kill, maim, eliminate, assassinate..
OK, NSA, now I've got your attention, please find out who is posting all the 'sports streaming' stuff and deal with them.
 
lol
 
Ell
@DeadMG well, the thing is I was using llvm-config --libs, but that shows libs for all components
 
@Ell Wide needs virtually all of them, from memory.
LLVM has something like a core, which Wide needs to do things, and then six libs or so per target for the pre-provided backends, and I think that you can configure LLVM to not use all the targets but since LLVM picks a target in LLVM's own code at run-time, you have to rebuild LLVM to do that.
 
Ell
@DeadMG well looking at this list (gist.github.com/elliotpotts/6271972) there are some like powerpc which I presume you won't need
 
@Ell What if you asked Wide to target PowerPC?
 
Ell
5:47 PM
You can do that? :P
Oh yeah of course.
llvm does all the generating, right?
 
right.
I think that you would run into serious ABI issues if you actually tried to do that
but I'm not certain.
it might actually work.
there's certainly no reason from LLVM's perspective as to why it could not work.
 
I think a new poster found a clang bug O.o
 
Hi all!
 
user1804599
Hi!
 
Again this channel reminds me of something different :D
 
5:52 PM
Google API client library for .NET is SO FUCKING ANNOYING.
 
I havent found a Google API in Android that is pleasing to work with. There is always something different or an unexpected way of doing things.
 
g++: error: unrecognized command line option '-std=C++11'
gcc version 4.8.0 (rubenvb-4.8.0)
well, I'm confused.
 
-std=c++11
 
that certainly looks like what I typed...
 
No surprise its the same with the others xD
 
5:55 PM
Nope.
 
nope
its lowercase
 
fnasdjkflbasg
thanks
 
user1804599
You don't say "Javascript", so you don't say "-std=C++11".
 
Five more minutes with this piece of shit and I'm gonna implement the entire OAuth flow myself.
It's bad enough that I have to make a separate process just to isolate the assemblies, which have weird dependencies that don't work with the rest of the project.
 
Xeo
Whee, new Minute Physics.
 
5:59 PM
am I the only one that thinks that OAuth is unnecessarily complicated?
 
C:\Users\username\Dropbox\Code\Test\Test>C:\cygwin\bin\g++.exe *.cpp
Access is denied.
C:\Users\username\Dropbox\Code\Test\Test>C:\cygwin\bin\g++-4.exe *.cpp
/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1plus.exe: error while loading shared librar
ies: ?: cannot open shared object file: No such file or directory
/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1plus.exe: error while loading shared librar
ies: ?: cannot open shared object file: No such file or directory
that's not good
 
I think I've made a silly question :/ fucking rubberduck, its not here when I need it.
at least I've made it as a comment
 
Why are you using Cygwin's g++?
 
one thing I hate about building lib files
if you forgot the implementation of a function, the compiler doesn't tell you.
 
@CatPlusPlus because it was easy to install mostly
 
6:06 PM
Don't.
 
....wait... I didn't want to use cygwin.... I wanted to use mingw....
I didn't even remember I had cygwin installed
good catch cat
 
You typed C:\cygwin\bin
 
Yes I did. wish my brain worked sometimes. Would make life easier
 
Xeo
Eh, too easy.
 
hmm, now clang needs libgcc_s_sjlj-1.dll which is missing from my computer. again.
 
6:10 PM
Code throws on precondition !string.IsNullOrEmpty(authorization.RefreshToken), but the fucking thing doesn't appear to exist.
 
@nightcracker that's where I got these from yes
 
Hey Google how about you build your NuGet packages from the source you release
askdlashvajsncvlznxcv
 
@nightcracker I seriously hate their website. download -> mingw-w64 -> mingw-w64-release -> mingw-w64-v2.0.8.tar.gz. A tar.gz file? How inconvenent. Let me install another program just to open this one. Oh, turns out this is the source code. Time to start over.
 
Oh I know, BECAUSE IT DOESN'T BUILD
 
6:14 PM
it's not the best I know
hell, their product isn't the best
well... it is the BEST, but that doesn't mean it's GOOD
 
@nightcracker the website should link to that file. Not their source code.
 
Uh 7zip opens tar.gz just fine.
 
@CatPlusPlus had to install 7zip
 
yeah you should've already had it installed
 
Probably any archiver does.
@MooingDuck It's a different project.
MinGW64 delivers runtime, not compilers.
 
6:18 PM
I thought that was Cygwin
 
They host toolchains too, but that's not primary focus of the project.
It's even first sentence on the damn page.
 
I totally thought the only point of mingw64 was that it compiled stuff that linked to Win32 instead of special dlls like cygwin
 
> The project's goal is to deliver runtime, headers, and libs for developing 64 bit (x64), as well as 32 bit (x86), windows applications using gcc-4.6 or newer versions.
 
what page?
 
6:20 PM
oh I thought you meant MinGW
 
9 mins ago, by nightcracker
@MooingDuck http://mingw-w64.sourceforge.net/
 
MinGW, a contraction of "Minimalist GNU for Windows", is a minimalist development environment for native Microsoft Windows applications.
MinGW provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.
 
MinGW-w64 is a separate project.
For ~extra fun~
Ahahahaha seriously Google's released source doesn't build.
Fuck this fucking piece of shit.
 
0
Q: Writing infinite list comprehension to skip every factor of p?

robjbHow can I efficiently represent the list [0..] \\ [t+0*p, t+1*p ..]? I have defined: Prelude> let factors p t = [t+0*p, t+1*p ..] I want to efficiently represent an infinite list that is the difference of [0..] and factors p t, but using \\ from Data.List requires too much memory for even med...

 
user1804599
HASKELL!
 
6:26 PM
:]
 
Ell
[x | x <- [1..], mod x 3 == 0]
idk, I'm haskell n00b
 
Trying to represent the list without calculating mod for every element
 
Ell
oh
 
@nightcracker doesn't have clang.
 
what doesn't?
 
Ell
6:28 PM
@robjb it doesn't say that in the question? o.O
 
Clang on Windows is still broken.
 
@CatPlusPlus I'm aware. Want it anyways.
 
Ell
ahh mine was wrong anyway. I meant:
take 20 [i | i <- [1..], mod i 10 /= 0]
 
@robjb Pretty sure that it's lazily evaluated, no/
 
code generation works for the most part - so if all you need to do is compile some high-performance pure C code it works if you generate assembly output and then link it using gcc
(which is what I've been using it for)
 
Ell
6:29 PM
@DeadMG I'd hope so with an infinite list :P
 
@nightcracker I'm compiling template meta-wankery with stdlib use with Clang on Windows.
 
@DeadMG You're a hero to mankind.
 
Inorite
 
@DeadMG Well yea, but it still costs to evaluate the mod operator for every element ...
 
@robjb Right. How, precisely, do you intend to get around the fact that code costs cycles to execute?
it's far from guaranteed that any other approach would be faster.
 
6:32 PM
@DeadMG well, i += 10 is faster than while (i % 10 != 0) ++i
 
Hmm
 
assuming I read the code right
 
@CatPlusPlus are you referring to the exception thing? Because I though they fixed that in v3.0
@nightcracker they also have different results.
 
Last I checked it was still broken/non-functional.
 
@MooingDuck not if your starting index is 0 mod 10
 
6:33 PM
@nightcracker yes. if
 
@MooingDuck so, the first iteration you use the while, and after that you use += 10
 
Ell
@DeadMG Do you know what command is executed when you're building Driver?
 
Jesus 3 hours and this shitty API is still broken.
 
user1804599
Meh.
 
user1804599
Oh wait.
 
6:35 PM
@DeadMG I guess my thought was that if I computed the difference between [0..] and a list of elements divisible by p, I would avoid computing mod on all the elements NOT divisible by p
 
user1804599
f xs p t = go xs p t 0
    where go [] _ _ _ = []
          go (x:xs) p t a
              | t + a * p == x = go xs p t (a + 1)
              | otherwise      = x : go xs p t (a + 1)
 
But I'm just trading time for space consumption I suppose
 
Ell
If a library builds find, without any undefined references, does this rule it out for linker errors? Or could it cause undefined references later when it is linked to and needs some libraries?
Gah so hard to explain
 
user1804599
@robjb how about that?
 
user1804599
Or do you also want to avoid ==? :P
 
6:39 PM
Haha no
Let me try it out :)
 
user1804599
You may rewrite it as [ x | (x, a) <- zip xs [0..], t + a * p /= x ] but I'm not completely sure.
 
@Ell No.
 
@Ell are you asking what happens when you build a .lib with files missing and then try to link it with an exe?
 
@Ell It only means that the linker found every symbol that each function in that library references.
 
Static libraries are just indexed archives of object files.
 
Ell
6:45 PM
@MooingDuck well, I'm on linux. But I think it might be the equivalent question
@DeadMG Right
 
@Ell Try English.
 
if you build Wide's semantic or codegen libs, and you don't get an error linking to Clang or LLVM, this doesn't mean shit (unfortunately)
 
what is Wide?
 
C++ killer.
 
user1804599
A bad language.
 
Ell
6:47 PM
@DeadMG right :/
 
I have a feeling that Google's C# API client is a direct translation from Java.
 
I answered a question today so I could get my rep back to a multiple of 10.
2
 
@Ell But that did give me an idea.
do you know if the Makefile passes LLVM libs and then semantic/codegen etc when linking to the Driver?
or the other way around?
 
Ell
let me check
Well
it does LLVM, gtest_main gtest, a bit more llvm, then lexer, parser, semantic, codegen then clang libs
I guess clang should come first
 
no
 
Ell
6:53 PM
Oh
 
lexer parser semantic codegen should come first.
 
You can wrap the libs in a group, if you think ordering is the problem.
It'll slow the linking down, though. In case of Clang/LLVM probably a lot.
 
well, first let's figure out if ordering is indeed the problem
 
-Wl,-( libs -Wl,-)
 
depends.exe is awesome
 
6:55 PM
fuck ordering-dependent linkers.
 
can't find Wide on google
 
Ell
@DeadMG here is build command if you can be bothered to look paste2.org/HdeghtAp
you don't have to though, I'm not going to be in the lounge for 2 weeks after tomorrow
 
1 min ago, by Cat Plus Plus
-Wl,-( libs -Wl,-)
 
@Ell Yeah, I'm pretty sure that the Wide project libraries should come before basically everything else.
 
can anyone link Wide?
 
6:57 PM
works fine on Windows.
 
Ell
@DeadMG I was sure I tried that but I'll try again
Nope
should clang be before llvm?
 

« first day (1038 days earlier)      last day (3903 days later) »