The Official Status Thread
-
@magus said in The Official Status Thread:
Status: I decided to go on spotify and listen to songs that have nothing to do with what day it is, to forget my sorrows for a little while at least.
I hope everyone who clicks on this gets the middle prize.
I don't know, the Imp sounds kinda fun.
I could do for a little tension release right about now...
-
@blakeyrat OF COURSE!
-
@tsaukpaetra That's why I don't wish it on anyone who clicks a dumb ad.
-
@e4tmyl33t For me, it was tuesday.
-
@timebandit said in The Official Status Thread:
@hungrier said in The Official Status Thread:
Status
I won a donut
I won a coffee.
We should meet and share
I won permission to play again.
Filed under: But, as a Canadian, they did say "Please"
-
@dcon said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
@pie_flavor said in The Official Status Thread:
@tsaukpaetra It's one of my most redeeming qualities.
Have you cashed in yet?
It's in bitcoin. So he can pretend.
We regret to inform you that the exchange has been hacked and all your bitcoins are gone.
-
@anotherusername said in The Official Status Thread:
@hungrier said in The Official Status Thread:
Do you come with the donut?
Oh you! Tee hee heeIs it a long john? Does it have a cream filling?
Nope, it's a bear claw
-
@lorne-kates said in The Official Status Thread:
I won permission to play again.
Lucky you, you can buy another coffee :face_with_stuck-out_tongue:
-
@jazzyjosh said in The Official Status Thread:
Status: Anyone who does
booleanValue ? "true" : "false"
should be .yeah. that.
-
@magus said in The Official Status Thread:
Status: I decided to go on spotify and listen to songs that have nothing to do with what day it is, to forget my sorrows for a little while at least.
I hope everyone who clicks on this gets the middle prize.
-
@lorne-kates said in The Official Status Thread:
@magus said in The Official Status Thread:
Status: I decided to go on spotify and listen to songs that have nothing to do with what day it is, to forget my sorrows for a little while at least.
I hope everyone who clicks on this gets the middle prize.
-
Status: Today I learned more than anyone should about taping together expression trees in C#.
-
@magus said in The Official Status Thread:
taping together expression trees in C#
What can't you do with this
-
Expression.Send(Expression.Constant("Dunno, man."), Expression.Constant(@timebandit))
-
@boomzilla's status:
-
@djls45 said in The Official Status Thread:
I mean, it started out that he was just simply more powerful as a male that could do magic, but it quickly devolved into him wanting to avoid using magic because it would consume him, but being forced to by the situation, then nearly losing himself to it, but being saved by someone/something at the last moment before he was totally lost, then the next plot bump appears, and the cycle repeats all over again. Even the continually downward spiral of Pact by Wildbow is more interesting than Rand Al-Thor's perpetual circling around the drain.
You might try skipping to book 12. Things get a lot different starting with the end of that book.
-
-
@antiquarian said in The Official Status Thread:
@djls45 said in The Official Status Thread:
I mean, it started out that he was just simply more powerful as a male that could do magic, but it quickly devolved into him wanting to avoid using magic because it would consume him, but being forced to by the situation, then nearly losing himself to it, but being saved by someone/something at the last moment before he was totally lost, then the next plot bump appears, and the cycle repeats all over again. Even the continually downward spiral of Pact by Wildbow is more interesting than Rand Al-Thor's perpetual circling around the drain.
You might try skipping to book 12. Things get a lot different starting with the end of that book.
I can't stand skipping books in a series, and with how long it's been since I last read them (I don't even know for sure where I left off, but I do know it was before R.J. kicked the bucket), I feel like I should restart the whole thing.
-
@blakeyrat said in The Official Status Thread:
@magus Ok but Raul Julia as M.Bison is still the best performance in film history.
EDIT: perhaps second to Nicholas Cage in The Wicker Man.
http://www.hilariousgifs.com/i/qrLEV.gif
Filed Under: No, not the
beesFENCE</angry-joe>!
-
Status: Sometime since the last time we used headless game clients for testing and now, the game decided it wants to load a material thing we don't want and shouldn't load (because it's never displayed because headless), and because of assertions this is crashing the game.
Now I need to walk up the call stack to find a suitable place to un-fuck the loading of these things, because (since they never should have loaded in the first place) I need to prevent loading for them.
FFS Epic, do you Engine?
Edit: Two steps up the stack:
-
@tsaukpaetra said in The Official Status Thread:
do you Engine?
Apparently the answer is "well don't do that!":
(Source)
-
@tsaukpaetra said in The Official Status Thread:
What the fuck? You're baking shaders into the server?
I guarantee you that not even Minecraft ever did that.
-
@pie_flavor said in The Official Status Thread:
You're
Not me. This is UE4 engine code.
And technically no, it's not being baked into the server, this problem happens when I tell the client not to load any rendering interfaces (making it a headless client), which so happens to set the result of
FApp::CanEverRender()
to false, which (in the original code) would call an immediate unload of whatever shader, which would cause an assertion due to this happening in a sub-thread (which only happens because the client has a separate thread to load assets, the server doesn't do that).
-
@scholrlea just sent that to my work "wife " who hates π s... her response:
Dude. That is not okay.
Muwahahaha π
-
@jazzyjosh That github repo is freaking awesome...
-
-
Status: PHP. That is all.
-
Status: Made another suggestion that's probably like 10 minutes of coding:
-
@ben_lubar said in The Official Status Thread:
Status: Made another suggestion that's probably like 10 minutes of coding:
My favorite part is that GitHub, a company that runs a website dedicated to the development of software, which supports issue tracking, uses an email form for issue tracking.
-
STATUS: Learning Swift is an experience. Apparently, there is no for loop. There is only for-each.
for item in collection
Or if you would like the standard counting from one value to another, increasing by one.
for i in 0...9
Now, what if I want to do something crazy, like increase by two every count? Well, Apple left how to do that out of their documentation it seems. Google to the rescue!
for i in stride(from: 0, to: 10, by: 2)
And I am enlightened.
-
@atazhaia said in The Official Status Thread:
0...9
Is this 9 or 10 iterations? I've usually seen three dots used to mean a non-inclusive upper bound.
-
@ben_lubar It's 10 iterations. Three dots means inclusive upper bound. For non-inclusive you write
0..<9
Edit: I actually found the stride function in their official documentation after having posted my post. Although I don't think it's in the official Swift basics book that I've been using as a reference.
-
@atazhaia Rust does that too. I prefer it; the for-loop's most common use is doing something x number of times (or, more commonly, i number of times) so it makes sense to have there be a semantic equivalent of that, especially since most of the time you want to do something significantly more complicated it's better to just be implementing an
Iterator
.
-
@pie_flavor I don't mind the way of writing in Swift actually. Works for the majority of cases. I was thrown off by the fact that the classic for loop has been purged from the language and replaced by the
stride()
function, though, which feels a bit clunky compared to the normal C-style loop for incrementing/decrementing by anything that's not 1. Although I guess not surprising seeing as they also purged the++
and--
operators.
-
@atazhaia Anymore, I find myself almost never using a C-style for loop in any language. I'm either iterating over a collection (
for-each
) or I'm iterating until a condition (while
). And the few times I actually have fixed-end-index loops, I'm iterating by 1.They used to have C-style for loops in Swift, but they were discarded as "too archaic" (my words there).
-
@ben_lubar What would you expect, that they use their own product for bug tracking?
-
@pie_flavor said in The Official Status Thread:
@atazhaia Rust does that too. I prefer it; the for-loop's most common use is doing something x number of times (or, more commonly, i number of times) so it makes sense to have there be a semantic equivalent of that, especially since most of the time you want to do something significantly more complicated it's better to just be implementing an
Iterator
.I don't get the current hatred of for loops by language designers. Iterators are neat and useful, but they're not a replacement for the flexibility and simplicity of C-style for loops.
From Rust's documentation:
Rust does not have the βC-styleβ for loop on purpose. Manually controlling each element of the loop is complicated and error prone, even for experienced C developers.
I'm sorry, but if a developer finds a for loop complicated and error prone then they need to find a new career.
Ditching plain for loops means that you have to add abominations like stride() or enumerate() to paper over the cracks.
-
@ben_lubar They host the repo for GitHub on GitHub, but you don't have permissions to see it, so they use e-mail as a workaround. You could suggest that they make issues in private repositories attributable to non-contributor users and then let the author see them, although that's more of a XXL-teeshirt problem once you factor in other security boundaries.
-
Status: Slide-down banner made me laugh:
Yes, that is my usual response to them.
-
@twelvebaud said in The Official Status Thread:
make issues in private repositories attributable to non-contributor users
That sounds likely to be a very bad idea.
-
@pie_flavor said in The Official Status Thread:
@atazhaia Rust does that too. I prefer it; the for-loop's most common use is doing something x number of times (or, more commonly, i number of times) so it makes sense to have there be a semantic equivalent of that, especially since most of the time you want to do something significantly more complicated it's better to just be implementing an
Iterator
.Actually, having a
for()
loop with a general-purpose conditional and explicit iteration statement was one of Ken Thompson's brainfarts, even if he had a decent reason for it at the time. It definitely has advantages, but almost all of them are tied directly to the idea of pointer manipulation via pointer arithmetic.In a nutshell, he wanted to optimize iterating pointers into arrays rather than indexes over them, and writing the compiler to automatically do it for him was a bridge too far in 1968.
Since most
for()
loops at the time were used to traverse an array, and it is a lot more efficient to pre-compute the index as a pointer (or just pass a pointer into the loop) and iterate that pointer instead. Thompson wanted to do this in C, but didn't want to add a bunch of special-case constructs for it, so he designed thefor()
to work with an outer pointer variable that is already initialized or could be explicitly initialized at the start of the loop, and whose increment actions would generate code for pointer arithmetic rather than the default integer arithmetic. It was a very use-case specific optimization, but a very important one for systems programming in the days when every byte and every cycle counted.It was also one which wouldn't have even been necessary a few years later when the SOTA for compiler technology had advanced a bit more, but he had no way of knowing that and had a personal preference for simple solutions in any case. For C at least, it did actually work out, at least for the next 40 years.
Almost all languages before then, and most since which weren't explicitly copying C, followed the FORTRAN
DO
and Algolfor
approach of implicitly iterate on a local index instead. Prior to 1986 or so, this index was almost inevitably an integer; having a definite loop iterate a collection directly had been seen in some languages before then, but it was AWK that really introduced the idea, and it was Perl which spread it. Since most languages today use collections other than bare arrays as their most common iterable types, this quickly spread, even to languages which aped C's design in general like PHP, JavaScript, and Java (which added thefor(x : y)
in 2004, which is rather late in the day IMAO but it was one of the last hold-outs).I'll post some examples of how it's evolved RSN. HTH, HAND.
Filed Under: This conversation probably should be Jeffed to one of the Coding sections. Just Sayin'.
-
@scholrlea
Even in C, there are a number of different types of collections you'd like to iterate with a for loop, other than your pointer-to-array example. Think of linked lists and hash tables. You really shouldn't be doing anything else in there though - I think the worst I've gone is tokenising a string in there.If a language has a well-developed infrastructure for collections and iterators, I doubt I'd object to omitting generic for loops. Iterating over a list of integers is definitely one of the cases that should be accommodated for that to work well.
-
Status: only five notifications? WTDWTF y'all sleeping?
-
@tsaukpaetra Just wait until @tsaukpaetra starts catching up and marks all your posts as read.
-
@tsaukpaetra said in The Official Status Thread:
Status: only five notifications? WTDWTF y'all sleeping?
I was going to go through and upvote a load of your recent posts to get you some of that sweet notification dopamine hit, but apparently the forum doesn't like doing things with 10+ tabs open
-
@ben_lubar said in The Official Status Thread:
My favorite part is that GitHub, a company that runs a website dedicated to the development of software, which supports issue tracking, uses an email form for issue tracking.
Probably because even they know their issue tracker is useless garbage.
-
@scholrlea said in The Official Status Thread:
Filed Under: This conversation probably should be Jeffed to one of the Coding sections. Just Sayin'.
You're the one who put it here, dumbshit.
-
@pleegwat said in The Official Status Thread:
@tsaukpaetra Just wait until @tsaukpaetra starts catching up and marks all your posts as read.
@tsaukpaetra why are you forbidden from loving yourself? Nearly every other context that has such a system does!
-
@jaloopa said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Status: only five notifications? WTDWTF y'all sleeping?
I was going to go through and upvote a load of your recent posts to get you some of that sweet notification dopamine hit, but apparently the forum doesn't like doing things with 10+ tabs open
That's ok, we forgive you.
Besides, the effect has decreased rather dramatically...
-
@tsaukpaetra said in The Official Status Thread:
@tsaukpaetra why are you forbidden from loving yourself?
Go Go Gadget Sockpuppet!