« first day (1934 days earlier)      last day (2895 days later) » 

7:00 PM
30
Q: Why is "pineapple" in English but "ananas" in all other languages?

Clever MashaWhy is "pineapple" in English but "ananas" in all other languages?

 
It's not ananas in all other languages.
 
It's nanas in Indonesian, it's piña (as in piña colada) and ananás in Spanish (source: see above link), but in English: pineapple
 
pynappel in Afrikaans
 
Fair enough
 
I wonder if English got it from there or the other way around?
 
7:03 PM
other way around
:P
 
yeah, pine apple
 
huh
anuses and pineapples should never be close nor related
 
I heard it was a corruption of "pain apple" because of the pain in the tongue from eating too much of it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ PowerShell, 74 bytes $args|%{while('1'*++$i-notmatch'^(?!(..+)\1+$)..'){}$j*="$i*"*$_+1|iex};$j
 
Anybody remember the fruit and the cannibals joke?
 
7:04 PM
@TimmyD o_O is the prime finding regex the shortest way to do it?
 
2
Q: Discrete Convolution or Polynomial Multiplication

flawrGiven two lists of integers, your submission should calculate and return the discrete convolution of the two. Interestingly, if you consider the list elements as coefficients of polynomials, the convolution of the two lists represents the coefficients of the product of the two polynomials. Defin...

 
@VTC Status Vitsy?
 
May 13 at 12:39, by TimmyD
user image
 
@zyabin101 Discontinued until further notice.
 
@VTCAKAVSMoACE D: Why?
 
7:05 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah. Anything else is going to be a Sieve or buried under [math]::Function() calls
 
@zyabin101 For Laura.
 
DD:
 
After I finalize Laura to a stable point, Vitsy will get regular updates again
 
@TimmyD wow. how do you use it to generate primes with it?
@VTCAKAVSMoACE who is laura? o_O
 
@CᴏɴᴏʀO'Bʀɪᴇɴ This.
 
7:06 PM
@VTCAKAVSMoACE Nope
 
@VTCAKAVSMoACE runs code
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ_ಠ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It requires input in unary, so I dynamically construct a string of '1' multiplied by ++$I ... on the very first pass, $I is null (aka zero), so that pre-increments to 1 and away we go
 
Three men who were lost in the forest were captured by cannibals. The cannibal king told the prisoners that they could live if they pass a trial.

The first step of the trial was to go to the forest and get ten pieces of the same kind of fruit. With that, the three men went their separate ways to gather fruits.

The first one came back and said to the king, "I brought ten apples."

The king then explained the trial to him. "You have to shove the fruits up your butt without any expression on your face or you'll be eaten."
10
 
@TimmyD hm. interesting.
 
7:07 PM
whoops
missed my $j initialization
it needs a $j=1 at the front, else $j*=... will always be zero
 
@VTCAKAVSMoACE XD
 
79 bytes ... $j=1;$args|%{while('1'*++$i-notmatch'^(?!(..+)\1+$)..'){}$j*="$i*"*$_+1|iex};$j‌​
The regex as a prime generator (simply wrapped in a for loop) --
PS C:\Tools\Scripts\golfing> for(){while('1'*++$i-notmatch'^(?!(..+)\1+$)..'){}$i}
2
3
5
7
11
13
17
19
23
29
...
 
@VTCAKAVSMoACE You HAVE to put it up in a book.
 
The main benefit to that method is it's an unbounded generator. Whereas a Sieve, you'd need an upper bound, so we'd have to have additional logic to figure out the input's upper bound.
 
7:19 PM
@zyabin101 Not my joke. That's why I wondered if others had heard it.
 
> Not my joke
Then where did you find it?
 
I think the best Sieve I've seen is somewhere around 90 bytes
 
@VTCAKAVSMoACE yeah, I 've heard it before a little different
 
@zyabin101 I heard it at some point. ¯\_(ツ)_/¯
 
@zyabin101 ^^
 
7:20 PM
(in PowerShell, that is)
 
@Maltysen Where?
 
Is there an API query to search for downvoted PPCG questions? I want to find an old question and all I remember about it was that it was downvoted and the writer left in a huff
 
@Sherlock9 With a negative score?
 
Yeah
 
@zyabin101 friend
 
7:21 PM
@Sherlock9 You could just sort questions by votes and go to the last page?
 
@Sherlock9 you don't remember anything else?
 
You can use the data explorer to query the data dump.
 
@Sherlock9 It wasn't the user who wrote a meta post about leaving?
 
Not really. I know the question writer was from elsewhere on PPCG
@trichoplax Could be
It was a pretty big huff IIRC
 
better question: if that is all you remember, then why do you care?
there's got to be some other information that is linked to that question
 
7:24 PM
Because I feel bad for the guy and that his question kind of got torn apart
And I wanted to look at his question and see if it was worth salvaging
 
how long ago was this question?
was it simply the size of his "huff" that made it memorable?
 
Do you remember if it was a golf?
 
Two months ago, I think. And we were kind of tearing it apart like we do many non-sandboxed posts and he got quite offended. He might have made a meta post about it, let me check
 
The meta post about leaving was in September so you're probably thinking about someone different
2 months ago, 10 questions per day - that should only be 60 questions to sift through... :)
Oh wait - 600...
 
-19
Q: It's 2015 where's my hoverboard!

Kevin KostlanMake a program that prints out: "Back to the Future" (no quotes). The source code must contain "It's 2015 where's my hover-board!" over and over again, with a minimum of extra characters and syntax. No other words should appear in the program. Exact spelling, caps, punctuation, etc, of this phra...

 
7:29 PM
Who upvoted this??? — Jan Dvorak Jan 12 '15 at 18:23
 
@VTCAKAVSMoACE bash for you:
while sleep 10;do fortune -o >> t.txt; echo -e "\n\n" >> t.txt; done
 
@EᴀsᴛᴇʀʟʏIʀᴋ What does it do? :3
 
@EᴀsᴛᴇʀʟʏIʀᴋ ∞ offensive fortune! \o/
 
-73
Q: Single layer neural network

user414981For the implementation of single layer neural network, I have two data files. In: 0.832 64.643 0.818 78.843 Out: 0 0 1 0 0 1 The above is the format of 2 data files. The target output is "1 for a particular class that the corresponding input belongs to and "0 for the remainin...

 
@zyabin101 what he said
 
actually, that question can be beat:
-268
Q: A New Code License: The MIT, this time with Attribution Required

samthebrandUpdate: January 15, 2016 Thank you for your patience and feedback. We're going to delay the implementation for now - we'll be back soon to open some more discussions. Important context for those arriving from reddit and slashdot links: The status quo is not "public domain"; attribution i...

Most downvoted post in all of SE, I believe
 
@NathanMerrill Dam son
 
what is +/-?
 
but 103 stars?
@CᴏɴᴏʀO'Bʀɪᴇɴ +167
 
Actually, if I remember the username correctly, he might have come back to PPCG and thus I should probably not continue this. Let me do a little more digging though
 
7:33 PM
 
@EᴀsᴛᴇʀʟʏIʀᴋ huh
 
I'll make a more flexible query with search narrowing by tag tomorrow.
 
Thanks. And username if you can. I might recognize that
 
wao fif star so wow
 
Hm, it might have been his first (and possibly last) question on here too
Dagnabbit. I wish I remembered more
 
7:38 PM
@Sherlock9 Okay.
 
Thanks a bunch for the help, everyone :D
I should really get to studying while I can. Goodnight
 
@VTCAKAVSMoACE I am a convert....
 
@EᴀsᴛᴇʀʟʏIʀᴋ wat
 
@EᴀsᴛᴇʀʟʏIʀᴋ wat
 
@VTCAKAVSMoACE to the glory of fortune
I let it run for a while without the -o switch, and then read them all.
@VTCAKAVSMoACE is there a way to specify not -o?
 
7:48 PM
-!o?
 
HII
 
HUI
 
I want to program something but I don't know what. :/
Ideas?
 
Array parsing for cheddar.
@Downgoat
 
7:55 PM
@Bálint Deadfish or Brainfuck or 3var in your favorite lang.
zyabinVI has Deadfish in Python right now.
 
And is going to have a blog soon.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ wai list no on cergos
 
7:57 PM
@mınxomaτ Now I"m brute-forcing controlled gates.
 
I try brainfuck in JS
 
@CᴏɴᴏʀO'Bʀɪᴇɴ IK
 
compile BF to js
 
But didn't just already study?
@CᴏɴᴏʀO'Bʀɪᴇɴ o_O
 
That's not actually that hard.
The reverse is much harder.
 
@PhiNotPi It's impossible pretty much
 
if not impossible
(mostly)
 
-1
Q: Encryption and Decryption using 2*2 Matrix by modulus 26

Bilal Aliif user input a password a-z it will store as a=0 b=1 c=2 . z=26 and make them in matrix now we take any 2*2 matrix as a key and multiply with user input password which is now stored in form of matrix this is encryption now decry-pt this code using modulus 26 approach http://crypto.interactiv...

 
8:11 PM
How big is the maximum sized array in javascript?
 
@mınxomaτ Controlled-Hadamard: SHTCtHs (where lowercase signifies the "dagger" and the C is the CNOT gate).
 
@Bálint large
 
Compare that to their version.
 
I'm implementing brainfuck, and the size of the tape is not specified on the esolang wiki
 
8:13 PM
lol
 
@Bálint 256?
@VTCAKAVSMoACE >_> y u do this
 
@EᴀsᴛᴇʀʟʏIʀᴋ Without -o, it never outputs offensive.
 
you leave/come/leave/come like 5 times in a row
@VTCAKAVSMoACE oh cool
 
@Bálint it's 30000
 
8:14 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Thanks
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you never did anything with SeraisToi?
 
I never got around
 
okay
And jolf quine?
 
8:18 PM
q
2
A: Golf you a quine for great good!

Cᴏɴᴏʀ O'BʀɪᴇɴJolf, 4 bytes Q«Q« Q double (string) « begin matched string Q« capture that This transpiles to square(`Q«`) (I accidentally did string doubling in the square function), which evaluates to Q«Q«. Note that q is the quining function in Jolf, not Q ;).

 
@CᴏɴᴏʀO'Bʀɪᴇɴ wtf is this....
nvm
 
@EᴀsᴛᴇʀʟʏIʀᴋ didn't you read the readme? :p
 
yeah, but wtf did you do to that code
>_> need a better implementation then defining each number individually.
nice readme though
 
thanks XD
that's the point
I want to get it on code review :3
jk
 
That looks amazing
Why?
 
8:26 PM
>_>
@CᴏɴᴏʀO'Bʀɪᴇɴ r/programminghorror
 
can I post to reddit r/programminghorror?
 
That is where awful/disturbing code goes.
 
just link me
and link the repo in the thing
 
8:27 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ >_> I may have already done it.
And no, reddit says anonymity.
 
But past.ee is.
@CᴏɴᴏʀO'Bʀɪᴇɴ sorry.
 
it's okay XD
link me to the thingy
 
@CᴏɴᴏʀO'Bʀɪᴇɴ i'm really sorry about that. You want me to delete and you repost?
 
no
I don't have reddit
 
8:29 PM
Please tell me you did that with a generator
 
idk
@CᴏɴᴏʀO'Bʀɪᴇɴ ?
 
@Bálint I did.
 
oh good
@VTCAKAVSMoACE can i borrow your teacher?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Which repo?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's an amazing...util I guess, 15/10
 
At least as useful as JQuery
 
just about a bit more
 
Why would I write array[777], when I can write array.seven_hundred_seventy_seventh
 
8:36 PM
Is it 1 indexed?
Otherwise I'd write array.seven_hundred_seventy_eighth...
 
array.seven_hundred_seventy_seventh_plus_one
 
Now the word eighth looks wrong. How's there a hard t without it being eightth?
 
@mınxomaτ I also really screwed up the sqrt(T) gate.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I replied to your Laura issue.
 
8:39 PM
@PhiNotPi How so (I didn't look at it yesterday)?
 
In the process of the controlled Hadamard, I realized that I needed more samples points on the sphere to make sure that it was actually rotating properly.
So my solution worked identically to theirs for the provided input, but fails on others.
 
@trichoplax Eighth is just a weird word in general
 
I wonder how screen readers pronounce it
 
OrdinalJS is a treasure.
 
8:44 PM
It's really the array.last that makes it a true gem.
Just wouldn't feel complete without it.
 
that's great
 
Now, create a util, wich allows you to access array elements using greek numerals
Or with roman numerals
Or with unary numbers.
array[10]->array.0000000000
 
all of them :p
 
lets say you are able to move stickers around on a rubicks cube
how many distinct rubicks cubes are there?
 
8:53 PM
(where two cubes are equivalent if one can be "solved" into the other)
 
too many
 
\o/ @RenderSettings you're back!
 
@RenderSettings @zyabin101 really enjoys saying hi to you.
 
@NathanMerrill On a what size rubik's cube?
 
8:55 PM
i'm always already back
 
@EᴀsᴛᴇʀʟʏIʀᴋ i noticed
 
@RenderSettings don't be grace note
 
that's no fun
@NathanMerrill a lot?
 
8:57 PM
I have an 8x8x8 rubik's cube for example
 
@HelkaHomba Can you re-upload this world?
 
@NathanMerrill I'm in a bit of a rush so I can't calculate it out but there are calculations for the total legal permutations of the cube. I'd start there along with all possible states
 
oooh, that's smart
 
You can rotate each edge or each corner to get an invalid state but it's hard to say if one invalid state can be solved to get a different invalid state
 
ohai @HelkaHomba
 
9:01 PM
Hi
@VTCAKAVSMoACE I'll try to get around to it, if I still have it
 
ಠ_ಠ
A+ for spelling, Bio teacher
 
@NathanMerrill If you can learn to solve a 4x4x4 I believe you can use the same principles and algorithms in any higher order cube. I solve my 5x5 and 6x6 using just the stuff I leaned from solving a 4x4
 
so, with randomly placed stickers, there are 101097362223624462291180422369532000000 configurations
43252003274489856000 of them are solvable
 
Ok?
I don't advise brute forcing if that's where you're going
 
9:07 PM
@HelkaHomba some of the parity conditions might change on higher order even cubes
 
so, there are 2.337403e+18 different possible distinct cubes
I think
 
@mınxomaτ So, I found a 15-gate version that actually works like their 17-gate version.
 
(of those, only 1 of them is solvable)
 
@NathanMerrill that's assuming that invalid cubes can't be solved into other invalid cubes
 
@Poke no, its assuming that invalid cubes have the same number of duplicate states
 
9:09 PM
@PhiNotPi Awesome.
 
ah
only skimmed your number there
 
@Poke That what I thought for a 6x6 but you can view it in a couple different ways as a 4x4 so there may be more parity errors but there are more ways to fix them. Anyway, I've never run into a 6x6 issue I couldn't solve with 4x4 algorithms
5x5 might technically be the first "generalizable cube" though, not 4x4, since it's not exactly the same
 
@HelkaHomba Thaaaaanks.
 
can you boil it down further to the 2x2?
 
I've been getting into time lapses recently, wanted to time laps a binomial distribution.
 
9:11 PM
2x2 technically has the same parity
 
@EᴀsᴛᴇʀʟʏIʀᴋ I really do. :3
 
Of course, I could do that with dropper randomizers. ¯\_(ツ)_/¯
 
oh, so 5x5 must be tough then
 
hwo about 2x30
 
higher order cubes are usually about solving the centers of each side, the edges, and treating it like a fat 3x3 iirc
 
9:13 PM
I actually consider the 5x5 easier than the 4x4 since there's one potential issue with the 5x5 that I don't know how to solve, so I have to scramble the cube and try again...and two or three such issues with the 4x4.
Probably worth noting that I never looked up algorithms for the 4x4 or 5x5.
 
yeah even ones tend to have an extra step or two since the centers aren't constant
 
If any of you want to work with me, we have an opening.
 
@Poke Well, I always solve a 4x4+ by first forming it into a 3x3, then solving as if it were a standard 3x3 (well, ignoring parity issues). And solving the corners of a 3x3 is the same as solving a 2x2.
 
> We need someone well versed in Visual Studio 2015 using C# + Microsoft SQL
Well, that's not me. :P
@HelkaHomba That's how I do it too.
 
I learned the 3x3 before I even thought about a 2x2 so I guess I haven't even considered that... I'll have to look into it
 
9:16 PM
@El'endiaStarman There's only 4 you need to remember
For an NxNxN Rubik's Cube, each move has the form:

	([UDFBRL])((?:-?[0-9]+)?)(\(-?[0-9]+\)|['"]?)

([UDFBRL]) matches the face: U = upper, D = downward, F = front, B  = back, R = right, L = left.
((?:-?[0-9]+)?) matches the number of layers extending into the cube from the face to rotate. If empty, 1 is implied.
(\(-?[0-9]+\)|['"]?) matches the number of clockwise quarter turns to make: empty = (1), ' = (-1), " = (2).
Formulas surrounded by brackets followed by a number, \[...\][0-9]+, are performed that many times.
^ my cheat sheet
 
Well, my point was that beyond learning how to solve the 3x3, I figured everything else out myself.
 
@Downgoat what is Rennet? (in the cheddar-lang organization)
@Rainbolt lol nice flyer
 
@EᴀsᴛᴇʀʟʏIʀᴋ Rennet is a collection of JavaScript based interpreters, managed by @MarsUltor.
 
@Rainbolt that sounds appealing
 
@zyabin101 okay
 
9:18 PM
They also added UGL to the collection.
I don't know why Downgoat forked Rennet, maybe to add Cheddar to the collection or for bug fixes.
 
@zyabin101 what types of interpreters?
 
@Rainbolt Your campus seems a bit out of date
 
@CᴏɴᴏʀO'Bʀɪᴇɴ shrug
 
huhu
 
Nvm, I didn't look at the image very hard lol
 
@CᴏɴᴏʀO'Bʀɪᴇɴ For ITML's main page?
 
I've also never heard of a work place called a "campus"
Except when I worked at a university
 
9:30 PM
@Cyoce someone casted a wrong spell!!
 
Yeah, that's not as readable as I'd like
 
@CᴏɴᴏʀO'Bʀɪᴇɴ is it bad if I comment on your horizontal rules that aren't self terminating
just to be pedantic
 
XD
it's going to be inserted dynamically
 
dramatically
 
@CᴏɴᴏʀO'Bʀɪᴇɴ no, it's a lie
@Poke yes
 
9:31 PM
@EᴀsᴛᴇʀʟʏIʀᴋ There are lots of other expansions too.
 
i see no itml code
 
it's what it will be
 
@zyabin101 yeah.. fun to click
 
> login - ohai
 
>_> when you make a stupid mistake and execute a command in the wrong directory.
 
9:35 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Which command?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Use maybe...
 
@zyabin101 touch .bash_profile
 
@CᴏɴᴏʀO'Bʀɪᴇɴ >_>
 
I'll fix it later
post an issue about it
or a pr
 
It's even worse than I thought!
Those are tabs mixed with spaces!
 
9:59 PM
What icon is the best for "installation download": fontawesome.io/icons
 

« first day (1934 days earlier)      last day (2895 days later) »