« first day (4276 days earlier)      last day (862 days later) » 
00:00 - 14:0014:00 - 00:00

14:00
14
Q: Do I have permission?

Colera SuThe Challenge Given a string indicating the symbolic notation of UNIX permission of a file and its ownership (user ID and group ID), decide whether a given user A has permission to read / write / execute it. Related. Permissions in UNIX system In UNIX, every file has three classes of permissi...

Did I read this as "Do I have Parmesian?"
maybe
is that so terribly bad?
yay my pfp changed @lyxal :3
nice little D :D
Btw anyone here use SO and have some experience in outside programming?
:62198867 sus
@DialFrost what is outside programming
@thejonymyster like normal coding
I saw this user putting bounties up on his qns
and they seem very interested in understand how apple does stuff
which they probably cant get
E.g. they want to know how they selected an image (removing background), apple has a page describing it (but the OP says it's not as good as it seems when apple shows the product), so they're saying that they want to know how they did it
But of course this means apple is using high-end API which they dont want anyone to get
soooo what advice do I give?
14:16
Like how to do a CSS effect? Or a internal undocumented MAC api?
@mousetail no
internal undocumented api
The OP also asked another 2 questions and boutnied them both lmao
Yea really hard to figure out info on that, there are these whole reverse engineering comunities that probably know but it's hard to find them
@mousetail yup
i feel like your comment is sufficient if you dont actually have insider info
Wait no that's not a internal API at all
14:17
@thejonymyster ?
@mousetail eh
They just want to train a neural net in the same way apple does
not sure what you meant by interal but ok
@mousetail that's even harder!!!
@DialFrost your comment on the linked post says all that you probably need to say
@thejonymyster mkay
@DialFrost No much easier lol
14:18
40 bronze badges!
thats my opinion anyway /shrug
@Ginger gg :tada:
@Ginger ?
The question should be closed as needs more focus though, that's a much too broad subject for a answer
@mousetail I have no experience at all in neural nets so ya
14:19
@Ginger ah
I got 53 <3
neat
with around the same rep as u
u have a lot of silver lol
@mousetail has a bounty on it :/
My Stack overflow rep is ready for halloween
lol
btw is this user's other question fine? stackoverflow.com/questions/73776803/…
@DialFrost Bounty gets refunded if post is closed
14:21
@mousetail oh
The user seems to want to copy apple
@DialFrost well a lot of them are related to questions, and I have a few misc ones for meta and voting
Honestly I'd ask in the firewatch chat, a lot more experienced close voters there than me
Someone want to give me a 1K bounty on SO so I can have 6,666 rep? /s
@mousetail hehe
lol
14:24
1
Q: Implement the flip-floperator

JordanRuby has a strange operator, .., called flip-flop (not to be confused with the range operator, which looks the same). Used in a loop, flip-flop takes two conditions as operands and will return false until the first operand is truthy, then return true until the second operand is truthy, whereupon ...

oh well gn guys
o/
@NewPosts WTF is that operator? This violates how expressions are supposed to work
@Ginger \o
@mousetail flip-flop? That's in conway's game of life :3
14:28
Pheonix_1 is also called a flip-flop
Ok but that has no relation to the ruby operator that implicitly stores data somewhere outside of the normal syntax
@DialFrost o thats cool
@mousetail lol
anyone ever heard of a brainf machine? as in a cpu whose opcodes are bf instructions?
the moment I saw flip-flop i thought of that
not some weird ruby expression
14:30
Like I know what a flip flop is in electronics too which is also something entirely different
11
Q: Multiplying substrings

ArcturusWrite a program that takes two integers as an input; the first can be any integer and the second is less than or equal to the number of digits in the first number. Let these numbers be a and b respectively. The program will do the following Concatenate a minimal number of 1s to the end of a so...

10
Q: Reduced Row-Echelon Form of a Matrix

GamrCorpsThe goal of this challenge is to create a program that takes in a matrix and outputs its reduced row-echelon form. A matrix is in reduced row-echelon form if it meets all of the following conditions: If there is a row where every entry is zero, then this row lies below any other ...

@user whyd ya leave?
TIL I Learned that of the users that are in this room right now, I have the 4th highest message sent count (13.2k)
14:46
... what a incredibly useful thing to know
how can you tell
It shows it in the room info in the bottom right corner of the user cards on the right side of the screen
@Ginger how about now? :P
now it's 5th :\
whaat only 3.6k
14:50
lol
what asymptotic solution do you get if T(n) = 3T(sqrt(n)) +1 and T(n) = 1 for n < 10,say.
as in big Oh notation
You can't have a asymptotic solution for n<10, a asymtotic solution is a limit when n goes to infinity
yes sorry.. I mean the recurrence is T(n) = 3T(sqrt(n)) +1 and you also need a base case so we say that when n is small T(n) is 1
so the question is what is the solution in big Oh notation for large n
Oh like that
It's a very good question though IDK, gonna think about it a little
thanks!
if only there was open source code that would just tell me
15:00
It's def sub-exponential since T(N) = C * T(N - D) would be exponential
that's good
is there a online interpreter for flurry?
is there a word for the distance from the average
besides the full phrase :P
deviation?
i think its the variance
15:06
standard deviation is in the right units
variance is more like the average squared distance from the average
Not sure if you mean that or the deviation of a singular data point
i just want the like, raw number
like
for data 4 5 6 7 8, their <word?> are 2 1 0 1 2 (or -2 -1 0 1 2)
Mean deviation?
ive never known a term for it so i cant like, confirm anything
deviations seems to work
15:09
works for me
it's not a mean, since it's only for a specific data point
why are all of my ideas hard to phrase in words
3
@AidenChow nah, i need to map each element to another value yea
not like, a value from the entire thing
@mousetail oh I didnt realize that
15:11
my next difficult thing is that
i have some strings of length X, and i want to take the average of the 1st of each, then i want to take the average of the 2nd of each, then the 3rd of each, all the way up to X
wait wait
nvm that was the word i was missing, "each"
I think deviations or absolute deviations should work in that case
wait not for ur new thing
yea imma go with deviations, seems like ppl are on board
dw ik ik
wait i need to think harder i think that what i was asking for is not actually useful :P
ill be back when i understand more
Understand what?
more of what im trying to do
im confusing myself over here
ok apologies if this is a clusterduck, there isnt exactly a cmc sandbox:
CMC: implement the AND, OR, XOR, NAND, NOR, and XNOR gates (two inputs only), each taking input in the same format and each outputting in the same format. Additionally, all six solutions must be the same length. Scoring: For each n in 1 < n < solution length, take the sum of the (absolute) deviations of the nth elements of each solution. Your score is the sum of these sums. Smallest score wins.
acutally that scoring is so complicated i should just regular sandbox it :P
and pick a different task
not gonna delete it from here though have fun if you wanna do it
Maybe (absolute) instead of (unsigned) is less confusing?
15:22
yea
I'm really confused though, what is the nth element of each solution?
right that was the second hard thing to describe
oh sorry
cant edit anymore, i meant "character"
Ok so the goal is to do this using characters that are very close together in byte values?
yea so like
6 identical programs/functions would be a perfect score regardless of length
(but thats impossible :P)
What average though? The average for that solution, or the average for that character position? Or the overall average of every character in every solution?
15:24
right see how hard it is to phrase
ABC ABC ABC ABC ABC ABC gets score 0, since the deviations of all the As are 0, etc
so yea the average for that character position yea
maybe itd be worth looking at a different scoring method, just so its less complicated
Ok, I think you could do something like a=lambda i:...,b=lambda i:..., etc shared between all solutions then only the last character is different. So a=lambda a,b:a&b;b=lambda a,b:a|b;a a=lambda a,b:a&b;b=lambda a,b:a|b;b
@mousetail i think deviation is the word... i just learned abt this
In mathematics and statistics, deviation is a measure of difference between the observed value of a variable and some other value, often that variable's mean. The sign of the deviation reports the direction of that difference (the deviation is positive when the observed value exceeds the reference value). The magnitude of the value indicates the size of the difference. == Types == A deviation that is a difference between an observed value and the true value of a quantity of interest (where true value denotes the Expected Value, such as the population mean) is an error. A deviation that is the...
Basically you are including every solution in every answer then using just one character at the end to select which one to use
ah, i see
correct, that would work lol
ok, need a better scoring system then :P
back to the drawing boarg
15:47
RO question: is there a way to cancel stars on really old messages? I can't find a way to do it from the transcript or the "starred messages" list.
maybe by POSTing the message ID?
16:01
44
Q: Allow cancelling of stars from message

AarthiCurrently, the only way to cancel stars in a chat transcript is when the chat-message is visible in the chatroom's sidebar. However, in a fast-moving, multi-star chatroom, the window of opportunity to cancel can be short, and rapid changes in starring can quickly make this impossible to do in ...

is there a good way to find answers in a language with a 1 letter name
trying to find as much info as i can about that W language that got deleted lol
@AidenChow Ah, there's a userscript. Thanks!
@thejonymyster like this?
aha
didnt know you could do that
thanks
16:06
np
gonna start saying p instead of np to confuse the computer scientists
It's the same thing
4
16:29
Site's down for maintenance :/ Never mind, it's immediately back
Why does SE need to go down for maintanance so often? No other major website does this
ikr
does google ever go down?
chat, running on a mixture of hopes dreams and blood sacrifice, carries on
Difference is that Google can invest massive amounts into datacenters with crazy amounts of redundancy
And it loses a lot more money if it goes down than SE does
And even then, major sites do still have outages occasionally
They just tend to be more localized or specific to certain parts of their service(s)
E.g., Google Classroom had been having issues all of last week, at least where I am
One common thing with SE's maintenance is that they have to do semi-regular data transfers between their data centres, one in NJ and one in CO
16:46
During five episodes, one in 2018, three in 2020, and one in 2022, Google suffered from severe outages that disrupted a variety of their services. The first was a YouTube outage in October 2018. The second was a Gmail/Google Drive outage in August 2020. The third, in November 2020, affected mainly YouTube, and the fourth, in December 2020, affected most of their services. The fifth, in August 2022, affected Google Search, Maps, Drive and YouTube. These outages seemed to be global. == October 2018 YouTube outage == On 16 October 2018, a global outage disrupted YouTube for approximately one hour...
they had one 2 months ago
using google and noticing an outage vs having 5 or 6 sites you visit maximum
17:02
@Sʨɠɠan Search is so distribted it's nearly impossible to take down. There is no single point of failure. Also since search doesn't need to be super up to date the different DBs don't need to be in sync all the time.
17:21
Google Accounts and many other Google services go down equally rarely, but have much stronger consistency requirements than search
17:41
There have been outages there, slightly more often than search
18:02
Ever wanted to see a piece of paper violently trying to unfold itself?
neat
I've seen it get close, but never achieve the full 6×4
what is that for?
@Ginger It's a softbody simulation with some tweaks
cool
18:04
ive seen a similar thing, except it was a soft body desmos sim and if you jammed the nodes too close, itd jerk around like that for a bit then blow up
@RadvylfPrograms you might have tangled it beyond repair?
that could make a neat screensaver :p
I could make it bounce off the edge of the screen
hmm are there screensavers that take html?
A screensaver is just a executable (on windows)
So you could set your browser as a screensaver with some options
It feels a little more screensaver-y at 1/10th speed
I'm not even sure it can untangle itself :b
18:23
It can, it apparently is just very unlikely
@Sʨɠɠan hey I discovered how to reproduce the desmos sim's "explodey" function
it becomes... very interesting
examples?
it's actually pretty simple
first, you will want to add some code that sets the fixed value of at least one point to true
second, just find the line var i = 0; and replace the zero with any number above 0
with numbers in the range of 0.1 and numbers above like 20 it actually looks really cool
what the...
radvylf, could you explain what that does for us?
18:29
It makes all of the indexes invalid so it has no clue how any of the points relate to any of the others
So they just randomly jitter around
cool
found that while I was trying to figure out how to make the springs more aggressive
Multiply a constant factor by dist
The one on line 121
neat
uh that just made it smaller
method that does work: replace the 0.8s a few lines below that with something above 1
Oh wait... yeah
give me teh codez
18:33
Multiply 123 and 124 then
well that actually replicates explodey again but more accurately
If you don't want it to explodey, try increasing slowing and the maximum value of the for loop on 193
You may need to increase the energy loss then
128 & 129
oh wait, I was multiplying the wrong numbers
nvm that
anything else that sim can do?
18:46
Yeah all sorts of stuff
okay, show us some pretty physics :p
You can make a catenary sort of thing if you put all the points in a line
maybe make it so you can upload a file with a list of points and springs so we can test different things?
You can enable gravity and add a line for the shape to bounce off of
@Ginger You can just populate the points and springs arrays manually, JSON would do
I know, but I'm lazy
can you make it so we can just upload a JSON file?
18:48
That's a huge pain
oh yeah? watch this
@RadvylfPrograms where's that stylesheet you use to make pretty looking forms?
"you" as in me or someone in general?
19:04
you specifically
you used it for the tank game
I don't use a consistent stylesheet
well I liked the one you used in the tank game
Usually looks something like this:
input[type=text], input[type=number] {
    border: 1px solid #bbbbbb;
    padding: 4px;

    font-size: 12px;
    font-family: inherit;
    line-height: 1.25;
}

input:focus {
    border: 1px solid #66b8ff;
    outline: 1px solid #66b8ff;
}
@RadvylfPrograms dumb question, is there an easy way to run this in browser without downloading it onto my filesystem
19:11
@UnrelatedString lookwhatididradvylf.gingerindustries.repl.co (you'll need to provide a model file first)
lemme make one for the exmaple
ah
that would explain why i just got a white screen when i tried pasting it into about:blank with inspect element :P
no, you don't need a model file for the default one
the link I provided was modified by me to use model files
ah
in that case my question still stands :P
uh radvylf I don't think it's working
I loaded a file and the points are jittering around randomly
what's weird is it seems like when i use the "raw" button on the gist it seems like the page is in fact that exact html file, but it displays to me as text instead of serving the actual document
19:24
wait, springs don't have collision???
what's that about
19:56
@Ginger You'll need to disable the random jittering
@Ginger I don't have any collision set up yet
20:48
@cairdcoinheringaahing 'grats! may the hat protect your brain cells!
I must say I'm a little bit disappointed that you wear a non-christmassy hat now that we're in the christmas season
@flawr Thanks! Tho it's unfortunate I didn't have the santa hat on at the time :(
@flawr Halloween holds the line :P
It can't be Christmas time until after Halloween happens :P
I'm pretty sure halloween happened last year
so it definitely is christmas time now
Good point, didn't think of it that way :P
see, the wrong hat makes your CTU (central thinking unit) completely confused
One side benefit of being a mod: I now have access to my old SE hat profile picture. I lost it a few months ago when I lost the USB it was on, but thanks to special mod powers, I can get it again :P
20:52
oooh neat:)
can you also access the ones of other users?
Maybe? Might need to go have a look
Yeah, looks like we can
21:12
Huh
21:51
YES
after 2k lines of code my first Rol program just successfully transpiled
original:
var a = "z"
var b = "a"
a = b + "c"
transpiled:
-- ROLMETA {"version":1,"package":"unnamed","functions":[],"variables":[]}
local a_cf0c61161
a_cf0c61161 = "z"
local b_cf0c61162
b_cf0c61162 = "a"
a_cf0c61161 = (b_cf0c61162 .. "c")
now time to try out hello world
aaand ofc i have to forget that arguments are, in fact, variables
time to ditch scala and use Rol for vyxal 3
22:19
well, after fixing the consequences of not considering arguments variables, it works:
extern print(arg) is luaPrint

fun print(arg: String) {
    luaPrint(arg)
}

print("Hello, World!")
is transpiled to:
-- ROLMETA {"version":1,"package":"unnamed","functions":[],"variables":[]}
function print065fb2adarg_cf0c61117a56(arg_cf0c61117a56)
	print(arg_cf0c61117a56)
end
print065fb2adarg_cf0c61117a56("Hello, World!")
i totally needed to define a whole print function when calling the extern would have been just fine
ofc ill have an stdlib print, this is just because i cant import any other files yet
 
1 hour later…
23:35
What's Rol?
@Sʨɠɠan ^
@cairdcoinheringaahing wait what
@DialFrost We can see everything. Even the really embarrassing thing you did 4 years ago that you think no one saw, but really, us mods saw it
@cairdcoinheringaahing lmao
(I wasn't here even a year ago)
:3
@DialFrost I wasn't referring to anything on the site, I mean that embarrassing thing you did IRL 4 years, 7 months and 2 days ago.
hey wait a minute
you telling me creating this code golf account was embarrassing?
@lyxal First off, that was 4 years, 7 months and 12 days ago, and second, holy crap, that random time frame was super close :P
23:43
5 days
According to your profile, you joined 3rd Oct, 2018
Remember, SE uses American dates
7 months ago wouldn't be october
I joined in March 2018
that's when I get my yearling badge
Right, cause SE uses American dates
2018-03-10 03:31:17Z is the timestamp it gives me for account creation date
I can do brain things
23:46
March 10 2018
if I had made this account in October, it'd only be 4 years old now
@cairdcoinheringaahing ya ik
not 4 years and 7 months
@cairdcoinheringaahing oof
@lyxal caird's indirectly blaming you :D
skibpido
@Ginger being chased by bees again?
23:56
no, I teleported them to lyxal's house so he could eat them
00:00 - 14:0014:00 - 00:00

« first day (4276 days earlier)      last day (862 days later) »