1,518 karma · joined Aug 28, 2017 (9y ago) · 989 submissions
comment 2y ago · link · parent
var str = string.Format("{0} is {1} years old.", name, age);
When interpolated strings were introduced later, it was natural to have them compile to this instead of concatenation.comment 2y ago · link · parent
comment 2y ago · link · parent
╓───╖
║ ! ║
╙─┬─╜ ┌───╖ ╔═══╗
┌─────┴─────┤ > ╟──╢ 2 ║
│ ╘═╤═╝ ╚═══╝
╔════╗ ┌───╖ │ │
║ −1 ╟──┤ + ╟─┴─┐ │
╚════╝ ╘═╤═╝ │ │
┌─┴─╖ │ ╔═══╗ │
│ ! ║ │ ║ 1 ║ │
╘═╤═╝ │ ╚═╤═╝ │
│ ┌─┴─╖ ┌─┴─╖ │
│ │ × ╟──┤ ? ╟──┘
│ ╘═╤═╝ ╘═╤═╝
└─────┘ │
The language is called Funciton (pronounced: /ˈfʌŋkɪtɒn/) and the above example demonstrates the factorial function.I made this language over 10 years ago, but earlier this year I've been making YouTube videos in which I describe it in excruciating detail: https://youtube.com/playlist?list=PLkG32PHxWoJaetjKUMVRONWLg...
For my next video, I want to show in detail how the interpreter works. For this purpose I'm creating an elaborate animation. You'll notice that the latest video is already several months old; this is because this animation is more work than I bargained for, and I got a little burned out by it. Nevertheless, I persevere and the video will come out whenever I may finish it.
Language specification: https://esolangs.org/wiki/Funciton
Interpreter: https://codeberg.org/Timwi/Funciton
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
╓───╖
║ ! ║
╙─┬─╜ ┌───╖ ╔═══╗
┌─────┴─────┤ > ╟──╢ 2 ║
│ ╘═╤═╝ ╚═══╝
╔════╗ ┌───╖ │ │
║ −1 ╟──┤ + ╟─┴─┐ │
╚════╝ ╘═╤═╝ │ │
┌─┴─╖ │ ╔═══╗ │
│ ! ║ │ ║ 1 ║ │
╘═╤═╝ │ ╚═╤═╝ │
│ ┌─┴─╖ ┌─┴─╖ │
│ │ × ╟──┤ ? ╟──┘
│ ╘═╤═╝ ╘═╤═╝
└─────┘ │
The language is called Funciton (pronounced: /ˈfʌŋkɪtɒn/) and the above example demonstrates the factorial function.YouTube playlist: https://youtube.com/playlist?list=PLkG32PHxWoJaetjKUMVRONWLg...
Language specification: https://esolangs.org/wiki/Funciton
Interpreter: https://codeberg.org/Timwi/Funciton
comment 2y ago · link · parent
For the icons, I don't understand why the author believes that they need to have two copies of the icon inside the SVG. You can style every property of every element using CSS. If your icon is a single path element, it should remain a path element and be styled something like this:
svg.social path { fill: gray; }
svg.social:hover path { fill: #8df; }
Of course it's possible that I'm missing something, but if all you want is changing color on hover, duplicating the item and using a mask is overkill.comment 2y ago · link · parent
1) The website is slightly wide on my phone, so it wiggles left and right when I scroll. I usually fix this by pinch-zooming out the tiny amount necessary to align it to my viewport width, but your website apparently suppresses zooming.
2) The AI announces itself as having the name “Jane Doe”. What's the point in this? I know that American news with real anchors do this (having the anchor announce their own name), but this is not universal so it feels foreign to me. Since AIs don't have names, it feels like this was shoehorned in just to sound like American commercial news.
comment 2y ago · link · parent
1) multiple outlines: with your strategy, you can no longer edit the shape as a single shape afterwards.
2) varying thickness: it sounds like you're thinking of thickness varying abruptly from one line segment to another, but remaining constant throughout one segment. I would like a feature where the stroke width varies continuously from one vertex to another, that is, get smoothly thicker or thinner.
3) you can only have rounded corners on every vertex or no vertex of a shape. You can't choose individually for each vertex.
I think these are all features that SVG would benefit from adding.
comment 2y ago · link · parent
Yes. Capitalist software vendors do that all the time. Google search has been getting continually worse over the decades. Windows is more bloated than ever. AI is going to be no different.