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

20:00
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
20:11
> 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
20:22
@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
20:34
@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
20:39
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
Edit it a couple more times - it might
20:41
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.
20:43
@CᴏɴᴏʀO'Bʀɪᴇɴ I linked it.
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
20:51
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
20:53
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?
21:08
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
that was me upvoting your answer probably
@mbomb007 its a pity
21:11
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
21:16
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?
21:29
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.
21:31
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.
21:46
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
21:59
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 :/
22:10
@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
22:17
@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 ಠ_ಠ
22:24
@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 :)
22:26
@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
22:27
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.
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
22:32
@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 ;)
22:38
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
22:53
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
23:04
@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...

23:29
@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
23:32
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
23:37
@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(), ...
23:38
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
23:40
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
23:42
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
23:44
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
23:45
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")
23:49
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?
23:50
@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?
23:52
@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
23:53
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
23:57
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
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
23:59
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 (3141 days later) »