« first day (2342 days earlier)      last day (2606 days later) » 
00:00 - 15:0015:00 - 00:00

12:00 AM
@jaggedSpire flibbity
 
@Borgleader :P
@Mysticial at least it's not tagged with java and c++ too
of course if they had done that it would be even more hilariously idiotic but hey
 
1:09 AM
It's a good night for tortellini soup :)
 
1:27 AM
tfw you realize the adjustments you made to the recipe you used are as long as the recipe itself
 
 
3 hours later…
4:03 AM
posted on March 15, 2017 by Scott Meyers

The folks behind the annual conference for the D programming language offered me a soapbox for my most fundamental beliefs about software and software development, so on Friday, 5 May, I'll be speaking in Berlin at DConf about Things That Matter In the 45+ years since Scott Meyers wrote his first program, he’s played many roles: programmer, user, educator, researcher, consultant. Different ro

 
4:20 AM
How nice it is to be a boss :P
 
4:49 AM
@Mysticial Is it possible to address SSE/AVX registers by some kind of index? I'm trying to speedup s-box lookups (just 256 bytes), but it doesn't seem well suited for SSE.
 
Does x64 have DES crypto instructions? Its definitely something when I build the kernel.
 
5:08 AM
Guys and girls good morning.
@Mikhail How are you?
 
5:20 AM
@Mikhail No idea, modern processors do have AES instructions though.
 
5:31 AM
@Mysticial Dunno if you saw, but Google used your software to compute 750 billion digits of Pi and built an API around those. Pi as a service, essentially.
13
 
5:55 AM
@AldwinCheung Holy shit!
@Mysticial Get your royalties now! Or sue them.
inb4 Mysticial gets a job at Google.
 
@MarkGarcia (He's) been there, done that, doubt he wants to go back.
 
I know. ;)
 
@LucDanton hype
 
@AldwinCheung as long as it’s exactly one hype
 
I can already hear the Rust fanboys screaming cultural appropriation
 
I do not understand. Yesterday i ask question in c# room about dev express. They say this library is old. What is the new GUI library that world are using?
 
7:18 AM
MFC
 
@AlexCerry Ask @Mikhail, the resident GUI expert.
 
@MarkGarcia He not gonna reply.
@StackedCrooked Somebody also told me MFC is like a dump boat.
what about in tv series like the flash. Which interface library they used :))
 
DirectX 13
 
@AldwinCheung just general question. hahaha
with gtx infinity.
whatever i like console with goto.
 
My face is killing me. I have had snot oozing out of my right eye socket all night.
 
7:34 AM
@wilx Sir, when you say this what this mean (Clocks are never synchronized precisely)
 
Ven
Yo
 
Lo
 
i feel very happy to talk with senior programmer. Thank you guys.
 
7:49 AM
@AldwinCheung when did you become enthusiastic about such things anyway?
 
yesterday around teatime
 
makes sense
 
Sup guise
 
@AlexCerry geriatric*
Cheers
 
user1804599
Apparently Caesar was killed this day.
 
user1804599
7:58 AM
Other calendar probably
 
user1804599
Give crisps
 
@sehe speak for yourself!
 
I thought I did. I don't know how I can do otherwise
@rightfold Well. They killed that calendar too. Thorough assassins don't stop at mere physical things
 
user1804599
@sehe Haha De Speld
 
user1804599
> Slecht nieuws voor de PvdA: de stembussen zijn geopend.
 
8:04 AM
geopend is the background process for earth pencils, right
 
user1804599
No it's "opened"
 
really?
 
@rightfold [dacht deze[(youtube.com/watch?v=h_aNyOJunM4)
@AldwinCheung kudos. GeoPen deamon. Too complicated for less elite trolls :)
 
user1804599
@sehe XD
 
user1804599
8:14 AM
Elise en Bob
 
8:29 AM
Are you getting jacked af @AldwinCheung?
 
> When it comes to changing your C++ code to speed up compilation time, the most useful thing you can do is minimize header file inclusion. Next, stop using templates.
useful advice from Ian Lance Taylor
 
lol
it's true in a way though
 
in my case, much like throwing the baby off with the bathwater gets rid of the bathwater :(
 
don't use vector my sons, use void * arrays and C-style casts
 
@Rerito Sir, reason?
 
8:36 AM
@AlexCerry compilation time
 
@Rerito Sir, Meaning compilation time vector take more memory so its slow?
 
@AldwinCheung woop
 
@LucDanton don't throw off your baby
 
@AlexCerry vector being a template requires to compile every specialization you use vs only one class embedding the void* array in the other case
So your binaries are lighter and takes less time to be compiled if you don't use vector
 
8:40 AM
@sehe oops
 
(I hope you understood I was trolling)
 
@Rerito Thank you. understand. very good advice. I remember it.
 
@Rerito Nobody understands. It's much more fun that way
 
@Rerito no chance in post-global warming Poland
 
@LucDanton Well I don't have a car with AC so I'll avoid getting mugged by poles for my car
 
8:44 AM
> do { … } while (reconsider);
how thoughtful
 
user1804599
Languages with backticks suck.
 
Can't nest them.
 
Xeo
you just need more
 
@Rerito Not really, why?
 
user1804599
8:59 AM
@StackedCrooked Can't work with broken Markdown implementations
 
@AldwinCheung just wondering if you were getting any gainz
 
@LucDanton Just compile off a ramdisk :w
@Rerito Uhhh I'm not really trying
 
> Somalia is doing much better than other African countries.
 
Low motivation lately
 
@AldwinCheung ???
 
9:03 AM
@LucDanton I meant that the "minimize header inclusions" really is "minimize I/O"
 
@R.MartinhoFernandes there is a severe drought currently in Kenya I believe so yeah
 
@AldwinCheung oh. it kinda depends on the codebase
 
@LucDanton normal people codebase
yes that excludes both you and griwes
 
@AldwinCheung do normal people use Boost?
 
depends :noel:
BTW nonius has some serious compilation times, too
@Luc unrelated but what's your account stats in GW2? hours played etc
 
9:10 AM
@AldwinCheung ping me later when I have the gaem on hand
it’s tons tho
 
Xeo
> /played
Too much.
 
Ven
@Xeo always :[
 
the trick is to divide the hours by number of days that the gaem has been out while conveniently shoving the fact that I haven’t played for periods of months at a time under the rug
then it almost looks not too much
is it possible to efficiently-ish cut a variadic pack in 2? if so, I could have a divide-and-conquer concat
 
@LucDanton Only trick I can think of is using tuple/index_sequence tricks
 
indeedy, now I’m trying to figure out if those additional hoops are worth the bother
 
Xeo
9:18 AM
going variadic -> tuple -> variadic is annoying though, and adds instantiations. Also not clear how std::get is implemented, could be linear
 
@LucDanton give up
 
@Xeo to be clear this is all meta-programming
 
Xeo
Ah, guess you can rely on your own tuple_element then, and be sure of the complexity
 
@AldwinCheung not a bad idea, I can change things so that concat is not the bottleneck so let’s do that
@Xeo I run my own nth_t<Idx, Pack...> (with a nth_in_t<Idx, list<Pack...>> variant) for those reasons yeah, iirc it netted me a measurable improvement
 
Weren't there built-ins proposed for pack indexing?
 
Xeo
9:22 AM
@LucDanton Is it the one that abuses overloading for getting the right type?
 
yes
@Xeo fun fact: I noticed I had a meta::concat but not a meta::flatten. so I wrote down flatten_t = bind_over_t<concat_t, Seq>;
perhaps (re)binding is the splat op of C++ TMP
 
do you ever write code that is below 3 levels of meta
Luc's motto: "I'm so meta, even this algorithm"
 
Xeo
haha
 
all there is to meta-programming is that it’s programming
 
ueh, today's sprint meeting was so dissapointing
the tasks are so meh I voluntarily took on a crash dump
 
9:28 AM
IRTA sprintf
 
Just reduced the runtime of a function from ~4h to ~4s.
 
inb4 "by adding a segfault in the first couple lines"
 
Guys, the rules have disappeared from the starboard, and I've got no motivation to find an original message.
 
Daily sprintf meetings
 
I like it
 
@AldwinCheung Reduced a function called after each database update to one call after 2700 database updates.
 
Fix your program. Duh
 
@BartekBanachewicz Try it also in WinDbg.
 
@Morwenn Was it sprintf
 
9:33 AM
@AldwinCheung Worse, it was a rendering function.
 
RenderDatabaseToScreen4k
@Morwenn OpenGL or DirectX
 
@R.MartinhoFernandes poke it's your turn in nomic btw...
 
@wilx good point
 
@Puppy ¬_¬ yay
I really do need to start my citizenship process
 
@thecoshman From to?
 
9:45 AM
@wilx No, not from Tonga.
 
@AldwinCheung Haha, no, QGraphicsView.
 
@Morwenn Write a witty rules reminder and I'll pin it
 
@wilx to gain Irish citizenship
 
> and I've got no motivation to find an original message
 
9:58 AM
Write a witty rules reminder and I'll pin it.
11
 
I'ld be glad to hear your comments to improve such a metaprogramming thingy
 
@R.MartinhoFernandes pinned :D
 
10:17 AM
hmm, the Regera's direct drive looks super interestin
a car with no clutch, no gearbox, no reverse
 
@BartekBanachewicz Sounds like something very energetically ineffective.
 
@LucDanton I'm interested to see the impl :)
 
@Rerito haha, you have no idea what you're getting yourself into
 
@AldwinCheung At least I'll have an intellectually challenging thing to do today
 
@Rerito that’s the gist of it, yeah. off the top of my head you can avoid the even/odd case splitting by having a first_seq = make_index_sequence_t<N / 2>; and a second_seq = offset_seq<make_index_sequence_t<N - N / 2>, N / 2>; (untested code disclaimer etc.)
 
10:21 AM
@Rerito s/today/this week and the next/
 
@AldwinCheung Make it the whole month
 
@Rerito >typedef
 
@AldwinCheung s/typedef (T) (Alias)/using Alias = T/
 
@Rerito it starts here, the bulk of the work starts here in the same file
the whole deal of upcasting from list-of-bases to by-index or by-tag base is in fact how you efficiently/effortlessly implement tuple access
 
@wilx they are using hydraulic coupling in lower revs
at some speed the clutch locks and it just goes in "7th gear"
so I suppose it's sort of a clutch
just not in the traditional sense
 
10:36 AM
a hydraulic clutch it still a clutch
 
a non-traditional clutch
 
@AldwinCheung liquid based clutches have been around for half a century already
 
so, procedural CADs
is any free one worth using?
 
@ratchetfreak liquids have been around for billions of years already
 
I was actually thinking about writing some simple PCAD
the prices of pro software are so ridiculously high
and given the DIY fad and 3d printing people will need cheaper tools that are easy to use
 
10:45 AM
Make it free as in haskal
 
I could actually write it in Haskell
but I'd also need to design the DSL
maybe I could use a flavor of Lua
 
there are only 2 languages on earth
 
@AldwinCheung well a CAD DSL has pretty specific requirements
lol, the SCAD recursion example is funny
I thought they're going to make a fractal
hmm SCAD doesn't allow you to click on the view and see the code and vice versa
that could be useful
 
what's SCAD
 
Yay, we have our first open-sourced project :D
Some Python shit.
 
10:54 AM
@AldwinCheung basically this
 
are those tabs for indent
 
Ven
no they're for patrck
 
@AldwinCheung actually it inserts spaces by default
 
hi everyone!
 
it's pretty intuitive actually
not bad for a GPLv2 software
 
10:58 AM
looks like constructive geometry
 
written in C++ sadly
@ratchetfreak yeah, it is
well, it can do much more than that
 
with an immediate mode APi
 
I'd say "declarative"
 
time to invent cadlog
 
oh well, the difference command seems bugged
even the examples don't work
oh wait it's just the preview not working
so, I've modeled the thing I've been printing lately with relative ease
and the STL export seems fine as well
oh wow the devs actually acknowledged the problem and it's with intel gpus and they have a workaround
I'm actually impressed
 
Joe
11:16 AM
Is it good for an engeneer to know c++ coding and ardiuino?
 
@joe yup
 
Joe
is that yes !
ok
 
yes! :)
 
Joe
is it better to know java or c++?
 
it depends
what kind of applications do you want to code?
 
Joe
11:17 AM
ok
so if it is arduino __>c++ otherwise java
 
if its arduino -> c++ otherwise it depends
 
Joe
ok
 
@Ven what am I looking at
 
Joe
are all engineers know coding in ardinuno in companies? most of them!!!
 
Ven
11:19 AM
@BartekBanachewicz don't ask
 
Joe
do u recomend me to learn c++?
 
some people here would say no
 
Joe
why not?
 
but yes, its amazing
ask them ;)
 
Joe
:)
 
11:22 AM
for (deg=[0, 90, 180, 270]) {
    rotate([0, 0, deg])
        translate([35, 0, 0])
            cylinder(h=50, r=5);
}
fun!
 
Ven
this indentation is giving me stomachaches.
 
Joe
I red on internet that c++ is harder than java? is that true
 
FWIW, the AVR backend has been merged into the LLVM trunk, so your options for Arduino compilers have been expanded greatly.
 
some people here do get harder with c++
8
it is kinda true yes
 
@R.MartinhoFernandes eh, I wish
 
11:24 AM
What do you mean? It's true.
 
that was in november though
 
Joe
thank you Hennio
 
you're welcome
 
but, I was under impression that it has already been in at that time
 
but llvm version 4.0 is just released
 
11:26 AM
oh hm
 
@BartekBanachewicz 3.9 was released before the merge.
 
I need to build terra with that then
oh oh oh
 
3.9.1 was after the merge, but it's a bugfix release.
 
that explains things @rat @r.m
 
@BartekBanachewicz Technically true. It was in the repo but by then still not in any official release builds.
 
11:32 AM
uh shit
now I remember I had to make all those changes in the makefiles
uggg
Reading state information... Done
E: Unable to locate package llvm-4.0
 
You were expecting LLVM-4.0 on Ubuntu two days after release?
@BartekBanachewicz apt.llvm.org
 
Joe
what code is licensed under CC0 means?
 
Meanwhile Clang 3.9 is finally available on Travis x)
 
11:47 AM
@Joe It means it's public domain.
 
Joe
@R.MartinhoFernandes so evey body can use it?
 
@R.MartinhoFernandes yeah I got it already
 
Joe
thank you
 
12:03 PM
make: g++: Command not found
wtf
why
 
binutils
 
bienutiles
 
care to elaborate?
I've no idea why is it even trying to use g++
 
Ven
because it's C++ all the way down, down to the 7th level of hell.
 
@BartekBanachewicz probably default compiler?
 
12:10 PM
CLANG = $(shell which clang-4.0 clang | head -1)

CXX = $(CLANG)++
CC = $(CLANG)
it had ?=
Also lel that ++ is wrong
oookay
it's building
aaaand headers missing
 
Ven
Mar 7 at 16:29, by Ven
sigh
 
 
@BartekBanachewicz head -1 is discouraged. You should use like head -n 1 instead.
 
@wilx oh I didn't write that
 
What's this sorcery?
    template<typename First, typename Second, typename... Rest>
        requires requires { true ? uneval::decltemp<First>() : uneval::decltemp<Second>(); }
    struct common_type<First, Second, Rest...>
: common_type<decltype( true ? uneval::decltemp<First>() : uneval::decltemp<Second>() ), Rest...> {};
 
requires requires
requires requires requires requires
 
requires*
hmm
apparently Clang supports MSVC exceptions properly and debug info now
 
12:40 PM
@Rerito any part in particular that stands out?
 
First true ? (A) : (B); : when does this yield B?
 
doesn't matter
it's in a decltype so it's never evaluated anyway
 
@Rerito Never, just like it never yields A. It's not evaluated.
 
so pick the common type out of First and Second, and resume folding over Rest...
 
12:43 PM
Ok so it handles numeric promotions and the like and stuff like inheritance
And requires what does it mean? That the given expression must be well-formed?
 
@Rerito that’s concepts, so non-standard. it’s a language-blessed SFINAE trick, I think you’re already familiar with struct common_type<void_t<decltype( …repetition… )>, First, Second, Rest...>: …impl…
 
yeah
 
that’s it then, the specialization can’t be selected unless the expression is well-formed (+ with concepts we get an ordering)
 
If I had to guess (bad idea with C++ I know) I would assume that requires requires {} means that the statement within the {} should compile. That statement is then repeated later to get a common type from First and Second based on the type inference of the ?:
 
Or unless you are working with MSVC ( ͡° ͜ʖ ͡°)
 
12:48 PM
Off topic, just remembered the good ol' days when I did return main at the end of main, lol
 
ugh
so apparently llvm 4.0 headers have changed structure a bit
ubuntu@vagrant-yakkety:~/terra$ ls /usr/include/llvm-4.0/llvm/Bitcode/
BitcodeReader.h  BitCodes.h  BitcodeWriter.h  BitcodeWriterPass.h  BitstreamReader.h  BitstreamWriter.h  LLVMBitCodes.h
ubuntu@vagrant-yakkety:~/terra$ ls /usr/include/llvm-3.9/llvm/Bitcode/
BitCodes.h  BitcodeWriterPass.h  BitstreamReader.h  BitstreamWriter.h  LLVMBitCodes.h  ReaderWriter.h
 
 
1 hour later…
1:55 PM
(PS. if you might think I'm not a boost-spirit fan, just look at the top users for that tag :)) — sehe 12 secs ago
lel. Recommending against manually implementing stuff with (or without) Spirit leads to an interesting situation.
 
@sehe Can you talk my boss out of reimplementing optional?
 
@Rerito Probably not, if you cannot. Please point him to the Committee drafts and discussion, and then make him explain the differences between boost::optional and std::optional.
 
@sehe I don't think he'ld take it very well :D
 
Silly Challenge for the day: Post a picture of you doing the most obscene thing you can get away with, both in the sense of posting it here and doing it at your work. go!
 
Hi, short question. According to wikipedia's entry of calling conventions [en.wikipedia.org/wiki/Calling_convention#Compiler_variation]
"Calling conventions may differ in:
* Where the previous value of the frame pointer is stored, which is used to restore the frame pointer when the routine ends (in the stack frame, or in some register)
"
 
2:06 PM
there's a room for questions, this room is for slacking off
blah blah, go there
 
ok ok
sorry
 
no worries #catface
 
Catface ?
ah ok ok
got it
:)
 
@thecoshman
enjoy
 
oooh
at first I was like "wtf is this dude doing?"
 
Ven
2:12 PM
@Hennio 2/10 not enough mspaint
 
What's your favourite IDE to work with ? ~~ Ehh.. paint ?!
 
[insert butterflies xkcd here]
 
@Rerito then why bother. Just... treat with with the respect (fear) it deserves
 
2:57 PM
why would anyone reimplement (badly) optional
 
00:00 - 15:0015:00 - 00:00

« first day (2342 days earlier)      last day (2606 days later) »