« first day (1436 days earlier)      last day (3511 days later) » 

10:00 PM
9 hours ago, by Lightness Races in Orbit
@sehe Jesus is not dead you sinner he is right here in all of us all the time all the places all the reasons and colours and trees and birds and snakes and hippopotamuses but you can be saved if you just accept HIS love
 
user1804599
Jesus is dead.
 
user1804599
And if he isn't then he can suck a cock.
 
user1804599
pfft thinking he's my son what an idiot
 
Most live stock can suck cocks
 
user1804599
Sucking cocks is underrated and fun.
 
10:02 PM
@thecoshman yes
 
@Ell Damn, you can get your own personal Jesus?
 
Ell
I can't afford one :( I don't want to die for my sins :/
 
You can die for mine
 
@sehe I only needed one conscience, and cat got there first.
@Puppy everyone can, just reach out and touch faith
 
I wasn't providing a spare external conscience (although, just run them in a JBOC config?); I was providing opinion ;)
 
10:05 PM
@thecoshman Is exactly the song I was thinking of.
 
user1804599
> Hey Jesus, thank you for your pain.
> Hey Jesus, suck my grudge and hate.
 
@thecoshman thats a really good song
 
@sehe I'll save it far later and apply it to something I need that sort of opinion for.
@Puppy :D
 
>
Im christian and i love him. If u dont like the music just because he is anti christ, please go the fuck away
YT comments really are the best in class
 
hey! don't you start spamming us with crap from YT
 
10:06 PM
@thecoshman expiry date: nov 26th 2018
 
tumblr can be pretty hilarious too
 
@thecoshman I won't
 
we have enough problems with @EtiennedeMartel doing that!
 
damn
I never realized before that Manson looks like a colossal moron
 
@sehe don't worry, I'll forget about all too soon :(
 
user1804599
10:07 PM
Monsoon.
 
@Puppy well, it is a video, so he's tries extra hard
 
Moon son
 
user3010322
Moons on?
 
user1804599
Mom's Cocoon.
 
how's that OSx doesn't support other filesystems
 
10:10 PM
... they didn't want it to
 
But still I'm quite surprised that there isn't any free stable extfs driver
 
user3010322
Okay.
 
user3010322
This is pretty fuckin' rigged.
 
user3010322
FT_Get_Kerning, with A and V as the left and right codepoints respectively,
 
user3010322
10:14 PM
returns that 0 kerning is necessary.
 
user3010322
ZERO.
 
Font has no kerning info?
Or 0 is indeed the right kerning?
 
user3010322
It's Arial.
 
@LoïcFaure-Lacroix fuse
 
user3010322
Codepoints check out: they're 65 and 85 for left and right respectively.
 
10:16 PM
Yes, but why do you think 0 is not the right value?
 
@ThePhD Sounds like the right amount. The shapes are complementary
 
@LoïcFaure-Lacroix What do you mean?
 
user3010322
@R.MartinhoFernandes A and V in most layouts are kerned to be closer together, no?
 
user3010322
Also, sanity check:
 
Closer than what?
 
user3010322
10:18 PM
 
/me yawns
 
user3010322
@R.MartinhoFernandes Than the standard glyph_advance
 
AFAIK OSX can format any disk to FAT, xFAT, NTFS, etc...
 
that is shitty error handling.
 
user3010322
It's all the error handling I need?
 
user3010322
10:19 PM
Either way, is tehre any other character pair
 
@ThePhD q<26, 6>?
 
user3010322
that should kern?
 
user3010322
Q is a fixed point number format where the number of fractional bits (and optionally the number of integer bits) is specified. For example, a Q15 number has 15 fractional bits; a Q1.14 number has 1 integer bit and 14 fractional bits. Q format is often used in hardware that does not have a floating-point unit and in applications that require constant resolution. == Characteristics == Q format numbers are (notionally) fixed point numbers (but not actually a number itself); that is, they are stored and operated upon as regular binary numbers (i.e. signed integers), thus allowing standard int...
 
@ThePhD Yes, all of them. vOv
 
user3010322
Freetype uses 26.6 format for its kerning values
 
10:20 PM
@ThePhD what's the q for ah
 
user3010322
@sehe q is just the class name.
 
@sehe as far as I remember fuse is working in userland right?
 
user3010322
@sehe What's the top font? Times New Roman?
 
@sehe ℚ, I'd assume.
 
@LoïcFaure-Lacroix yup
@ThePhD nocloo, the default proportional font on Ubuntu
@ThePhD erm. don't all characters need to "kern"? It's just a question of how much /extra/ space
@ThePhD oh. still pretty bad practice to write them c-style casts there.
 
10:23 PM
C style casts...shudder.
I remember at my old job I tried to explain the perils to them, but they simply refused to change because "that's just the way we do it here"
 
Am I right or the second if will never be entered paste2.org/642Kj6B6
how does a static cast on minus number works
 
So, family IT guy service also fulfilled for the day:
 
@Puppy Yes (to exactly the same degree that PHP is a programming language).
 
user3010322
Bah.
 
user3010322
Well, if it doesn't Kern I guess it's alright...
 
10:27 PM
@LoïcFaure-Lacroix although it may be defined, surely you'd want to make what's happening obvious rather than getting people to look things up
 
Gee, just try looking at some kerned text.
 
user3010322
I thought A and V in arial were kerned. I don't know what font that Kerning Game is using. ;~;
 
Just, er, see if it looks ok?
 
user3010322
It sort of does?
 
user3010322
I just mentally expected the A and V to be closer in this image...
 
user3010322
10:28 PM
 
Can you add more characters?
 
user3010322
Yeah, I can use a whole sentence.
 
When you have only two, any amount of space is ok.
 
user3010322
What's that standard one?
 
user3010322
The quick brown fox jumps over the something dog
 
Ell
10:31 PM
The quick brown fox jumps over the lazy red dog
no. not red.
 
user3010322
 
user3010322
Aside from certain letters being slim, it... looks alright to me.
 
eww that P and L
 
Why is he implementing text rendering again?
 
Ell
@ThePhD meh
 
user3010322
10:34 PM
Because I need to have text on my screen?
 
Ell
@Sofffia he wants control over individual glyph animation
 
Yeah, nobody ever did that already.
Oh wait... they did.
 
Ell
@Sofffia Not in a library available to him obviously
Show me a library if you find one
 
user3010322
When you can build Pango, FontConfig, Freetype, and Harfbuzz in VC++, you let me know.
 
lol VC++
 
10:35 PM
@ThePhD The 'z' looks a bit awkward but everything else seems fine.
@ThePhD Pretty sure it's impossible.
 
Ell
@ThePhD I think the problem is windows, not VC++, isn't it?
 
That's why they have binaries.
 
Ell
I mean I built pango completely fine on linux :P and used it in opengl
 
user3010322
I have Freetype and Harfbuzz building reliably on Windows with VC++, the latest.
 
@ThePhD The kerkiningngingi or whatever is spelled seems wrong around http and ://
 
10:36 PM
hello programmers
 
@R.MartinhoFernandes Hey, sorry to bother you about this, but, do you have any clue why clang-cl wouldn't recognize char32_t as a type?
 
Ell
@ThePhD but not freetype and pango?
 
@Borgleader That doesn't sound right.
 
user3010322
@Ell Pango requires Glib and a bunch of other things to work as well (like 2-3 other dependencies I don't want to bother with).
 
user3010322
Freetype is working, Harfbuzz is working.
 
Ell
10:38 PM
@ThePhD oops yes sorry I had a brainfart
 
user3010322
It's Fontconfig that's a bitch, but I've already got basic font-searching replacing it for the moment (no glyph fallback, though).
 
Has anyone else finished 1-480 problems in Project Euler?
 
Ell
so it's just FontConfig and Pango
 
@Chantola What do you mean?
All problems 1 - 480 or an amount of problems between 1 and 480?
 
@Loopunroller I'm wondering if anyone has successfully completed all the problems on Project Euler (or close)
 
10:39 PM
@Chantola Did you?
 
@Loopunroller I finished Problem 2.
 
@Chantola Shit. I'll never have a conversation with a Project Euler Guru :(
Whoops, Rookie wasn't the word
 
@R.MartinhoFernandes error: unknown type name 'char32_t (types.h++, line 19) =/
 
I'm just terrible at doing the problems.
 
@Chantola Well... that sucks?
 
10:41 PM
That's why I want to ask someone with experience some questions
 
@Chantola I have done 120 so far.
 
Problem 2 took me 5 hours...
 
@Borgleader nope
 
@Borgleader Because MSVC defines it as a typedef in some internal header.
 
@Chantola WTF
 
10:41 PM
I think those are pretty weird
 
and I hand-coded the algorithim
It's really weird.
 
you do know the only anime merchandise I have
is a nyaruko figurine
right? :D
and I watch at most 2 or 3 animes per year
 
@Chantola What does that mean, "hand-coded"? Like you wrote the code yourselF?
 
you might be able to enable the proper behaviour with a flag or something
 
I mean I wrote the complex algorithim from scratch/
 
10:42 PM
@Puppy I thought you didn't need an include for that type, or is that specific to the standard library clang ships with?
 
I made it a hell-of-alot harder than it should be..
 
@StackedCrooked didn't get the chance yet
 
@Chantola And i thought i was slow.... oO
 
but I want to know how I can learn the content simply.
 
@Borgleader Clang doesn't ship with any standard library. You need an include for it on MSVC because they don't implement the feature properly.
 
10:43 PM
@Chantola Just learn elementary number theory.
 
@Loopunroller I'm in middle-school, don't get your hopes up.
googling that now.
 
well that explains a lot.
 
@Puppy I don't see why that matters. Wouldn't the compiler recognise it as a keyword?
 
@Rapptz Clang is flexible about that.
if clang-cl recognized char32_t as a keyword, it would break the MSVC STL header, and therefore compatibility.
 
10:45 PM
hehe, suckage.
 
i.e., whether or not a given identifier is a keyword depends on what compiler it's emulating.
there are various internals for which they have to do the same to maintain compatibility with GCC.
 
public dota 2 matches started becoming interesting, with players who are able to do... what they're supposed to
only took 70 hours of playtime to get here
 
@Loopunroller this is my code for problem 2
 
sigh
 
10:46 PM
@Puppy do you know if theres a list of flags specific to clang-cl somewhere? the only one i know of is /fallback and that just made things worse (in terms of error count anyway)
 
@Chantola Kid, i'm going to sleep. Good luck with your stuff.
 
@Borgleader No, I don't. If you want to know about clang-cl, you'll probably have to ask #llvm or cfe-dev.
 
@Loopunroller how dare you!
 
plz use the damn arrows to reply to messages
 
@Borgleader like this?
 
10:48 PM
yes
 
Ell
Char32_t isn't. akey word is it?
 
char32_t is.
 
Epic.
> If the wasp succeeds in stinging the tarantula, the tarantula will become paralyzed, and that's where the real horror begins. The wasp will drag the tarantula back to its own burrow and lay an egg in its abdomen. Once the egg hatches, the larva inside will have huge heap of spider meat to feast one.
 
Ell
Wait. Is int a keyword?
And char, and int8_t etc.
 
yes int is a keyword
 
Ell
10:52 PM
How have I not known this :L
@sehe I didn't expect this outcome!
 
@Ell Never under-estimate a wasp!
 
Great timing
@Ell They're called spider wasps for a reason, I guess
 
Ell
Nature is impressive
 
And tasty.
 
Ell
I only realised at alcohol: Spiders On Drugs: youtu.be/sHzdsFiBbFc
 
user3010322
11:01 PM
Question.
 
user3010322
If have a class q
 
user3010322
When you just write q, it defaults to a signed representation.
 
user3010322
Is tehre any way to make the unsigned keyword apply to my q class?
 
user3010322
So I can do something like unsigned q<16, 16> ?
 
@Ell ...
 
11:03 PM
That's quite an interesting question. @ThePhD
 
@ThePhD no
 
user3010322
:(
 
user3010322
Maybe I can just do it q<signed, 16, 16>
 
context sensitive keywords
 
user3010322
But that's pretty verbose at that point
 
11:04 PM
@ThePhD you can, but then signed just means signed int (so it's the same type as q<int, 16,16>)
 
user3010322
maybe q<integer_bits, decimal_bits, signedness = signed> ?
 
user3010322
So maybe I can just use the is_unsigned or whatever type_trait on the last T!
 
user3010322
And then I can have q<16, 16, unsigned>
 
What about q<N,M> and uq<N,M>? Too old fashioned for your taste?
 
user3010322
Which isn't the best syntax, but it's okay. :D
 
user3010322
11:05 PM
@sehe Oh, that's also a thing I could do.
 
user3010322
The base implementation can be base_q<N, M, signed>
 
user3010322
And then I can just typedef q and uq
 
user3010322
Sounds Like A Plan.jpeg
 
Ell
@thephd I just use a sign parameter as you suggested
 
Ell
11:13 PM
@bartek hi
How are you?
 
vote on nomic you lazy bastard
I'm waiting to take my turn
 
user3010322
@sehe I ended up making it like this: gist.github.com/ThePhD/fdde7f1838efddcbf77d
 
@Ell trying to study
 
@ThePhD from very casual glance, looks reasonable
 
@Puppy This is funny. You yelling at bartek and bartek ignoring you.
 
11:19 PM
maybe I should just quit nomic
I don't think I get it.
 
Bartek
would you like to be a nice soul
 
@Chantola ?
 
when practicing the Project Euler, I always tend to make unnecessarily long code and complex formulas.
Where do I go to learn how to not do this, and learn proper coding?
Besides, experience.
 
@Chantola Do you want my opinion?
 
No cheating.
 
11:20 PM
Or my opinion?
 
confused
 
@BartekBanachewicz You can rejoin later when you're less busy.
 
@Chantola Do you want what I really think or what I'd say if I had to be responsible for the advice?
 
@BartekBanachewicz I guess I want your opinion?
 
@R.MartinhoFernandes I think it would be a best idea for everyone
I'm just slowing you down now.
 
11:21 PM
@BartekBanachewicz your real opinion
 
@Chantola Bartek has no soul - his uni destroyed it.
 
@Chantola I personally think that a language influences the way you think about the problems solved a lot
to become a fluent speaker in say english, you have to think in it
I think it's similar in programming
now, bear with me, C++ isn't the best tool to solve the kind of problems PE has, IMHO
 
@BartekBanachewicz I don't want it to be.
@BartekBanachewicz I want
 
Mathematica is pretty good for PE, although, its almost cheating for some of the problems
 
@Borgleader I use Wolfram because I don't have Mathematica license
yeah, I cheat :)
 
11:24 PM
@BartekBanachewicz to use C++ because simply I don't have time to learn another language, and I'm really into C++ and to practice it will make me learn even more
 
@Chantola I consider myself a PL polyglot and I think it's very beneficial
I strongly believe in "best tools for the job" philosophy
 
@BartekBanachewicz what do you mean by that?
 
@Chantola considering that C++ solutions might be two orders of magnitude bigger than in other languages...
 
@BartekBanachewicz adds to the challenge. And I'm practicing which helps in my course's. Two birds with one stone.
 
@Chantola "adds to the challenge" implies doing things in a overly complicated way, pretty much
 
11:27 PM
@BartekBanachewicz Your suggesting I don't use C++ for PE?
 
C++ is great for getting an understand for what's going on under the hood, and where you need great control over what you're doing. It's also useful when you want things like template metaprogramming, or you just have a lot of developers who know C++ well. Otherwise, I'd rather write some things in C# than C++, depending on what it is. As you said, best tools for the job.
 
@Chantola IF you want shorter and more expressive code, then certainly.
your code would take at most a few lines in haskell
took 51 of C++
 
@BartekBanachewicz true, but my sister did it in what, 15 lines of code? 3 or 4 codes of the actual task..
 
That's not what "code" means :<
 
11:30 PM
my bad.
lines of code.
 
@Chantola Haskell also influences the way you think about problem solving
that's one of the point of learning it.
Functional programming tends to be more expressive (IOW shorter) in general
 
I just don't have the time to learn two languages right now.
 
@Chantola thank you for rescuing my readily dying brain cells. Learn more here: davidrasch.com/2007/11/13/code-is-a-mass-noun
 
@Chantola Learning C++ will take you a few years anyway, so...
 
Depends on the saturation
 
11:36 PM
@Sofffia Holy shit
So turning up at my old undergrad hall bar on the first night of Freshers' Week was a beautiful idea
hyeehee
 
@LightnessRacesinOrbit what a choice of words
 
how so
oh fuck me Tinder lost all my matches and messages
why did I even bother
 
> beautiful
:)
 
Ell
@lightness Gloucestershire uni?
 
7 hours ago, by Lightness Races in Orbit
Freshers arrive today. My walk t'pub takes me quite close to one of the Uni campuses (the smaller one, alas). Think I may take a detour...
I assumed you would want to get away from them :)
 
11:41 PM
@sehe He's lonely and wants to meet new people.
 
Well. Shiver me Tinder
 
@BartekBanachewicz If your primary concern is with program size, you should probably study APL (or golfscript).
 
It's not that efficient in UTF32
Mmm. Perhaps even worse in UTF16
 
@Ell Nottingham
@sehe Haha no I meant a detour onto Campus ;)
 
Tommorow I'm having a C++ test on for-loops, while loops, do-while loops, switch statements, and nested loops.... probably the hardest stuff in all of C++, undoubtedly.
 
11:44 PM
In the end I was suave about it and lucked out when one of my pub friends (a third year who works there) really fancied "breaking into" one of the hall bars. Happened to be mine.
So off we went
@Chantola Shit. Good luck
@BartekBanachewicz he4ehee
 
@LightnessRacesinOrbit thanks, I'm going to need it..
 
@BartekBanachewicz What code was this? Was it 51 lines of C++ out of true necessity, or did he really just write a lot longer code than necessary? (I've done a few PE problems, and my recollection is of most of them I've done taking more like 5 lines of code than 50).
 
@Chantola lol, this is the easiest stuff
 
@BartekBanachewicz Just kidding :p
 
@JerryCoffin the latter. He linked it a bit above
@LightnessRacesinOrbit ha!
 
11:45 PM
@JerryCoffin I'm just an idiot.
 
Now we know that trolls are a sad bunch: psychologytoday.com/blog/your-online-secrets/201409/…
 
@JerryCoffin And I'm unfortunally good at making the code way longer and writing unneccessary code more than anyone else..
 
Ell
Food wishes is my favourite YouTube channel
 
@Ell You should compare with @LightnessRacesinOrbit
 
Ell
The recipes are so good and quick and the guy is funny but subtle
I could watch for hours
 
11:47 PM
@Chantola Not even close!
 
@Ell You'd starve
 
@JerryCoffin I thought that said porn.xml
 
@OMGtechy it could have as a result of improper keming
(theres a joke in there)
 
aha
the difference a pixel can make
 
@BartekBanachewicz So you somehow think somebody who's writing excessively verbose C++ is suddenly going to write Haskell (or whatever) that's magically not excessively verbose?
 
11:51 PM
@JerryCoffin TBF I am not very familiar with someone having "too verbose code" problem, but yes, I think that i.e. point-free style forces you to remove verbosity
 
oooooh
 
I just checked the freezer and I have very little of anything in to eat, except pizza. So, that's sorted then.
 
quits PE
 
@Chantola why now?
 
TBF I am not very familiar with someone having "too verbose code" problem, but yes, I think that i.e. point-free style forces you to remove verbosity
 
11:53 PM
@LightnessRacesInOrbit Here, "literal" does not represent a word in English, just take it to mean string. — PHMitrious 6 hours ago
 
e.g. I'll never be good at PE with C++ if I don't do Haskell.
 
also
Making an empty list is really easy: void* list = nullptr. It's when you want to be able to add stuff to it that it gets complicated. — Lightness Races in Orbit 6 secs ago
 
good bye all.
Have a good night/day
 
@Chantola Nonsense! Bartek is famous (notorious?) for jumping on band-wagons and basically preaching that anybody who doesn't join his religion of the week can never accomplish anything. I don't normally attack him for it (we all go through this at some point) but don't take it seriously either.
 
Ell
11:56 PM
> Another approach would be to encrypt all passwords in your database using some industry-standard cipher, such as the Message-Digest Algorithm 5 (MD5).
 
@JerryCoffin He still make some pretty valid points.
@JerryCoffin And to be fair, I did ask him for his opinion directly.
 
36 mins ago, by R. Martinho Fernandes
No cheating.
This is the one valid point.
36 mins ago, by Chantola
Besides, experience.
 
@Chantola Good luck
 
You can't cheat.
Don't sweat it.
 
@LightnessRacesinOrbit Thanks, good luck to you to.
 
11:57 PM
@Chantola I never said that
 
@LightnessRacesinOrbit join the dark side, we have cookies.
 
thx
@Chantola Dude I invented the dark side. And cookies.
 
@Chantola Asking for his opinion is fine. Giving up because he's basically acting childish is a lot less fine (at best).
 
@LightnessRacesinOrbit why is your name Light -- ness then
@JerryCoffin I'm not giving up. I think if I practice alot of the projects in the textbook, I'll get better.
 
@Chantola It's a tarp
 
11:59 PM
I like how some people bluffing about inventing the dark side of cookies ...
 
@JerryCoffin Then maybe in a couple weeks I can re-join and see if I can do it.
 
Suddenly, a wild alot appears
 
@R.MartinhoFernandes technically you can, imagine just googling every answer there is.
 

« first day (1436 days earlier)      last day (3511 days later) »