« first day (2239 days earlier)      last day (2709 days later) » 

11:00 AM
Oh, well then.
 
11:12 AM
Science: Pluto officially NOT a planet. Science, a few years later: Pluto acting super sad for some reason idk ¯\_(… https://twitter.com/i/web/status/804186462715424768
 
user1804599
It's December and it's 22 C.
 
Here it's been freezing every night for a week.
 
user1804599
Turn on the radiator.
 
user1804599
git radiated
 
> From what I’ve heard, Google receives around three million applications each year. Of those three million, around .5 percent end up accepting an offer for what is, for many, their dream job. goldsborough.me/google/internship/2016/11/18/…
eeeh dream job
 
user1804599
11:27 AM
> dream job
> not full time Haskell/PureScript
 
> because Haskell is for idealists that cannot finish projects
 
being too focused on a company leads to fanaticism
always bad
sure I'd love to end up working on, say, google's self-driving car
but I'd be just as willing to work on any other company's self driving car :P
 
Ell
google is not my dream job
 
@Columbo mandatory reminder that I did this once:
Jul 23 '15 at 8:31, by Griwes
user image
20
 
@AlexM. Sure, go work at Tesla.
 
11:29 AM
> Girl
 
@Griwes This is genuinely well done!
 
@MarkGarcia I'm not going anywhere atm except for college
 
it's perfect
 
I haven't even finished my coffee yet
 
@AlexM. Have an internship at Amazon.
 
11:30 AM
@AlexM. that's level above not finishing a project, lol
 
I don't want an internship at amazon
I don't want an internship of any kind
 
user4710450
hello Guys
 
So, you're using openCL, Boost Odeint, an extension library to it (vexl), want to combine it with Qt5.5 and doing all that on mingw? I think you're going to have to eliminate sources of incompatibilities first here, because no one is going to replicate this setup when it's not likely required at all. — sehe 26 secs ago
Holy. Not sure if ambitious or insane
 
user4710450
@AlexM. Working in Google is pretty hard
 
11:43 AM
@BartekBanachewicz Don't trust the Beee?
 
is ehsan khaled
 
@sehe ♪ I'm not perfect, I'm no snitch, but I can tell you, she's a b... ♪
 
user4710450
but if you try hard in your studies and do your best to be admitted to an elite univeristy, then you have some odds.
 
Ven
@rightfold >oxymoron
 
is that guy still alive actually
 
Ven
11:44 AM
@Ell why is working for an ad company not your dream job??
 
user4710450
@AlexM. Nope I'm Ehsan Akbari
 
Ven
@AlexM. he stopped coming after he got kicked from discord IIRC
 
@BartekBanachewicz Doesn't rhyme with "appartment 23"
:(
 
it's still pretty great though
don't show that to your kids
 
nwp
@sehe how does "b" not rhyme with "23"?
 
11:45 AM
@nwp lol
 
Ven
>.>
 
@Ven good
all he did was complain about his sad life
 
Ven
vOv
 
user4710450
@AlexM. Who?
 
user1804599
:(
 
11:48 AM
@nwp B--- rhymes with "Get off my lawn" splash
 
user1804599
Gah, I have a problem.
 
Ven
many.
 
Fuck's sake, for some reason Netflix & others have the episodes in wrong order
 
Ven
?
 
user1804599
CREATE TABLE files (
    root_id uuid NOT NULL,
    FORIEGN KEY (root_id) REFERENCES vertices(id)
);
CREATE TABLE vertices (
    file_id uuid NOT NULL,
    FOREIGN KEY (file_id) REFERENCES files(id)
);
 
11:49 AM
'(Fuck)
 
what the hell is wrong with them
 
Ven
their episodes
easy q
 
> It is unknown why ABC didn't air the episodes in their actual order. The remaining six episodes of season one aired as part of season two bringing the total to 19 episodes for the second season. ABC elected to air these episodes out of order, interspersing first and second season episodes without regard to continuity. As a result, some multi-episode plot arcs are almost incomprehensibly jumbled in the original broadcast order.
 
@rightfold For iegn?
 
user1804599
I need ALTER TABLE for this.
 
user1804599
11:49 AM
But IME cyclic references in DBs are a pain.
 
The show is already jumbled up enough without them shuffling the order of the episodes
 
Ven
sure can be
 
user1804599
For example, restoring a database backup is a pain when there are cyclic references.
 
Ven
you just disable FKs for the restore...
 
user1804599
I could do is_root column in vertices, with UNIQUE (file_id, (nullif(is_root, false))) instead.
 
Ven
11:51 AM
:|
 
user1804599
I suppose that works.
 
user1804599
But then if you delete the root vertex then there is no longer any vertex that is the root vertex.
 
Ven
well a FK can be null anyway when you import stuff
also fk != unique galore
won't someone think of the ON DELETE CASCADE?
 
user1804599
(root_id) has ON DELETE RESTRICT.
 
Ven
you didn't tell us :(
 
user1804599
11:53 AM
I should have.
 
user1804599
I need EXISTS UNIQUE.
 
Ven
you need CONSTRAINT then
 
I forgot the rules for the new C++ if statement...
Buh. Where is that paper.
 
Ven
if (a; b) {}?
 
if(initialization; condition)
 
user1804599
11:58 AM
@Ven apparently you can do cyclic inserts using CTEs
 
Ven
oh nice
 
@MarkGarcia I know that, I just wanted to know if initialization was available in else {}.
IIRC it is, 'cause the rules just mean...
{ initialization;
     if (cond) {

     }
     else {

     }
}
 
@ThePhD Huh, I haven't thought of that.
 
Ven
@ThePhD yes
@ThePhD correct
 
I wonder how you do scoping rules in LLVM IR.
... Does LLVM even have scoping rules at that level.
Maybe it does, like, implicitly, but not in the structure of the code itself.
 
Ven
12:01 PM
llvm has the idea of lexical scopes
 
fun main () : int {
	var x : int = 24;
	{
		var x : int = 56;
		lib.print(x);
	}
	lib.print(x);
}
 
user1804599
@Ven WITH (INSERT …) INSERT … something like that
 
This is gonna be fun to write a test for.
 
user1804599
Constraints will be checked after the statement, not in between.
 
And fail a million times.
 
Ven
12:02 PM
@rightfold realistically you can just use a transaction
that'll delay FK checks
@Ehsan stop asking questions here
You know of the other room, you were asking stuff less than an hour ago.
 
user1804599
@Ven no it won't, you have to ask for that specifically and make the constraint DEFERRABLE in the schema
 
user4710450
I saw others asking here so I thought it would a good idea, my apologies.
 
nwp
:34381694 pit|pot|respite
 
@Ehsan There's a relevant clause in the rules. Check it out.
 
Ven
@rightfold ugh, it's worse than in mysql :|.
 
user4710450
12:05 PM
@nwp it's catching spit.
 
user4710450
 
That works for scoping, I guess.
 
user1804599
@Ven in MySQL nobody even uses constraints
 
user4710450
@Ven Looks nice, thanks.
 
12:06 PM
tacks things like 1 and other suffixes to the name to indicate its in a deeper scope.
 
Ven
@rightfold FKs
 
user1804599
FKs are constraints
 
@ThePhD that's... horrible IR for that code
 
Ven
@rightfold everyone uses FKs in mysql
and mysql doesn't support constraint AFAIK
 
user1804599
MySQL users don't specify FKs due to the lack of competence. If they were competent, they wouldn't use MySQL.
 
12:07 PM
@Griwes ?
 
@ThePhD You don't need to use memory!
 
Oh, right.
 
Don't use alloca for integers, pls. :P
 
That's -O0 code.
 
That's -O-1 code.
(Maybe Clang does something similar at -O0, IDK, but this is just abhorrent really. :P)
 
12:10 PM
also ugh the guy servicing the preamp I wanted to buy is fucking around
 
Ven
@Griwes no way it does -.-
 
nwp
@Griwes I thought you were supposed to produce redundant inefficient llvm-IR and just let llvm fix it.
 
(I admit I'm doing something similar when generating C++ for Vapor, but with every feature I implement I want to just say "fuck this, I'll generate LLVM IR instead, even if I really, really dislike this shit".)
 
Ven
do it vOv
 
@nwp So your PoV is "let's generate suboptimal code so that a different part of the toolchain has to do more work"?
You're doing more work generating that code than you'd do generating the sensible code.
 
12:12 PM
@Ven Surprise: clang -S -emit-llvm scoping.c -o scoping.ll
 
I'm not saying you have to inline all the constants at -O0; but at the very least don't allocate memory when you don't need to allocate memory on just the premise of "someone else will clean this up".
@ThePhD Terrible.
 
Ven
@ThePhD please post the result as well, otherwise I can't confirm being wrong. :P
 
nwp
@Griwes yes, that is the point of having different parts for source language->IR, IR->optimized IR -> optimized IR -> target language
 
But we knew that already, C and C++ compilers are #badware.
1 min ago, by Griwes
You're doing more work generating that code than you'd do generating the sensible code.
Generating all those allocas, stores and loads is more work than just generating %1 = 23 or whatever was the exact syntax for that (probably needs a type).
 
user1804599
LLVM uses alloca for local mutable variables
 
user1804599
12:15 PM
Optimizing it to immutable is more work
 
user1804599
It has to check that it isn't written to and then replace all the loads
 
Ven
Nice! I stand corrected then. :)
 
It might remove the alloca if its made const?
 
user1804599
store–load elimination is an optimization.
 
user1804599
12:16 PM
@ThePhD maybe
 
3 mins ago, by Griwes
But we knew that already, C and C++ compilers are #badware.
 
Ven
@ThePhD no, clang doesn't care about const.
 
Frankly this kind of constant propagation should be triggered even at -O0.
 
Ven
There was a paper not too long ago that explained clang just didn't use const to check for immutability, because it was mostly irrelevant to the compiler.
 
@Ven You're right, the IR didn't change at all, lol
 
12:17 PM
...and not doing it should require -O-1 or something else that explicitly says "this is really really bad never do this".
-Oexplicitly-request-absurdly-suboptimal-code
 
Ven
@Griwes because compilers aren't slow enough already. :P
 
@Ven I don't care. I prefer it to take longer to run if it generates better code thanks to that.
 
Ven
You do. I don't. Not at -O0.
 
I mean. It's -O0
Going to even -O1 makes it a lot better.
 
user1804599
-O0 does no optimizations
 
12:19 PM
I think -O0 is really a special case for no optimization.
 
Also, for my optimization passes, do I slap them on my Semantic Program/AST or do I try to optimize the IR?
 
user1804599
@MarkGarcia mempty is not a special case
 
-O1 is default with the trivial, sensible ones.
 
user1804599
It's the identity element under optimization composition.
 
Ven
@rightfold the -O monoid? :P
 
12:20 PM
@rightfold not just no optimizations, but it actually deoptimizes the code even more so it's easier to read and debug
 
user1804599
@Ven Exactly
 
@Mgetz so you're saying it should be called -O-1
 
user1804599
@Mgetz it doesn't deliberately make the code worse
 
user1804599
It just does a direct translation
 
-Obad
 
12:21 PM
@rightfold I'd argue that using alloca for something that is never mutated counts as making code worse deliberately.
 
user1804599
It is not deliberate
 
@rightfold sort of, example from return values normal return zero on x86 is xor eax, eax but on O0 it may change that to a mov eax, 0
 
user1804599
A is-ever-mutated check would be deliberate
 
Ven
^
 
which has different side effects and isn't as fast
 
user1804599
12:22 PM
alloca is the LLVM instruction for "give me a pointer to mutable memory on the stack"
 
@rightfold It has to do liveness analysis to produce any kind of sensible warnings either way.
 
user1804599
Warnings are pre-codegen
 
Ven
clang doesn't warn when you never mutate a non-const variable.
 
@Griwes in a world where you always have a heap maybe
 
@doug65536 what does heap have to do with this
 
Ven
12:24 PM
@doug65536 what
why is everyone here on drugs
 
2 mins ago, by rightfold
alloca is the LLVM instruction for "give me a pointer to mutable memory on the stack"
 
@Ven liveness analysis isn't only about "is this ever mutated"
 
you may be surprised to hear that not every computer has gigs of memory and paging and 5000 dlls
 
Ven
@Griwes I'm talking about the case at hand
 
@doug65536 again, what does this even have to do with anything
@Ven My point is, since it (for sanity) has to do liveness analysis either way, it might as well use that information (since it's free, since it's already there) during codegen. :P
 
12:26 PM
@Griwes u mad?
 
plonk
 
Ven
^
@Griwes and just like I said, for the case at hand (not optimizing something that's not mutated), it's not an info that's already computed
@doug65536 Hey, you reported me... I guess you are mad. :P
yo @sehe
 
every day
we stray further from Madara's light
 
@Ven it's a piece of information that's obtained during liveness analysis.
 
@Ven mm?
 
Ven
12:27 PM
@Griwes howdoyouknowthat
oh apparently drugs is flaggable as well. :D
 
Don't sweat it.
 
@Ven becauseotherwiseclangisretardedbeyondrecongnitionbynotdoingreallivenessanalysisa‌​ndcallingsomethingthatisnotanimplementationofthatconceptanimplementationofthatcon‌​ceptalternativelyitsnotevenpretendinginwhichcaseitsequallybad
 
It seems I missed the action
 
don't worry
it was just...
 
Ven
@sehe I'm not scared, don't worry :D.
 
12:29 PM
a quickie
YEEEEEAAAAAAAAA
 
Ven
@Griwes pls
oh, you just gave me an idea for a codegolf challenge
 
lol
Blergh, someone asked about bigints in LLVM IR on the mailing lists and the canonical answer seems to be "just call some library that provides that".
#bad
 
Ven
:/
 
LLVM's not going to optimize those calls, you fuckers.
 
user1804599
Ugh, PostgreSQL is badware.
 
user1804599
12:31 PM
Its protocol uses only 16 bits for the number of parameters in a stored procedure call.
 
With intrinsics it'd understand what's going on and potentially optimize things.
 
Ven
....
 
user1804599
So you can't have more than 65536 parameters.
 
With opaque calls to a 3rd party library, it's actually a goddamned pesimization.
 
Ven
yeah that's so bad...
 
user1804599
12:32 PM
Ven don't get b& :(
 
@rightfold ...wth would you do with 65537 arguments
 
Ven
@rightfold b&?
 
b-and
 
Ven
why would I get b&'d? because of doug?
at most i'll get 30mins
 
Who knows. Votes are anonymous
 
user1804599
12:33 PM
the retarded messages accummulated 8 flags
 
Ven
retarded+drugs messages
 
user1804599
Functors in Haskell are not necessarily endofunctors in subcategories of Hask.
 
@fredoverflow The Limonad, the most famous Leonar-do notation
 
user1804599
This would be a great ringtone:
 
12:42 PM
does anyone actually remember in the stupid markdown img tag
where the text goes and where the url goes
and which one goes after the !
like, on the spot
 
user1804599
![alt](url)
 
without trying it many times
 
user1804599
It's literally like a hyperlink but with a bang in front of it.
 
^
 
user1804599
![alt][name] also works, with [name]: url elsewhere in the document.
 
12:42 PM
I don't remember hyperlinks either
 
rightfold: your friendly syntax reference robot
@AlexM. just forget it's markdown, problem solved
 
user1804599
I accidentally released my PostgreSQL client library under Affero GPL.
 
How does one... Lemme guess. bitbucket dropdown
 
@AlexM. yep
 
user1804599
@sehe As part of an AGPL app.
 
user1804599
12:45 PM
I pl& to release it separately.
 
user1804599
> All dinote source code is licensed under the GNU Affero General Public License unless noted otherwise.
 
user1804599
I suppose this is ambiguous enough to release the PostgreSQL library under a different license.
 
@rightfold yup, it's friday
 
user1804599
WOCHENENDE
 
@rightfold Is that after the dancer
 
12:46 PM
SAUFEN
 
user1804599
DIESER GANZE FICK SCHEISSARBEIT
 
user1804599
@sehe ?
 
Google knows.
> dinote is an outlining application that supports arbitrary directed cyclic graphs of notes.
I remember a time when you were creative in naming projects
 
user1804599
directed note
 
user1804599
oh well
 
user1804599
12:49 PM
In the past I called it DAGNote but it didn't support cycles back then.
 
user1804599
And DCGNote is just silly.
 
user1804599
Adding support for cycles is easier than checking for cycles.
 
@rightfold Dagnabbit™ - no need to thank me
@rightfold It's strictly the same operation, but you can be more lazy about it
 
user1804599
Yeah but I don't have to do it in the DB/server.
 
user1804599
render :: State -> ParentHTML Query Query Slot (Monad eff)
render state
    | isCycle = renderCycleIndicator
    | otherwise = renderVertex state

isCycle :: Boolean
isCycle = Set.member vertexID parentIDs
 
user1804599
12:53 PM
Actually it's not the same operation.
 
user1804599
Because whether the cycle indicator is rendered depends on which path you took to get to the note.
 
user1804599
And it may render the cycle indicator at one place and the child at another place, when the note has multiple parents.
 
user1804599
 
@rightfold DB is implementation detail
 
user1804599
B will render a cycle indicator for C when B is rendered as a child of D, but not when B is rendered as a child of A.
 
user1804599
12:56 PM
@sehe The DB is an integral part of the application.
 
@rightfold The same applies to cycle detection. The precise location where you identify a cycle is dependent on the same starting condition and search order
@rightfold Well. Now you're probably shifting the meaning of DB. DB as in storage is integral (central, perhaps). When you said "I don't have to do it in the DB" that strongly suggested some choice of RDBMS
 
user1804599
PostgreSQL is not an implementation detail.
 
user1804599
It's the only viable option.
 
Non-sequitur van heb ik jou daar.
 
user1804599
It's as much an implementation detail as the app language is
 
1:05 PM
> We asked founders to write in the name of the one company they'd want to acquire their startup. Out of 150 companies named, Alphabet rose to the top as the most sought-after acquirer.
why start a business with being acquired in mind tho
 
It doesn't matter that only certain types of engine are industrially/commercially feasible. Other types of engines exist, and they are very much implementation details for the concept of automotive vehicles.
(inb4 ermagad car analogy)
@rightfold Yes indeed.
 
user1804599
ok
 
user1804599
ThenI a gre.
 
@AlexM. Because at some point changing the world begins to mean recouping investor money.
 
Ven
oh I'm back
 
1:12 PM
You stepped outside for a moment?
 
user1804599
he git b&
 
Ven
I got stoepped out :P
 
user1804599
OPROTTON
 
Kom je uit dordt, gast
 
^ cc: @R.MartinhoFernandes
 
1:40 PM
For Win32 users out there, ISTR reading somewhere about it being faster to clear using a DrawText with a string of the right size than an invalidateract call or some such story. I cant seem to find the source though. Anyone else heard of this and if so, do you remember where its from? TIA
 
@Borgleader sounds like a bullshit
 
whenever ppl say TIA
 
Ven
fabulous picture
 
what does that TIA mean?
 
It means a one-way trip to urban dictionary or acronym reference
 
1:48 PM
@sehe no.
'Germany NSA spy scandal will give boost to nationalist organizations' (Op-Edge) http://on.rt.com/7wpq https://t.co/bhUw8n8JRv
o/
 
Ven
thanks in advance
 
2:28 PM
A transient ischemic attack (TIA) is a transient episode of neurologic dysfunction caused by ischemia (loss of blood flow) – either focal brain, spinal cord, or retinal – without acute infarction (tissue death). TIAs have the same underlying cause as strokes: a disruption of cerebral blood flow (CBF), and are often referred to as mini-strokes. Symptoms caused by a TIA resolve in 24 hours or less. TIA was originally defined clinically by the temporary nature of less than 24 hours of the associated neurologic symptoms. Recently, the American Heart Association and American Stroke Association (AHA/ASA...
 
Ven
;o)
 
user1804599
@sehe :/
 
Does freenode cache my chats?
 
Ven
wdym
 
And when I send someone a message while they're off, will they get it after they log back on?
 
2:34 PM
> Canadian FEMEN activist charged with prostitution in New York
all you need to know about feminizm
 
whenever ppl say wdym
 
Ven
333333
@Columbo no.
 
Everyday. "All you need to know about Abickz". Sadly it's repeat occurrence. How do I unsubscribe.
 
nwp
@sehe There is a (mislabeled) link under "room▼" that effectively does that.
 
(inb4 plonk - they don't work well enough for me)
@nwp Move messages? Control access?
 
nwp
2:43 PM
I was going for timeout, but I suppose those can do it too.
 
I don't see how that helps
 
nwp
unsubscribe means no messages, giving the messenger an indefinite timeout has the same effect
I should leave humor to jerry.
11
 
Ven
rofl :p
 
why is "why are you saying russian are retards" message pinned
 
Ell
^I was wondering this
 
Ven
2:50 PM
@milleniumbug because it's trolling Abyx
 
@milleniumbug That's a good question. I didn't notice
 
Ven
and we like that a lot
 
I'm sure I starred it. I doubt I accidentally slipped a mouse there
Unpinned it anyways, as we don't need confuse newbies
 
Ven
It'd warn them off against Abyx, and that's a good thing™.
 
user1804599
I think l %~ m %~ f = l <<< m %~ f.
 
Ven
2:53 PM
nice lenses
 
user1804599
Hilariously amazing.
 
user1804599
Death Stranding trailer graphics are really good.
 
Ven
the new kojima?
 
the bad guy is cool
 
user1804599
Usually Kojima trailers are rendered real-time.
 
user1804599
I hope it's the case with this one.
 
Ven
@AlexM. just seeing this face rings "BAD" in my head
 
the guy is perfect for villains
his face looks sad at first
but then you realize it's more like insanity
my favorite bond villain (was in the new casino royale)
 
Ven
^
 
I accidentally released my farts under Affero GPL.
 

« first day (2239 days earlier)      last day (2709 days later) »