« first day (1382 days earlier)      last day (3560 days later) » 

1:00 PM
@sehe You know what to do! Put wget page in the init script!
 
user1804599
Yay for XML configuration.
 
@Abyx Yes, but they didn't belong to a government that wasn't already fighting.
 
Anybody tried Pyramid (Python) before?
 
When it was still Pylons
 
@Puppy what? I don't get it.
 
@CatPlusPlus Is it decent?
 
Pylons was terrible
 
well, if Ukrainian civilians die, then the Ukrainian government is already doing what it can to stop the rebels.
 
Oh.
 
if Dutch civilians die, then there's a lot more that the Dutch government could do.
 
user1804599
1:02 PM
It is a web framework.
 
user1804599
Of course it is terrible.
 
user1804599
Web frameworks cannot not be terrible.
 
blah blah blah
 
stop speaking gibblish
 
1:04 PM
> The current implementation of the Frame Debugger could be seen as a cute hack (we weren’t quite sure ourselves whether it would work at all).
lol
 
I'd like something better than Django based on Tornado/asyncio
 
user1804599
41
Q: Announcement: Keyboard shortcuts are now integrated into the site

balphaOriginally we had implemented keyboard shortcuts as a user script. We have now finally made the change to have them integrated into the site. When you go to the "preferences" page on your profile, you'll find a new checkbox labeled "Enable keyboard shortcuts". Click it, and from there on, everyt...

 
user1804599
> When you go to the "preferences" page on your profile, you'll find a new checkbox labeled "Enable keyboard shortcuts".
 
@Puppy that's how we roll in 3D business
 
user1804599
Huh wat. Didn't know Stack Exchange made it possible to turn off bad features.
 
1:04 PM
@CatPlusPlus Django is boring but does its job
 
user1804599
They're improving.
 
There are a lot of things in Django core that need to be changed
 
I suppose
But they prefer evolution to revolution
 
A lot of contrib.auth needs to burn
 
@Puppy I don't see any difference between people who died because they live on wrong territory, and people who dies because they plane flied over wrong territory.
 
1:06 PM
I loved the new Generic Views in 1.5 (or maybe that was even earlier) though
 
authtools help, but this is something that should be in the core
Old generic views were terrible, the class-based ones are okay
ORM is annoying
 
@CatPlusPlus login. Also, there's no startup. I was just naming a figure (a lot more sense in just querying the view unfiltered at database restart)
 
@CatPlusPlus the downside is spending time now thinking "how do I fit that cleverly into a generic view" :P
 
@Abyx I agree that as much as saying "there is no difference between the death of a princess and a farmer", after all they are just two humans ... which I believe is true
 
0
Q: How, in django, set field of the model in view using generic views?

Bartek BanachewiczI have a model, which has an author ForeignKey, as such: class Appointment(models.Model): # ... author = models.ForeignKey(User) I want the author field to be set automatically when creating appointment to currently logged-in user. In other words, the author field should not appear in ...

 
1:07 PM
@BartekBanachewicz Not really, there's enough reusable bits that you can do your own thing and not worry about fitting it into the framework's idea of doing things
You could've just overridden get_form and encapsulate the logic of setting that field in the form itself
 
@CatPlusPlus write an answer!
 
upvote the question!
 
Ell
moving from c++ templates to other languages generics suck
 
@Ell how so?
 
1:19 PM
@Mgetz Because templates are templates and generics are macros.
 
@Ell try Go
 
(That's a gross oversimplification.)
 
@Griwes Try C# constrained generics
 
@Mgetz Nice.
 
1:22 PM
@Griwes still has its limitations, but you can actually make them useful by constraining to an interface
 
Yeah. Still not C++ templates, just more properly done type-level macros, no?
 
@Griwes no, with reflection this gets far far more powerful than macros could ever be. Also macros aren't type safe, this is
 
@Mgetz I mean type-level macros. I.e. things that let you parametrize them on a type, but not really modify their behavior based on the type itself (maybe except the part where they call different functions).
 
> . I asked managers at big companies, and they all said they'd prefer to hire someone who'd tried to start a startup and failed over someone who'd spent the same time working at a big company.
 
1:28 PM
WTF
-1
Q: C code has a few falses in the struct

user3887819it prints ? sum = 4,7,9,10,11 product = 4,12,24,24 enter code here#include enter code here#include enter code herestruct info { enter code hereint val; enter code herestruct info *next; enter code here}; enter code herestruct data { enter code hereint sum; enter code hereint product; enter cod...

 
@Griwes ah you're referring to SFINAE and template specialization. No they don't, but philosophically they really are not intended to be used that way; the idea being that the interface should not change behavior dependent on the generic type parameter.
 
Xeo
Why hello there, brace-staircase~
refactor
 
spins chainsaw
 
Yay, running load tests and running out of gpu memory, huzzah
 
1:30 PM
@jalf on an intel GPU that's not hard
 
@Mgetz The interface shouldn't change its contracts based on the generic type parameter, but I am all for changing behavior slightly based on the type parameter.
 
@Mgetz really? considering it uses your normal RAM.
 
@Griwes it is possible, but you'll need to use reflection to do it. Basically you do a search of the loaded assemblies for an instantiation of a particular interface with a specific type parameter. Quite a few DI libraries do this for you too.
@BartekBanachewicz depends on the GPU some of them are limited in how much of your ram they can chew
 
user1804599
@chris lol what an idiot.
 
user1804599
How can one be that stupid.
 
1:34 PM
Now that I can actually see the question - Oh wait, there is none. — chris 13 secs ago
@rightfold It's like the formatting help that's right there as they edit is ignored. And the live preview. And common sense.
 
haha
solved 27
 
user1804599
I should give log4j a try.
 
0
Q: In PHP, is declaring its variable type optional when passing a reference to a function?

Phibinsim new to PHP and i have come across two ways that people declare their functions parameters. function fun(array &$array) { return $stuff } OR function fun($array) { return $stuff } From what i read in the documentation the & passes the reference to the variable. but i thought that de...

 
@Griwes That's not what macros are
 
Tagged C++ wth
 
1:38 PM
Generics are not codegen
 
Coliru is up again.
 
Like, nowhere. C++ templates are the only thing that does that
And macros are completely unrelated, because it's text-based codegen
 
Which fucking part of "type-level macros" is so damn hard to understand?
Maybe the part meant to insult generics?
 
The part where it's total bullshit
 
So yeah, the part meant to insult generics.
 
1:40 PM
Yeah yeah C++ templates uber alles blah blah blah
 
Griwes sometimes sounds like puppy 2.0
 
Show me a compile-time ray tracer written in "generics" of C# or Java.
 
has anyone seen them in a room together?
 
Show me where compile-time matters
 
@CatPlusPlus it totally matters for fanboys
I'd know.
 
1:41 PM
Also it's p easy, but completely pointless
 
you used anti-fanboy p-word
wooo
> Congrats Bartosz! You're invited to publish on LinkedIn
> We'll be steadily expanding this feature to all members in multiple languages. In the meantime, if you're interested in participating, please fill out the form below.
so apparently this is really a limited deal
what do I write about
 
How LinkedIn is shit
 
nice.
more ideas
> Write about your most memorable experiences, challenges in your industry, or topics you're most passionate about.
 
Pretty sure it's not that limited, as I received that spam email a month ago.
 
1:44 PM
or could be coincidence.
 
are you active there?
 
I keep my profile up to date, and receive recruiter spam a couple times a week. That's about it.
 
They seem to have stopped sending me emails after opting out only twice
 
user1804599
LogManager.getLogger("wombat");
 
user1804599
lol LogManager
 
1:46 PM
one of my friends jokingly endorses me once a month
he treats linkedin as a joke
 
don't worry your career is also a joke
 
Oooh apparently the deadlock is caused by the presence of the debugger, niiice
 
yes, good thing is that you don't need a career to have enough money to never have to work another day
 
@ParkYoung-Bae That's not that unexpected :v
 
sad thing is that some people treat career seriously and HAVE to work their own life because well, they didn't know anything about finance or how this system work
 
1:48 PM
@CatPlusPlus ydat
 
Debugger freezes threads and changes behaviour of various things
 
@chmod711telkitty at least you're in the happy batch not treating their career seriously. Congratulations!
 
but I have warp locking step :v
it shouldn't change anything
I don't get it
 
I want to create value not just making money
two are very different
 
so far you have neither
 
1:50 PM
and obviously you have, intern?
 
lol, I'm going to be an intern for the next three days
use that "argument" while you can
 
enjoy the rest of your life working on your career, eventually you will get what I meant
all my 'high achieving' friends eventually ask themselves 'what I do with my life'?
trust me I have changed enough professional jobs to know where you are heading ...
 
user1804599
trait Logging {
  def logger = LogManager.getLogger(getClass)
}

class A with Logging {
    def f() = { ...; logger.warn("woohoo!"); ... }
}
 
user1804599
:D
 
@chmod711telkitty I don't think you get what this career thing is about.
 
1:54 PM
enlighten me
 
I don't force myself to work.
I work because I like it.
Achievements are just a natural consequence.
If you have changed a few jobs but you don't feel you're moving forward, then you're obviously lacking career plan.
 
yet you are changing job
 
Yes. It's another step on my career way.
 
lol, enlighten me where you intend to be eventually, say by 45 year old
 
lol LogManager.getLogger.
 
1:56 PM
both by money made and value added
 
because who cares about happiness and health right
 
Who cares about value, gimme money
 
@chmod711telkitty I'll be experienced enough to teach more people and work smarter.
 
Also shoot the poor
 
Hence my experience and abilities will be valued more.
 
1:57 PM
@Puppy LogManager.getLogger.log("logging disabled!")
 
If I had a million euro
 
work smarter ... sounds fishy ...
 
If you don't learn and improve, you can switch jobs 10 times and still be as dumb as you were when you started.
 
I'd play games all day every day
Except on weekends
 
@chmod711telkitty More efficiently. Less refactorings, better planning, better expertise.
 
1:58 PM
We always say 'you should have worked smarter' when things go wrong.
 
@BartekBanachewicz lol true if you are working by yourself and things don't change
 
@chmod711telkitty How much job related experience do you have, again?
 
@chmod711telkitty it's universally true. I can't tell you where I'll be working 25 years from now, but I can tell you I'll be working better.
 
user1804599
I should make it protected.
 
Unless you end up with your arms amputated.
 
2:00 PM
Career is not about getting titles for me. It's about self-improvement.
@R.MartinhoFernandes Or die in a car accident. Right.
 
@Griwes like something between 6-8 professional jobs, had my own clients for my own business etc
 
ITT kitty is bill gates
 
@R.MartinhoFernandes Amputatated
 
@chmod711telkitty 6-8 jobs, each lasting how long?
 
@BartekBanachewicz you become dumber, I am sorry, your brain starts to decay by 25
 
2:01 PM
@chmod711telkitty how old are you again?
 
> to rod
 
@rightfold lol.
 
Because I am afraid I see such signs of decay.
 
I had 2 professional jobs in uni, 3 for which I worked for 1.5 year - 2 years. A few between 2 months - 9months
 
Sadly, you haven't learned a lot in all of those.
 
2:03 PM
what an amazing career
 
You still don't use version control, do you?
 
Bitch fight, telfatty vs burritek
4
<mario kart jingle>
 
I have ... quite a lot about how the economics work (more relevant in making money than building better career)
 
@chmod711telkitty Did you get that out of your ass?
 
2:05 PM
what a reliable source.
I'm impressed.
 
haha
 
Yahoo Asswers
 
I think she's right actually. Brain stops developing in the early twenties and then slowly decays. I'll find a source.
 
How low can you stoop.
 
well, do you own research
 
2:06 PM
@ParkYoung-Bae The premise might be correct, the conclusion is plainly dumb.
 
Just look at all the big scientific discoveries: made before 30.
 
We lost ~20% of our neurons by age 80 or so IIRC
 
Therefore we must start losing them at 25.
 
Is it because the brain starts deteriorating? Probably not. Is it because we start falling into a static thinking pattern? I would believe this.
 
Seems obvious to me.
 
2:07 PM
Also: it's not the number of neurons that counts, but the number of connections.
 
@chmod711telkitty lol
 
IIRC it starts declining around 24-27
 
@rubenvb Stop with all the facts.
 
Well, I'll tell you that the brain starts recovering after 40 then.
It's a fact. Find your own sources.
 
@R.MartinhoFernandes :)
 
2:08 PM
I'll find the sources
Stop the pedantry
 
He's right.
 
we should get AKK in here
he's a master at finding troll papers
 
Stop promoting dumb discussions/arguments.
 
@CatPlusPlus What would you do on weekends?
 
Meet friends duh
 
2:09 PM
@TonyTheLion he'd get drunk then play video games
 
I'm a lot more willing to believe my boss and my other coworker than Yahoo! Answers or random Internet dude.
 
oh right
 
Probably pay-walled, can't tell though.
But only 1 source.
Better than no source.
 
Too long too boring
 
> abilities based on accumulated knowledge, such as performance on tests of vocabulary or general information, increased until age 60.
 
2:10 PM
@rubenvb works
 
@BartekBanachewicz cool. :-)
 
anyway, again, that's like saying that a faster CPU will always execute faster, irrelevant of the program
 
if you take a log(n) algorithm on a slower CPU it will still be faster than n^2 on the faster one
pretty good analogy of "working smarter" if you ask me.
 
But you need to be able to think of the faster algorithm.
And that's what this is all about.
People aren't CPU's
 
2:12 PM
of course they are not.
 
They are thinking machines. Which a computer is not.
yet.
 
Yea I don't need to be plugged in to run
 
lol
please insert butt plug to collect garbage.
 
that context.
 
2:14 PM
The fuck is an "Ecologically Valid Video Game Task"?
 
@R.MartinhoFernandes I see you are using Catch for C++ testing. How do you run all the tests? I see you have a runner.c++ that includes the catch header and #defines the main configuration. How does it go about finding the rest of the files?
 
@ParkYoung-Bae omg never cited
 
dx.doi.org/10.1016/j.neurobiolaging.2008.09.023
@rubenvb Look at pub date
I'm more interested in the references
 
@ParkYoung-Bae oh lol
:-p
 
@Jefffrey Just link them.
 
2:16 PM
I see. Thanks.
 
As long as you do that statically :(
 
@rubenvb Yep, it's the usual oversimplification that removes all nuance and turn things into easy-to-state absolutes.
 
@R.MartinhoFernandes also called a conclusion of a piece of research. Or what you said. I honestly haven't read the source text.
 
@rubenvb No, I meant the "you get dumber after 25" bit.
 
@R.MartinhoFernandes oh, then I retract my previous comment.
I should use less smileys
 
2:19 PM
@R.MartinhoFernandes You don't get dumber, your brain starts declining
Dumber might be a consequence
 
Your brain was doomed the moment you started programming sorry
 
@ParkYoung-Bae And at the same time it is still growing.
 
0
Q: Const references sometimes lead to confusion

le_ninja_slothI'm new to C++. I learned that references should be used whenever possible and that pointers should be used only when strictly necessary. I also learned that const references should be used in function parameters when the function does not change the referred variable. I understand the reasons a...

 
@R.MartinhoFernandes Not enought to compensate for the decline
 
2:22 PM
@ParkYoung-Bae Nope, it's just an asymmetric growth.
 
user3010322
@Xeo There was a shittonne of that in the codebase I had to fix under pressure. Refactored the shit out of those with craploads of early exits / continues.
 
user3010322
Also HOLY SHIT everything hurts this morning.
 
Ok, I think I got it. When I heard people saying use const refs when your function promises not to change the parameter in question I (wrongfully) thought that the main premise was that the function promised not to assign a new value to the parameter, like this: foo = Foo(). — le_ninja_sloth 3 mins ago
 
@ParkYoung-Bae I'll believe you.
 
2:22 PM
facepalm
 
I know
 
@ThePhD How come?
 
I am an infinite well of knowledge
 
lol
 
user3010322
@TonyTheLion I don't know, but even my tongue feels like it's swollen.
 
user3010322
2:23 PM
I'm not sure what's going on.
 
@ThePhD That doesn't sound good
 
you caught UB
 
lol
You reap what you sow.
 
user3010322
:(
 
user3010322
But I haven't used UB in forever!
 
2:24 PM
You RIP what you saw.
 
dat pun
 
Yay, now I have a Bus Pirate, but I don't need it because I have nothing to debug anymore.
 
> Sadface emoticon
I'm reformatting my social life and you don't belong
You're gone
No more attention for the shit that don't matter
I'm apathetic towards your blubbering blather
 
user3010322
Oh well I'm sorry you're too PERFECT to need to debug.
 
Somehow those lyrics fit.
Well Psychostick lyrics tend to fit in general.
 
2:26 PM
@ThePhD No, I mean, I debugged everything by primitive means before the thing arrived.
 
And here CUDA is being helpful as always
> Launch failure
> code=77 (Unknown)
Yes thank you
> The current thread is not currently running code or the call stack could not be obtained
 
That's a launch failure.
(Man, that smoke pattern is so recognisable)
 
If I have a similar smoke trail coming out the GPU I'll start worrying
Time to comment half of the code until the bug is found
#happiness
 
@R.MartinhoFernandes would you consider dating my friend? She's materialistic and quite dumb
 
My flatmate passed his Spanish exam by 0.8 points.
Time to celebrate.
 
2:31 PM
she's rejected by this guy who she liked and desperate to get married
I have never seen a woman more desperate to get married than she is
she reckons she's rejected by guys because she's too smart ... which isn't true
 
0
A: Unified initialization syntax in C++11

rubenvbMicrosoft Visual Studio 2013 isn't the star of the C++11 class. Neither is Intel's compiler version 13, because, well, they have version 14. If you want to see if your code is valid, use the latest version of GCC or Clang, both available on the Greatest Online Compiler Platform in Existence. Th...

 
@CatPlusPlus nope. it's not PEP8
 
Fuck PEP8
 
user3010322
Heh.
 
2:36 PM
fuck cats
 
none of my other single friends act as desperate as she does ... some are okay with being single for life
 
Also eugh I can't contain things completely, because it'll take shitload of space for nothing
 
@chmod711telkitty don't lie us that you have friends
 
Fuck's sake
 
@chmod711telkitty Asking for a friend?
 
2:38 PM
kitty is so random
 
LETS MAKE A STRUCTURED WIKI ITS A GREAT IDEA WOO
 
Xeo
@rubenvb GOCPE... hm... nah, doesn't roll off the tongue as nicely as Coliru.
 
Fuck I'm making separate models for revisions this shit won't work
 
My fingers are terrible.
 
@Abyx Alright, I don't have friends, all those people who hang around with me for the past many years are all the fraction of my imagination ... Oo, & uni friends, I imagined about going to uni too & being here typing this isn't real too
 
2:39 PM
Someone struck a chord?
 
@Xeo True enough. It's still a true statement though. :-)
 
@R.MartinhoFernandes My friend is driving me nuts, I thought two nuts would make a perfect couple ...
 
Seems impossible to move the middle finger precisely without the ring finger doing a similar motion.
 
Xeo
@R.MartinhoFernandes I can do it for the first joint, but not the base of the finger
 
@R.MartinhoFernandes Try to focus on the top two phalanxes (phalanges)?
 
Xeo
2:43 PM
similar problem is just moving the pinky alone
 
Oo, it is contagious ~_~
 
hey guys
 
Xeo
I can do it on my right hand, but not on the left
 
i'm bac for another piece of advice
 
@rubenvb Phalances.
 
2:44 PM
Phalancii
 
anyone feels explaining stuff about copy and move?
 
@R.MartinhoFernandes nope
 
typical, the one time I actually want office to offer me some restored version because it crashed, and it has no idea wtf I am on about
 
Yes ask Puppy
 
its with a "g".
Fuck the English language. I'm switching to Dutch Flemish :-p
 
2:45 PM
@Sp3c7r00M move out
 
user3010322
I wonder what would happen if I nicked the webbing gently between each of my fingers.
 
user3010322
Would that enable greater independent single finger movement but sacrifice some amount of strength / stability...?
 
no, it would heal poorly and reduce everything.
 
@ThePhD no you idiot, it'll just hurt you, make people cringe, get infected and/or make your slightly worse at swimming.
 
@Abyx why?
 
2:48 PM
He said "gently"!
 
Xeo
@ThePhD You'd probably cry like a little girl
 
fingers are controlled from useless down in your wrist/arm. The hands are more or less just tendons
 
@ThePhD okay, I imagined doing that to myself and I feel like passing out
not before vomiting
 
user3010322
Sounds like a great form of torture I guess.
 
Xeo
Never cut between your fingers with a piece of paper?
 
2:50 PM
nope
 
Xeo
lucky guy
hurts like fuck
 
I did cut my hands with knives a couple of times
I have this reaction whenever I see my blood or imagine it
 
@LightnessRacesinOrbit wat
 
@AlexM. I can just imagine you sitting in a field with goats, lobbing knives at your hands for fun
 
2:51 PM
lol no it was all done by accident
also wtf goats
 
:D
Dude, I watch Top Gear. I know what Romania is like.
8
 
shit, forgot about that
 
can you put that in one post so I can star it?
 
I'm busted
 
2:52 PM
okay, I admit
I'm a son of a goat
my whole family is formed of goats
 
ok, when you said they started spinning, I didn't think you meant like that ಠ_ಠ
 
@Sp3c7r00M because.
 
@AlexM. Hodor.
 
I dunno GoT :(
 
2:55 PM
@AlexM. You know enough, it seems
 
well I've read ~60% of the first book but I didn't like it that much
what I meant was, whatever Hodor joke that is (if any), I can't get it
 
user3010322
Fuckin' sunlight dude.
 
user3010322
That bitch is everywhere.
 
@ParkYoung-Bae one of our more popular house music producers and djs is called "Liviu Hodor"
 
I don't b-liviu
 
2:57 PM
that's even closer to Hodor than Tudor
 

« first day (1382 days earlier)      last day (3560 days later) »