HNHacker News
TopNewBestAskShowJobs

kretaceous

3,140 karma · joined October 29, 2020

https://abhijithota.com
submissionscomments
kretaceous··on A self-updating list of the most current useragents
What about this?:

    1. Run a website like whatsmyuseragent.com
    2. Collect all user agents
    3. Show the list
kretaceous··on SvelteKit 1.0
SvelteKit 1.0 is the one release I was actually waiting for. I've seen a lot of flashy stuff launch in the frontend framework recently but this one feels...genuine?

Huge congratulations to Rich and team! Hope I'll be able to contribute to Svelte's growth someday.

kretaceous··on Ask HN: How do you deploy your side-projects?
For existing Heroku projects, I chose Render. For newer projects, I mostly use Fly.io. It also depends on a few more factors like Postgres need of the project, in which case I choose Fly's managed services. Fly.io also makes it easier to deploy docker based projects. Render is more like plug-a-GitHub-repo-and-play.

Bear in mind that I'm only comparing these too in terms of their free tiers.

kretaceous··on Ask HN: How do you deploy your side-projects?
I've been using Render and Fly.io

Render is the closest thing to Heroku's ease of deployment currently. Major disadvantage is the larger build times.

kretaceous··on A Mindmap of Linux Commands
I wonder where ffmpeg is. I see HandBrake and Audacity but not ffmepg.
kretaceous··on Drag and Drop from Terminal
I use nnn[0] and it has a simple plugin[1] based on dragon. I can press `;d` and the dragon window pops up.

It is an OK workflow IMO. I'm not sure if I can directly drag and drop from the terminal list somehow. Or better yet, a full keyboard workflow.

0: https://github.com/jarun/nnn/

1: https://github.com/jarun/nnn/tree/master/plugins

kretaceous··on ChatGPT produces made-up nonexistent references
I faced a similar issue and posted a similar thread here 10 minutes later! https://news.ycombinator.com/item?id=33841718

I've also submitted feedback for the answer, of course. In my case, some of the names also don't return anything.

kretaceous··on Tell HN: ChatGPT Generates Fake Resources
Whoa. And only 10 minutes apart.
kretaceous··on Tell HN: ChatGPT Generates Fake Resources
Agree, dangerous is a bit exaggerated.
kretaceous··on Show HN: I wrote a free eBook about many lesser-known/secret database tricks
Yeah, I was sad seeing some of the reactions. To each his own. For a student like me, I would gladly take a free resource and won't mind the newsletter.

Maybe OP can also put a donate button for people who don't want to provide their E-Mail and get the book.

Thanks a lot, tpetry!

kretaceous··on Show HN: I made a tool using AI to convert articles to audio
I got super psyched to try this. Always wanted a good TTS extension or app.

However I cannot get it to work. I've logged in, input an article but nothing happens after I click "Convert article to audio" or preview.

Linux Mint/Firefox 107/Chrome

Edit:

I checked devtools and it shows a 500 error with the message "Something is broken. Please let us know what you did"

The link I was trying to convert was:

https://www.daemonology.net/blog/2020-09-20-On-the-use-of-a-...

kretaceous··on The Carcinization of Go Programs
Thanks.

> CPU can't execute WASM binaries

How was OP able to pipe the output of echo directly to the wasm binary initially?

kretaceous··on The Carcinization of Go Programs
My first thought after reading the problem was "WASM?" and I was glad to see a detailed writeup in the same.

Have a question: Isn't the wasm file compiled by rust already a binary? Why do we need to compile it first and then run it in the Go code?

Thanks!

kretaceous··on Extremely Linear Git History
I haven't checked your codebase so I don't know how easy it was but damn, you replaced your backend within 16 minutes according to your comment timings.

That's some nice modularization. Good job!

kretaceous··on Hacker News Parody Thread (2013)
Some more:

- "I posted the same thing 3 days ago here: [link]"

- A person who knows the OP personally shares an anecdote

- "The YouTube embeds are breaking because I've disabled all Google domains"

- Why can't you just....

- "Really? Long form content as a Twitter thread?"

kretaceous··on Hacker News Parody Thread (2013)
Should be posted by todsacerdoti + a top comments by Gigachad or tptacek, screenshot of an insightful comment posted to Twitter by swyx.
kretaceous··on Show HN: FFmpeg Command Visualizer and Editor
I think this is the best take among any ffmpeg GUIs I've seen. Good job! Gonna take this for a spin.
kretaceous··on Stupid Security Things (2017)
Don't know if I should share it here but hey, we all make mistakes :)

I had to implement a "forgot password" feature in a web application. I implemented it via:

    1) Take the user's email
    2) Generate a 6 digit code
    3) Send the code to the email
    4) Send the hash of the code to the frontend and save it in local storage
    5) Compare the code from user which they get via email to the hash in local storage
Someone could change the hash in the local storage and bypass this.

Of course, I reverted to use Redis instead of local storage for this after like 3 days, fortunately with no mishaps.

I've since then made up my mind to not implement bad workarounds like this because it just felt so wrong.

kretaceous··on reMarkable 2
I was curious if the device could recognise my terrible handwriting. As per this page, they use MyScript[1].

Here's a demo of the software if anyone's interested to confirm the same: https://webdemo.myscript.com/views/text/index.html

1: https://myscript.com (TIL)

kretaceous··on Open source sustainment and the future of Gitea
I remember it as calling a function. :)

    nameOfLink(url)
kretaceous··on Meta Quest Pro
I have the same setup and I can see it fine.
kretaceous··on Ask HN: Who wants to be hired? (October 2022)
Hello, I'm Abhijit, a software developer who has a good design sense and a growing curiosity for diving deep into systems. I'm looking for internships or entry-level jobs, preferably for a backend engineering role.

  Location: Chennai, India
  Remote: Yes
  Willing to relocate: No
  Technologies: Golang, JavaScript, TypeScript, Python, Postgres, SQLite, MongoDB, Express, React, Node.js, Svelte, Next, Gin
  Résumé/CV: https://abhijithota.me/resume.pdf
  Email: hire@abhijithota.me
kretaceous··on Building the Future of the Command Line
When I first installed viu[0], I did not think I'd be using it as much as I use it today.

PS: I use nnn[1] with the preview plugin which make use cases like yours very easy to solve.

0: https://github.com/atanunq/viu

1: https://github.com/jarun/nnn

kretaceous··on What Should You Work On?
In the spirit of the article, https://80000hours.org/
kretaceous··on This house does not exist
Welp, here you go. https://thisaidoesnotexist.com/ It was on HN a few months back.
kretaceous··on We clone a running VM in 2 seconds
Got it, thanks a lot!
kretaceous··on We clone a running VM in 2 seconds
Thanks for replying.

So the logic is to check if VM A has a new fork. If yes, then start CoW to a new layer of blocks, and leave the current layer to be linked with VM B. If no, just don't use CoW.

I hope I got it right!

kretaceous··on We clone a running VM in 2 seconds
Hi, not sure I understand.

What if VM A is a new VM? What happens to the block after copy-on-write? Just destroyed?

kretaceous··on We clone a running VM in 2 seconds
I know nothing about VMs or filesystems but I absolutely enjoyed this article. The language was very clear and easy to follow. Would be following the blog from now on.

I have a question about the copy-on-write example involving VM A and VM B. It says t VM B will directly use all the data from VM A and for any change, it copies the block, writes into it and reads from it after this.

But what if, say, block 2 is changed by VM A and was never written to by VM B? Wouldn't VM B read the changed block 2? Clearly, it doesn't happen cause a fork is a copy, but an explanation of how this is tackled is appreciated!

kretaceous··on Ask HN: Who wants to be hired? (September 2022)
Hello, I'm Abhijit, a software developer who has a good design sense and a growing curiosity for diving deep into systems. I'm looking for internships or entry-level jobs, preferably for a backend engineering role.

  Location: Chennai, India
  Remote: Yes
  Willing to relocate: No
  Technologies: JavaScript, TypeScript, Golang, Python, MongoDB, Express, React, Node.js, Svelte, Next, Gin
  Résumé/CV: https://abhijithota.me/resume.pdf
  Email: hire@abhijithota.me
P.S. You can expect 30hours/week
← PreviousPage 3 of 7Next →