Here's why you should fund us: 1. Chickens are tasty. Everyone wants to eat chicken (I bet even vegans want to secretly try one of those chicken patties) 2. Chickens are cute. This makes it that much more delightful when you eat them. 3. Chickens are small. They are portable, so you can stuff one in your backpack for a quick afternoon snack. 4. Chickens can survive with their heads chopped off. This means that you can eat your chicken's head and leave the rest for dinner.
Hexagonal section numbers code-golf math integer hexagonal-grid
Let's draw some regular hexagons formed by hexagonal tiles, marking the vertices of the tiles with dots. Then we will count the number of dots.
size 1: 6 dots
. .
. .
. .
size 2: 24 dots
. .
. . . .
. . . .
. . . ....
Is this a Jordan matrix? code-golf math linear-algebra matrix decision-problem
Background
A Jordan matrix is a block-diagonal matrix where each block on the diagonal has the structure of
$$
\begin{bmatrix}
\lambda & 1 & 0 & \cdots & 0 \\
0 & \lambda & 1 & \cdots & 0 \\
\...
@Bubbler do you have a generative solution for the levencycle? It feels like there should be one, but trying things without knowing all solutions for n=3 is a bit … ugh.
Anyone else having issues with the leaderboard in the userscript? My solution here isn't showing up and, after just editing it, my solution here has been removed.
Checking through some recently posted or edited solutions, it looks like it stopped updating about 2 days ago. Strange, though, that it completely removes recently edited solutions instead of leaving them as they were.
@hyper-neutrino, cant a long repeating string be compressed in jelly? like your tool returns the same value for a string like AAAAAAAAAAAAAAAAAAAAAAAAAAA. (jht.hyper-neutrino.xyz/misc/string-compressor)
so all integers less than it have occurred at least once, but then if an integer is already "used up" as the predecessor of some other number then it doesn't count as a prior occurrance or something?
I'm thinking of it as a sequel ("output any sequence having this ordinal transform" would suffice), but I'll need to see some answers before I can determine if it would be too similar
worth adding some other particularly weird falsey ones like [1, 3] or [6]
@Bubbler these sequences are self-inverse (I think that's not quite accurate terminology but anyway); the way to output a sequence having a given ordinal transform is to do an ordinal transform on it, right?
@EliteDaMyth like others have mentioned, jelly uses dictionary compression, so strings not containing things that are part of the dictionary can't be compressed
specifically, since jelly uses base 250, every time you multiply the compression integer by 250, you add a byte
inserting a single ascii character costs x288 (1.026 bytes)
inserting a short word unmodified costs x122718 (2.122 bytes)
inserting a long word unmodified costs x1367070 (2.559 bytes)
inserting a short word without its leading space (or with it, at the start of the string) or with its first letter's case swapped costs x368154 (2.321 bytes)
and ^ for a long word costs x4101210 (2.758 bytes)
But I finally did it! Now I can search for "prime" and then it inserts the first prime jelly atom, if its not a match I can cycle through all the results ^^
so if you can't insert any words, your compressed sting will end up being longer because inserting arbitrary ascii costs 1.026 bytes for a compressed string and 1 byte normally (obviously)
essentially sss just uses dynamic mixed base conversion by repeatedly divmodding by a specific value and then building a string as it goes - my string compressor has a full detailed explanation (normally you have to click the "info" panel - this link should open it for you)
@PyGamer0 Just trying to write a vimscript for making writing Jelly code easier. Cycle thorugh similar unicode letters, and displays the help text in the command line =)
@PyGamer0 I got the cycling of similar letters down, I got the fuzzy find command (eg searching after product, and then you can cycle through all product commands). What remains is being able to bring up short help (display in command), and a help command. First is very easy, second is gonna be a bit rougher. Lastly I want to try to build a interface similar to what TIO has for compilation so hitting <leader>jj compiles the code and displays the results.
"Problem" is I need to do some work to making the interface which allows optional arguments
Also the obligatory comment about you should commit so often that each commit only contains a few files, making stage all a bit useless. Unless you are setting up a project :P
Use ⊥ to combine multiplication with addition
(a×b)+C -> a⊥b,C
(C)+a×b -> a⊥b,C
(a×b)-C -> a⊥b,-C
Assumptions:
a and b are terms that don't require further parentheses when used as a left argument
C is an expression that may need parentheses when used as a left argument
a b C evaluate ...
I think a lot of the new blocks like the dripleaf would be a lot better if they'd just reused existing stuff, like lily pads
I like how in 1.14 and 1.16, every new change also made things like redstone and building better, but it seems like a lot of the changes they're making now are purely cave generation oriented
Not going to go into detail on my opinions about it here since there was already a nice long discussion on it last night
Anyone know regex in here? I got the following |\\zs[^\.]* which works, but it catches .... So I was wondering if I could match period space or end of line
@RedwolfPrograms did you know the command grep is named after go to regular expression and print, which was a commonly used sequence of commands from the original ed program
**Input:** `Œ?`|Shortest permutation of items `[1,2,...,N]` which would yield **z** via `Œ¿`. **Output:** Shortest permutation of items `[1,2,...,N]` which would yield **z** via `Œ¿`
@EliteDaMyth I recently remembered I was given some free shitcoin a long time ago and with the recent crypto hype I sold it for quite a good sum lol. ∞% return on investment!
> The threat of a 51% attack still exists in proof-of-stake, but it's even more risky for the attackers. To do so, you'd need to control 51% of the staked ETH. Not only is this a lot of money, but it would probably cause ETH's value to drop. There's very little incentive to destroy the value of a currency you have a majority stake in. There are stronger incentives to keep the network secure and healthy.
+ anyone can become a stakeholder if they have above 32 ETH. You dont even need a powerful rig. (you can use a stake pool to stake your eth if you dont have more than 32 ETH. but the pool will generally take a cut from the rewards)
let result = split(a:md_line, "\|")
let jelly_char = split(result[0],'\`')[0]
let first_sentence = split(result[1],'\. ')[0]
return [jelly_char, first_sentence]
If anyone wondered this is the regex I ended up using. Why would vim use string as a builtin name? It only took me twohours to figure out why nothing in my function worked >.<
Is this believe of Christians because I have listened this from Christians?
If this Biblical prediction proves wrong then will Bible be called a false book?
> I know to be true is that - while I’ve had a lot of experience with communities - no two communities are the same. I look forward to learning more about each of the varied communities that are a part of the Stack Exchange network, and I’ll be talking soon about how I plan to get to know those communities.
@UnrelatedString no but like they have 301 rep on meta and that's their highest
but their job probably just didn't entail posting stuff - i am not too familiar with the staff hierarchy or roles but even just within CMs, some CMs like catija actively engage around the network and in various chat rooms all the time and some do more background work