« first day (2583 days earlier)      last day (2266 days later) » 
00:00 - 16:0016:00 - 00:00

4:02 PM
@WheatWizard I was just looking at your challenge on "Prime-factor vector space". The idea reminded me of a similar one I had a few months ago, except that I represented numbers as points in space, so that the vectors proposed by your friend would be coordinates in mine
 
Oh cool.
You can do distance in this space too, you just take the norm of the difference.
But it gets a drastically different result
(It also dons't form a proper metric)
 
oh yeah, that was what my CMC was about, finding the distance between two numbers
 
(I forgot what a metric is)
 
In mathematics, a metric space is a set for which distances between all members of the set are defined. Those distances, taken together, are called a metric on the set. A metric on a space induces topological properties like open and closed sets, which lead to the study of more abstract topological spaces. The most familiar metric space is 3-dimensional Euclidean space. In fact, a "metric" is the generalization of the Euclidean metric arising from the four long-known properties of the Euclidean distance. The Euclidean metric defines the distance between two points as the length of the straight...
 
No problem, just read it myself. Why it is not?
 
4:07 PM
The problem with the method I was describing is that the distance from a vector to itself is always 1
for example, 4-4 = 1, ||1|| = 1
 
So norm(vec(a-b)) instead of norm(vec(a)-vec(b))?
Or what?
 
That wouldn't work because numbers less than or equal to zero can't be represented as vectors
 
unvec(vec(a)-vec(b))?
 
hmm, in my CMC I did the distance by calculation the cartesian distance between the two coordinates of those numbers
 
That would work as a metric.
 
4:10 PM
Even today I still found Jelly atoms I didn't know of...
 
@WheatWizard why does 4-4 equal 1? Wouldn't 2 0 0 0 ... - 2 0 0 0 ... equal 0 0 0 0 ... instead?
 
0 0 0 0 0 .... is 1
 
Is there ordered combination without replacement builtin in Jelly?
 
ah, of course
 
([1,2,3] 2 -> [1,2],[1,3],[2,1],[2,3],[3,1],[3,2])
(of course I don't like œcŒ!€Ẏ)
 
4:16 PM
@user202729 Good find, that SO Matlab dupe
 
@WheatWizard you could allow for complex exponents, but then you already break the uniqueness
 
You still don't get zero ...
 
It was like my first Google search result...
Negative infinity everywhere.
@Dennis Will you fix uneval?
([Jelly])
 
@Cowsquack the pbrain program doesn't work ;_;
 
4:38 PM
Because uneval doesn't work, I have to use ŒṘṄ$ḷ$ for debugging.
 
4:49 PM
Jelly CMC: Multiply 2 numbers. Printable ASCII only.
(also applicable for other languages, but try to make them nontrivial)
Jelly, 7 bytes.
 
@user202729 Umm... 1 byte?
unless I misunderstood you
 
Printable means 20-7E range.
 
Then I don't get what do you mean .-.
 
6 bytes.
 
@labela--gotoa the program has to be printable ASCII only.
 
4:55 PM
It means all of the bytes in your program must be in 0x20 - 0x7E range, inclusively.
 
Figured out independently after saw the bytecount.
... What, I had another 2 bytes...
6 bytes: Try it online! and 2 bytes: TIO
 
My 2-bytes seems far some obvious xD
It’s basically the definition of multiplication
 
5:20 PM
Any C debugging experts around (ideally gdb on Windows)... how do I find out why my program launches with 4 threads and what they are? (There is no explicit use of threads on my part in the program.)
 
Where did you get the number from?
 
gdb
Starting program: [path...]
[New Thread 13432.0x15c0]
[New Thread 13432.0x39fc]
[New Thread 13432.0x3f04]
[New Thread 13432.0x22e0]
 
5:35 PM
@MartinEnder -floop-parallelize-all?
 
nope (unless that's a default, which I doubt?)
This may be a bit of an XY problem though. My real problem is that my program hangs at some point, and when I break into it I'm stuck in TlsGetValue, which I think isn't running in the main thread, and I can't really figure out why or when I end up there, so I figured I'd try to understand what all those threads are in the first place.
 
@betseg well, Python is golfier than C so.... :P yeah (also as user202729 pointed out, byte count is less big of difference because I have bad coding style and stuff everything in a huge line)
also what about autostep/autoflag is buggy? must bugfix
 
5:54 PM
@HyperNeutrino also, I comment more :p
 
true :P
anyway gtg o/ i will fix bugs later when i get back
 
Bai
 
6:27 PM
@betseg btw your minesweeper thingy has a weird bug, stepping on (0, 1) will also step on (16, 0) and give the same value
so like the board is half corrupted somehow or something like that
 
@HyperNeutrino ... wtf
 
idk either ¯\_(ツ)_/¯
@betseg what about it is buggy
anyway gtg o/
 
6:51 PM
@HyperNeutrino reveals too much if i step on a mine that I know its neighbors
 
0
A: Sandbox for Proposed Challenges

Hosch250American Checkers AKA English Draughts king-of-the-hill This is a king of the hill challenge for checkers/draughts enthusiasts. Note: All code below is written in F# Rules For this game, I am using the rules from The American Checker Federation (Note: it tries to download a .doc file). The g...

 
hey, hosch has been inactive for a long time now...
 
it rained for 2 days straight, and my internet speed is around 50 kbps nice
 
ah that hurts right
 
 
1 hour later…
8:09 PM
can i induce delay on my monitor on linux
 
Nice
 
@Dennis ಠ_ಠ I upvoted the "+1 for gif" comment but didn't upvote the post..
 
8:35 PM
@betseg I don't know
 
@Zacharý thanks
 
:p
 
@EriktheOutgolfer Yep.
I need the rep so I can bounty things.
 
(you don't get rep on meta :P but if you post the challenge it might get appreciated by many)
 
Yes, I know how SE works.
 
8:47 PM
@user202729 What did it break on?
 
I wrote a whole American Checkers engine in F#, and I've got all but the 13-move lone-king draw rule in Pool Checkers done. I have a UWP app to play it with too.
Unfortunately, I didn't find out until afterward that F# can't compile to .NET Native because of a couple issues that aren't really being fixed :(
So I can't publish it on the store. I'd like to get a website up for it sometime.
On the other hand, I could maybe host my F# code on a server and use API calls to handle things and keep my Windows Store app UI.
Because the F# logic is in a separate library.
 
@Hosch250 :P I have a feeling I know what you’re talking about
 
@Mr.Xcoder I have the rep for that one. It's just next year I won't.
BTW, let me know when to award it.
 
Sure will do
But will you bounty one of the answers of the author?
 
Sure.
 
8:56 PM
I see
 
You can pick which one, if you want.
 
Nah, I’ll let you decide
Perhaps you’ll find something interesting, idk
 
So, I bounty one of your answers, I think?
 
@WheatWizard, what is your picture now?
 
@Zacharý Have you read the comments here?
 
9:07 PM
I totally forgot about that one
 
 
1 hour later…
10:26 PM
Okay after 1.5 years of dev, I am proud to announce the VSL "Hello, World!" works!!! (cc @ASCII-only):
0
A: "Hello, World!"

DowngoatVSL, 21 bytes puts(`Hello, World!`) Okay after over one year development, the day has come where I can post this :D VSL does not have a fancy print function at the moment so this uses the POSIX puts function. Additionally because puts is a C-function, we must use a byte sequence rather than a...

I still have to figure out how I am going to support different terms w/ non-standard encodings so print() implementation is more complex than puts(str + '\n')
 
CONGRATULATIONS
 
contributing, commits: "They should be a max of 50 characters, no punctuation"
no commas?
@Downgoat ^
 
@betseg as in no period at end
 
> Improve command line interface STOP
4
 
What the heck
@Downgoat it took 1.5 YEARS???
 
10:53 PM
I am the 431st user in rep! Top 500 baby
 
@Christopher I mean they are quite a few things that had be implemented: gist.github.com/vihanb/618e1ffe5383b22fb3d74b927b2cb046
Each step itself is about 1000-5000 LoC
also not included LLIR
 
0
Q: Quadtree Data Structure

user78521I am working on a quad tree level two and I am wondering how to recursively free children nodes and then freeing the parent nodes. void freeTree(Node *node){ int i; if (node->child[0] == NULL){ free(node); } else { for(i=0 ; i<4; i++){ freeTree(node->child[I]; } }

 
@NewMainPosts For the love of god, have these people never heard of SO?
 
@EriktheOutgolfer This is pretty weird but thanks
I actually still have my diamond for the time being
Just waiting for someone from SE to pull the trigger
 
11:10 PM
@AlexA. Weird is an understatement.
 
@AlexA. I'm actually surprised you still have it.
I thought they would have acted faster
Who am I kidding, this is SE we're talking about
 
6-8 weeks is what they tell me ;P
 
What are you up to these days
 
I work on Julia full time
2
And am finishing up my master's in my spare time
How about you? Last I recall you were studying law?
 
Full time, as in for a career? How do you get paid to work on an open source language?
 
11:19 PM
Yes indeed
 
@Downgoat send me your audio for the podcast from like 3 weeks ago
you never did
@DJMcMayhem why is ur name blu
 
@Christopher bc he is mod ... .??
 
Joke :|
 
my tetris strategy program score is.... 24..........
o
 
11:21 PM
39
Q: 2018 Community Moderator Election Results

Jon EricsonProgramming Puzzles & Code Golf's second moderator election has come to a close, the votes have been tallied, and the 2 new moderators are: They'll be joining the existing crew shortly — please thank them for volunteering, and share your assistance and advice with them as they learn the ropes...

 
@AlexA. See chat.stackexchange.com/transcript/240?m=36783571#36783571 and the next 10 or so messages. Getting my law degree is just a side thing.
 
@DJMcMayhem was a joke :P
 
@DJMcMayhem I contract with NumFOCUS, which houses the money for the Julia project. We get money from JuliaCon proceeds, grants, donations, etc. It's not a lot of money, but so far it's kept the lights on. And I'd bet anyone who overlapped with me back in the day remembers that I'm a Julia enthusiast. :D
 
Already said congratz and stuff when you wonXD
 
ur like a few days late :3
 
11:21 PM
It was a joke
 
@AlexA. I actually started playing around with Julia a little bit. I had an opportunity to get paid a crap ton of money to write JuMP for someone. Which is hilarious because I didn't know any Julia. But unfortunately they never followed up with me lol
 
@mınxomaτ Congrats on being poached! I hear that's illegal for elephants and stuff. I guess it's legal for minx.
 
... thanks
 
But the little bit I played around with it was nice
 
@DJMcMayhem Oh wow, who wanted JuMP work?
 
11:23 PM
How is it that the highest rep users are not super active on chat? Oh wait
 
That's a really impressive project
 
A colleague of a co-worker
 
@DJMcMayhem Maybe send them my way ;P
 
Haha
If they ever follow up and realize that I'm the wrong person for the job, I'll be sure to do that lol
 
hahah
use brain-flak
say you used lisp
wait
what if for PLQ you wrote almost valid lisp but it was actually brain-flak
 
11:24 PM
But my co-worker informed me that this particular person has a tendency to over sell potential projects to get people excited and then never follows through when it turns out it never would have worked in the first place
 
Lisp is great. Julia's parser is written in a Lisp dialect.
 
@Christopher Please debounce your enter key.
 
@DJMcMayhem Excellent
 
@mınxomaτ sorry :P habit from discord
@DJMcMayhem want to answer as a mod? meta.stackexchange.com/questions/307349/…
 
@DJMcMayhem Solid business idea. I'll give you $100M VC. We do an ICO in 2 months.
 
11:26 PM
@mınxomaτ Count me in
 
I'll make a competing business that's objectively better but no one uses, like GitLab or Lyft.
 
I don't know what VC or ICO is, but I like the 9 figure payment
 
so basically pull a downgoat and make GoatHub
@DJMcMayhem ICO basically blockchain (kinda like bitcoin)
 
Hm, sad about Gitlab. Could have been good.
 
@AlexA. I have a programming job now. That's a new development since the last time we've talked
 
11:27 PM
Wait
 
(I think, idk when we actually talked last)
 
@DJMcMayhem Niiiiiiiiiice! What do you do?
 
Dj you have a programming job? NICE! :)
@AlexA. Judging by his programming skills does random shit in brain-flak
 
Seems legit
 
@AlexA. A mix of Desktop C++ (QT), Python, C firmware, and odd jobs in C#, C++ or Lua. It's for an Engineering startup company that does electronics for thin film deposition machines.
 
11:29 PM
That sounds really cool!
I hope you're enjoying it
 
I can understand about 75% of that and still have no idea wtf you do. But nice!
 
I gotta gtfo now but I'll be back to chat some more
 
I'm the only person other than the CEO that does programming full-time, so I do end up with a lot of odd jobs
 
ಠ_ಠ why so many mods here
 
@AlexA. I am. The company is really nice :)
 
11:30 PM
Glad to hear it :)
 
cracks under pressure
 
Question: If you could choose an open source project to work on and getting paid, what would it be?
 
Pain-Flak
checkmate
 
@mınxomaτ Neovim. Or UE4
I wouldn't realistically be able to contribute anything useful to either of those, but they're both super cool open source projects that I like a lot
 
For real though: I want to rebuild Git
100% rewrite and fix it.
 
11:32 PM
It would be Mono for me, if it wasn't so closely tied to MS Corp now.
 
MS corp? like Microsoft?
 
@Christopher Random stuff usually in C(++) that either runs on a board or runs on a PC and controls big machines
 
@DJMcMayhem ah
Thanks
 
So for the first time in the last 3 days I am relaxing to do what I want. Literally worked 6AM to midnight last 3 days and today I got up at 5:30 and just finished working.
 
11:33 PM
IIRC Neovim has 1 full-time developer, and Epic makes tons of money off of people using UE, so they have lots of full-time developers
 
We do have a 80/20 rule at work. So I do spend 20 % of my time working on personal projects or contributing. I think that's a good compromise.
 
@DJMcMayhem With just one full-time deveoper, you could probably do a lot for Neovim if you put your mind to it.
 
Ehh, maybe. But it's such a large project it would take ages before I could even understand what's happening, much less improve something
 
@mınxomaτ I think blender would be really cool to work on (but I have no experience)
 
Personally I have to agree with Minxomat. Not just Mono, I want to work on the .NET platform in general, although I realize that's not completely open source.
 
11:38 PM
what exactly is .NET?
 
@mınxomaτ That's really cool. Are there any restrictions around what you're able to work on? Is it just anything you want to as long as it's coding?
 
@mınxomaτ I would pass on the opportunity to Charles Esterbrook so he could work on Cobra without having to have a job get in the way.
 
If I worked at your company, could I spend 20% of my time working on brain-flak for example?
Actually, I'm gonna change my answer. VsVim, hands down
 
@DJMcMayhem Well, speaking as the person who would most likely manage you, it has to have at least a chance of improving you work-related abilities in the long term.
 
@mınxomaτ What if it means he can start writing C++ in brain-flak inspired way
 
11:40 PM
How do you judge that? It seems pretty subjective
 
We do have a meeting every monday, where anyone can present anything they are interested in (engineering related that is). Kind of an internal Talks-at-Google clone.
 
@flawr The umbrella term for C#, the Common Language Runtime, the standard library for C#/F#/VB.NET, ASP.NET, and some other stuff.
 
@DJMcMayhem E.g. if your current responsibility was compiler- or parsing related, working on your own language would probably qualify.
 
@mınxomaτ How large is your company?
 
110ish people. About 30 in engineering.
 
11:42 PM
That's about 11 times the size of my company lol
 
Only about 7 times the size of my company
 
There's a certain charm to being literally the entire IT department.
 
@Christopher I do have an opinion, but I don't feel like moderator of 1 site for 3 days gives me any more authority to answer
2
 
@DJMcMayhem We elected you because we believe you well-able to make these kinds of decisions.
 
I think we are a pretty neat place to work. So, if you are ever looking for a job in Berlin, we're always hiring. I'm hiring full stack Typescript (tech: React, Express, GraphQL, RX, RabbitMQ, Traefik). But we're also looking for C# backend devs and QA engs.
 
11:45 PM
But what do you do there?
 
Well, if I ever move to Berlin, I'll make sure to contact you :P
 
(Not that I'm looking for a job)
 
@mınxomaτ Oh look, another neat place to work in a country I don't live in.
 
We do have locations in the UK and France, but no dev jobs there (sales only).
 
CMP: What is your job (if you have one)? What kind of things do you work on? Tech-related or not tech-related can still answer.
 
11:49 PM
See above. Enterprise apps (on-premises ARM solutions, hosted SaaS IAM/ARM on microservices arch.).
 
I work at a start up as a back-end developer.
That said, I'm still in high school so I don't really get assigned anything important.
 
@Pavel C#?
 
Mostly C#, some TypeScript.
 
00:00 - 16:0016:00 - 00:00

« first day (2583 days earlier)      last day (2266 days later) »