Better HN
topnewbestaskshowjobs
Log inSign up

sohooo

150 karma · joined May 14, 2009 (17y ago) · 50 submissions

Submissions

comment 1y ago · link · parent

We also started with the typical kube-prometheus-stack, but we don’t like Prometheus/PromQL. Moreover, it only solves the „metrics“ part - to handle logs and traces, more quite heavy and complex components have to be added to the observability stack.

This didn‘t feel right, so we looked around and found greptimedb https://github.com/GreptimeTeam/greptimedb, which simplifies the whole stack. It‘s designed to handle metrics, logs, and traces. We collect metrics and logs via OpenTelemetry, and visualize them with Grafana. It provides endpoints for Postgres, MySQL, PromQL; we‘re happy to be able to build dashboards using SQL as that’s where we have the most knowledge.

The benchmarks look promising, but our k8s clusters aren’t huge anyway. As a platform engineer, we appreciate the simplicity of our observability stack.

Any other happy greptimedb users around here? Together with OTel, we think we can handle all future obs needs.

comment 2y ago · link · parent

I also heart about lakeFS for data versioning on S3 object stores. Is DVC a contender in this area?

comment 3y ago · link · parent

I recommend using your preferred flavor of configuration management tool. It is tricky, especially when you want to provision multiple users in different Grafana organizations, data sources, and their dashboards, but it can be done (I prefer Puppet because of its flexible language, but Ansible should also work).

comment 3y ago · link · parent

You could take a look at Postgres + TimescaleDB extension, which offers a nice time_bucket() function on its hypertables[1]. You can also materialize using continuous aggregates („self updating“ materialized views).

1: https://docs.timescale.com/api/latest/hyperfunctions/time_bu...

comment 3y ago · link · parent

I also started with that stack, but swapped out InfluxDB for Postgres + TimescaleDB extension, which adds timeseries workflows (transparent partitioning, compression, data retention, continuous aggregates, …).

I found InfluxDB to be lacking in terms of permissions management, flexibility regarding queries (SQL, joins), data retention, ability to debug problems. In Postgres, for example, I can look into the execution plan of a statement, log long running queries, and so on.

Telegraf as an agent is very flexible; it has input plugins for every task I could want, and besides it’s default „pull workflow“ (checks on defined interval) I also like to push new metrics directly to the Telegraf inputs.socket plugin from my scripts (backup stats, …).

comment 4y ago · link · parent

Inline Bundler is a nice way to include gems in a single script file, which proved to be useful for me: https://bundler.io/guides/bundler_in_a_single_file_ruby_scri...

comment 5y ago · link · parent

Also not a fan of the touchbar, but since I learned that you can tap on volume and immediately slide left/right, it's ok for me.

comment 6y ago · link · parent

In the meantime, you could use the version shipped with macOS:

    ▶ ruby -v
    ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]

comment 6y ago · link · parent

There's a detailed issue[1] on the homebrew repo where you can track their progress. The "Major blockers" section lists go, rust, gcc, and others.

[1] https://github.com/Homebrew/brew/issues/7857

comment 6y ago · link · parent

also check out ora_migrator https://github.com/cybertec-postgresql/ora_migrator (another extension from Cybertec) which uses oracle_fdw under the hood.

intro blog post: https://www.cybertec-postgresql.com/en/ora_migrator-moving-f...

comment 7y ago · link · parent

If you haven't already, take a look at their awesome dashboard http://haya2now.jp/en.html linked a couple of months ago https://news.ycombinator.com/item?id=18046274

comment 8y ago · link · parent

https://avogadrocorp.com/ immediately came to mind:

> David Ryan is the designer of ELOPe, an email language optimization program, that if successful, will make his career. But when the project is suddenly in danger of being canceled, David embeds a hidden directive in the software accidentally creating a runaway artificial intelligence.

comment 8y ago · link · parent

Did you look into the Razer Blade series? https://www.razerzone.com/gaming-laptops

comment 10y ago · link · parent

Did you try http://cmder.net ?

comment 11y ago · link · parent

Looks interesting. DIY voice recognition still seems to be in its infancy tho. I guess this is another problem to be solved with mass data.

Jasper http://jasperproject.github.io looks like another contender in this area.

comment 12y ago · link · parent

One famous answer to this is: Your problem with Vim is that you don't grok vi. http://stackoverflow.com/questions/1218390/what-is-your-most...

comment 12y ago · link · parent

Does anyone use https://hubic.com/en/ ? Their pricing looks crazy-cheap compared to other providers.

18.

A puppetized PostgreSQL on Vagrant(txt.intothespirit.com ↗)

1 points · by sohooo · 12y ago · discuss

comment 13y ago · link · parent

In Puppet-land, MCollective ("more than a fancy ssh-for-loop") allows you to query servers by Facter facts.

Screencasts: http://docs.puppetlabs.com/mcollective/screencasts.html

comment 13y ago · link · parent

You probably stumbled over this article about scientists @ Qatar University developing artificial clouds: http://news.bbc.co.uk/sport2/hi/football/9435035.stm

edit: same as above post :)

comment 13y ago · link · parent

The widespread use of Puppet also has some benefits:

- lots of documentation

- Foreman ( http://theforeman.org/ , backed by Redhat) as a great alternative to Puppet Enterprise

- projects like GitHub's Boxen ( http://boxen.github.com/ ) to bootstrap your devel machine

- a large repository of modules available: https://forge.puppetlabs.com/

- a couple of books, training, conference, if you like those things

However, I'm very aware of those ugly warts, so there's a lot of potential for a successor.

comment 13y ago · link · parent

There's also flatdoc http://ricostacruz.com/flatdoc/ which renders the markdown file on the client side ('marked' js parser), so no server-side stuff is needed.

comment 14y ago · link · parent

I wonder if anybody uses asana[1] to manage there tasks. I saw that it's free for teams up to 30 members.

[1] http://www.asana.com/product

comment 14y ago · link · parent

http://xkcd.com/137/

comment 14y ago · link · parent

Some tips:

* remap jj to ESC: imap jj <Esc>

* align on "=>" with (Tabular plugin): nmap <Leader>t> :Tabularize /=>\zs<CR>

* for project-wide search (and replace), I recommend EasyGrep plugin ([1] see options)

[1] https://github.com/sohooo/vimfiles/blob/master/vimrc#L384

comment 14y ago · link · parent

I'm also a fan of Pathogen (and tpope's stuff in general), but now I would recommend Vundle. It's like Ruby's Bundler for Vim. The difference is that you define the bundles (plugins) you want to use right in your .vimrc. With :BundleInstall/:BundleUpdate clones/updates these plugins.

https://github.com/gmarik/vundle

comment 14y ago · link · parent

Screenshot of how powerline looks like: https://github.com/sohooo/vimfiles

This is without patched fonts. You get nice symbols if you perform that additional step.

comment 14y ago · link · parent

When it comes to Comic Sans, this monologue cracks me up every time: http://www.mcsweeneys.net/articles/im-comic-sans-asshole

comment 15y ago · link · parent

Well, the mini_magick documentation mentions that the spawn of a subprocess is the main point of that library:

"Using MiniMagick the ruby processes memory remains small (it spawns ImageMagick’s command line program mogrify which takes up some memory as well, but is much smaller compared to RMagick)"

Forking isn't always bad. See http://tomayko.com/writings/unicorn-is-unix

comment 15y ago · link · parent

Slightly off topic: for quick & common image manipulation stuff, there's also mini_magick: http://github.com/probablycorey/mini_magick
12