« first day (1790 days earlier)      last day (3151 days later) » 

12:00 AM
or energy stored in fat
 
It's easy to build something like that as a workstation. But in a laptop? eh...
 
We are preparing to upgrade our Secondary Services Edge routers. You may see some service disruption starting in ~5 minutes
 
It's limited by chemistry and physics if you limit your horizon to particular chemical & physical reactions.
 
The 8-core that I have right now with the water cooling and everything needed a slightly larger mid-tower case to hold it.
 
yeah, given a chasis, and whatever, I can build a good machine
 
12:01 AM
@ThePhD why is it that you cant use OGL4.x again?
 
variable templates seem useful as a shorter syntax to make expression templates.
 
@Borgleader I am using OpenGL 4.x
 
playing bioshock at full res on the train, killed the battery in 21 minutes
 
But the MapNamedBuffer is broken in this OpenGL driver.
 
user406009
Don't most trains provide power outlets?
 
12:01 AM
So I need to use MapNamedBufferEXT.
 
Not that it matters
 
@Lalaland only in 1st class and fares in the UK are extreme anyway
 
@chmod711telkitty and if you don't the solution exists for years. Use a generator.
@Lalaland Yes, they don't
 
user1804599
> 72% of gamers bought "Metal Gear Solid V" on the PS4
 
user1804599
12:07 AM
lol
 
user406009
Ah, Europe.
 
user1804599
TIL 72% of gamers likely have a PS4
 
user406009
That probably was supposed to say: 72% of MGSV purchases were fro the PS4.
 
user406009
MGS V seems a little interesting.
 
user406009
Mix of stealth, open world, and RPG.
 
12:08 AM
@Borgleader It doesn't matter if I use glMapNamedBuffer or glMapNamedBufferEXT: it crashes with a 0x000000 Access Violation no matter what.
Somewhere inside renderdoc's calls.
 
headaches are the worst
 
@Borgleader But it worked:
> RENDERDOC: [19:57:18] gl_hooks_win32.cpp( 339) - Log - dc 18011012. PFD: type 0, 32 color bits, 24 depth bits, 8 stencil bits. Win: 800x600
RENDERDOC: [19:57:18] gl_hooks_win32.cpp( 339) - Log - dc 18011012. PFD: type 0, 32 color bits, 24 depth bits, 8 stencil bits. Win: 800x600
 
user406009
@Prismatic Motrin/Ibuprofen is great for them.
 
user406009
I always keep a bottle around.
 
user1804599
Paracetamol is nice.
 
user406009
12:10 AM
Wherever I go.
 
@Lalaland Yeah, motrin is the only thing that works for me. Just popped a couple
 
@sehe but there is no portable generator for sale that's under 300g
 
user1804599
Try morphine.
 
market opportunity?
 
@elyse paracetamol/tylenol never really worked for me
 
12:11 AM
Eh. Whatever. I'll debug my shit by hand.
 
user1804599
Or magic mushrooms.
 
@ThePhD I'm trying to figure out my why screen stay grey even in wireframe mode when drawing the obj model :(
 
user1804599
 
user1804599
Don't they look just delicious?
 
Yes.
They don't
 
user406009
12:13 AM
ITT: @elyse advocating hard drugs.
 
user1804599
@sehe eet paddos vlak voor je volgende livestream.
 
user406009
@elyse While those might be useful for recovering from Haskell, not all of us are in the scenario.
 
I get headaches pretty often but Im thankful I dont have migraines or cluster headaches. That shit sounds horrible
 
@elyse ja pa
 
user1804599
> Het ongeboren kind 'tript' mee als de moeder paddo's heeft genomen, omdat de stoffen niet door de placenta worden tegengehouden.
 
12:17 AM
That's a lot of messages per frame...
Still, it's all just notifications, so even if I see nothing on the screen I'm clearly doing something right.
Now I just need to render some triangles to see if that's working and get that spiffy.
 
user1804599
ok so that's preconditions and postconditions
 
user1804599
now invariants, and especially exposition
 
I need to come up with some impressive-sounding busywords so I can appear really well occupied in the lounge
 
user1804599
I suppose I could make it so that every object has a flag indicating whether it is being exposed, and each type can have zero or more invariants attached to it.
 
user1804599
@sehe I'm just rubber duck designing.
 
Oh wow.
It's not just a toy language.
 
user1804599
sub log(logger: Logger, level: Level, message: text.String): () { logger(Record{level: level, message: message}) }
let debug = &log(&1, Debug, &2)
let info = &log(&1, Info, &2)
let warning = &log(&1, Warning, &2)
let error = &log(&1, Error, &2)
let critical = &log(&1, Critical, &2)
 
user1804599
fucking awesome mate
 
logging is awesome
 
user1804599
But, I don't have let yet.
 
12:34 AM
God never said let there be let
because there is no god lol
 
user1804599
So now it's ugly but at least it compiles: github.com/vlinder-lang/log/blob/master/src/vlinder/…
 
user1804599
It'll be released with Christmas.
 
BTW @JonClements is it possible for the downvote correction script to miss some downvotes?
 
user1804599
They just don't know which one yet.
 
user1804599
12:38 AM
They first want to refactor the way lists work.
 
@Mysticial Too crowded for me. Bus is nearly just as fast and way more convenient (IMO) because I can get to sit and people are not pushing you.
 
user406009
It's a little bit funny how Perl has pretty much defined the standard for Regular Expressions for almost all languages.
 
The transport system of HK is very nicely done
 
user1804599
> This event is sponsored by craigslist.
 
user1804599
Larry Wall works there.
 
12:42 AM
I have just spent half an hour (while drinking coffee, browsing news and chatting here) to solve this maths problem:
What number should replace the question mark?
42 - - - 170
93 - - - 840
18 - - - 26
54 - - - 274
67 - - - ?
 
Totally proves people who get high marks on IQ tests (through practice) are just idiots who waste time on unproductive things
It's not a very hard maths problem, although, it's not the easiest one either.
 
@chmod711telkitty Um...
 
@ThePhD It isnt?
 
user406009
12:50 AM
@chmod711telkitty I would say questions like that have a high luck component.
 
@Borgleader It says "Production Prolog" right there.
 
@StackedCrooked My Prolog teacher used to tell us there was a significant difference between "Production Prolog" and "Day-to-day Prolog".
 
@ThePhD Yes because all youtube video titles all 100% accurate
 
(She programmed everything in Prolog)
 
user406009
@chmod711telkitty Just looked over the rest of the list. Most of those questions are highly trainable.
 
user406009
12:55 AM
I think the idea of inherent intelligence is really incorrect.
 
user406009
I believe most differences in quality are due to training.
 
user406009
Anecdotally, I can see how much I have improved over time, and can attribute large amount of my current ability to training.
 
...
L O L
So I don't even have to take this one course.
So... I can throw it out.
Since when was I so ahead on my curriculum...
 
user406009
@ThePhD There are so many courses I would love to drop.
 
user406009
But "graduation requirements"
 
12:58 AM
I'm free for anotehr course @jaggedSpire! I might take Computer Vision right now.
 
@ThePhD :3
 
Personally I think it's the IQ tests that are flawed
 
dooo iiiit
 
Pffff.
I can't! Just yet...
Have to be 10000000% sure.
 
@ThePhD A good amount
 
12:59 AM
Gonna go talk to an advisor tomorrow.
 
also high IQ means nothing, persistence is the key to success - persistence is one of the most important factors, only second to luck.
 
user406009
@ThePhD For interests sake, what class are you escaping?
 
@Lalaland GRAP E1115 - Engineering Graphics
It was all about Maya and 3ds max and modeling
and while I'm interested in doing that stuff, it sounds like a lot of work.
I'd rather do something much more program-y and technical.
Gonna consult an advisor.
@Lalaland It turns out that the Electrical Engineering course I took years ago - ELEN 1201, covers that. So... I don't need to take another "Professional Course", and now I can just do MEAT AND POTATOOOES
 
user406009
Congratulations!
 
> Cancelled
> Cancelled
FUUUUUUUUUUUUCK
 
user1804599
1:07 AM
sleep bye
 
user406009
@ThePhD Take an AI course then.
 
Wait.
 
user406009
@elyse Good night.
 
If I say fuck with multiple u's, it won't count towards the fuck count @Mysticial put together.
I guess I'll just have to go with bolds.
fuck
There, that's proper.
 
3 hours ago, by sehe
@Borgleader indeed! Because we can spell!
Don't fall asleep now
that would be a waste of time
 
user406009
1:11 AM
@ThePhD Are you actually planning on applying to grad school for a PhD?
 
user406009
Still considering my options here.
 
Yes.
I'm going all the way.
 
user406009
The main thing scaring me is the stories of the "endless postdoc"
 
lol, I ask a 3rd party for the header of their lib, they send me a .h full of BOOL. I ask for a linux compatible version, "that's already linux compatible!".
 
user406009
And competition is only going to increase once the current crop of CS students graduate.
 
1:13 AM
@Lalaland Yeah apparently that's increasingly common
 
@AnastasiyaAsadullayeva ive seen BOOL a few times, in C code
it was a macro
 
Well here the macro is not defined so it doesn't compile cleanly. using BOOL = bool; does it.
 
> WaitList:83
 
I think they may not have tested it on linux
 
Holy fucking shit.
@jaggedSpire Why is Computer Vision so popular?
 
user406009
1:16 AM
Probably because all AI related subjects are considered "hip" now.
 
user406009
"big data"
 
user406009
etc etc
 
new favorite Java runtime error stackoverflow.com/questions/2333285/…
 
Guess I'll just sign up for Programming Languages & Translators
Jump on the compiler boat with @elyse !
 
jesus not you too
 
user406009
1:20 AM
Compilers are interesting.
 
user406009
I'm writing mine in Haskell.
 
We already get an endless stream of new languages by elyse on a monthly basis
 
@AnastasiyaAsadullayeva All the vision courses are fucking choked full.
 
user406009
Always fun until you run into endless stack overflow exceptions due to laziness.
 
What are you compiling, /dev/random?
 
1:21 AM
@AnastasiyaAsadullayeva If I do take the course, I'm going to petition the professor to write a HLSL/HLSL Bytecode -> SPIR-V compiler, and a GLSL -> SPIR-V compiler.
 
btw I got something working
for autodoc
 
At the very least, a lexer and parser for GLSL and HLSL will allow me to do things like correct GLSL's shitty binding behavior.
 
Actual autodoc for C++ or your thing.
 
the Sphinx autodoc extension thing
 
noice
 
1:22 AM
there are a lot of issues and it's harder than I thought
 
@Rapptz lucdoc*
Name not negotiable
@Rapptz Should have split that message in 2
 
@AnastasiyaAsadullayeva See, that’s what I asked about.
1 min ago, by Rapptz
the Sphinx autodoc extension thing
not the same thing
 
lucdoc depends on lucmodules and lucpm
sorry m8
maybe in C++43
 
Aren't those production-ready, battle-tested world-class opinionated products yet?
 
@AnastasiyaAsadullayeva they might have (and forgotten about their config.h)
 
1:26 AM
include paths are ruining my extension
how do I fix this
clang cannot find files if its life depended on it
 
> error: cast from ‘void*’ to ‘int32_t {aka int}’ loses precision
 
Put every file ever in /.
 
what is this library doing
do I really want this to compile
 
user406009
@AnastasiyaAsadullayeva Lol. intptr_t for life.
 
@sehe Hm, possibly. I'll report it regardless (and they won't fix it, but hey, at least it will have been reported).
 
1:28 AM
@ThePhD It's delicious is why.
 
:(
 
Also, people are probably being seduced by the idea of artificial intelligence
 
All aboard the neural network hype train
 
@AnastasiyaAsadullayeva Last stop: skynet
 
UNSUPERVISED LEARNING, CHOO CHOO
 
1:30 AM
@jaggedSpire because of fascists I can’t find the Futurama robosexuality pseudo-PSA on youtube and link it here
 
Overlord's episodes are way too short.
 
Hahaha there's a function that takes a func ptr in its arguments (with the expected signature in the comments), and the argument is void*.
why
 
@LucDanton curses! foiled again.
 
user406009
@AnastasiyaAsadullayeva Well, at least function pointer is convertible to void* on most platforms.
 
Not in C++ without -fpermissive
 
user406009
1:35 AM
Well, I mean you can convert it and it works.
 
@Lalaland I take it the situation is that the parameter is void(*)(void*) instead of void(*)(sensible).
 
user406009
Not that you can convert without cast.
 
I can but that is silly
Why throw typesafety overboard?
(I as a user have no choice but to cast)
 
user406009
My guess? Someone didn't understand how to use function pointers in C.
 
user406009
And then they didn't want to break compatibility.
 
1:36 AM
Yes they don't know how programering verks
Later I'll run this through valgrind/asan for giggles
 
user406009
You seems to have a lot of cases of people following that "don't change code at any cost" rule.
 
user406009
This the finance industry?
 
time to switch back to 32-bit clang
 
@Lalaland I'm afraid it is
 
user406009
Well, at least lives aren't at stake.
 
user406009
1:38 AM
(Unless you count heart attacks, when shit goes down)
 
user406009
Hmm, time to play the "prepare for interview whiteboarding" game again.
 
What you applying for?
 
user406009
Guess I should get out my book, and start practicing.
 
user406009
@AnastasiyaAsadullayeva Internship.
 
Nice, in what field?
 
user406009
1:42 AM
No specific field, applying to Microsoft.
 
Ooh, good luck.
They interview with whiteboards.
Be expected to answer basic algorithmic questions.
 
@Lalaland Classy
 
Also be ready to display a level of competency in C or C++, especially if you're applying to the Games branch of things.
Otherwise, you'll usually be working in a C# or Python shop.
 
user406009
Nah, I don't really care about games.
 
(And F# and all those other things that get used in Microsoft.)
Make sure you can explain yourself and don't stutter. Dress well etc. etc.
 
user406009
1:46 AM
Yeah, not my first time through this rodeo.
 
user406009
@ThePhD Did you intern there before?
 
user406009
1:57 AM
Oh well, time to go to bed. Good night yall. Have fun with your new class @ThePhD!
 
Night!
 
Bam Change window called perfectly. Also all work is done :)
 
Except fixing chat, that is
 
@Lalaland 3 times.
@Lalaland Nighty night.
 
@ʎǝɹɟɟɟǝſ What are you talking about? Chat works perfectly. :)
 
2:11 AM
Yeah. About that, @TonyTheLion what happened after I left. Anything changed?
 
sup.
 
@ElimGarak suuup
 
wasssup
 
@ElimGarak Hihiii
 
2:26 AM
this is the hackiest shit I've written in a while
lol
 
Hmm I'm wondering about something now.
The "storage location" (what's the good name for it) - whether a variable is part of myStudentClass or myEmployeeClass is not part of the variable type right?
Is there any reason why this is not done?
 
You mean the lifetime (on stack, on heap, in static storage...)? Or something else?
 
I feel like playing Freelancer.
 
Nah I mean like how "const" identifier is considering part of the variable type.
 
Yes but what is the "storage location" you are talking about: lifetime or other?
Oh, I think I got it
You are saying that: struct A { int a; }; struct B { int b; }; typeof(A::a) != typeof(B::b), right?
 
2:34 AM
I mean employer.id would have "storage location" employer: and student.id the storage would be "student"
yup
I'm mainly interested what it would mean if something like that became part of the type. (Hoping to get a better understanding why in C++ const is part of the type yet in java it isn't - and why it is done)
 
Well I guess in theory you could devise such a system, it would have some advantages but also inconvenients
The advantage being that you can't, say, assign the ID of a Person to the ID of a Car (or whatever)
But then you also can't assign, the Position of a Car to the Position of a Bike
Or you'd need a lot of conversions
A common solution is to provide strong types when you want to prevent accidental assignments to select types
I'm not sure that having every type carry the information of its hierarchy would provide useful, but that could be investigated, I suppose
 
Well I'm also wondering if it would simplify static members/methods.
 
@Rapptz Let the hacks flow throoough you.
 
@paul23 You're going to have to be more specific than that
 
lol
fuck man
libclang what are you doing
:(
why are you giving me the AST for <type_traits>
pls
this journey gets harder every minute
 
2:49 AM
Well it could make static functions overloadable by non static functions.
For one thing - it would also become clearer when you are using a static variable.
But ye the more I think about it, the more it seems like it adds just extra writing for no direct gain. - That makes me wonder though, is having "const" as type really beneficial? Over what java does with final keyword?
 
5
A: How can I skip includes using libclang?

raph.amiardAnswering this question because I couldn't believe that hard-coding paths comparisons was the only solution, and indeed, there is a clang_Location_isFromMainFile function that does exactly what you want, so that you can filter unwanted results in the visitor, like this : if (clang_Location_isFro...

 
@paul23 There’s more than one const. E.g. in int const i; and int const& i; they have different meanings and effects. The second one is very useful and important as part of the type.
The first one, yeah you can make it a property of the variable rather than its type.
 
life's so hard
 
I haven’t thought much about data members though. It’s another story altogether (also see: mutable).
 
RIP
 
3:00 AM
@LucDanton Well if it was a property "made at declaration" the moment you refer to a place in memory that is tagged as constant the reference should also be constant...? int const i; int& j = *i; j is "constant" as constant is a property of the variable/memory "i".
 
Sure.
That’s how D goes about it IIRC.
 
how do you test code that's full of log calls D:
 
@Rapptz No way to exclude those kinds of things?
 
someone posted a question on it
but now I have to find a way to write that from python :v
 
Goooood luck!
 
3:04 AM
python is fun
 
luck is definitely needed here
also I noticed that libclang doesn't work on python 3
wondering if I should write it in C++ land and somehow expose that to Python land.
but it's tricky
2to3 doesn't work with libclang either
 
I really like how in python you can really be expressive - yet you have to write very little boilerplate code.
Why not just go all python rapptz?
 
because libclang in python is good at X but mediocre at other things
I'm kinda curious though
if it doesn't work in python 3 how come I see clang-based extensions in ST3
oh wait
I think they use the C API and then wrap it back to Python
that is a lot of effort
 
> typedef unsigned int clang_complete_string;
makes sense
 
lol
what would jesus do
 
3:12 AM
The least that can be said about this API is that it’s not stringly-typed.
 
the other clang-complete plugin for ST3 invokes clang directly lmao
 
''.join(map(chr,output))
 
lmao
oh man that hack
that's so good
 
not sure if/how you can exploit this
exotic -finput-charset or whatevs seems too underhanded—Windows CP maybe?
ValueError: chr() arg not in range(256)
ez
breaks on Unicode
 
What's the difference between Windows CP and regular CP?
 
3:19 AM
I wouldn’t know.
 
3:30 AM
can u liek editt ur question & fix ur typos kthx? — strager Aug 28 '10 at 4:08
 
@Rapptz WAIT I missed the best part
 
TIL b'hello' will be ignored in python 2
praise guido
what's the best part
 
try:
	output = subprocess.check_output(clang_cmd, shell=True)
	output_text = ''.join(map(chr,output))
except subprocess.CalledProcessError as e:
	output_text = e.output.decode("utf-8")
only decode sensibly in case of an error
 
lmao
I thought it was a convoluted way to get stderr.
he should just use subprocess.Popen
 
iow there have been three ways to go bytes -> str/unicode
how pythonic
 
3:59 AM
@paul23 here is the traditional demonstration of the value of const-correctness—it works because const is in the type-system proper
 
4:17 AM
@AlexM. The only thing that bugs me so far about W3 is that all the quests are rabbit holes "do thing a, but to do this do thing b, c. oh but wait for thing be you need to do thing d,e,f, ..."
its odd though, chain quests dont bug me, but "recursive quests" do
 
4:37 AM
0
Q: Is "bigotry of any kind" really not tolerated? Who defines which are those "kinds"?

rsennaDisclaimer: English is not my first language. I work part time as a teacher, trying to teach Python to a class of physically challenged people. I am far from being an experienced teacher. So a few hours ago I made the following search through Google: Python blind programmer indentation The ...

^^ lol, if this guy is that easily offended, he might want to rethink this internet thing.
 
5:05 AM
@Borgleader Are those procedurally generated?
 
@Xeo, @StackedCrooked Are you guys watching Rokka no Yuusha?
 
Fucking cliffhangers.
 
was there a new episode today?
 
I dunno. I just watched ep10.
And now I'm mad.
 
5:12 AM
oh, wait, it's a weekend show.
@Mysticial u mad bro
:P
 
ya think?!?!
 
It's a decent show though.
 
Syntax error: unmatched thing in thing from std::nonstd::_ _
map<_Cyrillic, _$$$dollars>const basic_string< epic_
mystery,mongoose_traits &lt; char>, _ _default_alloc_<casual_
Fridays = maybe>>
 
But I think Overlord is the king of cliffhangers this season.
 
@StackedCrooked IMO, it's the best this season of the ones I'm watching.
First anime of mafia I've ever seen.
 
5:15 AM
mafia?
 
Mafia (Russian: Ма́фия, also known as Werewolf) is a party game created in the USSR by Dmitry Davidoff in 1986, modelling a conflict between an informed minority (the mafia) and an uninformed majority (the innocents). At the start of the game each player is secretly assigned a role affiliated with one of these teams. The game has two alternating phases: "night", during which the mafia may covertly "murder" an innocent, and "day", in which surviving players debate the identities of the mafiosi and vote to eliminate a suspect. Play continues until all of the mafia have been eliminated, or until the...
 
Not quite the same. But the same sort of idea.
 
I have no clue who the "seventh" is. The only one with a motive to be an impostor seems to be the guy who wants to protects the princess.
But that's not a very compelling theory.
 
-1
Q: Can print(1,2); prints 2 in perl

LakshmiAssociatesI am using the following print function in perl print(1,2);. It's giving me an output 12 but, I would like to get an output 2 without changing the statement.

 
5:22 AM
@AnastasiyaAsadullayeva so picky out output this guy
 
@StackedCrooked I still have no idea who it is. And my opinion changes after every episode just the way the authors probably intended. lol
 
> During handling of the above exception, another exception occurred:
every time
 
@Mysticial I wonder if we can assume that Adlet is in the clear since he's the protagonist.
 
Yeah
 
Because sometimes I started doubting him as well :)
 
it's ancient
 
size_type std::map::erase( const key_type& key );
Why size_type and not bool? Can the number of elements removed be something other than 0 or 1?
 
probalby for compatibility with multimap
 
lol
 
5:51 AM
I think a lot of the C++ community and even the SC has a phobia of bool-as-integral. Hence why ++ is deprecated on bool I suppose.
 
But then it would be "returns true if an element was removed, false otherwise", so there's no notion of integral there, only success or failure
 
What's the "correct" behavior for ++ on a bool anyway?
If it's just an integer, then it's "force true" unless it overflows to zero.
 
@AnastasiyaAsadullayeva The associative container concept has to make sense.
 
It still does
 
If the concept says 'returns the number of erased elements' (which it does) then there is absolutely an integral notion
a Javaesque covariant return type if you will
 
5:58 AM
Does a class that inherits a class template also need to be defined entirely in a header?
 
No.
 

« first day (1790 days earlier)      last day (3151 days later) »