« first day (3818 days earlier)      last day (1023 days later) » 

1:02 PM
wow
that moment when I go looking for python answers on SO
and I find a Lynn answer
very cool
 
great news: i fixed it
 
@Ausername i think that's a great way for me to become the most hated mod lmao
 
demod any% speedrun, sponsored by vyxal
 
1:35 PM
:p
 
@lyxal I think the easiest/quickest way to get demodded would have to be them sharing PII. Every other reason would require internal investigation, especially after the Monica incident, but sharing PII would be something that would need to be contained first, investigated second
In fact, I'd imagine that'd even be quicker than stepping down, as that takes a few days IIRC
 
personally identifying information
 
yeah, I think that would be the fastest way to lose your diamond lol
 
2:04 PM
The Nineteenth Byte
Why is it called that
 
46
A: Let's think of a creative name for our chatroom

dmckee --- ex-moderator kittenWell, the traditional generic name for the country club bar is "the nineteenth hole", which suggests The Nineteenth Byte or something like that.

 
Ninja'd :/
I love that dmckee has 3 answers to that, but 2 of them are heavily downvoted :P
 
For the nonce I've gone ahead and made it "The Nineteenth Byte". When we're bored of that I suppose we'll use the then highest voted answer not yet used. Or something. I'm not marking this [status-completed] because I think that continued input will help for future name changes. — dmckee --- ex-moderator kitten Feb 22 '14 at 22:24
> when we're bored of that
and then the name proceeded to never be changed for the next 7 years
 
Mark it :P
Potentially even as it comes up fairly often
 
@hyper-neutrino ooh interesting
 
2:08 PM
If we decided to switch to the second most voted for option, the room would be renamed to "Chat Cht"
I definitely like TNB more :p
 
what about the name for the room be " "
 
I suggest "Jelly, 19 bytes" :P
 
I like how two of dmckee's answers are at -5 and one's at +46 :p
 
@cairdcoinheringaahing do I smell a free flag
I don't think we should ever rename TNB cuz there's nothing wrong with the name and changing it would break a lot of references
 
Unless there is a significant push for it being renamed, which really should be a separate meta question, I agreee
@hyper-neutrino I love the smell of free flags in the morning :P
 
2:29 PM
295
Q: I'm about to automate myself out of a job. How do I approach my boss to discuss this?

KazI work for a small-ish company (~15 employees). I've managed to automate myself out of 80% of my job, starting in 3-4 months. I would really like to stay with my company, but my best analysis suggests that there simply won't be (enough of) a need for me. If our growth rate continues, that 20% wil...

The updates on this question lol
 
@user Next update: I'm now the CEO of Apple-Microsoft-Google, it all turned out great :P
 
@cairdcoinheringaahing "Japt -R, 18 bytes"! :p
 
@cairdcoinheringaahing 10 years later: I'm a cyborg now, and I rule a top-secret colony on Mars :P
 
2:46 PM
@user 20 years later: I now have a good chance to become president… of the United States.
 
30 years later: I am now the vice president ... of the galaxy
 
Just the vice president? Why not Supreme Leader of the Galactic Federation? :P
 
That's their boss' job :P
 
@PyGamer0 A CSV file with probably hundreds of thousands of rows (had to do some work on an FBI homicide dataset for a stats class)
 
ok i read up to "had to do some work on an FBI homicide" and i was like
what o.O
 
2:59 PM
@PyGamer0 I had a chat listener bot active a few months ago in a bunch of rooms and had to manually delete a bit of PII that someone sent (mods nuked the message). I think the log file was close to a gigabyte before I shut down the bot :P
 
@hyper-neutrino Okay, I didn't really edit it, I filtered out most of the columns (and some rows where the perpetrator was 0 years old and stuff like that) and just stuck it into Minitab
It was actually at FBI bootcamp, where I was training to be an FBI agent who monitors people's computers
 
You got outgolfed son!
 
All 3 Jelly answers to that outgolf me :P
 
wtf lol ok then
that's very nice
 
3:10 PM
@cairdcoinheringaahing It is better to have golfed and been outgolfed than to have never golfed
That sounded better in my head :P
 
I wrote some code ... and it worked on my first attempt
How often does this happen?
 
Depends
 
never. there's probably some bug in it that you will discover in 30 minutes
 
If you're me, never. If you're a genius, often. If you're Jon Skeet, never, because it works on your zeroeth attempt
 
(hello)
I wrote f n=product$iterate(\a->do x<-a;[1..x])[n]!!n in Haskell first and was like "aw shucks that's way too long"
wait I'm a dummy, iterate(>>= \x->[1..x])
 
3:21 PM
i was about to say lol
 
Bubbler's approach is shorter though and I would've never thought of that one
f n=last$iterate(scanl1(*))[1..n]!!n ← so cool
 
now you're making me want to learn haskell >_>
 
let the haskell flow through you
 
I wonder what R¡FP looks like in APL/J/K
 
3:28 PM
should i learn me a haskell for great good (or however that went)
unfortunately on 1 2 3 doesn't give [1] [1 2] [1 2 3]
      ⍳ 1 2 3
┌─────┬─────┬─────┐
│1 1 1│1 1 2│1 1 3│
├─────┼─────┼─────┤
│1 2 1│1 2 2│1 2 3│
└─────┴─────┴─────┘
and ⍳¨ 1 2 3 works but strangely not when i attempt to it so i am probably just being dumb
oh wait of course, i'm not disclosing the result of ⍳¨ ⍵ :/
 
Jelly's R¡ just happens to behave right in every way for this
 
ಠ_ಠ You ninja;d me by 8 seconds @Lynn :P
@NewPosts STATUS
 
RUNNING: [1] 1 1

[14:13:17] opened: nmp
[14:13:17] opened: sandbox
[15:35:16] status: 240
 
You sure about that?
 
when i saw the closed as dupe dialog i thought "there's no way it's clearly a dupe of that"
it was clearly an exact dupe of that
 
3:36 PM
@RedwolfPrograms your bot is being bad again
 
...
what
what
 
wait no hold on. it was another post
nvm i got it confused with this post that they suggested-edit-ed
nvm what i said lol
 
and then they post a
very not golfed
solution to the other one
 
@Lynn I got it to {×/ ({⊃ ,/ ⍳¨⍵} ⍣ ⍵) ⍵} in APL (ungolfed) but there's probably a both shorter and more elegant way to do it that someone who actually knows array languages can find
makes an N-dimensional hypercuboid range for vector input which doesn't work how we want; ⍳¨ produces an array of arrays and if we diclose that, we only get the first cell, which is not what we want, so we have to ,/ join the cells together, but then we still have to it to get it back into a depth-1 vector
so overall not nearly as nice as Jelly R just vectorizing on vector input :P but probably more useful for real applications
 
@hyper-neutrino How many esolangs do you know? lol
 
3:44 PM
@PyGamer0 I read that as "mother" and was very concerned lol
 
> esolang
first of all APL is not an esolang :P
second of all I wouldn't say I even really know APL
but among the esolangs i'm fairly familiar with I'd say Vyxal (but not really, I suck with stack based languages overall), Jelly, somewhat yuno, and javascript
i can probably write an answer in any stack based golfing lang if there is a command list available but it will be bad
 
I wouldn't consider a single one of those to be esolangs :p
Except JS
 
Unfortunately, JS is far from an esoteric language
 
truly sad
 
@user It is for me :P
 
3:47 PM
@user I agree, esolangs are much less esoteric
 
thing is it's hard to define what constitutes "knowing a language" :P like sure i know how BF works?? but i don't know all the bf tricks/patterns that actually good bf golfers/programmers know
 
i'm the 5th biggest intercal user here apparently and i have no idea how to effectively write intercal
 
@N3buchadnezzar Good, stay pure
@UnrelatedString I mean, that's the whole point of INTERCAL :P
 
true
yeah i have 11 intercal answers but all of them are trivial
either in the sense that the challenge is trivial in most languages that aren't intercal, or somehow intercal's features make a less trivial challenge relatively easy
 
3:53 PM
> intercal's features
 
(with source layout based stuff falling under the umbrella of trivial challenge)
 
@hyper-neutrino I know every single command in bf. I still can't multiply two inputted numbers :P
 
CMC Multiply two numbers in a language where you do not know how to multiply two numbers.
 
the thing is BF only has 8 commands and it's pretty trivial to know what all of them do yet skill ranges from not knowing how to multiply two numbers to literally making a compiler to compile ASM into brainfuck lmao
 
3:54 PM
@UnrelatedString lol
 
@N3buchadnezzar 42 (Jelly)
 
@RedwolfPrograms You have to actually multiply them :P
 
Unobservable requirement, VTC :p
Just make it any two inputted numbers
 
@RedwolfPrograms Changed
 
Jelly, 42. That's not the number literal, behind the scenes, Jelly optimises that to 7×6*
 
3:56 PM
> optimizes
 
@N3buchadnezzar Chinese: 四十二
 
*: Veracity not 100% true
 
._.
Japanese: 四十二 (hmm)
 
Wait what
Did one of them just straight up copy the answer to life, the universe, and everything?
 
kanji are very similar (a lot of the time / probably most of the time identical) to (traditional) chinese
 
3:58 PM
I used Simplified Chinese (at least that's what Google Translate claims)
 
it's the same in this case
@user well JP/KR have a lot of influence from chinese
but i think korean fully discarded their chinese-like writing system and just used hangul
 
i think it had something to do with typewriters? idk if that was the actual reason or just a catalyst
 
i know at some point in history they used hangul to supplement hanja but eventually they just fully adopted hangul
 
yeah. i saw a video about keyboard layouts and typewriters from i think junferno the other day and he mentioned how CJK languages dealt with typewriters
cuz typewriting a language with 6000 characters is somewhat difficult :p
 
4:02 PM
How do you learn a language with a different script? Is it not that much harder than learning a language with the same/a similar set of characters?
@hyper-neutrino Oh, so that's why bf was invented :P
 
Just make the keys really small and use a pin and a hammer to push them with the necessary force :p
 
Or abandon 5998 characters and use binary :P
 
1101 1001 1111 0010
 
one idea for a chinese typewriter was a large matrix and a selection window that you slid around and then a lever to push to print the selected character
and a similar idea put that onto a cylinder to make it less clunky and a bit more compact
the korean approach was to simply give up, and use hangul (it didn't look that nice, but at least it worked for typing most things at least)
 
it looks like it was maybe sort of a mix of korean nationalists who wanted to use a script that was actually korean and foreign missionaries who didn't want to have to figure hanja out to write in korean
 
4:04 PM
@user well depends
if you're learning japanese, you have to deal with the fact that 下 has like 9 ways of saying it
tho tbh I think the main difficult part about learning japanese is the grammar - i think you are mostly right that learning the vocabulary is quite similar no matter which language you learn (although with heiroglyphic languages (or whatever they're called) there's no such thing as sounding out words, so it's an extra layer of memory that you can't guess or mnemonic-ify as easily)
 
4:18 PM
> The goto operator was added to PHP from version 5.3.0
Wh...why
Isn't that the opposite of progress?
 
goto is good
like all(?) good things, it can be abused
 
syntax error: is good: no such label
 
Hey guys, I just found this paper where Dijkstra says that the go to statement considered harmful; let's add it!
 
APL needs more goto operators
 
When I was little, I wanted →3j4 to go to after the 4th on line 3.
 
4:21 PM
w-w...
why
 
It was normal to skip lines conditionally, but there was no way to inline that.
 
@Razetime It also needs more velociraptors, so this is a great coincidence:P
 
@PyGamer0 idk maybe some cmake-generated file
 
@cairdcoinheringaahing velocipastors you mean
 
@PyGamer0 nib, * * 2 +:(both@$(*:/)+), 22 bytes
that's parsed as (*) (* 2) (+: ( (both@ $(*:/)) (+) ))
 
4:37 PM
looks rebol-y
or maybe more lispy?
 
it's most similar to J
overall it's sad: :( and :/
but also $( and (*: and :/)
 
sad and depressed language to relate with the average array programmer
 
but the more array literals you use, the happier you get: ( element; element;)
 
good spirit
 
4:54 PM
@Razetime The death of CJam and Golfscript (where :( and :) were common) has greatly decreased emotional golfing :P
 
emotionally oriented golflang making
 
wait this sounds like it could lead to some funny ideas
 
hm this is a great dumb idea to base a golflang on
EXACTLY HYPER
 
CMC: Given a list and an integer, floor divide each element of the list by the integer, then take the product of the divisions :P
 
@Razetime you could have multiple dimensions of emotion, which different operators move in different directions, and the overall emotion at each step determines how some operators work
 
4:59 PM
@cairdcoinheringaahing % floor ^:1 *, nib
 
@cairdcoinheringaahing Vyxal, 2 bytes: Try it Online!
 
@cairdcoinheringaahing Jelly, 6 bytes: :⁹$€×/
:P
 
@hyper-neutrino I hate this :P
 
i know, that's why i did it :p
CMC: Given a list of numbers, replace each zero with NaN (or something similar) and everything else with 1
 
JS: x=>x.map(n=>n/n)
 
5:01 PM
wait nvm : alone solves this :(
 
yeahhhhh
 
@hyper-neutrino This isn't :p is it? :P
 
it was meant to be :)
CMC: Given a list, reduce it by floor division
 
:/
CMC: Signify your disapproval of an input, while leaving it unmodified
 
CMC: Given a list, scan it by floor division
 
5:03 PM
@cairdcoinheringaahing >:-( should work
 
Imagine not using ಠ_ಠ
 
ಠ__ಠ
 
@UnrelatedString I think we should write these ideas down somewhere
 
@hyper-neutrino Vyxal, 6 bytes: Try it Online!
 
5:05 PM
Unicode has a big brain amogus character: ಟ
I didn't know there were so many dank memesters in the unicode consortium
 
ah yeah kannada
 
@RedwolfPrograms That has to be a unique sentence :P
 
kannada has some squiggles which unfortunately helped the amogus meme exist
 
Personally, I like ಥ_ಥ or the ghost of disapproval: ರ_ರ
 
5:48 PM
@cairdcoinheringaahing ×/⍤⌊÷ in APL.
@hyper-neutrino ⌊⍤÷/
@UnrelatedString ⌊⍤÷\
 
6:07 PM
@cairdcoinheringaahing Scala: x=>{println(s"I hate $x");x}
 
@cairdcoinheringaahing {⎕←⍨⋄⍵} Try it online!
@hyper-neutrino If nulls qualify, 10: ⎕NULL@~|∘× Try it online!
 
6:41 PM
@cairdcoinheringaahing Charcoal, 3 bytes: IΠ÷
 
6:53 PM
me: spends like an hour fiddling around with jelly's string compressor and reverse-engineering it to make an LTR algorithm so i can store it in a prefix cache for optimization
also me: doesn't store my intermediate values to the cache
 
7:18 PM
How do you code in Python in Atom?
 
in what sense
 
python-tools and ide-python (and atom-ide-base) aren't working at all
 
use command line to run code lul
 
No like linting and goto definition and stuff
 
7:19 PM
@user Neither are a bunch of packages
 
7:31 PM
aight so rickroll actually just identified a bug for me :P (which Unrelated String helped me find)
 
aight finally done :D i'm actually quite proud of this
optimal string compressor in jelly, and it compresses as you type
2
 
YT political arguments are so much fun /s
Never have I come across someone who could so confidently declare something blatantly incorrect that I have to go check wikipedia to make sure I'm not going crazy
 
YT comments are just very fun
 
@hyper-neutrino It annoys me that the string compressor doesn't handle trailing spaces
 
7:44 PM
@cairdcoinheringaahing yeah, unfortunately sss just doesn't support that
very sad
 
Got to love leading 0s :/
 
i wonder how much space would even be wasted if instead of %96 it was %97 and then you add 31 to the remainder
and with that i think my jht site may actually be done!
just ran my scanner and there are no dead links, and i don't think i have any more unfinished pages
oh wait, my "explain this code" thing isn't even started yet. that'll take me a long time :/
 
would it be, like, autogenerate the kind of explanation you see in an answer
or would it lean a bit more into spelling chain rules out
 
> This feature is not implemented yet!
When you click "Generate TIO link" here
 
Does jelly not have single character literals?
 
7:50 PM
@RedwolfPrograms it does
but my program produces a string literal
 
”a for example
 
as a guarantee, it is a string or a list of valid values
 
Oh yeah, forgot Jelly's weird
 
not really (well not for this reason :p)
imagine not being able to distinguish a character from a length 1 string
 
A character is a length 1 string :p
Also, is Jelly cuts characters that aren't in its codepage out of its code. You will need to use <a href='/atoms/chr'><code>Ọ</code> (Chr)</a> on the codepoint to create those characters. supposed to have unparsed HTML in it?
@RedwolfPrograms I've never understood why people like the whole "a string is an array of characters" thing, to me that's just a hacky workaround from back when C was a thing
 
7:55 PM
it makes sense in jelly because array language go brrr
@RedwolfPrograms uh what
where
 
oh wait that bit
er... that's cuz i am inserting it into a textarea lol... i will fix
 
Wait jelly can't have unicode characters in string literals without inserting them from somewhere else? That doesn't seem like very good design.
 

« first day (3818 days earlier)      last day (1023 days later) »