HNHacker News
TopNewBestAskShowJobs

ekiauhce

1,399 karma · joined March 27, 2021

submissionscomments
ekiauhce··on Integral Calculator
Integrating is a part of wolfram alpha, e.g https://www.wolframalpha.com/input?i=integrate+%28sin%28sqrt...
ekiauhce··on Implementation of Mamba in one file of PyTorch
If a variable contains batch size, then name it accordingly — batch_size.

And no glossary needed, KISS

https://github.com/johnma2006/mamba-minimal/blob/82efa90919c...

ekiauhce··on Shh: Simple Shell Scripting from Haskell
You can’t really move away from bash, unless there would be alternative as widely available on different Unix systems as bash is.

Yes, you came up with a nice syntax for your Haskell scripts, but what it cost to install all required dependencies on, for example, newly created Ubuntu server?

ekiauhce··on An open source cross-platform process management and supervision service
How is this project compared to supervisord feature wise?
ekiauhce··on Show HN: Pypipe – A Python command-line tool for pipeline processing
Nice project!

It gives me so much Perl one-liners vibe, when `perl` command combined with `-p` and `-e` flags allows you to write super concise programs for bash pipelines.

Some examples https://learnbyexample.github.io/learn_perl_oneliners/one-li...

ekiauhce··on Go Package for Building Progressive Web Apps
Is this some kind of joke?

I waited about half a minute for percent counter reach 100%, then it just keep loading with the counter beyond one hundred lol

So “progressive”

ekiauhce··on Latest versions of Docker cause memory leak in MySQL 5.7
We updated docker recently and got really high RAM usage in the integration tests.

Atop shows that MySQL eats 20GB for no reason. All mysql server metrics was okey.

This problem was really painful to debug, since we thought “how docker can even affect how mysqld use memory, it might be something else”

Related: https://bugs.mysql.com/bug.php?id=96525

https://github.com/docker-library/mysql/issues/579

https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/ms...

https://github.com/moby/moby/issues/44547#issuecomment-13340...

ekiauhce··on Semver violations are common, better tooling is the answer
I skimmed through the API Compatibility section in the cargo semver docs https://doc.rust-lang.org/cargo/reference/semver.html#api-co... and got excited about the list of rules they came up with for choosing right version for your release.

Is there similar guidelines for other languages like Java or Python?

ekiauhce··on All of Physics in 9 Lines
Unreadable on iOS 16.6 and browser Firefox 116.2 (33536). Text overflows right border and can’t be scrolled

Toggle “ask for desktop version” doesn’t make any difference

ekiauhce··on Ask HN: has Netflix open-sourced its metrics threshold tuning system from 2012?
Hey!

I just watched the presentation from post url and I really liked the tool Roy talked about at 19:00-22:40.

Also he answered a question (34:07-35:23) about which algorithm they use to actually tune thresholds by saying that he was sure it would be open-sourced at some point.

So I searched through the entire list of public repositories on https://github.com/Netflix?sort=stargazers and didn't find anything relatively similar to what Roy described.

Does anyone know: 1. What is the name of the metrics tuning system? 2. Is it open-source? 3. Is it actively supported or is it deprecated?

Thanks.

ekiauhce··on AI-powered root cause analysis based on precise telemetry data
Nice article! Actually it would be great to see suggestions from LLM for each error log highlighted in the RCA report, so you don't need to ask OpenAI about it manually.

Do you have any plans about this feature?

ekiauhce··on We spent $20k on Google Play pre-registration ads
Hm, what's the point of placing TLDR section at the end of the article? :)
ekiauhce··on Java Debugging Tips Using Intellij IDE
Thank you for the summary, my ChatGPT powered friend.
ekiauhce··on How Docker Generates Container’s Names
Nice Easter Egg - you can’t get container with a name “boring_wozniak”, because

> Steve Wozniak is not boring

ekiauhce··on Minimal downtime major PostgreSQL version upgrades with pg_easy_replicate
Is there an alternative for MySQL? We want to upgrade from 5.7 to 8 pretty soon, so it would be nice to have the appropriate toolkit.
ekiauhce··on Ask HN: Which project(s) made you go “I can't believe this is open-source”?
coroot - https://github.com/coroot/coroot
ekiauhce··on Show HN: Regex.ai – AI-powered regular expression generator
Writing regexps by hand, indeed, might be tedious task in some cases.

One I familiar with is to match datetime interval, when you need to narrow down log rows for a particular time range.

So I built a tool just for it :) https://github.com/ekiauhce/interval-to-regexp

ekiauhce··on Using eBPF and predefined inspections to minimize “observability tax”
Thanks for the great article!

At my current employer we have a company-wide service for aggregating error logs in particular (WARN, ERORR level log rows and stacktraces, if it was an exception) so developers can analyze them for debugging purposes. Also it automatically gathers information about incoming http request (geo, ip address, user agent, etc) and you can easily see a particular segment of errors, and what kind of users getting them.

As I can see you have logs quantitative metric https://community-demo.coroot.com/p/oc1vhnmq/app/default:Dep... but without any detalization (maybe it works this way only for the demo app). I mean, it would be great to be able to inspect each ERROR event separately or to define custom SLO with alert for particular type of errors.

Another great feature we use a lot is historical data, so you can find patterns of error spikes on months scale and when it has gone after fix.

FYI this error-service I'm talking about is built on top of the ClickHouse, so it's quite responsive regardless of the large volumes of data.

Another thing I want to mention is cron-like workload (or batch jobs, you name it). Is there any support or useful metrics for it?

ekiauhce··on Bocker: Docker implemented in around 100 lines of Bash (2015)
I'm excited to see _Cocker_ implementation in 50 lines of C code :)
ekiauhce··on YAML natively supports node references
TIL

I was quite impressed about this feature. It could reduce nice amount of boilerplate in docker-compose.yaml files or application.yaml Spring configs.

ekiauhce··on Request for Creators: Design for Developers
I think most essential skill for self taught designer is watchfulness.

When you don't have a clue how, for example, hero section should be designed, just go to the Dribble and scroll through examples people with experience make. Then your brain will recognize patterns for spacing, font choices and other things every good hero has.

If you struggling with particular UI component, you can address css/components libraries like Bulma or Vuetify.

For me the hardest part is static assets (background pictures and illustrations), because you can't make them from scratch without basic __drawing__ skills. Here is some links from my bookmarks, maybe it would helpful:

https://haikei.app/

https://undraw.co/illustrations

https://craftwork.design/

ekiauhce··on ICMP, Ping, and Traceroute – What I wish I was taught (2020)
You can use nmap for checking presence of the host, open ports and the OS machine running.

This tool has great documentation, see https://nmap.org/book/intro.html for more details

ekiauhce··on Solutions Architect Tips: How to Build Your First Architecture Diagram
Nice post! I really would like to see an example of good diagram author talking about.
ekiauhce··on Type-checked keypaths in Rust
Good article, thanks!

There is similar concept for json https://goessner.net/articles/JsonPath/

We heavily using it for validation error messages. Like

    {
      "error": "wrong value",
      "path": "foo/bar[1]/prop"
    }
ekiauhce··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
You can go futher. Just type cal in your terminal:

  ~ % cal 
       March 2022       
  Su Mo Tu We Th Fr Sa  
         1  2  3  4  5  
   6  7  8  9 10 11 12  
  13 14 15 16 17 18 19  
  20 21 22 23 24 25 26  
  27 28 29 30 31
ekiauhce··on Slidev – Presentation Slides for Developers
Obsidian md has a convenient plugin to render a markdown note as presentation. It's cool, because you can put some highlighted code or tex formulas on it.