« first day (1998 days earlier)      last day (2838 days later) » 

8:00 PM
0
Q: What's the point of rejecting edits to "Showcase your language" entries?

dorukayhanI get it, edits that guess the intent of the poster should be rejected as they may deviate from the original intent of the post. But what's the point of rejecting an edit like this, claiming that it changes the sense the post makes? That edit was done to a Showcase your language one vote at a ti...

 
That's fast.
 
asked 33 mins ago
 
its mostly tux and zya
3
 
@MᴀʀsUʟᴛᴏʀ @Quill @CᴏɴᴏʀO'Bʀɪᴇɴ Cheddar C9 is borked so it is now: ide.c9.io/vihanb/cheddar1
 
8:11 PM
> Petition to rename Trash into The Remaining Bytes
9
 
@CᴏɴᴏʀO'Bʀɪᴇɴ idk
cheddar> String { 3 }
"[object Object]"
ok
 
Jul 13 at 16:54, by El'endia Starman
114 messages moved to Trash
 
8:22 PM
@Downgoat There's the official Discourse for when workspaces are borked.
You can use a GitHub account to identify yourself.
 
> Node.Js problem makes me want to kill myself
wat
 
8:34 PM
@Downgoat I try to upvote answers with more golfing, rather than answers in languages like Jelly or Pyth.
 
@Optimizer Not just them, though the offenders are indeed usually young.
Usually being the key word here...
 
Damn kids these days... :P
 
@mbomb007 I hoard my upvotes, and only dish them out if it's a really neat algorithm or if I borrowed some of the code/ideas for my own answer.
Most extremely-brief esolang answers don't really fall into those categories.
 
@TimmyD Yeah. I'm also more generous to new users.
 
I give upvotes to answers that are complicated or have explanations.
:P
 
8:39 PM
Chrome users might be interested in The Great Suspender
 
I give upvotes to answers I can understand. And he ne'er upvoted again...
 
@mbomb007 That's a good point, too.
 
formatting doesn't work in multiline IIRC
 
bah
 
Edit it a couple more times - it might
 
8:41 PM
I almost always upvote answers in powershell, J, and JS
 
I upvote answers like my BF interpreter in Retina.
 
:O
I always upvote answers like that too if I had a link
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is that because I practically write a short story for every one of my answers?
I endeavor to write my explanations so someone who understands programming, but doesn't understand PowerShell, can still follow along and see what's happening.
 
@Quill That's great. Unfortunately, it's not useful to me these days because I cull my tabs. :P
 
@TimmyD yes, it's beautiful and I love powershell. It was my third lang tho I confess I don't know it well.
 
8:43 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I linked it.
 
whoa, majik
2
 
I'll consider adding infinite output support in the future. Not sure if I can succeed.
 
you are a wizard, for linking majik and burning my retinas with said retina majik
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Awesome, good to hear.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah, it took quite a while to make.
Awww, I just noticed that the "Abandon all work, ye who enter here" thing is gone.
10
 
8:51 PM
yeah, rip :(
 
@mbomb007 it's just implied now
 
@Downgoat kinda buggy
 
@Downgoat Note that python will get confused for python
@CᴏɴᴏʀO'Bʀɪᴇɴ if you're talking about the graph, that's SE's fault
 
@Downgoat oh, ok
 
8:53 PM
every dot is the average of 100 answers
 
@Downgoat You mean "Pyth"? I just discovered that.
 
@mbomb007 yeah :|
 
Wow. Retina is worth more than Python in terms of votes.
Probably because so many people answer in Python.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ @Downgoat want to play tf2?
 
9:08 PM
0
A: Implement Bogosort

dorukayhanJava, 147 bytes import java.util.*;void A(List<Long>b){for(;;){for(int B=1;B++<b.toArray().length;){if(b.get(B-1)>b.get(B))break;return;}Collections.shuffle(b);}} This sorts in ascending order, To make it sort in descending order, simply replace b.get(B-1)>b.get(B) with b.get(B-1)<b.get(B). U...

 
Just hit exactly 7500 rep!
2
 
\o/
 
that was me upvoting your answer probably
 
@mbomb007 its a pity
 
9:11 PM
public static void main(String[] args) is why I use Python over Java now for my free time programming.
 
Come to the Light Side
 
@Optimizer I think we should name it The Bit Bucket
 
*throws null in @mbomb007's face*
 
@dorukayhan You can't italicize code.
 
@mbomb007 i can
 
9:16 PM
Petition to rename Trash into Another 1 Bytes the Dust or something similar!
3
 
@mbomb007 I'm tempted to create that and use it instead for all TNB trash.
@HelkaHomba: Why do sticky pistons not always pull the block back?
 
@El'endiaStarman The Trash for trash from Trash?
@HelkaHomba Your name sounds like Hay carumba?
 
9:29 PM
I found this little python snippet that hogs memory:
while True:
....pass
97% CPU on my comp
 
can a code page assign 2 characters to a single byte?
 
> memory ... 97% CPU
 
@El'endiaStarman ?
 
aka, could Dennis have used 2 Hex symbols instead of his code page
 
@uoɥʇʎPʎzɐɹC Memory is RAM, not CPU.
 
9:31 PM
oh, my bad, typo
or for golfiness: while 1:1
I think I just crashed pyth.herokuapp.com
I submitted an infinite loop program
no longer responding
works now
shrug
 
Graphics3D[{Specularity[White, 5], Darker[Blue, 3/4],
  Cylinder[{{-5/2, 0, 0}, {5/2, 0, 0}}], Specularity[White, 5],
  Darker[Red, 3/4], Cylinder[{{0, -5/2, 0}, {0, 5/2, 0}}]},
 Boxed -> False,
 Lighting -> {{"Point", GrayLevel[1/2], {2, 2, 2}}, {"Ambient",
    White}}, Method -> {"CylinderPoints" -> 1000},
 ViewPoint -> {2, 2, 2}, ViewVertical -> {0, 0, 1},
 ImageSize -> Large]
^ What did I even write?
Produces this thing:
 
what's that 50ABE0E language again? I can't remember its name
 
05AB1E?
 
@Emigna Thanks.
 
9:46 PM
oO @Emigna literally just used the language that @uoɥʇʎPʎzɐɹC was looking for
(but before he asked for it)
 
0
Q: Are visual programming languages. such as Grasshopper, accepted?

asibahiObviously, Grasshopper cannot compete on bytes (files save to rather big binaries with a lot of redundant data). However, in something like a FizzBuzz challenge or a Hello World! show off, it is different enough to be notable. Here is a reddit thread with Grasshopper FizzBuzz example. They're no...

 
@uoɥʇʎPʎzɐɹC I usually call it "Osable".
Some call it "Osabie".
 
0
Q: Shortest Length XSS Attack

MockingWhat is the shortest length XSS 'attack' you can create? Base example: <script>alert(1)</script>

 
cv-pls
 
9:59 PM
0
A: Sandbox for Proposed Challenges

MockingWhat is the shortest length XSS 'attack' you can create? What counts as an 'attack' is altering the intended functionality of the web page. Base example: <script>alert(1)</script>

 
rly
 
hey, it's much better in the sandbox vs in the main site
I'm willing to walk him through creating a challenge, and then see if its actually going to be malicious
 
There, captured it:
 
yep
I posted a meta post:
0
Q: We need a funny 404 image

Agent CrazyPythonSO's custom 404 image is a polyglot that prints "404". Our 404 image is just 404 in a blue color. By default, all theme-graduated sites have a gray 404.

feed is so slow :/
 
10:10 PM
@uoɥʇʎPʎzɐɹC We'll get one with the new site design.
 
@El'endiaStarman well, infosec.se and physics.se didn't get theirs
from a quick sidebar scan
though crypto.se did
 
Christianity.SE has a custom 404 page.
3
 
@El'endiaStarman some have 'em and some don't
but we should get one with the theme
a lot of sites with a theme don't have one
 
Anonymous
@El'endiaStarman That's magnificient
 
@MartinEnder Sorry, I just saw this. Yes, there is. The simplest case is if only one input has been taken (MATL input is interactive, i.e. read as needed). In that case, G pushes it again. Does that suffice for your purposes?
Here's an example: EG
 
10:17 PM
@LuisMendo I noticed in the meantime that it doesn't help
 
Oh :-(
What was it for?
 
For Dijkstra's. My idea was to bubble up only once, subtract, check for equality, push input again and multiply. but you'd need to push the nonzero elements for that to work.
 
@El'endiaStarman that needs to be a gif of a laser coming out blowing away the christain at the door and jesus busting out like a bada**.
the only way to "represent our truly magnificent god"
 
@MartinEnder Oh I see. Subtracting instead of adding seems like a good idea, yes
 
@El'endiaStarman 10/10
@uoɥʇʎPʎzɐɹC ಠ_ಠ
 
10:24 PM
@MartinEnder So it could be done as 3#fb-=8M*s. M remembers recent function inputs. But it uses a number as argument, so same byte count
 
@uoɥʇʎPʎzɐɹC that's kinda rude.
 
@EᴀsᴛᴇʀʟʏIʀᴋ but touching jesus gets you back to max health, so win-win
 
.....
dude seriously, that's offensive to me and probably other christians here.
 
@LuisMendo ah that's a neat feature, but too bad it doesn't save anything here :)
 
10:26 PM
@EᴀsᴛᴇʀʟʏIʀᴋ but you're praising god - everybody thinks everything is heresy nowadays
 
It's probably better off not to make religious jokes (no matter what religion) on SE.... like ever.
10
 
@MartinEnder Yeah. It's neat but it uses 2 bytes!
 
@uoɥʇʎPʎzɐɹC I'm not. I'm just saying that's offensive. Can we let it drop now?
 
@Quill good things you guys are nice :)
ok
 
@Quill s/ on SE/
 
10:27 PM
I might be nice, but the people handling the flags won't be.
 
@LeakyNun ? ¿A qué explicación te refieres?
 
Anonymous
@Quill It's probably better off not to make any jokes on SE.... like ever.
 
We hate fun.
 
Jeff Atwood on January 4, 2010
I noticed that the Stack Overflow question Strangest language feature has been closed and reopened several times now. The text of the question is brief:
 
Anonymous
Exactly
 
10:32 PM
@EᴀsᴛᴇʀʟʏIʀᴋ but memes
 
Anonymous
The Fun Police will come and drag you to the hard labor camp: Stack Overflow's Review Queue.
3
 
It's probably better not to SE.... like ever.
 
says the person with 2 gold badges
 
Two on this site. I have a few more spread around ;)
 
> not to SE
nice
 
10:38 PM
SORQ isn't so bad... it's got less than 10k reviews pending at the moment.
 
Anonymous
@Geobits Wow, someone must've stayed up all night
 
10:53 PM
codegolf.stackexchange.com/questions/85889/… Is this question clear? I haven't written any questions before.
 
Anonymous
@StevenH. Always always always use the sandbox. I haven't looked closely enough at the challenge to know if it has issues, but the sandbox is very useful for ironing out the wrinkles before posting stuff to main.
 
I like how every time my computer slows down, I just have to close ~100 tabs I accidentally left open and it's fast again.
9
 
2 hours ago, by Quill
Chrome users might be interested in The Great Suspender
 
I have the worst tab-opening habits.
 
Anonymous
@Quill I need this in my life
 
11:04 PM
@Lynn Can't be much worse than mine. I usually have at least two Chromium windows side by side (e.g., PPCG and TIO). Once the right one goes to the background for some reason, it stays there until the computer gets too slow again.
@DrGreenEggsandIronMan Since you're already here, have you seen my comment on your question?
 
@Dennis Oh, did I not already answer that?
Sorry, I thought I had. No, you should not output leading spaces.
 
I don't think so.
OK. Bummer.
 
0
Q: What exactly was your question?

AdnanIntroduction When you are given a boring text, you just want to get it over with as quick as possible. Let's observe the following text: Ens colligi timenda etc priorem judicem. De quascunque ii at contingere repugnaret explicetur intellectu. Adjuvetis hoc fortassis suspicari opportune obvers...

0
Q: Inverting lists of lists of indices

Steven H.Inspired by this StackOverflow post. Bob's job is to create spreadsheets and organize them. The way he organizes them is known to very few except for Bob, but he creates a list of each of the spreadsheets that fall under the same group. There's a bunch of data in the spreadsheet he creates, bu...

 
11:29 PM
@Quill i wish there was safari plugin ;_;
 
@Downgoat Why do you use Safari?
 
because i don't want to give my soul to google
and JSC is the fastest JS engine
 
Of all the modern browsers I've used Safari is far and away the slowest
 
@quartata when was the last time you used safari/what version was it
Safari was crap 5 years ago now it's very fast
 
@Downgoat Mountain Lion
Might have been Mavericks don't quite remember
I think it was Mavericks
It isn't the JS engine, I think it's slow at rendering HTML for some reason
 
11:32 PM
well on yosemite it's pretty good.
 
when I was on Sierra dev beta 1, Chrome literally wouldn't work, so I had to use Safari, and it was pretty fast, but the browser is weird.
Now that I'm on Sierra dev beta 2, Chrome is great again so no more Safari
Also, I always got the feeling Apple made their software intentionally painful for Windows
 
@Quill weird? how
 
the tabs use up all the menu space, no tab navigation keys
 
I like the way your "favorites" shows up just by clicking the search bar and in new tabs. it makes navigation really fast
@Quill ctrl+tab navigates through tabs?
how should async streams work in Cheddar?
I was thinking it have a buffer which would be written to and have a done property
kinda like:
var a = asyncRequest()
a.done = (data) -> print data
 
How about asyncRequest((data) -> print data)?
I mean it seems like one would want to do that pretty often
 
11:37 PM
@quartata i was thinking that too but idk
perhaps I could do both
 
If you don't like the way that looks you could make it a kwarg
 
a.then(data -> print data)
 
asyncRequest(onDone = lambda)
@Quill hell no
I never understood why they picked .then for that
It's so weird looking
 
@quartata haven't made named parameters yet
idk how they would work
 
@quartata You would hate Rust's monads then. and_then(), unwrap_or_else(), ...
 
11:38 PM
should foo(1, 2, bar=foo) be allowed?
 
@Downgoat Why not?
 
or if you pass one named param should all params be named
 
no??'
 
because then idk how they would be associated
func foo(a, b, c) {}
what if I did:
foo(c=2, a=1, 4)
 
That would be a syntax error
 
11:40 PM
why?
 
foo doesn't take any kwargs in that definition
Not sure where you were going with that
 
wat
kwargs is named params right?
 
kwargs look like this:
func foo(a, b, c, d=None) {}
@Downgoat Yes
 
oh, a kwarg is an argument with a default?
 
No, a kwarg is a keyword argument
But it doesn't make sense to make them required
 
11:42 PM
wat
ill think about it later
another question: nullable types, yay or nay?
 
?
Oh, right. Yay
 
another question: ISO88591 or Latin1 or LATIN1. (utf-8 is UTF8)
 
LATIN1
Although I think it would look better with a dash
 
cheddar vars don't support dashes
 
xX420_LaTiN1_Xx
 
11:44 PM
would be ambiguous with subtraction
 
@Doorknob heh
 
@Doorknob that's actually my xbox live account name
 
@Downgoat sorry I'm retarded and thought we were talking about underscores
 
@Quill ._. y
 
UTF_8 wouldn't be bad
 
11:45 PM
hm lemme make strawpol
 
Mar 1 at 5:50, by A Dong Wot
@Upgoat http://strawpoll.me/6960566/r
> Ant God Ow
10/10
 
You should make it a string
"UTF-8"
 
Encodings["UTF-8"].decode?
> xX420_uTf_8Xx
2 votes (100%)
 
bytearray.decode("UTF-8")
 
11:49 PM
k
 
But fyi you're approaching this the way Python does encoding and you don't want that do you
 
@quartata yeah, you'll be able to do that as UTF-8 will point to UTF8/UTF_8
 
you should just drop all of this and use Python
 
@quartata how dare you accuse me of doing something like python
i would never do such a thing
 
...but you are?
 
11:50 PM
@Quill Q_________Q y u do dis
@quartata how does python do encodigns?
 
@Downgoat says the one who's gonna add Python keyword args
 
Strings are lists of abstract symbols with no encoding associated with them at all
 
Here I'll find you an article
 
@Quill i never said that
named parameters =\= python kwards
kwargs is a shit name too btw
@quartata yeah, that's good?
 
11:52 PM
@Downgoat No that's terrible
 
if you want a specific encoding you can encode it
 
because if you ever want to deal with binary data you're fucked you have to interpret it as an encoding
 
that way you don't have to deal with surrogates or bytes
I mean if you want to sure
@quartata Buffers are designed for binary data manipulation
 
The correct way is to treat all strings as arrays of code points and when you're doing I/O specify how the code points should be grouped
 
@quartata when doing I/O you'll specify encoding
I'll probably let you pass an Encoding object or a string that is aliased to an encoding object
 
11:53 PM
Yes but not in that sense
This is all Pytek needs to know about encoding:
FIXED_8, FIXED_16, FIXED_32, VARIABLE_UTF_8, VARIABLE_UTF_16
The first means each code point is 8 bits, so you just split it up appropriately and spit out the list
VARIABLE_UTF_8 means it's UTF-8, interpret the code points appropriately
You get the idea
We don't care about what the characters look like just what their code points are
 
handling emojis sounds fun in pytek :/
 
It's exactly the same as it is in any other language
 
cheddar: "🐐🐐".chars -> ["🐐", "🐐"]
 
Same result in Pytek
I don't think you're understanding how this works
 
most languages: "🐐🐐".chars -> <some byte mess that i cannot paste here>
@quartata i dont think i understand what you're getting at
 
11:57 PM
Think of the output of \input[VARIABLE_UTF_8]() as running \ord over each character
 
so it returns a string UTF-8 encodded?
 
@Downgoat By most languages, do you mean JavaScript? :P
 
No, it returns an array of all the code points
 
why
 
Because it's infinitely less painful. I can't tell you the number of times I've wanted to literally stab myself over how Python (and your system) deals with things with unprintables
 
11:59 PM
why have to deal with multi-byte chars and different encodings instead of perfect strings where you don't need to think about multi-bytes
if you want array of code points you can use buffer
then print the buffer directly
 
@Downgoat But you do
6 mins ago, by quartata
This is all Pytek needs to know about encoding:
5 mins ago, by quartata
FIXED_8, FIXED_16, FIXED_32, VARIABLE_UTF_8, VARIABLE_UTF_16
 

« first day (1998 days earlier)      last day (2838 days later) »