« first day (1771 days earlier)      last day (3072 days later) » 

10:00 PM
^
 
That reminds me of what happens every single time I type apt-get upgrade
 
> fonts-lobster
wtf
 
Don't forget about lobstertwo!
 
More importantly, what do lobsters have to do with symbolic math?
 
Because one lobster is never enough
 
10:01 PM
Why does it need texlive for... anything? O_o
 
That explains why people call SymPy slow: it has a billion random dependencies.
 
I have no idea.
 
@AlexA. why would that make it slow
 
1. It wouldn't. 2. This is Ubuntu's fault, not SymPy's.
 
When you load it it probably gets ready you give you hella TeX lobsters
 
10:02 PM
tries to parse that sentence, fails
 
Code Lobster? Reminds me of a B52s song.
 
@FlagAsSpam I'm glad someone made that reference. :P
Have you heard the Botch cover?
 
# apt-get install python3-pip
# pip3 install sympy
 
Nope.
 
Problem solved.
 
10:03 PM
You nailed it. :D
 
With the new additions, I could do pyramid primes in 11 bytes. :/
 
I have to use brew. :c
Written in Ruby.
So scary.
 
@FlagAsSpam OS X ftw tho
 
But shiny. c:
 
@FlagAsSpam Why Ruby == scary?
 
10:05 PM
Fear of the unknown?
 
It destroyed my /usr/local/bin. xD
 
Uh in what way?
 
I put all of my codes there. It removed some of them that have similar names.
 
Like the code you write?
 
10:07 PM
Make a ~/bin
 
^
 
Eh.
 
It should be putting everything in something like /usr/local/bin/Cellar with symlinks or whatever in /usr/local/bin.
 
>echo $PATH
/Library/Frameworks/Python.framework/Versions/3.5/bin:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/private/var/vtcakavsmoace/Library/Android/sdk/tools:/private/var/vtcakavsmoace/Library/Android/sdk/platform-tools
 
export PATH="$PATH:~/bin"
cd ~
mkdir -p bin
vim .bash_profile
then add the export
 
10:10 PM
@AlexA. My .zshenv had this by default:
if [ -d "$HOME/bin" ]
then
    PATH=$PATH:$HOME/bin
fi
 
nano .bash_profile
 
@Dennis ಠ_ಠ
 
google how to exit vim
 
@Dennis ಠ_ಠ
@Dennis :wq
 
@AlexA. ZZ
 
10:11 PM
Oh, I have my terminal open and then immediately execute this:
export PATH=$PATH:~/Library/Android/sdk/tools:~/Library/Android/sdk/platform-tools && clear
 
@Doorknob ?
 
@AlexA. faster :wq<cr> :P
 
Everything I type times out ;__;
 
The -p in mkdir -p bin is not very golfy.
 
10:13 PM
Alternatively, map it to something sane in your .vimrc. Like <Leader>w, which is what I do.
 
@Doorknob I'll think about doing that after I figure out how to use vim like a real adult.
 
:P Have you done vimtutor yet?
 
>ls -al | grep -i ".bash_profile"
-rw-r--r--    1 vtcakavsmoace  staff    613 Oct  8 21:59 .bash_profile
-rw-r--r--    1 vtcakavsmoace  staff      8 Jul  8 10:12 .bash_profile.macports-saved_2015-09-08_at_16:53:19
-rw-r--r--    1 vtcakavsmoace  staff    446 Sep  8 17:21 .bash_profile.pysave
 
@FlagAsSpam That'll only persist as long as the terminal is open IIRC (or maybe until you log out?)
 
Which one do I edit? :P
 
10:14 PM
@FlagAsSpam O_o
what
 
@FlagAsSpam .bash_profile
 
@AlexA. I'm not sure that's the one actually loaded.
 
It is
 
Because I use > as my prompt. And that's not what's in that profile. :P
 
The others are backups made by programs that modify your Bash profile
 
10:15 PM
Is it changed again in your bashrc?
the PS1 I mean
 
Idk. I'll check.
 
I didn't think Mac used the .bashrc.
 
I did this once upon a time. xD
 
oh
 
@Dennis Woo sympy for everyone hifive
 
 
@orlp That kid will be scarred for life
 
idk he looks pretty excited about it to me :P
 
Supervillain in the making then?
 
He's the grinch in the early years.
 
@FlagAsSpam vim .bashrc?
 
10:18 PM
Oh, right.
Nano is superior.
 
NO
 
no
 
Nano is like Notepad for UNIX-based systems. Except worse.
 
Simpler, at least.
 
Simple, yes
Superior, no
 
10:20 PM
^
@Zgarb Editor of choice?
Or s/editor/IDE/i if you prefer
 
>cat bashrc
PS1='>'
# Make bash check its window size after a process completes
shopt -s checkwinsize

[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM"
Turns out I did change it. :P
 
@AlexA. Emacs.
 
@Zgarb Has the control key on your keyboard fallen off yet? :P
Also how does the scrollbar on the left not drive you insane?
 
@AlexA. No, but my little finger is unusually long.
 
o-o
There are multiple basrc.
 
10:23 PM
@Zgarb Is that a side effect of using Emacs or is that just a general part of your anatomy?
 
>cd /
>sudo find . | grep -i .bashrc
Password:
find: ./dev/fd/3: Not a directory
find: ./dev/fd/4: Not a directory
./private/etc/bashrc
./private/etc/bashrc_Apple_Terminal
 
@AlexA. Hard to say. :P
 
@FlagAsSpam Why do you need to sudo find? o_O
 
Otherwise find will throw hundreds of "Permission denied"s. :D
 
Why are you doing cd ./; find . instead of find /?
 
10:25 PM
Felt like it.
 
Also what is ./private?
I don't have that
 
Uh.
Idk.
 
Also, why aren't you doing find / -name '.bashrc'?
 
El Capitan?
 
Waaay more efficient.
 
10:26 PM
@Doorknob That's GNU. ;)
 
oh
 
0
A: Is this number a prime?

DennisJelly, 4 bytes ’!²% Try it online! Jelly has a built-in for primality testing (ÆP, 2 bytes), but it uses a probabilistic method. This answer uses Wilson's theorem instead. For input x, it calculates (x - 1)!² % x, which yields 1 if x is a prime number and 0 if not. Input: x ’ ...

 
Why don't you use a sane OS? :P
 
^
 
@FlagAsSpam Oh, I'm on Yosemite.
@Doorknob ಠ_ಠ
 
10:26 PM
I think I had it before I upgraded, though.
 
OS X is best OS
 
^ This is a lie.
 
It is indeed a lie
 
Oh, I have a /private but not a ./private. I assumed . was ~.
 
No.
 
10:27 PM
Don't worry about those, just worry about the .bash_profile and .bashrc in ~.
 
I cd'd to /.
 
Wasn't paying attention. :P
 
Hello
 
Hola
 
Hallo.
 
10:27 PM
o/
 
\o@
 
@FlagAsSpam You use the world's best operating system and yet do not believe it to be the world's best operating system? ಠ_ಠ
@Dennis Is the waving guy holding a cinnamon roll in the other hand?
 
It seriously depends what you're using it for.
 
@AlexA. hahaha
 
@AlexA. No clue, but it's valid Jelly.
 
10:28 PM
Business use? Windows/Mac.
Youtube? ChromiumOS.
 
If you're watching Youtube videos it really doesn't matter what OS you're using...
 
Programming? Idk. Probably something like Debian or Ubuntu.
@Doorknob Apparently ChromiumOS is somehow "better" at that. ¯\_(ツ)_/¯
 
Some programmers must use Windows
.NET, etc.
 
My computer didn't BSOD, but the screen randomly went light blue, so I let it sit there for a while and came back to the same screen. It BSOD'd yesterday so I don't know if this was a failed attempt or something completely different.
 
10:30 PM
@orlp lolwat
 
@phase ^
 
@orlp i saw that add before. Wasn't it gieco or someting?
 
@FlagAsSpam I find OS X to be the perfect multipurpose OS. It's incredibly stable and well supported, it's UNIX-based, the way it installs and handles programs makes sense, it's great for development, and there's a ton of great software for it.
 
And you only need hardware that costs twice its actual value to run it.
 
@Doorknob s/programmers/skrub l0rds/
@Dennis Exactly
 
10:33 PM
@AlexA. Every single one of those arguments applies to almost every single Linux distro too
 
@Dennis This is my point.
 
@Dennis Re: primes - should totally put gamma in
 
Also, OS X isn't open source and lots of things are locked down
 
@Doorknob That doesn't bother me
 
and you get stupid coreutils :P (as demonstrated earlier)
 
10:33 PM
global warming has it's uses
 
its
@AlexA. I dunno, I find it incredibly slow and annoying to use a window manager that's not tailored to how I like it
 
@Sp3000 I'm not sure I understand. What primes?
 
Your Jelly prime tester
 
@orlp Having a productive day, I see. :P
 
@AlexA. I find Windows XP to be the worst multipurpose OS. It's incredibly unstable and not supported anywhere, it's not UNIX-based, the way it installs and handles programs doesn't make sense, it's horrible for development, and there's no decent software for it.
 
10:35 PM
I have enough hidden files in my home directory to have to scroll down to see anything in a just-opened Finder window.
 
@Doorknob I guess it works out well for me then that I do like the OS X window manager.
 
This is not okay.
 
@Sp3000 Oh, a built-in for the Gamma function? ! is already the Pi function, so I though Gamma could be used as ’!.
 
@FlagAsSpam hidden files are called hidden for a reason
 
@FlagAsSpam rm -rf ~/.* and see what happens
 
10:36 PM
@Doorknob Eh. I need to see them 90% of the time.
@AlexA. No.
 
@Dennis Does ! work for non-ints? Not sure how you've implemented it
 
@FlagAsSpam Then pass -a to ls
 
@phase All of this is quite true.
Get more bits and a better OS.
 
def pi(integer):
	if type(integer) == int:
		return inf if integer < 0 else math.factorial(integer)
	return math.gamma(integer + 1)
 
@Dennis s/\t/ /
 
10:37 PM
That would break everything, I think.
 
Er... what were you using sympy for then?
 
no
 
@Doorknob I need to see it in Finder.
 
@FlagAsSpam what's a Finder? -_-
 
File explorer.
 
10:38 PM
oh
stop using that :P
 
-r--------    1 vtcakavsmoace  staff      7 Nov  5 13:35 .CFUserTextEncoding
-rw-r--r--@   1 vtcakavsmoace  staff  30724 Dec  5 20:44 .DS_Store
drwxr-xr-x    7 vtcakavsmoace  staff    238 Dec  5 21:58 .Genymobile
drwx------   13 vtcakavsmoace  staff    442 Dec  5 20:44 .Trash
-rw-------    1 vtcakavsmoace  staff    110 Nov 29 05:22 .Xauthority
drwxr-x---   12 vtcakavsmoace  staff    408 Aug 13 22:52 .android
-rw-------    1 vtcakavsmoace  staff  11424 Dec  5 20:41 .bash_history
-rw-r--r--    1 vtcakavsmoace  staff    613 Oct  8 21:59 .bash_profile
@AlexA. Yeah, not running rm -rf ~/.*
 
These are all normal things
Not that many
 
@Sp3000 The built-in ÆP uses sympy.primetest.isprime. I've also implemented built-ins for sympy.ntheory.generate.primepi, sympy.ntheory.generate.prime, sympy.ntheory.generate.nextprime, sympy.ntheory.generate.prevprime and sympy.ntheory.generate.primerange.
 
llama@llama:~$ find -maxdepth 1 -name '.*' | wc -l
56
@FlagAsSpam
 
Oh... right. nvm I thought you were using symbolics
 
10:40 PM
llama@llama:~$ find -maxdepth 1 -name '.*' -delete
 
Technically that's 55 because it counts .
@Dennis ಠ_ಠ
 
@Doorknob What about ..?
 
That won't work on OS X, btw.
 
Doesn't count that one for some reason
 
 
10:40 PM
@orlp What?
 
xD
Sheep sex joke. xD Why?
 
 
Lies!
 
@phase either you're a liar or one of those those people
@Dennis @Mysticial literally has that
he has like 5000 notifications as well or smt
 
@orlp ofc lies, but what is a those person?
 
10:43 PM
@phase Did you join every SE site?
5
 
for some reason he doesn't want to click them
 
@orlp yeah haha it's nuts
 
@AlexA. no, just hacked SE
 
Hax0rs
 
M45T3R H4CK3R5
 
10:44 PM
The font is so off. :D
 
@FlagAsSpam wat foont
 
> foont
It uses Tahoma.
 
@Dennis is there a way to compute n primes in Jelly?
 
Yes. It become a lot easier an hour ago, when I pushed an update.
 
Damn, son, that's a short language.
learns Jelly
 
10:54 PM
There are no docs yet. Good luck. :P
 
ಠ_ಠ Please fix that.
 
@Dennis What is Æ doing? I can see R is range and N is negate, but I don't see how putting those together gets primes.
 
0
Q: Write a method to reverse a domain name string

Mr_PouetGiven a string containing a dot-separated domain name, write an algorithm that will reverse the elements of that domain name. Can you do it in place? Examples: "codegolf.stackexchange.com" -> "com.stackexchange.codegolf" "google.com" -> "com.google" "a.." -> "..a"

 
	'ÆN': attrdict(
		arity = 1,
		depth = 0,
		call = sympy.ntheory.generate.prime
	),
@phase ^
That's a two-byte token.
 
10:56 PM
Hello, I have closed the loopholes in my question (explanation on meta: meta.codegolf.stackexchange.com/questions/7637/…). If you think it is worth reopening, please vote to do so here: codegolf.stackexchange.com/questions/65290/…
 
@FlagAsSpam @phase ಠ_ಠ
 
@Dennis ahahahahahha
 
> Plz halp err 404 doc no fund.
hahahaha
> no fund
 
I'm currently planning a two major changes to how Jelly parses the code, so writing docs right now would be a waste of time. As soon as I complete those, I'll get started on the docs.
 
@JamesLu It doesn't have a goal, which doesn't make it a great challenge. If my program is `` (nothing), then that would output nothing in a lot of languages.
 
11:00 PM
@phase That's closed. It has to output something different in each language
@phase Also see my edit
 
@FlagAsSpam Added my 2 cents (cc @phase, @Dennis)
 
Hey, I can moderate comments. :D
OK, I think I'll just close that issue as a possible duplicate of TNB. ಠ_ಠ
 
I'm beginning to think that @Doorknob may be right. Safari has been infuriating me lately.
 
Upgrade to Chrome.
 
@Dennis I will open another one if you do .____.
 
11:05 PM
@Dennis Yeah, I'm considering Chrome. I've never been a huge fan of Firefox.
 
@phase Anarchy!
git diamond
 
Every time I go to any website, Safari tells me it can't establish a secure connection to the server and won't let me proceed. I looked up the issue in the Apple Support Center and got this little gem.
 
That's better.
 
> To resolve the issue, the website administrator should configure their server to be secure.
ಠ_ಠ
 
LOL
Hrmpf, I get an email every time you post a comment on GitHub.
 
11:08 PM
@phase I made it clearer with another edit
 
@AlexA. Use Chromium! Or Firefox.
 
I'm using LaTeX for a project. The project requires 12pt Times New Roman font. It pained me to use \documentclass[12pt]{article} and \usepackage{times}. ;_;
(I also realize that the times package isn't Times New Roman, but it's close enough. #yolo)
 
@AlexA. My history teacher claims she requires Times New Roman, but I use the default LaTeX font and apparently she doesn't notice because she never takes off points.
 
:O
 
The default certainly looks Timesy.
 
11:16 PM
Yeah, that's true
 
@Doorknob Firefox makes websites look icky.
 
@AlexA. She should just require you to use a serif font instead
 
people
 
@Dennis Not in my experience.
 
what is this
10 hours!
and no new challenge
 
11:17 PM
Wingdings serif ftw.
 
shame!
 
@JamesLu Times New Roman is a serif font.
Do you mean sans-serif?
 
@AlexA. He means any serif font
 
Oh
Yeah
 
Hello, I have closed the loopholes in my question (explanation on meta: meta.codegolf.stackexchange.c…). If you think it is worth reopening, please vote to do so here: codegolf.stackexchange.com/…
 
11:18 PM
@JamesLu uhhh why are your links truncated
 
@orlp I have one in the sandbox that I'd be happy to post but activity is slower on the weekends so I figured I'd post it tomorrow night.
lest it fall into irrelevance by the time people return to the site
 
@AlexA. "I'm not active because activity is slower. Activity is slower because I'm not active." The vicious cycle continues... :P
 
.________________________.
Your point
I see it
 
Your mouth
It's too long
 
Rude
 
11:20 PM
D:
 
Hello, I have closed the loopholes in my question (explanation on meta: meta.codegolf.stackexchange.com/questions/7637/…). If you think it is worth reopening, please vote to do so here: codegolf.stackexchange.com/questions/65290/…
@Doorknob There.
 
@JamesLu I think the answers on meta still apply
Also Rainbolt's comment
 
^
 
@Doorknob 0 and nothing are no longer acceptable because of the new rule that requires all programs to output something different under all languages it runs in.
So if you answered 0 it would get a score of 1
 
That doesn't have anything to do with the answers on meta or Rainbolt's comment
 
11:28 PM
dilemma
do you eat potato now
or drink it later
 
um
 
^
 
@Doorknob Well we have never had a "just make a really good polyglot" program so far. Now loopholes are closed, I'd say this is a qualified question.
 
@AlexA. vodka, friend
 
@orlp Oh! Okay. I prefer whiskey, gin, and tequila to vodka. Vodka's not bad though.
 
11:45 PM
.....now that it's not so busy in here, I'm going to plug my answer again...
0
A: Sum pyramid of primes

El'endia StarmanMinkolang 0.14, 17 bytes n[i3M$i1-i6M*+]N. Try it here and check all test cases here. Explanation n Take number from input (N) [ Open for loop that repeats N times i Loop counter (n) 3M Pop n and push nth prime (where...

 
As long as we're plugging things, I'm going to plug my sandbox post again:
5
A: Sandbox for Proposed Challenges

Alex A.Programming Puzzles and Taco Truck Programming Puzzles & Code Golf has opened a taco truck! The word is out and now users from all over the Stack Exchange network are coming to try our tasty, authentic ASCII tacos. We need your help to ensure that everyone gets their orders in a timely manner. T...

 
As long as we're plugging things,
user image
2
 
I love that the socket is like "oh shit" before it gets plugged
 
....cannot unsee now.
Thanks Alex.
 
That's what I'm here for
 
11:52 PM
@El'endiaStarman neither can the socket.
 
haha
 
s/un//
 
@El'endiaStarman Looking at the Github repo for Minkolang, has anyone ever told you about directories? :P
Also, Github has releases. You don't need to "manually" do that with minkolang_*.*.py.
 
@Doorknob What? Directories? Those are just imaginary...
 
11:56 PM
:D
 
@Doorknob I think I was up to something like Minkolang 0.13 before releases were suggested to me... :P
 
Heh, okay
 
Anonymous
@El'endiaStarman WHAT ARE THOOOOOOSE
 
Anonymous
I haven't made a new release for Seriously in ages
 
Actually, me doing it that way is a hold-over of sorts from how I did "version control" for like, the first 4-7 years of my programming life.
 
Anonymous
11:58 PM
Gonna make one for when the function table is full
 
Anonymous
And then completely screw everything up in v2
 

« first day (1771 days earlier)      last day (3072 days later) »