« first day (2222 days earlier)      last day (2952 days later) » 

00:13
Can someone make sure Trump doesn't use the same password for the nuclear launch codes as for his AdultFriendFinder account? Thanks.
@Telkitty That's beautiful
Fuck, here I sit asked to do another 240 hours before newyears.
I thought being a governmental employee would be cool.
I never learn.
That's 6 hrs every day or 8.4 hrs every statistical workday
You'll be fine
@набиячлэвэли + my regular work.
o shit
Full-time, I assume?
00:24
Requiescat in pace
Spring 2016 when this happened the last time, my boss and I shook hands "This will not happen again".
Do you have it on paper
Nice
That's step 1.
Step 2. is sweet overtime $$$
Still, I like my boss. Step 2 - I'm going to suffer and get about 150% paid for my work. (I hope)
I don't care much about my boss' boss. He is an arrogant fucker
00:34
That's what frags are for.
I'm not usually that hands on. I prefer template<int N> class C{ } along with template <> class C<0>{}.
@CaptainGiraffe and you are a teacher </irony> :p
00:51
> But the bottom line, in brief, is that the researchers claim modest success in guessing PINs tapped in on mobile phones, based on Wi-Fi interference caused by the fingers doing the tapping.
WOW. Maths rule
I really hope technology can be more useful in advance humanity other than influence elections in an idiotic way ...
must be tough to be a sci-fi writer these days, you’d really have to rack your brains to come up with something novel
relatives have returned overseas, now life is back to normal
01:10
@sehe Nice.
01:37
Hey, guys.
I want to make a bunch of python tests
where I basically call an executable
and then run a diff of its output versus some predefined output
Anyone know if I should just get cozy with sys and the processor thing, or if I should actually look into a "Testing harness" of sorts?
note:   constraints not satisfied
note: in the expansion of concept 'ErasableAs<…it goes on for pages…'
then nothing following the notes
literally the template argument deduction/substitution failed: of the concepts world
01:55
Hey @rightfold, I was bikeshedding how to do values and references in the language, and I think I got something that works out decently: github.com/ThePhD/lepix/issues/14#issuecomment-260110711
I think with that syntax (combined with the fact that references must always be initialized to something), we can have good value versus reference semantics without goofing things up.
The only thing I'm a bit iffy about is how to have a reference retrieved with bottom-up type derivation, like...
var x = some_thing; // how do we declare this to be a reference?
Maybe var x : & = some_thing; // deduces type name, adds reference to it
Ell
Ell
02:08
@ThePhD a shell script would be easier
Probably
Ugh.
Clang is broken?
I can't specify constexpr for static arguments?
Goddamnit.
What the hell is clang's problem with this constexpr return into a template parameter.
Of course.
static_cast<GARBAGE>( thing ) works for a template parameter
constexpr that does the same thing and returns a constexpr item fails
fuck you too, clang
03:00
@Borgleader do yourself a favor and google "fluffy autumn cats"
also:
 
3 hours later…
05:57
@LucDanton better error messages!
06:18
@R.MartinhoFernandes Utterly disgusting--but at least it distracted me from American politics for a moment, so it wasn't all bad...
alright let's see those new and interesting ICEs structured bindings in action
@JerryCoffin I don't know if I should feel scared or laugh.
There's a lot of talk about press regulation in the UK, but the regulation they need is to just kill these horrible horrible excuses for a newspaper. Freedom of press my ass. The press shouldn't be free to make up lies, and especially not slanderous ones like this. That is vitally important, arguably as much as real freedom of press.
06:34
@R.MartinhoFernandes Sorry, but you're just plain wrong here. Slander is spoken. Since this was published, it's libel.
And the repercussions? Retract the lie and maybe publish a tiny apology in a corner (which is so fucking frequent with The Sun).
Seriously though, you have a fair point. I'm not sure what UK law says about this. In the US, if the target is accepted by the court as being a "public figure", it's much more difficult to prove libel against them--but this is so blatant that it might even pass the higher bar of requiring knowledge of the falsehood of the statement, or having "reckless disregard" for the truth.
The picture itself probably doesn't qualify as being truly false (just very selectively edited) but the caption apparently claiming that he was "dancing' sounds like it may well be a provable falsehood (but I can only guess that means something in British court based on the fact that US law is often based on/similar to British law).
Given that this requires fabricating the falsehood, "reckless" is a but of a misnomer.
More like "aggressive disregard"
They'd probably pass it off as satire.
@R.MartinhoFernandes Right--if it were in the US, the only real question would be whether the paper itself made up the lie. The "reckless disregard" part would come in if (for example) they'd been sent the doctored picture and commentary, and reported it as fact without bothering to check the facts first.
And right, libel, the thing Trump wants to open up to make a lot of money
(Sorry to bring you back to that)
06:45
lmao GCC now supports the void() nothrow etc. function types
but e.g. std::decay_t can’t deal that so now I have a function type instantiated somewhere instead of a ptf
@R.MartinhoFernandes La, la, la, la, la, la, la. I can't hear a word you're saying...
The interesting thing is that one of the board members of the independent press regulator agency is a columnist for The Sun, and (invariably with The Sun) also regularly caught lying.
template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
  struct is_function<_Res(_ArgTypes...) _GLIBCXX_NOEXCEPT_QUAL>
I think that’s boilerplate magic
They have also zero regard for copyright (they follow the "if it's on the Internet it's free for us to use" school of thought).
brace yourselves
#define _GLIBCXX_NOEXCEPT_PARM , bool _N
#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N)
template<typename Type>
struct match;

template<bool IsThisNoexcept>
struct match<void() noexcept(IsThisNoexcept)> {};

int main()
{
    match<void()> {};
    match<void() noexcept> {};
}
cv-ref quals matching when ._. cc @Xeo
Xeo
Xeo
07:13
@LucDanton Interesting.
also turns out it’s std::add_pointer that can’t handle noexcept function types
3
07:35
So complex code
as long as it’s behind the barn
07:56
TIL:
42
A: Is there a reason Hillary Clinton's logo has hidden notches?

YakkUnderstanding rasterization and the painter's algorithm might help. One way of rendering vector graphics (graphics defined by polygons, instead of pixels) to pixels is to rasterize the polygons while running the painter's algorithm. The painter's algorithm is a bottom-up process where you first...

@LucDanton found the barn
Who is the most politically incorrect of the candidates at stackoverflow.com/election?
No one's offering to build walls :/
@R.MartinhoFernandes Haha.
It's hard to feign superficiality
08:08
@sehe Sincerity is what really matters though. Learn to fake that, and you've got it made!
sounds like a plan. Sinfeign :)
Glancing over things Aaron Hall seems like a solid candidate
"I flag, close vote, delete vote, downvote and upvote generously, and use my python duplicate hammer (among the top 100 hammer users)." - Interesting that query also shows @vaultah as having the 3rd highest error rate among those 100 — 20%(!) error — sehe 14 secs ago
Does that count?
08:31
Well, I have voted. Do I get a badge?
08:43
You should
@JerryCoffin Wait, what's happening in American politics now?
I sort of tuned the entirety of the world out for a little bit with school work and sol2.
@ThePhD Gary Johnson won the election.
Ven
Ven
@sehe did you just metagame me into participating during the election
I blame wilx
Sup guise
Ven
Ven
supe
so I went to sleep at 1:30 yesterday
@BartekBanachewicz You mean today.
09:06
I got my super OO-embedded code to work
@wilx yeah
it actually worked after first build
So you slept 7-8 hrs?
nah, I went to change my tyres earlier today
I just got to work right now
@EtiennedeMartel French Canadian is still Canadian
Ven
Ven
09:06
Candian?
morning fruit loops
shh you
@thecoshman my license is waiting for me to pick it up :3
Winter tyres. People here do that sometimes.
@StackedCrooked it's mandatory in Poland
09:07
@BartekBanachewicz full bike is that?
well you can use the all-round all-season ones as well
@thecoshman yep, full, unrestricted A
Are you allowed tires closer to 'slickers' in Pooland during summer?
I am legally allowed to drive 200HP 1000cc supersports now
@thecoshman you need a homologated tyre with a thread of at least 1.6mm depth OR still OK with regard to the use markers
so technically, I suppose, if a maker made a tyre with 0.1mm thread and appropriate markers you could use that
@BartekBanachewicz Is it already snowing there?
@StackedCrooked it was snowing a couple days ago, seems to have stopped for now
but it's around 0 degrees
09:10
"homologated" TIL
apparently 2 deg Celsius today according to Google
10 degrees here this morning and foggy.
Fog is typical for November. But usually it's colder.
12 here for us :D
well our winters are nothing like they used to be anyway
but then again near the sea it's never that bad
also lol weather smalltalk
tis feirce exciting stuff
09:12
we're soo socially awkward
@BartekBanachewicz Well, we should probably start preparing some eulogy for you. Rest in pieces.
@R.MartinhoFernandes did you get my ping
I eagerly await your opinion good sir
user1804599
Rotten fruit smells so bad.
@rightfold Yes, you do.
@rightfold depends
user1804599
09:13
It's like a bit sweet and super sour.
@BartekBanachewicz What was the error?
@sehe: yes, indeed. My error rate would not have been so high, if I hadn't bothered to admit and fix my own mistakes. — vaultah 26 mins ago
@vaultah That's nice. I do that too, although I very much doubt that changes the picture much. Patience is a very important virtue. — sehe 12 secs ago
@BartekBanachewicz Sorry, sometimes I miss pings in the SO inbox.
They're like Bahnhofen :)
@R.MartinhoFernandes So, how was your train ride today? :)
09:14
10 hours ago, by Bartek Banachewicz
error: 'type name' declared as function returning a function
I think it was that for the ()() trick
@wilx teehee same thoughts
I was wondering what's your opinion on the static struct inside though, as that seemed to work
user1804599
@Ven fellatio is pure. same input (syrup), same output (unit).
@sehe But you are too good a person to ask! :D
well it has the drawback of requiring this ::get or ::pins, but still allows the type to be "passed around"/stored
you obviously can't pass types around in C++ for whatever reason
09:15
Erm. We both made the same associative joke
Ven
Ven
@rightfold implying you swallow.
@BartekBanachewicz Sounds like you ran into MVP.
user1804599
@Ven implying I don't.
@R.MartinhoFernandes yeah, so I've tried (meta_param())() but that didn't work either
Ven
Ven
:(
09:16
Wait... what train related shenanigans did I miss?
That was a very nice attempt @rightfold
@BartekBanachewicz Can you put a SSCCE on Coliru?
I can certainly try. I was thinking that could be a gcc-avr problem
What version?
@R.MartinhoFernandes erm. bundled with the arduino ide hides
I guess the obvious answer is "stop using that crap"
09:20
Quite likely.
23 hours ago, by R. Martinho Fernandes
@wilx End of the line in the opposite direction.
@BartekBanachewicz I usually build my own but it's easy to find people with ready-made builds online, e.g., blog.zakkemble.co.uk/avr-gcc-6-1-0
sigh
well, I guess that's the only reasonable way
I don't know what the latest Arduino IDE ships, but I wouldn't be surprised if it's 4.x
09:23
Oh.
Can't have that as non-type template parameter.
You want template <typename Pins> struct Latcher {}; and use the constants there.
@R.MartinhoFernandes oh.
see, the thing is
I guess that's where I misunderstood your meta_triple
@StackedCrooked another one :( - what can I do (outside starting/joining a competing server)?
I thought it was supposed to solve the "not-an-lvalue" problem, whereas your idea was to change it into a type template parameter
user1804599
@Ven Look at my DSL, my DSL is amazing. lpaste.net/4757784033990017024
@BartekBanachewicz Right. The point is that it can be used as a type parameter, and if you need to turn it into a value simply passing around a Type() does the trick.
user1804599
09:28
Bus is great for UIs. Many-to-many pub-sub.
@wilx again @R.MartinhoFernandes HOW?!
user1804599
[email protected] node_modules/virtual-dom
...
├── [email protected]
├── [email protected]
├── [email protected]
...
user1804599
are you kidding me
no
this is JS
Pretty sure you have multiple copies of each of that if your project is big enough.
Ven
Ven
how is x-is-array better than is-array?
user1804599
09:39
vOv
Ven
Ven
anyway is-array "somewhat" makes sense in that you have to polyfill it. because >JS
obviously you could do
function isObjectType(t) { var test = '[object ' + t + ']'; return function (v) { return Object.prototype.toString.call(v) == test; }; }
var isArray = isObjectType('Array');
instead of downloading modules. but then, again, >JS
user1804599
Or just write parametric code.
Ven
Ven
lol
WHAT IS ARI
10:04
@Ven those sort of deps could be commited in the main project source imho
Ven
Ven
WTB foo {.x = } in C++.
@Ven designated initializers? yeah
one of the rare good C11 features
Ven
Ven
it's C99 actually
even funnier
Ven
Ven
> Johannes Schaub pointed out that this issue had been raised by Richard Smith earlier,
reading some paper
10:16
oh wait
the article linked actually updates the compiler in arduino ide
interesting
@Ven originally raised by ThePhantomDerpstorm
Ven
Ven
> The order of evaluation of the subexpressions in any initializer is indeterminately sequenced
(in C only)
@AlexM. good old ThePhD :).
slack is very slick
even their notification emails look like they costed 10 UX man years to do
Ven
Ven
i prefer discord :c
@AlexM. slick is very slack
Ven
Ven
10:33
-2
Q: How to sum each user totals per category

Michael Bulumatable preview I have the above table which I'd like to sum all users total per category. Totals for user 1, User 2, ..., user 20 to be shown at the end of the table. how can i achieve this in Joomla?

How to sum tables in joomla
10:44
is a.b always equivalent to a[b] in ruby?
Ven
Ven
almost never
unless you explicitly have a def [](key); self.send(key); end
When you have a sum function... should the order of operations matte? Like... if you had eight things in a collection you could pair them off and sum them as four lots of two, then two lots of two etc... or should sum always be done as a traversal?
user1804599
@Ven lol joomla
Ven
Ven
@thecoshman if you know you're using the mathematical + it really doesn't matter.
Associativity galore and all that.
user1804599
@BartekBanachewicz In a.b, b is a method on a. In a[b], [] is a method on a, and b is an argument to [].
10:46
@thecoshman no, that's why you can easily parallelize it
user1804599
@thecoshman Addition is commutative and associative.
I guess that's what I mean... when you use a sum function on a collection, the operation should be like a mathematical addition
@rightfold what if I'm doing a.b = x vs a["b"] = x?
@thecoshman sum is a mathematical addition
are you thinking about general reduce/fold?
user1804599
@BartekBanachewicz b= method vs []= method.
@BartekBanachewicz I think so...
10:47
mmm. I see.
@thecoshman then obviously it depends on the folding function
try foldl ($) 0 [(+1), (*2), (-5)]
user1804599
(R, +, 0) is a commutative monoid.
user1804599
That's all you need to know.
user1804599
If your set isn't R, just swap R for your set and check if it's still a commutative monoid.
user1804599
If it is, you can do the operations in any order you like when summing a collection of elements.
it doesn't need to be a monoid
10:50
every time I finish my first coffee I'm like
"I hope I don't need to fill the tank/empty grounds"
it's enough if it's an abelian group
user1804599
An Abelian group is a commutative monoid with an inverse.
user1804599
:P
abelian groupoid then? :D
nah, not that
shit, what was that called
programming in 2016
user1804599
10:52
It's important that it's associative if you want to sum more than two things.
user1804599
10
Q: Are all algebraic commutative operations always associative?

IremadzeArchil19910311I know that there are many algebraic associative operations which are commutative and which are not commutative. for example multiplications of matrices as associative operation is not commutative. I need to know about inverse of this! I mean is there any algebraic commutative operation which is...

@rightfold so commutative semigroup
user1804599
Then you can't sum an empty collection.
true.
well fuck.
user1804599
10:54
But it's otherwise the same.
seems you were right
Ven
Ven
In my time, we had magmas and we were happy with them.
2 mins ago, by rightfold
It's important that it's associative if you want to sum more than two things.
user1804599
sum = ala Additive fold :)
so @thecoshman we've agreed on commutative monoid
Ven
Ven
10:55
@BartekBanachewicz I have no idea why you're sending this to me.
user1804599
Additive lifts Semiring to Monoid by append = (+) and mempty = zero.
@Ven because magmas aren't necessarily associative?
Ven
Ven
are you utterly and totally unable to comprehend humor, Bartek?
Ven
Ven
we know.
10:56
@BartekBanachewicz right...
@rightfold so can I use some sort of reflection to generate b= from a string "b"?
user1804599
Yeah, implement method_missing.
Ven
Ven
@BartekBanachewicz you don't even need reflection
user1804599
Check for method names ending with =.
user1804599
def method_missing(method)
  if method.name.endswith?('=')
    bla
  else
    raise bla
  end
end
user1804599
10:59
method is the symbol :'b=' in this case.
Ven
Ven
@rightfold that's not how method_missing works if you want args
user1804599
Ok!
Ven
Ven
 def method_missing(m, v)
  if m.end_with?('=')
    self[m[0..-2]] = v
  end
end
w/e snachat sucks
ueh
too complex
Ven
Ven
you asked for it :)
11:03
I thought it's gonna be simpler
I don't understand this code
Ven
Ven
@rightfold also, it's not method.name, it's method.to_s
(which I also forgot)
user1804599
Ok!
user1804599
@BartekBanachewicz Write a Ruby backend for PureScript (easy now with --dump-corefn) and have more fun. :P
Ven
Ven
@rightfold go go and start your PS2SQL :D
sbi
sbi
@Shoe OK. So what are you interested in?
user1804599
11:05
XD
sbi
sbi
Hi.
user1804599
Translating to a declarative like SQL is a pain.
user1804599
And PL/pgSQL lacks closures so :v
sbi
sbi
> “Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” – Terry Pratchett
@sbi Who wants to watch paint dry, right?
11:09
ah, just what we need, another fresh injection of inexperience for the team that has already been diluted down to and average experience of a few months
because
sbi
sbi
"...down to and average..." – ???
Ven
Ven
@rightfold i told you how to emulate them
sbi
sbi
Oh, BTW, I have a 500rep bonus question out there. I doubt anyone here would know the answer to it, but you never know, so I'll drop it here anyway.
@GManNickG What's up? Are you unemployed? Or why do you suddenly have the time to hang out here? :)
@R.MartinhoFernandes tfw I'm too slow for life.
Also, phonecall in 3h30m with Fintech person. @Mysticial pls save me.
Meh.
11:34
@sbi Oh boy, hard to say. We already have an art museum visit and hard rock cafè visit planned.
It's from 9 Jan to 12 Jan
Well, 12 Jan morning we have to take the plane back
11:54
Oh my, my DNS lookup is borked
informatica.math.unipd.it gives me my router page, 147.162.114.8 (which is the corresponding IP) gives me the correct answer
user1804599
@Ven shittily :p
user1804599
@Shoe remove that entry from /etc/hosts
@rightfold It's not in there
/etc/hosts contains the usual
user1804599
RIP
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
11:59
What's your DNS server?
nslookup informatica.math.unipd.it gives me:
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	informatica.math.unipd.it
Address: 147.162.114.8
Wait
Shouldn't it be like 8.8.8.8 or something along those lines?
Which should be Google's DNS
user1804599
Use Google DNS.
@Shoe No.
There's more DNS servers around.
That just sounds like it's your router, which regardless seems to give the correct reply.
(Also, fuck Google)
Wtf
I've set 8.8.8.8 and now informatica.math.unipd.it/laurea/esamilaurea.html loads but informatica.math.unipd.it doesn't?
It's a mistery
Your ISP's DNS is probably faster, and that's probably what the router uses, so I'd just stick to that.
Ven
Ven
12:26
gl
user1804599
12:39
99
A: Can't argue with success? Looking for "bad math" that "gets away with it"

the LA student in a test was asked to give an example of two irrational numbers whose sum is irrational. He choose $x = \sqrt{2}$, and $y=\sqrt{3}$, and computed the sum $x+y$ using a calculator. Unfortunately, he only took two digits, which led to the following: $x = 1.41$, and $y = 1.73$, which im...

sbi
sbi
13:04
@Shoe Oh. That doesn't sound like there's much time left. :-/
13:19
in The Web Stack & Architecture, 44 mins ago, by Elie Saad
I just wonder why you linked the room to theirs ...
I concurred.
super moon, yay!!
Ven
Ven
> that place where Bartez Baroufiafnuia
Bartek is a superstar. He even has clones.
nwp
nwp
@Telkitty I found it very underwhelming. Looked the same as always to me.
:) I was gonna mention it but I don't think it's very healthy for us to go and "mingle" with them after they show such nuanced biases
@nwp I found it absolutely amazing
Ven
Ven
13:21
I didn't plan to go there :P
bigger, brighter
Ven
Ven
in The Web Stack & Architecture, 51 mins ago, by Elie Saad
It is 24/7 the saltiest place on Earth, after league of legends :D
That's a nice compliment, implying we're nicer than League players :-).
nwp
nwp
@Ven that was just binned
Ven
Ven
@nwp ..I'm not seeing it
@nwp I mean the transcript message is still there
13:38
Yay for bin transcript
13:55
what's thrown in the bin, stays in the bin ... for ever
I said wot? ~_~

« first day (2222 days earlier)      last day (2952 days later) »