skysight-inc/HackerNews huggingface dataset:
I've looked at these before, and I remember a few years ago when Grafana was really starting to get big, but I guess I have a bona-fide question: Who really needs this?

I manage a small homelab infra, but also an enterprise infra at work with >1,000 endpoints to monitor, and I/we use simple shell scripts, text files, and rsync/ssh. We monitor cpu load, network load, disk/io load, all the good stuff basically. The monitor server is just a DO droplet and our collectors require zero overhead.

The specs list and setup costs in time and complexity are steep with a Grafana stack - is there any value besides just the visual? I know they have the ability to do all manner of custom plugins, dashboards, etc, but if you just care about the good stuff (uptime+performance), what does Grafana give you that rsync'ing sar data can't?

PS: we have a graphical parser of the data written using python and matplotlib. very lightweight, and we also get pretty graphs to print and give to upstairs.
Collectd is only one part here. Did you need a solution for inline processing/aggregation and alerting? If not, you wouldn't run into TICK. It's not common overall, because few environments need to go that far.

I don't get the comparison to LAMP popularity. Insects are more common than cars too. They're different things ¯\_(ツ)_/¯
It certainly can be, depending on what you compare it against and how you measure.

It is based on V8 which in many (caveat: far from all) benchmarks comes out as the fastest JS engine, so by that definition in the realm of JS powered components it is pretty quick.

node.js solutions will often perform better than common configurations of other options too - Apache+PHP to pick one example out of the air. Then again, depending on the code other configurations of PHP might outperform Node.
I think you are wrong. If you don't modify the software then GPL compliance is not your job. If you modified the software AND you distribute it you need to have the modifications available somewhere so the users of the software can get them.

I mean I seen proprietary and open source software prompting a license popup or message so you are informed that this program offers no warranty etc , when you use a proprietary tool and lend your device to your friend do you also make the argument that your friend did not clicked the proprietary EULA or he did not read the MIT/BSD disclaimers and you first make them read those licenses/EULAs?
I didn't see a reference for your number so I went looking for data, that is what I found. Hence I asked where your data came from.

>How can you still push lies like that?

Still? that is the first time I have posted that, so I not sure what you mean by still.
> useEffect(() => {

> fetchData();

> updateBreadcrumbs();

> }, [location.pathname]);

> There are two use cases, the "data-fetching" and "displaying breadcrumbs". Both are updated with an useEffect hook. This single useEffect hooks will run when the fetchData and updateBreadcrumbs functions or the location changes.

Is this right? Wouldn't they only update when `location.pathname` changes? Also, there should be a whole discussion on `useCallback` which is not used here and it can be quite important, plus linters would complain of missing dependencies for the useEffect.
Its a political post on Hacker News. I posted a political response. What do you expect?
I found the software in this stack to be very bloated and difficult to maintain. Large, complicated software has a tendency to fall flat on its face when something goes wrong, and this is a domain where reliability is paramount. I wrote about a different approach (Prometheus + Alertmanager) for sourcehut, if you're curious:

https://sourcehut.org/blog/2020-07-03-how-we-monitor-our-ser...
Do you have a pointer to how they use it to combat abuse? All I've ever read from the archive.is people is that they use EDNS to return geographically-close machines.

Regardless, it's a PITA and I've been avoiding archive.is links for a while now because of it.
The Sandi Metz talk/post included in the list touches on that:

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction

My takeaway from it is that we need to distinguish what you might call essential from incidental duplication. Essential duplication is when two bits of code are the same because they fundamentally have to be, and always will be, whereas incidental duplication is when they happen to be the same at the moment, but there's no reason for them to stay that way.

For example, calculating the total price for a shopping basket has to be the same whether it's done on the cart page or the order confirmation page [1], so don't duplicate that logic. Whereas applying a sales tax and applying a discount might work the same way now, but won't once you start selling zero-rated items, offering bulk discounts to which a coupon discount don't apply etc.

[1] Although i once built a system where this was not the case! In theory, the difference would always be that some additional discounts might be applied on the confirmation page. In theory ...
https://en.wikipedia.org/wiki/Datapoint_2200

A computer fit on a desk in 1970.
Static site generator (Hugo, Hexo, whatever) and Gitlab/hub pages/Netlify. No worries.
Watch this space: https://www.tomshardware.com/news/amd-ryzen-4000-series-4000...

Dell made the Optiplex 5055 for about a year; I managed to grab three before they were mysteriously discontinued. Nice machines. I expect them to resurrect something like the 5055 but with the newer Renoir APUs, maybe by year's end.
Try inverting your perspective outside of work.

The basis of the advice is I have a hard problem --invert problem statement--> new perspective/approach angles.

Your problem is just a little more meta.
Almost all the progress made was necessary to support modern C++ standards, although it is nice they enabled it in the C compiler. They haven't added any C only features in a very long time.
Wikipedia says it's both https://en.wikipedia.org/wiki/React_(web_framework)
Content production tools have fairly unique UI needs compared to the average desktop application, e.g. they often have very complex timeline controls that offer dozens if not hundreds of different interactions specific to the tool at hand. Generic UI libraries would only be a hindrance there. They almost never have enough screen space, so the widget/interaction density is far greater than what’d be ergonomic for standard apps. Since people spend considerable time learning these tools they generally have their own UI paradigms independent of the host OS, which is the opposite of what you‘d want in a crossplatform toolkit.
I don’t know much but at least I know that
Out of the Frozen Deep
InfluxDB and Grafana worked great for us when I created a live monitoring system for a fleet of prototype test robots. It was simple to set up new data streams. We started with Graphite but switched to InfluxDB for it's flexibility (Grafana works with both!)

I would add to the guide that you need to be careful about formatting the lines into InfluxDB because where you out the space and commas determines what is indexed or not! Also data types should be specific (ie make sure you are setting integer vs float correctly).
I'm not sure I'm convinced that location doesn't matter at all. The attack routes are different between countries: local culture determines attack surface inside the company, local law determines attack surface due to the local government. There are probably more factors at play due to technical reasons, like the closeness to internet exchanges and the difficulty to sniff packets in secret by foreign spies.
Unless those are uniformly the same everywhere, I don't think your agrument holds.
Binary search is used when you can't optimize the data structure. You have a sorted array, and have to work with that.

If you store the middle element together with its first two quartiles, you're making a B-tree. You will need indirection (pointers) to locate the other chunks that are not stored together and so it goes.

"Binary search" usually refers to the sorted array algorithm, though of course in the abstract sense of subdivision, any subdivision-by-two search is binary and in that sense we have the term "binary search tree".
More Than 1 in 3 Renters Did Not Pay July Rent on Time
You can always answer those doomsayers with one of my new favorite quotes: "Anything worth doing is worth doing poorly"
Maybe a deliberate focus on having some 'out of band' information would help, as an antidote to group-think.

A good example would be the early attitudes to face masking from the governments, medical experts, and media of certain countries. Some recognition and consideration of the deep experience and expertise of medical experts in Asia countries where SARS occured could surely have saved many lives.
I'm not sure I should say, but there are people who use legal means to take down their own material and cause trouble to archive.is. The DNS thing is to avoid leaking the servers' location, roughly.
First sentence of the second paragraph:

> Facebook does not employ fact-checkers directly but rather works with a range of third-party organizations to rate how true or false content shared in categories is.

The checker in the particular incident in question was Climate Feedback. The article doesn't have a link to the original Daily Wire article.
> The remarkable thing about the culture around Stripe is that they still get the credit for the things they did well in those early days, even though they are far from the same service now that they've scaled up.

This describes the broader Silicon Valley tech scene quite well too.

People worship others for founding/funding X company, being employee #Y at a certain unicorn, creating a cool feature 5+ years ago for a dead app, etc.
I love prometheus. Its simple and the built in charts are enough without having to use Grafana on top.
Buddhism or Jainism may have established social rituals that have been going on longer, I'm not sure.

But I always laugh at the "long now" people. If you look at the earliest Jewish writings found, and compare them to what we read and study today, you'll see we've had a lot of continuity over the years and have found a social model that works for this--despite the best efforts of the rest of the world.
Unix History Repo
I think this is an important nitpick though in your defence. I have just started learning React having become pretty competent with Angular (day job plus some hybrid apps) and I have to say that I'm struggling to understand its popularity compared to Angular.

Angular feels fully fleshed out, adheres to MVC mostly and has nice separation of html, css and the UI TS code. I come from a native coding background so this feels logical and I can jump into a new project and get my bearings pretty quickly.

React on the other hand seems to be jQuery gone mad with CSS, JS and pseudo HTML all mixed together. Ternary statements in JSX is awful to look at.

To me it seems React is solely there to solve the V in MVC and then with a host of additional libraries (of the users choice) some kind of MVC system can be cobbled together if needs be.

I'm not saying React is bad, clearly it is very popular and has it's great use cases, but I don't think it's Angular vs React.
Never Settle Your Curiosity
It was never a question, if they allow opinions, or don't, but always what are you allowed to publish on their platform.

And as in any forum, private or public, there are restrictions in place. The question is only, which.
If it no restrictions where in place, then it wouldn't be longer a discussion platform either.
> The downside is that I have trained my mind in such a way that it is difficult to turn it off outside of work and it is influencing my personal live negatively.

I think it's important to remember taking on too little risk can be dangerous and lead to negative outcomes.

Maybe you need to invert and ask questions like "What is keeping me from spending more time with family?" or "What is keeping me from going to more parties?" or "What is keeping me from asking that person out?" or whatever the situation is in your personal life.
Live Players with Samo Burja [video]
I have also had scalability and reliability issues with influx. And full of silly limitations like tagset cardinality and not being able to delete points in a specific retention policy etc. Am moving to classic rdbms and timescaledb.
When I look at new developments in my area, I feel we are getting the wrist of Urban and rural living. All the houses in the huge development look the same. Almost no yard. You live practically wall to wall with your neighbors. Many are town houses so you actually do. Yet, nothing is walkable.

Everyone would be better off if we could have more tall, mixed-use apartment or condo buildings with stores and restaurants at the bottom. It would give more options to get affordable housing close to where people work. It also would reduce pressure for areas further away to be build up to the point where it's just wall to wall suburban nightmare.

All this happens due to a combination of builder incentives, but mostly bad zoning. Clearly the land is expensive enough that we need density, yet we cannot build more proper urban housing.
I would argue that writing a React component with a hook is a mistake. There is usually an easier/clearer way to solve the problems that hooks are intended to solve with the existing React primitives.
I use diamond metal blades because I don’t want my blade turning into shrapnel.
The question is not whether or not opinions are allowed. No content is removed by this policy. The question is whether or not a fact check correction/disclaimer should be added to incorrect articles, and whether or not being an "opinion" piece acts as a way to evade the rule.
I wanted to contribute the same to this discussing.

At work, I'm really good at thinking things through and avoiding unnecessary work. Outside of work, I worry that when we restructure our roof, we will negatively impact the neighbors solar panel output. I constantly grind about how I'm going to discuss this with them. Even though we may not even restructure the roof.

Or I wonder how I'm going to handle it the next time my neighbor turns on an outdoor speaker. Even though he may not, for months to come, and when he does, I might just be on my way out.

Now the wife and kids want chickens, and I'm sitting here discussing (in my head) how our neighbor is wrong about all the downsides she may bring up. Even though she may even like that we have chickens.

It's tiring and impacts my life negatively.

At work I do manage to keep a "do-ers" attitude, I mean I will start many things, take in criticism, change my approach. I think I'm generally pretty good at my job and radiate a positive attitude. I wish I was the same at home.
I think it's a subtle way to hint that CS50 is cool and hip to younger folks, whereas to younger folks, the old and less technically savvy MOOC felt less engaging. I don't agree, I just think new Yorker used it to contrast the courses.
The biggest advantage is the near-real-time aspect of this. During an outage, having live metrics is essential. Does your custom system allow you to see live metrics as they happen, or do you need to re-run your aggregation scripts every 5 minutes?
I thought about that believe me, it would keep things simple for sure.

There are a lot of features to consider these days though, such as a newsletter and building an audience, the editing process, etc.

You can basically have the power of the NY times with your publishing platform today (paywalls, payments, newsletters) for free using open source software.
Found a similar thing but with a planet on his blog: http://oskarstalberg.com/game/planet/planet.html

I'm in awe of the attention to detail. This guy is a real artist, cool to see such a skilled mix of creativity, art, and software.
I think this is healthy and actually comports with reality. Driving _is_ dangerous, and a lot of people do it really badly. I see way too many people on their phones on the highway to ever feel safe driving.
OpenNebula announces version 5.12 Enterprise Edition will be a LTS
I'm quoting the first para here because this is an interesting, in-depth, historical post, in four parts.

> This is the story behind and beyond the facts and evidence in Ommanney v Stilwell, a case decided in the High Court in England in 1856. The court had to consider the unknown date of death of naval lieutenant Edward Couch, an officer of HMS Erebus, one of the two ships of Sir John Franklin’s lost Arctic expedition of 1845, in order to determine who should inherit under Edward’s will. This dispute involved the surviving members of Edward’s family, and the will made by his father, Captain James Couch.
Proposed Monster Chopper to recover Saturn V
Nice work on that 'sign-up for my newsletter', fullscreen, non-closable modal screen that pops up after reading a few paragraphs! Nice way to capture your adjacent users and convert them to whatever-core-something-engaged power customer.
A webapp to extract tabular data from PDFs
Because people are now aware that that kind of fakes exist and it is much harder to use fakes in more serious things like politics.
Can you explain what you mean by that? I'm honestly a little lost on what you're saying but I am curious.
If you aren't a TLA there are options. Planet SkySat will give you 50cm resolution twice daily if you have budget[1].

Planet, Digitalglobe[2], Airbus[3] and others will give you similar or better without the ability to task collection.

[1] https://www.planet.com/50cm/

[2] https://www.digitalglobe.com/products/satellite-imagery

[3] https://www.intelligence-airbusds.com/en/8692-pleiades
SLOs Help Your Team with Service Ownership
I'll get back to you on that.
I used a Wiki for a long time. But I try to minimise maintenance ("foist it upon others"). I also try to resist the enthusiasm for Rube Goldberg machines and for installing bad tooling (such as PHP).

Now that git has become ubiquitous, I prefer git with a self-hosted git-daemon instance. git , grep , awk , and sqlite make a strong set of tools for knowledge curation.

edit: minor grammar fix
Classic "two masters" problem.
> its' just that in American system there are far too many people ahead of you this is why it takes much longer

Again, not entirely correct. In fact, there are several steps during these processes where applicants have to literally just wait for months, e.g. prevailing wage while applying for a green card.

> whereas it isn't that much of a problem for US, unless you are in the unlucky line, i.e. China, India or Mexico

There are only three groups of people who have it relatively easy, nowadays, to get a long term visa in the US: the O group (individuals with an extraordinary ability), the E-1 and E-2 groups (traders, investors), and the R group (religious workers). Anyone outside those is either currently banned from enter the country, e.g. H1-B visa holders without an entry stamp in their passports, or are subjected to extremely long waits to get their visas. And while there is a factor about nationality, that only applies to green cards, as L visas are per company percentage based, and H visas run through a lottery.

So, again, from what I understand, it is way easier to immigrate to Canada than the US, as the USCIS is purposely curbing visa applications.
Something tells me OP hasn't read Polya "How to solve it" and is attempting a bad rediscovery of a tiny aspect of the overall body of problem-solving tactics.
how does the normal citizen vote for the president of the European Commission? How do we vote them out if we dont like their governance anymore?
well sometimes not being a spa and using vuejs/"any spa tech" might be a good idea. if it would be scoped correctly.
sometimes you need MORE interaction on a specific page. unfortunatly the whole wiki feels sluggish as you already said, because they make so much dumb stuff.

I would say using js without having a no-js version is ok, if done correctly.
That last point is so painful and true. I work with a product that has dozens if not hundreds of “connectors” to interface with other systems and you can tell that most of them were farmed out to the lowest bidder.
To me, the killer feature of React is how easy it is to mix with standard "vanilla" JS libraries. The "React" version of a library is usually a fairly trivial wrapper around the "normal" version. In contrast, integrating with Angular is a lot more involved and is in effect its own ecosystem.

The other thing I can't stand about Angular is that it puts its proprietary templating language "in control" of components. Which means if you want to do something more complicated that isn't implemented in the templating language, then you just can't (or you end up fighting the framework). With React, it's as if the equivalent of Angular's controllers (components? - it's been a while since I used Angular) were in control. The templating is only for templating.

FWIW, I agree on the ternary operator issue. Although IMO this is actually a deficiency in JavaScript rather than in React/JSX: If if-else and switch in JavaScript were expressions then this problem would disappear completely.
It's reasonable to look at this from a short-term vs. long-term perspective as well.

Stripe dominates the hobby & startup segments with the hope that those companies will, someday, become very successful. Now, any company at a certain size will be able to switch between payment processors with little cost, but Stripe still has that initial relationship. They certainly have the opportunity to grow business with their current relationships over time, and in some ways more than Adyen can.

Additionally, Stripe will always work to get more payment methods & exist in more countries. It's always some work to do so, but number of payment methods isn't insurmountable, and it's only a matter of time before Stripe & Adyen are difficult to distinguish between their offerings.

Lastly, Stripe has a lot of breadth of products compared to Adyen. Stripe Sigma alone is a huge value add that a regular "insights platform" lacks. There's a lot here to unpack, for sure.
Its a bit verbose, and I really think it's several papers (the technical details of the package is one, the open source positioning is another). But it's readable- a person outside the field (say, a search engineer at Google) could sit down, read this and immediately recognize what you were trying to achieve ("implement popcnt" used to be a popular question), and then immediately suggest ways to get the output results faster by using a cluster :)
Yeah, and that is still completely pointless observation, because literally nothing I do will change because of it. Because if abstraction leaks in these edge cases, we are still better off trying to come up with same abstractions then not.
Perhaps people appreciate this course because the prestigious Harvard school is behind it. I would traduce that bias by "a good school involves necessarily good courses" . Is it true though?
I don't see why the CSS is mixed with the rest. It clearly isn't. Mixing JS and HTML doesn't seem problematic to me.
Source Code for COVID19 Tracker. PWA in Firebase
What Killed Lightwave? (Retrospective on the relative demise of 3D Lightwave)
Yeah, I think that prior to the public release of the Context api (16.3) and Hooks (16.6), one could more easily make the argument that "it's just a display library."

Providing convenient mechanisms for managing high-level/application state moves them squarely into the framework category, imo.
I don't mind if it does or it doesn't. I haven't seen a source for the 0.5%, everything I had seen had higher numbers, so I thought I would ask. But remember kids, not knowing, being curious, and asking questions is frowned upon on HN.