« first day (853 days earlier)      last day (4098 days later) » 

Ell
8:00 PM
Hi guise
 
Xeo
And tomorrow in the news: Weird case of laugh-death in Berlin.
 
oh, cat's game wasnt updated in 7 months
 
What game
Oh that game
I forgot about it
 
@Xeo Rest easy, I stopped laughing now.
Your commit was starred.
Or is that the repo?
Dammit, repo.
 
Xeo
Hm. For some reason, my phone decided to not give my PC any more interwebs.
Turning it (tethering) off and on fixed it. :D
 
8:07 PM
bleh. I've been up for ~30 hours now, with a 2 hour nap and a 2 hour exam in between (no, not at the same time :P) but I don't feel like sleeping :/
 
Xeo
@melak47 Once you're past that point, it only gets better. :D
 
Since I've already opened cmd prompt in that repo I might as well do something about this stupid userlist
 
I'm really bad at computers http://bit.ly/12q82oV #couriernewisnotdejavusansmono
Nice hash tag.
 
are we still talking about cat being... cat?
 
posted on February 15, 2013

There is a commonly used strategy, often called lexicographical order or dictionary order, for taking the ordering strategies for individual components and combining them.

 
8:11 PM
I left gamedev chat with a thought that I've (probably) saved one poor soul
 
Xeo
Y'know, having an extremely slow connection is like a time machine - I can go back to the time when characters came to the display one-by-one!
 
@BartekBanachewicz yours? :)
 
@Xeo is it android, per chance?
@melak47 arghv that dude
 
Xeo
@BartekBanachewicz Yea
Wait, no
It's ~Bada~
 
I nearly typed argv as rage-random-chars RAFSASDADFRA
 
Xeo
8:12 PM
But that one's based on some Android, I believe.
 
@Xeo it's proprietary samsung tech. From what I heard, better than andro-shit
 
Xeo
@BartekBanachewicz Argh! And argc and argv too!
I think I'll actually get myself the "1 day internet flat for 0.99€" for the next few days. It's as costly as ordering a pizza and I can atleast hang out here.
 
I have free 3G in my iPad
 
what do you without Internet?
 
8:15 PM
And that's good thing too have, really.
 
Xeo
@TonyTheLion Visual Novels, atleast for the past few weeks. Now I'm through most I have on my HDD. :/
So for now I watch the Black Cat anime.
 
damn, the raycast implementation is gettin really messy
 
oh I see
 
@Xeo what about reading books? I can give you some nice recommendations :)
 
Clean Code - only noobs believe that fairy tale
 
Xeo
8:17 PM
@BartekBanachewicz Psst: Visual Novels are kinda like books. Don't tell anybody.
Anyways, yeah, reading actual books is another option.
 
// we need to only check if we are on the top or bottom side, and then traverse recursively!
NextQ += (horiz_intersect >= border * .5f) ? BOT_BIT : 0;
// if the ray is coming from the right, enter the left voxel
NextQ += (Q & RIGHT_BIT) ? 0 : RIGHT_BIT;
 
hmmm
Has puppy (@DeadMG) been online today?
 
Xeo
Which reminds me, I still didn't completely read the newest volume from Toaru.
@TonyTheLion "Last talked: 4h ago"
 
so he has
 
@TonyTheLion Right now.
 
8:18 PM
mwuahahahaha
 
Xeo
Suddenly, puppy.
 
@BartekBanachewicz it seems like you're using bits, why not |=. You start with 0?
 
I summoned the puppy
what's up puppy?
ohhh anyone feel like mumble?
 
@doug65536 thanks!
 
not much#
 
8:20 PM
@TonyTheLion I can listen to your rambling
> [21:19:43] TonyTheLion is now muted and deafened.
 
Xeo
@BartekBanachewicz NextQ |= Q & ~RIGHT_BIT;.
 
but if you don't talk then it's pointless
 
Xeo
If you're going for bit-manip, do it all the way atleast!
 
bit manip confuses me
 
@TonyTheLion what do you want to talk about? :)
 
8:21 PM
whatever
 
@Xeo I want to understand that code in the upcoming week, thank you
@TonyTheLion Well, I'm coding hard atm
 
Xeo
@BartekBanachewicz Understand bit-manip, if you want to write it. :D
 
well it's pointless if you're not talking
 
@BartekBanachewicz Just make named functions.
 
@R.MartinhoFernandes that would be a lot of them
 
8:22 PM
I never understood why people don't do that. Like set_bit, etc.
 
I'm already having shitload of lambdas
 
seems like you're walking an octree or something
 
@BartekBanachewicz Only once, and it's readable forever.
 
@doug65536 :)
@TonyTheLion I can't use this shit.
 
you suck
 
8:23 PM
say something
 
@R.MartinhoFernandes: I impressed my boss this morning. He and another dev showed me six random bytes that were appearing at the end of a file, and I (correctly) validated them as valid UTF8 in my head. Both of them turned out to have amazingly wrong ideas about what UTF8 looks like.
 
oh fuck it
 
@MooingDuck What did they think?
 
Xeo
I just noticed, you don't need the complement... NextQ |= Q & RIGHT_BIT;.
 
8:24 PM
@R.MartinhoFernandes one of them thought that the first byte signified how many bytes were in each character, and the other though that "ASCII" characters in UTF8 were always two bytes where the first byte was 0xC0
 
@Xeo that's why bit ops suck
 
@MooingDuck the number of set high bits in the first byte do signify the length of the character. you'd then have to make sure that many following bytes start with 10xxxxxx. that what you mean?
 
@MooingDuck 0xCx or 0xDx means two bytes, 0xEx means three bytes, and 0xFx means four bytes.
 
@doug65536 he said the first byte was 0xEF, which meant that each "character" would take 239 bytes, so it wasn't valid UTF8
 
Woah.
WTF
Waaaaaaaaat
 
8:27 PM
@MooingDuck 0xEF = __111__01111 -> 3 bytes
 
@doug65536 That's what I told them.
 
ah gotcha. I had you and them mixed up
 
So many people get Unicode wrong.
 
> Cat goes full retard.
Understatement of the year
 
for reference, the pattern was EF B7 BD EF B7 BD, which I quickly discovered was the buffer overrun bytes in MSVC's debug allocator interpreted as UTF16 converted to UTF8.
 
Xeo
8:28 PM
Gawd, I hate a stuffy nose.
 
@Cicada I thought he always had.
 
So did I
 
@Cicada nope.
 
@MooingDuck omg I think I just realized what they though. they thought that if the first byte == 0xFF then its a 255 byte character?
 
@BartekBanachewicz Feel free to steal pastebin.com/yTV1SUWq
 
8:30 PM
@doug65536 yes
 
@moo lol
 
> zigamorph
what is this
 
@Cicada special character proposal
 
why does it have a zerg name
 
8:31 PM
hmm. @A @B @C @D @E @F @G @H @I @J @K @L @M @N @O @P @Q @R @S @T @U @V @W @X @Y @Z
 
@Cicada A value with all bits set, basically.
 
didn't ping me, so that probably didn't do anything?
 
@R.MartinhoFernandes I love you, but Y U NO Gist?
 
@MooingDuck Needs three characters for plink.
@BartekBanachewicz Good point.
 
@R.MartinhoFernandes that's wise
 
8:32 PM
@MooingDuck Did it ever cross their mind that this wouln't make any sense considering every ASCII character is a valid UTF-8 character?
 
Xeo
constexpr u64 shift_right(u64 value, int n) {
return n == 64? 0 : (value << n);
}
 
Xeo
shift_right -- <<?
 
@EtiennedeMartel they didn't believe that was the case
 
@MooingDuck What a bunch of human shaped tools.
 
8:33 PM
@Xeo That's in a detail namespace whistles
 
@Xeo ohm
@R.MartinhoFernandes is it correct or not?
 
@BartekBanachewicz It's correct. Only the name is broken. It's not an issue since that's only a hack to shut up warnings.
 
Xeo
@BartekBanachewicz The idea is correct, just the name is flipped.
 
well, whatever
 
@R.MartinhoFernandes so rename it
 
8:34 PM
@Xeo that will shift left the value of shift_right before decrement. why not?
 
Xeo
@doug65536 Wat.
 
wow. I just realized I don't have to keep the current ptr.
I can use stack.top()
 
I especially like the uint<N> bits.
 
stack.push(stack.top() -> voxel[i])
 
Xeo
@BartekBanachewicz Dat spacing.
 
8:36 PM
Was really neat when I was messing around with kernel crap.
 
shift_right -- << x means: temp=shift_right; temp << x; --shift_right;
 
Xeo
I'd slap you for it if it was in my codebase.
 
@Xeo that was just because code display sucks here
 
Ell
anyone here on mindcraft know of stuff to help me fight le mobs?
 
Xeo
@doug65536 The -- was intended as a seperator...
 
8:36 PM
@Ell sup?
 
Xeo
@Ell I heard armor and a sword help.
 
Minicraft will have automatic lazor cannons
 
Ell
@BartekBanachewicz Not on the server, but on my SP I keep getting p0wned by loads of mobs. I think there are spawners but I've died like 17 times >.< can't explore anywhere
 
@R.MartinhoFernandes look, he fixed your code stackoverflow.com/a/14902921/893693
 
@Ell mine for diamond sword and steel armor, like xeo said
 
Xeo
8:38 PM
Better armor, wolfs, potions.
Also, bow.
 
@bamboon lolwut?
 
@Xeo negative shifts are illegal yes. the shift count must be positive or unsigned, else it's UB
 
Also, lazor hand gunz.
 
@bamboon Oh gosh, the scope guard proposal.
 
Xeo
@doug65536 The fuck do you keep talking about. :/ The "shift_right -- <<?" msg was about the name of the function "shift_right", and it actually being << (aka left-shift) inside the function body.
 
Ell
8:40 PM
wtf is that? o.O
 
talking about the gibberish you posted
 
Xeo
Lemme reformulate... "shift_right SEPERATOR <<?".
 
yes, I know, for the retards with a keyboard that doesn't have <<
 
Xeo
Are you, by chance, drunk?
Or high on catnip?
 
8:42 PM
@R.MartinhoFernandes you should write another blogpost about how much you dislike it.
 
@Xeo ok I see now
 
I still struggle to understand why people find writing one move ctor and one deleter once in a blue moon (seriously, what kind of project has such an endless amount of different resources) such a burden.
 
@Xeo I couldn't figure out if it was about sequence points or negative shifts or what
 
@doug65536 It's about uint64 << 64. It's perfectly legal, but GCC warns.
 
Xeo
@doug65536 My message was just about the mismatch between the name and the implementation.
 
8:44 PM
@R.MartinhoFernandes I don't think that's legal... will check
 
@Xeo yes, and I speculated that a negative shift would have been used, that threw me right off track
 
I couldn't help myself
0
A: Why is this code inneficent

rubenvbYes. The code you have shown clearly takes an infinite amount of time to convert letters from upper to lower case. This code works much faster:

 
@MooingDuck If E1 has an unsigned type, the value of the result is E1 × 2^E2, reduced modulo one more than the maximum value representable in the result type.
 
@R.MartinhoFernandes § 5.9 "The behavior is undefined if the right operand is negative, or greater than or equal to the length in bits of the promoted left operand."
 
btw, do any of you have some kind of self-hosted dropbox web server running at home?
 
8:46 PM
@MooingDuck Oh well.
 
Xeo
I would just implement the C libraries and use .toLower — hunterboerner 9 mins ago
Ow ow ow ow ow.
std::string toLowercase(std::string s) { return "Lowercase"; }sftrabbit 7 mins ago
lol
 
that guy's friend needs to learn how to write a loop. or call something. but seriously, if/else?
 
That guy's friend's friend needs to learn how to ask questions.
SO you guys have absolutely no experience with owncloud or anything similar?
 
you all know what time it is
BEERTIME!
 
Are you drunk, pups?
 
8:49 PM
Since when you drink anyway
 
Xeo
@rubenvb Someone I know runs ownCloud, why?
 
@Xeo What.
 
@R.MartinhoFernandes No.
 
@CatPlusPlus He's started doing it recently, I think.
 
nor will I be drunk when I finish consuming my amazing two beers
 
8:50 PM
Ok, just checking.
 
Drinking alone is bad, though. What you need is a drinking buddy.
 
I finished my tweaking
 
@Xeo is it any good? I'm looking for a self-hosted dropbox thing for my rPi, but the interwebz seem to imply that 1) PHP and 2) it's relatively heavy-weight, and 3) it's ridiculously insecure (see 1 probably)
 
Xeo
            bool checklayers = false;
            int checklayerq = 0;
            while(checklayers == false)
Man...
 
Xeo
8:52 PM
@R.MartinhoFernandes Just going through that guy's code. Also, nvm the snippet above.
 
Meh, I am sure it only handles 26 letters.
 
Xeo
goto makes a comeback!
 
Boy you must be bored.
 
Xeo
@R.MartinhoFernandes That guy did not only reinvent a bad version of tolower.
 
@Xeo goto back;
 
Xeo
8:54 PM
cin >> structinput;
structinput2 = structinput.c_str();
structfloat = atof(structinput2);
 
Xeo
@Rapptz Are you also going through the code? :D
 
no I made it up
 
The serifs are gone! Most impressive.
 
is that really what he named it
lol
 
Xeo
8:55 PM
@rubenvb Sorry, that I don't know. :/
 
@Xeo ok, np. I'm just wondering if a smb+sync app won't cut it. Or some simple crap I write myself.
 
@CatPlusPlus The avatars are really small.
 
Userlist ones? By design
 
Xeo
@Rapptz How often do you need to click on a user avatar in the list?
 
It's really not important enough to commit so much space for that
 
8:57 PM
make the share on the server a bunch of symlinks, and have the real deal with history stored in some crazy directory structure. Sounds like a bad idea? That's because it is.
 
@Xeo Well, I do it every so often
 
Linux font rendering sucks.
And on top of that, Linux fonts suck.
 
Xeo
@rubenvb Where exactly do you see Linux?
 
@Rapptz That userscript sucks because it hides the topic by default
 
DejaVu Sans Mono
 
which reminds me: if you install steam for linux they give you some item
 
@rubenvb This clearly indicates Linux yes
(Hint: it's Windows)
 
lol
Who on earth freely decides to use dejavu on anything but linux...
 

« first day (853 days earlier)      last day (4098 days later) »