« first day (2024 days earlier)      last day (2928 days later) » 

1:00 PM
what
 
yes
X-Men: Apocalypse is an upcoming 2016 American superhero film based on the X-Men characters that appear in Marvel Comics. It is intended to be the sequel to 2014's X-Men: Days of Future Past and the ninth installment in the X-Men film series. Directed by Bryan Singer, with a screenplay by Simon Kinberg from a story conceived by Singer, Kinberg, Michael Dougherty and Dan Harris, the film features an ensemble cast starring James McAvoy, Michael Fassbender, Jennifer Lawrence, Oscar Isaac, Nicholas Hoult, Rose Byrne, Tye Sheridan, Sophie Turner, Olivia Munn and Lucas Till. In X-Men: Apocalypse, ancient...
 
@Telkitty 4 :P
 
yay
 
Btw, is it illegal to enter the deep web in some countries?
 
Ell
Probably
 
1:08 PM
There's a lot of things that are illegal in some countries. It used to be illegal to have a cell phone in Cuba, but maybe that changed recently? IDK.
 
whats the deep web
https?
 
Interesting.....
 
user406009
@DmitriBudnikov Usually people are talking about TOR and .onion sites when they talk about the deep web.
 
what do you mean
 
1:11 PM
so it's like an alternative to ssl/https?
 
user406009
@DmitriBudnikov The main difference is that it's anonymous.
 
user406009
You can't tell where the secret services are located and they can't tell where their users are located.
 
how is that any different from ssl/https
 
user406009
In ssl/https, you have the IP of the server and the server has your IP.
 
communication is not possible otherwise
 
user406009
1:14 PM
Also, routers in the middle can watch those connections and determine that yes, person A with IP B is talking to server C with IP D.
 
Noooo, Go Get a Roomie is down u____u
 
@Morwenn dafuq is that
 
@DmitriBudnikov The content of databases and other web services that for one reason or another cannot be indexed by conventional search engines.
 
@Borgleader Webcomic.
 
user406009
@DmitriBudnikov The whole purpose of TOR is to allow communication even when both sides don't know the other's identity.
 
1:15 PM
Sorry that's just nonsensical
@TheArtist What if your database is encrypted
 
@Morwenn ._.
 
user406009
@DmitriBudnikov It works through a series of relays IIRC. So each relay only knows a little bit.
 
user406009
All of them have to be comprised for anyone to determine who exactly is talking to whom.
 
Yay, the patience sort implementation I found is broken.
 
@Lalaland Meh, just like routers then
Sounds more like commercial bullshit to me
 
user406009
1:19 PM
@DmitriBudnikov Not quite. With HTTPS, your message states exactly who you are and who you are talking to.
 
user406009
With TOR, that information is not passed between the relays.
 
I don't think that can work. If I send a postal mail to someone with the wrong address, how can they get the mail?
Or no address at all as you seem to imply
 
@DmitriBudnikov you send it through this shady, alternate postal network
 
user406009
@DmitriBudnikov You send your post card to some middle place.
 
So, it's like Bitcoin for TCP packets?
 
user406009
1:21 PM
And then you can then receive it from that middle place.
 
user406009
@DmitriBudnikov Not really at all. Bitcoin has nothing to do with anonymity.
 
It qualifies as shady and alternate, though
 
@Morwenn first I thought my internet connection was broken :(
 
What Tor does is make it really, really, really hard for an adversary to control enough of the network to make this happen. It passes each connection through multiple nodes, so you have to control enough nodes that not just one but at least three nodes selected from the list are yours (it can have to be more than three; three is the minimum circuit length).
 
@melak47 Tough times.
 
1:24 PM
The reason Tor works is that with a single Tor network, you have lots and lots of people running Tor servers; an adversary has to compete with tons of legitimate nodes. It's the same basic idea as Bitcoin - make it so an attacker inherently has to compete with legitimate users, and then the bigger the system gets the harder it is to attack.
 
user406009
@DmitriBudnikov Eh, it serves an actual useful purpose. Unlike Bitcoin.
 
@TheArtist Ok so what's the point?
 
@Lalaland Spot on!
 
Nobody's trying to steal my internet
Is this some new level of hipster paranoia?
Or, like bitcoin, is it just a way for criminals to do their shady business?
HTTPS oughta be enough for everyone
 
@DmitriBudnikov It's old stuff. Yep a lot of criminal activity goes on ( the media says so)
@DmitriBudnikov Not for some journalists trying to hide their asses in some countries
@DmitriBudnikov It's purpose is Freedom of Speech.
 
1:27 PM
If you need encryption to have freedom of speech in your country you have bigger issues to worry about
 
user1804599
IfInst c tID eID -> do
  c' <- inject c
  case c' of
    BoolValue True  -> return $ GotoInst tID
    BoolValue False -> return $ GotoInst eID
    _ -> return $ IfInst c' tID eID
 
user1804599
SSA FTW.
 
@DmitriBudnikov It was just an example....and yes they do have bigger issues that they worry about, while trying to do their job.
 
1:33 PM
Someone should calculate rightfold's Mean Time To SSA
 
Hi @AaronHall.
 
@набиячлэвэлиь That terminal colours library looks neat.
 
1:41 PM
And only 500 lines in a single header.
 
grazie
@Griwes see ^
 
> namespace __internal
again with the reserved identifiers :p
does nobody care?!
 
1:44 PM
;D
 
Also the temporary macros OS_WINDOWS and the like might not be ugly enough to be safe.
 
just #undef them
 
Nah, they are undefed at the end.
 
yeah I just saw that
 
I mean, the names look common enough and other libraries might use them.
Well, it won't be a problem anymore with modules in 2058.
 
1:48 PM
dat hindsight
 
it's not a running gag if it hurts every time :(
 
@melak47 I'm on it
@Morwenn and on this as well
 
Haha, I was almost sure that you'd do something about it :D
You're like the guy who changes small things everywhere to improve the quality.
 
argh including <windows.h>
 
The world probably needs more people like you.
Well, maybe not like you, but with the same ability.
 
I know it wouldn't be "header only" without including <windows.h>, but still, fuck this
 
@milleniumbug if it didn't need some structs and crap, you could get away with some forward declarations :/
 
possibly needs detecting if I replace underlying buffer of std::cout
 
yeah the &stream == &std::cout might be a bit dodgy :D
but how would you detect if it's been swapped out? get the original rdbuf during static initialization? :S
 
@melak47 no
 
1:58 PM
@DmitriBudnikov you mean yes?
 
I mean nobody cares
nobody
 
@melak47 yes, that's what I meant by "possibly" - if it's feasible to do, then sure why not
 
also lol #if defined(_WIN32) || defined(_WIN64)
 
hm, can't you also redirect output by doing SetStdHandle? Now what do you do :S
 
Fabrice Bellard is cool.
 
2:13 PM
Do you guys heard about this guy ? github.com/looterz
 
@Mysticial Koutetsujou no Kabaneri is quite something, not? :D
 
2:31 PM
It's quite nice, although it runs on anime logic
Also there are some plot problems which they don't bother addressing: in the beginning it's established Kabane don't die unless their heart is destroyed, but Mumei kills off the one Kabane at the end of the first episode by cutting his head off
 
3:17 PM
@melak47 Yah, it's true. Newer hardware vendors have deals that don't really support the install of Windows 7. I tried 3 different Windows ISOs and one Windows Installation DVD, all of them froze when trying to boot from the wiped SSD.
I even tried it on the HDD, no dice: and for some reason that "Windows Boot Manager" bullshit never went away.
 
Secure Butt much
 
I disabled that.
CSM as well.
That's how I got it to even ATTEMPT to install in the first place.
 
Why would you want the bootloader to go away
 
buttloader
 
Because it kept intercepting whenever I wanted to boot to my USB, even when I made it priority 1.
 
3:22 PM
Uh
Boot device preference is a EFI/BIOS thing
 
Why are you edition Cicada
 
And if it fell back to Windows then maybe your USB just plain isn't properly imaged
Laptops are not real computers so that might be also it
 
qq
 
3:49 PM
 
4:03 PM
so apparently I should be using vuejs instead of react
 
user406009
4:17 PM
@DmitriBudnikov Nah, react is still better.
 
user406009
Lol, reading through the vuejs author's arguments for why his library is better than react.
 
user406009
> For some developers this is a bonus, but for designer/developer hybrids like me ...
 
user1804599
why do GPU fans face down not up
 
user1804599
hot air rises
 
user1804599
Quiz: how come absurd is a total function while it never returns for any input?
 
4:22 PM
what
 
user1804599
Because its domain is empty!
 
> Functional programming? Totally!
 
4:39 PM
@ThePhD my laptop shipped with win8 and I never had any problem installing anything I want on it
 
4:54 PM
@Zoidberg is xmlreader a monad?
 
Ven
@Morwenn what's that comic?
 
user1804599
I don't know what xmlreader is.
 
user1804599
Step 1: is it a type with one type parameter?
 
.net type
 
@Ven Go Get a Roomie!
 
user1804599
4:55 PM
Link.
 
user1804599
No; it needs to be XmlReader<T>.
 
user1804599
No monad instance possible.
 
Ok, the the patience sort implementation I attempted to steal leaked memory as if there was no tomorrow.
 
4:58 PM
@Zoidberg how bored are you right now?
 
user1804599
Not at all.
 
user1804599
<?hh // strict

final class IO<T> {
    public function __construct(private (function(): T) $action) { }

    public function unsafePerform(): T {
        return call_user_func($this->action);
    }

    public function map<TM>((function(T): TM) $f): IO<TM> {
        return new IO(function() use($f) {
            $x = $this->unsafePerform();
            return $f($x);
        });
    }

    public function bind<TM>((function(T): IO<TM>) $f): IO<TM> {
        return new IO(function() use($f) {
            $x = $this->unsafePerform();
 
<- afk eating
 
My FB contacts listen to really strange music.
 
8
Q: How do I write a range pipeline that uses temporary containers?

R. Martinho FernandesI have a third-party function with this signature: std::vector<T> f(T t); I also have an existing potentially infinite range (of the range-v3 sort) of T named src. I want to create a pipeline that maps f to all elements of that range and flattens all the vectors into a single range with all th...

Bounty
 
Ven
5:02 PM
@Morwenn my FB contacts are strange
@Zoidberg you could inline $x and it'd work, yknow
 
user1804599
Yeah, but I want side-effects to be clear.
 
user1804599
Side-effecting expressions should always be in their own statement.
 
@Ven Why am I not that surprised? :p
 
Ven
@Morwenn ...what am I supposed to understand here? :/
 
Not sure.
 
5:05 PM
@R.MartinhoFernandes I'd say the underlying problem is that range-v3 directly supports only eager ranges with value semantics and lazy ranges with reference semantics, but you need lazy ranges with value semantics.
 
Ven
@Zoidberg in PHP 5.5+, ($this->action)() should work, btw
 
user1804599
Right.
 
@milleniumbug I don't think I'll get a decent answer anyway, but I might get some better ideas than what I have currently.
I have an alternative implementation but it's ugly and hackish.
@BartekBanachewicz hey, you following up on Vulkan API design?
I read some things about it and I'm curious what you think.
 
Ven
@Morwenn doesn't surprise me that you like GGAR, since they spend time in that celtic bar :P
 
xD
Nah, I just love the characters. All of them.
Wow, I actually just listened to 25 minutes of ~noise.
 
5:30 PM
@Zoidberg we should write it in c# and use it to solve a problem
 
user1804599
@Ven PHP 7
 
user1804599
Not 5.5+.
 
user1804599
Not even 5.6.
 
user1804599
It's a breaking change.
 
Ven
okay :)
 
user1804599
5:30 PM
@JohanLarsson In C# it's much better, because C# has LINQ syntax.
 
Ven
might have confused it with $a->b()[0]()
 
user1804599
I like how Hack does type inference nicely:
 
user1804599
public static function id<T>(): (function(T): T) {
    return function($x) { return $x; };
}
 
user1804599
$this->assertSame(1, call_user_func(F::id(), 1));
 
user1804599
Without any bullshit like TypeScript has. Proper sound type system.
 
Ell
5:42 PM
I'm so bad at using the shell :V
and grep
 
drep
 
Ven
gerpé
 
So, the stolen patience sort is never the worst sort. I'm actually a bit surprised.
 
@Zoidberg Seems pretty much the same from where I'm standing
 
user1804599
Do you use noImplicitAny?
 
user1804599
5:54 PM
You should. any sucks.
 
yes.
 
user1804599
Good puppy.
 
at work we currently upgrade TS to each major release fairly immediately
and turn on all the strictnesses
 
user1804599
I can't wait for the strict nulls.
 
me too
 
user1804599
5:54 PM
And after that I can't wait for --noRetardedVariance.
 
user1804599
The inability to use covariant mutable arrays anymore won't be a problem for us anyway, since we use Immutable.js exclusively.
 
user1804599
6:07 PM
Nice, secret TTIP documents leaked.
 
user1804599
+1 for transparency.
 
from what I've gathered TTIP is an absolute crock of shit
and the way it's been negotiated is terrible as well in secret
the EU are accountable to me, an EU citizen, and I want to know what the fuck they're offering up
 
Good eve
 
then again maybe I'll cease to be an EU citizen by the time TTIP comes in
 
> static const auto sdl_window_deleter = [](SDL_Window* ptr) { SDL_DestroyWindow(ptr); };
typedef std::unique_ptr<SDL_Window, decltype(sdl_window_deleter)> sdl_window_handle;
 
6:19 PM
@Puppy What will you be?
 
VS is complaining about this and I'm not sure why. you cannot construct an instance of a lambda uh...
 
just a British citizen
 
when C# talk about rosly as in compiler as a service, isnt it just the same as llvm/clang for c++?
 
Oh, right.
Totally forgot about that.
 
nvm, i fixed it
 
6:24 PM
@Puppy right, move to Russia.
 
hah yeah
suicide-lite
 
Ven
/cc @jaggedSpire
@Borgleader why not just use SDL_DestroyWindow as the deleter? Takes a void*?
 
@Borgleader if you don't pass an instance of the deleter to the unique_ptr, it tries to default construct one. can't do that with a lambda.
 
6:31 PM
@Borgleader use std::integral_constant
unique_ptr<SDL_Window, integral_constant<decltype(SDL_DestroyWindow), &SDL_DestroyWindow>>
it has a conv. op. which does the trick
 
user1804599
@Serthy it just means that the compiler can be used as a library, i.e. is designed by competent people
 
@Khaled.K That's pretty cool :D
 
@melak47 Can do in some environments, I think.
 
is this chat just for c++ ?
 
No, this is only for Botany
 
6:47 PM
whats that?
 
Ven
real engineers stuff
 
user1804599
Cool, they simulated a black hole and observed the analogue of Hawkin radiation
 
6:58 PM
@Ven Because <3 lambdas
 
Ven
;o)
 
7:23 PM
@melak47 it seems like an odd limitation if the lambda is stateless
(which was my case)
 
I kinda feel that stateless lambdas should be default-constructible
 
aren't lambdas meant to be stateless
 
Not really
 
Ven
@Puppy that'd just silence a bunch of error cases, imho
 
not really feeling that they're error cases.
half the point of making something well-defined is that it's not an error case.
since you've defined it to succeed in a given way
 
7:36 PM
Botany, also called plant science(s) or plant biology, is the science of plant life and a branch of biology. A botanist or plant scientist is a scientist who specializes in this field. The term "botany" comes from the Ancient Greek word βοτάνη (botanē) meaning "pasture", "grass", or "fodder"; βοτάνη is in turn derived from βόσκειν (boskein), "to feed" or "to graze". Traditionally, botany has also included the study of fungi and algae by mycologists and phycologists respectively, with the study of these three groups of organisms remaining within the sphere of interest of the International Botanical...
 
@Puppy it's possible I suppose, but non-standard
 
Ven
@Puppy well, this case would have been silenced – without a default ctor, you see your mistake easily
 
@Borgleader I didn't make these rules up :D
 
@Ven But.. it wouldn't be a mistake anymore.
 
Ven
I guess this one falls in the "help the programar vs do the logical thing"
@Puppy it'd be a programmer mistake :P
 
7:41 PM
why?
I see no reason why default-constructing lambda types would be a programmer mistake.
 
Ven
because you clearly don't want an empty deleter
I specifically said "this case"
 
anyone know android?
 
@Ven A default-constructed lambda type would not be an empty deleter.
 
@user3091082 it's that thing with the candy version names, right?
 
user1804599
type Unit = mixed;
 
Ven
7:42 PM
it'd be a no-op deleter
 
why?
 
Ven
@user3091082 I only know cyborg ;)
 
Love the name.
 
its android programmng
 
7:42 PM
@melak47 I'm not saying that, only that it seems like an odd restriction
 
if you have T = decltype([] { std::cout << "Hello, World!"; }), then T()(); prints "Hello, World".
it could never, ever work any other way.
there would be no no-op or empty functions going around.
 
@user3091082 I'm pretty sure it's not.
Noun: cyborg ‎(plural cyborgs)
  1. (science fiction) a person who is part machine, a robot who is part organic
  2. (science fiction) a robot who has an organic past
  3. a human with electronic or bionic prostheses
  4. cyborg m anim
  5. cyborg
(2 more not shown…)
 
lol im so confused
 
Ven
you seem to be.
 
Oh. Its program hnnng
I misread
 
7:44 PM
yes haha is this not a programming site
 
Ven
no it's a lounge
 
i see no chairs..
 
Ven
@Puppy ooh, you're right – I keep forgetting what lambdas in C++ really are.
@user3091082 yeah, you need to bring that with you
 
"@Puppy you're right" tautology much?
 
Ven
7:45 PM
:P
 
user1804599
7:56 PM
src/main/hack/FH/Semigroup.hh:7:28,28: This method is declared as abstract, but has a body (NastCheck[3002])
src/main/hack/FH/Semigroup.hh:7:28,28: This method shouldn't have a body (NastCheck[3001])
 
user1804599
lol
 
Ven
better make sure.
 
user1804599
PHP y u no static methods in interfaces
 
Ven
you literally want PHP to pull a Java.
 
You should rename the top folder `s` instead of `src`.
To make it more confusing
 
user1804599
8:03 PM
???
 
At first glance I thought "what the hell awk command did he come up with now". Then it dawned on me it was just a source path
 
Ven
lol
 
s/src/s/
 
Hi there.
 
wait a minute.. that sounds wrong
 
8:05 PM
@Khaled.K I was tempted to do that, but my point would have been even more obscure.
 
Man, what a weekend I have had.
 
Feb 13 at 20:44, by sehe
Oh stop with them stupid question mark barricades
 
@wilx What happened
 
Toothache the size Moon.
 
8:06 PM
Ok. That's a good summary. Fixed?
 
@sehe I wanted it gone, so bad it was. The doctor just gave me antibiotics. I was sceptic but they actually helped after about a day.
 
I was wondering if something like awk could've distinguished if you were feeding it a path or a substitute..
 
user1804599
@sehe Then please be clear.
 
Ven
@Khaled.K the argument order
 
user1804599
@sehe It's the same as the one Maven uses vOv
 
user1804599
8:08 PM
src/{main,test}/{java,php,hack,scala,blah}/{namespace,package}/foo.hh
 
@wilx Cool. One victory for rational medicine
 
Hello evreybody, i need to store in a vector some objects whose type is decided runtime. Those objects should have a method to return a variable which is different for evrey object so i can't use polymorphism since virtual functions' return type have to be covariant. Is there a way i could achive this ?
 
Ven
try harder
 
@sehe Yes. I almost begged the doctor to extract the tooth but she was like it would be a waste of otherwise not too bad tooth.
 
https://t.co/Hwfn9YdTEW
5
This is awesome. So
 
8:11 PM
@sehe fyi you are part of the problem, by posting this gif
 
@sehe This .gif has been shared so many times already .____.
 
user406009
@sehe Notice that the one with the different capitalization scheme has the most likes :P
 
@Michele I suppose boost::variant (nice but involved) or boost::any (instant but very loose) could fit your bill. And there's c++1z std::experimental::variant if I'm not dreaming it
@Mikhail I love it
@Morwenn I haven't seen the gif before.
 
Well, not here.
 
I only live here
 
8:12 PM
@sehe I've seen it shared dozens of times on Facebook.
 
Don't do FB. Friends don't let friends...
 
1 message moved to bin
 
'nuff said
 
@sehe Facebook is a nice place to be.
 
user1804599
gah, can't call a method empty in Hack
 
user1804599
8:15 PM
it's a PHP keyword
 
@Morwenn Facepalm is a nice hobby.
 
@Zoidberg looool
 
I don't always understand why it gets so much hate.
 
user1804599
public function testConcat(): void {
    $this->assertSame(6, Monoids::concat(Monoids::intAdd(), [1, 2, 3]));
}
 
user1804599
@Ven :3 :3 :3
 
Ven
8:16 PM
@Zoidberg no implicits / using / whateverelse in sight? :P
 
@sehe Is there a totally different approach to store in a container those object ?
 
(I don't hate facebook ~the community~. I hate facebook the ~crappy business model~. Facebook the ~what's ethics~. Facebook the ~you've got to live with this shit too~)
 
user1804599
@Ven Nope. Not possible in Hack.
 
Ven
thought so
 
user1804599
Still useful though.
 
user1804599
8:17 PM
Code reuse is great with this stuff.
 
user1804599
And it's well-understood abstractions.
 
user1804599
public static function make<T>((function(T, T): T) $append): Semigroup<T> {
    return new Monoids_Make($append, /* UNSAFE_EXPR */ null);
}
 
user1804599
This is a hack. /* UNSAFE_EXPR */ disables the type checker for a single expression. Semigroup constructor just constructs a monoid with a null identity element, then upcasts the identity element-retreiving function away. :)
 
@Michele I don't know what you're asking. Have you tried? coliru.stacked-crooked.com/a/3d8b3fbff691957c or coliru.stacked-crooked.com/a/3f5fe777a0c1e3ad
 
user1804599
8:30 PM
Ugh, strtolower is not a pure function in PHP.
 
Too much locale?
 
user1804599
:(
 
I want to read more from Ursula Le Guin.
 
8:55 PM
> Haskell programmer seeks forgiveness for using unsafePerformIO at meetup
 
Ven
lol
 
int APIENTRY WinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPTSTR /*lpCmdLine*/, int /*nCmdShow*/)
 
Adz
hey guys
 
user1804599
@Ven what would you call right-biased either? I don't like the name "either". It doesn't suggest the right bias.
 
Ven
\// : ^)
 
user1804599
8:57 PM
Must be alphanumeric, and start with letter or underscore.
 
Ven
call it Validation :P
 
if I use "Use Multi-Byte Character Set" it compiles, if I choose "Use Unicode Character Set" i get an error saying I can't overload WinMain. I'm guessing the cullprit is the LPTSTR param, but I'm not sure what to use so that it compiles in both
 
user1804599
No; that can result in multiple errors.
 
user1804599
And it doesn't necessarily validate anything.
 
#sehe Thanks much, boost variant works great
 
Ven
8:58 PM
ErrorOr :P
 
user1804599
ErrOr
 
Ven
wait, wrong bias
 
Adz
hey guys i just started looking at c++, does anyone know why you can't refer to a definition of a function without declaring it? (granted you've defined it after main)
 
@Michele I hope you will work it out. See the visitor examples when you get stuck accessing the values :)
 
@Borgleader You should be able to use the "Unicode" version just fine.
 
Adz
8:59 PM
or is that just c++ in general
 
@Adz Because C++ is a type safe language
 
@Borgleader Isn't it WinMainW or some such though?
 

« first day (2024 days earlier)      last day (2928 days later) »