« first day (2454 days earlier)      last day (1512 days later) » 

12:00 AM
ok
great now it's segfaulting for no reason
probably should comment out the line that sets the recursion limit to a huge number
 
@HyperNeutrino Segfaulting because infinite recursion... that's not no reason
 
oh funnily enough it was the superclass's default behavior that broke it
@ASCII-only well fine I just couldn't find it k :P
hey look
I got the new version of Proton to print "1" from the REPL
 
what.
 
took me a couple of tries lol
other than literals, nothing else works yet. It's a start though! :P
hopefully the framework is set up well enough for me to just start translating
huh apparently Proton had const. I forgot about that.
CMP: Should I allow the customization of keyword to meaning mappings for Proton? So like, instead of if (condition) statement you could change it to si (condition) statement (if you're french :P)
I keep seeing weird control flow statements in Proton's source code and I can't even remember what they do lol
 
12:15 AM
@HyperNeutrino Yes. pls
 
ok
anyway brb in a bit
 
@HyperNeutrino link?
 
Alright, now I've solved it in RProgN2, ARBLE, Threead, TacO, MaybeLater and ReRegex. Am I missing any of my languages?
 
@ATaco JProgN, APN, Funky
 
JProgN was an experiment. It's not on TIO and it will hopefully never be.
Same with APN.
Although Funky works, that $O(2^n)$ compile time makes it worthless.
 
12:32 AM
xD
 
@ATaco Please explain why it's $2^n$ pls
 
@HyperNeutrino to the control flow statments...
 
Each time a token is parsed, it not only checks for the next expected token, but checks if this token is a prefix of another token.
 
12:39 AM
@ATaco But it isn't 2^n....
 
So for each token, it branches into two.
 
@ATaco That sounds horribly inefficient but my regex tokenizer is probably no better :P
 
And then for each of those two, it branches into another 2.
 
@HyperNeutrino D: so verbose
 
12:40 AM
@ATaco But what if it's not a prefix... does it really not error/exit
 
Oh I just realized what comp means
it's a list comprehension. I'm dumb lol.
 
@HyperNeutrino :|
 
Each prefix exists as both a token and a prefix of itself. This is so that expression+expression can be matched as an expression, where the first expression is the prefix.
 
@ATaco :|
@ATaco ... ... ...
 
12:45 AM
Wait isn't that something the parser does?
 
@ATaco How do you prevent infinite loops then
 
How would this cause infinite loops?
A prefix needs to only fail to be a prefix once.
 
But it can be a prefix of itself, how can it fail
 
gah I'm dumb
 
A prefix of it's token type, not the same token.
Funky was an experiment in a more generic language, which worked, but it was really slow and pretty aweful.
 
12:50 AM
@ATaco Then it's nowhere near 2^n...
But yes. If you just fix that... then isn't it fine
 
I assure you that it is 2^n, I'm just really bad at explaining it.
 
@ATaco pls prove ty
 
well now I need to rework my entire memory system, which is really the hard part lol
 
like does a 30 term program actually take like >1 second to parse
 
I'm a hobbyist programmer, not a Mathematician, I ain't gotta prove nothin'
 
12:52 AM
@HyperNeutrino :| what
 
currently the memory system uses strange hacks such that rewriting to actually be decent is a pain
 
@HyperNeutrino memory system?
 
actually no what the hell am I doing
@ASCII-only well like the way variables are stored
but yeah what the heck am I doing, I don't need to do any of that
 
@HyperNeutrino protip: use Charcoal's Scope then open 100 issues when it doesn't do what you want it to
 
12:59 AM
Hey, does anyone know if bounties can be awarded to community wikis?
 
@Maltysen double ping?
@SimplyBeautifulArt Yes
 
@ASCII-only oops lol
i clicked reply, went to find the book, then typed out the ping :)
 
Okay, thanks.
 
Anyone here know any U.S. politics? (don't worry, I'm not here right now to give out opinions)
 
1:05 AM
I'll see if I can find it in uni library
Thanks
 
1:18 AM
@LegionMammal978 I know some
 
@DJMcMayhem Okay, so apparently, President Trump designated Ajit Pai as FCC chairman on January 23 of this year, but all I can find on it is Pai's response statement and media reports of the designation. Where would I be able to find any actual records of the designation itself?
 
Uhhhhhh
I have no idea
 
Me neither
Checked the FCC records, the congressional records, the Federal Register, and the White House statement listings
Could only find his response
 
lol my CS class finally got around to actually teaching programming
I wonder how badly I will fail this course simply because of bad coding style
 
@HyperNeutrino Not very
 
1:28 AM
how so lol
I mean then again it's so simple that I can't even screw it up
like maybe the hardest we'll get to is recursive functions I think
 
@HyperNeutrino Well apparently most uni programming graduates can't even do fizzbuzz
 
what.
remind me what that is?
 
Count up, if the number is divisible by 3, write Fizz, if it's divisible by 5, write Buzz, if it's divisible by both, write FizzBuzz, otherwise, write the number.
 
it's print numbers ascending except fizz for 3|n, buzz for 5|n, and fizzbuzz for 15|n right
 
1:31 AM
Yes
Except not |
 
i don't see how that's even remotely challenging :|
 
It's not.
 
You know, I still don't understand the difficulty in understanding most cases of recursion
 
I did that about 9 years ago :(
 
I picked it up pretty quickly
 
1:32 AM
But the number of possible solutions and such makes it a great interview question.
 
It's really annoying that you've got to get through the lower levels at every stage of education
 
@LegionMammal978 example pls
 
@HyperNeutrino I feel unfortunate that you have to learn at a level much lower than your programming skill. Does your school offer a harder class?
 
@muddyfish yes. it is. :|
 
Don't rush them, you'll never know what you'll pick up along the way, hopefully good habits and not using namespace std
 
1:33 AM
@ATaco I know good habits though >_>
 
@ASCII-only idk, programming courses seem to make it sound real difficult, looking at others' anecdotes
 
Then you should breeze through it :D
 
@user202729 Nope. Grade 12 is probably what I learned 2 years ago. Headstarts are both great and boring.
 
@LegionMammal978 do you have a link to one such anecdote
@HyperNeutrino Do you not have AP CS wherever you are
 
Year 12 taught me literally nothing about programming.
 
1:35 AM
@ASCII-only ¯\_(ツ)_/¯
 
@ASCII-only Nope.
@LegionMammal978 you lost an arm
(edit-ninja'd)
 
What if there was a site which could display ¯_(ツ)_/¯ or ¯\\_(ツ)_/¯ but not ¯\_(ツ)_/¯
 
@LegionMammal978 There probably is
 
I would murderize said site.
Except such a bad site would probably be a creation of mine lol.
 
@Mego Why not :P
 
1:37 AM
With credit to my school, they didnt offer any course claiming it would teach me anything about programming.
 
@HyperNeutrino *Taco's
 
oh sick burn
 
My year 10 course did the generic "This is HTML, make a terrible webpage"
@ASCII-only I'll have you know my sites are perfect.
 
I skipped grade 10 CS ¯\_(ツ)_/¯
 
@ATaco Isn't that what all Year 10 courses do
> .jsd
 
1:38 AM
I'm learning Java this year. I haven't used Java before. I guess I'll be learning the syntax of Java. It's pretty simple so far
 
@ASCII-only Yep.
@ASCII-only .jsd is perfect.
 
@HyperNeutrino If I did CS I would skip the first two years of the uni degree
 
@muddyfish if you know a C-derived language it's pretty easy
I have a friend in second year, they're doing networking in C
sounds terrible right?
 
Before Java I hadn't used any Strictly typed langauge.
And it was basically the best thing.
 
1:39 AM
but they get a library that basically does everything for them >_>
 
That is infact how you write C.
@ASCII-only Do these bad practices make you cry?
 
yes
 
@ATaco But that is js.
 
typing const 4 times ;_;
@user202729 On the server. >_>
 
I know python and it's pretty simple. I just dislike it's types and not quite compatible methods
 
1:41 AM
@ATaco Is this express
@muddyfish not quite compatible?
 
@ASCII-only Nope, just .jsd
 
Array and List and the primative array for example
 
@ATaco no i mean are you using express for server
@muddyfish array?????
 
@ASCII-only Nope, just Node.JS
 
@ATaco ... no i mean are you using http/https module? or express module...
 
1:45 AM
I can't really remember. This was issues I had about 2-3 years ago when I was playing about with it. Haven't gotten to arrays and lists yet in the course
 
@ASCII-only Just plain ol' https, You could probably have assumed this when I repeatedly said "no" to the question "are you using express"
 
@ATaco .jsd is not https, neither is Node.JS...
 
The point was that I said no to the question "Is this express"
Which means any future question, saying "is this express or..." probably assumes the latter.
Regardless, Express would have probably been logical and infinitely easier to work with, which is unacceptable.
 
10 mins ago, by ATaco
@ASCII-only I'll have you know my sites are perfect.
 
Absolutely perfect
The idea behind my JSD system was to allow for me to rapidly prototype webpages, and it achieves that perfectly.
858 was a neat thing I pushed out quickly.
 
1:55 AM
I use aiohttp, jinja2 and Firefox's web developer tools
 
If you're going to do something, might as well reinvent it!
 
> Firefox's web developer tools
 
I use them too.
 
@muddyfish aiohttp?
 
An alternate to flask that uses asynchronous programming
Works nicely with other things such as apscheduler and discord.py for example
 
@ATaco :| it freezes if you eat yourself
 
Patched. Refresh.
 
but it's possible to turn around at size 2 and it shouldn't be
 
Yeah, I know. It's not very good.
Some Other things I was able to rapidly prototype.
 
protip: zoom in on the pipes
 
2:15 AM
#Butwhy
 
So it looks more like windows screensaver :P
 
Whats that thing people use to generate images of equations for chat?
 
Oh, you're no-longer funky!
 
Yeah, I was locked as Funky until oct 11
 
Still a Funky Computer Hand but not called one anymore
@WheatWizard You could have changed your parent site :P
 
2:18 AM
Question: Is it a good idea to launch the file explorer in sudo?
 
I could have, but tbh I don't much care what my name is in chat
 
@HyperNeutrino No.
 
is not sure if he wants to rename from muddyfish to Blue
 
@ASCII-only lol well I did anyway
 
@HyperNeutrino 1. gksu 2. only when editing admin files
 
2:19 AM
I'm trying to copy-paste stuff around to install JDK8 (I only have the JRE or something?) and cp is a pain to use
 
I work on A-ta.co in root on prod.
 
@ATaco Thanks!
 
@HyperNeutrino install it through package manager?
 
I also have no source control.
 
idk how?
 
2:20 AM
@HyperNeutrino ... how exactly is cp a pain to use
 
Which OS are you using?
 
because I don't get it
@ATaco Linux Mint
 
@HyperNeutrino or go to java webpage -> download -> double click
 
Try apt install jdk
 
not located
 
2:21 AM
sudo add-apt-repository ppa:webupd8team/java; sudo apt-get update; sudo apt-get install oracle-java8-installer; sudo apt-get install oracle-java8-set-default
@ATaco ...
 
huh apparently JDK 9 is now stable should I get it or not
 
I'd recommend it.
 
But I'm a bunch of veggies and beans in a tortilla, you don't have to listen to me.
 
2:23 AM
@HyperNeutrino Yes more features is always good
of course .NET is far superior to JVM
 
well waited like 30 seconds and got 50 pages of messages and then it was just like "oh look it failed" ._.
 
Well my solution would be to uninstall mint and install Fedora, but i'm sure that's not practical.
 
not really lol
 
@ATaco ...
 
oh well worst case I have to use Java 7...........
 
2:26 AM
@HyperNeutrino what failed
 
Connecting to download.oracle.com (download.oracle.com)|184.84.243.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-17 22:23:27 ERROR 404: Not Found.

download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python-bzrlib
 python-cheetah
 python-keyring
 python-lazr.uri
 python-wadllib
 python-zope.interface
 
@HyperNeutrino pls post error message.
@HyperNeutrino :| oh no
7 mins ago, by ASCII-only
@HyperNeutrino or go to java webpage -> download -> double click
 
I tried that
but then netbeans was like "oh no UNKNOWN ERROR occurred while trying to validate the path" like that is actually really fucking useless so like idk what went wrong exactly
 
@HyperNeutrino So Python 1/2/3 and PyPy 2/3?
 
@ASCII-only and PyPy 3 I think
yup
 
oh jython could consider using that
 
Please don't use Java, Groovy/Kotlin/Scala are ok though
 
I mean, other than Python, I HAVE to use Java which is what I'm working with for the next OEIS challenge rip
 
@HyperNeutrino Why do you have to
 
I don't know other languages lol.
 
2:32 AM
@HyperNeutrino D: How could you learn Java
You must now go on a year-long journey of repentance (or something like that)
 
Lua > Java
 
@ATaco Anything > Java
 
Java > C#
(Microsoft Java®)
 
Why do people hate Java so much?
 
I don't, it's one of my favourite languages.
 
2:35 AM
@ATaco ...
 
But it is terrible for golfing.
 
@user202729 Because really C# is much better
 
Asking code-golfers why we don't like Java is like asking actually golfers why they don't like cricket bats.
Sure they both hit balls, but one isn't really suited to the task at hand.
 
Also (@HyperNeutrino about A0..080) I suspect your addCycles or something is wrong, so some graphs is never generated. I'm pretty sure that my implemention of isomorphic is correct.
 
3:17 AM
Hello everyone
 
Hey
 
o/
 
How are you all?
I'm in the middle of exam week, myself
 
Ouchie
 
I'm fine, weather's lovely down under right now.
 
3:25 AM
I'm 3 weeks into the year at uni. There was a hurricane nearby yesterday and the sky changed colour and it was weird
 
Neat.
 
Are you talking about Hurricane Ophelia?
 
Everything went yellow. And yes
 
If so, ooh where in Europe are you?
Oh, that's weird
 
UK
 
3:26 AM
Ah best of luck, sir
 
Sky turns yellow here when everything's on fire, hope you're safe.
 
We missed it by a bit. Only got 50mph winds here
And apparently it was dust from the Sahara
Someone I know in Northern Ireland is without power and I'm pretty sure they lost mobile coverage several hours ago
It wasn't bad here much at all, just quite windy.
 
@MagicOctopusUrn Do you have any intentions to fix this?
 
4:19 AM
Just wasted an hour helping someone who turned off break-on-exception in their IDE facepalm
 
What even is that? Like a debugger?
 
What is what?
 
Break on exception
 
Yes, the IDE is called Facepalm if that's what you meant.
Oh
I mean
If the program is crashing
You should
Tell the developer that that's happening.
 
 
2 hours later…
6:02 AM
@ASCII-only Hey! I fixed Funky's Tokenizer!
 
6:26 AM
Well I suppose I should finish writing Funky then.
 
I have decided I hate fire alarms at 7am. Especially when you've only fallen asleep at 6
 
false alarm?
 
A practice drill
 
6:41 AM
Received a mail about the Stack Overflow Salary Calculator
"You're receiving this email because you are opted in to Stack Overflow company, product and feature announcements."
I didn't opt in for anything
SE is a joke
 
6:55 AM
@HyperNeutrino The problem with the code is, the fish {{A,B,C,D,E,F},{AB,AC,BC,BD,CD,DE,DF,EF}} does not satisfy your condition of being valid. The cycle {B,C,D} doesn't have any vertex with degree <= 2 . But what is the isValid function used for in the first place?
For reference, the image is at oeis.org/A000080/a000080.jpg
 
7:27 AM
 
@ATaco :D yay
@user202729 For some reason that looks like a graphics calculator to me...
 
It doesn't. I even show the title "fx-570ES PLUS"
 
@user202729 :O how
 
About 300 keypresses.
 
7:40 AM
Also >_> that's like the most advanced scientific calculator I've seen
 
Which calculator are you using?
 
tbh I wouldn't be surprised that would be able do do something like that
 
@ASCII-only | is the mathematical symbol for "divides" rather than bitwise or in this context
 
like I mean who thought it was a good idea to let a scientific calculator do integration
@Neil Oh :| can't tell since this is PPCG (also TIL)
 
A French model? fx-92ES? (you mentioned [EXE] earlier)
@ASCII-only ^ ?
 
7:47 AM
@user202729 >_> I don't actually know what it uses, haven't used a scientific calculator in ages, I usually use a fx-82AU
 
That is a scientific calculator.
and I believe it is possible to complete Hello World on that calculator
 
:| I call hax
 
8:34 AM
Funky is making me angry.
Because it's impossible to do table indexing right now.
I do have one solution, but it's ugly and as such I hate it.
 
8:54 AM
@HyperNeutrino (A000080)
https://tio.run/##nVhLbxs3ED5bv2KcQyJFD9sp0INlu2gCFAjQXuqjsDWoXcriah8Cl7KtNupfd2f4WnK1gpP6kCzJmeHMN08qZ09sWm95lWeb11dRbmupIMfN2U6JYvarlGzfzAdHB7@LRvVsa3pzNmDLRkmWKhCV4nLFUg6f67rgrPpSl0tRcQn/DM481dKcQWoOh25d8JWa@FMpHtdqNB8cBoO0YE0DfzBRkZxGMSVSeKpFBluJVzoBi2SRQMmUFC8jIjxb1RLaQ5D1M1xHBBEFcDxFGnt0dr9vFC9n9U7NzDUcfoErpLlErXoJPsAHc3QY9BwX1VCf4iHa5Mxo1evAgTsRIGQAQTI5wnZlNEaMOLqImGYFrx7VGm5vDY9d0@2BNN7sCgW3UPFnf0nAncwdhKg8CCS8nON/N5bRyQQxHo/s3kIkSLaaOVNIGu5NjBb4pQGQXO1kZVnmfWhAVUdAeK/E/ip4yVE16zWxgqHdIn30HStWNDy4U8kd77@RFcX/ufD8x28kNJ85AdJ3YXuqAf8Rmw3beBzcbrbmJyLu82/3Pbkz0R
 
@ATaco +1 lol
 
9:27 AM
@HyperNeutrino Just tested running the alg with n=3, get 4 matrices in 51 seconds on TIO.
https://tio.run/##nVjdb9s2EH@O/wqmD6sdy0rSAnuInQxrhwEFVgxYsb0YakBLdExZH4ZIx/FW71/P7vglUpabdkGQiOTxePe7TzKnj3RSb1iVZ@vnZ15u6kaSHCbjreRF/HPT0L2YDo4WfuNC9kwrer02oAshG5pKwivJmiVNGXlX1wWj1fu6XPCKNeSfwZmjWug1kurFoR0XbCkjt9rwh5UcTQeHwSAtqBDkI@UV8hGSSp6Sx5pnZNPAkZbBPJknpKSy4U8jJDxb1g1pF0lT78hNQBBQEAarQGOWzj7thWRlXG9lrI9h5CdyDTRXIFUvwWvyWi8dBj3LRTVUq7AIOlk1WvE6cMBMAAgqgJBER9gutcSAEQMT4aa4YNWDXJHbW73HjPF0jxsT20KSW1KxnTvE251MLYQgPOFAeDWFfzOz0fIkfDwembk5T4BsGVtVkBvMRVoK@FIANExum8psmfahQao6AMJZJbRXwUoGohmr8SUZmimUR
 
 
2 hours later…
11:01 AM
0
A: Sandbox for Proposed Challenges

Kevin CruijssenOlympic Rings Sequence code-golfsequenceintegerarithmetic Challenge: Given an index integer n, either output the n'th item in this sequence, or output the sequence up until n: 25,25,7,28,29,20,21,22,23,14,35,26,7,28,29,20,16,29,12,15,28,21,14,17,30,13,16,29,12,15,28,21,10,6,12,18,15,11,7,13,1...

 
CMC (HNQ CS): Given x return (1 - 1/x)^x
 
@Adám Brachylog, 8 bytes: /₁-₁ṅ;?^
 
@Adám Jelly, 3 bytes: İC*
 
import math
print math.e
 
@Scrooble math.e is (1+1/x)^x (x->inf), not 1-.
This one is 1/e. For this Jelly have Øeİ (the same length?)
 
12:00 PM
@Adám 05AB1E, 5 bytes: $z-sm
 
1
Q: Where can the knight be in N moves?

AdámThis is Hole-3 from The Autumn Tournament of APL CodeGolf. I am the original author of the problem there, and thus allowed to re-post it here. Given: a number of turns and a simple 2-element list indicating (0 or 1 indexed – state which!) a starting position, or a list of two or more starti...

 
12:22 PM
0
Q: Invert a Quine!

GryphonWe all know what a quine is. An inverted quine is a non-empty program that prints the inverse of its source code without reading its source code, and consists solely of printable-ascii characters. The inverse of the source code of a program is all the printable-ascii characters, duplicated for ...

 
1:02 PM
@Adám R, 23 bytes: cat((1-1/(x=scan()))^x); it's even vectorized over x and (1/0)=Inf so naturally Inf^0=1.
 
1:15 PM
@NewMainPosts dupe
 
@Adám APL: ⊢*⍨1-÷
 
@Uriel Yup.
 
@Adám I was expecting the usual "I can do it in 5" :P
 
1:37 PM
@MetaEd Wait you're the person who keeps changing their profile picture like every 2 weeks right?
 
dim
There. I just awarded my last bounty to the Tetris answer. Next person can proceed...
 
Is there a way to suppress output in Jelly? ṛ“” ?
 
@HyperNeutrino Fraid so.
 
@HyperNeutrino In your recent answer why is the ¤ span to 1,-p`¤ and not -p`¤ , while - is literal -1?
 
Because 1,- is a literal. Lists of literals are literals :P
@MetaEd I see :P
 
1:45 PM
Yes. , is preferred to be list separator than dyad pair.
How does @ in chat work? Does @HyperNeutrino get my previous ping? Is it case-sensitive? Does it work when the user is not on site? (e.g., in this message )
 
It works as long as the user has been in the room recently enough (I think 2 weeks), and no it is not case sensitive @USER202729
Also yes, that ping worked; I must've missed it though. Whoops, sorry.
 
Indeed.
 
(missed as in I dismissed the notification by accident)
Also yes, you're right, I just realized that my isValid function is stupid. Whoops, thanks for pointing that out.
Also my isomorphism test is not working...
 
oh thanks
@user202729 Wait hold on is that a complete solution?
 
1:52 PM
If I coded correctly. You just need to print the number of instead of the matrices.
 
Hey cool! You should go post it here!
Nice :)
Final answer would be:
(show full text)
https://tio.run/##nVjdb9s2EH@2/wrmZbVjWUlaYA@x02HtMKDAigErthdDDWiJjinrwxDpON7q/evZHb9EynLTrihakzwe7373rZw@0mm9ZVWebZ6febmtG0ly2Ix3khfxz01DD2I2PDn4jQvZs63o9dmQLoVsaCoJryRrVjRl5F1dF4xW7@tyySvWkH@GA0e11Gck1Ycjuy7YSkbutOEPazmeDY/DYVpQIchHyivkIySVPCWPNc/ItoEnLYNFskhISWXDn8ZIOFjVDWkPSVPvyW1AEFAQBqdAY44Gnw5CsjKudzLWzzDyE7kBmmuQqpfgFXmlj47DnuOiGqlTOASdrBqteB04YCcABBVASKITbFdaYsCIgYnwUlyw6kGuyd2dvmPW@LrHjYldIckdqdjePeLdTmYWQhCecCC8nsF/c3PR8iR8MhmbvQVPgGwVW1WQG@xFWgr4pQBomNw1lbky60ODVHUAhLNKaK@ClQxEM1bjKzIyWyiPemNFC8G8N2WzY/0v0qL4Pw9efP@LiOaeISB9D7anCvDv0Vlfm0y
yay we have someone else who can save the challenge instead of me lol \o/
 

« first day (2454 days earlier)      last day (1512 days later) »