« first day (1631 days earlier)      last day (3542 days later) » 

17:00
they didn't ask me...
Did a quick folly::IndexedMemPool benchmark today. Got around 30 million allocations per second on a single core. When using 8 threads contending on the same pool I got up to 120 million allocs per sec.
@AlexM. lol
Romania problems
eh
if he paid for a thing that came with a free pepsi, it's his clear contractual right to have a free pepsi.
Anyone knows how to trace back where a .pdf document was downloaded from (I'm on a Mac)?
no.
He should have thrown it against her head.
After opening it.
17:06
who said a "her" was involved?
user1804599
any_iterator is lots of work to implement.
@user3475113 "im studying master IT so i think you have to think twice when talking to me ..." So no. I'm practicing software development far longer time, than you're even started studying. You should consider actually who's talking to you, OK? — πάντα ῥεῖ 13 mins ago
coming from "I'm so old and doddery I actually wrote in a self-assignment check"
more appropriately, "I'm practicing software development for so long, I don't know what century it is"
user1804599
Maybe Boost.TypeErasure?
boost has an any_iterator somewhere I believe
user1804599
Ugh, Boost.TypeErasure erases iterator category.
user1804599
Instead of iterator implementation.
Anybody here with good ideas about dynamic inheritance?
Assembly maybe?
user1804599
@Puppy detail namespace
@VictorLopez What is that?
user1804599
17:12
@wilx cooooooooooooooool
@wilx Let's say, for example, void function(){ class foo:public bar{ }; }
@VictorLopez no.
@VictorLopez That is not dynamic at all, it's just a local class.
@Puppy class foo:public bar{} should be given from a string.
ah
so you mean C++ eval.
Exactly.
user1804599
17:14
Yess, it works.
nobody is interested in that because it's a shitty feature that does way more harm than good and has practically no real use cases.
user1804599
libclang!
you could wank Clang into doing it for you if you ship all the necessary source code
We're talking about that here: gitter.im/ChaiScript/ChaiScript
oh I see
so what you actually meant was, "Please guys, let me spam my shit here"?
17:17
@Puppy Yes.
would that be evaluated at compiletime or runtime?
@VictorLopez ignore puppy
@Blob Runtime, ChaiScript is a scripting language built on top of C++, with C++ based syntax.
@VictorLopez Your idea is to attach a C++ compiler (interpreter?) to the program? :|
imo, it's a bit too expensive to warrant that
@Blob Mainly because of inheritance, by now it is being done with std::function's
@Puppy it says "free soda" but every time in 2 years they gave me pepsi
now it's mirinda
17:20
lol C++ syntax
the worst aspect of C++ and the easiest to change and you'd keep it?
2
there's some mirinda promo and on the label it says "What if you did something different today?"
I'm certainly doing something different
I'm not drinking soda with caffeine
tyvm
@Puppy oh. starred thinking you were referring to inheritance
syntax works too
@райтфолд How does that work?
user1804599
You embed a C++ compiler in your program, and you ship the source of your program with your program, and then you compile the C++ code using the C++ compiler and use dlopen and dlsym to call it.
that, or scrap the idea.
17:23
@VictorLopez Also, you do know that Rust and D are also working on this? Claiming to be the only one working on the issue is more than a bit silly.
also Wide offers way more interoperation power.
Mar 16 at 19:53, by Nooble
I do apologize for the inconvenience my ever so slightly less than perfect English has caused, I am a koala, and unfortunately I am in the process of learning English as my 17th language.
@Nooble that first comma should be a semi-colon
@Puppy I wasn't unaware.
@Blob I know.
@Puppy What is Wide?
17:25
Check the context.
And see what Jerry says right after.
=o
@Puppy Can you give me full access to the repository? I need to write it properly.
write what properly?
@Puppy The entire library.
@Puppy I see the error now, it should be called Narrow.
heard it
I like how steam workshop works
whenever I want to play a map and not forget about it, I go to the workshop page in my browser and subscribe to it
the next time I load the game it's there
user1804599
I want to fill an std::vector backwards.
what... does that even mean?
user1804599
17:32
@Puppy call the standard library Narrow!
no.
user1804599
@Puppy push_front
then use std::deque
user1804599
Does it provide random access iterators?
yes.
user1804599
17:33
OMG
or you could just fill the vector normally and then reverse it.
user1804599
AWESOME
user1804599
Ugh, boost::iterators::detail::operator_brackets_proxy.
user1804599
Can't do it[1].foo().
user1804599
(it + 1)->foo() :(
17:44
lol
user1804599
Alright, interpreter is done.
user1804599
Only 155 LoC!
your kind of lines or the normal kind of lines?
user1804599
Nice short lines at most 90 characters long.
user1804599
Including blank lines and closing braces.
user1804599
17:47
Now it's time to implement threads and fibers.
i tried to find some fugly perl you showed a while ago but you've said "Perl" 600 times, most being something like "Perl is nice"
user1804599
Perl is nice.
@Blob For that you just need to Google "Perl example"
user1804599
Lots of ideas in Mill come from Perl.
class Mill : public Perl ?
user1804599
18:01
:O
user1804599
Oh boy, unit testing code that does context switches.
only just dared to get out of bed
jesus
worst hangover ever
@LightningRacisinObrit How often do you change names? Is the reason ever related to hangovers?
@CaptainGiraffe only on April Fools' day (and now exactly one month after that). and no
18:06
@LightningRacisinObrit Best of luck with the recovery.
@CaptainGiraffe thx
ugh and i need to go shopping cos i have no food in at all and tomorrow everything shall be closed
fortunately Waitrose is open til 9pm still
user1804599
variable 'current_fiber' with type 'volatile auto *' has incompatible initializer of type 'nullptr_t' wtf?
2
user1804599
oh lol auto
yes indeed lol auto
18:13
I can't seem to find a reason on google why my mouse doesn't spam light from the sensor like all the mice I had before
I can only see a very dim light if I look closely (as in, 6 cm away from it)
don't all optical sensors spam light
laser?
isn't laser not optical?
no
then what's the difference between optical mice and laser mice?
Why not a light not visible?
18:14
I don't know too much about the technical aspect, but optical mice use an LED to emit light
What color is the dim light?
laser mice use... a laser. I don't know which one is better (I'm assuming the latter)
@CaptainGiraffe my point is that optical mice and laser mice are split in these two categories
mine is optical
@AlexM. Emitting light that you can easily see means that it's not effectively directed.
every photon entering your eyes is a photon not reflecting off the surface underneath.
@Pris depends on the usage
18:15
I want a dataflow programming library that is perfect and minimal and I just wanna drop it into my project why doesn't it exist ;__;
if you don't want to use mouse acceleration then you don't want laser mice
because they use acceleration by default
it's how they work
@Puppy that's a good point
what even is mouse accceleration?
> Without mouse acceleration, the movement of the mouse and the movement of the crosshair will be 1 : 1.

With mouse acceleration, the movement is based on speed. Meaning, if you move the mouse 1 inch, slowly, it'll move one distance. If you move it still 1 inch, but fast, it'll move a lot farther.
No mouse acceleration is by definition done in software. After mouse input.
user784668
18:17
@MartinJames Adam goal what the fuck
that's not true
> Invisible light sources in laser or optical mice have the advantage of not hurting the users' eyes in dark environments. The only disadvantage is that it is impossible to tell with the human eye whether a mouse is powered or not just by looking at the light source. Therefore, some mice that use invisible light come with LED indicators to show whether or not the mouse is powered on.

> Originally, optical mice used red light as their tracking method. Recently, optical mice started utilizing light within the non-visible spectrum, whereas laser mice have always used invisible lasers.
it may usually be done in software, I don't know; but certainly not "by definition"
@CaptainGiraffe except drivers, hardware processing data etc.
so look at your mouse through a camera @AlexM.
user1804599
18:18
Awesome, fibers work!
see if its a UV led
I read that without acceleration laser sensors produce jittery movement or sth
so the acc is always added by manufacturers
@AlexM. The serial signal you get is unaccelerated. Drivers and other manipulations are software.
@Pris yeah it's brighter with a camera
and purple
18:20
ok trying trip to shop
Please disregard my ignorant comments. I'm an ass.
@AlexM. is that NCIX's Linus?
user784668
Why don't they make mechanical mice anymore?
18:20
@Borgleader yeah I like Linus :D
@Fanael they do... for april fools
:D
@AlexM. I have to say he looks like a total douch on the preview
user1804599
Boost.ScopeExit is great.
@Fanael here, mechanical mouse youtube.com/watch?v=hv5bZXauR2M
@Borgleader yeah a bit
@Puppy General Rocketry, Stability, or Survivability?
at first I thought they added cherry mx switches to the mouse buttons lol
when they mentioned it was about the ball, I was like "eh"
18:24
help. i can't decide.
eh, screw it. general rocketry.
I was suspended
had to log into my sock puppet
user1804599
lol
@Blob I don't remember what any of those three offers so can't really help you unless you remind me :P
user1804599
Alright, there is still no C++ library for reading binary files.
@Scrubbins for what
18:27
@райтфолд Whats wrong with cin >> charThingy?
user1804599
It reads no binary files.
@Pris Telling that spammer to fuck off.
user1804599
It throws no exceptions.
user1804599
It does locale crap.
@райтфолд Why would you need one? Just open the file with ios::bin and read it into memory with istream_iterators.
18:28
@райтфолд there is a binary flag to avoid the locale thingy.
user1804599
Oh.
user1804599
Does it also support endianness conversions?
he flagged it? :|
user1804599
epic fail
18:29
not really.
endianness of the contents of the file is your problem, as it should be.
apparently i could afford both general rocketry and survivability
having the library fix it up is more-or-less impossible.
so i went with that
fair nuff
user1804599
There must be functions that take a stream, a byte order and an integer type and read the integer.
user1804599
18:31
This stuff is common as fuck why's there not a single library that does this
not possible.
user1804599
Go has it.
ah well I guess if they made you provide the byte order
user1804599
Absolutely.
but then why not just read the integer and then use ntohl or whatever to convert it afterwards.
conflating "Read the bytes" and "Convert the bytes" is a bad plan.
18:33
@райтфолд If you have endianness on your chars, your chars are somewhat fucked up.
user3010322
@Borgleader In all seriousness, I think working on something cool like a multithreaded system that can resolve its dependencies against an update graph and then perform as much computation as it can in parallel would be pretty cool (Like they did for... uh, Killzone 2? I think, on the PS3/4).
You have the right idea but I feel compelled to downvote you since you have not provided a simple, compilable example to allow the OP to learn from you. — Richard Hodges 10 mins ago
wanker revenge downvoted me
@ThePhD That stuff is only useful if you can't resolve the dependencies statically, i.e. by just writing the program correctly. I think there's not much motivation to re-calculate it dynamically.
@Scrubbins see below. This comment was a tongue-in-cheek response to Puppy's rather high-handed comment. — Richard Hodges 23 secs ago
lol
@Fanael Not seen it yet. Will go down club later for MOTD. Chelski + Adam goal: should not be last match!
user784668
@MartinJames Adam's got his hat trick: injured an opponent, scored a goal and was booked
user1804599
18:43
Terrible that I needed to write this myself: coliru.stacked-crooked.com/a/f7a84de17a4190b6
@Fanael lol
user3010322
Also @Borgleader I've hit it. I've been implementing OpenGL support, and I finally hit the NotIMplemented calls that are from trying to load HLSL shaders into my OpenGL stuff. I have to begin the journey of either rewriting all of my shaders in GLSL, or cross compiling. :(
@Fanael Next trick: injuring an opponent from 65 yds.
@ThePhD I'm still at hardcoded triangle phase, I made a new project for a .obj loading library
user1804599
I have a better idea. Fuck streams.
user1804599
18:48
I will make the function take iterators instead.
user1804599
@Blob lol
user784668
@MartinJames He's prolly done it a few times already
@Fanael heh:)
user3010322
@Borgleader Yay for OBJ loading!~
@Borgleader .obj loading isn't too hard.
I made a little one for my rendering engine.

« first day (1631 days earlier)      last day (3542 days later) »