Recent submissions

Comment · 1 year ago
More like how to be mediocre boring life advice
Comment · 2 years ago
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.
Comment · 2 years ago
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
Comment · 2 years ago

  import math
  import random
Comment · 2 years ago
You can just replace it with something like: print ('Invalid thresh or something')
Comment · 2 years ago
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)
Comment · 3 years ago
Yes that's the problem, Chat GPT isn't always right
Comment · 3 years ago
The article is like Chat GPT generated
Comment · 3 years ago
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.
Comment · 5 years ago
making comment in HN is very scary

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton