« first day (1848 days earlier)      last day (3099 days later) » 

user1804599
6:00 PM
lol I have a great idea for visiting a variant without the boilerplate of creating a visitor class
 
Ordered my laptop. Now I need to figure what to do with the free 27 in. monitor it comes with.
 
> A temporary object bound to a reference parameter in a function call (5.2.2) persists until the completion of the full-expression containing the call.
 
user1804599
write a template function that takes a variant, then throws a pointer to the stored value as an exception
 
Isn't the full expression containing the call to identity: auto&& str = identity(std::string())?
 
user1804599
then you can write try { visit(variant); } catch (T*) { ... } catch (U*) { ... } etc.
 
user1804599
6:02 PM
doesn't check you handle all cases though :(
 
Oh I see
 
@Mysticial give it to me
no stars
lounge must be on holiday
 
@Elyse You can do something similar with a bunch of lambdas and some seriously dodgy inheritance that can require you handle all cases.
 
inheriting from lambdas is not dodgy :(
it's cool!
 
@AlexM. I don't have enough desk space for it. But it looks like it has wall mounts.
If I'm crazy I can put it above my left monitor as the 5th monitor. But I'll need an extra stand and video card.
 
user1804599
6:10 PM
lol, I just used protected inheritance
 
@Mysticial glue it to your laptop
 
I'll probably wait a year before I attempt this mod to the laptop: youtube.com/watch?v=NJITXKQmC90
It's ridiculous. But okay...
 
user1804599
6:24 PM
wooo, declarations
 
user1804599
confx.main.Main = (function(x)
return x
end)('Hello, world!')
 
user1804599
:D
 
user1804599
from let Main = (\x -> x) "Hello, world!".
 
are you lowering Haskell into Lua or something?
 
huh, is clang correct here? Is a user defined default ctor mandatory for constexpr?
 
6:29 PM
@Mysticial Give it to me.
I have a 21 inch monitor.
Need the extra 6 inches.
7
 
star bait
 
@melak47 Constexpr usage has nothing to do with it. It's because you're initializing the value as constexpr. You'll face the same problem with regular const.
and protip: it's because that just doesn't make sense at all.
 
oh, I see. constexpr test t{};
 
user1804599
Does Lua have a short-hand for a = a or { }; a.b = a.b or { }?
 
user1804599
@Puppy No, not Haskell.
 
6:32 PM
you can get the same outcome with a = a or { b = { } };
well, I guess not entirely the same outcome.
 
user1804599
No, that does not set b if a was already present but a.b was not.
 
yah.
 
user1804599
@Puppy I want a purely functional statically typed language with an implementation that is not 100000000000TB and that can be embedded into other applications. Lua is an implementation detail.
 
those implementations are 1000000000TB for a reason ;p
 
user1804599
So, same scope as stuff like Python, Ruby, Lua, etc.
 
user1804599
6:36 PM
It's also not lazy, as Lua is terrible at laziness, and I am not familiar with and am not interested in implementing strictness analysis.
 
woot, I want this
NFSU flashbacks
(acura rsx)
 
@ElimGarak lol @ dog
 
user1804599
dat ass
 
6:41 PM
 
grr
fuckin Windows 10 told me I didn't have permission to terminate a process on my computer.
 
did you ask nicely?
 
user1804599
That's DRM in your face.
 
@melak47 you mean "sudo"?
 
kungfu taskkill on Windows
 
6:45 PM
@Puppy lol, I'm gonna be going to war with Windows 10 next week.
The laptop with be my first Windows 10 box.
Though I'm probably gonna try a few things on my sandbox before I attempt anything destructive on the laptop.
@ScottW Sorry, you need rephrase the it the form of a screenie request.
 
user1804599
poepchinees
 
@Mysticial screen pls
 
Of what?
 
of the rep
 
Ell
> the it the form of
 
6:49 PM
wrong answer
 
Mysticial Demystified
 
oooh
I get it now
can't find a good question tho
 
does Vlad have deleted answers?
it seems like those would be drama vortices
 
imagine if someone deleted one of his answers just for fun
maybe a moderator retiring the next day
 
7:00 PM
Good morning
I think today I will be going out on my first date
 
have fun don't mess it up
 
Mysticial hoarding rep for the apocalypse
 
I've already met them
 
@ScottW I've been preparing for this moment for the last two weeks! The sight of green on the bar no longer attracts my immediate attention! :D
 
@Mysticial hmm I so miss this question you know stackoverflow.com/questions/33501745/…
 
7:01 PM
@VermillionAzure Have funzies
 
maybe you can help?
 
instead, it's the third thing I see on any SO page
 
@AlexM. lame
 
it's the only thing I could think of
it's not like awesome questions get posted errday :<
 
@VermillionAzure How many of them are there?
 
7:02 PM
@Morwenn 2
which with me makes 3
HAHAHA just kidding
We haven't even called it a date
 
No fun :(
 
The first time was very fun
 
user1804599
Cloud seeding, a form of weather modification, is the attempt to change the amount or type of precipitation that falls from clouds, by dispersing substances into the air that serve as cloud condensation or ice nuclei, which alter the microphysical processes within the cloud. The usual intent is to increase precipitation (rain or snow), but hail and fog suppression are also widely practiced in airports. Cloud seeding also occurs due to ice nucleators in nature, most of which are bacterial in origin. == MethodologyEdit == The most common chemicals used for cloud seeding include silver iodid...
 
user1804599
TIL this is a thing.
 
but awe-inspiringly bad ones get posted more than once a week
 
7:04 PM
Perhaps its better if I don't post this stuff
TRANSFORM!!!
 
but how will we stalk you then? :(
 
What is the y-vector of the supernova once it passed its initial state and begins to rely on the transient domain of the 5th dimension - The Daily Cinch
2
There is no y. There is only y-not
 
there is no y, only wtf
 
@Elyse I like how the image has an A-10 bombing the clouds into submission :p
 
@jaggedSpire spoken like a true Cinch
Rise, disciple.
Cinch Spire
And I can be Cinch The
 
7:07 PM
@VermillionAzure no, I'm not your disciple if you want some disciples you can go kidnap some
 
@jaggedSpire If you drink the kood-aid, kid, you can go take a nap
Then you will be Cinch Spire
 
ಠ_ಠ
 
And you will be MINE
 
nope
 
We have cookies
 
7:08 PM
@VermillionAzure denied
Also, I was always on the dark side. Just ask @ThePhD
@ThePhD Isn't that right, friend? :3
 
oh god
 
Ell
I want to make my own single board computer
I suppose I should start with a raspberry pi
 
@Nooble so how is it going koala
how old are you again?
@Ell what do you mean by this
 
FUCKING JAVA CHECKED EXCEPTIONS
 
7:15 PM
@VermillionAzure 51.
 
@VermillionAzure at least 1 :P
 
@Nooble Ah
I will be turning 18 this month
 
@VermillionAzure Gratz
 
@TonyTheLion meh
I'm not special
I'm just old
 
Ell
@VermillionAzure old :L
That's hilarious
 
7:16 PM
@VermillionAzure That's not old
 
WSASocket(AF_INET, SOCK_STREAM, IPPROTO_TCP, NULL, 0, WSA_FLAG_NO_HANDLE_INHERIT);
 
Ell
I'm the old one, I'm 20 this year
 
I think I'm going to throw up.
 
Not young enough to impress :|
 
Ell
@elim what's bad?
 
7:17 PM
@Ell winsuck2
 
@Ell I ate some winsockets and they are long past their expiration date. :D
 
Ell
Doesn't look much different to Unix api at first glance
 
You should have frozen them. I hear there are some good winsock bread recipes
you can feed them to your enemies
 
@Ell Windows provides a BSD compat layer too.
 
typedef UINT_PTR SOCKET <- bleeding edge right there.
 
7:19 PM
lel
WinAPI and its opaque pointers everywhere
 
opaque
 
guess that was a thing back then.
 
@TonyTheLion what are deez opaque
Isn't it stuff like you cannot touch but can only reference
 
Good eve @all from Antarctica. The force is strong here.
 
so you always need to interact with it using the API?
 
7:20 PM
In computer programming, an opaque pointer is a special case of an opaque data type, a datatype declared to be a pointer to a record or data structure of some unspecified type. Opaque pointers are present in several programming languages including Ada, C, C++, D and Modula-2. If the language is strongly typed, programs and procedures that have no other information about an opaque pointer type T can still declare variables, arrays, and record fields of type T, assign values of that type, and compare those values for equality. However, they will not be able to de-reference such a pointer, and can...
20
Q: What is an Opaque pointer in C?

Renjith G Possible Duplicate: What is an opaque value? May I know the usage and logics behind the Opaque pointer concept in C? /R

Here you go, enjoy reading :)
 
To complement Tony's links, I suggest whipping up an irish cream cappuccino.
 
user1804599
opaak
 
Irish coffee sounds amazing
 
user1804599
opake wijzer
 
@Elyse lol
 
user1804599
7:22 PM
Wat is een opake wijzer in C?
 
@ElimGarak: Mentioning that yummy drink is a cruel and unusual measure.
 
user1804599
In C++ how do you check whether an ASCII letter is uppercase?
 
user1804599
no locale-specific bullshit
 
7:24 PM
awh
 
lol "ASCII" and "not locale-specific" in the same sentence
 
user1804599
oh, wait
 
user1804599
c >= 'A' && c <= 'Z', duh.
 
cad
@Elyse std::isupper?
 
7:25 PM
also isupper, but it's broken
 
user1804599
1 min ago, by Elyse
no locale-specific bullshit
 
user1804599
> Checks if the given character is an uppercase character as classified by the currently installed C locale.
 
how can it not be locale specific
isn't there always a locale?
 
user1804599
You can create a locale in which A is lowercase.
 
7:26 PM
oh
 
user1804599
Also, "currently-installed C locale" means that the function is impure.
 
user1804599
i.e. terrible
 
user1804599
like sqrt
 
So uh
what makes opaque pointers bad
 
and isupper doesn't just take a char and return a bool
 
cad
7:27 PM
@Elyse What's the uppercase of 'ß' in German? 'SS'?
 
user1804599
Yes.
 
@VermillionAzure didn't say they were bad, just seems that WinAPI had lots of them.
 
..aaaaand.. Vlad has more going for him than Mourinho :)
 
@Elyse There's ascii::isupper too.
 
user1804599
7:27 PM
@Morwenn Where?
 
@Elyse Not standardized :D
 
user1804599
I'll just use c >= 'A' && c <= 'Z'.
 
user1804599
bool is_exported(std::u32string name) {
    return !name.empty() && name[0] >= U'A' && name[0] <= U'Z';
}
 
@Elyse I hope you're not targetting EBCDIC systems.
 
can't you conceive of a proper syntax?
 
user1804599
7:28 PM
@Morwenn C++ standard requires this to work.
 
@Elyse Only for characters '0' to '9'.
 
user1804599
Oh. :v
 
user1804599
Well, input must be UTF-8 encoded anyway, so whatever.
 
user1804599
Input is decoded as UTF-8. Invalid UTF-8 is rejected. Resistance is futile.
 
7:30 PM
Shouldn't be a problem then.
 
user1804599
U'A' also guarantees USV AFAIK.
 
u8'A' too.
 
cad
@Elyse And what about é and such?
 
user1804599
Yes, but I'm comparing char32_ts and I don't like implicit conversions. :P
 
user1804599
@cad They are not allowed in identifiers.
 
7:31 PM
Oh.
 
lame
Should be able to have a function named 🕴
 
Hey guys, I'm a newer member, just received the ability to chat. Is it ok to post simple questions in the chat? Or is that sort of thing not ok to do here?
 
Why not putting that std::isupper in to a thin bool wrapper that hides that ugly int?
 
@joe_04_04 yes
keyword
 
user1804599
I hold a strict view that code must be in English and without diacritics, and only ASCII must be used in identifiers.
 
user1804599
7:35 PM
If you want to use an English word that contains diacritics, first find a synonym that lacks them, and if you can't, then discard the diacritics.
 
Haha, fat chance.
 
user1804599
Using non-ASCII characters only breaks existing tools and makes refactoring more difficult.
 
user1804599
It has no benefits at all.
 
Please read the rules. Thanks a bunch.
14
 
user1804599
No, I have already read them. Please fuck off.
 
7:39 PM
@joe_04_04 I'd tell you to take a look at the rules, but--oh hey they've been reposted
 
@Elyse oh you
 
ugh another bullshit library forcing me to make it a DLL out of it
 
user1804599
did somebody say REPOST??!?!
 
@Elyse yes
 
I have never read the rules; ignorance is bliss.
 
user1804599
7:39 PM
DOWNVOTE!
 
@joe_04_04 thank you for asking :)
 
user1804599
@FilipRoséen-refp Read the rules or GTFO.
 
@Elyse You paid attention because it's the only thing yer good at, eh?
 
@Elyse "ok"
 
Two is better.
ooh cake.
 
@Elyse hah! I hovered!
 
user1804599
Hovering doesn't tell you much.
 
it does when it displays the link destination in the corner of the screen. :3
 
user1804599
The link destination doesn't tell you much.
 
@jaggedSpire NO WAY.
Oh god.
 
7:43 PM
stop flagging
 
user1804599
stop flogging
 
then clean up this shit yourself
 
@Nooble 2revelation4u
 
@Nooble lol
 
@Puppy no need to flag it, you could just ping me
 
7:44 PM
that assumes that you're actually here
 
Oh no a link
Must destroy
 
@Puppy oh c'mon
 
Ell
@Puppy used offensive word. flagging.
 
Ok, I'm a bit confused on how cin.get() works, because sometimes it prompts the user for data entry and other times it doesnt. My guess is this. Say you have char Storage. You call cin.get(storage) twice in your code.
 
I just understand x = x++ here currently; cu later, folks!
 
7:46 PM
The first time, the input buffer is empty so it prompts the user for data entry, the user types "ABCD," Cin.get grabs the first letter and stores A in Storage. The second time cin.get(storage) is called, it doesn't prompt the user for entry because the input buffer still contains "BCD," so instead, it grabs the next letter, "B" and replaces "A" in storage with "B." This is just my guess on how it works, any clarification would be great.
 
who said anything about offensive words?
it's just pointless trolling.
 
Damn.
He had it ready.
 
brings the Lounge down to the level of 4chan or reddit.
 
@joe_04_04 Yes
> implying Lounge needs to be brought down
 
Bring down for what?!
 
7:47 PM
I'm down for everything
 
@Nooble saxophone plays
 
Thanks @CatPlusPlus, I had an assignment dealing with cin.get() and I didn't fully understand it, but its starting to make more sense nowl
 
@joe_04_04 Fairly sure you need to clear.
 
user1804599
@VermillionAzure epic sax guy
 
Also just use std::cin like normal people.
 
7:48 PM
correct, I assume you would need to clear it, but I just made up that situation for the sake of understanding how it worked
 
> normal people
 
@Nooble or std::getline
 
implying any such do C++
 
user1804599
Don't use the I/O stream library at all.
 
@TonyTheLion you're saying I'm not normal?
horror of horrors
 
7:49 PM
@jaggedSpire :D
 
what if my mother found out?
D:
 
user1804599
It's like your mom's attempt at losing weight: an epic failure.
 
Miracle of miracles!
 
I was afraid that god would frown!
 
Ell
7:49 PM
but idk anything about security really
 
1 message moved to bin
Did mention something about rules earlier?
 
@Tony not loudly enough it seems :p
 
Hi Smurf.
I was promised a blue name.
 
Sorry Tony, this is my first time in chat.
Ill look at the rules now.
 
damn it, I forgot to buy something normal for breakfast... so I think it's going to have to be veggy stir fry :\
 
7:51 PM
@JonClements seems so
 
@Ell Since you can pick CA cert when setting up connection, you can not put it into /etc/ssl/certs so it's not trusted for web and stuff
 
@thecoshman What a terrible, terrible problem.
 
@JonClements hi
 
Ell
@CatPlusPlus Ah okay cheers
 
cheers your face
 
7:52 PM
@Puppy at least I have a solution... an odd one I grant you
 
so 5th of November celebrations are now an entire weekend?
 
oooh, maybe I have some eggs
@TonyTheLion it's not a thing over here :\ I sort of miss it.
 
@TonyTheLion The what now celebrations?
 
Ell
@TonyTheLion apparently
 
@TonyTheLion Remember, remember, the fifth of november.
 
7:53 PM
Have a good one guys.
 
Ell
@Puppy remember, remember, the 5th of november, gunpowder, treason and plot
 
I know of no reason
 
oh that thing
that was old hat fifteen years ago
 
Ell
guido fawkes
 
I've paid it no attention since
I did enjoy V for Vendetta but otherwise
 
7:54 PM
@Puppy I've been hearing fireworks three nights in a row
 
user1804599
So I have this wonderful idea.
 
only reason why I remember it
 
@Elyse sex?
 
V for Vendetta was the last decent W Bros movie lol
 
7:55 PM
> With the announcement this week that a new Star Trek TV series is in the works for 2017, it seems the franchise may finally be in a position to grow up as well.
 
I'm happy to report that I have been spared any fireworks at all
 
You mean, grow down to an imbecile child?
 
@ElimGarak Damn kids!
 
much like I managed to avoid being dragged down to the pub
 
7:55 PM
@ElimGarak Wait I thought you'd be happy with a new Star Trek series?
 
TNG/DS9/VOY/ENT and the related movies are my thing, this new crap is :(
 
@Puppy by who?
 
user1804599
I'm going to implement alpha renaming.
 
HA HA HA GAEM BUILDS /cc @Nooble
 
my colleagues
 
7:56 PM
@набиячлэвэлиь Miracle!
 
But tbh, Matrix was their pinacle
pinnacle
 
Pineapple
 
lol
 
@ElimGarak Star Trek was acceptable but Into Darkness was just awful.
TNG and DS9 were pretty good, VOY was mostly awful but that's what you get for having two series and not enough writers, and I thought ENT was OK
 
@Puppy yeah... that was some weird episode of Sherlock :p
 
7:57 PM
@Elyse What is Alpha Renaming?
 
It's like beta renaming except alpha
 
user1804599
Lambda calculus (also written as λ-calculus) is a formal system in mathematical logic for expressing computation based on function abstraction and application using variable binding and substitution. First formulated by Alonzo Church to formalize the concept of effective computability, lambda calculus found early successes in the area of computability theory, such as a negative answer to Hilbert's Entscheidungsproblem. Lambda calculus is a conceptually simple universal model of computation (Turing showed in 1937 that Turing machines equaled the lambda calculus in expressiveness). The name derives...
 
@CatPlusPlus makes sense
 
user1804599
It avoids issues with optimisation and code generation.
 
user1804599
7:59 PM
Also verifies that all references to names are in scope (because I bork on free verbibols).
 

« first day (1848 days earlier)      last day (3099 days later) »