« first day (1989 days earlier)      last day (1104 days later) » 

12:03 AM
helicopter crash: i.imgur.com/PWmjtuT.gifv
 
@DrGreenEggsandIronMan i should put cheddar
 
12:21 AM
@Downgoat yes, you should.
 
12:49 AM
Possible new icon:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12432px" height="16422px" version="1.1" content="&lt;mxfile userAgent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17&quot; version=&quot;5.5.3.0&quot; editor=&quot;www.draw.io&quot; type=&quot;device&quot;&gt;&lt;diagram&gt;7V1Nc+I4EP01uTOWLJPj7nztZau2ag579oAXXAs45TiTZH/9mFjdQDMuZ1xq5al2ToDAMuondfd7LcGNeb9/+tyWd9s/m3W1u8kW66cb8+
poop wrong one
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="564px" height="724px" version="1.1" content="&lt;mxfile userAgent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17&quot; version=&quot;5.5.3.0&quot; editor=&quot;www.draw.io&quot; type=&quot;device&quot;&gt;&lt;diagram&gt;7V1Nc+I4EP01uTOWLJPj7nztZau2ag579oAXXAs45TiTZH/9mFjdQDMuZ1xq5al2ToDAMuondfd7LcGNeb9/+tyWd9s/m3W1u8kW66cb8+Emy9
 
1:29 AM
is it really normal that casting close votes on so requires six times more reputation than ppcg?
 
2
Q: Made a "virus", need tips

EddieFirst of all, it's not really a virus that is used to spy, or steal bank accounts. I don't even know if it's a virus at all. I only made it to troll friends/people I know, and practice my programming skills. I will show you the code, then I will try to explain it a bit; package pracatice; impor...

 
He'd be good for codegolf, because apparently, "that's what we do"
sequence identification time!
4 5 10 11 20 21 22 23 840 841 842 843 844 845 846 847 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727
It isn't on OEIS.
 
ok. Let me see here.
it has something to do with adding 1 a increasing amount of times, then an increasing amount to the one after
 
(the sequence starts at n = 0, btw)
 
1:40 AM
so 0, 4, 5?
 
no, I mean that the sequence is made by a function f, and f(0) = 4.
 
ok then
I don't think i have a hope of figuring it out
I can do a really hard sequence too
 
number of sequential items seem to be related to powers of 2 at least
 
so, first, if we focus on the incrementing sequences, they go
 
@Emigna I noticed that too.
 
1:44 AM
1, 1, 3, 7, over 15
 
20 = 2^2*X, 840 = 2^3*X, 1712 = 2^4*X
 
@DestructibleWatermelon Actually, it's 2, 2, 4, 8, 16.
 
well, depends on how you want to count it.
 
840 - 847 is 8 numbers.
 
yes, but 7 increments
your formula is probably better though
 
1:46 AM
both number of sequential numbers and starting number for that sub-sequence are powers of 2
 
so, i guess the next number of incrementing is equal to the sum of all the other consecutive runs numbers. I explained that badly, but:
 
same power
 
2= 2, 4=2+2 8= 4+2+2
ok, let's look at the larger increments
 
ping me if you need more terms :3
 
5, 9, 817, 865
 
1:49 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Just give us the very next term.
 
okay, one sec
 
difference between 817 and 865: 48
 
2^5*X
 
1:51 AM
2^3*105,2^4*107, 2^5*109
 
Factors of the numbers at the start of consecutive subsequences: 4 = 2*2, 10 = 2*5, 20 = 2^2 * 5, 840 = 2^3 * 3 * 5 * 7 = 2^3 * 105, 1712 = 2^4 * 107, 3488 = 2^5 * 109.
 
For verification, you must give me the 100th and 500th terms in this sequence :3
 
I don't think I'm going to be able help in this at all
 
I'm guessing 7139 is the 100th term, but I don't have the sequence quite figured out I think
 
@Emigna remember, it's 0-indexed
 
2:03 AM
oh right, I used 1-indexed
 
This Wilberforce Pendulum is pretty cool.
 
cool
I just remembered this really stupid youtube video I saw once
it was one of those 'proof of god' videos. None of the arguments made any senses
Stuff like: "god makes sense, but no god doesn't", or "lightning is cool, therefore god" (paraphrased)
 
people make videos on youtube that are contentious for the views and ergo the money.
@Emigna btw idk if I was clear but you are correct about 7139 being the 99th term
 
2:22 AM
Yeah I assumed that's what you meant
 
2:53 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ This time I'm sure I can take the last couple bytes off. :P
 
@DrGreenEggsandIronMan yeah, then you'll pull ahead :3
This solution is optimal in Jolf.
 
I was at 19 but the output was invalid... ;-;
 
It didn't handle multiline strings, and it was missing a space.
 
multiline strings don't have to be handled.
 
2:56 AM
Sure about that?
 
yeah. it never says anything about that in the specs
 
Oh, they were just talking about the output.
:3 Thanks for helping me beat you!
 
no prob :3
I view it as "my code would be longer if I had to fix that" :P
 
lol
Also, I'm not sure what's going on but the site you linked to doesn't actually output anything.
 
uh oh
are you using chrome
 
doesn't work in chrome.
I need to fix that.
 
I'm kinda working on a "voronoi discontinuity" idea.
 
Yeah, V and Jolf are always really close together.
 
Hey @quartata, just ascended my first 3.6.0 \o/
 
3:01 AM
Osabie has also been a thorn in my side.
 
@DrGreenEggsandIronMan on string manipulation challenges. Jolf is the more verbose of golfing languages.
but is somehow good at string manipulation? :P
 
Well V is built purely for string manipulation.
It doesn't even have math yet.
 
._.
nice
►...◄ or ◄...► for copying text?
 
in general.
which makes more sense?
 
3:04 AM
Neither. I don't really get it.
 
Like, ►...◄ would put ... in the clipboard
 
Oh, probably the first.
 
For what program/language though?
 
a new one
and I just decided I'm using both :P
call me fickle
 
3:05 AM
Oh nice. You've always got one of those.
 
yes, yes I do
 
Can I call the language fickle instead?
 
Yes. I always have trouble with names.
 
I regret my name-choice for V.
 
3:07 AM
There's already a language named V. ;-;
 
ah
you could always claim V is some weird crylic letter
I have no idea how to spell that word.. ^
 
Haha, or it's pronounced weird.
Bigtoes suggested vigor, which is actually a pretty great name:
Apr 26 at 3:41, by Geobits
Please tell me it acronyms to VIGOR. Something stupid like VIm Golf: Oh Really?
 
that sounds really cool
 
I should really hurry up and get my encoding figured out so I don't have to keep posting hexdumps...
 
## î, î bytes

    î
that would answer that challenge in the language I am thinking of
generally
 
no interpreter yet, it's still an idea
 
I don't get what you mean.
Oh, in the new language?
 
27 bytes. Phew!
Wait, sorry 24
 
yours isn't 19 bytes?
 
3:14 AM
Not any more.
21
I had to add á<space>
 
I count 19 chars, 23 UTF-8 bytes
 
Yeah, there is an unprintable and a trailing space.
Here's the readable version:
2é#á<space>$á,JAbytes
<esc>j4é<space>
 
5 mins ago, by Dr Green Eggs and Iron Man
I should really hurry up and get my encoding figured out so I don't have to keep posting hexdumps...
 
3:16 AM
j Ξ/u3
Is this a compressed string?
 
you could use CP437, it has all of the chars defined
@DrGreenEggsandIronMan no, the compressed string is Ξ/u3
## î, î bytes¶▬î
My only problem will be making this thing TC (or at least add numbers, primality)
and this is currently only good at fixed outputs
I should have repeat loops or something
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That looks pretty good. However, I want it to be as close to vim's default as possible since it's so vimlike.
 
@DrGreenEggsandIronMan vim's default what?
 
It'll probably end up being very close to osabie's.
Encoding.
 
3:20 AM
It's really just UTF-8.
 
And nothing is defined for 0x00-0x1F and 0x80-0x9F
Which is my biggest problem since 0x00-0x1F is absolutely crucial in V.
 
oh yeah, the control chars
 
And I have unimplemented plans for 0x80-0x9F. Mostly regex shortcuts and some math.
@CᴏɴᴏʀO'Bʀɪᴇɴ Exactly. Like <esc> which is practically a string delimiter.
Oh hey, I think I can take another byte off!
Gtg BRB
 
you could always write a short tokenizer that takes instances of <esc> and replaces them with the actual char
and nice!
bai
My internet sucks.
 
3:30 AM
@flawr: Something I'm thinking about: Voronoi [dis]continuities. Let's say that we are given a 2D curve in the plane. Each point in the plane is closest to some point on the curve. Informally, a point in the plane is Voronoi discontinuous if you need only move a little bit in a certain direction for the closest point on the curve to jump from one spot to another, without transitioning smoothly in between.

To put it another way, let's say the plane is the preimage and the curve is the image, where the mapping is defined by this Voronoi-style relation. Then a point is Voronoi-discontinuous i
 
I think something can be done with radii of curvature to more-efficiently calculate where Voronoi discontinuities are.
 
@El'endiaStarman You could brute force it. Defeine a "Discontinuous jump" and iterate trhoguh the pixels just below your defeined line. Than check to see if when you jump above the line there is a discontinuity
 
brute force works but is unelegant
 
Brute force is exactly how I created those images. :P
 
3:45 AM
Yeah, but if you are just trying to prove a theory.
BUt how did you generate that image
There seem to be a few artifacts in it? COmpression?
 
Loop through all pixels, find closest point on curve, color according to distance from start of curve.
I think the artifacts are mostly due to the fact that I'm sampling the curve discretely.
 
if you're talking about the white things, those are foci
 
Not those
notice how there appear to be like thicker lines in some place. It is not completely smooth
ok
tyeah
 
how high res is the image?
it looks like the line is a solid thickness
 
So since its an elipse the sum of the distances from the foci is a co nstant
 
3:48 AM
and the fact that there's a curve makes it look weird
 
yeah
Your discontinuities are in between the two foci
 
Aye, the curve is rendered by putting a 3 pixel wide (diameter) circle at each point on the curve that is sampled.
 
OK that makes sense
 
ah that makes sense then
 
thats why its a little blocky
 
3:50 AM
 
So @El'endiaStarman I have an informal proof of where the discontinuities are
 
its a happy face
 
you will be upvoted because you have pretty pictures
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yup! :D
 
3:51 AM
It gives me an idea for mathemagically generated art
Well too much sleep deprivation
bai
 
@El'endiaStarman Would you please refresh me? :P
 
Oooh, new avatar.
 
when you said "new icon", I thought you meant for the site >_>
What is it?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ V overlaid with a T and then crossed through.
 
more like "crosses, with a V and a T inside" :P
 
3:57 AM
I made it to look kinda like a line-based butterfly. :3
 
true
g'night guys!
 
I'm heading to bed too. G'night!
 
4:40 AM
I'm making a programming language!
 
4:57 AM
@DestructibleWatermelon \o/ cool! what paradigm/type?
@CᴏɴᴏʀO'Bʀɪᴇɴ @El'endiaStarman g'night
 
5:09 AM
> The JS Interpreter finds an error, adds a semicolon, and runs the whole thing again. But not every time he puts the semicolon on the right place and hilarious bugs are the consequence. You should always make semicolons and run your js through testing tools like JSLint.
what. the. hecj.
 
5:38 AM
0
A: Sandbox for Proposed Challenges

Dopappcode-golf string Be Respectful in the Restroom Of course, the SE network is very knowledgeable about how to be respectful in the restroom, but for those of you who need a recap, being respectful means flushing the toilet, etc. Most importantly, though, it means using the urinal as far away from...

 
6:10 AM
@Dennis I would like to add Brachylog to TIO, if you're interested. Let met know. I've implemented a few things so that it works without writing temp files and directly in a terminal (still need to install SWI-Prolog though obviously)
 
6:22 AM
Hello
 
hi
 
 
1 hour later…
7:35 AM
hi?
 
hi
 
8:00 AM
hi
I am making a programming language, where the commands manipulate registers, which in turn manipulate a stack, which in turn manipulate a tape.
 
8:35 AM
hi golfers
tomorrow it's my birthday \o/
 
8:48 AM
hello @BorisBukh
 
9:05 AM
@Downgoat that video is hilarious :p
 
hi
 
hai
@DestructibleWatermelon cool, but is it functional and object-oriented?
2
 
._.
anyone know a n++ plugin for html ?
 
a wat?
 
9:12 AM
a plugin for html for notepad++
 
ah, I don't use notepad++
 
found :D
bad smiley ._.
 
9:31 AM
So I just started a new fun project called EmoJiS that is a JS interpreter that uses emojis
 
it's to make JS worse than it needs to be
 
yup it's bf sry .____________________.
 
.____________________________________________________________________________________.
in my workspace i have a js, html and css files. jslint is originally for js but only the html and css are parsed ._________________________________________________.
DIS DONT MAKE ANY SENSE
 
9:38 AM
why are you using notepad++?
use vim it's way more user friendly!
 
@charredgrass ._____. notepad++ is better
 
emacs is better than vim anyway
 
My question is rapidly climbing the charts of most popular unanswered question :) Maybe I should just double the bounty every week until someone answers
 
@Lembik what question ?
 
14
Q: Compute the maximum number of runs possible for as large a string as possible

Lembik[This question is a follow up to Compute the runs of a string ] Consider the following definitions taken from The number of runs in a string by W. Rytter. Note that word, string and substring are all roughly synonyms. |w| means the length of string wand w[i] refers to the ith element of string...

the funny thing is that it's easy to have a go optimizing using the code I pasted in the comment, if you don't want to think about it too much
 
9:42 AM
the first time i use "use strict" ._.
 
@TùxCräftîñg Then JSLint is broken, and you need better tools. ESLint for JS. validator.w3.org for HTML, and csslint.net for CSS.
 

« first day (1989 days earlier)      last day (1104 days later) »