News for hackers. Stuff that matters.

mudiadamz

Re:One Hundred and One Rules of Effective Living on Tuesday May 13, 2025 @09:03AM (#43972482)
More like how to be mediocre boring life advice
Features: - Connect to Kafka Brokers: You can manage connections to different Kafka brokers all in one place. - Send Messages: Sending messages to Kafka topics is just a few clicks away. - Listen to Topics: Listen to messages from Kafka topics in real time, right in your browser. - Filter Topics: Use regular expressions to filter and find exactly what you’re looking for in your topics. - Responsive Design: The interface is clean and looks great on any device, thanks to Tailwind CSS. - Persistent Connections: Your Kafka connections are saved in an SQLite database, so you don’t have to re-enter them every time.
Re:Show HN: If YouTube had actual channels on Wednesday August 14, 2024 @01:43PM (#41248621)
I know it's no way possible to add any Hollywood Movies, but if it's possible it would just look like a real TV

  import math
  import random
You can just replace it with something like: print ('Invalid thresh or something')
Python implementation:

  def streaming_algorithm(A, epsilon, delta):
      # Initialize parameters
      p = 1
      X = set()
      thresh = math.ceil((12 / epsilon ** 2) * math.log(8 * len(A) / delta))

      # Process the stream
      for ai in A:
          if ai in X:
              X.remove(ai)
          if random.random() < p:
              X.add(ai)
          if len(X) == thresh:
              X = {x for x in X if random.random() >= 0.5}
              p /= 2
              if len(X) == thresh:
                  return '⊥'

      return len(X) / p


  # Example usage
  A = [1, 2, 3, 1, 2, 3]
  epsilon = 0.1
  delta = 0.01

  output = streaming_algorithm(A, epsilon, delta)
  print(output)
Yes that's the problem, Chat GPT isn't always right
The article is like Chat GPT generated
Back when I don't even know what PHP is, i was dreaming of creating this Facebook like social media. Now 7 years later, I have the knowledge of creating. I was not even interested in creating another social media, just because I know I am nobody, I am not an MIT graduate, I don't have a network, my social/communication is terrible. Now I am settled on a working day job, those big ambitions are buried when I fully grasp the reality that I am not gonna be that one lucky enough to launch a successful billion dollar social networking app.
Re:Happy New Year HN on Friday January 01, 2021 @01:21AM (#25601327)
making comment in HN is very scary
Re:100k Stars on Wednesday October 07, 2020 @03:52AM (#24706175)
This method used to work for me, but i don't know lately it's barely even touch my feeling about the very vast universe, and how tiny and unsignificant we are.
Re:US travel firm $4.5M ransom negotiation open chat on Monday August 03, 2020 @01:14AM (#24034421)
Bitcoin turn to be ugly currency, the price will slump very soon.
Not as i expected but, great work, continue, maybe in the future it doesn't just a display of only 5 different things that i already know, and one of them isn't clickable.
Re:No Paint on Wednesday June 17, 2020 @02:01AM (#23548267)
the first time kind of confused but then i keep going on https://imgur.com/gallery/3ETezat