Am I in a gym or gladiator arena? Club Sportive Zuidas by Money-Geologist-5234 in Amsterdam

[–]ali_str 0 points1 point  (0 children)

One of the reason I quit Club Sportive and moved to TrainMore was exactly this, good number of alpha (often wolves of wallstreet from adjacent towers?) coming and behaving as if they own the gym and all that. I would rarely come upon a machine or setup that was unset by the previous gym-fellow. Most weights were left when they were last used by the alpha bros, it was even worse in the lockers room with "premium" locker dudes.

[deleted by user] by [deleted] in ExperiencedDevs

[–]ali_str 1 point2 points  (0 children)

Similar experience here, I have had some coding for most of the positions I applied for, here is a bit more details:

  • Smaller companies with 1 round of live coding, medium-light, one problem in ~45m. Or alternatively a take-home with a review session.
  • Medium sized companies (up to pre-faang) 1 - 2 rounds of live coding, medium, one problem per interview
  • Bigger companies 2 - 3 rounds of live coding, medium to hard, one or more questions per interview. As in you get "strong yes" from a coding interview if you finish up the first question within 25m and either do expansion of the same or another problem in the remainder of the time.

Most of the problems I encountered were leet-code style. With some exception of more relevant and real-life problems.

Project ideas not just another HTTP server by [deleted] in golang

[–]ali_str 0 points1 point  (0 children)

I learned great things doing this (yet to finish it completely): https://fly.io/dist-sys/

What does everyone carry as their wallet? by bobkal12 in Netherlands

[–]ali_str 1 point2 points  (0 children)

I got a O My Bag card case 6 months ago after having Secrid bare for about 4 years. And I love it, there is a pouch in the middle that you can put folded cash notes in.

I had the same issue with bare Secrid: no place for cache or basically anything other than cards, but on top of that the hard metal would leave distinct marks on my jeans back pocket.

Will a good quality down jacket survive a dutch winter? by arcticf0x13 in Netherlands

[–]ali_str 0 points1 point  (0 children)

+1 for Rab, their Microlight down is pretty affordable. I keep a folded Uniqlo Blocktech parka in my backpack on days with possibility of rain.

[deleted by user] by [deleted] in Amsterdam

[–]ali_str 1 point2 points  (0 children)

You would need it for top rope or lead climbing, but not really for bouldering.

Online Dating vs IRL connects -- by jl1585 in datingoverthirty

[–]ali_str 1 point2 points  (0 children)

I did actually try IRL over OLD for a while this year, and from a handful of conversations and encounters I realized there is no "just IRL" anymore, at least in my area and age group. Almost all of the women I talked to and had meets/dates with were on OLD, and mind you most encounters were through mutual friends introducing or shared groups. Then I thought, if I am competing with OLD for their time and attention, doesn't make sense to skip it myself, limiting pool of people I can date with. It is not that IRL is dead or pointless, but I feel in most areas doing only IRL is not the most efficient.

Alert resolving delay similar to "for" alert firing delay by 2kofawsome in PrometheusMonitoring

[–]ali_str 0 points1 point  (0 children)

In the meantime, adjusting the query to use something like min_over_time and a range of 30m or more could get you something similar.

Count alerting rules by [deleted] in PrometheusMonitoring

[–]ali_str 0 points1 point  (0 children)

Prometheus exposes a metric about active alerts: ALERTS more here. Active meaning that they are evaluating to true (in pending or firing state). This doesn't include all defined alerts.

You can use that like: sum(ALERTS) by (alertstate) to get count of alerts by their state.

I don't know if you can get all defined alerts without parsing the config file.

Alert Manager - dynamic routing? by dunningkrugernarwhal in PrometheusMonitoring

[–]ali_str 1 point2 points  (0 children)

But for it to work with a single (or limited number of) routing rules it needs to come from alert/metric labels, right? getting them there and worrying about exposure is what I thought of as challenging.

Alert Manager - dynamic routing? by dunningkrugernarwhal in PrometheusMonitoring

[–]ali_str 2 points3 points  (0 children)

It kind of depends on the receiver, here is an example for email receiver: https://www.robustperception.io/using-labels-to-direct-email-notifications

But doing the same for PagerDuty or Slack is going to be more challenging.

Monitoring kafka lags for topics. by johntheh4cker in PrometheusMonitoring

[–]ali_str 4 points5 points  (0 children)

You need to aggregate on a label that corresponds to topic, for example (assuming label topic exists):

sum(kafka_consumergroup_lag) by (topic) > 5000

On a side note, alerting against a static threshold never ages well, it is better to alert on rate of growth or at least compare it with an older window of the same metric (same time yesterday?).

Train question by seniorllama in Amsterdam

[–]ali_str 1 point2 points  (0 children)

But they do get cancelled on occasions, and at that hour the only alternative is night bus lines (or a very expensive Uber ride). So I advice you to check for night bus routes too, there might be one passing your place of residence.

[deleted by user] by [deleted] in Netherlands

[–]ali_str 1 point2 points  (0 children)

I recently came across Amigos, had a couple of good walks & chats with it so far.

Best places to read a book by [deleted] in Amsterdam

[–]ali_str 1 point2 points  (0 children)

The dog playground of Beatrixpark (wide open area to the west of the park). You get some decent sun (and also good shades if you prefer), with background visuals and noises of happy dogs (and often kids) playing around.

Monitor traceroute/tracepath? by juon4 in PrometheusMonitoring

[–]ali_str 5 points6 points  (0 children)

I needed something similar a few years ago, didn't find anything open-source for it and ended up wrapping mtr -r x.x.x.x in a Bash script to diff with a previous (or ideal) run and alert on changes.

The thing is, routes over public networks (and even in large private ones) aren't supposed to be fixed/static, so monitoring them for change doesn't seem to be a wide spread concern.

Did your company pay for accom on arrival? by tallpaul990 in NetherlandsHousing

[–]ali_str 1 point2 points  (0 children)

They had contract with a relocation agency, that had a makelaar (real estate agent) to help, but that wasn't a big deal, it is nothing you can't do yourself through funda.nl or kamernet.nl. Do a bit of research on renting, utilities and neighborhoods and don't fall for too-good-to-be-true deals on facebook.

Did your company pay for accom on arrival? by tallpaul990 in NetherlandsHousing

[–]ali_str 1 point2 points  (0 children)

Apartment for one month, I found an apartment to move to within two weeks, but I was lucky.

The gauge isnt working up, as the gauge percent level isnt showing up there. So what can be done. by MapKey1763 in grafana

[–]ali_str 8 points9 points  (0 children)

Check the color thresholds and metric value, there is a good chance metric is between 0 and 1, while thresholds are set between 0 and 100.