« first day (2230 days earlier)      last day (2604 days later) » 

6:00 AM
Hey has anyone played Human Resource Machine?
I need help optimising code:
-- HUMAN RESOURCE MACHINE PROGRAM --

    BUMPUP   9
a:
    INBOX
    COPYTO   0
    COPYFROM 9
    COPYTO   1
    COPYTO   2
    COPYTO   3
b:
    COPYFROM 0
    SUB      1
    JUMPN    c
    COPYFROM 1
    OUTBOX
    COPYFROM 1
    ADD      2
    COPYTO   3
    COPYFROM 2
    COPYTO   1
    COPYTO   2
    COPYFROM 3
    COPYTO   2
    JUMP     b
c:
    JUMP     a
This is the Fibonacci problem (Level 22)
 
@Cyoce I think it would be cool to see J-uby on TIO, but according to Dennis: "That's kinda quirky. I don't mind installing extra Ruby modules, but they would have to be packaged as actual modules."
 
@Pavel how would you suggest I fix that?
 
Ask Dennis in talk.tryitonline.net
I'm not sure what he means by "Actual module"
 
@Cyoce Is it still called J-uby? My name suggestion :(
 
@Cyoce I think part of the problem is that the file is called func.rb
Which makes it seem like a hack and not like an actual module.
 
6:07 AM
@Qwerp-Derp Is that an issue? I can change it or credit on the github page if you like.
 
@Cyoce Nah, it's fine, just exaggerating it a --lot-- bit
But I personally prefer Jubylee :P
Sorry for pinging a lot
 
@Dennis (indeterminate number of ^s indicating the above discussion)
 
@Qwerp-Derp strikethrough?
---
 
@Cyoce Thanks! It's not as apparent as the other ones :P
 
@ConorO'Brien Not sure. If I can figure out a concise way to implement it without interfering with existing Array operations (my goal is to augment Ruby, not alter it) (e.g. I still want [1,2,3] + [4,5,6] to equal [1,2,3,4,5,6], not [5,7,9]), then I will. I have yet to do so, however.
 
6:13 AM
I still need help with the HRM code
 
You could change what zip returns if passed a block, to act as a map
 
@Cyoce Try packaging it as a Gem?
 
@Pavel That might be tricky... my computer's new and I haven't gotten gems working on it yet...
 
BTW, why don't you include the require in the byte count of your J-uby solutions?
 
@Pavel Since I've altered Ruby, I don't see my submissions competing with Ruby. As it would be trivial to create an "interpreter" that implicitly requires J-uby, I don't include it. If that becomes an issue, I can create that "interpreter" (as I have suggested to Dennis in the talk.tryitonline.net room)
 
6:19 AM
True, but such an interpreter does not exists yet, and if you made one, it would post date the challenge, rendering your answer noncompeting. I don't agree with those rules, but they are the rules.
 
@Pavel Fair enough. As they're not the winning scores anyway, I think I'll opt to create the interpreter and mark the current answers as non-competing.
 
@Cyoce I second Qwerp-Derp's name idea, Jubylee.
@Downgoat I noticed that a horizontal scrollbar has appeared in the middle of Vihan.org: i.imgur.com/w4kEBiC.jpg. As you can see, it's grayed out and seems to serve no purpose at all, you might want to fix that.
It's up towards the top.
 
@Pavel It kind of comes with a religious connotation I'm not too keen on.
 
What religious connotation..?
 
Well, for example, if you google "Jubilee", it's all stuff about the bible.
 
6:26 AM
> A Jubilee is a particular anniversary of an event, usually denoting the 50th anniversary. Of biblical origins, the term is often now used to denote the celebrations associated with the reign of a monarch after a milestone number of years have passed.
 
I did not know that.
 
ruby is 22 now, so if you could just wait three more years, your name would be justyfied.
 
I'm off for a bit. We can continue this discussion in ~15 minutes.
 
o/
 
I always thought "jubilee" meant a happy day in general or something until I searched up the actual meaning
 
Or after a year of Juby, we can call the anniversary a "jubylee"
We can also call the lang Jubylant
 
Should I make my lang full with functions and stuff, or just a list of instructions like LOLCODE or something
 
Apparently, a "Ruby Jubilee" is a 40th anniversary.
@betseg Have you written a lot of languages?
 
That will take a while
 
@Pavel no
 
6:43 AM
Jubylant sounds like a pretty good name
 
Writing proper parsers is really hard. Just look at ches: github.com/cheddar-lang/Ches-v2
 
Does anyone else's text turn white while editing a message?
 
Yeah
It indicated that you are editing a message.
 
I mean in the box where you type (or edit) your message.
 
Yes
 
6:51 AM
If someone made a REPL for Assembly, would it be called ASMR?
 
???
 
It should definitely be called ASMR
 
why
 
Assembly REPL, ASM REPL, ASMR
IDK just for the lols
 
Oh that's really weird. One of my extensions was making the chat box a white background while editing, so it was white on white.
 
6:53 AM
Ah
 
> Assembly REPL
So, GDB?
 
@betseg That should definitely be renamed to ASMR, just for the lols
 
Autonomous sensory meridian REPL
3
 
7:13 AM
@Riker I had posted comments on other unsubstantiated answers on that site before, so no I didn't stalk :P
 
I just bought 4 laptops. I am selling 3 of them on ebay, along with a laptop with a broken USB controller (useful for servers! it has eSATA and two native SATA bays)
Would anyone here be interested?
Or is this spam?
 
Why would anyone star that message ಠ_ಠ
 
because it's vaguely entertaining
 
Y u downvote? D:<
 
7:28 AM
I found a solution to the halting problem but it won't fit in this textarea.
 
@Arjun well, thats obvious
those are actually two separate clauses, one with the yes or no, one with the other one. obviously the first clause just replies to a question, and the second just states what is meant
so obviously the second independent clause will mean the same thing each time
also why is there a DM minion?
 
Because that's obvious too!
 
8:47 AM
0
Q: What's my question record?

Matthew RohThere's a confusing factor in the 'Curious' badge. The "Positive question record". (total questions - negative questions - closed - deleted)/total questions is the formula of the question record. (negative, closed and deleted 'stack' with each other. that means if a question is negative and clos...

 
Can we have input in profiles?
 
@MatthewRoh huh?
 
How could the Game of life in @apsillers' profile, work?
btw is it normal to be inspired by this kind of stuff
 
@MatthewRoh Inspired: Maybe. Aroused: No!
 
Anonymous
@MatthewRoh Each square is a link. The website is configured so that GET requests change the server-side GoL state, which changes how the images display.
 
9:33 AM
Ohh. Makes sense.
 
Starts at row 420-ish
 
So similarly, would clicking a link to trigger a command to a chatbot be possible?
> bruceleefinalkungfu
Best name confirmed
 
Anonymous
@MatthewRoh Possibly, though I'm concerned what you would use that idea for
 
A game room, with links on the starred list to trigger games
 
Anonymous
Or you could just do it the old school way with chat commands
 
9:37 AM
whatever
 
@MatthewRoh I think we should delete our last comments from the question record challenge to not clutter the replies. I meant to contradict based on what the OP said, but I think you actually agreed with it.
 
Sure
 
Ok, done.
Now that challenge is way easier!
 
Done
Alternatively we could just start the discussion in chat but we somehow agreed not to :\
can we use iframes in profiles?
 
Anonymous
@MatthewRoh One way to find out
 
9:41 AM
If not, Is there a method of input other than clicking?
 
Anonymous
Though I'd expect not, since profile text is markdown
 
@MatthewRoh Consider me blind. Didn't realized you're the OP, hence the ping :))
 
Anonymous
Without the ability to use HTML input or JS scripting, I'm pretty sure hyperlinks are the only option
 
@seshoumara XD
Yep, doesn't work.
oh wait no, its img + a
 
heh funny how as soon as it's all made clear it's closed as unclear...
 
9:49 AM
Oh [Profanity]
 
Anonymous
@JonathanAllan I kept my close vote on because of a lack of test cases
 
I have cast a reopen
@Mego OK
 
Anonymous
3 test cases is not nearly enough to cover all of the possibilities
 
Anonymous
Well, 4 now
 
Yeah I see your point. Although now the spec is clear there is less need for them.
 
Anonymous
9:52 AM
There is always a need for test cases
 
:O I made a close button in my profile
 
Anonymous
Some test cases that would be useful:
4 cases with one question each, where the questions all have different statuses
More cases with mixed statuses
More cases with more-varied vote counts
 
Anonymous
Also, considering the fourth test case, what's the requirement for precision for the output? Is a fraction acceptable as output?
 
Anonymous
This is why we say to use the Sandbox
 
@Mego right
 
9:55 AM
Speaking of which I have two questions that have been in the Sandbox for weeks with 0 votes and 0 comments. Sandbox never does anything for me it seems.
 
@Mego 5 under floating point, fraction is acceptable
 
Anonymous
@MatthewRoh I don't know what the first part of that answer means
 
0
A: Sandbox for Proposed Challenges

Jonathan AllanBack-To-Front Permutation Index code-golfsequencepermutationssorting Sandbox Question: Is the sorting tag appropriate, even though the wiki says "intended to be solved by sorting, ordering, or otherwise organizing some set of data." For main... The Challenge Given the number of items, n...

 
5 digits under floating point
 
Anonymous
You mean 5 digits past the decimal point?
 
Anonymous
9:57 AM
So does that mean rounding or truncating?
 
Anonymous
Would the last test case be 0.77777 or 0.77778?
 
rounding
 
Anonymous
How is rounding done? Half-up? Half-to-nearest-even?
 
Half-up
 
Most questions do not specify what type of fractional output is or is not acceptable - the default would surely be "within native type", and "exact fractions acceptable", no?
 
Anonymous
9:58 AM
These sort of things are what the sandbox is for
 
Anonymous
You've posted 4 challenges so far. Of those 4, one is a dupe, and two are closed as unclear (currently). That's a pretty strong sign that you need to use the sandbox.
 
Yeah (but there were times I just post on main and its accepted by people, I think my brain isnt performing much as those days)
 
Anonymous
@JonathanAllan The standard that I use for my challenges that involve non-integer output is that inaccuracies due to floating-point imprecision are fine, but other inaccuracies aren't. In other words, the output must be at least as precise as the output from doing the calculation with single-precision floats. Exact fractions are always at least as precise as floats, and often are more precise.
 
Anonymous
But that's not a site-wide standard
 
I'm writing a language that compiles to LLVM and can't seem to get the optimizer to do anything.
I have some IR that makes a bunch of pointless loads and stores, but they are still there after going through opt.
Maybe I have to add more flags besides -O2 or whatever for it do something.
 
10:29 AM
Rounding half-up would turn a simple dc script into a very complicated one for nothing: dc -e"5k7 9/p" gives .77777! I'm sure dc isn't the only language doing that.
@Mego I agree with you regarding allowing inaccuracies due to floating-point imprecision
 
10:51 AM
0
A: Sandbox for Proposed Challenges

James WebsterChemistry 101 Question Given the atomic number of an element in the range [1-118] print out the group and period, separated by a single space, of that element as given by the following Periodic Table Of Elements. For elements in the Lanthanide and Actinide series, (ranges [58-71] and [90-103])...

0
A: Sandbox for Proposed Challenges

James WebsterChemistry 102 Question Given the atomic number of an element in the range [1-118] print out the chemical symbol, honouring capitalization, of that element as given by the following Periodic Table Of Elements. [Source] Test Cases | Input | Output | | 1 | H | | 33 | As | | ...

 
11:17 AM
How many reopen votes are needed to remove the "on hold" status?
 
What other edits are necessary for codegolf.stackexchange.com/questions/112282/… to be reopened?
it currently has 3 votes
 
then waiting might suffice
 
more examples might help, as that was Mego's reason for leaving close vote on.
 
12:10 PM
We can turn off CVs?
cancel*
 
Turn of, no; Retract, yes.
 
Nice
btw its reopened! (yay!)
 
12:30 PM
@MatthewRoh probably still worth adding some more test cases though :)
 
12:55 PM
@muddyfish The Pyke interpreter is down.
 
1:14 PM
Hello
 
I only need to fit 3 more instructions in my ><> program, soo close!
 
1:48 PM
1 ~ to go
 
Stack Overflow is such a joke
"How do I do this? Note that I don't care whether the structure is good or bad, I can't change it" => "You should change your structure"
From a 500k rep user
 
It doesn't benefit the asker, but it does benefit other readers
 
@DJMcMayhem would you mind linking me to examples?
 
Damn, I hope with the bounty on the unknown turing completeness question no-one will run off with the idea I'm developing
 
including which other site they were a part of before coming here
 
2:02 PM
can a mod see a deleted comment?
 
i've seen people complain about trivial answers getting too many votes, although it seems their reasoning is largely based on the idea that winning (e.g. choosing the golfiest language for the task for the sole purpose of getting the lowest score out of all languages) and getting high vote counts are interesting goals, which is a bit strange to me
 
1
Q: Cops: Crack the regex - Make a snake

Stewie GriffinThis is the cop's thread. The robber's thread is here. Write a code that takes an input n and creates a n-by-n "snake matrix". A snake matrix is a matrix that follows this pattern: 3-by-3: 1 2 3 6 5 4 7 8 9 and 4-by-4: 1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13 The exact outpu...

1
Q: Robbers: Crack the regex - Make a snake

Stewie GriffinThis is the robber's thread. The cop's thread is here. A snake matrix is a square matrix that follows this pattern: 3-by-3: 1 2 3 6 5 4 7 8 9 and 4-by-4: 1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13 Your task is to write a code that takes an input n and creates such a matrix, in ...

 
@MitchSchwartz I'm not entirely sure what you're trying to say, but I'm one of the users that complain.
 
i'm responding to DJMcMayhem's "I have noticed a common pattern of people coming to PPCG from other golfing sites and quickly getting frustrated and/or leaving because it seems like the points have nothing to do with golfing ability." and asking for examples
 
Getting high vote counts isn't an interesting goal by itself... Getting recognition from time to time other users for posting something clever or something I've worked a lot on is something I do appreciate...
 
2:07 PM
ais523 made such remarks, for example
That's a recent notable example
 
@MitchSchwartz Ok, i thought it was just a random comment :P I didn't see a "This is a reply to..."
 
i hope i don't misrepresent ais523 here, but from what i can tell he's almost the exact opposite from me: ais523 is very motivated by playing the reputation game, whereas i find the reputation game offputting at best, and disgusting at worst
 
Is there a better way than 84* for pushing a space in ><>?
 
@Fatalize ah kk
@WheatWizard haha no wonder showcase won
 
-3
Q: C# code doesnt work

Mehmet(google translate) Dear Friends.İ am new.İ have a C# code.But doesnt work. Error: processed killed. Code is correct for online C# rextester.com.Please Calculate this code on your computer.İ can not. http://rextester.com/RQD97824

 
2:18 PM
@NewMainPosts So many İs
 
i don't even think that votes really should be any sort of deep reflection of the quality of the post, because i think people simply don't have enough time to read a lot of answers thoroughly unless they are very simple answers
 
@MitchSchwartz Speaking for only myself, but I'm not too hung up on the points number next to my name. I have a lot (currently 50th overall), and I have plenty to do what I want to do on the site (vote, edit, delete, bounty, etc.). So, that's not the problem. The problem I have is that votes are an easy (and highly visible) way to account for recognition among my peers here. If I write something, and it doesn't get votes, it translates as "my peers did not like this."
 
we have limited lifespans, for the moment at least
 
(part 2) That's frustrating when I spend a significant amount of effort on golfing something. It's more frustrating when something trivial happens and that gets a lot of recognition.
 
speaking in a somewhat extreme way, i think people could get a deeper appreciation of answers by (and i don't suggest that people should do this, as it takes too long, which is my point) looking at the score and language and seeing if they can match or beat the score without looking at the code; and then read the code thoroughly such that they basically understand every part of it, and could e.g. write the code on their own if they stopped looking at the answer and just went off memory
 
2:24 PM
Why do I get inspirations for questions from weird things like bubble-wraps?
 
i think that regardless of how stingy people are with their votes, we still have the situation that writing a post takes effort, and casting a (up)vote is effortless
you can accidentally vote for something if you are trying to scroll the screen on mobile or something and hit the screen wrong
you can't accidentally write a complicated solution with explanation by hitting the screen wrong
 
@MitchSchwartz For the most part, I do this (or something similar). Since there aren't many PowerShell golfers around, however, I tend to compare/contrast against Python and JavaScript, as those tend to be roughly the same code length for a given challenge. I don't think I could write the Python or JavaScript, though.
@MitchSchwartz A million monkeys ... ;-)
 
2:55 PM
23
Q: How do I show my wounds to Robbie?

JutschgeI have a quest that says I can get some more upgrades from Robbie. Now I went to the location and found him, however he wants me to show him my wounds I've gotten 100 years ago. What exactly does he mean? How do I show him my wounds? There is a Guardian near the laboratory and I thought it migh...

the answer to this is hilarious
made by an unregistered user named 'Swagmaster420boiiii'
 
user165474
Probably one of the shortest upvoted and accepted answers (not counting code-golf solutions...)
 
lol
 
3:31 PM
 
3:57 PM
@MitchSchwartz True, my attention span is unfortunatly quite short, so I don't get to appreciate great answers sometimes
 
4:08 PM
btw I can't develop processtack that frequently; Would developing in the weekends be fine?
 
Sure
I'm also busy
Yet I find time for SE
 
Also, we don't have a method of proper 'input' than mouseX, clicked, etc and assuming its in stack, if we use processing
 
1
Q: Output the decimal time

Suhrid MulayFor some part of history people in France used a decimal clock. with the clock having 10 hour day, 100 minutes an hour and 100 seconds per minute. Though this clock simplified calculations a bit the idea wasn't appreciated by most of the world which used our current 24 hour, 60 minute hour, and 6...

 
btw I found out how to easily solve the P vs NP problem
define that P => NP
 
I can't believe that nobody likes my answer to write a turing complete lang that cannot be proved
 
4:16 PM
what is it @ChristopherPeart
 
That 'Newline' thing? I think people just didn't see it..
 
@cookie codegolf.stackexchange.com/questions/111092/… this... :P idk what to do I have done my best
people don't find it interesting I guess idk how to make it look cooler
 
You have done a horrible typo
 
'incrament'
 
4:18 PM
OH CRAP
 
lol
 
[insertlennyfaceherelmao]
 
I fixed it
 
@ChristopherPeart I'm still not understanding how the Legendre conjecture plays into your code. You state Every operator must fall on a number in the Legendre conjuncture but that doesn't make sense.
 
4:21 PM
Hmm trying to edit to have a better way of saying
that
 
@ChristopherPeart You essentially took a language and forced the operators to fall on numbers that belonged to a potentially infinite set. This was discussed in the comments which got moved to a room.
 
@LliwTelracs yes
But the word potentially is the key
 
@AdmBorkBork If you take le legendre conjecture and plug in 2 for n. the next prime number between n squared and n+1 squared is the amount of newlines in total that must be before the next operator
 
So here is some discussion about the gimmick that you used for your language
 
4:26 PM
Why does noone even dare to use P=NP as their problem for the language?
 
Because it isn't viable
 
I was going to but idk how it would work
A the beginning have a Boolean saying PequalNP and if it is set to false the code bugs out
 
'A the beginning' XD
btw I know how to solve P=NP
define P=NP.
That means say 'P equals NP' and keep it that way for thousands of years
 
@MatthewRoh I considered using some unsolved problems from a field other than math. The issue is that a large number of the unsolved problems are not possible to program for unless you feel like writing up a research paper on the topic.
 
4:39 PM
@MatthewRoh That's not proving P = NP, that's redefining P to mean NP. They are not the same. The problem has nothing to do with whether or not the symbols are equivalent, but rather what they represent.
 
It's not proved, but it's solved :P
 
I am now on my new laptop :)
It has a processor that's only 95% as fast as the old one
 
@MatthewRoh If P = NP, P/P = NP/P, so N = 1 ;P /s
 
 
@Riker hey, where did you find my photo?
 
4:52 PM
imgur
@JanDvorak is that actually your photo
 
from back when I only had 11 eyes, yes
 
@ChristopherPeart Ahhhh. That makes more sense. So, you're only able to continue adding operators to the code iff there is a "next prime number" in that Legendre range.
 
@AdmBorkBork yes
 
@MatthewRoh vanilla processing can take input via command line args
 
5:00 PM
So, the only problem then is that you hope there's not a way to do something like a BrainFuck interpreter in the first couple hundred "Legendre primes". Because if you can write an interpreter before you hit 4*10^18, then it doesn't matter whether Legendre holds true.
 
5:15 PM
@Riker ....
 
i mean it's 5/7 isn't it
 
@AdmBorkBork This explanation from Conor O'Brien should help explain why it isn't necessarily Turing complete
 
That sounds like plenty of space
 
@ChristopherPeart just fyi it's conjecture, not conjuncture
 
5:34 PM
@EriktheOutgolfer it's been down for the past 2 weeks. I need to find another free hosting solution
 
gh-pages?
 
@muddyfish Try my DO promo code?
sign up from that link, it gives a free $10
 
@CheckOutTomato I've already been using it so I can't use another one
 
@KritixiLithos it requires executable serverside python?
 
5:37 PM
 
ah, I see
 
why si this happening
 
@CheckOutTomato That happened to me once. Refresh your page
Feb 21 at 16:41, by Kritixi Lithos
Who hacked TNB?
 
@Adnan Does 05AB1E have a continue command that can be used in loops?
 
5:49 PM
ok wokrs now
 
What part was not working? the 7 hours ago bit?
 
yeah
also, the x seconds later
 
Oh yeah
huh
 
@CheckOutTomato happened to me once, I've always seen it where it's been <number> minutes later, but chat says hours later
not sure why though, yeah it's weird
 
I can't search for anything on reddit, but the site works otherwise. Can anyone repro?
 
has been reproed
wait, no, it's just really really slow
 
meta SE just became https
 
yes
 
@Riker Huh, I always get an error. For non-trivial terms that is.
 
5:58 PM
hm
 
@muddyfish Yeah, I just noticed because I wanted to golf in Pyke.
 
@EriktheOutgolfer is completely shocked
 
I have in the past, too.
 
Well you can download it locally if you want and launch web.py to get the niceish docs or can use TIO
 

« first day (2230 days earlier)      last day (2604 days later) »