Hacker Newsnew | past | comments | ask | show | jobs | submit | more dxxvi's commentslogin

Is this what can be done with Apache Kafka Connect (to get data from another source to a Kafka cluster), Kafka (including Kafka Streams)? This image (https://github.com/drasi-project/community/raw/main/images/d...) is like Kafka Streams with a single topic. This image (https://github.com/drasi-project/community/raw/main/images/c...) is like joining 2 streams in Kafka Streams.


It also seems reminiscent of KSQL - consuming multiple input topics, and producing output to a topic defined using a query written in a SQL-like language that defines how the inputs are combined and filtered.


It seems to me that I don't know how to use the Google AI Studio. There is this youtube video with music lines at the top the video. I want to extract those music lines and put them in images. This is what I did: download the video with yt-dlp, get all the points of time at which I want to get the music line, use ffmpeg to extract frames at those points of time, use imagemagick to crop the music lines in those frames. It works but the tedious part is that I have to get all the points of time when there's a new music line. Does anybody know how to ask AI to do that?


Thank you. Your comment makes me check if there's anything like Brave for Firefox. And here it is: cachyos-v4/cachy-browser 130.0-2 (Firefox is at 131.0.2-1 now).


Nah. The real one to use is Librewolf.

https://librewolf.net/


Librewolf is too strict: for example, on slickdeals.net, a link there is like this https://slickdeals.net/click?pno=1011750&lno=1&sdtid=1783030... which leads me to https://www.kqzyfj.com/click-4485850-13804... with which ublock origin asks if I want to continue, I click on the Proceed button and I go the the page https://www.kqzyfj.com/click-4485850-13804171?url=https%253A...... and librewolf sometimes says that it's unable to connect (maybe librewolf doesn't like www.kqzyfj.com?).


LibreWolf is indeed very good.


I like it. It saves me a Ctrl+s and some setup for a hot deployment.


Do you think you're like Apple: not allowing people to fix their phones, laptops ...?


I don’t want the community hijacking my library by fossilizing some implementation detail. If you want to fork it, own it and do it, but don’t force that on me by using something you weren’t meant to and then bitch and moan when I break your code by changing some detail.


You can make that argument either way. People will always complain about the decisions you make and the ones you don't.

The semantics of encapsulation are sufficient. Anyone who breaks them knows it's on them, and if they don't, they certainly should have. It's not worth sweating all the maybes and what-ifs.


> Anyone who breaks them knows it's on them, and if they don't, they certainly should have.

I agree, the issue arises when library developers make this decision and application developers have to deal with the fall out of that. Application developers need to know when things like this happen.


So use an older version of the library, or stop using the library, or work around it. Libraries with such bad behavior are going to be infrequently used, or abandoned quickly regardless.


I don't see how this is relevant. This purely puts control into the hands of application developers. It lets them know exactly what correctness, portability, and integrity guarantees their application has. The application developer STILL can "fix their phone", but they have to enable it at the command line. It pevents library developers from making decisions for application developers without them knowing.


This is what I'm looking for: a way to put something in public (I'm using Vercel) that "only" me can access (anybody who can decrypt it doesn't need the content that I encrypt).


So you're looking for an authentication and authorization system.


That's incorrect: I'm looking for a tool that takes a html page, encrypts the content, generates another html page which has some js to decrypt what was encrypted before and puts the decrypted content back in the body of the html page.


Just encrypt it with Age?



Can age work as this tool does?


Yep!


So sad. I even create a userscript to reformat your website to read articles there. This is a screenshot of that format https://github.com/dxxvi/node-express-example/blob/master/Sc...


It seems to me that Scala has all the features that Gleam has. And they both run in VM's. Scala is not very popular and Gleam is less popular that that. Someone must really love learning a new language to learn Gleam. I respect it very much.


Scala is known for being multi-paradigm and quite complex, with competing factions promoting different Best Ways of Doing Things. Gleam is designed to be small and simple with a single clear path for getting things done. Apart from that, Gleam leans heavily on Erlang's actor model, which IMO is one of the greatest successes of language design to date.


> Scala is ... quite complex Do you mean the Scala language is complex or the Scala libraries (not the Scala API) that people created (e.g. Cats, Akka ...) are complex? If you say that the Scala language is complex, could you give an example?

> Erlang's actor model ... is one of the greatest successes of language design to date IMO, if you work within 1 VM, the thread model is closest to us as almost all languages have it. How many languages the actor model is implemented in? I know Erlang, Scala. What else?


Scala doesn’t have Erlang’s BEAM VM?


It runs on the jvm


I worked with Scala professionally once and agree it’s very similar. Honestly what put me off Scala the most were the atrocious compile times, it was like working with big complex C++ projects in that respect. Sorry but my time is more valuable than that.


Gleam compiles very fast - I believe the language has been designed in part to enable this. No context-dependent grammar, etc.


Compile times, lots of backwards compatibility breaking, and the forced functional everything from the community even though it was designed to be a blend of OO and FP.


First, I never use Spring IDE (which is nothing but Eclipse + some plguins). I use IntelliJ ultimate version which supports Spring pretty well. I wonder why you had to re-install the OS when you mess up the IDE, esp. in Linux. In Linux, Spring IDE, IntelliJ, jdk ... are zipped files. You download them, unzip them in your home directory. If you think everything is messed up and you want to restart from scratch, create a new account in you Linux machine and start again. Second, you can write a Spring-based app without a Spring-support IDE (e.g. IntelliJ community edition doesn't support Spring, i.e. it doesn't understand any Spring feature but of course, it understands Java). Many places where I worked were too cheap to buy the InterlliJ licenses for us and we were still fine (although we weer not happy at all).


IntelliJ Ultimate is a steal. It is less that my spotify abonnement. It is time for them to increase prizes.


If she has those concepts about html, she will learn more about html and then css very quickly with the help of AI.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: