The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Jan 17 07:15
@mousetail'he-him' ngn/k, 8 bytes: <!/=\_:\
Jan 14 08:08
SpaceChem, Opus Magnum
Jan 13 00:53
because if you looksay 2222 then you'd get 42, not 2222
Jan 13 00:52
Is 2222 -> 2222 a valid looksay inverse?
Nov 4, 2024 00:45
so 2 is funny, TIL
Oct 29, 2024 23:25
construct a matrix with GF(2) as its element type, and invert it using ^(-1)
Oct 29, 2024 23:24
@Simd Sage
Oct 11, 2024 08:02
\f a b c d. f a b c == B(B(B K))
Oct 11, 2024 08:02
lambda calculus with combinators, 1: nBK
Oct 4, 2024 09:40
no, for example 1101000 & 1100111 = 1100000, 1100000 & 1011111 = 1000000
Oct 4, 2024 09:23
I guess we can make one up based on x = x & (x-1) which deletes the least significant 1 bit from x. So do it twice, and check if it is still nonzero
Oct 4, 2024 09:19
fwiw all of these count the number of ones; there's none that specifically checks if 3+ bits are ones
Oct 4, 2024 09:10
all of c (with gcc), c++ (with gcc or standard c++20), python, rust have one
Oct 4, 2024 09:09
depending on the language, it is simplest to use the built-in that counts the number of 1 bits for you
Sep 30, 2024 06:55
first is 4 and second is 13
Sep 30, 2024 06:54
J, 4+13 bytes: 2#., and 8 8$(64$2)#:]
Sep 30, 2024 02:28
@Bbrk24 Does this answer your question?
Sep 29, 2024 23:33
@Bbrk24 In that case you may be able to use Pixi (see its pypi-dependencies setting)
Sep 26, 2024 05:06
for those using poetry/rye/whatever for python package management, it's about time to move to uv (blog post from the creator of rye, uv)
4
Sep 25, 2024 10:25
@Bubbler actually this is wrong. It gives a list of length 14 for 2x3 but OEIS says the answer is 13
Sep 25, 2024 07:17
@Simd 0000, 0001 (all of those having 1 one), 0011 (two ones in one row), 0101 (two ones in one column), 0110 (two ones diagonally), 0111 (all having 3 ones), 1111
Sep 25, 2024 07:16
@Simd Yes, that's right
Sep 25, 2024 05:17
@Simd Handling both looks hard. I'd first generate inequivalent matrices with respect to row permutations only (which is easy: iterate over "combinations with replacement" of size n out of 0000... through 1111...), sort their columns, and remove duplicates out of them
Sep 25, 2024 05:13
@Simd I think the answer is (2^(n^2) + 2^(ceil(n^2/2)) + 2^(ceil(n^2/4))/3, if I applied Burnside's lemma correctly
Sep 12, 2024 23:40
damn
Sep 12, 2024 23:09
@lyxal Do I get full credit for leaving it blank?
Sep 12, 2024 09:21
@Themoonisacheese I had to experiment with it anyway because Google or-tools uses different sets of heuristics based on the number of threads
Sep 12, 2024 07:06
like 64 threads on 16-core cpu
Sep 12, 2024 07:05
TIL too many computational threads can almost lock out the computer
Sep 11, 2024 01:28
Sep 11, 2024 01:27
define "sparkles"
Sep 9, 2024 07:35
it isn't
Sep 5, 2024 08:37
not particularly bad but a bit funny: Apache Pig is a big data platform and the programming language for it is called Pig Latin
Sep 5, 2024 08:34
I recognize it by dQ.*cQ
Aug 26, 2024 06:44
pretty sure it's sorted by number of total posts with that tag
Aug 20, 2024 23:43
@Neil Then it's my solution (or its mirror image)
Aug 20, 2024 22:53
@Neil The former works. For the latter, IIUC the 2 on the left side will be split apart, so it doesn't work.
Aug 20, 2024 02:08
the bonus part of the puzzle yesterday is now a separate puzzle, enjoy
Aug 19, 2024 09:41
(using killer mode)
Aug 19, 2024 09:40
simply click a cell to remove a cage containing it
Aug 19, 2024 09:33
yeah penpa is awesome
Aug 19, 2024 09:28
IME isolating the 1s is the main part of the challenge
Aug 19, 2024 09:28
nice, almost
Aug 19, 2024 09:22
1 cannot be adjacent to another 1 by Fillomino rule
Aug 19, 2024 08:24
my new puzzle just dropped
Aug 16, 2024 07:43
lol then that does matter a lot
 

 The Tarpit

A room for discussing esolangs and brainstorming new esolang i...
Aug 16, 2024 09:53
also I think I'll use iced for graphics/UI and shuttle for deployment this time
Aug 16, 2024 09:52
The Next Big Thing(TM): a visual playground for multiple ascii-based 2D langs, which will be similar in functionality to my Piet interpreter