are we talking about classic sci-fi book series with wack endings because fuck i'm not sure i've bothered to read anything after the dune books that don't exist when is someone going to just break into brian herbert's house and publish photocopies of the actual dune 7 notes
like i am still mad and i read that all like three years ago
between the straight up plot holes and the whole tying the grand finale of this 7000 year plot back into the halfassed prequels thing
i much prefer the butlerian jihad being a galactic scale moral panic that started because people were just freaked the hell out by what computers can do than a literal war against killer robots that started because one of them dropped a baby off a balcony for the lulz
Suits Me
In college, Summer Klerance was what her teachers referred to as GBL*. Each student in her probability class had been given an individual problem to work on and turn as part of their final grade. Summer, as usual, procrastinated much too long, and when she finally looked at her problem, ...
I'm really hoping this is the start of a rebuilding of trust between SE and its community. Even just taking the time to ask directly for feedback and input on what to change says a lot about the new VP in my opinion.
I don't know what sort of contractual requirements SE has due to the settlement with Monica, but if they're able to make an apology I feel like were the closest to that so far
Will Alice win in this Stick Bomber game? code-golf decision-problem game
Background
Stick Bomber is a two-player game I just made up. Initially, some sticks are placed in one or more groups, and the sticks in each group are laid out in a straight line. So a configuration with three groups of 3, ...
What if function application was right-associative? code-golf string parsing
Background
In Haskell and many other functional languages, function application f(x) is simply written as f x. Also, this form of function application is left-associative, which means f x y z is ((f x) y) z, or ((f(x))(y...
@RedwolfPrograms yeah, I personally have a lot of faith in the direction we may be seeing with Philippe - I haven't really worked much / at all with him but overall I have a lot of confidence in our CMs (even if they often come bearing bad news or status-declined tags :P).
i'm not just as confident in SE itself and don't really know how the hierarchy is, but I am hoping that this new position will give the community a larger and more direct line of communication with SE through a dedicated employee, which previously I'm not sure CMs were always able to do
we'll, again, have to just wait, see, and hope for the best, but I am just hoping this will be an improvement to the corporation's treatment and handling of us as the community and that the VP's enthusiasm towards supporting and prioritization of the community will be echoed in the chain of command above him
@PyGamer0 I think the pattern matching on lists/tuples/dicts can be a lifesaver in many cases, though first-class algebraic data type support would make a much better synergy (I know it is technically possible as shown in the middle of PEP 622, but it is way too verbose and doesn't work well with "rapid prototyping")
i'm just glad i'm fortunate enough to have online courses available to me and a co-op job that lends itself easily to being remote so i don't have to deal with all of this bullshit
in the middle of my city being the province's hotspot with a very unstable and somewhat growing new covid case rate
we are following the province with reopening into stage 3
if your cases are low and you reopen and then bad stuff happens again, that's very unfortunate
if your cases are still not even low or even still growing and you reopen and bad stuff happens, that's just stupidity
anyway, it's not like anyone'd listen to my pointless opinions anyway xD so i will just sit here in my room for like 80% of my life for the foreseeable future and be glad i have that luxury
Given an array of integers. Find out its longest sub-array (contiguous subsequence) whose sum is 0.
The sub-array for output may be an empty array.
Input
Input an array of integers.
Output
Output the longest zero sum sub-array. If there are multiple such arrays, output any one of them.
Output For...
yeah you can flatten a nested list comp by doing that syntax - do note that its order is left to right so print([(a,b)for a in[1,2]for b in[3,4]]) gives [(1, 3), (1, 4), (2, 3), (2, 4)]
yeah. i'd say i've gotten used to most of the common weirdness you have to deal with python
not familiar with the extents of how weird you can get it, but at least used to things so i can use it even if it has peculiar behavior or restrictions
if it was illegal to make memes, that would pretty much mean it was either illegal to send images, or unenforcable, since pretty much any random picture can be counted as a meme
Interesting concept for a language: invariance. Essentially, every program takes an input x, performs a series of provided commands on x then outputs true if x is unchanged, and false otherwise
If you did this, then the cat program would be something like:
Is there a 1 in its binary representation? Is there a 2 in its binary representation? Is there a 4 in its binary representation? Is there an 8 in its binary representation?
@AviFS I think, in order to make it usable, you might need to go down the Brachylog route, and allow it a "print and return" function, for challenges/programs where you need a non-Boolean output
@AviFS Personally, I think the better way to allow more complex output is to have a function that is "Print X and return X", and the result of the invariance is only output at the end of execution
So you're just proposing another primitive to add to an existing lang, then?
It sounded like it was a concept that a whole lang would revolve around
Another direction to take it:
To have more interesting output, come up with a way to show/quantify how different
And then 0 would be the truthy output, anything else would mean it changed
Eg, the difference between input & output
But that's not very interesting
Back to binary, you could output the xor of the two numbers
But that might be too abstruse
Of course, you could always decided to allow string as input, and even other objects. And you'd just have to define the 'diff' for each data type the lang supported
Eg for a string it could be every char in the output that wasn't in the input
so truthy would be if in ∊ out
and lambda n: n+'!' would give you as output either '!' (falsy) or the empty string (truthy) depending on whether the input string had an exclamation mark already in it
@AviFS Well, there are a surprisingly amount of Jelly answers in the form <code>=. This would be a lang where the same thing would just be <code>. So not exactly an extension to an existing lang, but nothing revolutionary
@lyxal I had mental logic for always responding to o/ with \o and vice versa but having thought it through I realise it doesn't make any sense. I'll keep doing it though lol
if any feature request similar to that ever got status-review'd i'd probably post a counter-FR asking to un-consider that, because I feel that it is a negative change for not just CGCC but honestly all of SE :P
> After 90 days of inactivity by the question-author, answers with 2 or more upvotes should qualify for community accept-answer votes 5 community accepted-answer votes shall cause the answer to be accepted Users with 7500 reputation may cast accept-answer votes
Honestly, that seems like a feature that would work the least worse :P
This is a long-known bug that has nothing to do with the mod tools. Essentially, when an answer has ever been undeleted in the past, deleting the question silently marks the answer as deleted again without clearing the past undelete votes, so it looks like the ones from the previous undeletion cycle are still pending. But since regular users can't undelete an answer on a deleted question, no one else could ever cast a vote there, which is probably why no one's bothered fixing it. — animuson ♦Jan 19 '19 at 17:13
^ About your undelete votes on deleted answers thing @hyper
@RedwolfPrograms This is probably the most annoying thing I've ever debugged too (before I knew it was a chromium bug), since any logging will make the issue disappear so you can't use the normal approaches to figure out what's going wrong with your code
I've had something similar happen before, where a routine ASCII compressor program was randomly starting to dump arbitrary unicode into the output, but unfortunately I just deleted it and rewrote it so I'll never know if it was some stupid mistake of mine, or an actual bug :/
Way back in the day we started salting Gravatar image URLs, but only for new users. Older users do not have a salted Gravatar URL.
Today we performed a backfill so we can drop an old column Users.Email which contains an email address only used for this purpose but we didn't take into account that...
it isn't always that effective though, sometimes i have to hold it on over the fly for like a few seconds before it properly dies and then it smells bad because i basically charred the fly's corpse
I release a butterfly so that its wings' movements redirect the air flow and the chaos effect leads to a large shift in the atmosphere and refracts cosmic rays to strike the fly and instantly kill it.