« first day (1661 days earlier)      last day (3292 days later) » 

5:00 PM
wait I already have the DLC
I think it's because of the season pass thing that was included in the collector's ed
reinstalls game
 
Ven
is far cry 4 good?
I've seen so many people complain and the bugs
 
it's great
the best open world FPS I've played
on par with STALKER
bugs are probably fixed by now
I played it on release and it worked really well
 
Ven
never played Stalker, but then, I'm not that much of an fps player
To say, the fps I've played the most was probably bioshock infinite... hahaha...
 
@Ven it also has great music like this
 
Ven
Do you love ponies? ponylang.org
 
5:07 PM
hmm
 
Ven
@AlexM. nice :P
 
to cut off the mouldy bit and consume a bread roll ?
 
@Puppy It will have no IDE, GUI lib or decent debugger, like most new languages.
 
user3010322
How do you test if a free function called on something will compile?
 
user3010322
5:10 PM
(In an SFINAE context)
 
user3010322
Is that just decltype() SFINAE? 'Cause if it is I'm fucked.
 
user3010322
Oh well. Just pray VC++ can handle the old sizeof way.
 
@ThePhD not sure I understand..
 
Ugh Unity's Slider has no settable step size
Even though it's a fucking computed property and therefore it'd be trivial
 
user3010322
@CatPlusPlus Woo.
 
5:14 PM
No, (float) (((double) this.maxValue - (double) this.minValue) * 0.100000001490116) is a perfect step size for everyone
 
@Ven Looks nice.
Too bad the name sucks
 
Ven
:P
 
@StackedCrooked coliru should default to c++14
 
@CatPlusPlus lol
 
@BenjaminGruenbaum it does
 
5:17 PM
well at least you can subscribe to the change callback and force steps yourself lol
 
click "Restore default command"
 
At least they pretend to add a plus value compared to other language other than "herp derp pointers suck C++ is complicated"
 
Actually I can subclass and override OnMove
 
@MarcoA. Heh, I'm stupid.
 
Ven
Ugh, in Pony, a = b returns the old a.
 
5:17 PM
Not sure why I had it set up to C++11
 
@CatPlusPlus or that
 
@BenjaminGruenbaum np, coliru probably remembers what you used last time
 
Ven
..which means you can write swap as a = b = a
 
Yeah, that's probably what happened
 
Quick someone make up a lame question
 
5:19 PM
@AlexM. thanks for the subtitling. That was quite necessary
@Mr.kbok ?
 
Ven
@Mr.kbok you just want that badge!
 
@FilipRoséen-refp Here is what I had in mind: Integrating something similar to allocators. However, after a dozen hours of hard fucking work I realized that the approach was impractical, since there can be no constexpr destructors (and a few other things).
 
@MarcoA. indeed
 
@Ven Yes I do
 
@Columbo could you please link to something a little bit more relevant than the entire thing?
 
Ven
5:20 PM
@Mr.kbok answer the questions currently there :-)
 
@Columbo Could be immutability-based.
 
@Columbo thanks, I will take a look after a few smokes
 
@Puppy constexpr member functions aren't necessarily const. And destructors are never, anyway.
 
@Ven There isn't
 
5:21 PM
But yeah, it has its reasons. However, a constexpr member function can have side-effects. Not ones that affect the global state, of course, but the state of some constexpr function calling that member function.
 
Ven
@Mr.kbok the python pony framework
 
@Columbo constexpr also makes the function inline. For completeness' sake
 
@Ven You mean django? I don't do no python
 
@MarcoA. ... that too, yeah :)
 
Ven
@Mr.kbok did you click the ?
 
5:23 PM
> The express way to send mail from Ruby.
 
Ven
And yet, every question there has " "
 
Pony ORM is an ORM for django
AFAIK
 
0
Q: Hashtable compile time

user3409642Today i'm trying to made an hashtable at both compile and run time. But i'm not really familiar with constexpr, and i didn't find what i want on Internet. There is my code: #ifndef HASHTABLE_HPP #define HASHTABLE_HPP #include <cstddef> #include <vector> #include <string> namespace base { ...

Oh wait, I actually misread Hashtable as Hashable :)
 
> TIL Motorola's has developed an "edible password pill" which once digested, is activated by the acid in your stomach emitting an 18 bit signal which is strong enough to communicate and unlock all your devices and is also FDA approved. entrepreneur.com/article/231182
ooh
 
lol 18 bits?
 
Ell
5:31 PM
18 bits is pathetic
 
user3010322
@fredoverflow He can do compile-time linear search over a compile-time list, but the syntax for both are extremely far separated.
 
better than 17 bits
 
Ell
true
 
user3010322
@AlexM. So all someone has to do is eat your pill and they get access to your shit?
 
user3010322
That's.... great...?
 
Ell
5:33 PM
I don't really see a use for said pill though
 
@ThePhD No, they just have to eat your shit and they get access to your shit.
 
user3010322
Most you can do is tag food with these pills.
 
user3010322
And have an app on your smartphone or smartwatch that keeps track of everything you eat.
 
Ven
You don't need side effects for hashtables, do you? just return a new one everytime
purity!
 
hashtables aren't recursive structures, so that's gonna suck.
oh wait I guess you could share any unchanged buckets.
 
5:36 PM
@ThePhD I haven't read it fully yet but I'd expect that the signal depends on something particular to you
 
user3010322
@AlexM. It's stomach acid.
 
user3010322
How specific can your stomach acid be?
 
user3010322
You'd have to control access to the pills. That's almost as bad as any other physical device that you carry around on you.
 
@ThePhD You'd also pick up a bunch of saliva with DNA in it on the way down.
 
Xeo
lol hard-to-remember and easy-to-crack passwords
 
user1804599
5:38 PM
Hello.
 
Xeo
noobs
 
indeed
 
the article doesn't seem to state "the pill's signal is different for every individual" explicitly
 
Xeo
I think an 18 bit password is a bit easiert to crack than a 240 bit entropy password
 
but it would defeat its purpose if it weren't
 
5:39 PM
that... does not change whether or not it actually is.
people make lots of self-defeating things.
 
Xeo
@AlexM. I'd imagine something like "yes, I want a package of axc22kxlkm-005 pills please" :D
 
Ven
mfw some guy tells me "I don't even masturbate"
 
user3010322
@Ven That used to be me at one point.
 
user3010322
Then, everything changed when the Porn Nation attacked.
 
Ven
he's 18
 
user1804599
5:41 PM
destroy feminism
 
user1804599
@Ven he has chicks that suck his cock so he doesn't have to.
 
Ven
@rightfold oh no he doesn't
 
user3010322
kbegin, kend, kcbegin, kcend, etc. etc.
 
user3010322
All for "Koenig X"
 
@Ven what is it like
 
5:43 PM
@Ven mfw?
 
@Ven Sounds nice, you don't need to spend time for looking up porn and masturbating, which means you can do more programming.
 
Ven
@Puppy my face when
 
your face I mean
what is it like
 
Ven
@AlexM. you don't want to see, i'm ugly as fuck
 
well
 
5:43 PM
I like this.
 
or did you just drop a random dumb maymay
 
I must say that I don't care about your face either way.
or your mother's face in bed.
 
user1804599
@Ven show your face.
 
Ven
@rightfold you've seen my face already, didn't you
 
user1804599
No.
 
Ven
5:48 PM
well, I'm ugly, hi.
 
user1804599
Only sehe's and Tomalak's and robor's and wilx'.
 
my point was
you said "my face when" without showing your face when
 
user1804599
and some of the other people with their faces as avatars
 
Ven
@AlexM. you don't wanna see it, again
 
user1804599
@Ven prove it
 
user1804599
5:50 PM
:D
 
Ven
I saw lrio's on his webiste, didn't see any other else
@rightfold would you show yours :)?
 
@Ven ugh
@rightfold I think you also saw mine
you can get to it through my SO profile and LRiO posted it here once
 
Ven
@AlexM. "You're waifu's a shit" or something.
Ah yeah, it's on your careers profile
 
user1804599
> Privileges I have and you need to call me out on:

white
not fat
middle class
I'm dfab nonbinary
 
user1804599
@Ven not here
 
user1804599
5:51 PM
This is a scary place.
 
Ven
I'm on IRC, y'know :P
I wouldn't link my face here either :-
 
this is interesting
Valonia ventricosa, also known as "bubble algae" and "sailors' eyeballs", is a species of algae found in oceans throughout the world in tropical and subtropical regions. It is one of the largest single-cell organisms. == Characteristics == Valonia ventricosa typically grow individually, but in rare cases they can grow in groups. === Environment === They appear in tidal zones of tropical and subtropical areas, like the Caribbean, north through Florida, south to Brazil, and in the Indo-Pacific. Overall, they inhabit virtually every ocean throughout the world, often living in coral rubble....
 
user1804599
brb dinner
 
that blob is a cell
 
Ven
blob
looks like @rightfold doesn't want to show her face :P
lounge2scary
 
5:53 PM
is ven cicada
 
user1804599
I have no face.
 
Ven
who's cicada
then you can't look at mine!
 
user1804599
@AlexM. no he's the inventor of Ven diagrams.
 
I should use my raspberry pi
it's been in my drawer for like 5 months now
 
Ven
you're already using it then.
...to procrastinate
 
5:57 PM
@Mysticial do you still have a file with the decimal digits of Pi lying around?
oh actually never mind =/
 
you don't want a file with decimal digits that lies
 
Potatoes take forever to cook.
They have been under heavy flames for more than 30 minutes now.
 
@Jefffrey If you're baking them, yes, it takes a long time. Too long for me:)
 
this game was nice and had a nice soundtrack
 
user3010322
"Write a C program that implements the following 2 functions on linked lists"
 
user3010322
6:07 PM
This is what I paid top dollar for. :/
 
Ven
The game wasn't that nice IIRC :v
 
you just suck
yugi best TCG
 
Ven
oh I'm mistaken
thought it was the GBA game
 
although I tried MTG on PC and I liked that too
 
@ThePhD In all due sincerity, I have done the same mistake, and regret just not talking to professors, and skipping a few courses.
 
6:08 PM
maybe a bit too complex
 
Quite a few friends of mine at the university I attended did independent projects with professor supervision for course credits.
 
what benefit is there in doing projects in particular with professors
when you can get hired and work on real projects
last thing I want is to work on a project with someone quoting books for me and being completely unaware of today's technologies
 
Uh.. piece of paper with your name on it?
Project with no real tangible value, but for experience?
 
or so is my limited experience with the profs in my uni
 
ASR
a=2!=5 what is the output?
 
6:14 PM
@ASR Have you tried compiling?
 
@ASR I have a better question
 
Xeo
@ASR You. Through the room exit.
 
who cares?
 
One independent robotics project was between 3 students in 3d printing and building a 5-link arm, and programming it to move blocks around.
Not necessary impressive, but experience about mechanics, jacobians, embedded hardware, etc..
 
ASR
I got 1, i dnt know why is the o/p is 1?
can any one explain me?
 
6:16 PM
@ASR What does your C++ book say on the subject?
 
@milleniumbug implying it's C++
 
Xeo
Hm
 
1 means it's true
 
Xeo
I could play Ys II
 
2 is not equal to 5
 
Xeo
6:16 PM
or work on the tooltip stuff for our game
 
@Xeo is Ys the one with the hot elf chick
 
ASR
@KiokoKey ty
 
no it seems ys is not the one with the hot elf chick
that was agarest
 
posted on May 04, 2015 by Scott Meyers

Those wacky marketing gurus at Addison Wesley are at it again, offering a variety of "Effective Programming" books at 40% off -- 50% off if you buy two or more. Two of my books--Effective C++ (both print and digital) and the digital collection of all my Addison-Wesley C++ books--are part of the promotion, but the sale includes C++ books and videos by others, including Andrei Alexandrescu, He

 
@Xeo I'm constantly battling with Unity's UI
 
user1804599
6:32 PM
woooo
 
user1804599
what a day
 
I think I'll give up on Control.Lens; unreadable errors as fuck :-\
 
user1804599
@Jefffrey … and the result is disgusting.
 
user1804599
Good lob.
 
user1804599
@ScarletAmaranth Implement lenses yourself.
 
user1804599
6:34 PM
And don't abuse functions for them; it's terrible.
 
I just wanted to have a safe (!!); so I tried (^?)
and then I wanted to lift it into Maybe and now I get an error message that looks like my dog's dinner
 
Xeo
@CatPlusPlus UE4 has no proper tooltip support through UMG :(
all it gives you is a block of text
 
user3010322
@Xeo UMG?
 
ASR
what does it meaning if(true) ;
???
 
Xeo
and even that doesn't work in fullscreen mode in a standalone build (fixed in 4.8)
 
6:36 PM
the meaning of if true... let's see
 
Xeo
@ThePhD UE's interface system
a wrapper around Slate
 
you know, I think denotational semantics will help you here
 
user3010322
@Xeo Ooh.
 
20 mins ago, by milleniumbug
@ASR What does your C++ book say on the subject?
 
is asr cicada
 
user3010322
6:36 PM
I worked at the Slate level, not with UMG.
 
ASR
@milleniumbug no one teached me well in my college
 
S[[if b1 then e1 else e2]] = cond(B[[b1]], S[[e1]], S[[e2]])
or you want... I dunno, operational semantics?
 
user1804599
@ASR It means you should delete your code.
 
let me see
 
Xeo
@ThePhD UMG is pretty immature, and a lot of stuff is still missing / buggy
 
user1804599
6:38 PM
@ScarletAmaranth if b1 then e1 else e2 is b1 e1 e2!
 
@ASR That's not an excuse. C++ books are a thing you know.
 
@Xeo Is Slate a 3rd-party?
 
Xeo
nope
 
couldn't find it on a quick Google.
 
I saw a free Chromium plugin for UE4
 
ASR
6:38 PM
@milleniumbug I love c++,
 
I'd never touch another crappy in-house system
 
@ASR What do you love the most about it?
 
@rightfold that would be a specific untyped LC term or some such; I was rolling denotational semantics; but I can give him operational semantics too; or natural... or axiomatic
 
ASR
@Jefffrey class and objects,easy to create
 
6:40 PM
<if b1 then e1 else 2, s0> => (B[[b1]]s0) => <e1, s1>
 
@Xeo That seems... odd.
 
Xeo
It's a C++ framework to do UI.
 
@ASR here's your meaning sir
 
Xeo
What did you expect? :P
 
@rightfold DAMN, I forgot action semantics!
 
6:41 PM
@Xeo A little more std::function, a little less FNewMenuDelegate::CreateRaw( &FMenus::FillMenu2Entries )
 
user3010322
@Xeo Make sense: I was building editor tools, not doing in-game UI.
 
Xeo
@Puppy It's old as fudge
 
Let's say I had an operator() overload that made temp_.matrix[k][j] and temp_(k+1, j+1) equivalent. In my class functions (where matrix belongs), would it be better to have if (temp_.matrix[k][j] == 0){ /*do stuff*/ } or if (temp_(k+1, j+1) == 0){ /*do stuff*/ } ?
 
user3010322
@Puppy TFW you deal with platforms that don't have std::function
 
@ThePhD tfw?
 
Xeo
6:41 PM
The whole Unreal source is quite unruly
 
@Puppy that feel when
 
meh
that's what boost::function is for.
 
@ThePhD You mean freestanding implementations of C++?
 
Xeo
@Puppy Also, I never see that
 
Is someone else willing to rescue this question?
-3
Q: How to replace a recursive function call with a stack data structure?

cisidoI have a recursively called function: void func(int a, bool arr[]) { ... if ( ... ) { func(a, arr); } } And call it from my main code like int int_var = 0; bool bool_array[10]; func(int_var, bool_array); Now I want to use a stack data structure to replace the recursive ...

 
Xeo
6:42 PM
It's more like
SNew(SWidgetThingy)
.SomeProperty(blah)
.Content
[
    SNew(SOtherWidget)
    .SomeProperty(blub)
]
.etc
 
ow.
 
Xeo
declarative API
it's not too bad
 
Sorry! Good evening everyone :-)
 
Ven
those [] are from boost.phoenix, aren't they?
 
Xeo
no
 
6:44 PM
@πάνταῥεῖ I think they're ignoring everyone, for some reason.
 
Xeo
they delimit the contents of a slot, a subelement.
 
user3010322
@Xeo That's the best part of Slate, really.
 
Xeo
Err, yes
I didn't say otherwise
 
user3010322
Everything else programmatically is a goddamn nightmare.
 
user3010322
I can english, I swear.
 
6:46 PM
I don't really like declarative.
 
Xeo
vOv
 
there's too much "It's declarative but we need to add this one if..."
 
Reactive UIs or bust
 
Reactive?
 
or Boost
 
6:49 PM
public class SearchViewModel : ISearchViewModel
{
    public ReactiveList<SearchResults> SearchResults { get; set; }
    private string searchQuery;
    public string SearchQuery {
        get { return searchQuery; }
        set { this.RaiseAndSetIfChanged(ref searchQuery, value); }
    }
    public ReactiveCommand<List<SearchResults>> Search { get; set; }
    public ISearchService SearchService { get; set; }
}
fail.
 
Think WPF bindings or spreadsheets
 
Xeo
@ScarletAmaranth join?
 
Ven
Looks like some MVVMCross?
 
@Xeo gives incomprehensible error
 
@ASR Classes is what you value the most about C++?
That's weird
 
6:50 PM
@ScarletAmaranth You have to be more specific :v
 
it looks like React but shittier and a bunch of public mutable state randomly.
 
Xeo
@CatPlusPlus Those SomeProperty bits of Slate can be attributes, that is, bindings.
 
nvm, nvm, I AM RETARDED
 
Ven
@Jefffrey Templates are best!
 
@Xeo sorry, I need a break it seems
@CatPlusPlus too much Haskell for today, need to quit
I was using a qualified join from somewhere else
 
Xeo
6:51 PM
lol
 
Ven
you can't have too much haskell, because the amount of haskell you had is immutable
 
Reactive programming is a paradigm, not a concrete implementation of anything
 
I dunno why I would
 
Xeo
what's really annoying is that it's super duper hard to add bindings to custom UI widgets with UMG
 
Ven
what just happened
why am I yellow
 
6:53 PM
Maybe you evolved
 
Xeo
it relies on a bunch of internal stuff, e.g. naming the bindings <SomeProperty>Delegate, and it its to be directly after <SomeProperty>
 
@Ven Did you change your email?
 
Xeo
it's really quite immature :/
 
Ven
@CatPlusPlus I super sayajined?
 
Xeo
and you can easily see where Unreal Engine came from (Indoor-Static Map-FPS)
 
Ven
6:54 PM
@Jefffrey my email is empty, that's why I change color every few hours :)
 
Xeo
name yourself "jeb_"
(name a sheep like that in minecraft and it changes colours continuously)
 
Really?
 
Xeo
yes
 
http://programmers.stackexchange.com/a/180910/104237

"Nowadays, [header files] only get in the way and are sign of bad design." Not sure if I agree with that...
 
then you don't know C++
 
Xeo
6:57 PM
@DonLarynx lolfqa link
 
they're not a sign of bad design, they're a sign of design from 1972, which is not necessarily the same thing in general but is functionally the same thing now.
@Xeo Lots of FQA linkers on Programmers.
 
> More in FQA.
Well, that explains it.
 

« first day (1661 days earlier)      last day (3292 days later) »