A while back I wrote a simple little PHP script that searches the Steam community market for any TF2 strange weapons with strange parts on the first page of results for that weapon type. It works by retrieving the listings for each weapon using curl, runs a regex to retrieve the internal JS varia...
So between 216 colors, we can have ASCII and then some, meaning we can make an extension of Piet that transpiles to a character encoding and then to [given language]
Introduction
hackertyper.net is a website that simulates "hacking" (as the media portrays it) by outputting complicated code from the crypto section of the Linux kernel onto the screen as you type at a rate of 3 characters per one inputted.
Challenge
Your program/function should either accept ...
@El'endiaStarman Okay. Sorry, I forgot to. I'm generating all pairs of integers that satisfy condition P below 100 (can be changed), and am looking for a short interesting condition
If A,B, and C all extend D, and I want to make different "view" classes, where I display a view based on the subclass of D, what's the design pattern for that?
I wonder how you'd do this checking in Haskell? Take the infinite list of every b and a single a until it hits the condition, then move to the next infinite list with the next a?
The only way a function in D can do something different in A, B, and C is if it knows which subclass its in. How can you completely avoid some data if you have to label A, B, and C?
Jolf
0-vote
Factoid: Jolf is my personal utility language, and is sometimes suited for golfing; it was created mainly out of frustration trying to learn Pyth.
1-vote
τ
Jolf is encoded in ISO-8859-7, the Greek encoding. Not only is this one character, but it is also one byte. This stands for...
Compute the Adler-32 checksum
Background
Adler-32 is a 32-bit checksum invented by Mark Adler in 1995 which is part of the widely used zlib library (also developed by Adler). Adler-32 is not as reliable as a 32-bit cyclic redundancy check, but – at least in software – it is much faster and eas...
It should work fine, don't use tuple, list or other special names as a variable name. It's probably whats causing your problem.
>>> l = [4,5,6]
>>> tuple(l)
(4, 5, 6)
Background
Adler-32 is a 32-bit checksum invented by Mark Adler in 1995 which is part of the widely used zlib library (also developed by Adler). Adler-32 is not as reliable as a 32-bit cyclic redundancy check, but – at least in software – it is much faster and easier to implement.
Definition
...
Do X without Y
This isn't always bad, but it's been a particular trap for beginners, so be careful.
In the past, there were popular questions about doing a simple task but with the obvious method banned:
Produce the number 2014 without any numbers in your source code
How to write a C program ...
@MarsUltor I have a weird bug with Cheddar, the import works from one directory but not from another :| do you have any idea why this might be happening?