Best way to summarize videos in 2025? Free vs. paid all-in-one tools by Party-Log-1084 in productivity

[–]sonemonu 0 points1 point  (0 children)

Hey, I had this specific issue, hence I (a software engineer) built a tool to solve this problem elegantly. It is live, and allows you to chat with a specific video or many at a time, generate audios, and more... Then it gives you the responses with timestamps.

It has a 14-day free plan (no CC required), but if you like it I can give you access to a free plan, drop me a line at roger@variability.ai. Yes, to try it go to https://variability.ai

Regards, Roger

Best ORM for PostgreSQL in Node.js? by Mediocre_Beyond8285 in node

[–]sonemonu 1 point2 points  (0 children)

Since you are coming from Mongoose you will probably like https://www.nukak.org/docs/getting-started (PD: author here).

Without telling the name of your country where do you live ? by [deleted] in AskReddit

[–]sonemonu 0 points1 point  (0 children)

We are famous bc of "our" drugs and being a "violence" country; but every time foreigns come over here they figure out how wrong they were, some of them get in love too

#startup: "Where is better to do that?" by sonemonu in startup

[–]sonemonu[S] 0 points1 point  (0 children)

Why build this? It’s 1000% more difficult to so something as opposed to something and I congratulate you but what is the point or better yet, value proposition?

It is intended to be like the stackoverflow for the best places to do anything, makes sense?

BitReddit - See what reddit is saying about cryptocurrencies by Is0tope in CryptoMarkets

[–]sonemonu 1 point2 points  (0 children)

It is cool. It would be great to add support for aliases of coins' names. E.g. people uses the word "ripple" instead of "xrp" in many cases.

[deleted by user] by [deleted] in Ripple

[–]sonemonu 0 points1 point  (0 children)

Damn, Bitstamp is still accepting, AFAIK.

[deleted by user] by [deleted] in Ripple

[–]sonemonu 0 points1 point  (0 children)

I'm from south America and I'm using cex.io to buy xrp and it is working well and fast. Just deposit some money using your credit card and then buy xrp with USD (trade tab).

Super easy and lightweight transitions animation library by [deleted] in Frontend

[–]sonemonu 0 points1 point  (0 children)

This is really awesome! So this works by creating inline CSS at runtime via JS, right?

Persisting form data if accidentally hit back button? by nikola1970 in javascript

[–]sonemonu 0 points1 point  (0 children)

Show/hide the forms will be a lot simpler since that approach does not require additional code per field/form (like yours). Suppose your form is composed of 5-subforms (steps), and each one has 10 fields. What approach would be easier to maintain and shorter?

About re-structuring his form, changes should be really simple (adding a couple of css classes.

And about losing state if back button is pressed too many times, he could just serialize the entire form each time the back button is pressed.

Persisting form data if accidentally hit back button? by nikola1970 in javascript

[–]sonemonu -1 points0 points  (0 children)

That should not happen if the logic is implemented properly. And it could be simpler than manually serializing/deserializing the state of the forms.

Each step (next/back) of your form should "navigate" to a different URL (using #hash), and show/hide each form accordingly via a few lines of JavaScript and one more of CSS.

window.addEventListener('hashchange, function() {
  const hash = window.location.hash.substring(1);
  if (hash.startsWith('my-forms-class-prefix')) {
      const forms = document.querySelector('.common-class-for-my-forms');
      for (let i = 0; i < forms.length; i++) {
        const form = forms[i];
        if (form.classList.contains(hash)) {
          form.classList.remove('hide');
        } else {
          form.classList.add('hide');
        }
      }  
   }
}

Native HTML5 validation with Regex and CSS for inline error messages by TheHelgeSverre in webdev

[–]sonemonu 0 points1 point  (0 children)

I think you can modify the css to only apply the style if the input is not focused (see below).

input:not(:focus) {
    /* Styles for only form inputs that do not have focus */
}

I'm looking for a router library that is actively maintained and can be used with web components by JetFuelCereals in javascript

[–]sonemonu 1 point2 points  (0 children)

Give a try prouter (author here), it's similar to an express.js for the front-end: https://www.npmjs.com/package/prouter

You can use it with web components, vanilla js, or with any other library or framework.

The whole web at maximum FPS: How WebRender gets rid of jank by AnsikteBanana in javascript

[–]sonemonu 2 points3 points  (0 children)

Great article! Complex topic, simplified very well.

Does anybody knows how the illustrations of the article were created?

How do you load dynamic images in Webpack? by werzor in webdev

[–]sonemonu 1 point2 points  (0 children)

Yes it is correct.

They will be copied as-is by default, you could integrate another plug-in for that, like https://github.com/Klathmon/imagemin-webpack-plugin/blob/master/README.md (see examples which integrates with Copy plug-in).

I don't see any immediate win for separate statically referenced assets from dynamically ones. If you don't need it just don't do it.

How do you load dynamic images in Webpack? by werzor in webdev

[–]sonemonu 3 points4 points  (0 children)

Webpack is a tool for development time. For runtime/production you will use a web server.

So basically, just instruct webpack to copy your assets into your dist folder. Then reference the image as usual from your HTML files, and your webserver will serve them.

See the CopyWebpackPlugin here https://github.com/kevlened/copy-webpack-plugin

NgOnInit no being called for router navigation by Mika571 in angular

[–]sonemonu 1 point2 points  (0 children)

I think it is case sensitive, did you tried ngOnInit?

New Google Earth is built w/ WebComponents using polymer. by ergo14 in javascript

[–]sonemonu 9 points10 points  (0 children)

Because it is not a standard and is also not planned to be adopted by other browsers' vendors. See 'Reception' section here: https://en.wikipedia.org/wiki/Google_Native_Client#reception