skysight-inc/HackerNews huggingface dataset:
We've used Thanos to aggregate multiple Prometheus (Promethii?) across our clusters to enable us to scale, each Prometheus deals only with a subset of scrape targets.

Biggest issue I've had was an app that was accidentally publishing several thousand metrics which caused the default scrape timeout of 15s to kick in.

(It was publishing Kafka lag per consumer group per topic, which was fine and dandy, until someone released an app that runs about 500 instances at peak, and scaled up and down frequently, and had incorporated the pod id into the consumer group names, which led to Kafka tracking many, many, many consumer groups. Given that the consumers were low value anyway, we now just exclude them from having their lag tracked.)
Can you list those open source extensions you run?
I think this could help a lot to cope ..
You should play with a language like Go or Python and get that rush of modernity
The Just-In-Time supply chain theory conquered the world – has it gone too far?
Github can do it for you automatically.
> I make tickets for my refactorings. Solving tech debt is also important.

You're right - it's important. But, guess what, most business people have no idea what refactoring means and no amount of explaining seems to get that through. They think it means developers get the equivalent of a paid holiday because of some preconceived notion they had at some other company they worked at.
If you switch from linear probing to cuckoo hashing, then you end up with a cuckoo filter, which is more compact than a bloom filter for a given false-positive rate. The compactness comes from the fact that Cuckoo hashing allows load factors of over 90% which are impractical for linear-probing.
There is also the Option of accepting Into<Option<T>>, which does cover both variants and is completely backwards compatible.
Understanding Memory,Thread Safety Practices/Issues in Real-World Rust Programs [pdf]
It’s probably more relevant for Australian businesses (and uk & nz, based on subscribers) but Xero does have a project that releases statistics about overall business health and the economy from a SMB perspective.

https://www.xero.com/small-business-insights/

Again, it’s likely to undercount low / no-tech businesses and over count those that were already looking towards technology as a differentiator (having decided to move their accounting to the cloud)
> I feel like telling ADHD people to "just do it" is like telling a depressed person to "just be happy"

That is literally what it is like. You are asking someone with a neurodevelopmental disorder which results in disregulation of various brain functions to behave like a person WITHOUT a neurodevelopmental disorder which results in disregulation of various brain functions. The person literally cannot.
to be fair, i am the redditor who mentioned to double speak, but i didn’t say fuck mozilla and im not switching to chrome.
“1. I don't want to pay a damned subscription for functionality in a product that I have already purchased“

Did you ever buy a television or a smartphone? Both become more powerful if you also buy a subscription. Why would it matter whether that subscription is from the company selling you the object?

“2. Why would I want a "self-driving" function that still requires that I keep my hands on the wheel and my eyes on the road?”

Because its better than nothing and the best you can get at the moment?
Yes, but that's largely because they serve different purposes.
Mozilla's announcement is a press release for external consumption. Carta's post is internal and for employees, and I'm sure there was one of these for Mozilla as well, but we're not privy to it.
I don't trust the estimates online either, but I do trust the relative data within each DMV. So I think the graphs that tell you number of people per hour are relatively correct and can be used to predict how busy a DMV will be.
Dlang let's you write GC code at first-- let's you allocate a string however you want-- and later convert that into @nogc code, or into GC code with manual deletions. The generational garbage collector will help with deleting strings. Best of both worlds-- fast prototyping, with the ability to drop down for faster code.

Furthermore, like interpreted languages, Dlang compiles very fast because the language implementers believe fast compilation is a core goal.
Other people in this thread could think it is a reason to "abandon" Mozilla.

Therefore, given that other people may think that, it is reasonable to bring it up.

Not all parts of a comment are directes literally only at the person that one is responding to..
Thiel on Progress and Stagnation
It's a fantastic interview!
Ask HN: How Do You Learn New Frameworks or Programming Languages as FTE
As a FTE you barely get time to code since you get so tired after work and don’t wanna look at screen. My question is how do you learn new frameworks or even programming languages. Even code side projects
Just like Microsoft did in the 80s/90s, Google has created some awesome products. At some point, it stops being worth it to compete and way easier to leverage existing strengths. For example, any product that relies on Adwords sales, Google can bid infinitely high and take the top spot. Or in the case of search, just putting their widgets in at the top like they've done for flights. It stops being about creating a better product and only about creating a winning product. Competition is really hard and risky. Owning your competitor's sales channel and then pushing them out is so much easier. Google now seems to be crossing this line.
Not bad advice, though sometimes we have to play the game with the cards we're dealt. I have to trick myself into not procrasti-forgetting my utility bills, but I don't really see a downside to that.
I dislike Putin, but I think he's too smart to start shooting down hundreds of American satellites (barring WWIII.) That's far brasher than anything else they've done in quite a while.
I've lost approximately a week of my life to it. Never again.
What if procrastination was the simple act of postponing something just because...you can. Erase the 9-5, the arbitrary deadlines, the impossible requests of a boss, a client or a partner. Poof! Procrastination conceptually ceases to exist.

It's ok to do nothing for 2 days and then put in 12 hours straight of purely productive coding, if you are not supposed to follow a specific timetable.

It's ok to be a few days late on a deadline if that deadline has no reason to exist (which, let's be honest, most don't).

It's ok to spend a few weeks on a project then abandon it for a few weeks only to rediscover the joy of working on it afterwards if there is nobody constantly asking "is it ready yet?".

Because, let's face it, nobody in their right mind procrastinates if their livelihood is on the line or if it means letting someone down. We only procrastinate when we can. And if it gets so bad that you just can't get around to doing something, no matter how hard you try, congratulations! You've just found something you hate doing :)

What if it was all that simple?
Yeah to be clear I would rather see a proper implementation. From the LWN thread I thought Linux didn't have a personality system so this might be a stop-gap way to make a lighter weight implementation, but somebody commented that it in fact does (if barely), so that should be used instead.
Show HN: New-Gen Pagespeed Analysis with A.I (2020)
Hackable testing apparatus for face masks
In general extending project lead times is going to cost more money because you still need to pay some people to be working for that longer duration.
Understood, I'm just wondering if you offer the ability to detect it and report it, not mitigate it.
The film is the origin of the “brat pack” and the John Parr/David Foster song that the lite FM stations play every other day.
Meanwhile I can't pack through sun-tan lotion in a carry on so I can use it before I tear into my suitcase in a hotel room. I think the actually most dangerous thing in my bag was the laptop's lithium ion battery, though there were the lovely cellphone issues a year or two ago as well.

Meanwhile, I hear it's possible to carry on a whole pumpkin pie. As if someone couldn't hide a good bit of volatile material in that format, or an improvised weapon in the form of it's carrying container.

As much as I dislike profiling, I do believe it has a place of use in focusing actual suspicion based fact finding and proving. It should be used to exclude suspects and focus investigations and judicial review for search requests to cases that might matter.
Fair point. I just don't know that right now at the beginning will be a good time. A solid ecosystem can make all the difference.
Tell HN: I just made my first sale
For the past year, I've been working on a side project called Outpan. Basically it's an app store for web apps (apps written in JS/HTML/CSS).

The whole project started out as a simple directory but a few days ago I finally finished the payment/store functionality and released it without any fanfare. To my surprise, one of the developers found out about the new feature and added a paid app priced at $5 (https://www.outpan.com/app/d0b0885a8d/voice-music), I genuinely thought the price was waaaaaay too high and there weren't any proper screenshots (I think the developer was just testing the waters) but the very same day a user actually bought the app!!!!

Even though it's only $5 and the user seems to not have liked the app (I reached out to them and offered to issue a refund but they refused!) this is still a crazy milestone for me as all this happened without a shred of marketing and totally organically! I've already put a ton of work into this project but now that I know that there seem to be people willing to transact on my platform I'm super focused on improving the entire buying and payment experience to perfection.

Anyways, a really small amount of money but a giant amount of excitement lol Please ask any question you might have about my experience, would be happy to answer.
The "every device in existence" fails with node, at example, which has a different standard library, and every browser support libraries and even syntax differently (which is why we backport stuff with tools like babel)
If you know there is a problem in a system and you expect someone inside to make the change, most of time you will be disappointed, TBH.
WebAssembly is not JavaScript. This code does not transpile to JavaScript. There might be some JavaScript glue code to call the WASM that's bundled into the website, but that's not what your comment is claiming.
I haven't looked at Reason in awhile, but since its just sugar on top of OCaml, most OCaml docs/stackoverflow questions should help.
I had this experience with a particular React hook recently. We ended up with like 5 teams implementing very similar functionality, and then when developer #6 came along and tried to replace them all with a common implementation it broke 2 out of 5 use cases because of very subtle edge cases. I guess React runtime behavior is kind of high on the scale of how hard code is to reason about, so maybe this wouldn't happen in an easier codebase. But still a very instructive exercise.
Sorry, Resume is https://github.com/madacol/aboutme/blob/master/resume.md
This is likely done using OCR:

> OCR is executed on the ROI for each camera frame in order to extract additional information, such as packet size, product flavor variant, etc.

You could probably also do some very simple statistics like a colour histogram on the box, once you had high certainty of the product line.
In case others are wondering, this is about Lucid, the "dataflow programming language designed" [1], not the unicorn startup [2].

[1] https://en.wikipedia.org/wiki/Lucid_(programming_language)
[2] https://www.golucid.co/
The difference as minimal. If you know the first thing about what you're doing with SQL you will use prepared statements. It's not some sort of arcane feature that nobody understands.
Labor certainly is a commodity.

I have a relative who bought a very nice beach house from his legal fees suing a hospital network for doing something similar.
Send is DOA.
Those standards and the faith in their adhering to them are _all Mozilla has_. I use Firefox on all my devices, even mobile, but it's hard to argue that on a pure tech perspective, Chrome is the superior browser.

The reason I use Firefox is I still trust Mozilla more than Google, but the more Mozilla erodes that, the less they have to offer - the browser is not improving technically at the same rate Mozilla is diminishing reputationally.
> DDG with their favicon service (which HN billed as some sort of nefarious tracker)

That was a pretty blatant exposure risk for something trivial, and the employee who responded on it was shockingly inept. At some point the amount of stupidity becomes so incredible that Hanlon's Razor breaks down.
https://www.schrodinger.com/ ?
> Safari made third party tracking impossible by gradually fully segmenting everything - HTTP caches, LocalStorage, cookies, etc. -

I haven't been following exact features between browsers too closely recently, but Firefox's Tracking Protection has been around for a while and improving for years; and of course, Firefox is where AdBlock/uBlock originated. What does Safari provide that Firefox does not? How does it affect web compat?

> and Chrome made JIT exploitation and then Spectre attacks in JavaScript impossible by using process boundary separations and applying sandboxes to purpose built processes.

This feature has been a long time coming in Firefox, and it's still not all the way there.

But Firefox did just release an opt-in process isolation feature for Firefox, which applies stricter cross-origin controls for a variety of content, and in exchange gives web developers access to SharedArrayBuffer, the feature that needed to be disabled to mitigate Spectre attacks.

So site isolation is progressing, and the first iteration of it has been released.

> What awesome technical choices do you think Mozilla has made recently?

The development of Rust. Servo, which acted as an experimental testbed for a parallel browser engine and has led to its CSS parser, WebRender, and a number of other components being used by Firefox. Asm.js as an alternative to NaCl, which led to the joint development of WASM.
> Mozilla can't do anything other than Firefox

Do you have example of this?
Getting diagnosed this year changed my life too.

I'm sure at some level the standard science and advice still applies but it's truly as those mechanisms aren't likely missing in our brains, but it's truly remarkable how the developmental delays change your brain such that things really are different for you and it's not just a matter of "trying harder" or "applying yourself".

I was absolutely stunned at the profound impact it had on my life once I was able to connect the dots together. Equally stunned at the drastic improvements I've been able to make without following the standard advice but by following what works specifically for ADHD e.g externalize information, externalize decision making etc.
At 60 years old, unless I stayed in shape, I doubt I would be able to run half marathons in a decent time, enjoy a decade of being a fitness instructor, fail miserably at real estate and marriage and recover from both (reset my career, get remarried, and still have enough time to rebuild my net worth), etc.

I lost a large part of my net worth between those two things - but I had the income to both enjoy life and to recover.

Everything I mentioned above happened between the time I was 25-35. Some good, some bad but I don’t regret any of it.

I wouldn’t take nearly the risks in my 60s that I did in my 30s. If I broke a bone in my 20s while doing some of the crazy stuff I did, I could heel. Not so much in my 60s.

I got a chance to start over with a new family making better choices in my 30s. I was still young enough at 35 to run with my sons, take them to the gym with me. At 85 not so much.

Are we really arguing that there are opportunities you have between 30-50 that you can’t make up for between 70-90?

Would you rather have been Steve Jobs or Ronald Wayne?
I draw a parallel between refactoring and code ownership. Once I've worked in an area of code for a while (several sprints) then I probably know enough to try refactoring. Longer time working on it == more ability to refactor.

The idea of what is correct (to you and to others) and what needs refactoring changes over time, even the product changes. Sometimes it can be beneficial to wait a while and see if you still feel the same way after a few weeks.
The problem is that unlike oil or phone lines, it's not physical infrastructure, so the government could order all they want and Google can respond by rm -rf / on all their servers and walking away and founding "google2" tomorrow that happens to do all the things Google did and another 20+ year cycle starts again
Yes, exactly that. Basically wire up very simple commands with curl and jq that do the transitions you need, pulling data from other rest apis as necessary.

The two workhorses of my integration are two methods named jira_get and jira_post.

function jira_get {
ENDPOINT="$1"
PAYLOAD="$2"

URL="https://your-org.atlassian.net/rest/api/2/$ENDPOINT"
QUERY_STRING="$(jq --null-input --raw-output --argjson x "$PAYLOAD" '$x|[to_entries[]|((.key|@uri)+"="+(.value|@uri))]|join("&")')"

curl \
--silent \
--request "GET" \
--header "Content-Type: application/json" \
--user "$JIRA_USER:$JIRA_TOKEN" \
"$URL?$QUERY_STRING";
}

function jira_post {
ENDPOINT="$1"
PAYLOAD="$2"

URL="https://your-org.atlassian.net/rest/api/2/$ENDPOINT"
QUERY_STRING="$(jq --null-input --raw-output --argjson x "$PAYLOAD" '$x|[to_entries[]|((.key|@uri)+"="+(.value|@uri))]|join("&")')"

curl \
--silent \
--request "POST" \
--user "$JIRA_USER:$JIRA_TOKEN" \
--header "Content-Type: application/json" \
"$URL" \
--data "$PAYLOAD";
}

Then if you want to get the available transitions, and required fields for those transitions, you can do

ISSUE=PRJ-1234

ISSUE_JSON="$(jira_get "issue/$ISSUE/transitions" '{"expand":"transitions.fields"}'
TRANSITION_NAMES="$(echo "$ISSUE_JSON" | jq '.transitions[].name')"

and then given the transition in question, you can look at the fields required for the transition, and figure out where you get the data that goes in those fields normally. Any time the data that goes in those fields is obtained through a rote process, you automate that process, and then prompt for any fields you can't get in an automated fashion (e.g. "signed off by" you can fetch the reviewer names from the github api for the associated pull request).

But yeah, a slack bot that issues requests to the JIRA api is a perfectly workable solution, and I think you'd be surprised at how much of a quality of life improvement you'll get by continuing to add capabilities to it that reflect your specific workflow.
Specifically on the SVG filtering example, which I think is a good illustration of when to use or not use a dependency:

Writing an SVG (or at least XML) parser is a necessary task for writing a filter that doesn’t get stuck due to weirdo issues. That is way more than an afternoon of work! But once you have a parser, dropping tags you don’t want or transforming them somehow is totally an afternoonable task size. So, do use a dependency for SVG parsing, but don’t look for a special “SVG filter all” package. Just do the filtering yourself.
Why wouldn't they? If some companies are that invested in keeping their data off the cloud (on which I agree that those are few and far in between) I could easily this as an on-prem instance.
Virtually all the ccurrent modes of online abuse were present in at least some form on Usenet and dialup networks by the late 1980s / early 1990s.

Content piracy to a much lesser degree as bitrates were so slow and expensive (though texts were fair game), but stalking, harassment, propaganda, bigotry, fraud, spam, etc., yes.
Seems down, here's a google cache of it https://webcache.googleusercontent.com/search?q=cache:lIePhG...
Boilerplate code is generated using templates. Templates are written by humans. Therefore, if the templates are good, the quality of the code would be good as well.
Yeah, including everyone at work and our customers. I could do payments through Alipay, but there’s no way people are going to accommodate me in other ways.
> How often do you believe this really happens in practice?

Regularly if you're doing refactoring of code. Otherwise code becomes unchangeable because it's too big of a burden once it's clear it needs to change.

> And does that truly outweigh the benefit of being able to define a precise contract on your APIs?

I would point you to the XML standards which allowed people to do exactly that, and instead JSON won.
That's not a fair point about virtue signalling. I get the motivation there, the term rubs you the wrong way (me too) because it's frequently used by the wrong people, and you're trying to either help the guy write or write off his arguments. But there's no guilt by association. There's nothing inherent about 'virtue signalling' that makes it bigoted, and if corporations found a way to make money by pretending to be bigoted, the scale would tilt in the other direction.

Free speech and anti-corporate attitudes are traditionally liberal values. Nowadays, you see arguments from bigots that oppose corporate power over free speech. We shouldn't be forced to withdraw our positions on free speech or corporate power just because they're associated with bigotry now. The idea of expecting others to do so is apalling to me, even if I'm not on board with the virtue signalling stuff specifically.
Arecibo radio telescope damaged by cable break – Astronomy Now
You know, if he can't see it, maybe he forgot it was there? That would be an amusing side effect.
I'm using their nodejs apm product. We have had numerous problems with it due to its dependencies (async_hooks)
Not commenter you were replying to, but...

Honestly, most of them. Grammarly in particular because of privacy concerns, but I avoid using any that are not both open source and high payoff.

I use Privacy Badger and NoScript. I may add Ublock Origin to cover the edge cases where I need to enable JS. Anything else is adding bloat, not cutting back on it.

NoScript in particular covers:
UBlock Origin, Nano Defender, Hover+Unpaywall, and ShutUp

Most of the others, I already use something outside of a browser or don't need.
> Except that every port is allowed to choose if they use the TSA or not. San Francisco for example does not use the TSA.

Then, somehow, they managed to make it even worse.
Mail me and I'll give you a recipe.
Note that we are using Server-Side Blazor, so this approach works for us. I do not think it works with WASM (at least out of the box), but we do not care for this form of Blazor hosting right now, so its not a concern for us.

Hmm interesting, how does that work? What enables the interactivity in the browser?
The issue I have with this is a lack of specification. Left pad _what_?

Numbers or ASCII-only-printing? OK that's a reasonable. Is there a desired overflow behavior?

Past that it becomes more an issue of where and why. The suddenly not-trivial example includes questions about fonts, layout, and multi-byte characters. Emoji, etc.

Incidentally, in pseudoscope:

Create a valid full-space pad string (termination / etc), then decrement back from the end of the source string and over-write the pad characters from the end to the start of the string, exiting either on no more pad characters or no more input.

A second algorithm might combine those two steps as one pass, fill the output buffer from back to front. Only for C style strings would this be an issue given the dynamic end point for the data structure.
Non-profit doesn’t mean non-revenue, so there’s nothing dodgy about them trying to sell a few things. Nothing “hybrid” about it.
Do you mean the shells, or the yolks? The illustrations in the Seuss book show lime-green yolks.