« first day (3894 days earlier)   

12:19 AM
CMC: Check if a list alternates between two numbers (the two numbers aren't a separate input, you'll have to check them yourself)
For example, [1, 2, 1, 2, 1, 2] or [2, 1] would be fine but [1, 2, 3, 2, 1] wouldn't (the list will always have at least two elements)
 
@user Vyxal, ¯yWƛ₌¬≈∨;A
That probably isn't the optimal way, but it works
 
That looks a little complicated
I would've expected making a generator by repeating the first two elements, flattening it, zipping it against the input, and then checking if all were equal
 
12:34 AM
Idea: Use their "you've submitted your details" confirmation to send an email to the FBI
First name, Last name, and Address: "This is a scam."
Hey, what's "drought grandmother" in Bosnian?
 
Susna just doesn't sound the same as sussy
@RedwolfPrograms 2 letters off from being haha funny
 
For me it's "suša baka"
Which sounds like "susha baka"
 
Hey redwolf say Kid Amogus backwards
 
12:49 AM
hi
 
@lyxal Kid Amogus backwards
 
@user Dyalog APL, 7: ⊢≡≢⍴2∘↑ Try it online!
@RedwolfPrograms My first thought when I get an email from the FBI is always "this is definitely a scam".
 
Well duh
I'm saying use their form to have them send an email to the FBI
So make them report themselves, basically
 
1:05 AM
@RedwolfPrograms It is easy to distinguish the real from the fake though: FBI agents don't email from @my.com; they email from @fbi.gov
 
I don't know what you're talking about
I'm saying to have the scammers email the FBI
Not pretend to be the FBI
 
I know. Sorry for confusing you. It was just tangentially related.
 
Ah, ok
Oh hey, we're halfway from 29900 to 30k stars now
 
However, what can FBI agents actually do to prevent being treated as scammers, when contacting people by email?
 
1:19 AM
how is vyxal all same thingy work?
 
@Niko it returns 1 if all the items are the same, and 0 otherwise
[1,1,1,1,1] returns true
 
but it do not work on 2d list :/
 
Example?
 
[[[1, 2], [1, 2], [1, 2]]]
and using thingy on it breaks
code are here ÷!½("‟)W≈
 
@Niko ULċ¬ for now
that's something we'll fix in 2.6
 
1:25 AM
nice
is there stack all same operation
 
no
 
oofs
 
@Adám Take control of your computer and leave a draft containing the email :P
 
It is way off topic, but I really feel like posting screenshots of two signatures and let people try to figure out which one is real and which is a scam.
 
The point being that without having real signatures to compare to, it's impossible to tell?
 
1:37 AM
Basically, and/or that they are very similar.
 
Also, when has TNB cared about on-topicness? Just a couple hours ago, there was a discussion about drugs :P
 
True, but I'm a RO. I feel like I have to set a good example.
 
Solution: put them in a different chat room, and one of us non-ROs can post them here
 
Unrelated, but does anyone know of good userscripts/stylesheets that give you dark mode in chat?
 
1:40 AM
@lyxal Or use a separate account, pretending to be a new, immature user. That's what I do
 
@Adám Nice, thanks!
@lyxal I'm actually using it for other sites, but it doesn't handle chat too well (not enough contrast, stars remain black and are invisible, etc.)
 
@lyxal drug chatroom
 
@lyxal Fails on too many things.
body,img{background:#000;filter:invert(1)hue-rotate(180deg)} works remarkably well.
 
2:34 AM
180deg rotation of hue is roughly any
 
ǝnɥ should be an acceptable shorthand for hue-rotate(180deg)
 
Drug chatroom wait what?
Ah, previous topic, nvm
 
3:13 AM
@user @tjjfvi Clarified, and added your suggestions.
 
3:26 AM
0
Q: Simulate my pill box

BubblerI have a small pill box of \$n\$ slots. (Think of it as a linear one like the image below, but not necessarily having 7 slots.) Each slot has at most one pill. Every day, I take one of two actions: take one pill from the pill box, or refill the pill box. The order of taking a pill alternates bet...

 
@Bubbler
> Believe me, I take pills exactly as I describe here IRL. If you wonder why: I alternate directions as a simple way to prevent a pill from being too long in the pill box, and I just forget directions when the pill box is totally empty :P
Seriously?
 
Yes
 
out of curiosity, to avoid a pill staying in the box too long, can't you just refill it when it's empty?
or i guess if it has 3/7 left and you'll be out for 5 days that wouldn't work
 
I take pills from my pill box only at the office (that is, only for lunch on non-holiday weekdays), and I sometimes forget to refill when it gets empty in the middle of the week, so I decided to do it like this
and I know "avoiding a pill staying too long" doesn't necessarily work :P
 
@lyxal Um...
 
3:39 AM
I was genuinely confused as to how you got that page loaded
 
Search 'lyxal'
 
then I thought "hey that looks awfully similar to the extensions I have, and the bookmarks look similar too"
then I realised, "that's my screenshot"
and I was curious why you were posting a screenshot from way back
 
Because... No offence, but it's... Completely different from the one we have now
 
yeah duh
that was the first design
 
Was this when Vyxal still looked like Keg?
 
3:41 AM
no
this was earlier this year
and that was still a work in progress
the site design I mean
 
When was the current one made?
 
just before may
it was released with v2
 
Cool
Did you go look in Vyxal?
 
4:05 AM
solution idea for pill box question: use negative and number to represent box status?
 
4:21 AM
ಠ_ಠ when you forget to paste in the correct copy of your code
 
4:47 AM
Fun Fact: My exams start tomorrow
 
@pVCaecidiosporeadduced exams are temporary, vyxal is forever
4
 
@Razetime I approve of this message
 
what?
what does that have to do with Shakespeare?
 
everything
 
Shakespeare can program in vyxal?
 
4:58 AM
shakespeare learned vyxal before english
4
it was his first language
 
what lol
also @pxeger can you add C pointers to Whython?
 
5:32 AM
0
A: Sandbox for Proposed Challenges

don brightPolynomials and Irreducible Criteria in progress in progress. todo, add Perron' criteria, and several test cases. and figure out how to deal with verifying answers. and decide whether to leave in Cohn's since it turns out that its redundant vs Filaseta's criteria. As you may know, Polynomials are...

 
5:44 AM
0
A: Sandbox for Proposed Challenges

BubblerMaybe fractal sequence? code-golf integer sequence decision-problem Background A fractal sequence (Wikipedia; MathWorld) is an infinite sequence of positive integers meeting the following conditions: Each positive integer appears infinitely many times in the sequence. Before the first occurrenc...

 
6:04 AM
Am I misunderstanding Anush's comments here?
 
@pVCaecidiosporeadduced I know it's called Whython, but, like... why?
I can't see any use whatsoever for C pointers in a language fundamentally designed not to need them
 
 
1 hour later…
7:20 AM
@user Jelly, 4 bytes: ḣ2ṁ⁼
 
7:56 AM
@user Charcoal, 8 bytes: ⁼θ……θ²Lθ
 
@pxeger why not
S-M-T-WTF-S
sunday monday tuesday wedthurfriday saturday
 
whatthefrickday
 
@Bubbler I don't think you can understand them :p
Also, I didn't even notice, but congrats on 50k!
 
Thanks, though you're late by almost three weeks :P
Sep 9 at 22:56, by Bubbler
Also forgot to mention, but I hit 50k rep yesterday :D
 
8:12 AM
Lol :p
 
8:39 AM
3
Q: Adding Odd numbers in C++

Strange AlchemistI have written following code for the this C++ Problem: Write a program to add only odd numbers between one to ten. #include <iostream> using namespace std; int main() { int num = 1, n = 0; int odd_num; while(num <= 10) { if(num % 2 != 0) { odd_num = nu...

2 bytes: 25
Also 2 bytes, taking number as input: ½²
 

« first day (3894 days earlier)