Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for General Sebast1an‭

Type On... Excerpt Status Date
Edit Post #283971 Initial revision over 2 years ago
Answer A: "Hello, {name}!"
[Java (JDK)], 134 123 118 bytes interface M{static void main(String[]a){System.out.print("Hello, "+new java.util.Scanner(System.in).nextLine()+"!");}} Try it online! Golfed 5 bytes thanks to @user's advice.
(more)
over 2 years ago
Edit Post #283969 Initial revision over 2 years ago
Answer A: "Hello, {name}!"
[Lua], 35 32 bytes print("Hello, "..io.read().."!") Try it online! Golfed 3 bytes thanks to @Moshi's advice.
(more)
over 2 years ago
Edit Post #283968 Initial revision over 2 years ago
Answer A: "Hello, {name}!"
[Python 3], 27 bytes print(f"Hello, {input()}!") Try it online!
(more)
over 2 years ago
Edit Post #283966 Initial revision over 2 years ago
Question "Hello, {name}!"
Background While we do have a "Hello, World!" challenge, we still don't have one regarding input. So let's do one! Challenge Create a program that takes an input (not as a function argument) then outputs `Hello, `, the variable and `!` altogether. Standard I/O only applies. Shortest submissi...
(more)
over 2 years ago
Suggested Edit Post #283176 Suggested edit:

(more)
helpful over 2 years ago
Edit Post #283838 Post edited:
over 2 years ago
Edit Post #283948 Post edited:
over 2 years ago
Edit Post #283948 Initial revision over 2 years ago
Article Define a mathematical expression in English [released]
Background Inspired by this challenge that is also a mathematical English translator. Challenge Write a program that translates a mathematical expression using English with the following specifications: - The expression can only take in numbers, letters from the English alphabet, the equa...
(more)
over 2 years ago
Edit Post #282785 Post edited:
Typo. lmao
over 2 years ago
Edit Post #283946 Initial revision over 2 years ago
Question Can we have [popularity-contest]s?
Just curious, but this might help other users, so I'm placing at Meta. A popularity-contest is a non-object winning criteria challenge that is based on having the highest scored answer of the challenge. Basically, you can do the specific tasks in any way, and make the program a little something to...
(more)
over 2 years ago
Suggested Edit Post #282785 Suggested edit:
Typo. lmao
(more)
helpful over 2 years ago
Edit Post #283917 Post edited:
over 2 years ago
Edit Post #283917 Initial revision over 2 years ago
Question Separate the tags away from the Sandbox or delete the [finalized] tag
> This is a feature-request post consisting of 2 actions for a reason... There's this thing that's been bugging me for a while in Code Golf CD. If you go to the tag page of the Challenges category, you'll be greeted with, of course, tags. But there's one tag that I didn't want to see a part of in ...
(more)
over 2 years ago
Edit Post #283838 Post edited:
over 2 years ago
Edit Post #283649 Post edited:
over 2 years ago
Edit Post #283858 Post edited:
over 2 years ago
Comment Post #283858 @#53588 Yeah, that's fine, but it shouldn't be either an underscore nor slash.
(more)
over 2 years ago
Comment Post #283865 I completely agree with @#53579 here. The word `and` might not even be used at all to save bytes in most answers.
(more)
over 2 years ago
Edit Post #283858 Initial revision over 2 years ago
Article Stairs? Stairs! Stairs. [released]
Challenge - Make a program that takes input of an integer that's $n > 1$ and print out a staircase using a specific character for stair basing (hashes (`#`) for demonstration; you can use spaces, but not tabs or other whitespace characters), slashes (`/`), and underscores (``). - The basis of the...
(more)
over 2 years ago
Comment Post #283838 @#53503 After some consideration, go on. Use such answers. In the sandbox, Shaggy decided it's best to clear off the banning of the converter stuff, so I went along with it. In other words, such answers are now allowed.
(more)
over 2 years ago
Edit Post #283649 Post edited:
over 2 years ago
Edit Post #283838 Initial revision over 2 years ago
Question Make my value binary
Challenge What do computers understand? That's right, binary. All files are turned into binary digits when you run them, but what if I suggest giving you an `int` then turn it into it's binary value. - Take input of a non-negative decimal integer and output its binary value/form. - Any precedi...
(more)
over 2 years ago
Edit Post #283799 Post edited:
over 2 years ago
Edit Post #283799 Post edited:
over 2 years ago
Comment Post #283799 @#53196 Spaces.
(more)
over 2 years ago
Comment Post #283799 @#53196 Good question.
(more)
over 2 years ago
Edit Post #283799 Post edited:
over 2 years ago
Edit Post #283799 Initial revision over 2 years ago
Article Abbreviate everything [released]
Challenge Make a program that takes input of a string and abbreviate it. - All letters of an abbreviation are capitalized, so keep that in mind. - Whitespace, numbers and non-English characters are ignored. - If the inputted string is a paragraph (2+ sentences), the abbreviation will be split...
(more)
over 2 years ago
Edit Post #283751 Post edited:
over 2 years ago
Edit Post #283620 Post edited:
over 2 years ago
Edit Post #283754 Post edited:
Be happy I made a TIO for this.
over 2 years ago
Edit Post #283777 Initial revision over 2 years ago
Question Tips in golfing using Lua
Lua's not really used much in golfing, so it'd be pretty cool to learn some golfing tricks when making answers using it. What golfing tips are there for Lua?
(more)
over 2 years ago
Comment Post #283775 @#53506 Sadge. lmao
(more)
over 2 years ago
Edit Post #283770 Initial revision over 2 years ago
Question Make $2 + 2 = 5$
In this challenge, add 2 integers, but if both the integers are `2`, output `5`. Shortest code in each language wins! Example ungolfed program in [Python 3.x] def add(x, y): &#9;if x == 2 and y == 2: &#9;&#9;return 5 &#9;else: &#9;&#9;return x + y Try it online!
(more)
over 2 years ago
Suggested Edit Post #283754 Suggested edit:
Be happy I made a TIO for this.
(more)
helpful over 2 years ago
Comment Post #283751 @#53588 They're optional, as long as it can get you to golf some bytes.
(more)
over 2 years ago
Edit Post #283620 Post edited:
over 2 years ago
Comment Post #283754 I think it'd be helpful if you added a TIO link to the runnable source code.
(more)
over 2 years ago