« first day (1266 days earlier)      last day (3908 days later) » 

16:00
Well I'm certainly glad that the BBC knows what our country is called.
@rightfold but do you get the joke?
If you don't have counters you improvise. #mtg #magic #magicthegathering http://t.co/vHAG48fUGS
16:15
user image
6
are you motherfucking serious Facebook?
Validating first names is so wrong.
Even the middle name wtf
what would make the most sense for false || null when oring two Nullable<bool>?
user1804599
@JohanLarsson nope :V
@rightfold it is hard to explain but it is both lame and profane :)
user1804599
16:18
Is it a pun?
user1804599
Puns don’t always work when translated.
"kuken" is "dick" in Swedish.
@JohanLarsson It was actually easy to explain :P
+1
@R.MartinhoFernandes yeah, how did you know?
also you omitted the q ken
16:21
@Jefffrey haha
Letting you in on my secret: sv.wikipedia.org/wiki/Q, then "Q [ku] är den sjuttonde bokstaven i det moderna latinska alfabetet.".
@Jefffrey Come on, though. That's not your real name, is it?
So, Q is pronounced [ku] in Swedish.
Then I guessed "kuken" meant something.
@LightnessRacesinOrbit of course not, but why would facebook care?
Turns out it does.
16:23
@R.MartinhoFernandes #skill
@Jefffrey I've never been able to aptly explain why I agree with Facebook in this, but I do: it's no place for make-up-your-own-nickname-with-random-characters-and-kisses-and-unicode-ponies.
Their argument is going to be searchability, but their search is so poor anyway it's hard to lean on that.
For me it's likely a case of OCD-driven desire for database integrity.
@JohanLarsson I had en.wikipedia.org/wiki/Swedish_phonology already open in case there was another way of spelling those sounds.
@LightnessRacesinOrbit Yeah, they should be put in a mental hospital. I kinda agree too, except when it happens to me. :P
@LightnessRacesinOrbit But "fff" is not kisses and unicode ponies.
People have weird names.
G+ is even worse at this
16:29
The first + last name thing doesn't make sense in some cultures either.
Also pfff "real name". This is the only name I use online
it cant be worse than spotlight search engine
i dont remember when it was the last time it actually found what i was looking for
Alas my last name is U+1F4A9
well the search engine in iphone for contacts is as bad
i guess it must be spotlight too
personally
it's not that I think that Facebook are wrong to want to validate names
it's more that I don't see how you possibly can validate someone's name.
@CatPlusPlus not true, PiotrLegnica
I don't really care about Facebook's desire to sell ~real~ data
@R.MartinhoFernandes come and work in Sweden?
@R.MartinhoFernandes i thought you were going to post to an ISO standard for naming people :D
@R.MartinhoFernandes That happens a lot with popular things
> The given name is Dong
16:34
can you easily hash unicode names?
Uh, yes?
Why wouldn't you
is there a way to do something like hash(hash(name) -> hash) -> name
a name that when you hash it, and then hash the hash, gives back the name
if the hashes would be unique
you could validate names like that
and use your unique hash for a lot of stuff
No, you couldn't
16:36
maybe with two different hash functions
Names are not unique.
I don't get the logic behind this
@gnzlbg wait what
yeah
Hashes are unidirectional
16:36
John Smith may refer to: * John Smith, a common placeholder name Academics * John Smith (British mathematician), mathematician at the University of Oxford, 1766–1797 * John Blair Smith (1764–1799), president of Union College, New York * John Smith (lexicographer) (died 1809), professor of languages at Dartmouth College * John Smith (astronomer) (1711–1795), Lowndean Professor of Astronomy and Master of Caius * John Augustine Smith (1782–1865), president of the College of William and Mary, 1814–1826 * John Smith (botanist) (1798–1888), curator of Kew Gardens * J. Lawrence Smith (1818–188...
hashes are not meant to be used to retrieve data from
And those are just the famous ones.
Also twodirectional one wouldn't do anything either
:/
so just a map and an inverse map
Consider rotN for N = alphabet size which is reversible by itself
16:37
unique for every name
Woo you can do it both ways but that means absolutely nothing
A map of what to what
@JohanLarsson Hmmm, why? I don't know much Swedish, besides "sju", "tack", and "skål!"
a map from a valid name to an unique identifier and back
The only way to validate a name is to check a government-issued ID and hope that's not fake either
What identifier
@gnzlbg You mean a list of predetermined valid names?
16:38
but do you want to validate that the name corresponds to a real person
No such thing.
Any name is valid by itself
or to validate that it is a name
?
Anything can be a name
then what is the point?
you cant validate that
16:39
Especially if you consider that people can and do change their names to weird things
@gnzlbg That's the point
or their countries are at war, and their documents get burned
and get fake passports, which then become the real ones if some country gives them assylum
It's like with validating email addresses: just don't
@R.MartinhoFernandes you can do skål > kuken > tack
16:40
Oh, right, I know "kuken" now.
like some people don't even know their birthday
@JohanLarsson you want my dick?
shouldn't they be able to use facebook?
@Jefffrey how did you read it like that?
16:42
@JohanLarsson "cheers > dick > thanks"
no?
In Brazil, a father saw the expression “Made in USA” and christened his daughter with the name Madinusa.
People do all sorts of bullshit names.
@Jefffrey yeah, I was thinking he could use that sequence on friday nights
Madingermany doesn't quite have the same ring to it :p
@melak47 sounds like an aristocratic name
Madingermany III
16:44
@melak47 "Madinusa" reads quite nicely in Portuguese.
If I didn't know where it comes from, I would find it unusual but wouldn't even guess where it comes from.
@Jefff no facebook for you! >:D
especially since it's missing an e
@Jefffrey Final <e>s are silent in most Portuguese accents.
@R.MartinhoFernandes Yeah this particular validation I'd say is well-intentioned but short-sighted.
16:46
@Jefffrey maybe you could make a deal with acebook.
Though I did try to come up with a real name that has three consecutive identical characters, and I've failed thus far (I realise that this is not the way to demonstrate that a validation system is fit-for-purpose, but still.)
@Edward lol
@Jefffrey first name Jeff, middle name frey? :D
they even let me use "Hask Ell" for a while
16:48
ask @Ell?
@melak47 Already tried and it kinda sucks to be look at. The 3 fs needs to be close, to piss off scott properly.
@Jefffrey your decision of course, but "Heywood" is an acceptable first name for Facebook. :)
they obviously blacklisted jefffrey them assholes
why are you on facebook anyway. you've got the lounge :v
because uni group
16:49
posted on April 04, 2014 by Herb Sutter

That was fast! Filed under: C++, Microsoft

time to watch yesterday's talk I guess
buffering...
Lounge<DDoS>?
I'm actually going to download it
yay, gold badge #21
user1804599
kek
> Vlad the Deployer: Troubles Migrating
> I can’t tell you the number of times my one friend complains about his “profane” last name barring him from downloading visual studio express.
lol
@Feeds is it worth our time :)?
Ha! Found the one I was looking for.
Dammit, took a while.
> Nicholas Barbon was the eldest son of Praise-God Barebone
17:01
That W3C recommendation is p good
Nicholas If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Barebon who traded as Nicholas Barbon ( 1640 – 1698) was an English economist, physician and financial speculator. He is counted among the critics of mercantilism and was one of the first proponents of the free market. In the aftermath of the Great Fire of London, he also helped to pioneer fire insurance and was a leading player in the reconstruction work—although his buildings were planned and erected primarily for his own financial gain. His unusual middle name, given to him by his strongly Puritan father, is an e...
If only people weren't terrible at web and everything
@CatPlusPlus Yep.
@R.MartinhoFernandes still no three consecutive identical characters
I actually had a problem with default LDAP schema requiring common name and surname attributes for a person
It just doesn't work
17:04
did it hurt your precious little snowflake feelings
@LightnessRacesinOrbit Oh that. I can probably find one, but I'm not sure if it's worth investing the time :P
Someone mentioned this at dinner the other day: youtube.com/watch?v=hNoS2BU6bbQ; weirdly relevant.
It's not, esp that non-existence doesn't imply invalidity
trivial change to an already very old joke.
17:09
it was new to me
starred despite the oldness of the joke and rampant grammar problems
i don't grammar
@JohanLarsson genius
yeah but i*m told it has a comma in the wrong place. didn't spot it
user1804599
Not sure if I want to allow overloading on parameters of interface type.
17:25
who need grammar
@R.MartinhoFernandes how would you call the flat vector of vectors? All names I can think of are really verbose.... i've settled on flat_range_collection for now
although flat_vector_of_vectors might also work
Xeo
Xeo
@LightnessRacesinOrbit :)
cue that only 2 hard things about computer science quote.
something something and naming things?
Xeo
Xeo
caching, naming things, and one-off errors
two things: off-by-one errors, naming things and cache invalidation
17:29
@DeadMG and the off-by one, making it three
oh, I'm late. Anyways, I don't have my glasses on. I can only discern 1 message at a time
btw, does anyone play Payday2 ?
Hmm...
I want to limit template function's type parameter to be one of few types. Is it possible with C++11? Is there std::is_same<> or such?
@gnzlbg I'd just call it flat_jagged_array.
@R.MartinhoFernandes Like that's not gonna be super confusing :P
@VáclavZeman Declare the primary template (no definition), and then specialise it for the few types?
user1804599
17:32
Hey pups. Does LLVM put any restrictions on symbol names? I want to name a function “operator~” or something like that.
@gnzlbg Or just jagged_array, to be honest.
Flat is a detail.
@R.MartinhoFernandes I would rather specialize smaller function called from this bigger one.
@rightfold Not as far as I know. At least I've not run into any.
user1804599
Nice. I’ll try it.
flat is an important detail, otherwise I would be using vector<vector<T>>
thanks for the input, i just dont know what jagged means
17:32
Your mistake is currently being vague about things that you could just copy/paste. This is not going to work. The edge that experts have when looking at problems comes from experience. I've never experienced a compiler saying "boost libs not contains" something like that. So, no sorry, you'll have to figure that one out yourself. — sehe 35 secs ago
@R.MartinhoFernandes it seems that jagged array is a pretty common term in C#
@gnzlbg with proper allocators, even the most funky node-based container might end up storing all nodes adjacent/flat. Just saying. (yes, I'm pushing the boundaries of normal/usual/probable. But you'll see the point)
yes i do
boost container calls flat things flat
@gnzlbg It's a common term in CS, because all concrete implementations of memory hardware come down to linear addressing, meaning jagged arrays are a thing in every language
so flat_jagged_vector can be ok
17:35
I love flat_map, just my #$0.02
i love flat_set
but... mmm lets bikeshed some more
I need to name the github repo
boost requires names to be descriptive
people looking for a vector of vectors should find it too
vector<vector<T>> is pretty bad
in some situations
@gnzlbg It's because of the "shape" you such a construct has.
seems more like a rectangle/matrix.
############
#######
#########
###
########
####
#########
It's jagged.
i see
jagged_vector
17:38
bar_chart
bar_chart_vector?
i like jagged_vector
and jagged_multi_vector
not verbose
Also, WTF am I doing here trying to pronounce Nuxálk words.
thank you all!
bikeshed is over
How did tab even come up.
It's like catnip.
17:41
er, robot
shouldn't you be at home?
I'm killing time until dinner. Only going home after dinner.
I would look like a retarded idiot if you could see me a few moments ago.
2
as opposed to ... ?
An advanced idiot?
@DeadMG Someone relatively smart and hot as hell.
I agree, that is quite the opposite of what you look like :P
Xeo
Xeo
17:45
@R.MartinhoFernandes Why?
@Xeo Because going home and then for dinner would waste too much time.
I'm in the vicinity of where I'll have dinner
Kinda silly to go home only to leave five minutes later.
Xeo
Xeo
ah
@R.MartinhoFernandes ...
18:00
> Learn C and build your own programming language in under 1000 lines of code!
And of course it has butt and doge donation addresses
user1804599
Hmm.
C programmers are the worst
user1804599
I’ll just make overloadable operators predeclared multimethods.
Also HN arguing whether magic numbers for buffer sizes are better #defined or not :allears:
obtw @rightfold
user1804599
18:05
What is up?
I wouldn't depend on any technique that involves giving your functions specific binary names.
better to just give them arbitrary names.
user1804599
Well, function names in the binary don’t matter at all actually.
in Wide I used "__" + address of representing object in analyzer.
user1804599
Nice.
user1804599
What about debugging symbols for stack traces?
user1804599
18:08
I want the module name and function name in stack traces.
I actually haven't yet figured out LLVM's debug information stuff
I haven't looked into it in too much detail
user1804599
Ah.
You'd need a separate mapping to demangle names like that
yep
or more generally, I know that it has entries for things like file name, location, etc, so that should be enough to find the function you want.
Also makes FFI to your crap a pain
Not worth it
18:11
@CatPlusPlus On the contrary, it makes it easier.
because the binary export names are arbitrary, you can assign them whatever you want.
so if you have an interface that calls for importing a specific name, you can easily provide.
or to be more accurate, I actually generate a trampoline that takes care of some internal ABI details, but that's neither here nor there.
user1804599
I don’t plan on allowing calling Styx code from other languages other than callbacks through FFI.
user1804599
IOW you cannot have an entry point that is not from Styx.
so nobody can export a Styx dynamic library to C?
that's pretty silly.
user1804599
18:14
No.
That's p useless
FFI to the whole damn world depends on being able to expose a C interface.
user1804599
It would mean you could link in multiple Styx libraries, which would complicate multimethods because the compiler couldn’t see all subtypes of an interface type.
that's really an issue you have to solve anyway.
user1804599
You can call C functions from Styx, and pass Styx functions as callbacks, though.
18:15
not being able to link multiple libraries together is a pretty critical problem.
user1804599
You need to recompile everything over and over again.
then you really need a better implementation.
user1804599
All I’m interested in is static typing and multimethods anyway, so I don’t really care much about an FFI.
user1804599
This is a toy language.
and a useless toy is all it would ever be
user1804599
18:16
Not really.
user1804599
Because I learn a shitload of it.
that's partly true, but partly not true.
you'll never learn to make a non-toy language if you never attempt it
user1804599
I need to start somewhere.
user1804599
And I want multimethods with static checking no matter what.
I solved the issues caused by the short-circuit so now the fridge works normally; but now the boiler stopped working for whatever reason
why is this happening to me
all I wanted was to make some unhealthy food and have a beer with it to celebrate the weekend :(
18:20
o shit
why did I eat that banana
user1804599
Wait.
user1804599
Concepts are in C++14? :v
no.
user1804599
Oh.
user1804599
Oh, wait “C++14 + concepts.”
user1804599
18:21
Herb’s Python example is silly; it doesn’t use sum function.
What example
user1804599
Mean example.
Beh C++ talks
user1804599
Meh, Herb sucks.
user1804599
18:25
boost::any isn’t anything like C#’s dynamic and JavaScript’s dynamic typing.
no, it certainly is not.
user1804599
It is.
user1804599
C# dynamic and JavaScript allow method calls. boost::any is just a silly container.
yes, I know.
I was agreeing with you.
user1804599
Oh. :P
18:26
@rightfold are you...disagreeing with yourself?
user1804599
I need to drink.
@melak47 He is.
user1804599
I’m confused because of my mental state.
@rightfold Don't drink, you'll start disagreeing with yourse- Oh wait.
@rightfold just finished watching the talk; he's been repeating himself for 3 years now o_O
user1804599
18:28
kek
ladi ladi data locality
ladi ladi lambdas
do you have ideas for state that changes and needs monitoring and reacting to? I wanna write a thing to put on github to demo a thing.
That sounds incredibly vague.
ok I'll try to elaborate
a thing to demo a thing, which monitors and reacts to changes to...stuff? :p
18:32
Gotta choose between nonius, Unicode in C++11, and std::function/lambdas abuse for my lightning talk in two weeks.
I'm leaving now, though.
@melak47 yea i made a mess
@R.MartinhoFernandes lambdabuse sounds fun :)
what is a lightning talk
a quick one, I imagine :S
@melak47 such incredible deductive reasoning o_O
18:33
maybe with a thundering voice? :p
and striking images :p
opening a beer instead of failing to explain :)
@R.MartinhoFernandes Cool, what is the lightning talk?
18:40
@R.MartinhoFernandes lavavej-style?
Oh, it's really meant that, lol
Is it in Berlin?
10-15 minutes
Yes. C-Base
@R.MartinhoFernandes Oh, that thing is quite big, tbh, I have never of it before.
@bamboon you seem Englishes good very
@ScarletAmaranth Know, I do
Oh, now I see what you mean
18:52
It's essentially Geek HQ, Berlin.
Yeah, wikipedia told me
kinda cool
0
Q: How does one clear the screen in c++ microsoft visual studios

Program masterAlright well I was wondering how one might clear the console screen in a program without using system("CLS") because I hear it is bad to use for alot of reason, not I have used the curuse and I wont work with my program for some reasons keeps coming back as not being found and the clrscr(); but i...

^^ Answer: system("shutdown -s");
:)
@Mysticial I cant understand most of what he said.
Holy run on sentence batman
@Borgleader You should ask @ScarletAmaranth, he seem Englishes good very
Well, computer geek HQ at least. Boardgame geek HQ is Maddhof aka Ben's place.
> not I have used the curuse
user1804599
Was already watching it. :P
Really out now.
@rightfold I got kinda tired of Herb some time ago, but I'll give him another chance :)

« first day (1266 days earlier)      last day (3908 days later) »