skysight-inc/HackerNews huggingface dataset:
Ask HN: Basic Error Alerting Practices
Hi HN,

Our team currently has an issue with handling and alerting on errors that occur in our application.

Right now, an error that should never happen, ie a bug in the system/unexpected behavior will be logged as an error. Also any connection failures or other transient errors will be logged as an error. These logs feed into the same logging system, and alerts (pagerduty) are generated when any error is recorded.

We would like to set a tolerable threshold for transient errors like connection failures before an alert is triggered, but also be alerted immediately for the unexpected behavior type logs.

I'm sure this is a common scenario for any company as it scales, I'm curious what practices or strategies are used for this.
Lafable: large agile framework appropriate for big lumbering enterprises
Yes they are our heroes and main export :) I even know HP from earlier life, extremely kind-hearted and funny guy.
I think this better as a video game (like Heavy Rain or Sam and Max). Otherwise, the effort to make a 2 hour movie would probably make a 10 minute choose your own adventure movie.
While Nvidia has benefitted from the crypto craze in the last 18 months, it is debatable that crypto mining was the primary driver.

First of all, AMD cards have been historically better suited for crypto mining(I had multiple AMD rigs in 2011) and yet still it did not drive the profits for AMD until 2017.

Nvidia's cash cow has been the workstation cards(Quattro) and Tesla computing cards(used just for processing not video) which carry much higher margins than the gaming chips while carrying the same architecture underneath.
Yes someone needs to understand the infrastructure. I got more into AWS infrastructure because I am mostly a back end developer and found myself growing tired of writing Yet Another CRUD API.

I think the future is around knowing infrastructure, devops, and front end and knowing how to tie it together.
I've never visited Seinäjoki nor Fairfax, so no, not really. But I can elaborate on why I said what I said...

Overall Finnish cities tend to be built up instead of out. I've lived in Jyväskylä, Tampere, and Kuopio, and each of these had reliable bus systems and minimal traffic compared to any U.S. city I've lived in. Finnish cities also tend to include a decently robust bike/walk path within cities while here in the U.S. we mostly limit ourselves to sidewalks.

The U.S. is huge, and the states are diverse, so I'm sure my experience is anecdotal, but my observation have lived in Colorado, Louisiana, Maryland, and the aforementioned cities is that Finnish municipal planning is approached much differently than any other U.S. city I have ever lived in or visited.

That it just my experience. This site will let you play around with some stats, though I have no idea how accurate they are: https://web.archive.org/web/20140309232920/http://data.world...

Note that most Finnish vehicles use diesel fuel. There is a different category for that if you choose to explore the site. But you can see that overall automobile usage is much higher in the U.S., and we have built an infrastructure that supports it (built out).
I'm just not sympathetic. College isn't meant to be free, and choosing private colleges without considering the costs just isn't somebody else's fault.

I've got 3 kids to put through college, the first just finished freshman year. It's fine-- he broke his hump studying for a good ACT (this led to good scholarships), he's working internships over the summers to raise cash. My wife and I cover what's left, it's not too much to bear.

My son's room-mate is doing even better. He's in Army ROTC, his school is completely paid for.

We're not wealthy and college is not breaking us. If there's a college debt emergency, it's an avoidable one.
Fetching private GitHub repos from a Docker container
Here’s the best explanation I’ve found:

https://boards.straightdope.com/sdmb/showpost.php?s=0a4ad0b9...
Yes, great idea!
Thanks for this! I think you actually summarized the Bellman equations very well! This gave me some ideas for future blog posts on how to make it more clearer for everyone to understand it better :) most likely the next one is about Bellman equations ;)
> Ask your friends if they ever heard the phrase "man up" being said, and then in what context.

Of course I have heard the phrase, I don't live under a rock. It's mostly in the context of relationship strife either at work or at home: "you should man up and tell them X, Y or Z".

Again, it's the perfect example of toxic masculinity: the person saying that is assuming that a "man" would do this or that, just because of their gender.

> So sexism towards women is "toxic masculinity" and sexism towards men is also "toxic masculinity". That is a nice loop.

Notice that I haven't brought up sexism, which is a more general topic. The reason the term applies to both men and women is because "toxic masculinity" is not about "men vs. women" but about "society vs. anyone who doesn't conform to norms". The same applies, if you will, to "toxic feminism". The main difference is that - going full circle - our society was built on the needs and wants of men so suggesting that things like "women need to look like barbies" or "women shouldn't be bossy" were concocted by feminists is a bit of a stretch (that's why the term "toxic feminism" doesn't make much sense).

I'm really not following your accusation that I'm "blaming the victim". How is saying "hey guys, this society has some really bad ingrained behavior" blaming anyone, and in particular, how is it blaming the victim?
Yes, of course. "Added complexity" was meant in the context of already having decided that the AWS ecosystem is valuable (parent mentioned running serverless, so presumably that is the case).
Doubly so because you don't use the 5 whys during the emergency. You use it during the post mortem. After you've unplugged the burning computer. After you've gotten the ship out of the immediate existential threat. If the computers are burning due to faulty wiring no amount of triage is going to stop that from happening next week. If ships are getting holes because the currents have shifted and bergs are appearing in places where hobby sailors frequent then the maps and some public outreach are the right solution.

I dunno who taught these people about the 5 Whys, but someone (possibly themselves) has done them a tremendous disservice.
Thanks! It’s true; judging by /r/achalasia, esophageal dysfunction of this level is bad enough on its own, without celiac.
نتيجة الشهادة الاعدادية محافظة أسوان
Serverless functions that actually do anything still need to be written by someone. Whether they're "backend" engineers or "serverless" engineers, the code still needs to be written and maintained. The question is still: What's the best/most cost effective way to do that?
Have you ever tried just chewing gum when you have reflux? From what I can tell it causes you to continuously generate and swallow saliva which keeps the reflux down until you've digested.

I have a heital hernia and this works well for me (and got my wife through some tough episodes during pregancy).
I use 1Password with Face ID on my iPhone, Touch ID on my iPad, and Touch ID on my Macbook Pro. The only time I have to type in my master password is when I use my Windows desktop at home.

I used to use LastPass and frankly it's far behind 1Password in user experience, especially on Apple devices.
serverless doesnt exist, its a mindset.
Curved Lines Using SVG and JavaScript
There was plenty of fake news / ideas spread before the internet. The mechanisms were different, but impactful just the same.

It also goes without saying that, had Clinton won, this conversation wouldn't even exist, despite the wild amounts of false information about both sides, and the results, that is said about the election to this day.

As an exercise, write down everything you believe about the demographics that voted for both Trump and Clinton, then compare that to the polling done by CNN.
Deephacking17gmail.com
Hired Derrick to do some work on my now Ex. He called my phone one day and my 10 year old daughter answered and Derrick or John was trying to have phone sex with her! What a ignorant bastard! Never use him total fake!
I listen to at least one podcast they sponsor; they sell training. Obviously if the cloud is a simple abstraction, and your API doesn't change whether cloud or bare metal, there's not much training for "A Cloud Guru" to sell. It apparently isn't enough to optimize the model we already, we need a new paradigm or some such and a vendor to train us on it.
"No." is a very short answer for something as complex as could someone become imprisoned.

While the EU parliament doesn't jail people, there are lots of countries that do.

If he admits to breaking the law during the meeting any one of the EU countries could issue an EU arrest warrant for him. Then he would be held within that country to be extradited.

If I was in charge of the British Parliament committee that wants to question him, I would issue an EU arrest warrant for one of the many crimes that are being levelled at Cambridge Analytic with him being part of it. Then question him about it. But I am petty and would want to show that just because he's American he isn't always out of reach.
Again, Nvidia only became a real option for serious crypto miners in the last 18 months.

Until then anyone doing cost/profit analysis would have gone with AMD cards.

When Bitcoin was worth mining on GPU (ie 2011), AMD cards were much better suited than Nvidia cards.

It was about 2x difference for cards costing the same amount.
Sorry for the late reply. I most probably will. I'm working on making a middleman website to remove FB tracking. If it works out, I'll rely on that instead.
Why don't more people take state subsidized loans then? Seems like a nobrainer.
Litmus: Release a Chaos Monkey on Your Kubernetes Stateful Workloads
Can I run Lambda and API gateway locally?
I think he is most "influenced" by the thought of lasting international peace and security for everyone, and perhaps justice too, though I fear that is most difficult of conditions to resolve.

Would that Russia critics could admit their involvement in Syria has been hugely stabilizing to a situation which almost fell into the hell which Libya was thrown into by air strikes...
tldr: Vectorize your code. Good advice not just for Python but other interpreted languages like MATLAB and R.
Good question! The most important aspect of this re-org is that people can choose to take part of the system without a bank, or both. There are many other benefits though, transfers between accounts would be easy peasy, everyone would be capable of auditing logs and transactions (that's a wet dream for an external auditor), etc.
> With Lambda it's the same thing. You have a Lambda function mapped to an HTTP verb and route and you get s message and context

Lambda is simple. However, to do what you're describing requires a lot more: API Gateway, IAM roles, etc.
Do you have any suggestions of where to start off?
I'm doing some amateur work on sub pixel matching at the block-level for stereo, currently using cheap APS-C prime lens commercial cameras ( Ricoh GR) and my background is maths not cameras, but what I've observed (all in RAW) is

a) Real world scenes often go below the Nyquist limit ( e.g pattern from a brick wall at sufficient distance)

b)In a camera without a low-pass filter (e.g. the Ricoh GR) in practice you don't see Moire but you can definitely generate it artificially off real world objects

c) The Point Spread function seems quite important (e.g a 1-pixel scene feature for the GR will have half the effect on the sensor as a 2-pixel function because of the point spread)

d) I'm a bit confused as why Fourier/ DCT all work as well as they do, as the Nyquist assumption for a modern digital camera seems incorrect, but on the whole sub-pixel matching in a Fourier space (while Nyquist assumption is not true) seems roughly on par with matching in the spatial domain - I would love to see something that explains why this is so

Happy to discuss this more as I am still learning
Yup. I've heard buffer for one does it.
On metric of cost?
This article positively correlates with a phenomenon I’ve observed that use of the word “guru” negatively correlates with useful information.
For faster Python, try PyPy. It's very compatible, very fast for many workloads, and has been constantly receiving interesting new work for over a decade.
> If you have a dispute in the real world, you would go to the courts and use the legal system

Or you go to the media...
I can totally relate. I am listening to classical music at home, not too often, but maybe more than average? and I still hate it when they play it in one or two of Munich's subway stations.
Ditto. If your app is CRUD with auth, then, yes, fine (probably).

In our case we're running calculations across a large dataset on the back-end and serving up the results to the client. Due to the number of ways the data can be cut, pre-calculating everything anybody could possibly isn't cost-effectively feasible, so if we were going to stick all the business value in the client we'd have to load a bunch of the raw data into the client and then do the calculations there (in JavaScript!!).

Funnily enough that actually was the original approach, and it worked "OK" up to a point, except in Internet Explorer 11, which couldn't handle the memory consumption, and honestly it was dog slow everywhere else: both loading the data and doing the calculation. And of course this approach is a disaster on mobile.

Even if we could get calculation performance on the client that is better than the sum of time spent on the server plus latency, and maybe we could with WebAssembly or WebGL hacks, except that we'd probably have at least some incompatibilities to deal with (hey, starter for 10, IE11 again - who knew?), there's still raw data transfer to consider.

So now most of the smarts are in the back-end, and they'll stay there for the foreseeable future.
The crossing can be watched live: https://www.youtube.com/watch?v=nKMuBisZsZI
Have you ever actually used nuklear? It is awkward and confusing to even change an example and have it work, let alone creating what you really want. There is no documentation that will help you either.
Eknath Easwaran was one of those who created such a retreat. I've read one of his books.

https://en.wikipedia.org/wiki/Eknath_Easwaran

https://www.bmcm.org/about/about-eknath-easwaran/

https://www.bmcm.org/about/easwaran-bio/

https://www.bmcm.org/about/about-bmcm/
I think this should be a submission, not an Ask HN.
Have you ever been hungry? in your entire life? and I dont mean for fun/diet. Information is not a problem(study published exploits etc), all you need is proper motivation.
How far into the future? 1Password 8?
Agreed: hand-wavy and non-actionable. Not to mention the issues highlighted in my other comment, which I'm not going to rehash here.
> I don’t understand how the Gaussian can introduce ringing artifacts. It doesn’t have any negative lobes.

I don’t think Gaussian can. (I hope it didnt seem like suggested that) But a box filter can alias, and it doesn’t have any negative lobes. So can Lanczos & Mitchell, but to a much lesser degree than a box filter.

It’s a fun exercise to plot sin(1/x) and try to get rid of all visible aliasing. It can be surprising to see aliasing when you take 100,000 samples per pixel.

> if the scene you are sampling contains arbitrary high frequencies, there’s no way to avoid aliasing.

Right, yes exactly. Though Gaussian is pretty dang good, the best I’ve found personally. A lot of samples & a Gaussian that is just a tiny bit soft, and I can usually remove any signs of aliasing.
> - It's unreasonable to expect people to pay the full price for minor security fixes that still need to go out

The ideal model for locally-run software, in my opinion, is to sell perpetual licenses to each major version for a one-time cost and promise security and maintenance updates for a certain period. New features can go into new major versions that users have to pay for (sometimes with discounted upgrade pricing), or, on a discretionary basis, as free updates.

This used to be the typical business model for locally-run software. Microsoft, for example, sold Windows versions for a one-time cost, promised security and some other level of updates until a certain year (and new features could be added on a discretionary basis), and provided upgrade pricing for new major versions that added new features. This kept control in users' hands, as their paid-for software could be used forever (at least until and unless external factors, like hardware incompatibilities, prevented it from working), though of course it would be very dumb to use, say, XP today on an Internet-connected machine. I am generally against subscription models for local software where there is no legitimate reliance on an outside service, and also against the trend of trying to create such a reliance for no legitimate reason ("We've added cloud sync and that's what the subscription is for. Servers cost money every month, which is why we're charging you every month." - except I can handle my own file storage and don't want your sync service).
Ironically this library is small, easy to compile, written in C++ with a C interface, and unbelievably slow. Try out the test.exe and watch everything slow to a crawl. It is worse than Atom about the speed of the slowest modern program I've ever seen - the ethereum wallet.
But Windows support is limited to security and bug fixes, not feature updates. Not quite the same thing as getting a free upgrade to every major version of an application.
Except if you're in a family with a sick parent and you wonder whether you should encourage more exercise or not. Much more important than bar room banter.
> about potential fines of $20 million

Stop repeating this BS. Unless you're facebook (and even then) you're not going to get fined $20 million
Best Practices for ML Engineering (2017)
Either that or just use basic Thanos setup (as described in a blog post) that gives you better Prometheus HA support and global view. You can always add setup for long-term metric retention later on.
We found Okta to be pretty decent.
Most of the HN users reading this thread do understand the difference between licenses and subscriptions. It may seem strange but this is not the case for the vast majority of the users. We have customers emailing us about having a 1Password account/subscription since before 2015 (when we only had licenses).

We originally started with offering both licenses and subscription as equal options. Here is how it looked:
https://web.archive.org/web/20160420141241/https://1password...

There was a lot of confusion with this design because people simply had no idea what to choose. It is ridiculous but we had many hundreds of customers purchasing both.

The subscription is a better option for most of our users because it takes care of so many things:

- no need to purchase separately on every platform

- no need to learn the difference between iCloud and Dropbox sync, and why sharing is not possible with iCloud option

- no need to learn how to set up a shared Dropbox folder

- no need to worry about backups when your computer or phone dies

- and more

Many of our long-time customers still use licenses and are happy with the existing setup and we want to keep them happy. This is the main reason we keep the licenses going and releasing new version for Mac and Windows support for licenses and standalone vaults.
The end result with macros is far more seamless than with codegen, the point being that a consumer of the library doesn't even need to know about the macros.

A double edged sword, that! Sometimes the end result with things like macros, is that it so seamless, that there is precious little to figure out what went wrong. Often, if your nifty new facility seems magic, its bugs are going to seem doubly magic. Not too long ago, I had to debug an exception for which no source code existed. It only existed as the confluence of 3 C++ templates.

Codegen on the other hand makes an implementation detail a maintenance cost for the user of the library.

I've heard veteran programmers say that there should be a separation of labor when it comes to libraries. Only certain people make good library writers, in the same way that only certain people make excellent musical accompanists. To be an excellent accompanist, the accompanist should have some sense of what it's like to be the lead. (So should themselves be able to take the lead.) The accompanist should have the perspective to not let his ego get in the way. The accompanist should be giving the lead what she wants, but modulated through their own expertise and sense of taste. (As opposed to mindlessly always giving everything asked for.)

If there is a separation of responsibility, why would codegen be such a burden? If the library has to change so often, perhaps the responsibilities aren't distributed optimally?
Unless you're facebook (and even then) you're not going to get fined $20 million

Facebook will face much larger fines. The maximum fine is 4% of revenue, or $20 million, whichever is greater. Have you not read the GDPR?

Before you say “yeah but they won’t hand out big fines,” please show me where in the GDPR it says that they legally can’t. Because according to GP, GDPR will be used as a form of “pseudo-taxation”. That means abuse, and going after anyone and everyone for as much as they can.
My experience is the opposite to the point where I'd say developers who describe themselves as "front-end" or "back-end" aren't terribly useful to me. What I need is people who can turn their hand to, and learn anything: i.e., full stack developers. These people tend to be able to add more value because they understand the whole system and can work on any part of it. What I definitely don't need is people with a compartmentalised "not my responsibility" view of the world, or our systems.
Cheaper than what? A bunch of EC2 instances, a colo (with regional redundancy), a CDN, servers for databases, a network engineer?

What resources are you comparing it to?
I thought bundles were only available on iOS, not Mac?
It's not a complex thing at all. No, there is zero chance, short of stabbing someone on the mean streets of Brussels on the way there that Mark Zuckerberg or anyone else voluntarily appearing before the Conference of Presidents of the European Parliament will be jailed as a consequence.
well, now. this is interesting. I love data science and data viz. thanks!
Steam Link app hands preview – iOS and Apple TV killer app
Books? In a library? Sounds like something out of the 20th century...
Can you elaborate on what you mean by "transfers between accounts would be easy peasy" and "everyone would be capable of auditing logs and transactions" ?

To my understanding this is something that can be covered by common standards on message formats that businesses can send to banks (the same format for many banks, integrated in, say, accounting software) to initiate payments, and by common standards for electronic account transaction information and a legal requirement to ensure that all banks would provide that interoperability. And getting that doesn't need decentralization but rather a legal/systematic intervention like SEPA was done in Eurozone.

Direct participation in payment systems for non-banks is also an option that already exists, but not widely used because of the costs involved, it's cheaper to just go through a bank - if you don't have huge volumes any bank can give you a quote that's lower than the cost of maintaining the service directly, and the businesses that do have huge volumes (e.g. the major auto manufacturers) generally have established their own bank subsidiaries.
Design of the Burroughs B1700 (1972) [pdf]
If by "Thanos nodes" you mean Thanos querier instances, then yes -> Does not matter to which one you actually ask. All have the same view and access to the old metrics (Store Gateway) and fresh ones (Prometheus+Sidecar - Scraper)