« first day (2557 days earlier)      last day (2294 days later) » 

12:04 AM
@flawr I edited my question to include a detailed explanation of how to execute movement.
 
12:29 AM
@iPhoenix As I can see in the post, "as fast as possible" doesn't seem to enforce anything, and "random" has no distribution specification.
Define "significantly interfere"?
Congratz myself for getting >=5000 rep! Now I wonder why should I need the site analytic...
 
As fast as possible means that you shouldn't add code (like pauses, etc) to intentionally slow down your program unless it is too fast. And congratulations!
As for random, I'm accepting the
 
Unobservable rules.
 
errm
@user202729 what exactly do you mean?
 
"you shouldn't add code (like pauses, etc) to intentionally slow down your program ..."
Because there may exists some languages where sleep(1) is shorter than sleep(0.01). (arguments of sleep are in seconds)
 
I'll remove the clause
 
12:38 AM
"determinate"? "deterministic"?
 
Same Input should give the same output each time
 
Just look up the words in a dictionary, probably the same.
@iPhoenix "accepting the" ?
So... reopened.
What is "apply a vector to a direction"?
 
0
A: Sandbox for Proposed Challenges

Heeby Jeeby ManLongest Non-repeating substring Given a string as input find the longest contiguous substring that does not have any character twice or more. If there are multiple such substrings you may output either. You may assume that the input is on the printable ASCII range if you wish. This is code-go...

 
The direction itself is a vector, so you'd average the two vectors. I'll link a pseudocode implementation to my post to help clarify things.
@user202729 I modified my post to remove some of my ambiguities.
I accidentally pressed enter on the above sentence fragment.
 
1:27 AM
@Mr.Xcoder Rather demoralizingly, it was actually the first answer.
 
1:43 AM
0
A: Sandbox for Proposed Challenges

tfbninjaIs it CVC palindromic? Given a string of letters, determine if it is a palindrome of vowels and consonants. This was inspired by one of my little brother's kindergarten goals for the year, to be able to recognize CVC words (consonant-vowel-consonant, i.e. dog). aeiouy are vowels Example In...

 
I did a physics thing but I feel like it's wrong. Can anyone point out any errors in it?
 
2:00 AM
@DJMcMayhem any thoughts on this or that ↑ sandbox post?
 
@HyperNeutrino I'm wondering why your answer is different than geostationary orbit.
 
I'm wondering why the numbers are different. It makes sense that the other answer is right (and I'm probably going to delete mine since it doesn't appear right anyway) but like I'm pretty sure I did the math correctly so idk :?
 
Oh, duh.
The question is asking for acceleration of 1 G, but in real life gravity is weaker when you are out at geostationary orbit.
 
wait so which answer is wrong lol
or both
 
I guess it depends a little bit on what "1 G of gravity" means.
 
2:30 AM
oh okay
also when I try to trash files in Atom it errors and asks "is gvfs-trash installed?" (it is); any suggestions? I tried looking on the internet but it's just telling me how to install it, but I already have it installed.
huh the newer math answer gives an entirely different number as well... weird
oh that one includes the radius of the earth. still a big difference from mine tho¯\_(ツ)_/¯
 
One question is, does the 1G mean the amount due to the centripetal force alone, or do they mean the combined centripetal + gravitational forces?
In the first scenario, you'd have 1G pulling you outwards and a little less than 1G pulling you inwards (because gravity is weaker further away), so you wouldn't actually feel very much acceleration.
 
That is a good question. I think I mentioned that in my answer IIRC but that does add a few more considerations because then you'd need to subtract the gravity of the Earth which introduces a few more things to the equation.
yeah
 
Geostationary orbit is incorrect as the problem is written because that is the height at which centripetal force = force of gravity, but both of those are less than 1G when you're that far away.
 
Ah true, I see. That makes sense.
 
@Downgoat thanks; didn't work though unfortunately
 
do you own the .Trash folder?
 
well I sudo chown'd it
so I should now
 
whats output if you run touch apple; gvfs-trash apple
 
no output
 
3:03 AM
odd
OS?
 
linux mint
ubuntu 14.04.1 or something like that
 
Please upgrade your Linux
 
i did? i thought
well i restarted my computer a few days ago and a lot of stuff's different now so i'm assuming that it upgraded or something like that. i ran the upgrade command and it didn't error and it reset/changed some of my workspace appearance settings so i thought it updated but apparently not
 
@HyperNeutrino Ubuntu 14 is called that because it was released in 2014
 
oh
wait is my computer even that old
i mean i don't think i ever upgraded my OS ever since I installed it lol
how should i do that though
 
3:13 AM
The latest Mint definitely runs on at least Ubuntu LTS 16, maybe even LTS 18.
 
i tried and it doesn't seem to do anything¯\_(ツ)_/¯
 
sudo apt update
sudo apt dist-upgrade
sudo apt install mintupgrade
mintupgrade check
mintupgrade download
mintupgrade upgrade
@HyperNeutrino Run ^ and press the y key when prompted
And then restart
 
btw make sure to not uninstall kernel when doing sudo apt update
 
@Downgoat How did you do that
That's not normal
 
hm ok i'll do that sometime thanks
 
3:17 AM
long story
 
actually i'll do it now and then restart later
W: GPG error: deb.torproject.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810
for sudo apt update
 
ಠ________ಠ
Well it looks like you have bigger problems then
 
o rip
 
Feb 21 '17 at 21:12, by Downgoat
@betseg speaking of package manager, NEVER do "apt-get install". It uninstalled my kernel ._.
 
2
A: GPG error, signatures public key not available TRIED A LOT

sмurfYou are probably affected by bug 1263540. I suggest you try: sudo apt-get clean sudo mv /var/lib/apt/lists /var/lib/apt/lists.old mkdir -p /var/lib/apt/lists/partial Remove any 0 lenght files in /etc/apt/trusted.gpg.d/ sudo apt-get update If it doesn't work restore /var/lib/apt/lists backed u...

 
3:19 AM
CMC: I wrote this code trying to optimize its source for some metric. Figure out the metric.
 
meh i'm probably switching computers in a few days anyway and my brother's going to use this one and my parents don't trust him with using linux so he gets to use windows :p
o ok thx
@HeebyJeebyMan most insanity induced?
 
@HyperNeutrino Just install GNOME if you haven't already and stick the Windows XP theme on it.
 
You do not need to be able to read haskell to figure out the puzzle. In fact even if you can read haskell the source is so obfuscated you would have a pretty hard time reading it.
@HyperNeutrino No, not quite.
 
@Pavel lol not going to trick anyone xd
besides idc i'm not the one using it¯\_(ツ)_/¯
 
Well, when you do switch, I reccommend installing Fedora
 
3:22 AM
@HeebyJeebyMan symmetry?
 
And immediatly running sudo dnf remove PackageKit.
 
Ah okay. Apparently the computer already comes with Linux installed but I don't know what version.
@Pavel ok but wait why
 
@Downgoat Not sure what you mean by symmetry but no it is not a form of symmetry.
 
Because PackageKit sometimes decides you don't need dnf and breaks it for you.
 
oh ok so instead you just delete package kit :P makes sense
hm tried the steps in the askubuntu thing but it still gives the same error
 
3:24 AM
Hint: What the program does is relevant.
 
@HyperNeutrino ¯\_(ツ)_/¯
If your home folder has it's own partition (like it should) you could also just reinstall Mint entirely.
Or install Fedora
 
@HeebyJeebyMan something about substrings?
 
Yes it is.
 
:D
optimizing for the shortest substring that shows up twice?
hm ok. again, since i'm switching computers soon, so i probably won't worry about it
and yes /home does have its own partition
 
@HyperNeutrino No but you are pretty close.
 
3:26 AM
hm ok i'll think about this a bit more maybe
actually no i have to go sleep now because french exam tmr morning :D fun
anyway gtg o/
and thanks for linux help :D
 
4:04 AM
Hey
 
Hi
 
Is my challenge good enough now, or still needs changes?
 
4:52 AM
@ManishKundu I recommend leaving challenges in the sandbox for at least three days, a week if you're unsure about it
 
5:08 AM
1
Q: Community Promotion Ads - 2018

Grace NoteIt's almost February in 2018, which isn't supposed to be the proper time to cycle these, but for this year it'll be once again, so we'll be refreshing the Community Promotion Ads for this year now! What are Community Promotion Ads? Community Promotion Ads are community-vetted advertisements tha...

 
> 2018 Community Promotion Ads for 2018
Pls edit while you still can
 
Haha, whoops
@Mr.Xcoder 2018 Community 2018 Promotions 2018 ads for 2018 that will appear in the 2018 year of our lord 2018
 
If Grace would also check our feature-requests...
 
 
3 hours later…
8:30 AM
-1
Q: Radiation Detector!

Jo KingA radiation-hardened program is a program where, if any character of the code is removed, the program will still function the same. For this question, we'll be writing a program that detects when it is irradiated. Write a program or function that, when any single character is removed, the result...

 
@HeebyJeebyMan Is that meant to be Wunnel code
 
8:54 AM
Nope
Hyper neutrino wad quite close
 
9:24 AM
an alternative to the default twitter ad that @GraceNote posted:
 
@flawr TBF, out favicon is missing a P.
 
@Adám it is probably too small to fit another one in
perhaps when you arrange them in a square?
PP
CG
 
9:58 AM
I am still trying to understand what the program does...
 
@user202729 What program?
 
HeebyJeebyMan's CMC.
Is ([]::[Char]) the same as ""?
 
@user202729 I think so, yes.
 
 
2 hours later…
11:56 AM
Is there any point in voting on community ads if they already got 6 votes?
 
@user202729 Nice meta question.
 
 
1 hour later…
1:29 PM
I just realized how cruel the Sandbox community ad is. It promotes putting bugs in a sandbox and squashing them with a hot iron.
 
@Sanchises I always wondered about that. How can a challenge have "bugs" anyway, and you don't "iron out bugs". You squash (sorry!) or remove bugs and iron out wrinkles.
@Mego ^ Shouldn't it say "Iron out its wrinkles." ?
 
@Adám I guess it's a joke, but I only realized that now. And regardless, I would imagine that ironing out wrinkles is hardly possible in a sandbox either (although I have never in fact tried ironing shirts - or programs - in a sandbox)
Really, a sandbox is no use to a programmer, unless it has a shell (in which case it's more likely a beach) [/noise]
 
@Sanchises I think sand actually would be an excellent surface on which to iron shirts, if it wasn't for the fact that it would render them dirty, thus necessitating laundering and re-ironing.
 
Although ironing in a sandbox sounds like something we'd do here.
 
@Dennis I fix (my programs') bugs in TIO, which is a sandbox.
 
1:43 PM
ಠ_ಠ TIO is more than just a sandbox.
 
@Adám I suppose dry monodisperse sand (i.e., no dust, only large particles) could work?
 
ಠ_ಠ
 
@Mr.Xcoder True; TIO has multiple shells, therefore it is a beach. QED.
7
 
@Adám Also, deadfish. (and a lot of different other animals, most not dead)
 
PPIT: Programming Puzzles and Ironing Tips
 
1:45 PM
This whole conversation should be tagged as "PPIT"
 
@Sanchises Yes, e.g. IronPython.
 
@Adám I feel a new esolang coming up.
 
@Sanchises Nooo…, what have I done‽
 
@Sanchises but it already exists and it's not an esolang
 
@Sanchises Iron Python is not an esolang ಠ_ಠ
 
1:49 PM
@Mr.Xcoder I see. But it's nothing like ironing a shirt in a sandbox, which is what programming in this esolang should feel like.
 
Oh, Triangularity is what you are looking for, in that case :P
 
Or perhaps Malbolge?
 
I'd rather have a language called Zoo. Here are the built-ins: 🐭︎🐹︎🐰︎🐯︎🦁︎🐶︎🐺︎🦊︎🐴︎🐮︎🐷︎🐻︎🐼︎🐵︎🐸︎🐲︎🦄︎🐱︎😸︎😹︎😺︎😻︎😼︎😽︎😾︎😿︎🙀‌​︎🐈︎🐅︎🐆︎🐀︎🐁︎🦏︎🐘︎🐂︎🐃︎🐄︎🐎︎🦌︎🐐︎🐏︎🐑︎🐖︎🐗︎🐪︎🐫︎🦍︎🐉︎🦇︎🐍︎🐇︎🐒︎🐕︎🐩‌​︎🐨︎🐿︎🦅︎🦉︎🦆︎🐓︎🐔︎🦃︎🕊︎🐣︎🐤︎🐥︎🐦︎🐧︎🐋︎🐳︎🐬︎🦈︎🐟︎🐠︎🐡︎🐙︎🦑︎🦐︎🦀︎🐚︎🐌‌​︎🐢︎🦎︎🐊︎🙈︎🙉︎🙊︎🎠︎♘︎♞︎🐽︎🐾︎🎠︎🏇︎🐀︎🐃︎🐅︎🐇︎🐉︎🐍︎🐎︎🐐︎🐒︎🐓︎🐕︎🐖︎🦓︎🦒︎�‌​�︎🦕︎🦖︎🦗︎🦋︎🐝︎🐞︎🐜︎🐛︎🕷︎🕸︎🦂︎🦗︎
 
I was thinking of a language which only has a flatten array command xD
 
If you want to have that authentic ironing-a-shirt-in-a-sandbox-full-of-fire-ants-and-they're-all-trying-to-kill-yo‌​u feeling, Malbolge is the way to go.
 
1:53 PM
@Adám I blinked and they turned from full color to monochrome and for a second I thought there was something wrong with my monitor.
 
@J.Sallé That escalated quickly, from just some bugs to fire ants trying to kill you.
 
My analogy with Triangularity is quite good: You write an inline program of ~20 bytes, then pad it accordingly in a triangular shape for 49 bytes (Iron the shirt perfectly, no crests, no troughs)... Then you realise you have to add 2 bytes to handle an edge case... Padding makes it 71 bytes (After Ironing the shirt, you realise it's dirty)
 
Hm, maybe I should start calling APL's monadic "Iron".
 
@Adám Is it just my browser, or there are some boxes in the middle?
 
@Mr.Xcoder True story. I find that it's much easier to iron in a new crease than iron it out again.
 
1:54 PM
@Mr.Xcoder I have two substitute chars in FQ/Win10
 
@Mr.Xcoder They're not boxes! These are obviously question mark animals.
 
I see ~10 boxes, and 2 question marks :P
 
@Sanchises have you ever read the documentation for Malbolge? The analogy will make more sense.
 
@Sanchises Adám rediscovered dinosaurs :O!
 
0/10 Partial support for Unicode 10.
 
1:56 PM
@Adám I think you mean □/10
 
@J.Sallé I know, I was commenting on the fact that you went from ironing a few bugs to Malbolge, which is indeed like ironing fire ants which have formed a raft on the steam water reservoir.
 
@Sanchises indeed
 
I wonder how the Unicode people feel, now that most people know them from "oh, those are the people that make emoji, right?" instead of making a standardized encoding that encompasses virtually all scripts used in the world.
 
@AdmBorkBork More like 🦛/10.
@Sanchises They totally did it to themselves with this nonsense.
 
Huh, I copied the half height box, lol
 
2:01 PM
🦛/�‌​�︎
 
> (IN: ∞ msg/s)
Apparently, our logging server receives all messages ever.
 
.oO(Why are there two replacement characters between the emojis and boxes?)
 
@mınxomaτ Or it received a message instantaneously (t=0s), if the definition 1/0=Inf is used.
That, or your server uses the rare IEEE 754 8-bit floating point representation.
 
An APL built-in get's its own emoji:
 
@Adám that's so good
 
2:08 PM
1 sign bit, 2 bit exponent, 5 bit mantissa, quarter precision float. One wonders why that's never used.
 
@J.Sallé It's proposed for Unicode 11.
 
@Adám here's hoping it gets accepted
 
At least the new main posts poster was honest that it was a homework problem ....
 
@Adám Isn't it Unicode 10 forever now, with regular updates? Unicode 10 Creators Update...
 
we seriously need an ad for esolangs
and the mobile app
 
2:10 PM
-1
Q: I have zero experience coding in Python or anything else and need help with this homework problem

C. SpiesCreate a program that reads in three separate real numbers from the user. Then, the program should ask the user to choose one of three options: (1) addition, (2) multiplication, or (3) subtraction. Depending on the option chosen, the program should print out the appropriate calculation between e...

 
@NewMainPosts Seriously, you should not post "questions" that had been closed or deleted. (unless it's unclear)
 
...Never mind, apparently ¼ precision floats exist since April 1st 2017, github.com/sdd/ieee754-rrp
2
 
HQ precision should be enough for everybody.
 
CMP: what do people want in a "need help to make a mobile app for PPCG" ad
 
@Dennis I actually quite like QQ, it's like a boolean but with error codes.
 
2:20 PM
APL-emoji translate table: ¨:😶; :😮; :😯; :😗
 
half-quarter-quarter precision...
why
 
@mudkip201 To save space.
 
also, I refuse to believe that that is an actual thing. "pointless numbers"
 
@mudkip201 It's a real thing. I could show you many pointless numbers, if you like!
 
...
do they actually call them that?
 
2:24 PM
@mudkip201 Sure! There's also pointless strings, pointless arrays; there are entire software packages that are completely pointless!
 
lol
 
(hint: look at the publication date of that rfc)
 
oh derp
 
The preceding messages by me were also completely pointless.
 
yes
 
2:25 PM
I'll show myself out.
 
ಠ_ಠ
 
CMS: Is the gradient a column or a row vector (-field)?
 
What is CMS? Contest Management System?
 
chat mini survey:)
 
... should it be important?
 
2:37 PM
I have seen different conventions, but I think only one of them is "natural" even tough it is the more cumbersome to actually use:)
 
CMP (poll) is more popular I think
 
One could argue that CMS was used before CMP:)
 
CMS: CMP or CMS?
 
CMS of course, not gonna start new things :)
 
2:41 PM
insert xkcd about standards
 
CMS often means "Community Managers" here, and "Contest Management System" exactly once by NewMainPosts.
 
@Dennis CMP!
 
@user202729 the first are CMs
 
Because SE chat search is case insensitive.
 
It is insensitive in general, constantly hurting my feelings.
 
2:49 PM
Does SE store old user names?
 
@user202729 Yes. That's how they found DPR
 
@Dennis uh, they don't mean the same thing?
"survey" doesn't necessarily mean "poll"
 
What is DPR?
 
@user202729 Dread Pirate Roberts
 
Dread Pirate Roberts
ninja'd
 
2:52 PM
...guys get your abbreviations together
 
So...? I don't understand.
 
> Ross William Ulbricht (born March 27, 1984) is an American former drug trafficker and darknet market operator, best known for creating and running the Silk Road website from 2011 until his arrest in 2013.[2] He was known under the pseudonym "Dread Pirate Roberts".
 
@user202729 the guy who made silk road. He asked on SO about connecting to tor via curl on an account with his real name, then changed his nickname to "frosty", which he used in the silk road context
 
@Sanchises "After ratification of this standard by the IEEE, all official communication from the Institute will in future no longer use the term "Integers". Since this set of numbers does not contain a decimal point, this dated terminology will be replaced with the term "pointless numbers"."
4
 
This sandbox challenge seems to get more upvotes than I expected. Any review?
 
3:07 PM
@flawr No pun intended (but not avoided either): what your point?
 
@Sanchises this here -> .
 
big point
 
That's mine, actually. But I meant, why did you quote that?
 
@totallyhuman I've got a bigger one, here: •
 
@Sanchises found it hilarious :)
 
3:12 PM
⬤,
 
3
Q: Diluted Integer Sums

AdmBorkBorkA positive integer can be diluted by inserting a 0 between two bits in its binary expansion. This means that an n-bit number has n-1 dilutions, which are not necessarily all distinct. For example, for 12 (or 1100 in binary), the dilutions are 11000 = 24 ^ 11000 = 24 ^ 10100 = 20 ^ In ...

 
3:38 PM
1
Q: Solve the game Hitori

Weijun ZhouIntroduction Write a solver for the game Hitori using least bytes. Challenge Your task is write a solver for the game Hitori (ひとり, the word for "alone" in Japanese; The meaning of the game name is "Leave me alone"). The rules of the game is as follows: You are presented with a n-by-n grid co...

 
 
1 hour later…
4:39 PM
Does anyone know where sudo apt-get install ffmpeg puts the headers?
 
don't you need ffmpeg-devel for the headers? (I remember needing the headers for something, but I forgot what, and how I got them...)
 
@Neil Thanks.
 
well, I could be wrong, I have a memory like a colander
 
Wait, no. It doesn't exist.
@Neil Any of these jog it?
 
For apt-get, it's ffmpeg-dev
 
Anonymous
4:45 PM
@Adám I didn't make the ad - I just reposted it :P
 
I've a time-critical application.
 
ffmpeg-devel is for RPM
 
@WeijunZhou Doesn't work. :-(
 
@WeijunZhou ah, so my memory isn't a complete failure then
 
Anonymous
@wizzwizz4 They're split up. Try sudo apt install libavcodec-dev
 
4:46 PM
@Mego Ok.
Thanks.
 
Then you have a lot to install ...
Good luck
 
@Downgoat Shouldn't the sandbox ad say "wrinkles" instead of "bugs"?
 
Anonymous
Just install what you need
 
Anonymous
Alternatively, build from source
 
It works!
 
4:48 PM
@Adám You don't like mixing metaphors?
 
But now the linker's borken.
Undefined references everywhere.
 
@AdmBorkBork Not particularly.
 
It's a perfectly cromulent phrase.
 
Does anyone know what this means?
> Package libavfilter was not found in the pkg-config search path.
 
It means you don't have the corresponding dev package installed.
 
Anonymous
4:54 PM
sudo apt install libavfilter
 
@Mego I tried that.
 
Anonymous
-dev?
 
It compiled!
sudo apt-get install libavfilter*
I'm going to have to clean up afterwards.
 
don't use asterisk like this, for god's sake
 
I know.
I got desperate.
 
4:55 PM
You just need libavfilter-dev
 
gosh, you've made a mess
 
0
A: Sandbox for Proposed Challenges

Nathan MerrillLearning your strengths and weaknesses king-of-the-hill Fighters have a unique, random Strength (between 1 and 1000) When two fighters fight, the stronger one wins. Your goal is to accurately guess your fighter's Strength. Gameplay: We start by randomly ordering all 1000 fighters. Each figh...

 
5:18 PM
any feedback for this or this?
 
@NewSandboxedPosts I wonder how well a binary search would work (ignore opponents previous guesses and repeatedly cut search space in half purely based on whether you win or lose)
That kinda relies on the other bots guessing well though
I really like this challenge idea
 
Does anyone know what -pedantic does for C++/G++?
 
$ man g++ | grep "\-pedantic$" -A28
-pedantic
Issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden
extensions, and some other programs that do not follow ISO C and ISO C++. For ISO C, follows the
version of the ISO C standard specified by any -std option used.

Valid ISO C and ISO C++ programs should compile properly with or without this option (though a rare
few require -ansi or a -std option specifying the required version of ISO C). However, without this
 
@WeijunZhou After reading that I still couldn't tell if pedantic enforced the original C++ standard or not, it seems to not.
 
Anonymous
5:32 PM
@Pavel Short version: it makes the compiler complain if your code isn't strictly conforming to the ISO standard (e.g. if you use compiler extensions)
 
Ok. I'm currently compiling with g++ -Wall -Wextra -Werror -pedantic -std=c++17, are there any other useful flags I should enable?
 
you dont have to use pedantic, you can use g++ extensions
 
CMP: -pedantic or no?
 
-pedantic if the code will be used across platforms/compilers, no if not
 
@Pavel -pedantic and every warning possible but if it points out a problem with my code I silently drop that flag.
 
Is -std=gnu++2a a bad idea?
 
are we in 202a
 
@Mego ;-; that's a lot of flags
 
@betseg No. It's talking about 192a.
 
Anonymous
@Pavel Not really, but the standard is still under construction, so it's not yet stable
 
5:49 PM
That is strange. I just got the "@" from Pavel in my inbox. Is there always such a long delay?
 
15 mins
 
Yeah ... 15 mins.
 
Anonymous
@WeijunZhou There's a setting you can change: go to prefs on your chat profile and scroll down
 
Anonymous
 
TIL
 
5:57 PM
I see, that you.
 

« first day (2557 days earlier)      last day (2294 days later) »