> "Conquered by Clippy" - Christie Aackerlund doesn’t need help with anything. So when the world’s biggest technology company offers to fly her to a remote location and investigate an alien artifact, all by herself, she’s all like “I’ll do it!” > But the artifact isn’t what it seems, and soon an overly helpful giant living paperclip is getting her all bent out of shape. > Conquered by Clippy is a 4000 word short story featuring sexual situations with digital assistants. It’s for super mature audiences only.
@MyHamDJ No effort at all. I had an FX 8350 around so I used that. A generic GTX GPU and the MoBo is a Gigabyte USB3 something something (generic, too). I used the Yosemite Niresh Distro.
@MyHamDJ If you're too lazy to configure your installation disk, you can use iAtkOS, they will create a personalized disk for you. That costs $24 or so.
What exactly are the rules around oneboxing here? I know there's the upload button, but if I paste a link, what determines if the pic shows up in here?
@MyHamDJ If you upload an image, it's automatically oneboxed. You can paste a link to an image and it will onebox if it has an image file extension, or if you force it to onebox as an image by prepending !.
> Leonard Delaney writes from the heart instead of wasting time with research or experience. Living a clean lifestyle has allowed him to focus on doing good in school, honing his writing, and tinkering with technology. He lives well outside of Toronto with his mother and her cat while maintaining a long-distance relationship with his girlfriend, Misty (aka Éowyn16), who no longer responds to his direct messages, but he remains hopeful for a future with.
@mınxomaτ So if you have a Netflix account you don't actually have access to all of the content on Netflix? I thought that was the point of having an account. :(
I live in the US, and it's never been an issue for me, but I've always thought that's really stupid. That certain media is only available in certain countries.
It's just a money thing. They want to be able to control where their product is sold, and certain regions will watch(pay for) more of certain types of content.
Input
A integer n ( ≥ 1) and a digit d (an integer such that 0 ≥ d ≥ 9).
In either order; from stdin or parameters or whatever; to a program or function; etc.
Output
The integers from 1 to n inclusive whose decimal representations contain an even number of ds.
In any standard format, etc. In...
Python
My aim is not to write beautiful code as such, but instead code beautiful to Code Review.
Fizzy.py:
import argparse
import json
from sympy import ntheory
def Fizzy(ends, config):
returns = []
for number in range(ends[0], ends[1] + 1) if len(ends) == 2 else ends:
strin...
Input
A integer n ( ≥ 1) and a digit d (an integer such that 0 ≥ d ≥ 9).
In either order; from stdin or parameters or whatever; to a program or function; etc.
Output
The integers from 1 to n inclusive whose decimal representations contain an even number of ds.
In any standard format, etc. In...
[title TBD]
code-golf
Input
An integer n between 1 and [currently 1652; TBD at the time of posting the comic], inclusive.
Output
The XKCD title for comic number n. (This is the text written above the comic panel, i.e. the text content of the <div id="ctitle"> element, not the title-attribute...
I have the following code:
SortedDict = (list(OrderedDict((sub[0], sub) for sub in sorted(zip(moneydict, winningsdict, bettingdict1, bettingdict2, bettingdict3, bettingdict4, bettingdict5, bettingdict6, bettingdict7, bettingdict8))).values()))
with
moneydict, winningsdict, bettingdict1, betti...
I have the following code:
SortedDict = (list(OrderedDict((sub[0], sub) for sub in sorted(zip(moneydict, winningsdict, bettingdict1, bettingdict2, bettingdict3, bettingdict4, bettingdict5, bettingdict6, bettingdict7, bettingdict8))).values()))
with
moneydict, winningsdict, bettingdict1, betti...
The powertrain of a number is a concept by John Conway (who is also notable for making Conway's Game of Life, but that's not the point). It is defined as so:
For any number ..., the powertrain of the number is ... (i.e. every 2nd digit, from right to left, is a power of the digit before that).
...
So this just happened:
This is the linked message. For those that can't see it, the text was "I want that in my mouth".
I was talking about food. Specifically, the previous message:
Does somebody have a grudge? Was it an accident? Did cosmic rays hit the servers just right to cause that?
@ZachGates Yes, it's ok to post your golf even though someone else posted a minute faster with a slightly longer solution. It would be presumptuous to conclude that the person who posted right after you copied your code. I don't find it ok to lay claim to a solution by FGITW'ing the straightforward code that most python golfers would quickly come up with. For problems like this one, 2 bytes can be the difference between a mediocre golf and a solid golf.
It's important for PPCG that we encourage golfing over posting speed, and a suspicious attitude to those who post later does the opposite.
This code is supposed to print the char '-' 20 times.
But currently it's not working well.
int i, n=20;
for (i=0; i<n; i--){
putchar('-');
}
Fix this code with minimum amount of change.
Calculate the volume of an object
Related, but different.
The volume of a sphere can be determined using a single number, the radius (r)
The volume of a cylinder can be determined using two numbers, the radius (r) and the height (h)
The volume of a box can be determined using three numbers, th...
There's room for other optimizations, too. I've added support for "j-vectors" so results from iota function are deferred and arithmetic on the result will fold the constants into the iterator.
Yes, fastest algorithms I can understand.
The execution also has support for idiom-replacement to some degree.
So you could test a shorter-painfully-slow program by reimplementing portions with longer,faster code without touching the original definition!
This is where it might turn out to be a terrible idea.
But anything not a paren, a number or left-arrow is an identifier.
So, something like a+b is an identifier.
It can be assigned a value, it which case it won't be parsed and executed piecewise.
Identifier lookup falls back to prefix-matching which it uses to carve up the longer, undefined "name".
So, once I add thing like verb-trains from J, you will be able to substitute specific trains with optimized versions.
This should have the potential to make very difficult to read programs, because identifiers can be any Unicode character except the above mentioned or space tab newline.