« first day (2659 days earlier)      last day (2175 days later) » 

12:00 AM
I know
That mostly happens when I try to code Perl
 
@Zacharý well, perl is easier to get wrong
 
Or the occasional APL goof when I do trains.
@Adám I remember that notation being common at some point, I think a lot had it at one point, then it died.
 
@Adám basically every language actually
 
... except APL and J.
and K
 
yeah. and golflangs/languages not based off C at all
 
12:13 AM
If my algorithm works, I might actually make a golfing language which doesn't suck
 
@Neil okay, Clear should no longer clear variables
 
@Zacharý You can replace your J0⁰UOθθ with ⎚θ too now with @ASCII-only's fix
 
@Zacharý ???
@Neil Hmm. it appears you have forgotten to update the TIO link
 
oops ta. got it inside the grace period too!
 
I'm using a modified semi-Thue system (string replacement thing) with commands on each step. Hope that works
Basically: I'm trying a hacked mess (as soon as my testing is over) and praying it works
That challenge is a unique way to use Charcoal for sure
@Neil Quoi?
 
12:26 AM
@Zacharý which challenge
 
Everything not labeled , but I'm talking about the arsonist's lullaby
 
@Zacharý well really 1. it doesn't do too badly for a lot of math challenges, and 2. that's kinda the reason why Peek was added at all lol
I mean, looking at the leaderboard, Charcoal's actually doing surprisingly well at this
 
I just saw that I needed to rotate something and thought: Charcoal!
 
:| I just had a really bad idea
charcoal, except canvas is a matrix
 
12:41 AM
no.
Wait ... interpreted as a matrix, or the entire thing is based around matrix manipulation?
I wouldn't be surprised if Neil knows Charcoal better than ASCII-only
 
0
A: Sandbox for Proposed Challenges

BubblerModified Boggle Checker, with Modified Boggle-able Code code-golf decision-problem restricted-source Background Boggle is a board game where the players have to find English words on a 4-by-4 board of random alphabets. Words can be constructed by selecting sequentially adjacent cells on the boa...

 
1:05 AM
@Zacharý He basically does >_>
@Zacharý canvas would be a matrix of ints instead of a matrix of chars
 
... so just do ord on all the chars, and add incrementing and decrementing. Change input and output ... and you've basically got the idea.
Doesn't seem too hard to implement, given that Charcoal already exists.
Except maybe negatives
How much have you even answered in Charcoal?
 
@Zacharý like 10x less than Neil lol
 
1:20 AM
Yeah.
 
well maybe 100x >_>
 
lol. Does Neil golf in anything else?!
 
@Zacharý Yeah, mostly Retina and JS IIRC
 
1:40 AM
Ah, okay.
 
 
3 hours later…
4:31 AM
I have no idea what the abrt package is but around two weeks ago dnf started giving me updates for like 3 times a day.
 
The Automatic Bug detection and Reporting Tool seems to have had a few bugs.
 
CMC: Inverse join from [0,0,..,0]: given [a,b,c,...], output [0,a,0,b,0,c,...,0].
For empty list input, output [0]. Assume the input is a list of integers in range [1..8].
 
dnf config-manager --set-enabled *test* <-- why all my software is broken
dnf autoremove just got rid of abrt. Yay?
 
esolang feature idea: any lines containing "etaoin shrdlu" get discarded before execution
 
why tho
 
4:41 AM
@DestructibleLemon wat.
 
@user202729 Gol><>, 7 bytes
 
Etaoin shrdlu (, ) is a nonsense phrase that sometimes appeared in print in the days of "hot type" publishing because of a custom of type-casting machine operators. It appeared often enough to become part of newspaper lore, and "etaoin shrdlu" is listed in the Oxford English Dictionary and in the Random House Webster's Unabridged Dictionary. It is the approximate order of frequency of the 12 most commonly used letters in the English language. == History == The letters on type-casting machine keyboards (such as Linotype and Intertype) were arranged by letter frequency, so e-t-a-o-i-n s-h-r-d-l-u...
 
Let's just assume that I understand why is it a function and its I/O format...
 
@user202729 Python 2, 38 bytes: f=lambda l:l and[0,l[0]]+f(l[1:])or[0]
@user202729 wow -1
 
wait, lines containing etaoin shrdlu should have a chance of not being discarded to be more appropriate
 
4:55 AM
Does anyone know if mathematica has a shorthand for Function[x, Something@x]
 
@Downgoat what would that do
 
@ASCII-only basically I want to know if I can golf Function[x, <big math expr>] @/ { blah blah blah }
 
You mean /@
 
ah yes
 
I don't think that by itself is golfable
 
4:58 AM
@Downgoat \[Function] 3 bytes
 
@user202729 what does this do?
 
It looks like a "mapsto" arrow. x -> something is equivalent to Function[x, something].
 
Function[x,Round[((1/(x+3))-(1/6))/(x-3),0.0001]]/@lst I am trying to golf this
 
... Just use # and &...
Anonymous function.
 
Can't you use.. yeah that
 
5:00 AM
Besides, .1^4.
 
I just realized that you meant Function as in the actual builtin and not as a placeholder name for a function.
 
@user202729 ok didn't know these existed, thanks for help
 
(the \[Function] character can be copied from here)
 
@Downgoat How have you been using Mathematica up to now
 
Why do you need so many parens, / has precedence > than -...
 
5:02 AM
@Pavel first time i used mathematica was 2 minutes ago
 
Besides you can use infix notation a~f~b == f[a,b]
 
@Downgoat Can you just paste the entire thing you're trying to golf
 
But / has greater precedence in almost everything.
 
@Οurous Less than ^.
 
@Pavel im am just trying to write script to do math homework
 
5:03 AM
@user202729 not than, but in. Like number of languages.
 
@Οurous "/ has less precedence in ^"? Doesn't sound very correct? (and by ^ I meant exponentiation)
@Downgoat Don't you have to write to/copy from paper...
 
@user202729 "/ has greater precedence than + in C++"
 
@user202729 homework is online
 
@Downgoat symbolab
 
Then I wanted to say "division has less precedence than exponentiation in Mathematica".
 
5:06 AM
or wolfram
 
@Downgoat Looks like you're lucky...
 
@Downgoat then write it in JS
 
Mathematica has the advantage of making you feel like a wizard
 
@user202729 how is that any luckier than normal
 
@ASCII-only Write less.
 
5:07 AM
@user202729 well of course, you can't exactly write on a laptop :P
@Pavel JS has the advantage of you not having to do a single thing after you finish the script (apart from executing of course)
 
@ASCII-only JS cannot do limits
 
Actually 100% of my homework and exercises are competitive programming, I don't need to write anything. At least for now.
 
also i don't want to write latex parser in JS :P
 
Hm... if they are homework then you're supposed to do it yourself...
 
@ASCII-only JS, however, has the disadvantage of being JS, which is generally not very good at math.
Or most things, really.
 
5:09 AM
@Pavel without libraries
 
The libraries aren't good enough either
 
@Pavel why not :|
 
:44541260 what do you mean
 
@ASCII-only Mathematica is not supposed to use decimal floating point...
Just use NumberFormat.
 
5:14 AM
@user202729 then why is it
 
@ASCII-only It is not.
 
i definetly did not say anything
 
@Downgoat s[t] please.
 
5:20 AM
How do I get wolfram to solve this because Simplify[] only simplifies the limit, it doesn't solve it
 
@Downgoat Why can't you just s[t_] = ...
You really need to learn Mathematica carefully.
And s(t) means s × (t).
 
@Downgoat TIO pls
 
(also you can do [esc] fn [esc] to enter the -> symbol, IIRC)
 
@Downgoat this?
 
why would D[x\[Function]-16*x^2+146,x] give 0 &?
 
5:28 AM
@Downgoat Who told you to use D like that...
 
wolfram API docs
 
> D[f, x] gives the partial derivative ∂ f/∂ x.
It does not say
> D[f, x] gives the partial derivative ∂ f[x]/∂ x.
 
oh
@ASCII-only what dod you do differently besides fixing brackets and using anonymous function syntax
 
@Downgoat nothing
 
If you want to differentiate a function use Differentiate (iirc Differentiate[1][f][x] == D[f[x],x])
You can look at the examples. They're useful.
 
5:37 AM
@Downgoat fixed
 
6:08 AM
@LuisMendo Variadic (although that includes niladic I think)? Alternatively, ℤ⁺-adic :P
 
7:05 AM
I found out only yesterday that Mathematica also lets you write f'[x]
 
@Lynn If f is already a function. Writing Function[x,x^2]'[x] is not nice.
 
@user202729 of course. but if f is f then it is nice...
 
7:45 AM
@user202729 why [x] at the end
 
 
1 hour later…
9:11 AM
@ASCII-only According to the link, anadic refers more to the fact that the number of inputs is variable
 
9:45 AM
1
Q: Golf a bit-reversal table

human_dictionaryThe Premise: You are writing a C driver for a screen for use on an embedded system. The screen uses a tortured version of SPI that requires data to be sent LSb (least-significant-bit) first, but MSB (most-significant-byte) first. A fast way to do this (if you have the memory) is to use the inte...

 
10:05 AM
@LuisMendo :/ is that not the same thing?
 
10:23 AM
@ASCII-only A function that takes a fixed number of inputs such as 2 qualifies under my definition ("a function that takes inputs"), but not under the definition of anadic
 
@LuisMendo ah.
@LuisMendo hmm. so your definition covers variadic as well as polyadic functions?
(well, variable number, and fixed nonzero number)
 
How can it even rightfully be called a function if it doesn't take any arguments?
 
@Adám Exactly. If it changes when you access it then it's an implicit function of the world state.
 
(Look who's speaking; APL lingo allows for niladic functions, though I prefer calling them programs.)
 
11:03 AM
@ASCII-only Yes, I meant all functions except those that take no inputs
 
@Οurous is that not still a function?
@Οurous also what about f()
 
11:16 AM
ROs do something quickly my eyes are bleeding
 
@ASCII-only Yeah. Wait. Oh you're right. I'm too tired to use the word function.
 
12:03 PM
huh, Windows won't let you open a file for writing if it has the hidden attribute. Who knew?
 
@Neil I think it's the read only attr?
 
@user202729 that's my point, the hidden attribute also blocks writes
"if the file exists and has the read only or hidden attribute, then the function fails and sets the last error to access denied" (paraphrasing since I closed the tab)
 
1:05 PM
that sounds incorrect
 
@Neil Hmm. I'm sure it's possible. Somehow. (probably with Windows API which is terrible)
 
@Poke yeah, well I was surprised at the behaviour, which is why I double-checked
 
From my quick search it seems that this is software dependent. People were having no trouble writing to a hidden file with notepad but python was throwing an error
etc
that's super weird
I'm guessing when saving you need to specify that the file is hidden otherwise you might be implicitly trying to increase visibility of the file?
idk
 
ngn
1:22 PM
@Adám "function" in programming and maths mean different things
 
2:03 PM
Does J have syntax highlighting?
 
:| i just realized i'm basically creating a language that's really hard to highlight
 
0
A: Sandbox for Proposed Challenges

AdmBorkBorkGolfing Chain CnR code-golf cops-and-robbers This is a Cops and Robbers challenge. For the Robbers' thread, go here. The Cops have two tasks. 1) Pick a language (this is suggested to be a golflang, but doesn't have to be) that solves (some suitably trivial-ish problem) and solve that challenge...

 
2:29 PM
@betseg @flawr omg the top posts on r/askouija are amazing
favorite one is "It's dangerous to go alone! Take 'ONME'"
 
@Riker why are there so many "it's dangerous to go alone" posts
@Riker capitalize that correctly next time pls
 
@ASCII-only it's a good meme
 
3:18 PM
I hate users sometimes. User ticket comes in, user is a VIP and so the ticket has super-high priority. Complaining that emails aren't coming through, with three examples. Turns out the one email went through just fine and the user deleted it, the second was sent to the user's personal Gmail box instead of the corporate mailbox, and the third the user registered for a conference with a typo in their email address.
 
...he must have been the one to figure out at least the last two, right?
 
Eventually, after a day and a half of troubleshooting and poring through email logs.
Nov 14 '16 at 20:27, by TimmyD
This is why I have a little lapel button pinned in my cube that says "Hit any user to continue."
 
4:09 PM
0
A: Sandbox for Proposed Challenges

AdmBorkBorkPascal Squared Sums Most everyone here is familiar with Pascal's triangle, which is formed by taking the summation of the two parent objects. Here are the first few rows: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 ... Let's instead rotate this to the left by 45 degrees, and assume that ...

 
4:20 PM
I just installed Vim. This editor is weird.
 
@Soaku Have you learn it...?
 
No, there's way too much things to learn about it yet...
 
@Soaku It is weird! Treat it like learning a language. Start with the simplest stuff first. (i<esc>hjkl:wq)
Also vimtutor is your friend
 
Can anyone recognise what theme this is?
 
4:50 PM
Uhh... how do I install Vim plugins?
 
ctrl-esc-j-sacrifice_goat-colon
 
ಠ_ಠ
is my vim statusline supposed to be black and white?
 
@Soaku Yes.
 
ok
C:\Windows\system32>pip install --upgrade pip
ModuleNotFoundError: No module named 'pip'
hmm
uhh, no pip command works for me
 
5:06 PM
python3 -mensurepip
 
thank you. why the heck did pip uninstall itself?
 
Hard to say without further information.
 
5:22 PM
If you're on Windows it's probably not in your path
 
python3 -m pip ...
 
At least, that's what I use
 
Ugh, it was working 'till I've tried to upgrade it
and py -m pip didn't work too. I've fixed it with help of Dennis already
 
5:24 PM
I use Vundle
 
@DJMcMayhem Yeah, I've downloaded it already, but how do I install it?
 
@quartata But the pip command ran and launched Python. It just couldn't find the pip module.
 
where is the vimrc file? ._. sorry for so many question, but they seriously could make it better
ok, nvm
Ugh... E370: Could not load library python36.dll \n E263: Sorry, this command is disabled, the Python library could not be loaded.
 
0
Q: Solve the halting problem

l4m2Mirror problem Given a function f, check whether it halts in your turing-complete language(the language you answer with), which should be a subset of an existed language. To solve the problem, you are given an extra (black-box) function BB as input, which takes an positive integer n and return...

 
5:41 PM
^^ python36.dll is in vim installation location
 
@Soaku ~/.vimrc. you don't have one by default, you'll need to make one
 
@DJMcMayhem I found that earlier already. Sorry.
 
No worries
I've been just occasionally dropping in, so sorry I haven't responded quickly. I'm here now
 
@NewMainPosts the title alone says "close me!"...
 
5:57 PM
@Soaku Do you have any more vim questions?
 
@DJMcMayhem Not right now.
I need to wait for Python to finish installation. Because I accidentally installed the wrong (x32) version earlier
 
OK, cool.
Feel free to randomly ping me if you do have questions :)
 
@ASCII-only what, ONME?
no, that's how askouji works
it gives the result as an undelimited all-caps series of letters
@J.Sallé I thought you were @quartata at first
the avatar and the memeing
 
Meme game is strong
 
6:42 PM
@DJMcMayhem Do you use powerline?
 
@DJMcMayhem For some reasons I can't get powerline font working. The docs are really unclear on that and cannot find any answer on the web. I set the font in the emulator, but arrow characters don't show. They're unicode, that might be the reason, because unicode characters don't seem to work for me. I've configured the vimrc, but didn't help
 
6:59 PM
Getting Vim configured is like configuring Linux... Which is the reason I use Windows and not Linux.
 
0
A: Sandbox for Proposed Challenges

AdmBorkBorkProgression of Matrix Columns Consider the infinite matrix 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 2 3 0 0 2 3 0 0 2 3 0 0 2 3 0 0 0 4 5 6 0 0 0 4 5 6 0 0 0 4 ... 0 0 0 0 7 8 9 10 0 0 0 0 7 8 9 10 0 0 0 0 0 11 12 13 14 15 0 0 0 0 0 ...

 
7:14 PM
My phone has a 64 bit processor but Android won't let me set the date as 2038
time_t is 32 bit?
 
sounds like a 32 bit kernel tbh
time_t is just long I think
 
ngn
@Soaku what I hear: "this car's engine is like an aeroplane's, which is why I use a horse-drawn carriage and not a plane"
12
 
7:34 PM
@quartata __SYSCALL_SLONG_TYPE according to glibc, __kernel_long_t according to bionic (Android's libc), so yeah I think you're right; also my kernel is 64 bit, /system/bin/dalvikvm is a symlink to dalvikvm64 (uname -m returns "armv8l" but I have no idea what that means)
 
does anyone understand the question "so how do bit width go" at
https://codegolf.stackexchange.com/q/164558/9207 ?
 
@betseg i agree with linus there: lkml.org/lkml/2012/7/15/133
 
@Anush I don't understand what they're asking either
 
@Anush that user seems to have a problem with English; the only thing you can do is ask for clarification
 
ngn
@Anush I think they may be asking if the bit width of the numbers is limited, and if not, how it affects the complexity
i.e. is it 32-bit or 64-bit ints, or is it unlimited-size bigints
hm, now I notice you said that in the challenge...
 
 
1 hour later…
8:58 PM
@Soaku 😑
 
0
Q: Close my browser

SquareootCreate a program which closes my browser, no matter, what browser or version I'm using. Input: nothing Output: browser crash or close It should NOT: - crash the computer - freeze it Winner: since this is code golf, shortest code wins.

 
9:46 PM
... is it just me ... or is Dyalog APL's site down
 
ngn
@Zacharý it's not just you, see the orchard
 
Ah
 
ngn
10:34 PM
 
11:20 PM
1
Q: Golfing out the haters

WBTThe setup: A social network reports the number of votes a post has in two ways: the number of net upvotes (total upvotes - total downvotes), and the % of votes that were upvotes, rounded to the nearest integer (.5 rounds up). The number of net upvotes is an integer (not necessarily positive), b...

 
11:49 PM
What's the difference between man and info...
 
ngn
@Pavel gnu uses info, everybody else uses man
 

« first day (2659 days earlier)      last day (2175 days later) »