« first day (1747 days earlier)      last day (3094 days later) » 

9:00 PM
sent text an hour ago
text not sent yet
 
So frustrating. AFKLAJKLFA5AJKSKGJ
 
Anonymous
@TimmyD
 
unless(false == a)
 
hi
@Mego Challenge to make a program that has the most overhead
 
9:02 PM
type User <: StackExchangeUser
    name::AbstractString
    has_sock::Bool
    is_sock::Bool
    # Innocent until proven guilty
    User(x::AbstractString, y::Bool=false, z::Bool=false) = new(x, y, z)
end
alex = User("Alex A.", false, false)
 
Can't someone just do an ip check
 
All of the mods know who all of the sock accounts are.
 
gonna sleep now. I'll let my socks troll here a bit longer though..
 
Good night, sweet prince.
 
9:06 PM
@AlexA. That unmatched < in the first line is messing with me ...
 
@Mego An unfortunate number of things in R are considered "truthy" so there's a function isTRUE() that tests whether something evaluates to the boolean value TRUE. That's the closest I come to using == boolean.
@TimmyD Type inheritance, brosky
 
@AlexA. Yeah, yeah ... but it's still unmatched
 
Anonymous
var user=function(name,has_sock=false,is_sock=false){this.name=name;this.has_sock=ha‌​s_sock||(name==="Alex A.");this.is_sock=is_sock||(name === "ಠ_ಠ");};
 
Same reason I have problems with input/output redirects
Just bugs me
 
@Mego sigh
 
Anonymous
9:09 PM
@AlexA. I know, it's bad, no jQuery
 
Yeah, you should be ashamed.
There is an unacceptable lack of jQuery.
 
Anonymous
(I barely know how to use JS/jQuery)
 
I think you mean "jQuery/JS"
 
Also, coincidentally, why I don't program in CJam or the like ... so many mismatched brackets and whatnot
 
@TimmyD Then Japt should freak you out. It's like JS, but half the right parentheses can be replaced with spaces.
 
9:13 PM
> We’re currently experiencing issues that are preventing users from logging into their accounts. Thanks for your patience while we work to resolve this. For updates, visit the status blog: status.soundcloud.com
urgamerg
 
Every time that happens on SE, I die a little
 
RIP
 
Anonymous
@TimmyD You'd love Seriously, then :P
 
Anonymous
No brackets, no whitespace
 
Anonymous
(well, there are brackets, but those are commands)
 
9:18 PM
@Mego ಠ_ಠ
 
LOL
"There are no brackets, except when there are brackets"
 
Anonymous
@ETHproductions I mean they don't act as delimiters :P
 
@flawr If you're already stealing examples from Wikipedia, would you mind linking to it, so people have a reference for further reading?
 
@quartata Only trailing 33 rep behind you now ;)
 
so I'm planning on using a dictionary (raw.githubusercontent.com/eneko/data-repository/master/data/…) for a command in scg...
Should I make it a plain old array, or a special set of commands?
I was thinking a command w, which would output the nth word
 
Anonymous
9:21 PM
Seems reasonable
 
Also, if n in negative, outputs -nth word but first letter capitalized
ofc I would have to put the whole dict in the repo, because I use Windows and other people do also
 
@flawr Nitpick: "p-adic metric" -> "p-adic norm"
 
I'm at that point where a sizable percentage of my rep changes are from previous answers :D
 
0
A: Play "Taps"​​​​

phaseSonic Pi, 493 bytes use_bpm 40 play 67 sleep 0.5 play 67 sleep 0.3 use_bpm 10 play 71 sleep 1 use_bpm 40 play 67 sleep 0.5 play 70 sleep 0.3 use_bpm 10 play 72 sleep 1 3.times do use_bpm 20 play 67 sleep 0.3 play 70 sleep 0.3 use_bpm 15 play 72 slee...

half decent?
 
half
 
9:26 PM
@Calvin'sHobbies well, why else would the character limit exist...?
 
more like 2/pi
 
1
Q: Calculate the p-adic metric of a rational number

flawrCalculate the p-adic metric of a rational number Write a function or a program, that takes 3 integers m,n,p (where p is a positive prime) as input, that outputs the p-adic metric (denoted by |m/n|_p) as a (completely reduced) fraction. Fermat is known to have only very small margins, but what is...

 
I find PPCG biased...
 
how so?
 
@anOKsquirrel there is no support for beginners like me...
 
9:29 PM
@TanMath I've been here for a week.
so yeah, support does exist
 
@TanMath how so?
@phase soundcloud y u require flash
 
The only positive experience I have had here is just fooling around in the chatroom and maybe some excitement for the challenge I am writing here...
 
@TanMath Well then, make some positive experiences!
If you don't like our ideas for your language, don't listen to them. Make it your own, and don't ask for opinions every step of the way. It's your language
 
i guess...
 
you guess right.
 
9:36 PM
@MartinBüttner Ok, I'll link that.
@Zgarb Already changed it=)
 
@anOKsquirrel Not only that, but my first answer (the function one) didn't get as much positive response as I expected... And my sanboxed challenge also...
 
@Mego teach me Seriously, then I might get how stack based languages work...
 
@TanMath Neither have mine. Upvotes shouldn't be the reason you go here.
 
@anOKsquirrel i said "positive response", not upvotes, did I?
 
9:39 PM
@TanMath what response did you want? comments?
 
Anonymous
@TanMath Do you understand the basic concept of what a stack is?
 
@SuperJedi224 black text on a dark background is impossible to read :/
 
@anOKsquirrel i don't know, everybody just went "fix that" and I did, and the story was over...
 
@Doorknob I don't think it's that dark, but I'll make it lighter ASAP
 
9:41 PM
@TanMath but what response did you want?
 
Anonymous
@TanMath Letting you know when you get something wrong so you can fix it is a whole hell of a lot nicer than downvoting and not telling you
 
@anOKsquirrel I wanted, "good job!".. not a single person said good job... it was my first code golf challenge!
 
@TanMath good job
 
@anOKsquirrel really? what is the point now? it feels more like sarcasm than truly saying good job...
 
@TanMath Good job! Seriously!
 
9:43 PM
An upvote is a user's way of saying, "Good job, I like this post." Comments are for things like requesting clarification and fixes.
6
 
Anonymous
 
Anonymous
shh he's here, everyone act natural
 
Just like in chat, starring is a way of saying you agree. Oh look, I just starred Alex's message.
 
@TanMath If we left that comment on every single new users' posts, it would quickly become pure noise.
 
@ChrisJester-Young Granted, in here starring is more just like, "Look, I know how to click a button! I will click it all the time forever!"
3
 
Anonymous
9:45 PM
 
Hence the unfortunate carrot phenomenon. :P
 
Anonymous
:(
 
@AlexA. In this chat room, yes. But in general, and especially in TL, people are told to be conservative with what they star, so. :-P
 
@AlexA. so only two people have said "good job!" to me?
 
@TanMath Is that so unusual for a post that's only been around less than a day?
 
Anonymous
9:47 PM
@TanMath There is less disappointment when you find happiness from solving a problem, and congratulations are extras rather than expected
7
 
@ChrisJester-Young Oh definitely.
 
Hi Chris
@Doorknob I changed the background color as requested
 
@SuperJedi224 good
 
i was on the edge of suiciding by self-electrocution when i saw this answer which is smaller than mine by 30%
someone must be slughtered for saturating matlab with builtin functions
 
GTG, internet is being dumb
bye TanMath, hope you realize PPCG != popularity :P
 
9:49 PM
Cool, codecogs upgraded their LaTeX engine.
 
^ really? :D
 
@mınxomaτ From what to what?
 
From looks-like-a-geocities-page to a nicer interface.
 
@anOKsquirrel I'm working my way through that collection you linked me to, right now I'm on the pirate section
 
Still no mathjax to gif rendering though :(
 
9:51 PM
@Agawa001 In my opinion, Matlab's expansive collection of built-in functions is what makes it a powerful tool, both in practice and (to a much lesser extent) for golfing. :)
 
@anOKsquirrel why are you saying bye?
 
@TanMath He preceeded that with "GTG," which means "got to go."
 
@AlexA. oh.. I didn't understand.. oh well!
 
:)
 
@AlexA. yes thats why i like matlab but not in a way there is a function for every codegolf-challenge
 
9:59 PM
What do you all think of a "Hello, World!" challenge where the code has to be in a geometric shape? i.e. triangle
 
Not much=)
 
@ZachGates There are languages in which source layout is practically irrelevant
 
there were things like this before in main
 
@ZachGates Hexagony wins
 
@SuperJedi224 Ah.. hadn't thought about that
@TimmyD I was about to say, haha
 
10:01 PM
@TimmyD Hexagony code doesn't need to be shaped like a hexagon.
 
True
 
Have any of you guys used ABAP?
and if so, what language would you compare it to?
 
I'm sure an arbitrary fungeoid can be bent into any 2d shape necessary.
 
Anonymous
@NathanMerrill It looks like COBOL, but I haven't used it
 
I am writing the syntax for a new golfing programming language based on python.. any ideas for naming?
The best name so far is ShortPy
 
10:03 PM
26
Q: Beatles Songs and Hexagons

Calvin's HobbiesWrite two triangle (i.e. pyramid) shaped programs. The first one should be an upwards pointing text triangle with a minimum base width of three characters. So it would have a structure like X XXX or X XXX XXXXX or X XXX XXXXX XXXXXXX or larger. Each of the X's is to be replace...

 
Does Notepad have a monospace mode?
 
@Mego I'm looking at it, but it almost looks like SQL to me
 
@SuperJedi224 Is Notepad not always monospace?
 
Oh, Calvin
 
@AlexA. No, it isn't.
 
10:04 PM
there will be a time when you type golf('[x1 x2]=[ (-b-sqrt(b^2-4*a*c))/(2*a) (-b+sqrt(b^2-4*a*c))/(2*a)] ')and you have solve('a*x^2+b*x+x==0','x') as output
 
@SuperJedi224 I've only seen Notepad in Windows ≤ 7. Are you using a newer one?
 
no ideas?
 
@AlexA. Windows 8
 
Anonymous
@NathanMerrill Unholy combo of SQL and COBOL. Kill it with fire.
 
@SuperJedi224 windows 8 has notepad...
 
10:06 PM
@TanMath Yes, but notepad isn't monospace
 
That's what we're talking about
 
@SuperJedi224 It's based on the font
 
@TimmyD Yeah, I know
 
Anonymous
@SuperJedi224 Increment your notepad, problem solved
 
10:07 PM
ok, i guess no ideas...
 
@SuperJedi224 So, Format->Font->choose your font
 
@flawr btw i came here to ask you whether there is a way to catch exceptions inside arrayfun
 
BTW, I am thinking of writing my python to C++ answer in pyth to help me learn pyth...
 
a simple in/output function instead of try crap catch bullshit end
 
Anonymous
@TanMath Not a bad idea
 
Anonymous
10:09 PM
Best way to learn a lang is to use it
4
 
@Mego problem is, i will have to put both quotes, won't I?
@Mego "[](int x){return x+%d;}"%Q
 
ik i ll star couple of things and go ping me when you find any thing interesting @flawr
 
v
>v
 >v
  >v
   >v
    >v
     >v
      >v
       >v
        >v
         >v
          >v
           >v
            >v
             >v
veeeeeeeeeeeee<.
P!dlroW ,olleH...
 
Anonymous
@TanMath I don't know Pyth well enough to answer that
 
who does?
 
10:14 PM
@SuperJedi224 Nice, haha
 
@Agawa001 I do not really understand, what do you mean by catching them inside of cellfun?
 
You assume correct/ly. (which one is used here?) — flawr 24 mins ago
 
Correctly (@flawr)
 
@flawr arrayfun(@(x)try..catch...end)
 
@flawr: "correctly". "Assume" is a verb and adjectives for verbs (typically called "adverbs") often end in "-ly".
Your assumption is correct. is the noun version.
 
10:20 PM
You can say "You assume correct" if one has indeed assumed an option "correct"
 
@Agawa001 I think there is no good way of doing this with anonymous functoins (you could try eval('try ....'), but as I said, no good way, if at all) but you'd have to write a named function via function r=f(x); try...
 
This version's much more compact, actually:
v
>v
 >v
 P>v
!e >v
de  >v
le   >v
re    >v
oe     >v
We      >v
 ^eeeeeee<.
   ,olleH  .
 
@El'endiaStarman @AlexA. Thanks=)
 
@SuperJedi224 what language?
 
@SuperJedi224 It is not yet christmas.
 
10:21 PM
@flawr Any time. :)
 
@AlexA. Any time? =P
 
@SuperJedi224 How does e work?
 
@flawr Yes, really. I'm always happy to help. (Though if I'm asleep or not online it's unlikely you'll get a response right away. ;))
 
@El'endiaStarman e Enqueues the symbol to the (relative) left.
 
10:22 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ That's true, but rare. :)
 
@SuperJedi224 Huh, that's interesting.
 
Anonymous
@AlexA. I need help
 
What do you need?
 
10:27 PM
Of course, simply printing "Hello, World!" could be done in a 2x15 box, but Zach asked for a triangular source layout.
 
Anonymous
@AlexA. I have this problem. Sometimes, I'm... wrong. And it hurts. How do you deal with it, considering you're always wrong?
2
 
@Mego Sometimes the truth hurts. You just have to accept it and move on.
2
 
typeof Alex.isWright == "undefined" -> true
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ -1 not enough jQuery
 
Anonymous
flagged as not enough jQuery
 
10:30 PM
ಠ_ಠ
flagged as blasphemous
 
suspends you both for inappropriate use of flags
 
Anonymous
@AlexA. I'm out of stars, what else am I supposed to use?
 
Telepathy
 
uses telepathy
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ it's not very effective
 
10:32 PM
@Mego You get your stars back in 88 minutes
Midnight UTC
 
Anonymous
@SuperJedi224 And in another 88 minutes they'll be gone again
 
tbgforums.com has 500ing a lot recently
 
@flawr cellfun is deranging me, cant sum up all elements of cellarray by sum() function
 
@SuperJedi224 500 is a lot of forums
 
10:35 PM
@AlexA. As in 500 errors
 
I know
 
and btw, thats evalc not eval, if output is desired to be captured
 
Anonymous
@SuperJedi224 That's a lot of errors
 
Anonymous
@AlexA. super troll high five
 
Anonymous
10:36 PM
In Internet slang, a troll (/ˈtroʊl/, /ˈtrɒl/) is a person who sows discord on the Internet by starting arguments or upsetting people, by posting inflammatory, extraneous, or off-topic messages in an online community (such as a newsgroup, forum, chat room, or blog) with the deliberate intent of provoking readers into an emotional response or of otherwise disrupting normal on-topic discussion, often for their own amusement. This sense of the word "troll" and its associated verb trolling are associated with Internet discourse, but have been used more widely. Media attention in recent years has equated...
 
> disrupting normal on-topic discussion, often for their own amusement
 
Anonymous
> implying we have on-topic discussion
 
Anonymous
Yay 4-2 vs Alex on the starboard
 
Anonymous
12-4 if we're a OneRepublic song
 
i see that troll is everything who disagrees with you, nothing more
 
10:43 PM
what
 
10:53 PM
wat
 
Anonymous
w
 
 
Dangit, ninja'd
 
Anonymous

 
10:56 PM
ʇɐɥʍ
Hehe, empty message looks so weird in the starred list
 
Hello!
I am back...
 
Welcome back!
 
Who here knows about Pyth?
 
Not me!
 
@ETHproductions thank you...
 
11:04 PM
Pyth-knowledgeable user scan complete. Positive results: Dennis
 
I'm pretty sure @isaacg doesn't know Pyth at all. I bet he hasn't even heard of it.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ isaacg isn't on atm, unless I'm mistaken...
 
@ETHproductions Oh, atm.
:P
 
But including non-on users: Dennis, issacg, Sp3000, and orlp are good bets, I think
 
11:11 PM
I'm okay at Pyth ^_^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ duh! he made the language! he better know it the best...
 
I already told you, Isaac doesn't know Pyth.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you know pyth? I have a pyth question then...
 
@TanMath Fire away.
 
11:12 PM
@isaacg created Python, not Pyth.
 
Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard...
 
le gasp a mobile user!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ so, I have my python code and i want to convert it to pyth
 
Anonymous
11:14 PM
@TanMath It's best to assume everything Alex says is trolling
 
@CᴏɴᴏʀO'Bʀɪᴇɴ huh?
 
@TanMath Oh, nothing. Carry on ? ^_^
 
@Mego it seems that mods are sometimes trolls... even in the physics.SE chat!
@CᴏɴᴏʀO'Bʀɪᴇɴ hehehe, me tricked him!
 
Anonymous
11:15 PM
@TanMath Actually we're all trolls, even us non-mods
 
Let's see your python code?
 
getting it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ print"[](int x){return x+%d;}"%input()
@ETHproductions hey, it's xkcd!
 
11:16 PM
@ETHproductions [clears throat]
Um. I'm a mathematician...
 
^ ᴍᴇ ᴛᴏᴏ :D
 
Anonymous
I'm a compsci person and a math person
 
Anonymous
best of both worlds
 
@El'endiaStarman i thought it meant mathematicians are the puritst... isn't that a compliment?
 
11:18 PM
@Mego ᴏʜ ᴡᴀɪᴛ ᴛʜᴀᴛ's ᴍᴇ :P
 
@TanMath @ETHproductions said that physicists are the purest. Nope.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ so, I know input() becomes Q in pyth, but how do I do the reference thingy in pyth like in python?
 
@TanMath I'll show you
 
@El'endiaStarman did you press the link?
 
Anonymous
11:19 PM
@TanMath Same way, but remember everything in Pyth is prefix notation
 
Anonymous
%"[](int x){return x+%d;}"Q
 
@El'endiaStarman Shhh, don't spoil it for them...
 
@TanMath I knew what comic he was referring to before clicking on the link.
 
Anonymous
@El'endiaStarman To be fair, there's 2 possibilities. This is the other
 
Anonymous
11:20 PM
Actually now that I think about it, 3
 
Anonymous
 
@Mego That one has no mention of physics. Although it fits far better with my response. :P
 
@Mego I TRUSTED YOU!
 
@Mego ........ anti-stars ಠ_ಠ ....
 
Anonymous
Mwahahaha
 
11:21 PM
@Mego thanks! i almost forgot...
 
wait did PPCG add mathjax again?
 
Anonymous
In prefix, operators come before parameters
 
4
A: Sandbox for Proposed Challenges

pawel.boczarskiSpherical excess of a triangle As we all know, the sum of angles of any planar triangle is equal to 180 degrees. However, for a spherical triangle, the sum of angles is always greater than 180 degrees. The difference between the sum of the spherical triangle angles and 180 degrees is called sph...

^ MATHJAX :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ They did, but shortly disabled it, at least on the main site
I think it's still around on Meta
 
my life is complete
 
11:23 PM
Can you think of anyway to golf it further?
 
......a webcomic I follow just had a two-page chapter. Where chapters are normally like more than a dozen pages.
 
Anonymous
@TanMath Not that I can tell
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It's gone though.
 
@TanMath If you want to use another language, here's Japt, 1 byte shorter: "[](int x){return x+{U};}"
 
Anonymous
@ETHproductions He meant with Pyth
 
11:25 PM
MathJax was enabled on PPCG but it broke searching and Stack Snippets so it was disabled a week or two later. It was never disabled on Meta (idk why).
 
Anonymous
I should add string formatting to Seriously
 
@Mego I know, should've clarified
@Mego You should, seriously
**wink**
 
Anonymous
@ETHproductions so much regrets
 
Stack exchange tells me - "You have fully used your vote allowance for today

click here to remove the notification bar"
come on! :(
 
You've used all of your stars for the day.
They'll reset in about half an hour, at midnight UTC.
 
11:28 PM
@AlexA. so sad...
@AlexA. yay!
So let me post the pyth answer as well...
0
A: Write a Program that Writes a function BUT in a different language!

TanMathPyth to C++, 32 bytes %"[](int x){return x+%d;}"Q Just a Pyth version of my Python one.

 
I have finally come to face my greatest fears: today is the day I learn Pyth.
 
I'm preparing to release some simple demo programs for my Java library.
 
@ETHproductions me too... I am trying...
 
Anonymous
There, string formatting commands added to Seriously
 
@Mego It's about time
 
11:42 PM
#"Pyth is the best! Getting the hang of it already :D
 
Check out this challenge:
40
Q: Simulate the Universe!

vszOne nice property of a Turing-complete language is that it can be used to write any program, up to and including the simulation of the entire Universe. Your job is to do exactly that: write a program which simulates the Universe. Note: although I don't doubt you'll be able to accomplish this ...

I want to try it out, but I don't know where to start....
 
Anonymous
,k"[](int x){return x+%d;}"%
 
Anonymous
Only one char longer than Pyth!
 
Anonymous
@TanMath Start with a Higgs Boson
 
@Mego yes.. what about it?
hey look, it is the founder of pyth! @isaacg hello!
 
Anonymous
11:44 PM
@TanMath Well in the challenge it says you should start with a Higgs Boson, so that's where you should start :P
 
@TanMath Hi!
 
I just realized that with the new overhaul of workflows to use generics, the old method of terminating a workflow will no longer work. How should it be done now?
 
@Mego thank you for the help :p
 
Anonymous
@TanMath Glad to help :)
 
ya, you didnt help..
github is weird!
 
11:52 PM
@Mego the IDE working alright?
 
Anonymous
@phase Yep!
 
Anonymous
@AlexA. RNG commands, too!
 
I made a new repository and it won't let me add a new file without importing something or use git...
 
You can't add a file to a git repository without using git? What's up with that.
 
@feersum is this sarcasm?
 
Anonymous
11:56 PM
@TanMath Yes
 
@feersum Yeah you can, just put it in the same directory. I have an example at localhost/git/withoutgit
 

« first day (1747 days earlier)      last day (3094 days later) »