« first day (1800 days earlier)      last day (3147 days later) » 

12:01 AM
@sehe Well yes, but i dont think it should be that equal all around?
 
good question. FWIW I don't think it is completely even - but that could be an illusion
 
i think its an illusion due to the bottom being illuminated and not the top
 
@JohanLarsson did you say this at the time the stream cut off (trying to establish when they did)
 
You could have just asked for "name". "First name / last name" is not only confusing but extremely Americentric. — Lightness Races in Orbit 8 hours ago
hello
 
@sehe yep, ten seconds after
 
12:04 AM
@Rapptz Its americentric? what?
also hi
 
@JohanLarsson okay. It's about when I stopped anyways
 
@Borgleader ikr
 
Still a shame they nuked it, but, fair game I guess
Okay. A little livestream then. I bet it'll be <20 minutes :(
 
@Lalaland Sorry, I was AFK for most of the day today, surprisingly.
Now I'm ded, need sleep
Tomorrow, probably. What's your timezone?
 
Hello, livestream!
 
12:09 AM
I'm about to leave too.
Thank you all for the role you played in lessening my boredom today ^_^
 
@Morwenn Pre-emptive good night :P
 
@Borgleader thx m8
 
@elyse At least Twitch has some kind of UI that makes sense
And it's also for coding
Notch made a bunch of livestreams coding
 
Sehe > Notch :)
 
Notch << Sehe;
 
12:16 AM
@Nooble throw integer_overflow_exception();
 
@Borgleader :P
 
HAHAHAHA NOPE IT DID IT AGAIN
FUCKING PIECE OF GARBAGE
 
called it
 
@Borgleader Good job on the GBuffer.
 
tyty
 
12:24 AM
See? Now that you've succeeded you can play games.
 
I wasted a few minutes wondering why it wasnt working until i realized I forgot to encoe my normals
 
and enjoy yourself.
 
@ThePhD I am. I'm playing SW: Jedi Academy
 
@Borgleader Did that get a sudden, out-of-nowhere update?
 
No, I've been meaning to play it for a while.
I got it in the SW Humble Bundle
 
12:26 AM
@ʎǝɹɟɟɟǝſ tbf the interface of LC.TV got much improved recently. Of course, they had to go and do some weird changes too ;)
 
Yeah, I noticed. They had all those Web 3.0 annoying popups to explain the interface.
I think that when you need documentation to understand the UI you are doing it wrong.
 
guys does it happen to you like when you're concentrated on something and you hear a sound somewhere else your ear (only right ear for me) moves a bit when that happens
it's like the ear getting scared or sth
annoying when earphones
 
You might be a cat
 
I hope not
 
No, never happened. My ears don't move at all.
 
12:30 AM
it happened now I was watching a stream w/o earphones and heard a crack or sth coming from the fridge
 
Not relative to the head at least
 
right ear moved/contracted/whatever for 1 sec
it happens often at work when I use earphones and people move around behind me
(and I hear the steps)
@ʎǝɹɟɟɟǝſ :<
 
fuck the world, its stupid.
 
@JABFreeware It's really not
 
the people in it are
 
12:32 AM
Nope
 
a lot of the people
 
so where is my award?
 
We are sold out
 
you must be brave to make me wait
 
12:35 AM
I love "Waiting for Love" of Avicii
 
456
A: How to avoid "if" chains?

ʎǝɹɟɟɟǝſYou can use an && (logic AND): if (executeStepA() && executeStepB() && executeStepC()){ ... } executeThisFunctionInAnyCase(); this will satisfy both of your requirements: executeStep<X>() should evaluate only if the previous one succeeded (this is called short circuit evaluation) execute...

lol I thought everyone knew about &&
 
Slap my tits and call me hipster
 
I feel sorry for the OP in that question not knowing basic logic operators
4 mins ago, by JABFreeware
fuck the world, its stupid.
 
> I'm burning like a fire gone wild on Saturday
Guess I won't be coming to church on Sunday
 
why would I go to church?
 
12:39 AM
Are there any mods in here?
 
why, did I do something?
 
hehe, no. You're not the problem. This time. 'later!
 
5-year-old: *throws penny in a wishing well* Me: That's a waste of money. It won't come true. 5: I wished my penny would get wet. Touché.
@JABFreeware what. JABFreeware is back?!?!
 
12:41 AM
oh shit
spotted
@sehe what. You are STILL here?!?!
 
@JABFreeware wow 463 upvotes
 
Don't worry, I got like 10% of the reputation
Due to the daily cap
And it's yet another proof that reputation only means popularity
 
@JABFreeware Of course
 
@ʎǝɹɟɟɟǝſ exactly. Not skill
@sehe maybe I can be a mod now?
 
Skill in getting popular
 
12:43 AM
@ʎǝɹɟɟɟǝſ or that you got on stackoverflow early
@ʎǝɹɟɟɟǝſ are the shotgun approach (Im looking at you vlad
 
That was a fairly recent one IIRC
Yeah, 1 year ago
 
or that you spend too much time watching SO questions instead of solving real problems... that too.
don't let me annoy you. is in a bad mood
 
I don't mind
 
you better not
 
12:46 AM
fucking internet connection STOP THIS. My hotspot gets better speed than this shit.
its a bad sign when you cant download and watch a youtube video at the same time
 
My music tastes has gone ridiculously low
 
don't blame me
 
@ʎǝɹɟɟɟǝſ it shows. I couldn't finish listening to the above song.
@sehe it was fine until you showed up...
likes the silence he brings
 
> I wish I could disappear
So you would never see me in this mess I get in
However hard I try, keep on stumbling still
Once in a while I'll show you who I am
We're knocking on
 
Fuck TDD, I'm a single developer and don't have the luxury of knowing what I'm doing.
 
12:55 AM
he he
I swear, animators have the best music tastes
 
after dealing with all the way to set environment variable globally, I just said fuck it
and I renamed urxvt to urxvt_
and made a symlink named urxvt to urxvt256c-ml
 
I only test what the user sees
Testing implementation details is a waste of time, in most cases, IMHO
 
@milleniumbug lol
 
I've been doing GUI tests lately and they fit TDD perfectly
bug report with repro steps = test case to write before fixing
 
Isn't GUI testing is hard to automate?
 
1:00 AM
which parts do you think are difficult?
 
user406009
@ʎǝɹɟɟɟǝſ I am in CDT.
 
@AlexM. the automating part
 
Can you script user interaction? Like button click?
 
@Lalaland Holy shit, 7 hours behind me :c
Hey guys, I have a technical question for you
 
Sorry we're closed.
 
1:02 AM
I don't know C++
 
We have a headache honey not now
 
Assume you have to codify numbers which are mostly representable in 16 bits, but some rare times they are not.
 
@StackedCrooked yep
 
@ʎǝɹɟɟɟǝſ I'm already lost.
 
@StackedCrooked My teacher showed us a a web framework for doing things like that.
 
1:03 AM
Are you trying to save RAM?
 
cant remember what it was called
 
@ʎǝɹɟɟɟǝſ Contact headhunter.
 
I'm not doing that part myself, everything's done already so I just write the tests, couldn't give any extra details anyway
 
A friend of mine is encoding them so that one of those 2^16 values is an escape value which identifies that the next 48 bits are the real integer value.
 
> A friend of mine
nice try Jeff
 
1:04 AM
Well why not just switch to floating point halves?
 
user406009
@ʎǝɹɟɟɟǝſ Wait, how the heck are you still awake?
 
And I thought that even though you have 2^16 - 1 "small" values, then when you represent bigger ones, then you have 16 bits out of 64 which are unused
So maybe something like the encoding UTF8 uses it better
 
@ʎǝɹɟɟɟǝſ unless you actually have a lots and lots of numbers, why bother
 
Maybe
Depending on the actual statistical analysis on the use of these integer values
@milleniumbug You have lots and lots of numbers
 
user406009
@ʎǝɹɟɟɟǝſ You can also do it where you reserve one bit to represent the large sizes. Sorta like UTF8.
 
1:05 AM
and if you have a lots and lots of numbers, try outsourcing compression anyway
gzip them
 
And it's about shortening memory usage as much as possible
Compression doesn't work well with these particular integer values
 
the idea of using an AI to generate UI test cases is also neat but I've yet to read anything about it
 
and your question is...
 
placed it on my todo list at least
 
@Lalaland That's what I meant
@milleniumbug Wether something like UTF8 could be better in this case
Intuitively you have 2^15 vs 2^16-1 small values
But you only use 1 bit out of 64 for larger ones
 
1:07 AM
take sample data you use, and measure
 
the most interesting bit is making the AI simulate behavior that would fit into what one would consider to be novice users and up to expert users
 
As opposed to 64 - 16
@milleniumbug That's his work if he is willing
I just wanted to make sure it's a valid suggestion
 
basically you want some kind of variable length encoding?
 
protobuf does that
maybe check their code
or the docs
it's explained
 
1:08 AM
Ugg, if you can stand collisions you might be better off using 16bit floats...
 
What do 16 bit floats have to do with anything?
 
you need a marker to identify special state. and then you need a small state machine for processing.
 
I can't quite understand that
> Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.
Meh, sounds overly complicated
 
user406009
@ʎǝɹɟɟɟǝſ You would store all your value in 2 bytes. en.wikipedia.org/wiki/Half-precision_floating-point_format
 
user406009
You lose precision though.
 
user406009
1:10 AM
And it would be dog slow.
 
user406009
Anyways, why are you concerned about space? Are you trying to keep the data small in memory? Small on disk?
 
Doesn't matter, it's long to explain
@Lalaland He wants to store integers :/
Integers that are mostly within 2 bytes but could be larger
I still don't understand how floating points would help
 
user406009
Sometimes you can throw away the extra precision though.
 
Yes you can represent big numbers too, but you lose precision below...
 
user406009
1:14 AM
@StackedCrooked Yep. Just like UTF8
 
> Each byte in a varint, except the last byte, has the most significant bit (msb) set – this indicates that there are further bytes to come. The lower 7 bits of each byte are used to store the two's complement representation of the number in groups of 7 bits, least significant group first.
That's what UTF8 does for the first byte at least
 
user406009
@ʎǝɹɟɟɟǝſ Some calculations don't need precision
 
@Lalaland Slightly different
 
I feel like someone in here is going to know this: stackoverflow.com/questions/32674633/…
 
> How can I make my vim behave like my cat ?
 
user406009
1:16 AM
From my calculations, half width floating points should have 3 significant figures of precision.
 
user406009
Which is Ok I guess.
 
That's the one @milleniumbug
 
If the statistics show that a certain numbers are more common then others then Huffman coding seems to be what you need.
However, what you are doing sounds dubious.
 
@StackedCrooked In his thesis he does that, but he notices that that doesn't help as much as he wants
Or something
 
user406009
@StackedCrooked That's almost equivalent to UTF-8 style encoding.
 
1:19 AM
You should definitely benchmark against non-compressed version.
 
user406009
Is that thesis published yet?
 
No, and it's in italian anyway
 
Variable length also introduces some problems. Like regular array indexing won't work anymore.
 
"Let it be" is awesome
 
You should weigh pro and cons there.
 
1:20 AM
@StackedCrooked That's not an issue
It reads these integers as groups of 4
 
Ok then.
 
Linearly
 
@ʎǝɹɟɟɟǝſ Not as good as "Let it go"
 
Which one?
 
user406009
@ʎǝɹɟɟɟǝſ If he is doing linear reading, why does he care about space?
 
user406009
1:21 AM
Simply page stuff in and out as needed.
 
@Lalaland Probably because he has a lot of these numbers and he needs to store them
@Borgleader You mean this?
 
@ʎǝɹɟɟɟǝſ almost like it but unlike it youtube.com/watch?v=1S1fISh-pag
 
@ʎǝɹɟɟɟǝſ I was kidding but yes
 
user406009
@milleniumbug Heresy! Burn the heratic!
 
user406009
Drags out my pitchfork
 
1:24 AM
@milleniumbug he he
 
> Samir Mody and Gregory Panakkal, two researchers from K7 Computing in India, think it can. At VB2015 in Prague, they will present a paper 'Dead and buried in their crypts: defeating modern ransomware', in which they discuss a generic anti-ransomware solution they developed. Those who think anti-virus is all about signatures will be interested to know that the paper doesn't mention the word 'signatures' even once. src
Woot
 
u w0t m8
 
@sehe they used autograph instead ;)
 
@Lalaland you shouldn't drag it out. It should be surgically removed to prevent permanent damaged
 
@ʎǝɹɟɟɟǝſ The link to your twitter account on your careers page is broken, you entered the full link instead of just the handle
 
1:25 AM
@Borgleader virii don't autograph
 
Also yes, I do background checks on everyone who edits my posts :D
 
> checks
 
I call it high-quality stalking
 
stalking for quality
 
I try to stalk with stalkee quality in mind
 
1:27 AM
@WillemD'Haeseleer lol thanks
 
@WillemD'Haeseleer You "like to explain and stalk too much" - there's a typo in your bio
 
Haha, Nice
 
Ok, so here's the deal
 
Seems like I am not the only one ( ͡° ͜ʖ ͡°)
 
Yes. I do background checks on anyone who drops into the lounge and announces background checks
 
user406009
1:29 AM
@WillemD'Haeseleer sehe is the Lounge's resident investigator.
 
With Huffman he got ~14% of compression
 
That seems fair
And also, appropriately recursive
 
And the problem is that it seems to go lower as much as he adds these numbers
So that's what the problem was
With his other ("have a 16 bit escape character") he got ~70% of compression
It's kind of more complicated thought
Like with Huffman he compresses 32 bit floating points numbers
With his 16 bit representation he rounds to some fixed decimal points and then he multiplies by a factor in order to get integers
To which he then applies this 16 bit encoding
Rounding to 2 decimal digits is not too bad for the application at end
 
user406009
So he's already using floating point.
 
So then he multiplies that by 100
 
1:33 AM
@R.MartinhoFernandes @sehe @milleniumbug done
 
And gets an integer
@Lalaland Yes, but apparently he is not using nearly as much as the range of floating point provides
 
And apparently he doesn't use the precision 32 bits floating point numbers gives either
So I don't know what's going on
The rest of the thesis is kind of out of my reach
 
user406009
@chmod711telkitty Wow, that's a lot of the regulars.
 
there are more, 30 some regulars here, 5 doesn't hurt much
 
user406009
1:35 AM
I can understand Elim though, he can be sort of a jerk.
 
@chmod711telkitty what's the value in sharing that info ?
 
user406009
@WillemD'Haeseleer So the people on that list know that telkitty can't hear them.
 
user406009
It's useful to know.
 
It's like a neighborhood report.
 
Oh I see, it's not the ignore list of chmod711 it self
confusing
 
1:38 AM
> TIFU By ejaculating on my dad
WTF reddit
 
user406009
Reddit is full of craziness.
 
user406009
And I bet you haven't even explored the more specialty subreddits.
 
user406009
@ʎǝɹɟɟɟǝſ Can you mark that link NSFW?
 
> Your poor father. That's probably the closest he'll ever get to holding his grandkids.
@Lalaland As a question of principle I can't
Sorry
 
1:40 AM
> Didn't hear my dad coming
 
user406009
@ʎǝɹɟɟɟǝſ Our beliefs don't matter. The only thing that matters is that employers would get unhappy.
 
We had this discussion once here, and I've concluded that average sized text cannot be NSFW
 
user406009
Like I said, our opinions don't matter.
 
user406009
But that's certainly NSFW in the glorious puritan USA.
 
user406009
Where you can show people getting killed in gory detail.
 
user406009
1:43 AM
But even a glimpse of a boob is not allowed on prime time TV.
 
you silly americans :P
"oh noes not the nipple"
"dis the evil. EVIL I SAY"
 
I got a warning sign - you have to be over 18 to click on continue
 
Seeing nipples would corrupt the younger generations.
 
@Lalaland "America's actually fine with tits, it's nipples they don't like." - Miley Cyrus
 
user406009
1:45 AM
We also have a front running presidential candidate who believes the Earth is 6000 years old.
 
but ... but ... without nipples, tits just look like butts
 
hmmm what is SELinux and why it blocks me from starting containers
Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including United States Department of Defense–style mandatory access controls (MAC). SELinux is a set of kernel modifications and user-space tools that have been added to various Linux distributions. Its architecture strives to separate enforcement of security decisions from the security policy itself and streamlines the volume of software charged with security policy enforcement. The key concepts underlying SELinux can be traced to several earlier projects...
hmmm
 
2:20 AM
There is a obese wild bird begging outside my window, I have a mental struggle on whether to feed it. It's obese partially because we fed it too much meat.
I ended up fed it a tiny piece of bread
 
2:46 AM
Compile-time branches :D (lines 175 to 191)
Using short-circuit evaluation with compile-time constant on the left.
I'm so clever :D
 
@StackedCrooked Speaking of which, is there a clean way to do compile-time branching that doesn't rely on dead-code-elimination?
 
hm, dead-code-elimination ?
 
Here's an example of what I'm currently doing:
 
You mean you don't want to generate dead code in the first place?
 
yeah
 
2:49 AM
Lol, I still am not any wiser.
 
template <ukL_t wk, upL_t stride, bool reduce, int unroll>
static YM_FORCE_INLINE void b2_forward_p1(const sfd_t& sfd, vtype* T){
    if (unroll == 2)    b2_forward_p1_u2<wk, stride, reduce>(sfd, T);
    if (unroll == 4)    b2_forward_p1_u4<wk, stride, reduce>(sfd, T);
}
And I'm tempted to believe that's the reason why my compile times have been going up.
 
You can call function overloads.
Using enable_if or tag-type params.
 
That's kinda what I'm trying to avoid. :)
 
void unroll(Tag<2>) {}
void unroll(Tag<4>) {}
 
Using the dummy object right?
 
2:50 AM
Yep.
 
Was wondering if there was a better way. :)
If it even exists.
 
template<int> struct Tag{}; // or std::integral_constant
 
How the hell do you come up with something like that keeping a straight face?
 
user406009
@ʎǝɹɟɟɟǝſ Haskell has a completely unreadable syntax.
 
user406009
2:52 AM
So it's not really C++ being good, but Haskell being bad.
 
@Mysticial Technically you could use class template specialization.
 
@StackedCrooked I used to do it that way. But then I discovered that partial specialization doesn't always work.
 
@Lalaland Haskell syntax is instead very clear and easy to understand
 
@Lalaland Do note that the unreadable bits comes from libraries and is self-inflicted by the community. The language proper has a very tight syntax.
 
You can write unreadable Haskell code, sure. But you can write unreadable C++ code too, so that is mostly irrelevant.
 
2:53 AM
@Mysticial Hm, you can't partially specialize functions.
 
If we are comparing syntaxes, C++ loses by a long shot. Sorry.
 
@StackedCrooked Yeah. That's why I gave up and went to compile-time optimizable branching.
Since that was the next simplest way.
 
@Mysticial Oh, I forgot, there's also constexpr.
 
lol, is that called an if statement?
do we have static if yet?
 
user406009
I think there is a proposal for static if.
 
2:55 AM
Alexandrescu proposed it but it was shot down harshly. I think there was a new paper by someone else.
 
user406009
Why did it get shot down?
 
user406009
Implementation complexity?
 
@StackedCrooked It sorta makes sense. The compiler will handle normal branches well if the condition is a constant.
 
user406009
@StackedCrooked Why are you using enum instead of constexpr?
 
2:56 AM
Bjarne hated it.
@Lalaland It's an old habit.
 
@Lalaland Was too powerful (and The Trio wanted more arguments for Concepts Lite).
I should probably not write statements that might possibly damage Bjarne's image from a hotel room booked for me for speaking at CppCon, eh?
 
`It would also impede and possibly prevent the future development of
other language features, such as concepts... It would make C++ a lower-level
language` contradict much
 
Yeah. Basically they don't want anything that would undermine concepts.
 
user406009
@Griwes Ooo, what talk are you giving?
 
Funny thing is, Ville intended (or did he do that already?) to re-propose static if (basically to disallow its usage outside of function scope, and make it always create a scope of its own).
 
2:59 AM
@Griwes where are you staying? If you can share that info
 
@Lalaland "Bjarne must go"
3
 
@AndyProwl Marriott.
@Lalaland About functional programming.
 

« first day (1800 days earlier)      last day (3147 days later) »