Hacker News new | past | comments | ask | show | jobs | submit | sscarduzio's comments login

what I would have naturally done without anticipating any flaw (and probably be just OK):

   cache_key = sha(sha(id + username) + bcrypt(pass))
with sha256 or something.

Why not a simple sha(id + username + bcrypt(pass))

Is there any security issues with that? I'm a "newb" in this area, so I'm genuinely curious about the flaws with the naive approach


This is exactly what I needed, but I need JS or Python backend. Any chance to make it work?

The JS side is made in StimulusJS. You can take it, it's MIT. I haven't worked with python and don't have plans to port it to React or anything else. If you do start work on it, I can guide you though the process if you need a hand...

If I was to build out a react integration, would you recommend:

A. Rebuild the stimulus portions in react B. Write a react wrapper around the stimulus

I use rails for everything I do, but like to use vite_rails on the front end for react. Excited to use this library!


Hmmm... My responsible developer gut tells me to redo it in React so you don't import StimulusJS just to render one editor. It's like having jQuery as a dependency in a React project.

Another question:

Does this integrate with action_text? Wasn’t that a big thing in rails 6/7, with like… trix?


In theory it does. The thing with ActionText is that it adds some HTML to the content, but in theory it should work.

Can Gov.uk become the new W3C? Pretty please?


You mean the new WHATWG.


Me too, I was devastated. The guy was a super expensive senior react dev. He literally went like: “Wdym multipart form data?”


Sadly, we now have a whole generation of web devs that don't know anything other than SPAs.


Don’t listen to the naysayers: this can be Dropbox all over again! I love Cursor but, it’s a pity it’s not OSS.

The success of Void is tied to how well you implement the part in which AI reasons about multiple files. This is where all the sauce is in Cursor at the moment imo.


Any beautifully reasonable, clever, optimal strategy for this kind of home-human interaction would meet the sledgehammer of my utterly unreasonable order freak partner (way before having any opportunity to explain any reasoning about it).

Good to see at least someone is able to enjoy even reasoning about these little things.


Is there even a need for a holding pen if there is an order freak in the house?


Doesn’t look the same tho? Didn’t see the code.


Which in a way is good because the hardware will more and more perform identically on Linux as on Windows.


The only thing I understood from this reading is that I don’t want to date Jessica


If you think Ubuntu is opinionated, then you are more opinionated than Ubuntu for sure


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: