« first day (4211 days earlier)      last day (929 days later) » 

14:00
Ok but why not install linux on your chromebook then
Whenever I do need to branch out and try two different approaches, copy-pasting the whole thing into a temp file works fine
Have you never made a mistake you felt like undoing or wanted an easy way to find what you had previously?
And whenever I need to go back to something in the past, Ctrl+Z usually works, and if it doesn't, I probably still remember roughly how to do it
i dont make mistakes, every edit on my code is an improvement
Why not try Git just once? You might like it
14:01
Git would help with that, sure, but only very very occasionally, and it means I need to keep up with something all of the time for a benefit only some of the time (which is the reverse of how things should be)
@user is this peer pressure
And besides, you'll probably be forced to learn it if you ever get a coding-related job
@thejonymyster I don't make improvements, every change to my code is a mistake
@mousetail we duel at dawn
@user I've been planning to, but my process of starting projects usually involves a huge burst of slowly fading motivation that doesn't let me think through that sort of thing first :p
14:02
alt: sometimes when i need to rewrite code i just comment out the old version just in case
@thejonymyster Beware of strangers, they might offer you version control tools!
6
Can we do it sooner, my shooting code is getting progressively slower every hour
@NoHaxJustRadvylf what text editor do you use?
@NoHaxJustRadvylf Understandable lol
T2xt, a custom fork of the default editor, called...Text
@mousetail I have
14:03
Have you tried Gitpod? It's quite nice (I used to use it on my school's Chromebooks and it worked well)
@NoHaxJustRadvylf well dang
I was going to say if your text editor had git integration, you could use that
It's basically VS Code in your browser, for free
what if they needed to edit git
would they git git
What
@lyxal Yeah, git integration would be nice. So would ctrl+f. I really need to switch editors :p
14:04
...you don't have Ctrl+F?
Or do you just have the crappy one built into the browser?
shrek "they dont even have ctrl+f" .png
I sort of do, but it does things very weirdly
@NoHaxJustRadvylf github.com/vicr123/theslate/releases could be of interest
anyone heard of potato pirates?
As soon as you click out of it it disappears, which means the primary purpose of ctrl+f (going back and editing every instance of something) is very impractica;
14:06
@NoHaxJustRadvylf alternatively, you could upgrade to vs code
The only thing keeping me from switching to Atom/VSCode is syntax highlighting
I need it to be a very specific way, and it usually isn't
@lyxal I think Radvylf said sometime previously that he didn't want to use an IDE through Linux?
You don't want syntax highlighting?
That being, variables are blue, not black
You can change the colors
14:07
You can configure themes easily
@NoHaxJustRadvylf Vs code has you covered
Everything is customizable
VS Code does make it a bit harder than, say, Sublime, but it's definitely not hard
Yeah, but usually the themes don't have a way to customize existing vs. non-existing variables
14:07
you can make themes and syntax highlighting online
@NoHaxJustRadvylf that's probably possible with language servers
sure the installation process for vs code custom themes is a little painful, but it's manageable
Also it's like a really minor thing to dismiss a massively more powerful editor over
Might not be that easy to make a whole new extension though
^^
You'll get used to it in 5 seconds
Another disadvantage of Atom/VSCode is that running them through Crostini introduces a few annoying problems
Not being able to mass replace and stuff is a huge disadvantage
@mousetail I don't need massive power I need blue variables
@NoHaxJustRadvylf Then use VS Code in the browser (Gitpod)
There's a reason I've stuck with the world's stupidest text editor for 6 years :p
14:09
It works pretty much flawlessly
@NoHaxJustRadvylf but multiple cursors, copilot, regex replace, markdown preview, XSLT/XML language support and more!
@user How does that work?
VS Code is built with Electron
The browser can't access files, can it?
Which is why you use Git
Store your files with GitHub
14:09
@NoHaxJustRadvylf it attaches to an existing repo
alternatively, github codespaces
Stockholm syndrome is a condition in which hostages develop a psychological bond with their captors during captivity. It results from a rather specific set of circumstances, namely the power imbalances contained in hostage-taking, kidnapping, and abusive relationships. Therefore, it is difficult to find a large number of people who experience Stockholm syndrome to conduct studies with any sort of power. This makes it hard to determine trends in the development and effects of the condition.Emotional bonds may be formed between captors and captives, during intimate time together, but these ar...
@lyxal I have multiple cursors, don't need copilot, regex replace would be nice, syntax highlighting > markdown preview, and XML is for people whose noses are on upside down
@user A little bit yes :p
@NoHaxJustRadvylf All of those things except markdown are extensions not included by default
and regex
But everything in the actually-editing-text department is exactly how I like it, it's fast, and the syntax highlighting is better than anything else I've tried
14:11
@mousetail ? multiple cursors and regex replace are included with vscode
Yes regex replace is
Yeah I'd be really surprised if multiple cursors was an extension
Multiple cursors is also included
Sorry I wrote that sentence in a confusing way
I meant copilot and XML are extensions
Language servers are really helpful
I used to use Notepad++ and having an editor/IDE telling you "hey, did you mean X?" is huge
Of course, it's your choice
I use both webstorm, VSCode, Notepad++, Kate, and nano
As long as that choice is not T2xt or Text :P
what about regular Notepad
@mousetail Notepad++ and Kate on the same OS?
@thejonymyster Regular Notepad is trash
14:14
Does T2xt/Text have dark mode?
Notepadqq
The linux fork of n++
@user whaaat
I use it for notes since you don't have to save files and they stay open
It is literal trash
Ah ok
how could the plaintext editor with near 0 features be trash
14:15
you answered your own question
I tried Kate but it was in this weird position of being more advanced and heavy than npp but also not as fully featured as VS Code to use for coding and stuff
Okay, installed VSCode, now for a couple hours of configuring settings and stuff
🎉🎉🎉🎉🎉
Another convert!
14:16
@NoHaxJustRadvylf blue variables in VSCode
hey wait isn't that one of the default themes?
I feel like it might be
I think the variable names need to be blue?
@lyxal Looks like Sublime's
Monokai Pro?
Red variables in VScode
For those preparing for the apacopalypse
imagine not having everything #beedab
14:18
There literally aren't any variables in that code
Just declarations
@mousetail lol
I'm not talking about the color of keywords or variable names in declarations, but the variables themselves when being used
The point was that they where unused right?
You didn't want unused variables to grey out
As in:
Whereas something like h3 would be black since it's undefined
or flax v1
:P
14:20
Okay already a big problem with VSCode: It's stealing my Alt+Number
@NobodyNeedsNames i thinksoyeah
Which is the primary way I switch windows
@NoHaxJustRadvylf alt + any number key?
Yeah, Chrome OS equivalent of Windows key + number key
File > Preferences > Keyboard Shortcuts, search for Alt + <whatever number>, remove key binding
14:22
I did, but it's still intercepting them
@PyGamer0 pi? e? the mash-alone-y constant?
pi and e are there
@NobodyNeedsNames willaddlater
@NoHaxJustRadvylf also install the vim emulation plugin :P
@PyGamer0 disgusting
@PyGamer0 i?
lol
bye
14:25
Yeah I can't use VSCode unless there's some way to fix the Alt+Number thing
@NobodyNeedsNames uh just use j
It's a really bizarre behavior too
@NoHaxJustRadvylf what
When nothing's assigned to a keyboard shortcut it really shouldn't be preventDefault'd or whatever the OS variant of that is
what does vscode do when you press alt+number
14:26
@PyGamer0 On ChromeOS you can hit Alt+N to go to the Nth item in the taskbar. VSCode intercepts those.
@PyGamer0 By default, no clue, but I removed those bindings
And it still does it
wait windows + N switches taskbar windows?!
holy frick
TIL
@NoHaxJustRadvylf o_o
i think you should just stick with t2xt lol
@NoHaxJustRadvylf switch editor tabs
yeah. seems like ctrl+N is more reasonable for that
Also yuck I hate this ctrl+tab behavior
I'm sure it's customizable but still
now before you go any further, sign into github
14:30
Agreed there, it's terrible in WebStorm too
the whole reason we're getting you to use a different editor is for the github integration
so make sure to get that working
What's the point...if I can't get the Alt+N thing working, I am simply not using the editor :p
What is alt N supposed to do?
just use vim with fugitive :P
@mousetail Switch to the Nth item in the taskbar
It's the primary way I switch between windows. It's like if you bought a new desk chair, but it had superglue on the seat. You can't leave without varying up your approach.
14:33
@NoHaxJustRadvylf It literally works though
I just tested it
alternatively switch to any one of these editors
@mousetail Doesn't for me :/
what build of vs code y'all using
Although if you're not on ChromeOS I wouldn't expect it to work anyway
Windows (and I believe Linux too) uses the Windows key instead
I think you need to ditch chrome OS
14:34
No! I love it
I'm on linux and alt works
And that would make the Alt+N issue way worse
Since then nothing would support it
@NoHaxJustRadvylf I don't think Linux would use the Windows key. Something tells me they'd use something different.
can't quite put my finger on it though
they would use the OS key :P
That's like stepping on a nail and deciding stepping on nails is your life now
14:35
@lyxal It's the sam key just called the meta key
@mousetail What exactly does it do on Linux?
Though I guess that needs to be renamed now too
@NoHaxJustRadvylf Depends entirely on your window manager
@mousetail I've always heard it called the super key in the context of Linux
@mousetail Well what is it doing for you
I set it up so it's mostly the same keyboard shortcuts on windows
But I had to configure most of those myself
@NoHaxJustRadvylf If you install a JS extension, it should show you a red squiggly line or something if something is undefined
14:36
@user gross
@mousetail Well yeah, but what is Alt+N doing for you
@NoHaxJustRadvylf You can configure it to replace squiggly line with a different formatting
@NoHaxJustRadvylf Switches tabs in Firefox and in VSCode
Works in the terminal too
@mousetail ...the whole thing I'm talking about is that I want to override the switching tabs behavior
I use it to switch windows, and VSCode is eating the shortcut
@NoHaxJustRadvylf Can't you change the switch windows key to "windows + N" as is more correct?
I don't exactly have a windows key on a Chromebook :p
Window manager keyboard shortcuts should use the super/meta/windows key always
14:40
I do have the search key, which acts as a meta key, but it's rarely used for shortcuts
Plus since Alt+Tab is a thing, Alt+N makes more sense anyway
Can you configure it?
Not to my knowledge
Alt-Tab is a mistake, windows tab is more correct
But once again that requires a huge change to my workflow just so I can use VSCode, which I don't really like all that much in the first place so far
I don't care how ""correct"" my keyboard shortcuts are, I care how much unnecessary stuff I have to bother doing just so I can ctrl+f more easily
You can just change the shortcuts
14:42
Yeah I removed all those
In VSCode
And it still eats the shortcut
maybe open an issue on the repo - github.com/microsoft/vscode
Well, just checked, and Atom does the same thing :|
I'm almost wondering if this might be an issue with Crostini as a whole instead of the individual applications
Might be a electron thing
14:48
Okay it does actually seem to be a Crostini thing
Opening a window with Tkinter does the same thing
@user How does that work?
Like, what happens when I push ctrl+s? Where does it save?
It makes a commit iirc
Saves it to the repo you use it on
What if I don't want to make a commit
I hit ctrl+s like, every line lol
@NoHaxJustRadvylf Squash your commits afterwards
I think I'm sticking with T2xt :p
Maybe in a year or so I'll work up the motivation to dig into its code and add stuff like proper ctrl+f
@lyxal It does not make a commit
It only saved locally in Gitpod
You can close the tab and come back later and your changes will all be there
And then, if you want, you can commit and the commits will be saved locally
And then, if you want, you can push to GitHub
@NoHaxJustRadvylf
I'd highly recommend Gitpod before going to the trouble of setting it up using Crostini
15:02
Web based editors don't really sound all that appealing to me, but it's an interesting concept
ㄟ( ▔, ▔ )ㄏ I tried
@user (locally in Gitpod's machine, I mean, not on your computer)
15:17
Fun fact: Milliliters and cubic centimeters are the exact same unit
15:28
the classic
@Adam hi
CMQ howc do you get tensorboard to show you live updated graphs?
 
1 hour later…
17:01
What happened to our logo?
Actually, all the SE sites are showing like that
0
Q: Polyglot for C and PHP

Olle HärstedtI was thinking of a compiler that spits out C/PHP polyglots, but not sure if possible. Main issue is the PHP opening/closing brackets, <?php and ?>. I wanted to make them as macros that expand to nothing, but macros can't have such identifiers. Any way around this? #define <?php #define ?> #defin...

17:46
@Steffan ya thats strange
i think they grab the logos from here: cdn.sstatic.net/Img/favicons-sprite16.png?v=bafa22065134
maybe they have some alignment issue and it create that offset?
1
Q: Cartesian - polar conversion couple

Luis MendoWe don't have a challenge for conversion between polar and Cartesian coordinates, so ... The challenge Write two programs (or functions) in the same language: one that converts from polar to Cartesian coordinates, and the other from Cartesian to polar coodrinates. The score is the sum of the tw...

18:53
LDQ: For an image-based esolang with four colors (think Piet but simpler), which four colors should I use? My main two criteria are 1) looks pretty and 2) is still somewhat usable for colorblind folks.
I'd do R/G/B and white
(Or three colors close to R/G/B that are colorblind friendly)
Maybe from this?:
@DLosc RGB but make red, green, and blue each have a significantly different brightness
19:10
@Adám my favourite one is protanopia
Looks clearest to me
Uhh???
These are not 4 colour schemes, these are a single colour scheme, and how various people see them.
Those aren't three color palettes, it's the same color palette viewed with different types of colorblindness :p
@graffe uhhh protanopia is a type of colorblindness.... thats how ppl with that colorblindness would see the colors lol
I am color blind and the protanopia chart is most distinct to me
:)
19:17
oh
@graffe Which one of the last three looks most similar to the "normal vision" one?
@graffe That would make sense if you have protanopia, since the protanopia variant is only filtering out information you already lose
@DLosc Numbers 1, 3, 8, and 13 from the above chart would look good, and be completely distinct for all colour blind people.
It would only fail for those who are entirely achromatic, but that's very rare. If you want to cover those too, then 1, 2, 8, and 14.
Personally I'd do 3, 6, 14, and white
Orange is ugly :p
@NoHaxJustRadvylf I believe I do
19:23
Also the SE site icon mess has produced some pretty funny HNQs. E.g., I think someone just divded by zero:
@Adám hmm..two or three. Not the last one
Or is tellimg you to invest in ETH:
@graffe Makes sense. They are very similar.
@Adám did you have any thoughts about my sandboxed challenge?
You mentioned you had an idea
I did? Link?
19:25
I think you said you had an idea about how to make an optimal strategy but you need to do some coding to test it
Or something like that
I think that was the other Adam
@NoHaxJustRadvylf oh oops!
Sorry
Who is the other Adam?
@graffe its the adam without the accent mark on the "a"
If anyone is able to look at codegolf.meta.stackexchange.com/a/25030/108721 , thank you in advance!
@AidenChow ah ok thanks
19:44
@NoHaxJustRadvylf Oh, I forgot to mention that I'd rather not use white, since it blends in with the background on SE. (I'd prefer not to use black either--not colorful enough.)
@graffe I'm slightly red-green colorblind, but I don't remember if it's prot- or deuter-
@DLosc 2,12,4,14
@DLosc Deuteranopia.
Wikipedia says "Red-green color blindness includes protan and deutan CVD."
@DLosc I didn't remember until I just did a test
If anyone has any idea how to solve my sandboxed challenge I would love to hear them too!
@Adám Interestingly, I find 2 and 12 very similar. They're too dark to distinguish easily at a glance. 4 and 14 are distinct, but I don't like 14 aesthetically.
Maybe 8,10,13,15 then?
But 15 is very light.
Hm, maybe 8,10,13,14. No, wait, you don''t like 14.
19:53
I'm fine with very light, as long as it's not white.
CMC code golf the simplest possible strategy for my sandboxed challenge
I'd be more inclined to pick something like 11,3,9,15 or 11,3,10,15. If there were a lighter version of 3, maybe 11,7,3*,15.
OK, but it won't look pleasant for normal colour vision people.
what kinda lang u making anyways? sounds interesting
@Adám Really?? What's unpleasant about it?
20:04
I can't really explain that, methinks.
Is it one of the colors, or the juxtaposition of them?
I think I've got the perfect palette. It's exactly as accessible for everyone, has a consistent look, and is compatible with vitually all displays without compromise:
Pls like I spent hours on these innovative designs :3
@DLosc I really like 11,3,10 but 15 doesn't really match
@AidenChow Basic idea is an image-based language that can be encoded in 2 bits per codel. Still lacking a lot of details at the moment. :)
@DLosc Just use unary
@NoHaxJustRadvylf I don't actually like 10 that much--it mostly looks gray. But I'm concerned that 9 is a bit too close to 3.
20:09
11,3,9 is just as good
But yeah 3 and 9 are a little close
11,3,7 would be more distinct I think, and IMO it looks better. But it doesn't really work for tritanopia
I guess 11, 3, and 9/10 are all a bit muted, while 15 is rather loud. Could maybe bring the R and G values down a bit.
I mostly just don't really like yellow, especially in combination with red and blue.
For people who aren't as anti-yellow-and-orange as me, 11,3,x,sort-of-15 would probably work
@NoHaxJustRadvylf Ah. We'll probably have to differ on that. (I'm wearing a bright yellow shirt as I type this. :P)
4,9,14 with black is probably what I'd pick, personally
Possibly with 11 or 7 substituted, and probably a darker/less saturated green than 14
Yeah, I think something between 3 and 14 might be nice
20:14
Yeah, maybe. Red, cyan, and darker blue would look good
Something roughly like this, maybe?:
Maybe a slightly greener second one
@NoHaxJustRadvylf Hell yeah, I can draw an amogus
Ooh didn't even think of that
Also if tritanopia looks anything like it does in these colorblindness visualizing thingies sign me up
@NoHaxJustRadvylf What site are you using for that?
I've got it bookmarked :p
@NoHaxJustRadvylf This palette looks oddly familiar to me. I can't really place where I've seen it though.
I actually think it might've been a rejected theme for Tanks
@NoHaxJustRadvylf since we're allowing trits now, are deuts and prots also allowed?
20:29
A deut sounds like a rejected name for a bit :p
Not sure what a prot would be though
Something I thought of the other day: unary doesn't work with standard positional numeral systems, but it's perfectly consistent with bijective bases
a deut is just a bit for skeletons with trumpets
how does bijective base work again? asking because wikipedia has a really stupid one and im worried about whether its right or not
Instead of 0..b-1, it's 1 to b, and it works exactly like normal bases otherwise
wikipedia thinks bijective base ten looks like 1 2 3 ... 7 8 9 A 11 12 13 14...
so you count 1, 2, ..., 9, A, 11, 12, ..., 19, 1A, ..., 9A, AA, 101, 102, ...
20:32
or wait yea
wouldnt that be A1 A2 at the end?
ok right no it wasnt that it was stupid, sorry
Wait hang on how are A1 and 101 different
0 just doesnt exist
oh yeah lol
20:33
my issue was mainly that it doesnt go far enough to show that
their examples stop at 16 :P
yeah bijective bases are this weird uncanny valley thing since they're so similar to normal ones but just slightly off
super useful for strings
are there any langs that only use bijective base :?
I wonder if, had history gone differently, we could have had bijective bases as the default
Ooh a bunch of sites have themes now
Arduino, motor vehicles, sharepoint are three I've noticed in the HNQs
Guess that's what broke the site icons earlier
21:11
@NoHaxJustRadvylf Very easily. 0 was a bit of a counterintuitive concept and took a while to catch on, IIRC.
The problem is that in natural language, we tend to have a single word for "ten," so it feels more natural to count "eight, nine, ten, ten-one, ten-two, ten-three," which would lead to a system like 8, 9, A, A1, A2, A3, which doesn't work as a place-value system. Once you realize that you can write ten-three as 13, where the 1 being shifted over means "multiply by 10," then you want to write ten as 1_ rather than giving it its own symbol.
Not sure if it's any easier or harder to work an abacus using a bijective base system... though you do need one extra bead per column.
Doing arithmetic stuff feels less intuitive to me than with normal base 10, but that might just be base 10 bias.
If I have a base bias then I am not based, but I do have bases, which themselves don't have biases, thus they are based bases?
I like the first three colors :p
But yeah looks good
And as far as yellows go that one fits pretty well and isn't particularly bad
#knockoff-ukraine-flag
I wonder how it would look to someone with no color vision, tho
That doesn't seem to be an option on that site
21:27
I mean, only like one in 40k people have monochromacy
Sure. Seems like a reasonably easy thing to accommodate with only four colors, tho. Dark, medium dark, medium light, light. I just don't trust my intuitions about how different the lightness of pairs of colors are. #1 seems clearly the darkest, but is #2 too close to #3? Or is #3 too close to #4? I wonder.
These are pretty close to Google's colors, except their red is much lighter (and looks orangey to me, tho maybe that's just me).
@thejonymyster because I needed it in a challenge and never though of doing the opposite :P
22:27
@Seggan Fail
@DLosc if no color vision is the same as "turn down the saturation all the way": doesnt look great
but i cant guarantee thats how that works lol
22:48
@DLosc If you're making this for an editor or something, maybe you could have an option to let people choose their own colors
Because the browns for protanopia and deuteranopia and the turquoises for tritanopia look very close
Oh nvm it's for an esolang, didn't read that far up
23:02
i mean still
possibly a good use for flags finally? :P
23:24
@NobodyNeedsNames You'll see the truth when you reach 10k rep. It's more like 93xx-th (including deleted)

« first day (4211 days earlier)      last day (929 days later) »