Recent submissions

Comment · 3 years ago
Comment · 3 years ago
I've made a userscript for this! https://greasyfork.org/en/scripts/429539-unit-prices-on-krog...

Kroger doesn't publish unit prices on their websites, but they do publish quantities. They'll sometimes mix the units up (L, floz, see mapUnit() https://greasyfork.org/en/scripts/429539-unit-prices-on-krog...), but generally they're OK.

The script will normalize everything to a specific metric unit & present a unit price on the page.

Why stores have this horrible setup? Probably weaponized incompetence. Would be nice to have the FTC step in with some regulation.

Comment · 3 years ago
Installing toolchains on Windows is a huge pain, and installing the a consistent version of toolchains across platforms is also hard.

Platformio is a package manager for embedded systems

Comment · 3 years ago
I hope I'm not coming across as negative! Y'all are just have a much younger product, and have not had time to do all the polish and tiny tweaks. I'm also much more familiar with Datadog, and sometimes a learning curve feels like missing features.

- I really like your new Logs & Traces Explorers. I spend a lot of time coming up with queries, and having a focused place for that is great. Especially since there's now a way to quickly turn my query into an alert or a dashboard item.

- You've also recently (6mo?) improved the autocomplete dramatically! This is awesome, and one of my annoyances with Datadog

Other feedback, and honestly this is all very minor. I'd be perfectly happy if nothing ever changed.

- where do I go see the metrics? There's no "Metrics" tab the way there's a "Logs" and "Traces" tab. A "Metrics Explorer" would be great.

- when I add a new plot, having to start out with a blank slate is not great. Datadog defaults to a generic system.cpu query just to fill something in, I find this helpful.

- when I have a plot in a dashboard and I see it is trending in the wrong direction, it would be nice to be able to create an alert directly from the chart rather than have to copy the query over.

- the exceptions tab is very helpful, but I've only recently discovered the LOW_CARDINAL_EXCEPTION_GROUPING flag. It'd be super nice if the variable part of exceptions was automatically detected and they were grouped

- once nice thing in DD is being able to preview a span from a log or logs from a span without opening a new page. Or previewing a span from the global page. Temporary popping this stuff up in a sidebar would be great.

- I'm not sure if there's a way to view only root spans in the trace viewer.

- This might be a problem with the spring boot instrumentation, but I can't see how to figure out what kind of span it is. Is it a `http.request`, `db.query`, etc?

Comment · 3 years ago
I've got a small personal project submitting traces/logs/metrics to Clickhouse via SigNoz. Only about 400k-800k spans per day (https://i.imgur.com/s0J6Mzo.png), but running on a single t4g.small with CPU typically at 11% and IOPS at 4%. I also have everything older than a certain number of GB getting pushed to a sc1 cold storage drive.

w/ 1 month retention for traces:

    ┌─parts.table─────────────────┬──────rows─┬─disk_size──┬─engine────┬─compressed_size─┬─uncompressed_size─┬────ratio─┐
    │ signoz_index_v2             │  26902115 │ 17.06 GiB  │ MergeTree │ 6.21 GiB        │ 66.74 GiB         │   0.0930 │
    │ durationSort                │  26901998 │ 5.44 GiB   │ MergeTree │ 5.40 GiB        │ 53.02 GiB         │  0.10190 │
    │ trace_log                   │ 123185362 │ 2.64 GiB   │ MergeTree │ 2.64 GiB        │ 37.96 GiB         │   0.0695 │
    │ trace_log_0                 │ 120052084 │ 2.46 GiB   │ MergeTree │ 2.45 GiB        │ 37.60 GiB         │  0.06528 │
    │ signoz_spans                │  26902115 │ 2.21 GiB   │ MergeTree │ 2.21 GiB        │ 76.73 GiB         │ 0.028784 │
    │ query_log                   │  16384865 │ 1.91 GiB   │ MergeTree │ 1.90 GiB        │ 18.31 GiB         │  0.10398 │
    │ part_log                    │  17906105 │ 846.73 MiB │ MergeTree │ 845.39 MiB      │ 3.84 GiB          │  0.21521 │
    │ metric_log                  │   4713151 │ 820.92 MiB │ MergeTree │ 806.13 MiB      │ 14.56 GiB         │  0.05405 │
    │ part_log_0                  │  15632289 │ 702.82 MiB │ MergeTree │ 701.70 MiB      │ 3.34 GiB          │  0.20490 │
    │ asynchronous_metric_log     │ 795170674 │ 576.24 MiB │ MergeTree │ 562.50 MiB      │ 11.11 GiB         │ 0.049429 │
    │ query_views_log             │   6597156 │ 461.35 MiB │ MergeTree │ 459.75 MiB      │ 6.36 GiB          │  0.07060 │
    │ logs                        │   6448259 │ 408.59 MiB │ MergeTree │ 406.65 MiB      │ 5.99 GiB          │  0.06627 │
    │ samples_v2                  │ 949110122 │ 345.01 MiB │ MergeTree │ 325.31 MiB      │ 22.09 GiB         │ 0.014382 │
If I was less stupid I'd get a machine with the recommended Clickhouse specs and save myself a few hours of tuning, but this works great.

Downsides:

- clickhouse takes about 5 minute to start up because my tiny sc1 drive has like 4 IOPS allowed

- signoz's UI isn't amazing. It's totally functional, and they've been improving very quickly, but don't expect datadog-level polish

Comment · 3 years ago
Comment · 3 years ago
No. Coal plants on the other hand: https://www.scientificamerican.com/article/coal-ash-is-more-...

> The chances of experiencing adverse health effects from radiation are slim for both nuclear and coal-fired power plants—they're just somewhat higher for the coal ones. "You're talking about one chance in a billion for nuclear power plants," Christensen says. "And it's one in 10 million to one in a hundred million for coal plants."

Comment · 3 years ago
Executive VP at a bank is just a standard rank-and-file role. It is not a leadership position.
Comment · 3 years ago
I think the colored wax buckets were sitting in a tray full of warm water. Maybe even with the small warming burners underneath like how catering folks do it.
Comment · 3 years ago
Wokwi is a completely different tool. You would never be able to use it for radio frequency simulation, or much outside of "virtual breadboard" (although I've tried!)

Its strengths are around simulating microcontrollers.

Comment · 3 years ago
Low volume, and everyone who isn't a big company just buys clones.

If you are a company or care about reliability, you have to get the OEM version but hopeful you amortize it over thousands of crimps.

Comment · 3 years ago
I'm skeptical--are there any court cases where they've actually testified about this?
Comment · 3 years ago
Javascript in the SVGs?
Comment · 3 years ago
None of Espressif's products are able to compete with the nrf52 on low-power & battery-powered applications.

Wifi in particularly is a huge power hog and isn't really usable in low-power situations.

Comment · 3 years ago
You can buy a small fraction of a chicken farm, so that when chicken prices go up, so does the value of the chicken farm.

Then you simply sell a tiny fraction of your chicken farm, and use that money to buy a chicken.

That way you can preserve your chicken buying power through the years, rather than having a guaranteed -2% return on your money.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton