Some HN folks found that the URL parameter accepts… anything as output language https://news.ycombinator.com/item?id=47408940
E.g.: https://translate.kagi.com/?from=en&to=Fediverse+speak&text=I+like+hamburgers
Product-1st Front-end Engineer, based in Singapore. On a (long) career break since July 2022. Working on a Mastodon web client https://phanpy.social @phanpy
Why follow me: I have interests in #WebDev, #design, #DataViz, #Maps, #PublicTransport, #stickers & #anime. I usually post about my side projects, tech events, weird discoveries, and sometimes local news.
#fedi22 tfr #tech #JavaScript
| Projects | https://cheeaun.com/projects |
| GitHub | https://github.com/cheeaun |
| :thinking_face: :catjam: | 🤔 🐱 [TEST :thinking_face: :catjam: ] |
Some HN folks found that the URL parameter accepts… anything as output language https://news.ycombinator.com/item?id=47408940
E.g.: https://translate.kagi.com/?from=en&to=Fediverse+speak&text=I+like+hamburgers
Was surprised to see haptics work here https://haptics.lochie.me/ (https://github.com/lochie/web-haptics) on Safari iOS because Safari doesn't support `navigator.vibrate`.
An older project make it work too: Tactus https://tactus.aadee.xyz/ (https://github.com/aadeexyz/tactus)
Turns out it's a hidden `<input type="checkbox" switch>`. `switch` was added as part of Safari 17.4 https://webkit.org/blog/15054/an-html-switch-control/ (Feb 2024). It's the one that creates the haptic feedback.
WebHaptics simply toggles the switch at specific timing patterns 🫨
This sentence caught my attention:
> Several scientists have named their discoveries after Pokemon, in a case of life imitating art.
…because I built Repokémon https://github.com/cheeaun/repokemon where several developers have named their projects after Pokemon 😉
Did a search and found this "List of references to Pokémon in science" https://bulbapedia.bulbagarden.net/wiki/List_of_references_to_Pok%C3%A9mon_in_science — there's like 4 of them with "pikachu" in the name.
Wondering what do you call this? Is there a name for this kind of navigation?
Manual pagination? Slow mode? Finite scrolling? Windowed browsing?
Neat ideas for navigating threaded comments & new comments highlighting. I kinda thought of this but really wonder about its usefulness.
- If there's too much nesting of comments, the sidebar space won't be enough
- It shows "[INT] [NAME]" where INT = vote count. Higher count is probably more read-worthy?
- Per-day filter for new comments highlighting is probably too broad in scope if the conversation is too active.
- Sidebar won't appear on smaller viewports 🫠
Source: https://www.lesswrong.com/posts/8m6AM5qtPMjgTkEeD/my-journey-to-the-microwave-alternate-timeline
RE: https://bne.social/@james/116067684110330347
Somehow manage to whip this up, extracting the idea from this discussion thread.
RE: https://mastodon.social/@cheeaun/116052332060770274
Now that the poll is done, thinking if something like this make sense?