5 ms·
XINF
- ZeroTerabytes 3y agoA simple JSON api written in Go, that does a lot of small but useful stuff, such as: - Numbers to Words! - Name Generator for your 235231759082318th side project GitHub repository! - Echoing what you sent to the server, like a little cave :D - Open location/Plus codes from coordinates! - Hashing, because that's always nice. - Random stuff!
- lucb1e 3y ago> A simple JSON api written in Go, that does a lot of small but useful stuff, such as: > - Numbers to Words! > - Name Generator for your 235231759082318th side project GitHub repository! > - Echoing what you sent to the server, like a little cave :D > - Open location/Plus codes from coordinates! > - Hashing, because that's always nice. > - Random stuff!
- bastawhiz 3y agoWho is the demographic for this? Essentially all of the functionality here is available in the standard library for most languages. If not, you can use a library that's probably pretty small and doesn't rely on some third party system that you have no control over. It's certainly not about trust: if you don't trust your computer's own random number generator, how can you trust a (TLS encrypted???) HTTP connection to some other system?
- Ocha 3y agoIt might be useful in shell scripts with jq.
- spicybright 3y agoAs long as the site never goes down...
- RockRobotRock 3y agoThat applies to every website
- bastawhiz 3y agoIf you have jq and not Python, what are you doing?
- ZeroTerabytes 3y agoLook I was bored and made this during my thanksgiving break. :/
- dgellow 3y agoDon't apologize to that type of comments, your project is cool and fun! If you felt it deserved to exist, that's enough of a good reason :) I like your project page BTW, nicely structured and look nerdy <3
- jkrubin 3y agoCan you add an ‘iodd’ endpoint? Would be very helpful to a project I am working on.
- cjohnson318 3y agoI'm curious, what would an "iodd" endpoint be?
- dgacmu 3y agohttps://news.ycombinator.com/item?id=16901188 https://news.ycombinator.com/item?id=16901188
- ZeroTerabytes 3y agoDefinitely 100%
- TickleSteve 3y agoHow about: http://leftpad.dev http://leftpad.dev
- jstanley 3y agoThe "echo" endpoint supposedly "returns what you sent to the server", but the output includes X-Forwarded-For headers that are obviously part of your internal HTTP routing and are not part of what the client sent to the server, as well as various other headers not sent by my client. Also, the "myip" endpoint returns 2 different IP addresses. One is mine, the other is yours.
- nektro 3y agohttps://xinf.dev/rand/cint https://xinf.dev/rand/cint and https://xinf.dev/rand/ufloat https://xinf.dev/rand/ufloat and https://xinf.dev/geox/ https://xinf.dev/geox/ all always return zero for me
- sgerenser 3y agohttps://xkcd.com/221/ https://xkcd.com/221/ (Just substitute 0 for 4)
- ZeroTerabytes 3y agoYesterday, on 4/22/2023, there were 7,252 calls - 3,265 just for the uuid service. How did this happen.