« first day (2229 days earlier)      last day (2615 days later) » 

5:02 PM
@ChristopherPeart I'm not understanding how Legendre is applying to your language.
It looks like it just works based on prime numbers, of which there is a proven infinite amount.
 
huh, it feels like chrome has gotten more eager about translating webpages for me
the wikipedia page for legendre offered to translate, but it only did the titles (10 something) of his works
everything else was english
and utf-8 tables I was looking at earlier kept trying to translate from vietnamese
 
5:22 PM
@AdmBorkBork it does both. The prime e numbers follow it. Is 2 is plugged in and the next prime number of newlines must land in n*n or (n+1)*(n+1)
 
@Riker Well thanks!
Now that I think about it, I'm not sure why I used V when I could have gotten the same byte-count in vim
 
lol
 
@ChristopherPeart OK. I'm still not quite following. I'll wait for your full write-up.
 
@Riker Thanks for reminding me about that answer! I just found an 11 byte version. :)
 
:O
 
5:30 PM
@Fatalize :D
 
Just edited
 
@flawr What about Brachyln?
 
@AdmBorkBork Only people who use calculators or other witchcraft devices talk about ln or make a distinction between different bases. But reasonable people know that there is only one true logarithm, so log is nothing but natural.
 
Oh. :-(
 
@DJMcMayhem explanation?
 
5:35 PM
And you have to admit, to log also sounds better as a verb compared to to ln
 
lol
@flawr that's a pretty good joke ;p
 
And it's based on Prolog, no?
 
yes
 
Nope, it's based on proexp noobexp
 
@flawr What are you talking about? GDCs are amazing
 
5:36 PM
lol
 
@Riker I'll post an explanation after I post my 8 byte answer. XD
 
@flawr "To Ln!" sounds like a battle cry from World of Warcraft.
 
@DJMcMayhem wait wtf you have more golf
 
@KritixiLithos the heck is a GDC?
I only know what GCDs are.
 
Leo
5:37 PM
@DJMcMayhem I bet ls -S is what you meant :)
 
@flawr GDC: Game Developer's Conference.
 
Graphical Display Calculators
 
As long as they have no colour display and a decent CAS=)
 
Why no color display?
 
@DJMcMayhem vim is shorter than bash, wow
 
5:39 PM
Or as long as they are made of two rules you can slide against eachother.
 
Unfortunately I can't use CAS for my school because they are disallowed in exams :(
 
@Pavel Usually colour displays use so much more power than the good old b/w lcd's that don't even need background illumination.
@KritixiLithos What calculator do you use then?
 
dc
 
The TI-nspire CX non-CAS
coloured display
 
@flawr So? Mine still lasts for months.
 
5:41 PM
I don't understand why you would make students buy an ultra expensive calculator that doesn't even have a CAS.
 
CAS is cheating.
 
@Pavel Which one do you have?
@Pavel Well not if everyone can use it.
 
@Pavel My coloured gdc lasts for 1 week if I use it regularly
 
I have a TI-84+ C Silver
 
TI-84 basic is better at making games than ti-nspire
And ti-nspire basic is also verbose
 
5:42 PM
Which is basically the reason I still haven't gotten a TI-nSpire
 
I have a TI-voyage200 which has a full keyboard, which is really nice for programming. (It is just quite slow, it would be cool if it had an up-to-date processor/memory)
 
But my ti-nspire can do 3d graphing
 
Are TI-83's still a thing? I remember shelling out like $200 for my TI-83 Plus about two decades ago.
 
Yes.
Still the most popular Graphing Calculator.
AFAIK
 
@flawr My calculator's keyboard is alphabetical, so annoying
That is, for both my nspire and 84+
@flawr I once made a simple game on my ti-84+, it ran at 1 frame per 2 seconds :/
 
5:47 PM
@KritixiLithos I once did a monte carlo simulation to calculate pi and the program ran one full day until the batteries died. The result was 3.15something
 
I wonder what TI-Assembly is like
 
I also made a pong which actually ran quick enough.
 
TI-nSpire is just ARM, so that's probably not rocket science.
The 83-84s are based on z80
 
5
A: Find the smallest file

DJMcMayhemVim, 12, 11, 8 bytes !!ls Gd{ Try it online! in the backwards compatible V-interpreter. This takes advantage of the ls output being sorted by default. TBH, I'm not sure if this is standard behavior, but it works for me on TIO and the vim + coreutils that comes with git-bash for windows. Thi...

Thanks for the reminder, that was fun!
 
I remember making a blackjack game. I think I helped with programming a (US) football kicker game, where the football was X yards away and at Y angle, and there was a little bar that went across the bottom to determine your angle of kick.
 
5:51 PM
@DJMcMayhem Can you wrap your TIO link in Bash, add some files, so we can see better that it actually works?
 
@DJMcMayhem it's not standard fwiw
 
... I'm dumb
 
eh?
 
??
 
@DJMcMayhem what why
 
5:56 PM
That's totally invalid
 
Why is it invalid?
 
Because it doesn't print the smallest file
 
oh, you need -a
 
No? I need -S
 
-a to show hidden files
 
5:58 PM
Wouldn't that be -A?
 
same thing for me
 
Really? That seems like a silly requirement that should have been specified in the OP
 
check comments
 
Regardless, it's still a silly requirement that should have been specified in the OP
 
shrug
 
6:00 PM
Screw it, I still have a 12 byte answer.
Oh well
 
RIP
 
Hey, it's still the shortest answer ¯\_(ツ)_/¯
 
Hey does anyone still have that link to starman's SQL program that shows how many stars various users have? I'd love to see it again
 
6:06 PM
first link has the right query
 
@DJMcMayhem how could such a program exist on a site that is about posts, not posters?
 
Because a user made it.
And this is about chat, not main
 
But surely nobody would care about such stats
 
Ya never know
 
You're right. It's just for fun
 
6:10 PM
@DJMcMayhem Which is mostly what the starboard is for anyways, besides the pinned messages
 
I have more stars than I thought.
I didn't even realize I had over one hundred.
 
That's what PPCG is all about. Fun
 
TIL Jeff Atwood has been in TNB before, and has exactly one star
 
How many do I have? It's blocked where I am right now
 
@DJMcMayhem Prolly some or the other anouncment
 
6:11 PM
@MistahFiggins 13
 
NOW ON TO SAY FUNNY THINGS AND GET ALL THE STARS!!!!
 
cool, cool
@Pavel creating more of something is not a good way to get a monopoly
 
@Pavel I'm thinking of a way to say "that's bad starbait" that will act as starbait...
3
 
What you really have to do is buy the stars from people, or at least trade internet points for them
 
LPT: Don't Rails at 1AM.
I just realized I dropped my users table last night. Ugh
 
6:13 PM
@KritixiLithos Hey, you suceeded!
 
I seriously did not intend that message to be starbait
3
 
You did it again >_>
See?
 
Looking at the TNBDE data: Who are these people?
Also, I finally figured out how to get my laptop to connect to a mouse.
I ended up using Synergy
meh going to the surplus sale today
 
@MistahFiggins USB controller blew out
 
6:17 PM
@CheckOutTomato ...oh. w-what?
 
@MistahFiggins IDK either. None of the ports work, so I'm getting a new laptop at the surplus sale. The new laptop will be exactly the same model as the one I currently have.
I'll look for one with the same CPU, RAM amount, etc.
Last year they had entire stacks of the things, almost as tall as me. I'm 5'11"
 
@CheckOutTomato iirc synergy is a dead project with a bunch of security holes
you might want to be careful with that
 
@Poke dead?
 
as in the devs stopped working on it
 
@MitchSchwartz I know what you're referring too, but I'm not really sure how to respond to this whole conversation in general. On one hand, I absolutely agree with you. Most things about SE are not a good fit for a code-golf site, and PPCG has a dumb voting culture. That's completely true. But there are also some things about SE that have greatly benefited us, for example, the traffic from SO is a huge help.
3
I have noticed a common pattern of people coming to PPCG from other golfing sites and quickly getting frustrated and/or leaving because it seems like the points have nothing to do with golfing ability. The whole post not the poster thing comes from SO which is intended to be a repository of information, so we are awkwardly forced into its mold too.
4
But to be honest, you've pointed out a lot of the problems PPCG has, but I don't know what you want to see instead. What features do you want to change? What culture do you want to help establish? I know this is dredging up really old events, but I don't really see how bountying random posts can bring about changes or fix the ingrained cultural issues PPCG has.
3
 
6:21 PM
Still developed, sells for $20, but it's open source so I can download it for free from repos.
 
But it's still a useful discussion to have.
 
hmm ok maybe they picked it back up
or i'm thinking about something else
 
@DJMcMayhem *its mold too.
 
Basically they charge $19 for the normal version, then $29 for a version compiled with SSL support. ಠ_ಠ
 
@Riker Thanks, haha
 
6:22 PM
but 10/10 nice essay
@DJMcMayhem quite impressed if you wrote that all on mobile, did you?
 
@DJMcMayhem "dumb voting culture" I second that, it's annoying to see builtins get more upvotes than something clever implemented in a language that does not have such builtins
4
 
anyone familiar with artifactory
 
No
 
Luckily the main site remains pure without any pollution by user-centric stats :)
 
6:23 PM
@Riker No, absolutely not haha
 
lol good
 
@KritixiLithos Very true. But, then again, I mortarboarded off of such a thing, so ...
 
something's up with the starring
 
I wrote it in vim and copy-pasted it in
 
ah ok o-o /s
@KritixiLithos I starred all three of DJ's messages
beacuse they deserve it
and I didn't star mitch's or yours
 
6:24 PM
I haven't starred anything
 
Who unstarred my message?
 
@AdmBorkBork I personally would rather get a repcap from a good answer that took a lot of time to golf than from something simple and almost trivial
 
@CheckOutTomato I've unstarred two or three in the last 5 minutes.
 
@DJMcMayhem Why?
 
@Riker I was talking about the stars that got unstarred but now I know ^^
 
6:26 PM
ah
 
@CheckOutTomato Because I don't see the point of having a no with zero-context on the starboard while an important discussion about the site is happening.
 
@MitchSchwartz I am genuinely curious if you have any ideas about how to improve the site. (And I'm sorry about all the hostility last time this conversation happened)
 
@KritixiLithos That's true. It also got me Populist, btw. But I agree, it's a crap answer and I'm kinda sad that it is my highest-voted answer (by far, it has over twice the votes of my second-highest answer).
 
@DJMcMayhem remove upvoting on answers?
 
6:30 PM
... no.
 
Actually, I gtg (and my phone is dead)
Feel free to ping me, but I won't respond very quickly
 
Do somone here knows how to include a binary file with FASM?
 
Yeah I'm reading and responding in between doing other things atm (and in case it's useful to know, I wrote my most recent message before i saw your most recent messages to me before that)
 
6:57 PM
While it's true that I participated on other sites before I submitted anything here, it might be inaccurate or misleading (shrug emoji) to say that I came here from other site(s), as I supported this site when it was in Area 51 commitment phase
 
7:31 PM
@TuxCopter What do you mean? Like encoding a binary in the source and dumping it later?
 
Like encoding a binary in the compiled binary
 
There are several ways, depending on what you want to do with the binary.
 
7:49 PM
nevermind, alt+shift+tab
 
Dat CIA leak.
Holy cow.
 
they use vim!
wikileaks.org/ciav7p1/cms/page_4849889.html thats an actually useful tip for vim from cia
 
0
A: Sandbox for Proposed Challenges

Wheat WizardBattle of the Algorithms, Kruskal vs Prim This will be a challenge similar to a cops-and-robbers challenge. There will be two threads each with a winner. This challenge is about minimum spanning trees. I might include a introduction to the topic, but for now I am working under the assumption ...

 
8:06 PM
lol, thanks random upvoter on an answer of mine that is almost a year old.
 
One last time: Comments on this one in the Sandbox? I'm considering posting it on main, but haven't received much feedback.
 
@StewieGriffin Does the code we write output how many reversals it took? Can we used a built-in sort method to check/compare that the array is sorted (e.g., like a loop boundary)?
 
@AdmBorkBork Yes, and yes.
 
Just to clarify, the goal is to not brute-force the optimal number of reversals, but write a general-purpose algorithm to do the reversals.
 
-2
Q: Create a virus!

user7416538The challenge here is to make a computer virus only using 140 characters max(it should be able to be contained in a Twitter post). Any answer that contains more than 140 characters is disqualified. You will also need to explain how your virus works and tell how many characters it took you to writ...

 
8:21 PM
@AdmBorkBork I'm not sure it's even possible to brute-force an optimal solution. But the purpose is to write an algorithm that minimizes the number of reversals, within the time limit of ~1 minute.
The number of possibilities is countless, so you would have to compare an insane amount of alternatives to find the optimal one.
 
@StewieGriffin Sure, but that doesn't mean there's not some 2-byte Jelly answer that does exactly that. :p
 
@AdmBorkBork I would be insanely impressed!
 
OK, I think the wording in your first paragraph could use a bit of tweaking, then.
Maybe something like this instead:
> This is a code-challenge where the objective is to sort a vector into ascending order using the fewest operations. Your algorithm can only sort the vector using subvector reversals, but it can use other operations for comparing the vector, arithmetic operations, loops, etc. The number of subvector reversals your algorithm performs is its score.
 
8:40 PM
@AdmBorkBork I like it... I'll edit in a little bit :)
 
@NewMainPosts Completely hammered? Why? How? Why can't I even see the closed posts?
 
-3
Q: python : keep a word and drop other words between 2 tags

Mas HJI'm new to Python. I want my code to open a file in gxl format (like xml format), and read lines and find < string> tag. After that, keep the first word and delete the other words until it meets < /string> tag. How can i do this? Here is an example: This: < string>dummyMainClass void dummyMa...

 
@CheckOutTomato Because it's deleted
 
> Once a post has been deleted, it will disappear for all users except developers, moderators, and users with over 2,000 reputation. Deleted questions will also always be visible to their authors, regardless of the author's reputation. source
 
9:02 PM
0
Q: Should we stop being so generous?

Stewie GriffinTl;dr: The minor improvements that takes an answer from 44 to 42 are often the most interesting and impressive feat. If you made the improvements, then you should post it as your answer. I'll use Luis Mendo's comments on one of my most recent posts as an example. I posted my original answer...

4
 
@AdmBorkBork oic
 
@StewieGriffin If I want to post it as a comment rather than as my own answer, why should we have a policy against that? That seems heavy-handed.
 
I don't know if it's as much about policy as much as What site culture do we want to promote?
 
@AdmBorkBork If you want to post it as a comment, please do... But I feel there's very often only one answer in each language, but a lot of improvements from various users.
 
I do appreciate the friendliness of PPCG, but I can definitely see that the competition suffers slightly because of it
(when compared to anarchy golf for example, where everything is designed to promote competition)
 
9:13 PM
@AdmBorkBork @DJMcMayhem is right... it's more about the culture, not policy...
 
@DJMcMayhem Ooohhhhhhh. That makes it a much different argument in my head. Thanks; I completely did not consider that aspect.
 
I think it's good we comment on others work with improvements, it helps the answerer, and anyone who reads the comments, learn that tip.
 
@NewMetaPosts @StewieGriffin Great post BTW! I'm gonna be thinking it over in my head for a while probably
 
I rarely think of us as a winning centric community
 
Random question: What would you call a Function translator, e.g. a function that simply changes up some types and passes the real call onto another function?
 
9:17 PM
@DJMcMayhem Wrapper?
 
Yes, of course!
@AdmBorkBork Thanks, it slipped my mind
 
9:43 PM
Woo, down to 80 on the Happy Birthday V challenge. Not sure I can catch Dennis' Python answer, but I'm now beating most other non-esolangs (Ruby, PHP, JavaScript, etc.). :D
 
congrats!
powershell right
 
@AdmBorkBork hm, lemme see how good cheddar can do ;)
 
I'm not really in board with the whole "you point out problems but don't offer solutions" claim being made or suggested
 
Slicing in Python is just so dang cheap to do.
 
@MitchSchwartz "so, what do you suggest I do instead?"
 
9:51 PM
If I say something like "I think people here tend to take reputation too seriously" for example, then there is a very obvious solution being suggested, namely to take reputation less seriously and promote that general attitude, or I guess to try to defend why you think it should be taken very seriously, or say why you think people aren't taking it as seriously as I seem to think they are taking it, etc
(I'm on mobile atm and a bit slow)
(In board -> on board)
 
And I'm on a immobile Automated Teller Machine :p
 
@betseg Mobile ATMs tend to have police chasing them.
 
@ATaco when you have time, can you fix up your Forte quine?
 
"Fix up"
 
The interpreter actually complies with the spec now, which means you need an END. On the other hand, you can now escape " in string
 
9:59 PM
:\
 
It loops infinitely without END
 
I'll see what I can do.
 
It will probably end up being shorter since you don't need to PUT quotes anymore.
 
technically you don't need to
because it works with the older version of the interpreter
and as long as it works with any version it's ok, just state the version
 
I may be able to golf it, so I might as well try.
This works
 
10:03 PM
@AdmBorkBork yeah sorry I finished the version that is present and right as i was typing more up the bell for class ending rang
The room is always quite after I post
I feel like i scare people away
@ATaco No it doesn't
 
Yeah, I just noticed.
 
Missing a "
 
THIS however works.
 
@ATaco Yep nice job
 
Forte isn't so bad once you know it.
 
10:08 PM
That is like saying Jelly isn't bad once you cut your hands off
5
hopes that I don't become the out of context quote of the day
 
It certainly isn't
 
Welp I just did
 
Once it gets to 0 it just keeps repeating 0 bottles of beer on the wall.
Just so you remember that you're out of beer I guess.
 
language idea: 2d language with no characters but mirrors. Instructions are defined by the directions taken by the IP
 
10:13 PM
Pretty sure that already exists.
THIS terminates, but doesn't handle the special cases for 1 and 0 bottles of beer.
 
I kind of want to make a language that can be polyglotted with piet, but It's not very high on my list of things to do
 
THIS supports special cases as well, but it's a bit hacky.
 
10:31 PM
Okay but why?
 
1 message moved to Trash
 
Well, he did just leave...
 
I did actually
 
It doesn't work if you just come directly back.
 
10:47 PM
5 minutes until he came back
 
@Pavel yeah i left for a while
 
@ChristopherPeart 5min != a while
 
we are measuring in TNB minutes.
Right?
 
no
we're measuring in universal minutes
of which there are 5
and together they sum to 300 seconds
 
ok fine
 
10:55 PM
cc @DJMcMayhem because he first quoted it, but he's prolly already seen it
 
So you've started playing?
 
The dark souls pic?
 
@Riker -1 painting that joke references idolizes sheep
 
lel
@DJMcMayhem yes
@Pavel no :( just found on imgur
it's in mail from amazon though
for xbox
 
Cool
The xbox version is generally considered better, unless you have an actual powerful gaming computer.
 
10:57 PM
@Riker I actually might play dark souls soon. I'm borrowing a friend's ps4 and he's got dark souls III
 
oh cool
 
A wine update not too long ago broke DS, so I'll probably be dual-booting Windows myself, actually.
 
But I want to play the last of us and/or Arkham Knight first, so I'm not sure if I'll have time to get around to it
 
I don't play DS
i want to
but can't
i cri
 
i cri soo hard, and got so far
but in the end, my tears don't even matter
 
10:59 PM
because you still died in DS
 
I wrote a really cheesy DS poem in the style of an elegy back in 8th grade
I might still have it somewhere
 
@Riker That reminds me, have you ever seen reddit.com/r/classic4chan/comments/3q2l5b/…
 
holy shit
tha'ts amazing
didn't onebox because it's really tall
 
@Riker I have seen that before, it's pretty great. Have you seen this one? Intergalactic diplomacy: if it's stupid but it works, it ain't stupid. imgur.com/gallery/S82QF
 
Is a Minsky machine enough to be TC? as long as it was not cheating
?
 
11:07 PM
Does anyone here play Dirty Bomb?
 
@ChristopherPeart I believe so
 
@JanDvorak YES!
 
The trick is to treat the register as a stack of n-ary digits
 
@DJMcMayhem yes it's glorious
@Pavel no, a friend of mine does tho
 
two stacks = tape
 
11:10 PM
if you want to play with him I can probably send you his steam
@DJMcMayhem seen this?
 
Nah, it's fine. I don't have much time rn anyway.
 
ah k
 
meaning you can do away with just three registers. Left half-tape, right half-tape, scratch space.
 
@Riker good lord
 
I'll take that as a no. :P
 
11:23 PM
@Riker Junkrat makes a new friend imgur.com/gallery/e0Jcr
 
> is he a turtle
I lol'ed
 
Junkrat is canonically the best character
 
yes
he has flaming hair
what else do you need to know
 
-1
Q: Check if there are two identical colums in a matrix

emmaI have a rectangular matrix T[1...M][1...N] and I need to check whether any columns are identical or not.

 
11:46 PM
TIL NSIA
 
11:59 PM
@DJMcMayhem My brother gets so annoyed when I say junk rat is op
 

« first day (2229 days earlier)      last day (2615 days later) »