Viewing profile — nelsontky
nelsontky
HN member- Joined
- Mon, Mar 24, 2014, 11:26 AM UTC
- HN karma
- 190
- Public activity
- 33 items
- HN profile
- View on Hacker News ↗
About nelsontky
No profile information was provided.
Recent public activity
-
story
Show HN: Decentralized Pokemon game on the Solana blockchain
I made a Solana game where you can vote for buttons to press in a Pokemon game i.e. Twitch plays Pokemon on Solana It's kinda weird to build this on the Solana blockchain especiall…
-
comment
Comment #32203941
Nope it really depends on the plan/pricing you get. The cheapest "droplet" is lousier than a chromebook but there is a wide range of VPSes of varying specs you could choose from! h…
-
comment
Comment #32201233
Nice thats what i do too! I use a combination of code-server running on a gcloud instance and chrome remote desktop to do my work on a lenovo duet chromebook!
-
comment
Comment #25121789
Cuz they are supposed to be called by people building various apps, and it does not make sense to limit the source of the network requests
-
comment
Comment #25114953
Thank you for the reply! I definitely learnt a lot from your comprehensive replies. Personally, I am just getting started in web development and I have traditionally written everyt…
-
comment
Comment #25114659
Wow.. I don't even know where to start.. Thanks for the heads up that's cool beans!
-
comment
Comment #25114557
Base64 would probably be longer than the original URL. I can't really see how short pieces of text (like URLs) could be compressed to become smaller. That being said it's definitel…
-
comment
Comment #25114508
Oh that is cool! It does remind me of https://telegra.ph/ by Telegram! (Even though they weren't really advertising it as a universal shortener). Just a quick question, how did you…
-
comment
Comment #25114433
I would suppose doing a push every time a new URL is added would be quite expensive for GitHub too. Plus, GitHUb pages is not updated immediately upon push and it takes some time f…
-
comment
Comment #25114090
Well I would believe that even a `json` file or any other form of storage written to disk is considered a database, But your suggestion definitely brings it further away from an ac…
-
comment
Comment #25113320
I do have YOURLS on my personal domain/server. It does work well for me and has no spam as link creation can be made private!
-
comment
Comment #25113282
Indeed and especially with many shorteners not being maintained and going down. That being said, this one is not meant to be an actual URL shortener, but rather, a cool hack and it…
-
comment
Comment #25113270
Hmm having a GitHub action redeploy the site is not instantaneous and it does take up to 1 minute for the site (and consequently the new short link) to be updated. Nevertheless, th…
-
comment
Comment #25113014
I am calling GitHub's official API. APIs are not supposed to have any CORS restrictions.
-
comment
Comment #25112975
If the links were to be stored in files, I probably would run a GitHub action on every push to statically generate the pages for new links!
-
comment
Comment #25112955
Probably GitHub's API went down for an instance since I didn't make any new pushes then!
-
comment
Comment #25112802
Thank you for the advice! I love that domain though, have always been trying to find a 4 character URL shortener since GoDaddy killed x.co. Will definitely use your service more th…
-
comment
Comment #25112219
I figured that since the dependencies were only used in the build step it's not really considered. That being said, I didn't know ES2015 had `.then()` and was kinda trying out babe…
-
comment
Comment #25112183
My fault. Didn't know that ES2015 actually supported `.then()`. Anyway, this was also an exercise for me to learn about babel (I use CRA all the time so have no idea what is going …
-
comment
Comment #25112122
Thank you for the kind comments! That's was the aim of the project, to make it fun and easy to create new short links!
-
comment
Comment #25111588
This is definitely just a fun hack and not meant for production! For production ready short links with low overheads I would personally recommend using Firebase URLs or cloud fires…
-
comment
Comment #25111574
What I meant was that GitHub's API does not check for the Host header, and the API allows connections from any source. Thus, CORS isn't an issue at all.
-
comment
Comment #25111516
Yes I agree with all of the above. And with my fixation on URL shorteners, I did have a dream of creating a full fledged URL shortening service like yours. I wasn't technically ski…
-
comment
Comment #25111420
That's a good one fixing now hehe
-
comment
Comment #25111381
Some guy shared his project in this post that does exactly that! Yes while that is possible and can get to a high level of automation via GitHub actions, the point of my URL shorte…