« first day (2021 days earlier)      last day (2814 days later) » 

8:07 AM
So like can I answer in x86? Is that not considered a programming language.
I think its pretty cool.
 
x86 can add two numbers and process primes, so it's allowed
 
x86 is certainly acceptable
 
I was thinking of making a Langton's ant derivative, except I wouldn't be able to program in it at all
 
LA is already TC
 
@TùxCräftîñg (my brain would hurt too much, and LA has no io)
 
8:10 AM
Nice! thanks.
 
like most CAs, the 'IO' of LA is the initial state (too many abbreviations in this phrase)
 
@TùxCräftîñg but that's also the program of LA
and also my brain would asplode if I did that
 
hardcoding values is allowed if the language dont have input
 
My head would asplode, @tux
I was thinking of making a wimpmode of LA
but I don't know
 
otherwise there is also turmites
 
8:16 AM
Can I assume inputs?
 
basically programmable LA
@tatatat0 ?
 
Like if the input is "setlherjkthsltjsehjlthseljt" could I assume that is at an address?
 
@tatatat0 you can assume input is proper according to the challenge
 
where is the prime number challenge?
i want to answer it in 6502
 
I will find it
111
Q: Is this number a prime?

DennisBelieve it or not, we do not yet have a code golf challenge for a simple primality test. While it may not be the most interesting challenge, particularly for "usual" languages, it can be nontrivial in many languages. Rosetta code features lists by language of idiomatic approaches to primality te...

 
8:18 AM
kthx
 
Also, if the challenge asks for an output can I assume an address is the output?
 
@tatatat0 I think it would be best if you just looked at this question, for answers like this
7
A: Default for Code Golf: Input/Output methods

LynnAssembly programs may write output to some specified memory location If there are no I/O devices available, an answer might consist of a subroutine that writes its output values to some specified memory location (e.g. write a machine word to $0000).

 
Thanks
 
@DestructibleWatermelon That's no good since x86 has real functions.
You should use a standard calling convention like cdecl or stdcall.
 
__fastcall
generally cheaper in bytes
 
8:34 AM
so... quiet
 
Its like 3:30 am here. Thats probably why.
I hate it when a stack exchange site tells you go to another stack exchange site and the other site to tell you to go back to the original site. smh
 
what are you referring to?
 
puzzling.se sending me to math.se because I asked a math puzzle.
:/
math.se then sending me to puzzling.se because they don't do puzzles
 
well, that's entirely wrong because they actually do maths puzzles
I'VE SEEN IT
 
they didn't do mine. :(
 
8:40 AM
^^ & ^^^
 
@tatatat0 JERKS
 
Yeah, I just wanted to know how many atoms of oxygen did the chicken use to cross the road.
 
lol
 
How is this on-topic on any site?
 
8:44 AM
it involves math, and its pretty hard.
and chickens?
I had a more fleshed out question
 
I take back my comment on their decision being incorrect
 
halp my modulus algorithm is borked
def mod(a, b):
    _a = 0
    while _a < a:
        _a += b
    return _a - a
 
I will help!
so, what is it exactly supposed to do?
 
8:47 AM
it does b%a
 
def mod(a, b):
    _a = 0
    while _a < a:
        _a += b
    return _a - a
print(mod(3,4)==4%3)
does True
 
Can't you use bitwise operations to make it a little easier?
 
yes i can
$ python /d/modulus.py
109 23 86 17
nope dont work
 
Cool, I'll just jet before I suggest how. I'm tired. Have a nice day!
srry
 
8:49 AM
(the format is a b mod(b a) a % b)
 
yep, doesn't work
what you were trying to do wasn't going to work anyway
so, why aren't you just using %?
 
i am trying to pseudocode wilson theorem for a 6502 CPU
 
It doesn't work if b>2*a
 
you'd have to use floored division to make this function work without changing it wholly
I think
 
8:55 AM
$ python /d/modulus.py
2 % 1 = 1 | 0
3 % 1 = 2 | 0
3 % 2 = 1 | 1
4 % 1 = 3 | 0
4 % 2 = 2 | 0
4 % 3 = 1 | 1
5 % 1 = 4 | 0
5 % 2 = 3 | 1
5 % 3 = 2 | 2
5 % 4 = 1 | 1
6 % 1 = 5 | 0
6 % 2 = 4 | 0
6 % 3 = 3 | 0
6 % 4 = 2 | 2
6 % 5 = 1 | 1
7 % 1 = 6 | 0
7 % 2 = 5 | 1
7 % 3 = 4 | 1
7 % 4 = 3 | 3
7 % 5 = 2 | 2
7 % 6 = 1 | 1
8 % 1 = 7 | 0
8 % 2 = 6 | 0
8 % 3 = 5 | 2
8 % 4 = 4 | 0
8 % 5 = 3 | 3
8 % 6 = 2 | 2
8 % 7 = 1 | 1
9 % 1 = 8 | 0
9 % 2 = 7 | 1
9 % 3 = 6 | 0
9 % 4 = 5 | 1
9 % 5 = 4 | 4
9 % 6 = 3 | 3
9 % 7 = 2 | 2
nope, the function is entirely borked (left my algorithm, right a % b)
 
I think it's actually b>=2*a
it works otherwise, actually
it works iff b<2*a
anyway, I'm going to post pictures of my crappy physics simulator muhAHAHAHAHA
 
ööö
 
@TùxCräftîñg it's b - a + _a, I think
 
@ASCII-only nope :/
 
9:00 AM
a is overshot from _a
so change < to <=, and use a - _a + b, I think
 
I think the only real way to do it, with no division, is this
 
omg it works \o/
 
test 2 % 1
 
0
$ python /d/modulus.py
2 % 1 = 0 | 0
3 % 1 = 0 | 0
3 % 2 = 1 | 1
4 % 1 = 0 | 0
4 % 2 = 0 | 0
4 % 3 = 1 | 1
5 % 1 = 0 | 0
5 % 2 = 1 | 1
5 % 3 = 2 | 2
5 % 4 = 1 | 1
6 % 1 = 0 | 0
6 % 2 = 0 | 0
6 % 3 = 0 | 0
6 % 4 = 2 | 2
6 % 5 = 1 | 1
7 % 1 = 0 | 0
7 % 2 = 1 | 1
7 % 3 = 1 | 1
7 % 4 = 3 | 3
7 % 5 = 2 | 2
7 % 6 = 1 | 1
8 % 1 = 0 | 0
8 % 2 = 0 | 0
8 % 3 = 2 | 2
8 % 4 = 0 | 0
8 % 5 = 3 | 3
8 % 6 = 2 | 2
8 % 7 = 1 | 1
9 % 1 = 0 | 0
9 % 2 = 1 | 1
9 % 3 = 0 | 0
9 % 4 = 1 | 1
9 % 5 = 4 | 4
9 % 6 = 3 | 3
9 % 7 = 2 | 2
the testcases works \o/
 
@TimmyD but aren't seagate drives really unreliable
 
9:02 AM
now i am ready to implement it in 6502
 
oh, you figured it out actually!
 
@ASCII-only thx
oh wait
since (n-1)!² can generate big numbers (> 255) for little n i think wilson theorem will not work
:(
 
crappy physics simulator
as in not finished yet
 
0
A: Print/Output the L-phabet

HiggsBotNeoscript, 62 bytes (non-competing) a='A:[]:'Zeach n=0:[]:25console:log(a[n]*n+a:slice(n):fuse());

even by beating cheddar i dont get upvotes ;_;
 
everyone knows you get upvotes by posting a link and an underscore between semicolons
 
9:11 AM
@TùxCräftîñg wilson's theorem looks more inefficient than trial division
because you have to multiply by every number between 1 and n
 
( ͡° ͜ʖ ͡°)
 
@TùxCräftîñg Higgsbot is borked
 
why did you post borked link?
 
9:16 AM
@DestructibleWatermelon ?
 
y u know, we are not on your localhost
 
is borked
you make me sad
 
@HiggsBot whoops, fixed
 
semicolon underscore semicolon
 
chrome send the ping sound 2 times ಠ_ಠ
 
9:17 AM
note: don't browserception because it breaks things somehow
 
why is borked
 
@DestructibleWatermelon ?
 
brb trying to browserception
 
it is just blank screen
 
@DestructibleWatermelon right click -> badly drawn globe
:O it works on non-localhost but not on localhost, why ;_;
 
9:19 AM
 
browser in browser is borked
 
wat
whoops, my bad
should be fixed now
 
i have a GM script at ~/AppData/Roaming/Mozilla/Firefox/Profiles/pvy0joh7.default/gm_scripts/HiggsBot‌​/higgsbot.user.js but when i try to install it in TM in chrome chrome want to download the script
but with a script on internet TM correctly install it
why?
 
is still borked
btw
 
9:23 AM
@TùxCräftîñg because TM can't access files
@DestructibleWatermelon how
 
@ASCII-only wat
but GM work
 
@TùxCräftîñg it can't access file:// (i.e. filesystem)
 
¯\_(ツ)_/¯
 
@ASCII-only this dont make sense
brb searching the scripts folder
 
well, it can access its own folder
but definitely not firefox's GM folder
 
9:24 AM
wtf am i even doing right noew
halp me
I am boorjkedc
borked
 
do not know
 
Hey @Dennis I've updated interpreter.py
 
shit i have deleted the userscript
#genius
 
yeah i think browser in browser should be fixed
 
9:28 AM
@TùxCräftîñg HiggsBot have 21 rep! \o/
 
found the script it's in the trashcan
now how do i install it in TM ;_;
 
copy paste
 
but where is the installation folder of scripts?
the builtin editor is bad
 
@TùxCräftîñg but it's good :(
 
i only use vim
 
9:31 AM
you can save to disk (first button)
 
9:47 AM
@ASCII-only Figured it out.
 
so you just ended up using a reverse proxy?
 
@ASCII-only Yup.
It's overall better anyway, since there's no HTTP Auth credentials disclosure.
 
wait, why do you even need credentials though?
 
@ASCII-only Because Server B is protected by HTTP authentication.
That's the whole reason for the question lol
 
oh whoops
 
9:52 AM
wooow
 
higgsbot work \o/
 
@VTCAKAVSMoACE why is it authenticated if you need a client to access files from it though? is it just that one specific file accessed from one specific server?
 
@TùxCräftîñg +1
 
My phone's headphones has a jack
But my computer wants 2 jacks
Halp can i haz it
 
10:07 AM
y u need a adapter
 
I want to make an esolang but I can't make an esolang so I don't want to
eughhhh
In psychology, cognitive dissonance is the mental stress or discomfort experienced by an individual who holds two or more contradictory beliefs, ideas, or values at the same time; performs an action that is contradictory to one or more beliefs, ideas, or values; or is confronted by new information that conflicts with existing beliefs, ideas, or values. Leon Festinger's theory of cognitive dissonance focuses on how humans strive for internal consistency. An individual who experiences inconsistency (dissonance) tends to become psychologically uncomfortable, and is motivated to try to reduce this...
I want to do something but don't want to do something
eughhhhhhh
 
halp mindfuck detected
 
@ASCII-only Because the files hosted on Server B are not supposed to be publicly accessible. Server A has its own authentication through non-simple authentication.
 
@TùxCräftîñg watisit
 
10:14 AM
3 mins ago, by Destructible Watermelon
I want to do something but don't want to do something
@anybodywhoknowhowtmwork where is the scripts stored?
 
lꝏk ok
 
@DestructibleWatermelon Build a simple interpreter.
 
but that would require thinking a good idea I can interpret
not sure I feel like doing eseljik right now
When I started reading the wikipedia article about cognitive dissonance I experienced cognitive dissonance. Really
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 
plz halp
where TM store scripts
 
10:19 AM
Wat is tm
 
tampermonkey
 
a useful thing to execute userscripts
it's greasemokey on FF
 
I WANT TO LEAVE BUT I DON'T WANT TO LEAVE!!!
AAAAAAAAAAAA
 
@TùxCräftîñg idk, try grepping for it
 
10:21 AM
@LeakyNun I think @El'endiaStarman summed it up pretty well. My point was that with some people saying there are too many alphabet challenges, the huge number of answers to that challenge shows a lot of people appreciate it. Incidentally, a lot of the answers are also detailed, with good explanations, which is further support for the challenge being useful.
 
@trichoplax I see, thanks
Which means...
more alphabet challenges \o/
 
( ͡° ͜ʖ ͡°)
 
Wth kind of error is undefined?
 
@βετѧΛєҫαγ Send that to Error'd!
 
10:23 AM
error got an error...
 
@LeakyNun I would call it sarcasm, yes. Sarcasm always involves a reversal/irony, but it doesn't need to be negative. It just always carries the risk that someone will think it is negative if they don't realise it is sarcasm.
 
@trichoplax I see
 
you know code is bad when your error throws errors
 
@LeakyNun As long as they are good challenges and not duplicates I don't care about the theme :)
 
10:24 AM
wat
i dont have sqlite ಠ_ಠ
 
@DestructibleWatermelon In some Mathematica stack-overflow errors, it errors attempting to display the error boxes
It continues until General::off stops repeated errors
 
@ΛεγίωνΜάμμαλϠΨΠʹ mathematica is weird.
definitively
 
Jul 27 at 17:45, by LegionMammal978
Mathematica 10.1.0 for Linux x86 (64-bit)
Copyright 1988-2015 Wolfram Research, Inc.

In[1]:= Mathematica is weird

Out[1]= is Mathematica weird
 
10:37 AM
only just realised that stack cats is a palindrome :(
 
that's the joke
 
0
Q: Fun with strings and string lengths

AdámIntroduction Inspired by Dyalog Ltd.'s 2016 student competition. The challenge there is to write good APL code, but this is a code-golf and it is open to all languages. Derived from this closed challenge. The real challenge here is to combine the various (quite trivial) parts of the problem in ...

 
I really like this intuition, as it explains a lot e.g. the invariance under row transformation etc.
 
@Quill I'm disappointed it took me that long
 
10:56 AM
also why does python not have any any-base int to str function when it has str to int any-base?
 
11:22 AM
Because python's stupid that's why
Guys, what does "over" in "a thousand times over" mean?
 

Sandbox

Where you can play with chat features (except flagging) and ch...
if you want to bork higgsbot
brb
 
Your edit should not be an edit but a separate question. — Peter Taylor 4 hours ago
I agree with this comment, so I thought I'd show it to a wider audience in case anyone else wants to vote on it
 
-1
Q: List of possible birth years of living humans

Christiaan WesterbeekThe Challange Output a list of years that starts with the current year and ends 120 years ago. Every living human has an age in years that is a number in this list. Details The list should be in descending order. Every built-in functions to manipulate arrays is allowed. Shortest code in byte...

 
@trichoplax Can you help me?
 
I can try - what's up?
 
@flawr For me, there was a little flash of insight as to why matrices with zero determinant are not invertible: a transformation that squishes everything down to zero can't be reversed to the original state without already knowing the original state.
@ΛεγίωνΜάμμαλϠΨΠʹ Yay, more opportunities for "Why does Mathematica have that built-in?!". :P
 
@trichoplax See above
 
@LeakyNun It's somewhat like "again" or "repeatedly".
 
@El'endiaStarman Determinant is zero =/= squish everything down to zero
@El'endiaStarman any more example?
 
@LeakyNun *Squish all areas down to zero.
 
11:37 AM
@LeakyNun Is that a pun on "what's up"? Or am I missing something obvious? I'm a bit slow today...
Oh - a thousand times over. What @El'endiaStarman said
It's used for emphasis, and doesn't really add any meaning.
For example:
"I've told you a thousand times, don't exaggerate."
"I've told you a thousand times over, don't exaggerate."
 
@LeakyNun "You want me to try again? But I've tried it a thousand times over! It's not working!"
 
well...
@El'endiaStarman I mean another example of "over"
or must it follow number + times?
 
I've tried over and over without success
 
thanks
 
I've never thought about it, but now that I do it sounds weird
 
11:40 AM
@LeakyNun Well, it can also go with once and twice. "I've rebooted my computer twice over now."
Personally though, I almost never use "over" in that way (except the over and over phrase).
 
Although once over means something completely different
"I'll give the bike a once over and see if I can work out what's broken"
 
^ "once over" there is pretty synonymous with "look over".
 
look over == once over ??
 
@LeakyNun ¯\_(ツ)_/¯ English.
Seriously though, English can be pretty patchwork-y.
 
11:48 AM
Wow, this picture is epic. If they're fighting against the dragon, epic. If they're fighting with the dragon, also epic!
@ConorO'Brien, is this ^ how you imagine yourself when you grow up?
 
PPCG need a reson to reject a edit 'dont golf in edits'
 
@DestructibleWatermelon Fun fact: Martin came up with the language idea mostly because of the name, which is why everything's a palindrome and why even length programs are always cat (unless there's an infinite loop in the middle)
Oh and er... stacks.
 
555 new functions in Mathematica stdlib
 
12:11 PM
do you guys like paraprosdokians?
 
@orlp What is paraprosdokians?
 
A paraprosdokian (/pærəprɒsˈdoʊkiən/) is a figure of speech in which the latter part of a sentence, phrase, or larger discourse is surprising or unexpected in a way that causes the reader or listener to reframe or reinterpret the first part. It is frequently used for humorous or dramatic effect, sometimes producing an anticlimax. For this reason, it is extremely popular among comedians and satirists. Some paraprosdokians not only change the meaning of an early phrase, but they also play on the double meaning of a particular word, creating a form of syllepsis. == Etymology == "Paraprosdokian" comes...
 
@El'endiaStarman I've done that with frozen drinks. It's amazing how quickly it spreads :)
Never occurred to me it could happen in a metal!
 
@ASCII-only Seagate had some definite hardware issues with their 3TB drives, but aside from that outlier they're pretty in line with industry average.
 
12:43 PM
3
Q: Fix my IP address's missing periods

apsillersSometimes when I'm typing out an IPv4 address, I get all the numbers right, but I forget to type one or more periods. I'd like to have a program (or function) that takes my broken IP address and outputs all possible valid placements of the missing periods. Input The input will be a string that ...

 
1600 is more money
 
My hobby: spreading convincing misinformation
 
Mixed Content: The page at 'https://chat.stackexchange.com/rooms/1/sandbox' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:8877/?_=1470919725764'. This request has been blocked; the content must be served over HTTPS.
wut
 
@trichoplax What's the inflation/interest rate?
 
12:50 PM
@Sp3000 I guess if it's extreme you could make more money from less money up front, but that's not the mistake that caught my attention
 
@Downgoat Does Cheddar have the binary operators?
Because you could overload the bitwise operators for mixing regexes rather than addition and it would be clearer:
/test/ | /regex/ = /(test|regex)/
/test/ & /regex/ = /testregex/
 
this is named 'bitwise operators'
 
@TùxCräftîñg binary, bitwise, close enough. :P
 
-2
Q: cat command.com > /dev/x86

Millennium BugFor this golf, you have to create a Linux device in /dev that will execute raw x86 instructions written to it. Raw x86 machine code will be inputted; And it will be processed like a COM file. The test program is int main(int argc, char **argv) {` char x = 0x3F; char y = 0x25; short i...

 
a binary operator is a operator taking 2 arguments
 
12:54 PM
@TùxCräftîñg Yeah, I mispoke.
;)
 
@NewMainPosts wtf
 
@TùxCräftîñg Yeah, VoteToClose much
 
@Sp3000 The question was asked in a book about not making assumptions and thinking carefully, so when I got a different answer from them I assumed I must have missed something. But having given it some thought I'm fairly sure they have a mistake in their table.
 
Ah crap I hit the wrong reason
 
@VTCAKAVSMoACE Craps, you can't change your vote o_o
Nor retract it...
 
12:57 PM
@zyabin101 I know :c
oh well everyone agrees anyway lol
 
@trichoplax Out of curiosity, what was their answer?
 
@zyabin101 You can retract it, but that will mean you can't close vote again
 
why chrome refuse to load a http request from a https page ;_;
 
@Sp3000 They said 500 every 6 months adds up to more in the long run. The link shows a brief explanation and a table of earnings over time.
 
Which is as useful as being unable to retract your vote. >_> :P
 

« first day (2021 days earlier)      last day (2814 days later) »