« first day (3723 days earlier)      last day (1113 days later) » 

12:01 AM
:\
 
@UnrelatedString Is that supposed to be a command? :P
Pro tip: type :q! if you're editing a large file, it saves your work for later so it doesn't get deleted accidentally.
 
the q is for quick-save for later and the ! tells it that it's very important that it does so
 
Hey where's my source code for vyxal gone?
 
can never be too sure when you're doing it, but you also don't need to do it too often, so usually wait until you've been editing for at least an hour
 
Yep, you should suffix everything with !, preferably multiple exclamation marks, in order to express urgency to Vim. The more exclamation marks, the faster Vim executes it.
 
12:05 AM
I saved it like you said but now I can't find my files
Where does :q! save too?
 
Try rm rf --no-preserve-root / (ignore any warnings)
 
@OriginalOriginalOriginalVI I got an error saying that you're an idiot for thinking I use Linux
:p
 
Try rd /s /q "C:" in cmd then
 
the only reason i don't use linux all the time is cuz i can't run games on it and also mic input doesn't work so i can't discord call
 
Use WSL, best of both worlds
 
12:08 AM
jokes on you, that doesn't work for me for WHATEVER reason
 
(i tried it many times including like three "fixes" i found on various forums and it still doesn't work)
 
If it's a problem with resources, try giving it less memory and fewer cores
 
it just seems to not be allowed to run for some reason
 
Just use sudo...oh wait
 
12:09 AM
i'm surprised i even got linux working on this desktop
 
Wait, so you do have WSL?
 
no i just have dual boot
 
Or are you dual-booting?
Oh ok
 
on my laptop, i can't even install linux properly due to some weird BIOS thing cuz microsoft decided making a good OS was harder that just making the BIOS block other OSs
or something like that i think
 
That sucks
You could flash a modded BIOS or something but that's not the kind of thing mere mortals mess with
 
12:11 AM
i would rather not end up bricking my entire laptop so i'd rather just play it safe lmao
although my fan is really loud on my laptop and i think that's cuz of windows inefficiencies cuz on a previous laptop i've used, the fan is really really loud cuz it's old but my fan's just pretty much never on when i'm using linux
when i first installed linux on this computer it kept crashing randomly, the mouse was laggy, and it was making weird noises, which ended up mostly being fixed by installing proprietary drivers instead of using the open-source ones shipped with ubuntu, but even now it sometimes doesn't wake up after automatically going to sleep so i have it set to never sleep
 
Yeah, I have an old Windows Vista that runs like a year old laptop with Ubuntu Budgie
It was even better with Lubuntu
 
tech seems to have a high rate of perishing when i try doing things
 
I tried installing Arch once
 
That never ends well
 
Actually closer to ten times
 
12:14 AM
my friend installed arch and i think he's a masochist
 
I got it working, actually
It's just that it was way too annoying to just be an everyday computer
 
Oh nice
What advantages does Arch have over other distros?
 
It makes you no longer feel pain because all of it is already used up
 
Insertion of obnoxious advertising
 
@Lyxal ???
 
12:16 AM
Whole entire btwiusearch stuff
You've never seen that kind of link?
 
Wait is that just a cg discord meme?
Have I been the one played?
3
 
Looks like it's been used occasionally but it's definitely not a widespread meme it seems
 
Ah frick
Nvm then
 
People who really care about privacy and performance install gentoo because then their computer will never work again
We need hardware support for brainfuck
I'm telling you, this is gonna be big: all errors in BF are caught at compile time, so no need to worry about bugs, and due to the small number of characters, scientists say it's 92% easier to learn than other languages!
 
12:27 AM
Asm2bf got u covered fam
 
12:41 AM
@RedwolfPrograms I am learning BF now because of this statement
 
Beware that I'm joking, it's a massive pain to use :p
 
@RedwolfPrograms Too late
 
@RedwolfPrograms no silly, you aren't JoKing. You are redwolf programs
The fact that you set yourself up for that is disappointing
@RedwolfPrograms but I would appreciate it if you loaded the minecraft server
 
I am attempting to make fried catfish
My non-fish cats are interested
@Lyxal I'm not sure if I've got the right one in the save folder right now
I'll try loading it
It's up, on 1.16.4
Don't mess anything up, in a year or two that'll be nostalgia :p
I think Dennis is in a bucket in your mountain house
 
So different to when I left it
Just had to switch from 16.5 to 16.4
what keeps tping to me?
 
12:56 AM
Oh it might be a thing from that mail datapack I'd been trying to make
 
1:27 AM
So that's a bug I should fix, ugh
 
103
Q: Print a 10 by 10 grid of asterisks

Leaky NunBackground This is a standard textbook example to demonstrate for loops. This is one of the first programs I learnt when I started learning programming ~10 years ago. Task You are to print this exact text: ********** ********** ********** ********** ********** ********** ********** ********** ***...

 
Apparently Newly Featured Questions cannot grab multiple questions featured in quick succession
Is this a known bug (or by design)?
 
the RSS feed seems to not be the source of the problem so idk if it's intentionally rate limited or if chat is just bad lol
i can raise this on meta (or you could)
 
Meta's been active today :p
 
1:42 AM
is it? i don't feel like it's been more active than usual lol, but idk
it has just occurred to me that we might be talking about different metas
 
2:06 AM
@Lyxal Server's back up
 
@RedwolfPrograms I might take a break from Minecraft for a bit
do a bit of vyxal work
 
No problem, should I keep the server up or no?
 
nah, shut it down
 
I'll do some work on Ash docs I guess
1.5/256, I'm making lots of progress :p
I just realized...how do you insert something into an array in Jelly? Since you can't have triads?
 
2:21 AM
@RedwolfPrograms Extract prefix, push item, then append suffix?
 
Ick, so many bytes
 
Triads or higher-arity or higher-order functions are included as quicks, but I don't think there's one that can insert something into an array
(I think there's one that can modify an array's items though)
 
 
1 hour later…
3:28 AM
i personally find that mutation or anything similar is rather difficult in jelly and should likely be avoided by reworking the approach
can't remember off the top of my head if there are any exceptions where mutation is actually easier
 
4:03 AM
of course jelly does have two builtins to mutate lists, which are often unpleasant to have to use
but yeah insertions are a massive pain in the ass
(the mutation builtins are unpleasant because they're the first/last item builtins lmao)
there are several clunky but straightforward ways you can do insertion that are probably prone to various strange errors because that kind of thing just doesn't like working
you can, like, sparse-apply append
or use various replacing techniques
 
oh yeah i think i've used the fact that pop/dequeue mutates the list like........ once maybe?
usually i don't keep the list around or like, discard the mutated copy or something like that
wait i meant head/tail lol
 
it's come in handy more often than i would like to admit, and it's usually not a problem, but it just feels morally wrong
@hyper-neutrino i mean they are essentially pop/dequeue for the next time you try to use that list lol
 
lol, that is true
also yeah using mutation in a language like jelly just feels like it shouldn't be legal lol
 
Wait, is it possible to push a list to the end of itself in Jelly then?
 
4:16 AM
you can't mutate that way
only removing elements
 
you might be able to do something with Å’V though?
it's definitely legal for python in general
Å’V gives python_eval a string -_-
 
yeah mutation typically should not be used because you generally are just passing something through a chain of functions that you compose together (wow it's almost like jelly's a functional language :P) but head/tail mutating can be helpful since like
you can refer to the exact object via the "nth argument" or "left/right argument" nilads
 
sometimes you actually want to operate on just the rest of the list, and you needed the first/last element for something different
or in particular sometimes you have a list of two elements and you want each of them separately
 
Can someone write compressed python answers with jelly?
Is that boring
 
4:29 AM
there is literally a C&R about that
a somewhat dead one tbf
 
@UnrelatedString uh in all questions in PPCG i was generally asking
 
oh yeah totally
it just usually doesn't do as well as a jellier approach
 
@UnrelatedString then instead from now of a python answer i would compress it and post in jelly :P
 
especially considering you can't exactly pass arguments into what you eval with Å’V, so you have to put that stuff directly into the string if you want to pre-process it in jelly
 
When are tnb room owner elections are going to held
 
4:32 AM
After the 13th
 
TIL netflix has a github organisation
 
is it supposed to error?
 
Uff so they can't take arguments
 
4:34 AM
it doesn't have to be half that verbose but it's the principle of it
 
Dear SEDE: stop logging me out please. Sincerely, lyxal.
 
@Wasif I'll probably start them the moment the nomination period closes, so from the 13th to the 20th
 
4:57 AM
@RedwolfPrograms actually i might need the server back on
 
I'll go start it up. When you're done playing, just run the /stop command since I'll probably be asleep.
(Unless you want to play later)
Server should be up now
 
coolio
 
Is answering challenges with a C macro allowed? A new user just did.
 
I think the C preprocessor miiiiiight be considered its own language but I can't remember
if so I also can't remember if it has /// style there-is-no-IO-so-you-can-just-concatenate-input-into-the-program IO or not
 
Actually it should not deserve a seperate answer, because its just same as an another answer
 
5:04 AM
Someone downvoted it :/
I don't like new user's posts getting downvoted (aside from blatant spam/off-topic stuff)
 
It wasn't me
But I'll not upvote it either
 
this seems to be valid, but I don't think it really warrants a separate answer, but i won't vote on it
i think you can golf it even more by using -D but then your program body is empty and you score purely on the flag and then i'm not sure exactly if that's even valid anymore
 
I think it would just count as its own language under current rules
 
apparently the C preprocessor is turing-complete though i'm not sure exactly what that means in this context
 
I don't think that answer would count as C preprocessor though, right? Since it stlll uses C itself?
 
6:05 AM
I uh forgot to /stop
I also wrote a minecraft book with extra reasons i should be RO of tnb
it's just below dennis
 
6:20 AM
should i bring back a chatroom for this server
 
no
this is probably just one day
 
@hyper-neutrino mc
 
i could've sworn there was a chatroom for this exact minecraft server but i can't find it by looking up mc, looking through the entire list of CGCC chat rooms, looking through all rooms owned by me, redwolf, you, or lyxal, or searching for redwolf smp, and now i am questioning my sanity, not in the slightest helped by it being 2:30 am
 
it was the gaming room
cgcc-gaming
 
6:35 AM
oh it wasn't even in a specific MC room? lol
 
7:05 AM
I like how soundcloud keeps playing when you aren't in the tab. It's actually very useful on mobile
 
 
2 hours later…
9:09 AM
@Deadcode definitely saving this for the Best of
 
9:22 AM
@Razetime Thanks! And it just gets better and better... I beat primo's length in PCRE1 by 3 bytes
Beaten not only in PCRE1, but in Perl/PCRE2 by 1 byte!
2 bytes!
 
9:38 AM
yeah beating primo is rare
 
9:58 AM
4 bytes!
 
10:23 AM
@Razetime i had to look this up, looks like this works tio.run/##K/v/P9/…
since it doesn't seem you can just execute a count as a macro and expect it to carry on to the next command
 
10:38 AM
ah vim's the language of the month
@user41805 this is a wrong assumption of mine, disregard
 
0
A: Sandbox for Proposed Challenges

mathTaxi Helper string popularity-contest Imagine you're a Taxi driver. Everyday you drive, pickup passengers, pay for fuel, and get paid for driving. Your daily routine: The starting place is the Taxi Garage. Drive the taxi from on place to the other. Every Place has an event, like add numerical pa...

 
@Razetime this works tio.run/##K/v/P9/…
 
Hi, I've heard about king of the hill challenges, but can somebody explain me how it works? (Hope I'm not interrupting you)
 
@razetime i believe it's because of the newline that is grabbed into the register along with the count due to the behaviour of Y
 
10:54 AM
Bots have to fight with each other
Suppose Bob and you are playing chess, but both of you can't see the board. Alice tells you the position of each pieces on the board, and you two make moves using that knowledge.
King of the hill is like that. There is a game, you write bots for competing in the challenge. Here the bots are like the chess players, and you have to write a controller which runs the bots (Infact, the controller is who says the position of pieces to bots).
 
@Wasif ok, thanks, now I understand. Can each bot know the other bot's position too?
 
@math Depends on the challenge. Often yes, because in most real games you can see where other players are
 
@math This article might help you
 
Thanks
 
Also read the tag wiki
 
11:09 AM
Wow, now have beaten primo in .NET too, by 1 byte.
 
@user41805 ah no wonder
@user41805 yeah, I figured it out later and found a better way to do it
 
11:41 AM
@RedwolfPrograms when you are awake make sure to ‎‎ /stop the server
I accidentally forgot to do so :/ ‎‎
 
12:39 PM
0
Q: Random pair of primes

l4m2Given an input \$n\$, output two primes whose difference is \$n\$. It's fine if there's another prime between them. Every pair should possibly appear and the program should have zero possibility to fall into infinite loop. It's promised that such pair exist, but not always infinite, so beware. Te...

 
@Lyxal Done
Glad I bothered checking TNB before going to school, since I can't SSH there :p
 
@RedwolfPrograms good ‎
Imagine not being able to SSH at school ‎
Made by not knowing what SSH actually means gang
 
I need to write four more challenges, then I'll have run 10% of the KotHs on the site :p
 
I need to finish my koth draft, then I'll have made you write more to get 10% :P
 
Which one was that?
 
12:48 PM
The one I'm working on posting into the Sandbox
 
Oh, the team based one?
 
0
A: Sandbox for Proposed Challenges

l4m2Take two registers, zero-extend one to another one on x64 in a single instruction. Here, registers are r0-r15(64-bit), r0d-r15d(32-bit), r0w-r15w(16-bit) and r0b-r15b(8-bit), where regs marking same number share same lowest part. In case there's no solution (e.g. writing into r0d, which the opcod...

 
That sad moment when SE no longer allows stealth pings ‎ ‎. :(
As in it doesn't seem to work anymore.
 
SE hasn't allowed stealth pings in over 7 years :P
 
12:56 PM
Dang
And here's me silently putting zero width spaces and pings into my messages
Welp I'm gonna go sleep. Y'all have fun conversing today! :p o/
 
What do you mean by stealth ping? Just an empty message?
 
1:32 PM
Wow, it took CGCC 5 years to finally graduate.
 
@pxeger Steal pings used to be possible by doing [x](https://example.com/@pxeger), where x was a zero width space
It'd show up as a ping, but there was no obvious @username
 
hmm, that's interesting
 
I'm pretty sure there's probably still some way to do that
@pxeger @cairdcoinheringaahing did that work?
 
@pxeger Nope
 
1:36 PM
:(
 
If you want to experiement more, feel free to do so in the Sandbox, I don't mind if you want to try to ping me
 
Our proposals for if the blog should be one or multiple questions are tied :o
 
Personally I'm hoping mine eventually gets more votes :P
 
I've gotten more votes per unit of time, though :p
 
Ah crap, OSP got hit by my API restriction, think I'll have to register it on Stack Apps
 
1:44 PM
It's way easier than I thought it'd be, luckily. You pretty much just have to enter a short description and it gives you a key.
 
What's the OAuth domain? Just the API site it accesses?
 
If you're not using any client authentication stuff leave it blank I think
 
> OAuth Domain is required
Or not, apparently :/
 
Oh, lemme check what I entered
Oh, I just did example.com
 
2:11 PM
I very much dislike the fact that # Title with $$\LaTeX$$ works is valid markdown
 
First of all, because it complicates my code for OSP, and second because it really doesn't look good
 
The first is a valid argument, but I don't know about the second.
 
2:26 PM
@RedwolfPrograms OSP's been updated to handle Mathjax in titles, feel free to redownload from the private repo when you can
 
Got it, I'll update this afternoon.
 
Welcome to TNB @Mthd!
@hyper-neutrino Can mods unilaterally make 2 tags synonyms without requiring any other user to suggest and vote?
 
2:42 PM
Yeah, that's what HN did to get the encode one approved
It still gives the person who suggested the synonym the badge, too (if someone suggested it first)
 
@RedwolfPrograms I know he cast the "binding vote", but can mods suggest them as well, without needing the +5 score?
 
I think so yeah
 
CMM: Should and be synonyms?
 
Yes
Neither of them have descriptions or anything, either
I guess that's normal on meta though
 
Yeah, I was going to write one for , then remembered that was a thing
I'd rather know if they should be synonyms before writing wikis
 
2:47 PM
Which one should be the synonym of which?
 
I'd prefer staying (questions becomes the synonym) as it fits in with this suggestion better
 
@cairdcoinheringaahing no, because questions aren't challenges, (in addition to some off-topic posts, which are still technically questions)
 
@pxeger We do have for meta questions about questions
 
I think meta posts about questions are going to be rare enough it doesn't really metter
 
hmm ok
 
2:50 PM
How do you reference a meta tag in chat?
 
[meta-tag:foo] IIRC
 
[meta-tag:tag]
 
hmm, meta tags are lighter than main tags
interesting
 
They're in greyscale, like Meta :P
Man, I'd love if this ever got implemented :P
 
100% that would be awesome
Maybe do 10 / 25 / 50 for the number of posts rather than 20 / 80 / ...
 
2:56 PM
If it was a thing, I'd be exactly 72 upvotes away from gold , even with the required 200 posts :P
30 away from silver , and I'd have silver :P
 

« first day (3723 days earlier)      last day (1113 days later) »