tkr-sh / weekgolf Goto Github PK
View Code? Open in Web Editor NEWThe official repository behind WeekGolf
Home Page: https://www.weekgolf.net
License: GNU General Public License v3.0
The official repository behind WeekGolf
Home Page: https://www.weekgolf.net
License: GNU General Public License v3.0
In the WeekGolf translate page, under the table that compares several languages on the availability of several features supported/unsupported, I see that Python has a red box (indicating false) for reading a single character from STDIN, next to reading all of STDIN given by open(0).read()
in the row for Python.
However, as open(0).read() is considered for reading all of STDIN, then I would state that reading a single character from STDIN is possible in Python as well by just passing '1' as an argument to the same .read()
method as shown in the column before it. It can be corrected here in Client/src/data/translation.json source. A few ways in which this can be shown is:
sys.stdin.read(1)
open(sys.stdin.fileno()).read(1)
open(0).read(1)
The third one makes more sense to get fit in that table as it is purely a one-liner and would not need any dependencies to be imported separately for it to work (as import sys
would be additionally needed in case of first 2 options)
Please see if this needs correction there.
Side Note: @Aderepas You have defeated me in Code Golf on my last clash at Clash of Code, which got my attention on your CoC profile which pointed to your WeekGolf site in description, checking which lead me to file this issue here. ๐
Currently, BQN expects its input from command line arguments. However, using cat ...
sends it through the shell's parser which tokenizes it using whitespace. Therefore all whitespace characters from input are lost.
Many Unicode characters are 3 bytes.
This project is lacking a LICENSE file.
Could you clarify how it's licensed and add one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.