|
Thanks! I'm using c++14 and a new version of cmake so I guess I was asking for trouble a bit it's nice to have a free CI environment in the first place.
|
# ? Sep 24, 2015 19:57 |
|
|
# ? May 26, 2024 21:15 |
|
https://twitter.com/c0smicr4y/status/640714284553469952/photo/1
lord of the files fucked around with this message at 21:32 on Sep 24, 2015 |
# ? Sep 24, 2015 21:30 |
|
Honestly, the thing that strikes me most here is how the Win32 API/style is always so full of aesthetic microaggressions. Why is it so ugly?
|
# ? Sep 24, 2015 21:48 |
|
Coding horrors: full of aesthetic microaggressions
|
# ? Sep 24, 2015 21:59 |
|
Ithaqua posted:Back to the original "horror": I don't know why it's a horror that every story is 3 points. That can happen. I guess it can be quite demoralising to spend all that developer time to arrive right back at the default of "all our stories are equally weighted".
|
# ? Sep 24, 2015 22:07 |
|
Athas posted:Honestly, the thing that strikes me most here is how the Win32 API/style is always so full of aesthetic microaggressions. Why is it so ugly?
|
# ? Sep 24, 2015 22:48 |
|
qntm posted:I guess it can be quite demoralising to spend all that developer time to arrive right back at the default of "all our stories are equally weighted". But it's not for weighting, it's for effort estimation. Prioritization is the job of the product owner. Story points lets the product owner know what things they can fit in a sprint and how soon they can expect those things to be delivered. If they have 10 user stories, each estimated at 3 points, and the team's velocity is only 20, then the product owner can choose which 6 stories they want completed first. If you've never worked on an Agile team that was doing it well and had buy-in from upper management on down, it sounds like insane voodoo magic. But it actually works.
|
# ? Sep 24, 2015 22:53 |
|
HardDisk posted:That is supposed to be kernel-level, code, right? Are gotos really still a thing in that "level" of code? HardDisk posted:I guess my question is then why isn't it a function or a method or something? Athas posted:Actually, it can be written even nicer: If there wasn't a ptable.lock , I'd probably just go with "goto found". It's also not uncommon to have to release a lock in two places with structured (if/else) branches either. Really, the function as written is not inconsistent with "good style" kernel code, aside from the braces thing.
|
# ? Sep 24, 2015 23:09 |
|
it's kind of wierd how some experienced developers will be very adamant about proper indentation and always putting braces around conditional and looping blocks but as soon as you suggest maybe we should have significant whitespace and enforce indentation it is an abomination upon the lord
|
# ? Sep 25, 2015 00:42 |
|
On the story points topic: Where I work, there's a company-wide goal to lower the average story point size to 3 or smaller. Every now and then I see a powerpoint slide with the wildly varying (surprise surprise) weekly averages.
|
# ? Sep 25, 2015 01:10 |
|
rarbatrol posted:On the story points topic: Where I work, there's a company-wide goal to lower the average story point size to 3 or smaller. Every now and then I see a powerpoint slide with the wildly varying (surprise surprise) weekly averages. Techncially you can scale story points however you want, you just have to re-calculate your velocity (and also not rely on previous point estimates for relative estimation unless they're also scaled). So just immediately meet the goal by rescaling the 13-pointers to 3-pointers and so forth, then divide your velocity by 5
|
# ? Sep 25, 2015 02:15 |
|
No Safe Word posted:Techncially you can scale story points however you want, you just have to re-calculate your velocity (and also not rely on previous point estimates for relative estimation unless they're also scaled). So just immediately meet the goal by rescaling the 13-pointers to 3-pointers and so forth, then divide your velocity by 5 Yuuuup.
|
# ? Sep 25, 2015 02:25 |
|
No Safe Word posted:Techncially you can scale story points however you want, you just have to re-calculate your velocity (and also not rely on previous point estimates for relative estimation unless they're also scaled). So just immediately meet the goal by rescaling the 13-pointers to 3-pointers and so forth, then divide your velocity by 5 Although making user stories actually smaller so they're easier to estimate and have lower risk is a good thing, too.
|
# ? Sep 25, 2015 03:41 |
|
We also have a burn down chart that seems to keep burning up and stand up meetings that go on for too long. I wonder if there's enough material for a bad Agile thread.
|
# ? Sep 25, 2015 04:02 |
|
Jumpingmanjim posted:We also have a burn down chart that seems to keep burning up and stand up meetings that go on for too long. I wonder if there's enough material for a bad Agile thread. It could probably double as the Agile General thread anyway.
|
# ? Sep 25, 2015 04:20 |
|
comedyblissoption posted:it's kind of wierd how some experienced developers will be very adamant about proper indentation and always putting braces around conditional and looping blocks but as soon as you suggest maybe we should have significant whitespace and enforce indentation it is an abomination upon the lord I like the idea in principle but in practice python's whitespace has been a pain in my rear end in more than one occasion. Also I like curly braces so I can hover over one and jump to the other in large blocks.
|
# ? Sep 25, 2015 04:52 |
|
Jumpingmanjim posted:We also have a burn down chart that seems to keep burning up and stand up meetings that go on for too long. I wonder if there's enough material for a bad Agile thread. Hey Geoff, didn't know you were on the forums.
|
# ? Sep 25, 2015 05:56 |
|
SupSuper posted:It's over 20 years old. So is POSIX, and it's much more pleasing to the eye. Even GTK+-programming, which is also an object-oriented library written in C, isn't as ugly.
|
# ? Sep 25, 2015 06:29 |
|
Athas posted:So is POSIX, and it's much more pleasing to the eye. lmao
|
# ? Sep 25, 2015 06:49 |
|
please defend the countless non-reentrant, non-threadsafe global-heavy POSIX APIs like readdir and getpwnam, along with the lovely longjmp variants of getcontext/setcontext, and then once you're done, tell me how signals make any sense, and why FD_CLOEXEC is not default for almost everything
|
# ? Sep 25, 2015 06:52 |
|
Don't forget that any API taking PIDs is inherently racy and the fundamental unit of timekeeping is shorter than a human lifespan.
|
# ? Sep 25, 2015 07:24 |
|
Suspicious Dish posted:please defend the countless non-reentrant, non-threadsafe global-heavy POSIX APIs like readdir and getpwnam, along with the lovely longjmp variants of getcontext/setcontext, and then once you're done, tell me how signals make any sense, and why FD_CLOEXEC is not default for almost everything I have been talking only about aesthetics, not about overall design quality. I know plenty places where POSIX sucks, but at least it looks pretty-ish while doing so (i.e. no common use of types with names like _WCHAR or whatever the gently caress).
|
# ? Sep 25, 2015 07:46 |
|
Athas posted:I have been talking only about aesthetics, not about overall design quality. I know plenty places where POSIX sucks, but at least it looks pretty-ish while doing so (i.e. no common use of types with names like _WCHAR or whatever the gently caress). The heroic backtracking from Managed C++ to C++/CLI showed there is some amount of underscores that is too much even for Microsoft.
|
# ? Sep 25, 2015 08:10 |
|
pseudorandom name posted:Don't forget that any API taking PIDs is inherently racy and the fundamental unit of timekeeping is shorter than a human lifespan. That reminds me. I have a Linux patch to expose a process handle as an fd I need to finish off. Closes all the races with existing APIs.
|
# ? Sep 25, 2015 08:15 |
|
Fullets posted:The heroic backtracking from Managed C++ to C++/CLI showed there is some amount of underscores that is too much even for Microsoft.
|
# ? Sep 25, 2015 09:43 |
|
Suspicious Dish posted:That reminds me. I have a Linux patch to expose a process handle as an fd I need to finish off. Closes all the races with existing APIs. Unless you're Josh Triplett or Thiago Macieira you may have to work fast to beat them to it. Though the reason it's not already in is that they wanted to do it by another clone() syscall, and it's taken a while since the various implementations read the tls field directly out of the syscall arguments, rather than it being passed down through the call stack as a function parameter.
|
# ? Sep 25, 2015 09:50 |
|
Athas posted:So is POSIX, and it's much more pleasing to the eye. Really though the real reason is that Win32 never drops anything, so everything is built on layers and layers of age-old standards and defines to maintain all kinds of compatibility mappings that are probably mostly obsolete now (eg. 16 vs 32-bit and ANSI vs Unicode) so all you see are macros. There was a big push to clean things up in the Vista era but we all saw how adoption went.
|
# ? Sep 25, 2015 10:05 |
|
I'm learning how to code. Someone just told me about while ( i --> 0 )
|
# ? Sep 25, 2015 10:19 |
|
SupSuper posted:C was designed for POSIX though. You mean POSIX (and Unix before it) was designed for/written in C... Also it managed to avoid the whole wchar thing by basically punting on internationalisation support entirely, which I'm not sure I'd call a win. It worked out in the end because everyone is moving to UTF-8 these days instead of wide characters (and moving outside the basic multilingual plane has kind of hosed NT on the theoretical benefits of using 16-bit wide characters), but back when NT came out doing portable non-English-language software on Unix was a right nightmare. Even today things like locale names aren't standardised across Unices - is EUCJP ja_JP.eucJP or ja_JP.eucjp or ja_JP.IBM-eucJP? Who knows! feedmegin fucked around with this message at 11:52 on Sep 25, 2015 |
# ? Sep 25, 2015 11:45 |
|
Carbon dioxide posted:I'm learning how to code. Too bad the --> operator doesn't work anywhere else.
|
# ? Sep 25, 2015 12:07 |
|
Carbon dioxide posted:I'm learning how to code. What does it do?
|
# ? Sep 25, 2015 12:54 |
|
Jumpingmanjim posted:What does it do? It's a postdecrement operator followed by a greater than comparator without a space in between. i-- > 0 is how you'd normally write it.
|
# ? Sep 25, 2015 13:19 |
|
Jumpingmanjim posted:What does it do? At a guess, it parses to: while ( (i--) > 0 ), which is to say, each time it evaluates, it checks if i > 0 and then decrements i.
|
# ? Sep 25, 2015 13:20 |
|
Pavlov posted:I like the idea in principle but in practice python's whitespace has been a pain in my rear end in more than one occasion. Also I like curly braces so I can hover over one and jump to the other in large blocks. My only issue with Python's whitespace is not being able to hit Ctrl+B (or whatever) to jump from the beginning of a block (i.e. the opening brace) to the end of it. Not a big deal in the scheme of things, to be honest.
|
# ? Sep 25, 2015 13:58 |
|
1337JiveTurkey posted:It's a postdecrement operator followed by a greater than comparator without a space in between. i-- > 0 is how you'd normally write it. No, normally you'd use a for loop, which were invented for exactly this purpose.
|
# ? Sep 25, 2015 14:00 |
|
Carbon dioxide posted:No, normally you'd use a for loop, which were invented for exactly this purpose. Not if you're going to write the lower bound as 0-- 0
|
# ? Sep 25, 2015 14:06 |
|
Carbon dioxide posted:No, normally you'd use a for loop, which were invented for exactly this purpose. What if you're going to have to modify i in the loop body?
|
# ? Sep 25, 2015 14:21 |
|
fritz posted:What if you're going to have to modify i in the loop body? code:
|
# ? Sep 25, 2015 14:32 |
|
Edison was a dick posted:Unless you're Josh Triplett or Thiago Macieira you may have to work fast to beat them to it. I'd be happy if they beat me to it.
|
# ? Sep 25, 2015 16:15 |
|
|
# ? May 26, 2024 21:15 |
|
Ithaqua posted:Back to the original "horror": I don't know why it's a horror that every story is 3 points. That can happen.
|
# ? Sep 25, 2015 16:57 |