« first day (1942 days earlier)      last day (2997 days later) » 

12:00 AM
why not
 
make it a policy vOv
the direction, too. while you're at it :p
 
@milleniumbug Okay, it makes sense if you want to see what's been added
 
12:17 AM
@Prismatic It shouldn't scroll, but doing something to let you know you have new mail is probably useful.
 
Ell
12:31 AM
* you've got mail *
 
vs ...
* you've got junk mail *
I need to start jogging again, in preparation for this 105km hike
 
@TelkittytheWebDeveloper 100km hike? gonna cross a state?
 
I am doing this next month
I have not had much training for the past 6 months ...
 
@Ell I'd prefer something a bit more subtle.
 
@TelkittytheWebDeveloper oh wow, that looks so cool
 
12:34 AM
@JerryCoffin a flashing pulsing glowing UI element pointing you in the direction of the new items
 
It supposed to be one of the top 10 hikes in Australia ... I'll be camping on the cliffs (that's where some of the campsites are, so I heard)
 
@melak47 Maybe that's a little too subtle (at least assuming your users are all blind, so they can't see it).
 
I forgot the haptic feedback, you're right
 
@melak47 Perhaps a siren, strobe light and (if the user doesn't respond within 10 ms or so) something to generate a small earthquake and a volcano?
Gosh, I seem to be off my game today though--I should undoubtedly have included the sun turning red, and a swam of locusts descending on the land.
 
I think lounge is already asleep
your effort is wasted :(
 
12:46 AM
MORNING
 
user406009
@HubertApplebaum Good morning.
 
@melak47 Probably. I'm probably having a dream right now.
 
@JerryCoffin lol
 
Then again, maybe not. If this were a dream, the people I see should be beautiful, naked women, not middle-aged geeky looking engineers.
 
Maybe, deep inside, in the abyss of your subconscious, this is what you really desire?
besides, you could have nightmares
 
12:55 AM
@TelkittytheWebDeveloper Or maybe (hark! is that the Dawn Treader I see?) these are actually dreams, not daydreams.
 
> India is 2x+ USA populations.
More HN facts
 
more like 4 times ... nearly anyways
 
> South Korea is [...] and is mostly a US colony.
HNing hard
 
Ell
HN?
 
by bjarne that's delusional
 
12:58 AM
@Ell HackerNews
 
not sure if troll or just terminal HN state
> China is wasting effort by creating things because they don't wanna use the things rest of the world uses, and the rest of the world doesn't wanna use their things because it would be giving power to a non-liberal democracy.
 
Chinese population is 50+ times that of Australians, although area wise it has only 25% more
 
TIL China is a non-liberal democracy
We need an HNpedia
 
plsno
 
okay am done for the day
WTB> chrome extension that blocks any kind of "comments"
 
user406009
1:04 AM
Arg, n^n really sucks.
 
> To Indians, phone/internet is a mode of communication first.
my cancer
help @Rapptz
 
depends on what n^n is for ... for computation times, it sure sucks
 
user406009
Yeah, it's the computational time.
 
user406009
For my current best idea of calculating species tree probabilities given a gene tree.
 
just hardcode narcissus = 1.0 as the probability because narcissus are the best trees
 
user406009
1:09 AM
Uh, narcissus is a flower. Getting senile in your old age Cicada?
 
user406009
Narcissus /nɑːrˈsɪsəs/ is a genus of predominantly spring perennial plants in the Amaryllidaceae (amaryllis) family. Various common names including daffodil, daffadowndilly, narcissus, and jonquil are used to describe all or some members of the genus. Narcissus has conspicuous flowers with six petal-like tepals surmounted by a cup- or trumpet-shaped corona. The flowers are generally white or yellow (orange or pink in garden varieties), with either uniform or contrasting coloured tepals and corona. Narcissus were well known in ancient civilisation, both medicinally and botanically, but formally...
 
also the name of the protagonist of a greek myth
 
Also th-
honk
 
Oo (narcissus == daffodil) = true
 
1:12 AM
@jaggedSpire no shit sherlock why do you think the flower is named narcissus
 
@HubertApplebaum ur mum
2
 
@Lalaland Well that article states that they have roots and and a tegumen so I don't see why it can't qualify as a tree?
All prerequisites are there IMO
Not sure what you are trying to get at actually lol
 
im trying to update my android sdk and the DL speed is 25kb/s
why are you doing this to me google
 
user406009
I think the Lounge has gone downhill since we started discord.
 
@HubertApplebaum Hmm...."a woody perennial plant, typically having a single stem or trunk growing to a considerable height and bearing lateral branches at some distance from the ground." Narcissus seems to meet roughly...um...half of one of the criteria in the definition of "tree" (it is a perennial). I guess if you include "from the viewpoint of an ant", you could also sort of include the "considerable height" requirement as well...
 
user406009
1:16 AM
The split is annoying.
 
Ell
When did we start discord? :V
 
Friday or Saturday
 
@Ell Therein lies the problem: many didn't.
Oh, and it may not help that the link in Tony's pinned post is "invalid or expired".
 
@Ell I was going to ask the same thing yesterday
apparently most of the regulars were already on it
 
Ell
1:26 AM
Well I tried but its borked4me
 
@JerryCoffin Yeah this one doesn't expire.
 
Ell
But for "us" to move, everyone has to
 
I downloaded app on my mac and instantly regretted it ...
 
well we're there
it's pretty nice
you should give it a try
@Mysticial :wink:
 
Ell
I gave it a try and client doesn't scroll to bottom on new message :(
 
1:31 AM
same thing for me on my laptop but not at work, interestingly
 
Ell
It's a bug
 
on the web version only
 
I consider this as a feature
makes easy to catch up with the chat when alt-tabbing
 
for those of you who have used Unreal Engine -- is there an actual download and installer? Or do you have to compile it after getting sources on your own?
 
Ell
No way josé
Also o have a question
Why do I torture my body so?
Night all
 
1:33 AM
@Rapptz Cool. Someday I may have to plug a microphone into my computer again, so I can try out things like that.
@Ell G'night.
 
@Ell nite
why are tomatillo skins sticky
 
there's no one currently at the voice channel, everybody uses text channel now
 
> After 13 years, GameTrailers is closing down today. Thank you for your continued support over the years. It has been an adventure.
@jaggedSpire idk what got over me, i clicked your link and then i ended up reading a weightloss article
>.>
 
@Borgleader lol
 
1:41 AM
@jaggedSpire what have you done to me
 
@Borgleader I just wanted to share some neato information about tomatillos
it's just that everything I do turns out evil
because I am a soulless monster /cc @ThePhD
 
@Borgleader What were they doing?
 
@ThePhD wut?
 
Like
What did GameTrailers do?
Just... hope Video Game Trailers?
 
they did a lot of video content related to video games
posted trailers, reviews, previews, interviews, ...
they had this cool series for a while called Pop Fiction
which was the video game equivalent of Mythbusters
The Final Bosman was also a pretty good show
 
1:45 AM
Aww.
Well, RIP
 
Ive been going to that site since I was in high school
:(
 
Guess it's time to grow up, then. :D
 
I'm very much grown up :(
 
Shh, shhh.
It's okay.
Pat pat.
We'll do this together.
 
@TonyTheLion @jaggedSpire Lets move there :D
 
2:00 AM
Oh, not gonna invite me, huh?
Just going to create your consortium of catfacing evil?
NOBODY TO KEEP YOU IN CHECK?
I see how it is.
 
@ThePhD you have to finish your degree :)
 
q_q
 
@Borgleader yes pls
 
but yes, join us afterwards
 
well everything is chopped for my green salsa except the cilantro
:)
finally. I need to invest in a blender
 
2:04 AM
@ThePhD wanna go fetch some tea?
 
@Borgleader Is that mist or pollution lol
 
@Prismatic im gonna say mist
 
2:31 AM
did somebody say blender?
blender© is a very outstanding tool for graphics
Some people say that blender© is a must for every graphics artist.
 
@VictorLopez wont help in making salsa
you can stop advertising now
@ThePhD gl
 
C-C-C-Can't you believe [blender](http://www.blender.org)© will help you create awesome fluid simulations that includes but it is not limited to:
Water.
Juice.

And other beverages you may think of, who knows? probably [blender](http://www.blender.org)© is what you're looking for.
 
I am like 98% certain I need the whirly-blade in a jar
 
Use Jack Lalane's Power Juicer
 
this needs more jalapeno it's disappointingly mild
...I bet mango would be good in it
...I have a mango
 
2:41 AM
https://mango.blender.org/
ayyyyyyyyyyyyyyy
maybe i should plonk myself now
if i go to sleep thats like ignoring myself, that'll work
toodles
 
rip
this mango is bad
:(
I salvaged some of it though
 
My greatest invention.
 
conclusion: mango + green salsa = amaze
@ThePhD what is?
 
implicit_wrapper<T>
 
well I was gonna call you Peter Sommerlad but I've actually not heard of that one before
 
2:48 AM
Automatically dumps itself into either T* or T& depending on what's required.
 
neat
 
It's useful for my function bindings, where people can bind free functions to the scripting engine but want them to behave like "member functions".
 
My first thought was it "prevented" implicit conversions by implicitly converting to T and by doing that took the place of the single implicit conversion allowed
@ThePhD ah
welp, time to go through all the design patterns and implement them in C++ for great memorization
 
Kinky
 
that is definitely what I would call it
 
3:06 AM
hey, is there a way to change what a shared_ptr is pointing to using another shared_ptr?
do I have to reset() it using the raw pointer from the shared_ptr? that sounds kinda hairy
 
...
you mean other than operator=
 
I can't seem to assign to it
 
is it possible the pointer you are trying to assign to is not mutable
 
1 sec, might be me being a dummy
 
3:08 AM
also, what error are you getting?
 
i was trying to assign a const shared_ptr to a non-const
 
well then
that would seem to be your issue
 
std::shared_ptr<const Blah> means the shared_ptr can change, and but the object it points to can't right?
 
yes
but you wouldn't be able to assign a shared_ptr<const T> to a shared_ptr<T> because that would violate const-correctness
 
yep
the objects I'm hanging onto shouldn't be changed ever
OpenGL texture references
 
3:15 AM
Mmm
 
indeed
 
...so my tag score for is getting calculated from all but 2 of my answers, which would imply that I've got two wiki'd answers, but I have none.
and my tag score is still low enough that it's driving me crazy
 
teach me what a tag score is and I'll star the answer
:)
 
:P
I understand that it's the total number of upvotes you've gotten for answers in a tag
 
there
so, I have a map of objects <string, SpriteFrame> that I'm using to look up particular frames from a spritesheet
currently I look up the frame via the string key, and return it's address
I'd like to get away from passing back a raw pointer, would I just wrap its address using a smart ptr?
even though that smart pointer shouldn't actually manage the life of that object
?
 
3:22 AM
that doesn’t seem advisable
 
a pointer is a non-owning, nullable, mutable reference to an object
7
and if you want non-mutable you can make it const
 
You can delete a const pointer
 
why would you delete it though
 
if I use SpriteFrame * const frame;
 
Then again you can get the raw pointer from a shared pointer and do whatever you want to it
 
3:25 AM
can you delete that one?
 
> "Am I intelligent enough for X" is not a programming question. Sorry.
 
and the answer is no
 
is that answering my question Hubert?
 
why is the pointer thing starred is it dirty
 
hmm?
 
3:27 AM
@nenchev Yes if you have a raw pointer regardless of const-ness you can call delete on it
 
however, sane people don't call delete on pointers outside of very specific circumstances
such as when making their own smart pointers, after carefully evaluating whether they really need to make their own.
 
yeah, I def won't call delete
I can call get() on a smart ptr and call delete
so whatever, you can do that anywhere
my main concern is the constness of the object its pointing to, and being able to null it out
and I guess a raw pointer is the way to go
 
@milleniumbug he wants a non-owning reference to a const object that may not exist
 
:28644690 not in the standard, no
 
3:31 AM
time to ~roll your own~
 
Did you see the riots and stuff in HK @HubertApplebaum
did they affect you
 
did the Ghurkas gun down the populace
I don’t know how life in HK is
 
@Prismatic No they didn't affect me
 
did they effect you
 
or who was I arguing about the lead water with
 
3:39 AM
probably someone unhappy with the present state of lead water
I would wager
I should start saving simple coliru examples for stuff
so instead of having to make one during an argument to go, "no you're dead wrong" I can just find it in a list somewhere
 
2 days ago, by nick
also i'm already retarded so i'm extra safe
 
kek
 
@Xeo that was bugging me as well and of course it’s actually partial ordering
 
user406009
It seems like lead season recently.
 
user406009
3:41 AM
Lead poisoned water in the US, in HK, etc, etc.
 
@Shoe I demand my precious metal
 
Hmmm
in template<typename... Args> foo(Args&&... a), if I pass foo("robert") what's the deduced type?
char const* or char const[7] or whatever
 
@jaggedSpire Here
 
neat
 
3:50 AM
@HubertApplebaum latter
 
@Prismatic lmao
 
@Prismatic lol
 
@HubertApplebaum char const(&)[7]
@Prismatic I don’t get the joke
 
there is no joke
 
3:56 AM
lol
 
user406009
@LucDanton It's just all the companies doing poorly at once is sorta interesting.
 
What makes you think it's 3 different people
kinda jumping to conclusions are we
 
@LucDanton it seems we must bikeshed friend
 
@Rapptz my body is ready
 
user406009
4:02 AM
I really wonder if the current CS bubble is going to burst anytime soon.
 
wait I must pick my popcorn
 
ofc
 
my teapot isn’t though brb
 
user406009
Soo many overvalued worthless companies.
 
You may now bikeshed
 
4:06 AM
seriously why is my pointar thing starred I don't understand
 
I don't agree
 
so it is a star of shame
 
T const* const is a pointer but it's not a mutable reference
For example
 
@jaggedSpire It isn't
 
@Shoe literally my next comment:
44 mins ago, by jaggedSpire
and if you want non-mutable you can make it const
 
4:09 AM
right
 
#define my (*this)
> Wanted: fake partner to impress family at Hong Kong Lunar New Year gatherings
Single Hongkongers advertise for a fake boy or girlfriend to bring home to impress the relatives
oh wow this is a thing
 
u going to be straight4pay
 
Wh
What
Who goes on YT to post a comment like that
 
What does that even mean?
 
user406009
4:16 AM
That's actually not so bad for a YT comment.
 
Ty Crane does
 
...scat fetish references aren't so bad for YT comments?
 
I was watching Kassem G in the background... Going Deep. Pure gold.
> "Join me next time when I have some other random trigger_word on"
 
user406009
No spelling mistakes, mostly correct grammar, etc, etc. Ty Crane might as well be Shakespeare.
 
Anyone know where to find libsrtp ?
version > 1.4.4
 
4:17 AM
the gegles
 
@Shoe Many thanks. :)
 
@Lalaland and that's terrible
 
@Anirban It was literally the first google result, maybe try google things first?
 
@Shoe I was following libjingle.googlecode.com/svn/branches/nextsnap/README They forwarded a ../develop link, So thought it would be more authentic.
 
4:21 AM
not only you suck at googling but you think you have excuses
brilliant
thanks for wasting Shoe's time though
 
It's fine. It's 5:23am and I can't sleep
No harm done
 
I wasn't being sarcastic
 
Me neither
 
I'm sorry. Have a nice sleep.
 
hi
 
4:32 AM
@Rapptz I have tea now
 
interesting timing
basically, what happens if a class is deserialised/serialised into not-an-object.
I was trying to think of neat ways of doing it but I couldn't come up with a nice design ._.
 
Fuck, I made the mistake of simultaneously compiling everything, running unit tests, and turning on the ram drive all at once. Didn't realize I was out of ram until FF froze.
 
@Rapptz in this case I would let cool have its schema, but have rgb_colour provide its own (de)serialization hook
i.e. this assumes there are two customization hooks: the schema, and a (de)serialization function
the schema being used to fill in a generic (de)serialization function should a type not provide one already
sort of like a partial ordering of template<Type> requires GenericEnough<Type> struct pseudocode; and template<typename... Args> struct pseudocode<partially_specialized<Args....>>; if that makes sense to you
 
@Mysticial rekt
 
Hm.
What do you mean by a hook?
 
4:41 AM
e.g. for an allocator alloc_traits::construct(…) calls an underlying construct if there is one, or does ::new(p) T(…) otherwise
an allocator can choose to customise the behaviour of construct
 
@ThePhD It isn't as bad as it used to be when I was still booting off of HDs.
 
@Mysticial Shakes fist You damn whippersnappers and your SSDs...!
 
Thrashing the pagefile on an HD is much worse than an SSD.
 
oh I see what you mean
 
The commit is 65GB. So it already paged some stuff out.
 
4:44 AM
TFW you can afford to page things and not notice. <_>
 
e.g. boost::begin is an 'entry-point' of sorts
it comes with defaults (e.g. arrays), but it’s also 'overrideable' via ADL of range_begin; and there’s a fallback to member .begin() otherwise
(I thought the hook was begin_implementation, did that change?)
 
@ThePhD I used to only run of out 64GB when I improperly budget large runs. Now I run out doing "normal" things like running iTunes and Chrome at the same time.
 
kinda like how you can have a free function to_json(const T&)?
:p
 
@Rapptz I try not to name the hook the same as the entry point as that invites confusion
 
to_json was always there
not gonna change it :<
 
4:47 AM
yes, so I don’t know which you are referring to
if you can have a free function, then presumably that free function is not the entry point
get my meaning?
 
user406009
@LucDanton Is there any way to get the arguments of a function or std::function template parameter?
 
std::function yes, former not reliably
 
@Lalaland yes (if you really mean function)
it’s super ultra boilerplate heavy
and it got worse in C++1z
 
friendly reminder C++17 will not get reflection
 
user406009
@Rapptz You could try algo.member("rgb_colour", make_rgb_color_function) then.
 
4:49 AM
@Rapptz muffled sobbing
 
@Rapptz that reminds, I’m not against co-operation between schema and algo
 
I've looked at how other .NET libraries handle deserialisation.
Since there are some "special cases" when handling deserialisation JSON that does not belong to you. e.g. through an API.
Like converting a string to an integer, handling missing keys, etc.
 
e.g. the Haskell-land equivalent is parser = Foo <$> int <*> double <*> (RgbColour <$> int)
i.e. RgbColour is parsed on the spot, rather than having an instance and deferring to that
translation to c++ left as an exercise to the reader (or: I don’t have a clue how)
aw, I don’t even have function traits any more to show off the horrible boilerplate
 
I have you covered somewhere
 
no thanks keep it to yourself you deviant
 
4:54 AM
kek
 
oh right, I always do the scrutiny on the spot rather than carry type-lists around etc.
template<typename Case> struct m_a_t_c_h; template<typename R, typename... Args, typename CvRef> struct m_a_t_c_h<list<R(Args...), CvRef>> { … }; and call with m_a_t_c_h<match_signature_t<Sig>>
 

« first day (1942 days earlier)      last day (2997 days later) »