HNHacker News
TopNewBestAskShowJobs

mudiadamz

49 karma · joined November 24, 2018

submissionscomments
mudiadamz··on One hundred and one rules of effective living
More like how to be mediocre boring life advice
mudiadamz··on [Show HN] Simple Kafka Web Client: A web based UI for Kafka messages monitoring
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.
mudiadamz··on Show HN: If YouTube had actual channels
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
mudiadamz··on Computer scientists invent an efficient new way to count

  import math
  import random
mudiadamz··on Computer scientists invent an efficient new way to count
You can just replace it with something like: print ('Invalid thresh or something')
mudiadamz··on Computer scientists invent an efficient new way to count
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)
mudiadamz··on Build your own Docker with Linux namespaces, cgroups, and chroot
Yes that's the problem, Chat GPT isn't always right
mudiadamz··on Build your own Docker with Linux namespaces, cgroups, and chroot
The article is like Chat GPT generated
mudiadamz··on Show HN: Non.io, a Reddit-like platform Ive been working on for the last 4 years
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.
mudiadamz··on Happy New Year HN
making comment in HN is very scary
mudiadamz··on 100k Stars
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.
mudiadamz··on US travel firm $4.5M ransom negotiation open chat
Bitcoin turn to be ugly currency, the price will slump very soon.
mudiadamz··on Show HN: UI Playbook – A documented collection of UI components
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.
mudiadamz··on No Paint
the first time kind of confused but then i keep going on https://imgur.com/gallery/3ETezat