« first day (3806 days earlier)      last day (1038 days later) » 

ngn
12:00 AM
@Adám iirc, it already had / and \ and *, so many squiggles were not backwards-compatible
 
@cairdcoinheringaahing works instead of ḍ@ for most applications
 
@ngn Negation of Boolean variables was denoted by an overbar, as in TMN. Not a separate function.
 
(how many times is x divisible by y - rather than is y divisible by x)
 
Oh, good point
8 bytes then
 
but now I don't think I can match that without stealing your solution
the filter idea is smart
 
12:01 AM
@ngn It did have / (and // for ) with no clash, as division was American: ÷
Afaik, \ isn't used in TMN.
 
ngn
is that an american thing??
 
Yes.
 
ngn
if it came from america, it came here before i was born :)
 
x > y for x ∧ ¬y is quite nice
 
@hyper-neutrino I disagree.
 
12:06 AM
@hyper-neutrino I agree :P
 
@ngn It used superscript for exponentiations.
 
@hyper-neutrino Feel free to take it, you golfed a byte off :)
 
ngn
@hyper-neutrino "2b >= 2b" :)
 
@Adám correction: it is a cool trick for golfing where the numbers are actually 1/0 and not just truthy/falsy and also shortcutting is not needed
@cairdcoinheringaahing lol fair, I will include both then :p
 
@hyper-neutrino OK, I'll give you that.
Imo, ¬a should be defined as 1-a and a∧b as a×b with all other logical functions being derived from those.
 
12:12 AM
unless I otherwise specify, when I say a coding thing is "nice" here, I usually mean "it is golfy and also looks terrible and probably isn't efficient and doesn't work in half of the situations" :D
 
Fair.
OK, I'm off to bed… again. ○/
 
Again?
 
in The APL Orchard, 2 hours ago, by Adám
Thanks for all the input. I'll sleep on it.
 
@Adám well off you go then
Don't let us keep you up
 
12:29 AM
I've only got this
and this
 
ngn
12:50 AM
Johann Rahn (Latinised form Rhonius) (10 March 1622 – 25 May 1676) was a Swiss mathematician who is credited with the first use of the division sign, ÷ (a repurposed obelus variant) and the therefore sign, ∴. The symbols were used in Teutsche Algebra, published in 1659. John Pell collaborated with Rahn in this book, which contains an example of the Pell equation. It is uncertain whether Rahn or Pell was responsible for introducing the symbols. == Books == Teutsche Algebra - Johann H. Rahn === Literature === R. Acampora Johann Heinrich Rahn und seine Teutsche Algebra, in R. Gebhardt (Herausgeber)...
 
1:10 AM
Nice, I have an OEIS account :D
 
@ngn This is the guy I have to blame for aking me accidentally add numbers instead of dividing them in elementary school?
 
ngn
@user wait, you use this symbol when writing on paper?
 
And because I'd need to upload a b-file to correct the sequence, I guess that's waiting until I'm in front of my computer :/
 
ngn
@user when dividing 1 by 2, would you write 1÷2 instead of 1 on top of 2 with a line in the middle?
 
I mean in elementary school I wouldn't think they'd ask to divide 1 by 2
 
ngn
1:21 AM
ok, 6 by 3
i would normally use the vertical notation (i think ÷ represents that), but if i have to write them on one line, it would be 6:3 (or 6/3 which is like a tilted vertical fraction)
 
I wasn't even taught the relationship between fractions and division until 6th grade math where I am lol
Not even sure how that's possible
 
It looks like Arm is the LOTM, but the OP has deleted their account. Anyone willing to create the thread?
 
@ngn In elementary school i did, but not anymore
@ngn i don’t remember. I think we started with the first, then started writing them as fractions
 
Let's just compromise and write on the top and bottom of the division sign.
3
÷
6
Makes perfect sense! :p
 
ngn
÷D
 
1:33 AM
Let’s write subtraction this way toi!
3
-
6
Oh wait…
 
Isn't that what we've always done? Or is that why I failed Algebra...
 
@RedwolfPrograms nah, let's just represent fractions as ⟨numerator|denominator⟩
and then if you need the decimal representation, you just append ɖ
way easier
 
For multiplication:
3
  +
     6
 
+?
This is getting cursed
Oh, that makes it better
 
SE removed my spaces
 
1:36 AM
10 mins ago, by caird coinheringaahing
It looks like Arm is the LOTM, but the OP has deleted their account. Anyone willing to create the thread?
 
Do they have to be familiar with ARM?
 
I could make it tomorrow if needed
 
I guess I could do it then. (That doesn't make me responsible for any bounties though, right?)
 
No
 
1:37 AM
I did the vim one, I just included the presented info in the nomination, then posted the answer
@RedwolfPrograms No, bounties are always an optional part
 
I can contribute two bounties
 
I'll make the post if y'all want
Any other volunteers?
 
It just means you'll get edit notifications for the next month :P
 
if I ain't responsible for bounties I'll do it
 
I'm fine with those :p
 
1:38 AM
I suppose it's the least I can do for 2x-1
 
@lyxal If you want to I'll let you then
 
I'll do it
 
Anyone who wants to is fine to do so. Just copy paste the format, add in some basic info (aka from the nomination), add the answer and flag for the question to be made CW
 
I think I'll actually try out this LotM
Not sure if I can run it, but I'll definitely learn it
 
The bounties for LotM have mainly been a way for a specific user each month to reward participation, they are by no means a mandatory thing to have
 
1:41 AM
oh no, the fireworks begin again. imagine celebrating canada day :/
 
"canada day" sounds like such a boring name for a holiday lol
although I guess ours is just "the fourth of july" to most people lol
 
what's it actually called, independence day?
 
0
Q: Language of the Month for July 2021: ARM

lyxalIn accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout July 2021, our Language of the Month will be: ARM What's a Language of the Month? See the meta post for nominations. In short, during July, those who wish ...

 
Should I pin that? (or, better, a nicely formatted link to it)?
Don't remember if we did that with past LotMs
 
1:45 AM
it's pinned to the main site sidebar so IDK if that's necessary
 
0
Q: Tips for Golfing in ARM

lyxalBecause ARM is the July 2021 LoTM, I figured I'd create the tips thread. ARM is probably the most successful architecture for the digital world. From mobile phones to supercomputers, ARM is everywhere! Consequently, let's have a thread where we can help each other shorten our ARM code. One tip pe...

 
might not be a bad idea ¯\_(ツ)_/¯
 
Has cgcc ever had events before LoTM?
 
@hyper-neutrino yeah real canadians celebrate canadia day
 
I was wondering why NP made dupe posts then realized I'm fricking blind
 
1:49 AM
@lyxal i think there was the thing where they posted lots of questions
 
@lyxal the Site self-evaluation event in 2013 (an old review queue that no longer is in use), and "take the SO developer survey" in 2016, as well as the three elections
(see this)
 
@hyper-neutrino so does that mean I have the record for most posts turned into site events?
 
@RedwolfPrograms hi fricking blind, I’m dad
 
Did you get the milk?
 
@lyxal technically, yes - one is a review queue link, one is an MSO link, three are election page links, and you have two, and Wzl has 1
 
1:51 AM
Sorry son, i need to go back for some lactaid
 
@hyper-neutrino heck yeah
@NewPosts just to be clear, no rep is coming form me this time
 
@RedwolfPrograms (was this a reference to the thing where a dad saus he’s going to the grocery store and never comes back?)
 
@user yes
 
Quite clearly :p
 
how much rep is typically given out during an LOTM?
 
1:53 AM
50
 
total, I mean
 
@hyper-neutrino 250 was given out for first time answers in May
 
Depends on popularity
 
wait, wasn't it 50 for first + 200 for 5
 
@hyper-neutrino yes
I mean 250 total
 
1:56 AM
ah
 
to refuce how much rep you guve you can do what wezl did (award on second ans)
 
as in, that's how much I gave in that regard
 
common practice is +50 to the first answer, right?
 
yes
 
alright
 
1:56 AM
uncommon practice is to have a deadlineless bounty running at the same time ;p
that took the total amount i gave out to 1150
 
Generous of you
 
okay, attached a note - I will supply bounties this month
 
Weird idea: A system where rep in the system is mostly constant, and new users receive a +100 bonus on reaching +100 on any account, which is the only way rep is added to the total. Upvotes would take rep from a community pool, which would be paid by rep lost from downvotes and flags, and users would be "taxed" for the additional amount based on their reputation and activity level
 
Why is rep constant
 
Because that's what makes it different from normal rep
The total in the system only changes when someone gets the +100 bonus
 
2:02 AM
That implies you somehow become less reputable by believing others are reputable
No one would up ote
 
No, it wouldn't tax you
It'd tax everyone a tiny bit
 
another idea: reputation must be mined like bitcoin
 
@RedwolfPrograms that sounds like communism with extra steps
 
also here's another idea that's isomorphic to yours
 
2:03 AM
@RedwolfPrograms So upvoting someone would increase the value of everyone else's rep, basically
 
take everyone's rep and divide it by the total rep to normalize it
 
Why?
 
I like mine more :p
 
funny
 
better idea: rep only comes from chat stars
meaning that you only get rep if you're funny or a RO or a mod
 
2:04 AM
I support this
I like to think I'm both :p
 
Under my proposed system, I would very rarely get rep
 
att
both of all three possibilities?
 
Even better idea: there's no rep. Instead each user has an ELO rating based on the amount of upvotes and downvotes gained on each question.
 
@Bubbler I support this
 
@att It was two but it got edited
 
2:05 AM
Jon Skeet would have very well over 4000 (or 5000?) ELO
 
Also, rep and usernames should be hidden by default to svpid biases while votibg
 
Best and final idea: rep comes from your average byte count. If you post an answer below your average byte count, you get rep. If you post above, you lose rep
 
wait, do LotM bounties go to first-time answerers or any user's first answer in that language during that month?
 
Codde bowling go brrrr
 
2:06 AM
@lyxal That encourages solving trivial problems
And makes using non-golfing languages objectively stupid
 
@hyper-neutrino user's first answer
@hyper-neutrino otherwise you wouldn't have gotten the +50 during May
 
ah okay
updated
 
@lyxal My first answer? Gee thanks!
 
0/10 joke, time to 11 your username back to Original Original Original VI
 
Imagine getting back from a few months away from SE and you've got like -1200 in taxes :p
 
2:10 AM
@hyper-neutrino fine with me
Tine for a more original name :p
 
The way I'd make the taxes work is to take a percentage of the user's reputation, based on a number that decreases depending on how long they've been inactive. For example, a user that hasn't participated much over the last year might only lose 0.1%, while one that's been active a lot recently might lose 1%.
 
@lyxal Only because there's been 3 LotM events :P
 
@cairdcoinheringaahing that's the whole joke ;p
 
I've posted 2 of the LotM threads, so we'd be tied if they'd been events from the start :P
@lyxal The rule is that you can only be a maximum of 2 :P
Once elected, you either stop being funny or give up your ROship (not that that matters but still) :P
 
2:25 AM
well, I'm not funny, so time to add myself as an RO :P
 
If a tax system was set up that took reputation ** 0.75 / 100 reputation from all users (ignoring the initial 1), a total of 24187.3785 would be taken if we were to be taxed right now using my system.
(It's not a big tax at all either, it's only 16.818 rep for a 20k user)
 
2:51 AM
@JoKing I though the idea was that the tag wasn't edited into LoTM posts anymore because they are events
 
oh really? oops
 
Uh, yeah, I probably didn't communicate that clearly with you and WW, oops.
 
TIL I can't unfeature my own posts
also, anyone got any ideas for a (number, number) dyad overload?
 
do you have a copy-sign builtin
 
Probably not
I'll do that then
 
2:56 AM
idk if it's useful, just a random idea
 
Seems more useful than [a + b, a - b]
 
what about a thing that takes a b f g and leaves (f(a, b))(g(a,b)) on stack
 
3:12 AM
Are those numbers razetime?
No they aren't
I asked for things with two numbers, not transformers
 
ugh
 
@lyxal well that's just add-subtract-parallelize right?
 
3:30 AM
btw what's LoTM for this month
 
LEG
 
it is in the upcoming events section in the sidebar near the top
 
@hyper-neutrino yes
 
this is gonna receive a lot of answers
 
3:30 AM
@lyxal and how much would copy sign be without a built-in
sign multiply combine?
 
wow you linked to arm.com
 
wait that doesn't copy sign
it'd need to be sign swap abs multiply
(another reason I dislike stack langs for golf /hj)
 
wat is hj
 
half-joke
 
i kind of dislike stack langs for golf but not enough to stop using them
they're just great for making write only scripts without needing much syntax knowledge
 
3:35 AM
@hyper-neutrino wouldn't prefix be just as long?
That would make it non-tacit that you don't like for golf
 
From what I've seen stack based and prefix are almost always the same length
 
what about postfix vs prefix
 
Not really a difference between those other than the order you write things
 
Can I get some more eyes on this proposal? I'd like it to become the default (if people agree), but it needs a lot of votes to catch up to the current highest-voted answer.
 
@DLosc now it needs less
The gap is only 11 now
 
3:42 AM
Actually ignore me the general idea is pretty reasonable so the arbitrary-ness of the mapping doesn't matter at all
 
i planned to make an online Piet interpreter at some point and the encoding probably would have been similar
@DLosc i would suggest also allowing newlines to represent linebreaks, just for ease of use
 
@JoKing Good point, I did think of updating the translation program to support that. Will make a note of it.
 
CMM: If someone were to make an OS capable of running a programming language's interpreter and storing files of fractional byte counts, would it be valid to score it with fractional byte counts?
 
Yes if such an OS is already out there when the answer is posted
 
3:50 AM
@Bubbler Wait why? It's not like that for languages.
 
@RedwolfPrograms ...It's not? I thought the rule was the language has to have an implementation before you can answer in it. The implementation didn't have to exist when the question was posted, though.
 
Oh yeah, misread that
 
@RedwolfPrograms An interpreter means something that can actually run your code. If your code is to be stored in fractional bytes (which requires OS support), then you need both the OS and the interpreter to run it
 
Yeah, I read "question" not "answer" for some reason
 
4:33 AM
@lyxal has the george ring banner always been solid white?
I remember it being less intrusive on lyxal.pythonanywhere.com...
 
It's usually transparent
 
I've asked if there's been any change
@hyper-neutrino the recent change has been confirmed
 
HTTP allowing both site.com/xyz and site.com/xyz/ and allowing progams to differentiate between them is quite cursed
That has caused me great pain at least once
 
4:49 AM
still waiting on a /// interpreter that makes use of that
 
5:15 AM
is mayonnaise a programming language
@Bubbler A language-wise elo ranking would encourage people to post an answer in their language even if someone already did
that does sound like a cool idea
 
5:43 AM
is it just me or is UTF-8 rather inefficient at packing characters?
 
It's for a reason
 
i feel like it'd be both more compact and simpler to just have 0xxxxxxx be one byte and 1xxxxxxx be start byte for continuation
 
You'd usually only save a few bits with that if I understand what you're saying right
And that comes at the cost of easy handling
 
probably. TBH i guess the problem is I just don't know what said easy handling is :P
oh i guess the number of 1s before the 0 indicates the number of bytes in this character
 
If you mean the continuation bytes should just be xxxxxxxx, UTF-1 (I think) did that and it caused lots of weird issues with terminal escapes I think
 
5:45 AM
but then why does each subsequent byte starts with 10? i feel like they could just not start with anything
@RedwolfPrograms oh, i see
 
Wait, the subsequent ones start with 10?
 
ngn
@hyper-neutrino that makes utf8 "self-synchronizing", i.e. if you start reading from the middle of a multibyte sequence, you'd know where the next char begins
 
@RedwolfPrograms I thought it was 1
 
Oh yeah, forgot the 10 was needed for the self-sync
 
5:48 AM
@ngn isn't it possible for the subsequent bytes to have like 10101010 and then you can't tell where that is?
i'm sure you're correct - i'm just missing something
 
10 is always a subsequent byte, right?
A start one would be either 0 or 11+0
 
or do you mean
if you know where each byte starts
 
You can't tell where in it you are I guess, but it's a broken char anyway
 
ngn
@hyper-neutrino a multibyte sequence is theoretically 6 bytes max iirc. in practice - 4 bytes max. so ultimately, you'll get to a byte that doesn't start with 10 or to the end of the stream
 
ah. okay. so if you see a byte you know it's not a start byte if it begins 10
 
ngn
5:50 AM
yep, you just skip the bytes with leading 10s
 
cool. thanks for explaining :D
 
Currently debugging a rough interpreter for a neat language I came up with, stay tuned for more details :D
 
will it be like risky or will we actually get to know something about it :p
 
It'll be like risky :p
I'm doing that from now on, I like the suspense
Although this one's not quite as interesting, but still a bit neat
 
imagine having interesting ideas at all
 
ngn
5:54 AM
@hyper-neutrino i forgot to mention - no byte in a multibyte sequence can start with 0 because one of the requirements for the encoding was to be ascii-compatible
 
Ah. right, makes sense
 
CMC: Make a programming language. Memory: single registor, Commands: + Increment the registor, - Decrement the registor . Output the value as a ascii char * Multiply the registor by 2, ( start loop for registor times ) end loop
 
*register
 
whatever
example program: ++****.------------------(++.)
 
6:08 AM
hi everyone
 
@wasif hi
 
21
Q: Write an interpreter generator

Recursive Co.There are quite a few accumulator-based programming languages featured in challenges across the site, but it's a little tiring to have to write almost identical code for each one. So in this challenge you will write a program which can generate interpreters from an input. How does this work? Let ...

just what you want
 
Why does my code only work when there's logging in it
 
@wasif Not quite
 
Why the frick does my code only work when there's logging in it
 
6:09 AM
@Ausername oh sorry i forgot it needed loops
 
Is this a bug in V8
 
'the fricketing frick'?
 
@RedwolfPrograms which code
 
@RedwolfPrograms Maybe the logging modifies something in place, or provides a delay.
 
ngn
schroedinger's code
 
6:11 AM
Wait what...it was the code I was using to format the output, which was somehow modifying the output in place
 
@PyGamer0 not very helpful without the intended output
 
> .forEach(l => console.log(l.id + ": " + (+l.on)))
Anyone see anything there that could cause that sort of issue?
l.on would become false
 
anyway, this works by copying the TIO brainfuck implementation
 
Even when it was true
 
so if you remove that line it no longer works?
this looks like it doesn't modify other than via output
 
6:13 AM
 
ooh circuits
 
Wait I cropped out the previous state by accident
 
Does forEach modify the original array?
 
what if you replace +l.on with l.on ? 1 : 0
 
Oh
Are you using any libraries?
 
6:14 AM
wat
 
this is what you get for using javascript
 
Now it's not working in a different way
 
I think I either just found a bug in V8 or I did something so scarily awful I should be killed on the spot
 
6:15 AM
Nice!!!
 
@RedwolfPrograms do you have a minimal reproduction?
 
No, I can't even get the full scale bug to work reliably
It fails in a different spot each time
 
tf
prediction: something in the global scope overwrites your values
 
@RedwolfPrograms Good job
 
Nothing in global scope
Other than interpreter and circuit
And local has more precedence
 
6:17 AM
any userscripts / site scripts, or are you on a blank page?
 
Blank page
 
what is the buggy behavior anyway
 
Is...is code running out of order somewhere?
 
when it does happen
 
Basically one light should be on and one should be off
Both seem to be off sometimes
But sometimes it'll change, without me doing anything
 
6:19 AM
well i suppose you aren't willing to send me your entire code to debug :p
 
If this goes on much longer I will
Now that I added logging in one spot it works again
This is almost certainly an out-of-order execution bug in V8 I think
There's no other possiblity I can think of, other than ghosts :p
 
@Ausername congrats
you just need 14 more rep to cross me
 
I guess I'll attempt an MCVN, but given how weird this bug's been having I'm not sure if it'll work
I think I'll just have to start golfing down my code to get an MCVN, instead of rewriting one from scratch
 
lol. see, code golfing is a practical skill
when trying to make an MCVE for debugging or whatever, shorter = easier to read the whole thing and understand each component = better. ez
 
6:29 AM
@Ausername only 1 smh
 
ಠ_ಠ
 
@hyper-neutrino you're just jealous you don't have 2 silver either
:p
 
imagine not having gold, smh
 
@wasif Srsly?
 
6:31 AM
Bye, playing minecraft
 
@hyper-neutrino I'm only 12 votes away y'know
 
oh. nice
 
@RedwolfPrograms mcvn?
 
I think I broke V8
I need to figure out how
 
Minimal, Complete, and Verifiable Nexample?
 
6:32 AM
(i actually do know cuz i was on your profile the other day, don't remember why, and noticed the progress)
 
@lyxal oh lol
 
@hyper-neutrino to view my weekly profile change obv /s
 
I hate es so much I guess I've started auto-filtering them lol
 
Nexample?
 
@RedwolfPrograms you should try that weird remapping thing i suggested with my zero medical experience and knowledge
 
6:35 AM
Medical experience? Why tf do you need medical experience for writing JS? Is it to be able to be your own doctor when the side effects of using JS become too unbearable? \s
 
> Rahn (…) introduced ÷ as a sign for division. (…) it did not enjoy popularity in Switzerland and the symbol ÷ for division was not adopted by his countrymen. In England, the course of events was different. The translation was met with a favorable reception; Rahn's ÷ and some other symbols were adopted by later English writers, (…) It became adopted regularly in Great Britain and the United States, but not on the European Continent. (Florian Cajori)
 
Down to 126 lines of code now :p
I guess I need to start removing some actual logic now
 
logic? aren't you coding in JS /s
3
 
Man frick the ISO 80000-2 standard for mathematical notation
Imma use ÷ for division like a real gamer whether they like it or not
 
6:42 AM
I want to just ask on SO already, but my code is a bit messy
 
@PyGamer0 I see your roblox and raise you a steamed hams
 
ngn
@Adám and how does that make you feel? :)
 
@ngn Hungry.
 
Oh no
I think I did a mega stupid
Okay I didn't
 
back again
@lyxal when is Vyxal e branch releqsing
(Plus then what character will be used to part iterable in n pieces if you use ÷ for division)
 
6:55 AM
Wait, I think it was a mega stupid which I did
I need to do further investigation, but I think I got the indices and ids (which are usually the same as the indices) mixed up somewhere, and since I use a set at one point that could introduce nondeterministic behavior
Wait, the weird thing is that the set is cast back to an array way before the error's happening
Wait I'm not mega stupid
That didn't fix it
There seems to be a timing aspect to it, unless I got super unlucky over and over again
 

« first day (3806 days earlier)      last day (1038 days later) »