« first day (2123 days earlier)      last day (2719 days later) » 

5:00 PM
Which, BTW I'm very proud of. I think I got the shortest non golf-Lang
 
Just out of curiosity, how many people here have Maple?
@DrMcMoylex nice!
vim is always good at those types of challenges though
 
I've found that there are two ways to earn a lot of rep in one day on PPCG: 1) Post several very cleverly golfed answers with good explanations, or 2) make a good pop-culture reference (i.e. that TrumpScript answer)
 
Yeah of course. Actually, I'm tied with APL
 
@ETHproductions the second is exceptionally potent if you make it a challenge, because then it can appear on the HNQ list
 
APL practically counts though
 
5:02 PM
@ETHproductions Or code on mobile. Seems to work.
 
I suppose a third option would be to earn a bounty, but I've never tried that
 
The C code I'm currently working on, with all of the informative printfs filtered out:
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

const struct sockaddr ssa0 = { 16, 0, 84, 74, 127, 0, 0, 1 };

int main(int argc, char *argv[]) {
    int i0;
    socklen_t slt0;
    struct sockaddr ssa1;
    i0 = socket(2, 1, 0);
    bind(i0, &ssa0, 16);
    fcntl(i0, 4, 2048);
    listen(i0, 4);
    for (;;) {
        if (!feof(stdin))
            break;
        slt0 = 16;
        if (accept(i0, &ssa1, &slt0) == 11) {
 
@ETHproductions Sometimes a good challenge will do the trick. See: my Spacewar! KotH. I think that one benefited massively from how you could immediately start playing and writing bots with a really quick iteration cycle.
 
@ETHproductions I've earned one bounty ever, and it wasn't even on PPCG
 
I've only lost 1 bounty (on SO)
 
5:03 PM
I wonder who's the top user who's never earned a bounty on PPCG
 
Wait no, I'm not tied with APL, I'm beating it
@ETHproductions there's actually a good chance it's you
No, duh it's helka
Since he doesn't write answers
 
@El'endiaStarman Yes, if you're going to do a KotH or something, it needs to be easily accessable to be successful
 
@DrMcMoylex Well, he has written some
 
I've never won a bounty either.
 
@quartata 27 of them, to be exact
 
5:05 PM
Yeah, but they're mostly self-answers iirc, and none of them are crazy high scoring
 
One could probably write a SEDE query for this.
 
@DrMcMoylex iirc he has print "Hello, World" scoring 50+ :P
 
Oh gosh, I have 18,666 rep
 
666 :O
18 = 6*3 :O
Triangle :O
 
I have like 3k :(
 
5:09 PM
@EᴀsᴛᴇʀʟʏIʀᴋ I have 3.5 times as many answers, and 10 times as many challenges, what do you expect?
Passing downgoat and aditsu was really satisfying, lol.
 
lol
I should probably post more ¯\_(ツ)_/¯
 
@DrMcMoylex Passing you a couple days ago was satisfying ;)
 
Haha, I only just recently passed you
 
Hmm, it doesn't seem that there's any bounty-related stats on Users in SEDE
 
Sep 22 at 21:57, by mınxomaτ
Just finished a 23h work day. Finally all business is done for this year.
I was wrong ._.
 
5:12 PM
 
I can out golf that in V. :P
 
@Oliver You don't need the first ¦
 
rlly?
o thnaks
then i can get rid of the firs t= too
 
@Oliver It doesn't work for the 2nd test case
 
it doesn't?
 
5:16 PM
no
the " messes it up
 
omg
rlly
now ti does
now it does
 
you can edit a message by hitting up arrow key on your keyboard
(or on mobile tap the message and click pencil)
 
ok, thanks
 
Really? Oh, you can!
 
it works
 
5:19 PM
btw @ETHproductions can you help me test some node stuff?
 
You didn't know? ಠ_ಠ
 
@Downgoat I think so, what is it?
 
@ETHproductions test my sync-prompt node plugin. you'll need to install node-gyp first by doing npm install -g node-gyp, then clone it using git clone https://github.com/cheddar-lang/sync-prompt.git, then do node-gyp configure inside the clones sync-prompt dir.
if it throws some weird python error then I know it's node-gyps fault and not mine
 
@Oliver I imagine if someone sees that they can they'll comment :)
 
5:21 PM
thanks
 
somebody already left a comment :p
 
@Downgoat Weird npm error about python, probably because I don't have python installed afaik
 
Oh :|
 
Do I need python?
 
yeah
python 2
 
5:24 PM
Would 2.7.12 work?
This begs the question, How did I survive all these years without ever installing Python?
 
That is a good question!
 
@ETHproductions Yes. 2.7.x is preferable :D
 
@Downgoat I now get some weird Python error
TypeError: 'str' object does not support item assignment while trying to load binding.gyp
 
Aw yiss.
 
what's that?
 
5:31 PM
A download
at ~150MB/s.
 
Man. It's really sad the V only takes three bytes off, especially since it should be 10 bytes if it was working correctly
 
I get like 50 mbs on a good day
 
Upgraded all the servers to 40GbE, but the fastest speed test server I can find is 10GbE.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Ha. I get 10 on a good day.
 
5:32 PM
@EᴀsᴛᴇʀʟʏIʀᴋ It's probably a server in a data center somewhere
 
How do you do :q in V?
 
@KritixiLithos carefully
 
@KritixiLithos Just :q. But if you do, it won't output anything, so that's probably not what you want to do
Why? Are you writing something?
 
5:33 PM
I want to quit after writing something in insert mode
 
@ETHproductions D: i have same error
 
Then you want <ESC>...
 
 
@Kade carefully
 
I think the joke is getting tired
 
5:34 PM
TuxCopter mentioned me twice
 
@Downgoat pls install replays and forced holiday and fix chat relay
 
@KritixiLithos Ah I see. You'll need to add an <esc> so you can return to normal mode.
 
@TuxCopter -1 originally conors joke i think
@quartata wait wat how
 
@Downgoat see tf2 room
 
Ok
 
5:35 PM
Not very user friendly, I know. I'm looking into a way to make it easier.
 
we've been nagging you about this for 2 days
 
@Kade My home internet is still 25MB/s
 
iHello<esc>:q prints Hello<esc>:q
 
@KritixiLithos -.- You need a literal escape character
 
Yeah, that's because <esc> is literal text, not a literal escape character
 
5:36 PM
@DrMcMoylex wait wat
 
You can enter a literal escape with <C-v><esc> from vim, but it's unprintable
 
And also no need for :q
 
Yup, also technically there's no need for the <esc> too since leading <esc> is implicit
 
The thing is I'm making a polyglot and I want V to quit after printing its text
 
Unfortunately, I don't think that's possible. It only prints at the end.
 
5:38 PM
You can't quit in the middle of a program?
 
this prints nothing, and this prints too much
I'm not sure why TBH
@KritixiLithos Would it be possible to put the V portion at the end instead? Then, to get around any side-effects of the previous code, you can just append <esc>HcGHello
But unprintables might mess up the other languages, so idk if that will work for sure
Or if you really want V at the beginning, you could use <esc>0ñ, and then everything else will effectively be a comment
(Unless it contains a ñ)
 
How do you do a literal escape character in V?
 
ASCII 0x1B
What text editor do you use?
 
I'm using tryitonline
 
When I write V, I usually just write it in vim and then copy and paste it into TIO so I can enter the unprintables easier.
Like I said, it's really not user friendly atm, I get that
If you send me a link, I could probably replace <esc> with literal escape characters and send you back the updated link
 
@KritixiLithos Derr you go: v.tryitonline.net/…
It seems to work
 
Thanks a lot!
 
Glad I could help. I'd love to see more people use V, so I should probably work on making it a little more user friendly, haha
I bet I could just do something like re.findall("<esc>|<C-.>|<lb>|<del>|<bs>|.",s) before passing the text into V.
 
I wonder what domain name I should choose for my website, if any
ethproductions.com is taken, eth.productions is expensive, and eth-productions.com is long. Maybe I should just do something with ETH
the-eth.com maybe?
 
Or ethproductions.github.io. 100% free
 
6:01 PM
@KritixiLithos I have that already :P
 
herokuapp?
 
Speaking of which, maybe I should update the main page
@KritixiLithos I'm fine with paying US$12 a year or so for an actual domain rather than a subdomain
 
@Oliver Is there anyway I can pass a text file to Dip instead of using the command-line?
 
@Downgoat you have access to my private sigma. What do you think of my code? (review pls)
 
@Oliver byte counts aren't required on the PPCG Jeopardy thread, you don't have to edit every post -_-
 
6:21 PM
0
A: Sandbox for Proposed Challenges

PavelAutomated Java Golfer Java is one of the most verbose and expansive languages there. It almost never wins code-golf challenges, in fact java submissions are frequently hundreds of bytes behind other languages. Today you will be making a program that attempts to automatically shorten java program...

 
@Flp.Tkc Yes they are
 
Byte counts are not required. — Nathan Merrill 2 days ago
 
nvm
Oh wait I tought he was speaking about another challenge >_>
/me is stupid
 
someone pls tell amazon usb is not gigabit ethernet
 
Can anyone think of a reason why visual studio, by default creates classes without access specifiers
 
6:31 PM
@Kade I agree. @Tux (and others), cut back on answering questions with "carefully" if it doesn't actually answer the question.
 
@Downgoat It's thunderbolt to ethernet, there's nothing wrong with the product name
 
@Kade they were searching for usb
 
..whoops
 
@El'endiaStarman can you redact this message i accidentally posted sensitive data
 
I love answering questions on vi.se. It's so satisfying to help people, and since it's smaller than SO and I actually understand the topic, I feel like I'm actually able to help real people out.
 
6:37 PM
@Downgoat Done, and wow, that was a lot of text.
 
Too bad there's not a "creating programming languages" SE site, most of us would be fairly good there.
 
@ETHproductions that's what area51 is for
 
We know how to make languages that nobody can use :P
 
@BlueEyedBeast Hmm....
 
6:40 PM
I personally would be interested in such a site
 
@El'endiaStarman its what happen when you think cmd+a will only copy current screen but it post entire terminal log for past two days
 
Oh hey, speaking of A51, that reminds me of a proposal I'm interested in. Literature. Anyone else here interested?
 
@Downgoat Ugh, jeez.
 
Maybe I'll create a proposal called "Creating Programming Languages". Is it too similar to an existing site though? (SO, Software Engineering, etc.)
Also, is there a better name?
 
"Language design"
 
6:45 PM
Language Design?
 
Dangit
 
Do you think users might think the site is about spoken languages then?
Although creating new spoken languages isn't a common thing to do
 
I can't seem to reopen this question
 
@ETHproductions Well, yes. This has a name, it's called compiler design. See Nathan's link.
 
@ETHproductions Creating new programming languages isn't exactly common. You're using a biased sample :P
 
6:48 PM
I get this javascript error
gnored call to 'confirm()'. The document is sandboxed, and the 'allow-modals' keyword is not set.
 
@Geobits True :P
 
I doubt there's really a large enough audience for creating languages to sustain an SE site.
 
@NathanMerrill Is there any way to actually see the Compiler Design proposal?
 
SO also has a the blanket tag compiler-construction: stackoverflow.com/questions/tagged/compiler-construction (10k Q), but also compiler-design: stackoverflow.com/questions/tagged/compiler-design (91 Q)
 
"If we get here, there's no point trying to parse the rest of the
"command. Bail right now!
 
6:51 PM
 
That awkward moment when you find this comment you left yourself and have no idea what it means
 
I imagine Programmers Software Engineering would also accept those kinds of questions.
 
That's what I was thinking as well.
 
@ETHproductions archive.org?
 
Argh
I'm trying to open a socket and listen on it in C
It's ignoring what I set for the port parameter and choosing a random one
 
6:56 PM
It's from 2010
Died out from lack of interest sometime between Aug 2010 and May 2013
"Proposed Q&A site for those wanting to discuss language design or create a compiler/interpreter using existing tools or from scratch." Sounds pretty much like what I was suggesting...
On the one hand, now that there's more users in the SE network, there will likely be more interest in a site for this. On the other hand, now that there are more sites like Software Engineering, it may not succeed on its own site.
 
Is this a valid answer?
 
I think so
@Flp.Tkc I think you can do:
from sys import*
A='I Voted'
for i in A:print(i,file=stdout,stderr][ord(i)%2]
 
@DrMcMoylex Missing an open bracket and a close paren
 
Huh. Ordinarily I'd say that mixing stdout and stderr shouldn't be allowed, but I'm hard pressed to say why exactly.
 
Duh
 
7:08 PM
oops, yeah my original answer needed the while A and I forgot to change that when I golfed it @DrMcMoylex
 
Even better:
from sys import*
for i in'I Voted':print(i,file=[stdout,stderr][ord(i)%2])
 
it needs to be end=i
so it doesn't print on a newline, but otherwise it's a great golf, thank you
 
Looks like language design is very much on topic on Software Engineering, though it's on the professional level, not the esolang level... and who besides us would want a site about designing and implementing esolangs?
 
Oooh, I see. end=i is much better than i,end='' which I would have naively done.
 
So I'm going to just drop this idea now
 
7:11 PM
Crazy idea that I'm not necessarily in favor of but I'm throwing out there: What if esolang design was on topic here?
 
I think that's been discussed, but I'm not sure
I'd personally love to see some SE-like place where esolang design is on-topic, maybe not necessarily here though...
 
I know it was discussed a little bit
 
@DrMcMoylex thanks for cutting off so many bytes, edited the answer :)
 
is there any operation which would be considered the inverse of enumeration?
 
@Kade Perhaps concatenation, in a sense?
Got a concrete example?
 
7:14 PM
Glad to help!
 
I don't have any examples, was just wondering
 
I don't think there's a perfect name for that operation
 
I am "upgrading" haystack and I'm trying to follow a general pattern where a lowercase letter and an uppercase letter should be inverses or do opposite operations
I.e. m is minimum, M is maximum
 
@DrMcMoylex Thanks for providing the escape literal, now I got one more language in my polyglot!
 
noitarmune
 
7:16 PM
Well, what I was thinking is that enumeration associates each element with an ordinal/index, so the inverse should strip the ordinals and put the elements in the original order.
 
@Kade Unenumerate ;-)
 
For the actual name, I like "denumerate". :P
 
Sounds good to me ;)
 
The name's sort of like Jelly's "unlength" operator
 
@KritixiLithos I'm always really happy to see people using V. :D link?
 
7:19 PM
 
user image
28
 
7:44 PM
Wow, 10 stars on the most recent message? Never seen that before
 
@Downgoat You bring a smile to my face
 
Self promotion ahead, stop reading if not interested: I finally got to use a language I made almost a year and a half ago!
 
@KritixiLithos I'll add that soon
 
@Oliver That's why I had to manually add the code to the dip.py file to run some dip code
 
8:02 PM
@quartata That's why real men get these toys:
 
Why get a whole new machine to do that? I saw a guy plowing his driveway with an ATV yesterday
 
Boring, why would you not get another machine for that???
 
Well, if you can, do, I suppose, but if you're low on money and have an ATV already, you'd probably prefer to just buy a plow
Or a shovel :P
 
And here I'm thinking "Hmm, it'd be nice to have a machine...". :P
 
I know a (retired) mountain farmer who has a huge collection of different machines (old ones, in today's terms really small ones) he bought and restored. And he is still using them to help out other farmers in his village or in the winter he's using his plows to clean up the paths and it's amazing to see=)
 
8:13 PM
My dog just came and sat on my hand which was holding my mouse, resulting in my computer doing a bunch of things I didn't ask it to
 
How big/small is your dog?
 
Can someone help me golf this? codegolf.stackexchange.com/a/100631/12537
 
@flawr Medium-ish, he's a Whoodle
 
@ETHproductions I first imagined one of that size:
 
Hahaha, that would be a ridiculous dog to sit on my hand
My dog thinks he's a lapdog, but he's about the largest size dog most people would allow on their lap, if not too large
 
8:19 PM
@flawr Maybe the guy is really small
 
^
ask the guy to take a pic with a goat for scale
 
Do goat sizes vary less than dog sizes?
 
5 mins ago, by Oliver
Can someone help me golf this? http://codegolf.stackexchange.com/a/100631/12537
no one?
 
I do not know 05ab1e
 
@Calvin'sHobbies yes
 
8:22 PM
what's the difference between @HelkaHomba and @Calvin'sHobbies
 
@Oliver They're the same user.
 
@Oliver Note: repeatedly posting things in chat can be annoying. Also, if anyone sees a way to golf they'll probably comment.
 
ok
 
The only difference is the community's respect for each user (jk)
 
Calvin became Helka when we graduated, then changed back when Trump won the USA presidential election.
 
8:23 PM
I was sitting on a couch that was is front of a window, while coding stuff on my laptop. Than a cat passed by. My dog jumped on me. Suddenly, my laptop didn't have the key "7".
 
Is there something like the Fourier transform, but for data where the time steps are not constant? (@flawr, @PhiNotPi)
 
@El'endiaStarman Not that I know of. Can't you resample to constant steps?
 
@LuisMendo Not really. I'm thinking to apply this to monetary transactions. I.e., I buy groceries on a relatively regular basis, I get paychecks on a regular basis, etc.
One could interpolate between data points, but that doesn't seem to be sensible, given the source of the data.
 
@El'endiaStarman And is time discrete or continuous? If continuous, consider you have a sum of step functions (with rises at arbitrary time instants) and compute the continuous-time Fourier transform
Problem is, the step function doesn't have a Fourier transform. Maybe use Laplace transform
 
I was thinking of tweaking the discrete Fourier transform somehow.
 
8:29 PM
@El'endiaStarman It shouldn't really be a problem to change to non equally spaced sampling intervals.
 
Perhaps I could iterate through the data points and add the contribution from that data point to the frequencies that fit within that interval, so to speak.
 
You probably will run into some problems when trying to recreate FFT for non regular intervals.
See here:
In applied mathematics, the non-uniform discrete Fourier transform (NDFT) of a signal is a type of Fourier transform, related to a discrete Fourier transform or discrete-time Fourier transform, but in which the input signal is not sampled at equally spaced intervals. As a result of this, the computed Discrete Fourier Transform can also consist of unevenly sampled frequency values. It is however also possible to compute uniformly sampled frequency values from an unevenly sampled input signal. As a generalized approach for nonuniform sampling, NDFT allows one to obtain frequency domain information...
 
Does anyone know what this is referring to? I missed it while I was away
 
If you consider the matrix you set up in the DFT you basically just evaluate the basis functions at the given time steps.
 
@ETHproductions Google Code Jam. Several PPCGers participated.
 
8:32 PM
@El'endiaStarman What's the question you want to solve about your transactions?
 
@flawr Huh, interesting. I'll look into this.
 
And consider this if you need to do it fast.
 
@Calvin'sHobbies I was thinking of coding up some sort of predictive function so you have better predictions than simple trend lines. For instance, a trend line can't tell you that you might have a problem when monthly payments coincide with semi-yearly payments and you run the risk of running out of money at that moment.
I'm not expecting to make this feature soon; I'm just thinking about it. I'll soon be getting big paychecks, so I went ahead and budgeted them roughly (i.e., 27% goes to taxes, 10% to tithe, 32% to paying off my student loan debt, etc). I've had and have a Google Sheet that I use to track how much money I have in my accounts (including how much I would have after paying my credit card bill). Now I'm thinking about making a web app since I feel like that spreadsheet will soon not be sufficient.
 
27% taxes?
 
I mean, if I want to limit myself to X dollars for food, gas, and rent, and I want to know how much I've already spent in that area and compare it with X, that's kinda infeasible to do with a spreadsheet.
@flawr Works out to be about that much after combining federal and state taxes and how both of them are progressive.
 
8:42 PM
I thought only a really socialist country would need to gather so much money.
 
The USA spends a lot...
But that's interesting. I actually thought that the US had lower tax rates than most first world countries.
 
New York state taxes are pretty high as well (assuming you're living in NY now)
 
Yep. One of the highest, IIRC.
 
I'm not sure, but I thought someone earning a good amount of money let's say 8k CHF/month has to pay less than 15% taxes... (in total)
 
Looks like it's the 6th highest, along with 3rd highest gasoline taxes
 
8:47 PM
@ETHproductions Haha, I was looking there too. :P
 
0
Q: Determine if a relation is transitive

shooqieChallenge description Let's start with some definitions: a relation is a set of ordered pairs of elements (in this challenge, we'll be using integers) For instance, [(1, 2), (5, 1), (-9, 12), (0, 0), (3, 2)] is a relation. a relation is called transitive if for any two pairs of elements (a...

 
But I cannot find a good international comparision.
 
@flawr Oh sweet, CHF ~= USD. Anyway, 8k/mo works out to 96k/yr, which is considerably more than I'll be earning. Perhaps you just happen to live in a really cheap country?
 
Yep, really cheap, can confirm XD
 
I personally haven't had much experience with taxes, as I'm a minor and have only had one part-time job
 
8:49 PM
(Well at least the chocolate and the (good) cheese is relatively cheap here.)
@El'endiaStarman Well I'd say 8k is above average, but someone with a good education in e.g. a technical/financial environment could get about 8k at about 40years or so.
 
@flawr Oh, that's interesting. I didn't know that existed. But you probably lose many of the nice properties of DFT? Like the (circular) convolution property
 
(For comparision, the median is about at 6k)
 
@flawr I'll be earning between 4k and 5k per month.
 
Apparently NY has the most concern about cigarettes too, with the highest cigarette excise tax of all 50 states
 
Well did you include "passive" taxes in food/gas e.t.c?
 
8:53 PM
@flawr Not really, since those won't be taken out of my paycheck beforehand.
I included those in the budget portion for food and gas.
 
But it stil seems so high, I think most people here do not spend more than 1.5 times a months salary in taxes.
 
I've been tracking my purchases for at least a year now, so I have a rough idea of how much I spend every two weeks or every month on food and gas.
 
Even the VAT seems at a similar level.
What I know is that the fuel taxes (for non-airplanes...) are quite high here.
Ok I just did the calculation, at 6k CHF /month you'd have to pay about 15% taxes in total.
 

« first day (2123 days earlier)      last day (2719 days later) »