Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Shaggy‭

Type On... Excerpt Status Date
Comment Post #282537 Not at all, @user; it's just your solution golfed down further. And I'd always much rather help out a newcomer to Japt to the rep I might get from posting something myself.
(more)
almost 3 years ago
Comment Post #282537 Welcome to Japt :) You can save 3 bytes here using one of Japt's own variables (i.e., an uppercase letter) to assign the function to, avoiding the need to switch in & out of JS. But you can get even shorter by using Japt's built-in recursion (`ß`) with `o@ßX` which can be further shortened with a sho...
(more)
almost 3 years ago
Comment Post #282506 Are [functions](https://tio.run/##y0osSyxOLsosKNHNy09J/Z9m@z/P1i61LDFHIwHIUKnOq9XOS9D8n5yfV5yfk6qXk5@uoaSknaZhaKCpyYUsChbSsNDU/A8A) not permitted?
(more)
almost 3 years ago
Comment Post #282499 [Save a byte with currying](https://tio.run/##dY9NboMwEIX3nMKLLEw1Qfw1P4rgBj2BNWrGiSFGDo7A6oZydmonUZtNR7OYmfc@67mjLxpPg765dW/Pammqhapa@k6udOO6qgUJjUCiQ6z83FVSfJC7JAP1Z3vl8ZtMjOpbd/lOMfg0YrycbD865tToRlYxETFfQmSQQwElvMMGtghMpPBy8vT/vtyvL4594aXsjqcplBlsd1BkUJSQP4HA72CPGOEhiho7MB7iMNs8YsVsur9llGOCgEn0QYN...
(more)
almost 3 years ago
Comment Post #282427 Or, alternatively, `v`.
(more)
almost 3 years ago
Comment Post #282430 You don't need to count the `f=`.
(more)
almost 3 years ago
Comment Post #279457 Shouldn't the footer be included as part of the solution, seeing as it's needed in order to output the `0`s?
(more)
almost 3 years ago
Comment Post #279287 @Quintec, for the sake of simplifying the explanation, the `Ä` is now gone.
(more)
almost 3 years ago
Comment Post #281572 Can we take an array of floats instead of fractions?
(more)
almost 3 years ago
Comment Post #281960 [40 byes](https://tio.run/##y0osSyxOLsosKNHNy09J/Z9m@7/C1q5CLzexQCPV1i7VPlGvoLQ4QyNV0wrIyi/Q0NRJtI2O1VRTS/xfUJSZV2KbnJ9XnJ@TqpeTn84FFtFI04g20IFBUx3zWE1NhIyhjhFQ1BhNzBQIDcAyBjoWGOqNdUzAMpZYTIJCoMx/AA)
(more)
almost 3 years ago
Comment Post #282301 Well spotted, thanks, @Razetime - 'twas easily fixed.
(more)
almost 3 years ago
Comment Post #279374 @Quintec, done!
(more)
almost 3 years ago
Comment Post #282282 Won't `\w+` fail if any of the words contain anything other than `[0-9a-zA-Z_]`?
(more)
almost 3 years ago
Comment Post #282264 @Quintec, if you enjoyed that, you'll fecking love [this](https://codegolf.stackexchange.com/a/124389/58974)! Especially when you see how we made `39`!
(more)
almost 3 years ago
Comment Post #279747 I was enjoying the collaboration but we _have_ gotten pretty far away from some of your original solutions so, as long as you don't mind, I'll post my own.
(more)
almost 3 years ago
Comment Post #279747 Yeah, if we get the `*` back as I suggested above then we can do this: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=KKQqKKQqKKQqKKQqKKQqKKQqKKQqKKQ
(more)
almost 3 years ago
Comment Post #279743 [Related](https://codegolf.stackexchange.com/q/124362/58974)
(more)
almost 3 years ago
Comment Post #279747 Alternative to that last one: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=IVA8PCFQPDwhUDw8IVA8PCFQPDwhUDw8IVA8PCFQPDwhUA
(more)
almost 3 years ago
Comment Post #279747 You could just do 256 `Ä`s and then use `D` to do this: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=RGq5PDxEark8PERquTw8RGq5PDxEark8PERquTw8RGq5PDxEark8PERquQ
(more)
almost 3 years ago
Comment Post #279747 And we've also got the `+` back so we can do this: https://tio.run/##y0osKPn/P1JbWztyFI5k@P8/AA
(more)
almost 3 years ago
Comment Post #279747 ... which, in turn, gives us the `"` which we can use with the `a` to do https://tio.run/##y0osKPn/XylxpANgCPz/DwA And, instead of using the `3`, the `7` _and_ the `9` together, we could do this with just the `9`: https://tio.run/##y0osKPn///DkUThyoeXhBf//AwA and use the `3` and the `7` to do this: h...
(more)
almost 3 years ago
Comment Post #279747 Changing the custom base conversion one above to https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=YGVkZGRkZGRkZGCs7GBkZQ give us back the `s` allowing us to change your base-2 conversion one to https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.5&code=MTAwMDAwMDAwc80 ...
(more)
almost 3 years ago
Comment Post #279747 Instead of squaring 64 and then repeatedly subtracting 1, we could do `Iz¼` instead, freeing up `É` to allow us to do this: https://tio.run/##y0osKPn//9DWw52jcCTD//8B That also frees up the `p` for us to use somewhere else. Or we could do `Gp` and `4²²` to free up the `*` instead.
(more)
almost 3 years ago
Comment Post #279747 This is fun, let's keep going! https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=vS%2b9L70vvS%2b9L70vvS%2b9L70vvQ
(more)
almost 3 years ago
Comment Post #279747 Last one for now, I promise! Replace the `b` in the base conversion one above with another letter, freeing it up to do this: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=JCdfYickYmI, with the underscore repeated 256 times.
(more)
almost 3 years ago
Comment Post #279747 Feck! I forgot we already used the `Ê`. So, to get it back, instead of prepending 256 `V`s to `;A` and getting the length, we could so this: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=O0FpUyBpUyBpUyBpUyBpUyBpUyBpUyBpUyB4Yw
(more)
almost 3 years ago
Comment Post #279747 And, to take the lead, take the `J` that you've already used, replace it with `V` and then you can do `J` followed by 257 `nJ`s.
(more)
almost 3 years ago
Comment Post #279747 One more to tie Raku: Take the `l` from the 256 element array one and replace it with `è¶B`, use the `l` instead of the `Ê` above and then you can do this: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=VLFUylSxVMpUsVRUsVRUsVRUsVRUsVRUsVRUsVQ
(more)
almost 3 years ago
Comment Post #280708 [13 bytes](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=O0Lj6iBrYidBIPsg6g)
(more)
almost 3 years ago
Comment Post #279747 And another: `N` followed by 256 `³`s and then get the length of that with `Ê`.
(more)
almost 3 years ago
Comment Post #279747 Here's another: https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=YGJhYWFhYWFhYWBuYGFi
(more)
almost 3 years ago
Comment Post #279747 And, instead of newlines for the one where `U` gets repeatedly decremented, you could take the comma out of the 256 element array and use it.
(more)
almost 3 years ago
Comment Post #279747 Ah, cack, I never think of whitespace characters in challenges like this! Dunno how I missed the `5` was gone already but here's another one that uses the same trick: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=0kbSRtJG0kbSRtJG0kbSRtJG0kbSRtJG0kbSRtJG0kY
(more)
almost 3 years ago
Comment Post #279747 And you can do the same with `U´` and then add `a` to the last line.
(more)
almost 3 years ago
Comment Post #279747 One last one for now, which won't fit here: 258 `°`s, each on its own line.
(more)
almost 3 years ago
Comment Post #279747 And another: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=J1x1MDEwMWMg9SDF6A
(more)
almost 3 years ago
Comment Post #279747 Here's another: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=I1x1MDEwMA
(more)
almost 3 years ago
Comment Post #279747 Seeing as you haven't used `5` & `4` yet: https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=NdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNdI10jXSNA
(more)
almost 3 years ago
Comment Post #281380 [8 bytes](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=o69ZxCDopVg&input=WzMsNyw1LDQsOSwyLDMsMiw2LDZdCi1R)
(more)
almost 3 years ago
Comment Post #279450 `Õc` with the `-P` flag would work, taking the strings as character arrays.
(more)
over 3 years ago
Comment Post #279434 Can we take the strings as an array of characters?
(more)
over 3 years ago
Comment Post #279287 Sometimes it's a hangover from a previous attempt at a solution, @Quintec, other times it's me trying to keep various tricks fresh in my mind and, occasionally, it's just to show off!
(more)
over 3 years ago
Comment Post #279203 @Corsaka, In Japt you can palindromise with or, by default, without repeating the middle character/element.
(more)
over 3 years ago
Comment Post #279203 [22 bytes](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=MjfyyG4yOCDHbVgyNy1YLVrDuMPU%2bw) but I'm sure it can be improved further. I wonder would just building the left-hand side and then palindromising work out shorter?
(more)
over 3 years ago
Comment Post #279284 Turns out I was slightly overthinking it, @Quintec; a simple map does the trick.
(more)
over 3 years ago