« first day (1286 days earlier)      last day (3655 days later) » 

5:00 PM
@R.MartinhoFernandes What have you tried so far?
 
user3010322
Arrrrrrrrrrrrrrrrrggggggghhhhhhh
 
user3010322
y C++ no template <auto x> ?!?!?!
 
@LightnessRacesinOrbit Nothing. I would have to reboot to try it.
@ThePhD Seriously.
Someone told you it was impossible hours ago.
Several people, actually.
 
user3010322
Well, all it means it I need to make the whole thing a macro.
 
user3010322
It's... not the worst thing that could happen?
 
5:04 PM
As they told you hours ago.
 
user3010322
I knew I was going to make it a macro. I just didn't know which parts needed to be a macro: the part to get the names (to avoid reflection, which I understood) or the part just to have a member function thunk working.
 
user3010322
The member function thunk, I didn't think I'd need a macro for. But, apparently I do.
 
user3010322
.... Unless, I invoke some UB.
 
4 hours ago, by R. Martinho Fernandes
ITT @ThePhD starts another saga of wasting time trying to do the impossible.
Ah, 4 hours ago.
 
user3010322
Hey, it's not like I've completely wasted my time. =/
 
user3010322
5:06 PM
I've made progress on the problem.
 
@R.MartinhoFernandes My bad then :)
 
@Drax FWIW, you can even have them without being null.
Null was just the easiest I could drop in a demo.
 
@R.MartinhoFernandes coliru.stacked-crooked.com/a/25b3973b5b3f2bcc why does this print 0 ?
 
That should not compile, I think.
reinterpret_casts are not allowed in constant expressions.
(And (int*)42 desugars into a reinterpret_cast)
Since C-style casts are not sweet, I might as well say "desalts" instead.
 
@R.MartinhoFernandes haha, make sense :)
 
5:10 PM
But the error message is a bit weird.
 
@ThePhD Haven't you been working on this stuff for years?
 
user3010322
No?
 
I'm sure I remember you discussing Lua function bindings practically when you first came here.
 
user3010322
5:16 PM
I'm fairly certain this is a thing from this year, albeit I've been contemplating scripting languages in general for a long time
 
user3010322
Like, a really long time.
 
user3010322
Either way, I have the machinery to make this work.
 
@LightnessRacesinOrbit Is that title written correctly?
Not missing punctuation or words or something?
 
@R.MartinhoFernandes It could do with a "that", but personally I'd just reform it altogether.
 
5:29 PM
@LightnessRacesinOrbit It appears some people don't know about Kyary Pamyu Pamyu's work.
 
Xeo
10
Q: Is it possible to emulate template<auto X>?

XeoIs it somehow possible? I want that to enable compile-time passing of arguments. Suppose it's only for user convenience, as one could always type out the real type with template<class T, T X>, but for some types, i.e. pointer-to-member-functions, it's pretty tedious, even with decltype as a short...

Ohai
 
user3010322
Mm.
 
user3010322
Macros.
 
user3010322
#define tauto( x ) decltype(x), x
 
user3010322
 
Xeo
5:32 PM
What did we teach you about lowercase macros?
 
user3010322
Uhm.
 
user3010322
That they're amazing? >.>
 
Xeo
...
 
user3010322
Come on!
 
user3010322
They can't be that bad!
 
user1804599
5:34 PM
They are bad.
 
user1804599
Somebody will use that identifier somewhere.
 
Don't forget to add support for NOTAUTO
 
Xeo
hahaha
 
@Xeo :)
 
@ThePhD Two sins, actually.
Non-scoped and lowercase.
 
user3010322
5:38 PM
Meeeeeeeeeeh.
 
you're meeeeeeh.
 
@R.MartinhoFernandes How do you scope macros, again?
 
Xeo
@EtiennedeMartel prefix
 
do{...}while(false)
 
Oh, right.
 
Xeo
5:40 PM
@CatPlusPlus That'd kinda defeat the purpose of that macro
 
Yes, it's a bad macroe
 
user3010322
Maybe I could cheat a bit
 
To get a decltype and a value you can use a template, you don't need to use a confusing unreliable hard-to-use macro
 
@CatPlusPlus For this there's no better option.
I'd avoid it altogether.
 
user3010322
Not until compile-time reflection or template <auto x>, anyways. =/
 
5:42 PM
Well then template<> part should be in the macro too
 
user3010322
I could just use the same UB-trick I use in sol.
 
@R.MartinhoFernandes supply patch instead of nagging you nagger
this was my first web stuff since my shopping cart in 2003 for a school project
so I legitimately don't know what i'm doing
that was a joke, not a serious defense ;)
 
you're a joke.
 
@ThePhD What would be the difference between template<auto x> and template<typename x>?
 
user3010322
@FredOverflow template <typename T, T x> === template <auto x>
 
user3010322
5:45 PM
E.g.
 
user3010322
template <auto x> struct woof {};
// woof<1> // x resolves to `1` automatically
// and is of type "int", when `decltyped`
 
user3010322
This saves a parameter, AND it prevents nasty syntax when you're working with more complicated compile-time types, like member function pointers.
 
@ThePhD I believe there has been a proposal for that.
 
user3010322
There has. And it needs to be ratified and implemented for the good of the nation.
 
user3010322
Meanwhile, while we wait for the compiler writers to jump on that...
 
5:50 PM
Meanwhile, I'll add that to my vaporware language!
 
@LightnessRacesinOrbit You're still reading the Daily Mail.
 
@EtiennedeMartel :(
It's like Wikipedia- I can't stop!
 
It's alright. Knowing is half the battle.
 
6:13 PM
@LightnessRacesinOrbit what kind of a sick fuck would do that
 
Victory! (almost! :D)
now I could respect types somehow
or add serialization
 
6:31 PM
the kind who should be locked up
 
RJ
or an Indian
take your pick :D
 
user1804599
sir ples dnot make Fun ,ofme
 
!!!!!!!!
k thx for ur answer ,the same is relly Helpful to me ..
 
user3010322
Lulz
 
user3010322
The judge denied them using the video as evidence.
 
user3010322
6:43 PM
What an idiot fucking judge. It was caught on CCTV, there's no reason to not have it admitted.
 
user3010322
Without that, the case is mostly based on hearsay, UNLESS
 
Um that's not how evidence works, @ThePhD.
 
user3010322
I don't see the judge's reasoning for not having CCTV -- which, if I'm not mistaken, is security camera footage -- admitted to court.
 
Because it was inadmissible...
 
user3010322
Whhhhhhhyyyyyyyy?
 
6:45 PM
You can't use as evidence a video that was obtained illegally. It's a safeguard against setting people up, abuse of power, police brutality and police statehood.
Yes, it means that sometimes people get off lightly on technicalities, but that is considered to be worth the benefit overall.
 
user3010322
I thought they had obtained it after arresting him on the charges?
 
They had no warrant for the video. It says so explicitly in the article.
 
user3010322
Didn't they have a warrant by then?
 
user3010322
FUUUUUUUUUUCK POLICE AS STUPID
 
user3010322
How do you forget a warrant for something like that.
 
user3010322
6:46 PM
Shit.
 
user3010322
It also probably didn't help that the person who got beat up did not submit hospital documentation of her injuries...
 
user3010322
... and also refused to testify in court.
 
More likely than "forgetting", they probably thought for some reason they wouldn't get the warrant, and decided to press ahead anyway knowing that he'd at least get some small punishment.
 
@ThePhD Easy, $$$$$ makes people forgetful.
 
6:47 PM
Quite.
 
> Chahal’s girlfriend also withdrew her testimony and refused to cooperate
 
user3010322
^ Yeah, that.
 
so no CCTV video and no witness testimony?
 
user3010322
Maybe she was getting paid off?
 
what's more surprising is that he got anything at all
 
6:47 PM
@DeadMG I agree.
 
@DeadMG OK, lock her up for wasting police time.
 
user3010322
Sadface. =/
 
not illegal to decide not to testify later
 
@MartinJames Hell, she's wasted a good ten minutes of my time today
 
user3010322
@LightnessRacesinOrbit TO THE BRIG WITH HER.
 
user3010322
6:48 PM
Nah, but seriously it can be intimidating and rough to go up against someone like that.
 
user3010322
I mean, he's a freakin' millionaire. I doubt she could afford any kind of protection from him if he threatened her and meant it.
 
user3010322
Yep.
 
user3010322
My harddisk crashed again.
 
user3010322
Visual Studio is now going to refuse to close until I forcefully shutdown my computer and reboot entirely.
 
user3010322
6:56 PM
Joy.
 
Is it because of refraction?
 
user3010322
No, because my harddisks are failing and I need to actually take them to a shop to fix them.
 
user3010322
I am unfortunately entirely out of money, so I just have to hack around it until the disks die or I start making money.
 
@ThePhD Your harddisk crashed. Again? You're still using it why?
 
user3010322
I have no alternatives; they're laptop harddisks and I'll be hard pressed to get a replacement for less than 20 bucks.
 
user3010322
6:58 PM
(And that can hold at least 500 GB)
 
Oh.. no money, OK. Hope you have backups.
 
user3010322
(And fits in this damn thing).
 
user3010322
I have a single backup drive, but I need to get a new one because it's getting full...
 
if you are desparate enough, I'm sure you can go to a local dump or something and look there.
 
user3010322
MONEY, Y U NO COME 2 ME
 
6:59 PM
..cos it's just amazing how much data can disappear in a few ms.
 
Does anyone understand what Bartek is doing, apart from, (maybe), Bartek?
8
 
user3010322
@BartekBanachewicz Ship it!
 
user3010322
@MartinJames He's creating a Visual Scripting Language
 
@ThePhD Gawd.
 
7:00 PM
@ThePhD lol
 
user3010322
That is, functions are blocks with inputs and outputs and you can drag/drop them together and make new things happen.
 
so basically what UnrealEngine did.
 
@DeadMG yup
 
user3010322
Yeah
 
well it's terribly inefficient right now
 
7:02 PM
or Labview, GnuRadio has some of that kind of thing too
 
@Collin Knime
my update propagation is terrible
but I'd need to sit down for a while longer to improve it, so I'm happy enough it even works
 
sounds like some fun graph theory stuff
 
Xeo
@MartinJames Node-based script editors are cool (not meaning Node.js here)
Designers love them
 
and considering the fact it's supposed to be aimed at (potential) idiots that want to make games...
 
Xeo
55 secs ago, by Xeo
Designers love them
 
7:06 PM
yeah. I am still not sure if it will be fast enough
 
Trying to install Java 8 for the last 30 minutes on LMDE... Linux is such a pain in the ass sometimes.
 
or convenient enough for more complicated stuff
 
Your fault for using shitty distros. Ubuntu is bad enough, using Ubuntu-derivatives is just asking for problems :v
 
I'd love to see your attempt at an OS
 
hahahahaha
oh java
 
7:15 PM
come on where is CatOS
 
I don't have time to maintain a Linux distro
Gentoo/Funtoo is close to being perfect, just that choice between systemd and OpenRC :negative:
 
@MartinJames I like how this works at any time regardless of context.
:P
 
Heh:)
 
I do have one reason to respect Bartek, and that is that he did not ragequit the Lounge years ago
 
I have respect for all Loungers. Problem is, the level varies with time of day and beer consumption:)
It's in my best interests not to piss anyone off - I would not like to end up stabbed in some dark alley in Berlin:)
 
7:24 PM
Oh yeah, massacre in about two months.
I mean, unconference.
 
I may, however, end up slaughtered in some dark alley in Berlin...
 
can't wait to show you how men drink
which weekend is it again?
7th
 
Yeah.
 
eveeeeeeeeningggg
 
List<String> words = Arrays.asList("hello", "beautiful", "world", "lololol");
words.stream()
.filter(w -> w.length() > 5)
.findFirst()
.ifPresent(System.out::println);
 
7:32 PM
Happy Birthday @Johannes btw
 
user1804599
@FredOverflow bullshit.
 
@FredOverflow they haven't invented ["hello", "beautiful", "world", "lololol"] for arrays yet?
 
user1804599
Need more type inference.
 
fuck people who aren't intelligent enough to handle types and names
 
@Jefffrey Collection literals were considered for Project Coin but rejected.
 
7:33 PM
of course :(
@LightnessRacesinOrbit bless you
 
Stream.of("hello", "beautiful", "world", "lololol")
.filter(w -> w.length() > 5)
.findFirst()
.ifPresent(System.out::println);
@Jefffrey happy now?
 
@FredOverflow still ugly as fuck :3
 
I don't think it's ugly
 
don't put yourself down
 
it's as good as it gets with operator() function invocation
 
7:38 PM
@Jefffrey You just say that because it's Java ;)
 
I hate Java but yeah, I can say that it's not ugly
 
@FredOverflow possible :)
@BartekBanachewicz lol
 
@CatPlusPlus are you perhaps playing Crawl atm? (I'd spectate a game or two :P)
 
Could play, not getting much done anyway
 
@CatPlusPlus link away
 
1
A: Why is Stack Overflow so negative of late?

George CumminsIt all started with the Summer of Love Every community starts out needing to recruit members, so they tend to be very friendly to newcomers. After a few years, an insider group of old-timers forms. They get to know each other. They know the rules. They know the history and the legend...

^^ woah...
It got insta-upvoted.
 
@Mysticial He has puppets
 
Hello, Cruel World!
 
8:14 PM
you know what goes well with a down vote? A comment. — user3448187 11 mins ago
haha
 
user3010322
@CatPlusPlus Can I really watch you live? :O
 
user3010322
LOL
 
user3010322
@Cat almost got WRECKED.
 
0
A: Why is Stack Overflow so negative of late?

DeadMGI'm a somewhat high-rep user (approaching 90k now) who long ago posted many answers (thousands) but now hardly posts any. From my perspective, the simple fact is that pretty much all of the well-written well-asked generic questions have already been answered. This leads to only two kinds of ques...

 
8:25 PM
Hello.
 
user3010322
Hiii
 
user3010322
I started hacking away at the lua class thingy.
 
user3010322
I think I almost have it solved.
 
user3010322
... Maybe.
 
greetings rapptz
 
8:27 PM
bud you need to get better at git
 
user3010322
Listen.
 
you have a pull request with 5 commits but only 1 with actual meaning :(
 
user3010322
Listen, okay.
 
user3010322
The commits
 
user3010322
The commits were
 
8:28 PM
lol
 
user3010322
just somethingt hat happened. It had been a while since I worked on this. I forgot to pull some stuff.
 
user3010322
I CLEANED IT UP THOUGH THE DIFFS ARE NICE.
 
user3010322
SEE I'M LEARNING?
 
you have a merge conflict
which you didn't take care of
 
user3010322
I fixed the merge conflict yesterday!
 
8:28 PM
all the files were deleted
:(
 
user3010322
Wat. o_o
 
anyway I'll just do a git cherry-pick
I just got home from work and my feet hurt
 
user3010322
Okay, hey, there were no deleted files. Everything's there and it works! I merged everything. It looks fine!
 
oh you added another commit
 
Goddammit.
 
8:31 PM
I have mixed feelings about how GitHub does that
 
I want to generate SVGs from C# and I can only find stuff to read and render them.
 
Cairo doesn't make SVGs?
 
user3010322
Use the FFI to get some C functions to do it.
 
@Rapptz does what? update pull requests automagically?
 
yeah
 
8:33 PM
I kind of like that feature
 
it's okay
 
@Rapptz Hmm, I guess I could try Mono.Cairo.
 
but if you keep pushing things and your PR didn't get accepted then your PR will keep getting updated
 
Excuse everyone but I can print the variable contain the session of CURL??
curl = curl_easy_init();
    printf("\n %s",&curl);
 
That question barely makes sense.
 
user3010322
8:34 PM
You can do anything you want with printf.
 
But is correct %S for print?
 
%S is not correct for anything.
 
user3010322
What do you think that's going to do? Just out of curiosity.
 
%s is only correct for sequences of characters.
 
did you copy paste this from somewhere?
look at this mess
:(
 
user3010322
8:36 PM
It's beautiful!
 
user3010322
And it works!
 
does github PR not do rebasing?
 
I have the program for analyze file on the server FTP and if there is a difference for size of video file, ping alarm (project security)
Before working and after I have problem with Login
but the server FTP function
 
@Rapptz not that I have seen
 
4 mins ago, by ThePhD
What do you think that's going to do? Just out of curiosity.
 
8:41 PM
Regarding a webtool for voting: I worked all easter to get the system working, there was no time to even think about a webvoting.
'Horse, meet cart!" - Oh, wait, no, that should be: "Cart, meet horse!"
 
@LightnessRacesinOrbit lol I missed that when I first read it apparently
 
/cc @R.MartinhoFernandes (are you following that guy?
 
I haven't paid much attention to Twitter lately.
I haven't paid much attention to anything lately.
Fuck.
 
Sucks.
 
user3010322
Uh oh.
 
8:43 PM
@R.MartinhoFernandes What's wrong
 
user3010322
It's begun. Files are being corrupted on Drive D. =/
 
this is my first time using git cherry-pick
hope it's not terrible
 
user3010322
Backup, backup, backup...
 
@sehe Nothing. Just the realisation on the preceding message.
 
@ThePhD SSD?
 
8:43 PM
@Rapptz I believe PR's are just that (i.e. branches). You choose what to do, I'd say.
 
@ThePhD What.
 
user3010322
No, traditional hardisk, but minified, for my Laptop
 
@R.MartinhoFernandes Mmm. Either that means you're preoccupied, and that's usually a good sign. Or it could be your system slowly telling you to stop and breath
 
user3010322
@R.MartinhoFernandes There's been a Hard Disk failure at some point when I wasn't looking or something. It's been getting under my skin and causing Windows 8 to hang on many IO-based operations based on things coming from Drive D. Now, one of the music files that I just got on Drive D won't play past 36.466s (of 2m43.5s)
 
user3010322
I don't have the money or time to see a professional who can repair my computer. So, I've just been doing backups and hoping I can truck it out another... 1, 2 months? Before internships starts, than another 2 weeks before first paycheck hits.
 
8:45 PM
Time to get a new HDD
 
@ThePhD I have cherry-picked them
 
user3010322
I'll pull and rebase, I guess. :O
 
user3010322
 
user3010322
@Rapptz ^ how do I nuke my duplicate commits on my branch?
 
rebase
 
8:51 PM
^
 
user3010322
Huh...S
 
user3010322
Sourcetree won't give me the option on that commit. I, uh
 
user3010322
I guess I'll just blow everything up and then pull it again.
 
Guys, I need to know everything there is to know about threads for an interview
8
what is a thread
2
 
lol gl
 
user3010322
8:52 PM
Heh.
 
user3010322
@MartinJames ^@kbok needs your help
 
@ThePhD Use the command line
@ThePhD git rebase -i commit-id
 
@ThePhD that works I guess.
 
"Threads" is an episode from Season 8 of the science fiction television series Stargate SG-1. Amanda Tapping won a Leo Award in the category "Dramatic Series: Best Lead Performance - Female" and Michael Shanks was nominated for a Leo Award in the category "Dramatic Series: Best Lead Performance - Male" for this episode. Plot Ba'al is still missing, but the Jaffa have finally won their freedom after millennia of enslaved service to the Goa'uld. At the Temple of Dakara, Teal'c and Bra'tac are awarded the title Bloodkin by the new Free Jaffa Nation, following the defeat of the Replicato...
@kbok SourceTree has interactive rebase.
 
@ThePhD Oh! Right! No problem. A thread is...... damn! It's time for the pub:(
 
8:54 PM
Any company that doesn't take that as the correct answer isn't a company worth working for.
 
user3010322
Hehe.
 
@R.MartinhoFernandes Sure, but most git GUIs don't handle well conflict solving
 
9
A: Should I downvote attempted answers to bad (too broad) questions?

George StockerYou can downvote whatever you like, for any reason you like. But are the answers really the problem here? Or is the question too broad and should just be closed?

Stocker at it again
 
I don't understand the issue with compare_and_exchange_weak(head->next, head)
 
8:55 PM
you know what you really shouldn't do. Trust an SD card with the ssh keys for your server. You would have to be pretty damn foolish to do that. No one in their right mind would have only the one copy of the ssh keys for their dedicated server stored on a medium which you wouldn't be surprised if it corrupted because you looked at it funny.
 
@thecoshman lol
 
user3010322
I usually just think of a thread as a separate process that shares some elements with its parent thread.
 
user3010322
@thecoshman +1
 
@thecoshman You did what.
Traditional storage, best storage.
 
user3010322
I dunno, harddisk is failing me right now. :c
 
8:56 PM
What is the point of condition variables? Can't you just wait on a timed mutex? They require a mutex anyway.
 
user3010322
^ I've wondered about that myself sometimes...
 
My private keys are backed up in a QR code printed on good ole paper that I carry in my wallet.
 
user3010322
@R.MartinhoFernandes Clever.
 
All I had to do was set up one simple job to keep a copy of that sd card on my desktop too.
but nooo, I kept putting it off
 
@kbok They provide controlled blocking.
 
8:59 PM
What do you mean?
 

« first day (1286 days earlier)      last day (3655 days later) »