« first day (2274 days earlier)      last day (2688 days later) » 
00:00 - 20:0020:00 - 00:00

12:09 AM
@rightfold Once I got used to currying I really liked it.
 
12:30 AM
Curry is always nice
 
Ell
@milleniumbug I ate a lemon skin in a Malayan once. That wasn't nice :(
@ThePhD "or something"
 
Got drunk with my team.
Was fun
Going home now
 
Ell
Good idea :D
 
You europeans get drunk so often.
I've never got buzzed except once.
 
Ell
Why not? :O
 
12:44 AM
We have 10 euros/person budget for team events from work. So we went out and spent 50 each, mostly booze.
 
Ell
xD
 
@ThePhD can't get drunk if you don't drink :)
 
Because I just never go out.
Ever.
What is partying and good times.
What is this social thing you speak of I KNOW NOT THIS BLACK MAGIC.
 
1:11 AM
@R.MartinhoFernandes you only are allotted 10 euros per person for events?
that's like, two drinks in US. is that about two drinks for you too?
 
@MichaelHCameron for beer, that's cheap beer
 
what
are you stating that 2 beers for 10 is cheap
?
 
I did a google search and didn't look deep anough at the results. I did say that, and I was wrong
related: I don't drink
 
yeah, you could get three beers for ten if you bought like, bud light
i don't know
i like good beer
drinking a Sierra Nevada Stout as of the moment
anyone here ever try to program while drinking?
it is pointless
 
Ven
I'm bored. At 2am.
 
1:18 AM
hmmm
i gave up the midnight oil years ago
programming high is fun. but also pointless
"Variables are amazing!"
 
Ven
@ThePhD I always go with the same people - that's not social :P
@ThePhD I'm happy to hear thar :)
 
@jaggedSpire a whole lot of nops
@Morwenn :3 /cc @Ven
 
1:45 AM
@ThePhD partying ^ good times
 
@Borgleader :D
 
Ell
2:11 AM
@MichaelHCameron its great
 
2:39 AM
0
A: Let's design and get some Physics Stack Exchange swag

TelkittyI will go with the simplest idea, a hat: The shape of it might need some modification for it to be practical. But you get the idea.

 
@Mikhail pls, with that comment.
 
I can't help myself
On another note, it looks like the text alignment in Qt's QCombox has been hard coded for the last 20 years, despite hundreds of people complaining.
Is WPF less fucked?
 
It is less fucked.
But bound to the .NET Runtime, so, you know.
Pick your poison(s).
 
So, the real reason Qt is fucked is that are 3+ ways of styling every object. I could live with everything else, including mysterious cyclical garbage collection issues. But its becoming increasingly apparent that every widget needs to be made from scratch, else one of the 3 hard-coded styling methods will take over...
 
@Mik, u & me, we r the crazy b!tches of C++ lounge
 
2:54 AM
I blame the long compile times
@ThePhD have you used WPF for anything?
 
YEs.
I build a build notifier out of it.
Which involved a decent chunk of P/INvoke.
 
notifier?
 
YYeah
Sat in the system tray
had a UI you could open up to tap into Team Foundation Servers
used a Message Queue to pull down build server notifications
displayed them all fancy-liek.
 
I see, so it was mostly standard controls, etc? Did you use C++ or C#?
 
3:13 AM
error : Template classes not supported by Q_OBJECT
FML
 
> CopperSpice is a C++ library derived from the Qt framework. Our goal was to change the core design of the libraries leveraging template functionality and modern C++11 capabilities.
> - Qt Meta-Object Compiler (moc) is obsolete and removed
[...]
- A template class can inherit from QObject with no restrictions on types
 
That is also an interesting avenue, although moc isn't really a problem... A lot of the functionality moc provides, like automatically converting enums to strings, might be good language features...
Also modern GUI programs need a meta compiler/asset packaging step to convert the layout GUI files into type-safe headers.
 The User Interface Compiler (UIC) is used to compile these files when your application is built. Each .ui file is compiled into a C++ ui_*.h file.
 
3:35 AM
All our support team members are busy with other customers
sure, if it takes your support team members 2 hours to solve something that should only take 5 minutes
 
But 2+ years of training to have 1 person who can solve it in 5 minutes. It would help if there were some experts to handle the more difficult problems. A tiered system of tech support seems ideal.
 
productivity means we are going to put you through a loop so 12 days on from now, you are guaranteed to get no where
look, we have generated whole lots of employment opportunities
we need a whole bunch of people contribute little to the society, but hey, this loop is fascinating
 
Then along comes a manager who sees an opportunity to make cuts on employment and save the company money :3
 
I should just drop apple/ios and windows apps
also one of my tenants is 6 weeks behind in rent, if I don't see any rent paid by 12 midnight, kicking in Feb = 100%
 
 
2 hours later…
6:06 AM
@Telkitty Only 6 weeks? :D
Also, have you contacted him/her?
 
@wilx yes, no reply or simply just 'will pay'
I have made it very clear that although there is flexibility, I have my mortgage, council fees, water fee, land tax, maintenance bills etc etc to pay too
 
@Telkitty I see.
 
And seriously, Australia is pretty good with welfare. If you can't afford a 3 br house in a convenient area, either you don't live there or sublet to other people
I did't want pets in the place because flea problem. But I said nothing when they got a dog behind my back
I even agreed that they can rent out to more people to alleviate their financial problems
basically I could have kicked them out long time ago because of their multiple breaches of contract
they already owe some $3000 - $4000, I gave them plenty of time to sort things out on their end
 
6:23 AM
Yeah, $3k is way too much
 
precisely ... and the longer I let them to live there, they more they will owe
 
In the USA, you could then sell their debt to a debt collection agency.
 
kick out first, I can even forgo some of the debt - maybe 2-3 weeks
but I am unwilling to pay for someone else's bill when they fail to take care of their own lives
besides, I could raise the rent because it's 10% beneath current market level
 
6:40 AM
Hi folks
 
7:06 AM
@Telkitty Sounds like they really don't have excuses. They got a pretty good bargain on all ends and still failed to cover the costs
 
I wouldn't care as much if they are only a bit behind but making regular payments. This one is the kind that regularly doesn't make payment
 
True, it's easier to budget when shortfalls are predictable and income is steady
 
7:50 AM
@Telkitty What are your legal options?
 
Hello people
 
I got my self into a bit of a trouble. So, I pushed a few commits into a PR and kept committing into the same branch locally. But now I need to push some fixes into the same PR. First thing that came to mind is to checkout new branch and reset hard to that last commit in my PR then work from there. Is there a better way?
 
@peter Git?
 
@wilx git yes
 
@peter Well, the first thing I would do would be to tar cvf the whole working copy.
2
Then you can experiment.
 
8:06 AM
@wilx wasn't expecting that. Good advice
 
What about git reset --soft abcd to the last PR commit; git stash to keep the changes you have committed after the PR.
 
That works but then I ll need to rewrite the stashed history
 
@Rerito I can legally kick them out and claim the amount they owe
but they are truly poor so morally that's not an option
 
Wait until they start doing criminal shit
Also there is probably public housing
 
I heard that they are emergency housing options also, but I am not sure why they are not taking that option
there is probably a long wait for public housing
 
8:15 AM
Don't you have insurances covering for credit default?
 
because insurance costs about 2 weeks, then insurance covers after 4-6 weeks
 
@peter Hmm, OK, can't you just create a new branch named after your post-PR changes. Then check out the PR branch, reset --soft on the last PR change and add more changes. Shouldn't this keep your post-PR history intact? You can also then rebase the post-PR changes branch elsewhere. Maybe, probably, no warranty!
 
besides insurance usually covers when you can't find tenant, not when it's tenanted but your tenant does not pay
not talking about this any more for now
not going to make any difference
 
I did the same thing but I reset --hard on the new branch. rebase might work but I don't know about merge conflicts though
 
@peter Well, you have fucked up. The pain is there to remind you not to fuck up next time. :D
 
8:22 AM
Haha I did f up.
 
8:37 AM
I got this crazy idea, what if I force the compiler to inline all the function calls, and buy 1.5 TB of RAM or run on one of the SGI machines. Will it improve the performance of the compiled binary?
 
@Mikhail Benchmark it.
@Mikhail You are IMHO likely to get some performance loss due to instruction cache misses due to bigger code.
 
Hello people, may I ask you an off-topic question? I registred a project on sourceforge years ago. I did not develop anything yet though. I did not log to it at least since 2 years ago (I do not even remember which email address I used for it). But when I checked it, I found it was last updated on 2016. Can someone tell me why this weird update I never did? sourceforge.net/projects/begueradj
 
@BillalBEGUERADJ Are we SourceForge.net?
 
Any small change can trip up the update flag. Fairly common occurrence.
 
8:52 AM
I know this is not about SourceForge, sorry. I just thought maybe someone has lot of experience with SourceForge. There is no SE website where I can ask this. Sorry.
 
They might have done some migration to newer Alura.
 
or when they packaged malware into many binary installers without asking the authors
 
@Mikhail Thank you for the info. But I really never logged to it on 2016, 2015, or even 2014. Can that automatic update occur for some reason without my intervention?
 
I doubt anybody can give an verified answer to your question
We can only speculate
and tell you delete your SF account
 
Thank you very much. Have a nice day
 
9:19 AM
I had 80% in calculus, failed the final, and was given permission to retake. For my next two courses, if I can get the average of A- and B+, I receive admission to comp sci. Anything better than B allows me to become a full-time student, claim my bursaries, and begin taking loans. My commute would then no longer be 15hrs/week...
This could be the light at the end of the tunnel, as long as I avoid bad decisions like taking my two hardest maths in the same term again. It seems best to retake calculus and take a first year language course. Any flaws in that plan?
 
Well, the most important thing to remember is that college isn't a race, and you don't get medals for taking hard classes...
 
@wilx git problems fixed. Luckily, I had only one conflict. rebase worked like magic
 
@peter Cool.
@Aaron3468 Stop lounging start cracking! :D
 
9:35 AM
@Borgleader I remember when my sister's cat did that back in time, when its main activity wasn't destroying my legs *-*
 
9:49 AM
@Mikhail Yeah... My gpa took a nosedive when I stopped taking 'soft' courses - sociology, languages, etc. Now I just need to find one that isn't secretly difficult.
 
Don't take more than 3 technical clases
 
we should have classes like 'Catology' where people do all sorts of activities with cats :p
 
like cook with them
 
10:17 AM
/cc @Borgleader
 
Laptops prices getting higher and higher. so it's probably cheaper to have desktop at every place you go..
http://www.kitguru.net/channel/ces/matthew-wilson/ces-2017-acers-new-laptop-is-an-ultra-wide-powerhouse/
 
@ProblemSlover Provided you have the suitable furniture everywhere you need
I have no such furniture at my place... Which is the only reason preventing me from buying a desktop computer
 
Ven
10:44 AM
yo
 
10:55 AM
Hiyo
 
 
2 hours later…
12:27 PM
@Rerito But of course! :3
 
Is nonius available on Coliru?
 
> This file can be also found using the Coliru command line: cat /Archive2/62/d3a09d10fcc648/main.cpp
You can use that to put it there :D
 
Ven
Discord is fucking up. AGAIN.
 
I'm just wondering because I'ld like to demo some stuff quickly for my boss
 
Put the single header up, then add mv /Archive2/ID/ID/main.cpp nonius.hpp to the command line before the compiler.
In any case, it's highly likely you'll run over the time limits.
 
12:39 PM
I was just asking. I can't even read the doc anyway because nonius.io is filtered (that's insane)
 
WTF
@Rerito GitHub too?
The docs are in the repo in markdown.
And in the release zips in html.
 
Github isn't
 
Yeah I'm browsing it right now
However I won't be able to use it on my desktop machine since... MSVC 10
(yay)
I've got a cygwin install I hoped g++ was installed there and it's not
(hint: I had to get a zipped preinstalled config from a coworker because I don't have enough rights to download packages from the internet)
That's a real PITA
 
12:49 PM
BTW, there's something wrong with gh markdown's viewer or the markdown itself because code snippets aren't highlighted
{% highlight cpp %} // runner file contents
define NONIUS_RUNNER
include "nonius.h++"

{% endhighlight %}
I get this
 
to get highlights on github you can use:
```C++
define NONIUS_RUNNER
include "nonius.h++"

```
 
@Rerito That's normal. That's Jekyll syntax. It works properly once processed into HTML.
 
its RERITO
:D
 
Sup @TonyTheLion
 
not much, you?
 
1:02 PM
Not much either
Finally got the PS4
 
Tried final fantasy XV, got disgusted
So I end up using it as a netflix terminal and only play Diablo 3 a bit
 
oh wow
sounds like PS4 wasn't quite for you then
 
No it's FF15 that was a huge disapointment
 
sucks
 
1:06 PM
I think I'll get the witcher 3 and uncharted
 
I've been meaning to buy Overwatch for PC
 
Try warframe maybe
It's free and quite enjoyable
 
I might give it a go
 
@TonyTheLion Ping me if you do
 
I shall
 
1:10 PM
124
Q: A Post-Mortem on the Recent Developer Story Information Leak

Tim Post We'd first like to take a moment to thank everyone for their patience while we put this together. Your restraint was a very big help in us handling this incident with the degree of diligence that all of you deserve; thank you for waiting so patiently as we worked to resolve it. tl;dr: On 20...

Did you guys see this?
 
Hot damn.
Glad I didn't fill one out or join the private beta.
 
@TonyTheLion Oh and I got contacted for a job offer out of the blue... Except the email was adressed to someone else...
Headhunter not even giving a shit
 
@Rerito holy moly
so you doing the job?
 
Yeah and it's grunt work atm
 
1:41 PM
oh I see
 
2:29 PM
+1 for transparency. Also, vote to close as 'Unclear what you're asking' :P — Glorfindel 22 hours ago
It's actually pending that c/v
@Ell Judith is a nice name
 
nwp
What have you got against Sith? Building Death Stars provides infrastructure jobs and will make the Empire great again. — Martin Beckett 11 hours ago
 
2:41 PM
@nwp Isn't Shog9 a moderator?
 
nwp
@wilx community manager apparently, why?
 
@sehe 4 close votes now! :D
 
nwp
/me Shakes fist in the general direction of whoever thought running a second message loop for context menus or file-open-dialogs was acceptable.
 
nwp
Opening a window to plot stuff and adding data to it is very hard when you are not in the gui thread and have to do it via messages without return values. It is especially hard to address the plot that may or may not exist yet.
And I don't know why I succumbed to the habit of writing hard when I mean difficult.
 
2:59 PM
@nwp You can have the plot window be managed by different thread and message loop. AFAIK.
 
nwp
@wilx At least in windows and QT you are only supposed to do gui stuff in the main thread. Fairly sure.
 
@nwp Dunno about Qt but in Windows API, you can create windows in any thread. However windows created in other threads are bound to those threads and you need a message pump in those threads.
 
@wilx Probably the same in Qt, except s/message pump/QApplication/
 
in Qt gui widgets need to be in the main thread
 
What does "the main thread" mean?
(Hint: nothing)
All threads are created equal.
 
nwp
3:08 PM
it means the thread that enters main
 
but only one can interact with the GUI
 
nwp
no other thread is allowed to call main, so that is a perfectly valid distinction
 
@nwp It's not observable, so it's not a usable distinction.
 
nwp
although I guess even the main thread is not allowed to call main manually
 
(In C++, code cannot use main at all)
 
nwp
3:09 PM
@R.MartinhoFernandes How is it not observable? If I'm inside main I know I'm in the main thread.
 
Just try and write bool is_this_the_main_thread();.
 
nwp
though lambdas inside main would need to count as outside main, but that's just a technicality
 
Ven
@rightfold this is ridiculous.
 
there can only be One QApplication object
 
Eww, that sucks.
Of course Qt would have singletons. :/
 
3:15 PM
@R.MartinhoFernandes tribool is_this_the_main_thread() { return indeterminate; } What was supposed to be hard about that?
 
Ell
@R.MartinhoFernandes couldn't you just write to a thread local variable in main?
or in a static initialiser
 
@Ell But you can do that in any thread.
 
Ell
of course :P
 
Which thread id you put in that variable is an arbitrary choice.
 
Ell
I forgot you could just call main elsewhere
 
3:16 PM
You can't.
You can't use main at all.
(Like, even auto fp = &main; isn't allowed)
 
in python and I think Java the main thread is the thread that runs the main function
python's a bit of an odd one though
 
@Rapptz Which main function? A Java program can have an unbounded number of main functions.
 
But there's no such thing in Java.
 
I said I think :p
I wasn't completely sure.
I figured Python got the terminology from somewhere.
 
3:20 PM
In fact, in Java the thread that was created at VM startup can simply launch another thread and exit; there's no more "first thread ever" after that.
 
Ell
@R.MartinhoFernandes Oh right
 
Though you could argue that not all threads are created equal in Java, since there are two distinct kinds of threads: daemon and non-daemon.
But the original thread is indistinguishable from any other non-daemon thread with the same name.
 
nwp
@R.MartinhoFernandes Well, operating systems can distinguish them and get angry at you when you get it wrong.
 
@nwp Which operating system does that?
 
nwp
Windows
 
3:25 PM
How?
I'm pretty sure it doesn't care.
 
nwp
Also in OpenGL there was some trickery involved with threads, but I don't remember the exact rules.
 
Ell
you have to call makeContextCurrent or something like that
 
@nwp None of this cares which thread was first.
 
in java all gui processing happens on a "AWT-EventQueue-0" thread spawned when you show the first window
 
The only thing that matters is that certain operations happen in the same thread.
 
3:27 PM
which is different from the "main" thread
 
Any thread, but the same.
@Ell Because the context has thread scope.
 
Ell
eugh. I don't like how in my algorithms class, they use infinity in such a blase fashion :(
 
But it doesn't matter which thread.
 
Ell
@R.MartinhoFernandes right
 
nwp
@R.MartinhoFernandes Ok, so I could start main, create a thread, make my QApplication and have the GUI-thread be different from the main thread. Doesn't change anything though. Once we replace the incorrect wording "main thread" with "GUI thread" everything is back to how it was.
 
3:30 PM
@nwp Fair enough.
 
with opengl the "context" is a thread local variable and holds all kinds of bound state
 
3:55 PM
> In fact typeclasses are also planned (but not required) for C++ in the form of Concepts.
 
Ven
 parseURI >=> Just . gzipRequest >=> Just . browse
Do you even fish operator, bro?
 
Ell
what does it do?
 
makes your code work swimmingly
 
Ven
(>=>) :: Monad m => (a -> m b) -> (b -> m c) -> a -> m c
it's just "pointree >>="
still, I'd like something better than those Just . (or return . or pure .)
`gzipSimpleHTTP url = browse <$> gzipRequest <$> parseURI url`
is cleaner but not pointfree :D
 
Ell
pointfree isn't always better IMO
can't you just
hmm
 
Ven
4:04 PM
guess I could use (->^)
Well, I don't need to bind myself to monads. (>=$>) will do.
 
nwp
just use the \o/ operator for everything
 
Ven
hayoo > hoogle
/cc @rightfold
 
2078: He announces that he's finally making the jump from screen+irssi to tmux+weechat.
12
 
I actually use tmux+weechat
 
4:20 PM
@VittorioRomeo: When you are faced with a choice between (a) one "conceptually wrong" assignment to an int that has exactly zero runtime cost and also no maintenance cost, and (b) a thirty line example of lambda/template/tuple magic that only three people in the world understand ... well, I know which one passes code review in my team. :) — Lightness Races in Orbit 51 secs ago
I dont always agree with LRiO but ^^^^
 
There's a lot of great people on SO with not-so-great people skills.
 
> My math teacher is showing a Spirit Science video about "sacred geometry in class
 
I've often been told that I don't have great people skills.
 
nwp
@Borgleader I somewhat disagree with the term magic there, that is stuff that any C++ programmer should understand.
 
@nwp It's not that complicated but I mean... seriously, lambda + structured bindings + tuple, when you can just do = 0
and OPs argument is "oh extra assignment" which wont cost shit
also i rather take massively simple versus "idiomatic c++17 wanking"
#bikeshed
 
4:29 PM
I like massive C++17 wanking.
 
@LucDanton summoned?
 
nwp
@Morwenn "Me too, let's wank together some time!"
 
@sehe sadly that’s all the details we’ve got
 
nwp
though I first want to have a compiler that understands std=c++17
 
@nwp Just wait the release of GCC8 x)
 
4:33 PM
presumably the objects are complex and assignment is non trivial
and the return a+b+c; is a more complex operation
 
@nwp Sure thing :D
 
Ven
@Borgleader I refuse to upvote that guy
(I mean the tuple/lambda/IIFE solution guy)
@Morwenn you do. :D
 
@ebyrob I see now. It's not the 0 that bothers me the most, is the presence of unnecessary operations and most importantly the unnecessary mutability of the variables. Mutability should be minimized. — Vittorio Romeo 17 mins ago
lol
Dogmas abound.
 
@Borgleader I would prefer to avoid an extra assignment. — Alessandro Power 29 mins ago
in a constexpr function, which any compiler should be able to trivially optimize
-.-;
 
Ven
;_;
poor cimpopler
 
user1804599
4:46 PM
@Ven "high-level" "convenient"
 
user1804599
HTTP client libraries are generally fucking terrible.
 
Ven
:(
 
user1804599
There are very few that are actually good.
 
@Borgleader This
 
Ven
But I got to use (>=$>) so I had fun.
 
4:47 PM
@R.MartinhoFernandes That answer is such a train wreck. I'm not against using C++ features, but it seems a bit overkill there.
 
Ven
> "a bit"
 
C++ feature masturbation == technical debt.
 
I don’t know what you possibly mean
 
At least using jQuery to "add a number to another number" involves a library call which abstracts away the (unnecessary) complexity.
 
user1804599
4:49 PM
I'm gonna play modded Minecraft.
 
@Ven well, you can’t append Ms or As to operators now can you
 
> -1 not enough std::tuple
 
Ven
@LucDanton YOU'RE NOT THE BOSS OF ME
@Mysticial -1 no std::option
 
@Mysticial It is, the accepted answer is nice (and by that i mean is the nicest way to follow OPs constraints), but I still like my version better.
 
Accepted answer is good
 
user1804599
4:56 PM
WTF, you need a 64-bit browser to download 64-bit Java.
 
user1804599
:logic:
 
−1 not enough tuples — R. Martinho Fernandes 10 mins ago
−1 not enough autoMysticial 4 mins ago
 
−1 not enough jQuery — Lightness Races in Orbit 8 mins ago
−1 not enough C++17 — milleniumbug 1 min ago
 
What have I done.
Woot, key exchange is working, and can create decks now i.stack.imgur.com/UesVC.jpg
 
you writing games now?
 
5:09 PM
he's writing libraries to write games
 
LOL is there some secret hat I should know about? — Barry 2 mins ago
 
nwp
5:21 PM
so much -1 on an answer without downvotes
 
What if someone downvotes now?
 
nwp
Everyone will be a suspect. We will have to consider the improbable and remove the impossible to arrive at the truth. Or something.
 
6:09 PM
@nwp I'm tempted to do an anonymous down-vote, just to add some excitement...
 
auto [my_feelings] = []{ return std::make_tuple(hurt_t{}); }();Vittorio Romeo 26 mins ago
2
 
:(
 
@Ven Only on some specific online chats :p
 
7:02 PM
/cc @Ven @Borgleader @jaggedSpire
 
@Morwenn d'awwww
 
Ven
7:37 PM
:3
@Morwenn i know this ain't the truth :P
You're good when it comes to talking about pythons
 
x)
No, I'm seriously often awkward & very shy when it comes to talking in society.
 
Ell
@Ven heh
 
00:00 - 20:0020:00 - 00:00

« first day (2274 days earlier)      last day (2688 days later) »