skysight-inc/HackerNews huggingface dataset:
https://tiddlyroam.org/ is another alternative, but Tiddly* kind of feels like a dead end. The big upside is the lack of dependencies (just a file), but when the wiki grows you soon have a 70 MB html file that kills your browser. I know there's the node.js version too, but then I might as well use MediaWiki (even more portable).
I would ignore whoever told you not to use an empty array for the dependency argument. Change your linter rules. It's fine.
Hey Lucas, thanks for the kind response!
It has been around 2 years since I implemented and honestly it wasn't that Adyen was bad or anything, but the mental model was different from Stripe. Back then, Adyen was already fully async but Stripe wasn't so it required some learnings.
And once it was implemented, I was actually blown away with the flexibility.
In my current company, I am actually advocating for Adyen and we had a few calls with the sales team already, so it will most probably happen for us next year.
It's not millions, but it's the many multiples of hundreds of thousands. (and it's mainly GCP/bare metal).

I guess the point I am driving at here is that there's such a thing as "business critical costs" (IE: can we ship our product or not) which is the majority of infra costs we have today, and then there's "optimisation costs".

Usually when we discuss things like optimisation costs its along the lines of: "Will this product save us enough time to justify it's expense". Often, sadly, the answer is no.

Terraform Enterprise is an example of a time where we said: Yes. -- because the API allows us to deploy CI/CD jobs which provision little versions of our infrastructure, saving us many man-days of time in provisioning and testing every year.

As eluded to in the sibling thread, there's almost no way that we can save 3 or more peoples worth of time every year, we're 3 people right now and we have metrics collection, log tracing and alerting already. -- so it's a hard sell to the business types.
Ah, I missed it and somehow HN didn't catch the same link. Thanks!
Betas on betas, so I don't think your experience is "odd" but probably to be expected.
Replying from different account:

I'm specifically sick of web development, which is really all I know. I think my extreme distaste for it has also jaded my view on all programming. I recently tried to branch out into ML and AI stuff but the motivation to learn more is simply not there.

I'm tired of (web) development probably because I'm not growing in it anymore. I feel like I've done everything a million times. I always work at small places which means I'm also constantly having to deal with infrastructure and deployment problems as part of my job too. I really cannot force myself to give a shit about the thousandth configuration error message that takes an hour to fix just to get back to where I was before it popped up. Working at smaller places also means maintaining legacy projects that have really obscure technology choices that make it impossible to find resources or other people posting with similar problems. So I wind up having to become familiar with a technology that is dead and no one uses and I will never use again and does nothing to advance my career. I resent every second I spend learning it because of that.

Overwhelmingly my projects are for people who don't really know much about business, technology, or what constitutes a good idea for a project. So my projects are often just death marches where I'm spending months of my life on something that ultimately fails and sits in a repo never to be touched or deployed ever again. This is very demoralizing, as is taking direction from people who have no idea what they're doing - but they're the client and they're the ones paying us, so we gotta do what they want.

As I get older I think I just have less patience for things I find meaningless. I want to find something that I can actually grow in (like a new career direction with PMing) or work in an environment that I feel like has some sort of net positive change for society. It is difficult to find non-profits that are hiring right now, however, and overwhelmingly they want you to have previous non-profit experience too.

The advanced degree option is a good one, but I cannot in good faith spend two years of my life and tens of thousands of dollars (and hundreds of thousands in lost wages) just to get an entry level project management job that pays $50k.
Humble Bundle: Raspberry Pi Books
A Brief Note on Immigration and American Science
> Many languages start running your program by calling a function of yours that must have a specific name. In C (and many C derived languages), this is just called main(); ... Python famously doesn't require any such function...

Nor did BASIC.

I think the better question is, why does C (and C derived languages) require a main function?
Previous conversation about this topic here:

https://news.ycombinator.com/item?id=23869858
Hmm, title looks wrong lets fix it:

'Microsoft to extinguish 960 jobs worldwide'.

There, fixed it for you.
>The ratio of two polynomials of identical complexity will have twice the number of degrees of freedom as each of its polynomials

I wrote with "Pade approximants would be more accurate with less work." for a reason.

If they have identical complexity they cannot have twice the degrees of freedom. You're confusing ideas here.

First, there are a lot of ways to evaluate Pade than a naive compute two polynomials and then divide them. There's quite a large literature on evaluation methods, just as there are for polynomails (and the naive polynomial evaluation method is generally terrible - at least consider Horner's method).

Second, the Chebyshev poly of deg d can simply be the Pade poly P(n) / 1 with P(n) of degree d. Thus Checbyshev is a special case of Pade at the same cost. Thus it's a smaller class, in the pure mathematical sense that one space of functions is a strict subset of the other.

So if you want to check all approximations of fixed computational complexity, vary the top and bottom degrees appropriately to check a strictly larger space of approximants for fixed computational cost. You'll usually find that Pade, for the same computational cost, makes a better approximant. It's simply richer.

What's more, once you have computed the various powers of x, you can reuse them (unless you're using Horner's method or similar, which is generally better).

If you're really looking for minmal cost computation, there is another entire literature on decomposition of functions to minimal operations, and finding the optimal one is NP-complete (but completely doable for these low order approximations). Knuth TAOCP has an intro to the lit under (if I recall) "addition chains" for evaluating polynomials. There is parallel theory for Pade.

Thus Pade is a strictly better method. It completely encompasses Chebyshev, and since I've used it a lot, I have found it always better, for the same computational work.

It simply let's you optimize over a larger class of approximants.
But this is exactly what the public seems to be demanding of Facebook - i.e. take responsibility for censoring your content, but only the content I disagree with. FB is in a no-win situation unless they can offload the content moderation to a government entity.
Which is a better Service: Wix vs. Squarespace
God, yes, this. I have twenty years's of failure-mode engineer mindset training, and my wife has generalized anxiety. Between the two of us, we are constantly in this state of trying to prevent bad things from happening.

And, in many ways we have. And that's good. We're in a pretty stable, safe, comfortable state, which not something everyone can say in 2020.

But as an unintended side effect, we have also prevented good things from happening. Because we are so focused on controlling outcomes, we have eliminated almost all serendipity from our lives. The only surprises left are unpredictable, unpreventable bad ones: health issues, political disasters, stuff breaking in the house, etc.

It is a recipe for slow-burning misery. Even before COVID-19, we found ourselves going out less and less, trying fewer new things, and just... sort of winding our way into an introverted, over-thinking, ball of anxiety.

I'm now trying to re-train myself to consider the inverse of that mindset: what's the best that could happen? If we knew for certain that activity X was going to work out, would we give it a try? Do we need to keep thinking about and analyzing this, or is our anxiety just using "you need to think about it more" as a rationalization to keep us inside our comfort zone?

It's a hard habit to break. And, obviously, 2020 is like the worst possible fucking year to be dealing with this. (Though, conversely, we entered the lockdown pretty well-prepared to handle being stuck at home since we're so used to it...)
Missing Wirecard exec Marsalek under protection of GRU in Moscow
This is a common "holy grail" that I've never seen any company pull off successfully. Like others have said you rarely have the ability to build a simple-yet-powerful API that perfectly services both your company proprietary apps and 3rd party clients. The requirements are almost always at odds with each other.
I was reminded of BASIC (also with no main()) and replied similarly.
The barriers for shifting cash around were really high, and only allowed at half ends where it had to be returned centrally and then reallocated based on business case.

Less than a certain amount and you literally couldn't move it out of a department (spend it or lose it) - you could shift it inside the department easily enough, but we as marketing and them as HR couldn't do it.

> the kinda crystal ball required to make rigid dept budgets work year-round

Apart from some mild quarterly reforecasting, you mean you've never had the joy of trying to flight out an entire year's marketing spend at the start of the year before? And then have to justify every "variance" ;)
I don't think this person knows what he/she/it is talking about.
I believe Circle now has some OpenGL / GPU acceleration support. So textures could be used for bitblt.

I was thinking more along the lines of... I wonder if there's anything in the VPU (or other support hardware) that would be especially useful for accelerating a bytecode VM. But I can't really think of anything.
There's AIRA and it can do it, if you don't care that another person will see what site you're trying to access and if you're willing to go through a super complicated techy procedure to get a free american phone number, which not everyone knows about. Also, not everyone speaks english.
> Their avoidance of (and advocacy for continued avoidance of) new/trendy software fads, particularly on the frontend, enabled excellent engineering

I absolutely agree with that. You are describing an expert, which is not likely somebody successful or respected, particularly with regard to their front-end web technology peers. Expertise is not frequently revered by other developers, particularly when compared with compatibility. That distinction is even more evident when applying for jobs at other locations.
I like the points you mention here - I took a look at your site and glad to see pricing is easy to find. I myself want to self host, as I don't trust the cloud - but if I was to try your version of this thing, I would lean into the $300 one time payment, as the free tier would be worth the time (20 notes) - and I hate monthly payments and non-owned code.

I did scan of the faq and ended up up on the docs and searched for export.
I was pleasantly impressed with the entry which showed an export option along with text and videos showing how to do this.

For me, I probably won't be spending 300 on this when I can wiki or wordpress for free... but if I was not so jaded about saas and cloud, I would be persuaded to check out your thing if you had on the front page like "export, backup" and bonus if it was 'import/export markdown or similar files'

I'd feel less worried about vendor lockin, holding data hostage, what happens when you go bankrupt, etc

the heading fonts on your privacy page are a little wonky in my browser (firefox) -
being that you are uk and sharing data with EU and outside the EU - I'd only save info if it was encrypted.. not sure if that is a thing, if so I would make 'privacy built in' a big thing on the front page.

my cents in trying to help, I'm sure 98% of those who may use your service are not as sensitive to the same things I am - so this is not a critique saying it's bad, just offering some random thoughts as I took a look.
There's always `__main__.py` if you want something special.
Diebold ATM Terminals Jackpotted Using Machine’s Own Software
This is good enough for a race track!
It’s hard to feel bad for them but there are a lot of outcomes here which result in a lot of people dying. Pretty sure half the reason SA and friends promote violent, reactionary interpretations of Islam is to serve as a dead man’s switch in case of regime change.
Looking at his website, the man can't decide himself: view-source:https://pocztarski.com/
What's your physical routine? Do you exercise regularly?

Regardless of the pandemic, there's still truths here to learn about the connection between your body and mind. CGP Grey is great. : https://www.youtube.com/watch?v=snAhsXyO3Ck

Do you have a boredom routine? I find as a creative it's important for me to force myself to be away from the productivity grind for a little bit each week so I can get hungry to get back to it.
I think the people replying "explicit is better than implicit" are cargo culting, there are quite a few areas where Python was more than happy to add a bit of magic to make the language smoother to use. Besides `if __name__ == "__main__"` is hardly explicit if you're not familiar with the idiom (what's `__name__` exactly? Is it the file name? The process name? When is and isn't it set to `__main__`?).

I can think of a real problem with your approach however: in languages with a main function you usually can't have top level statements, only declarations. So in C if you write at the top level `while (1) { printf("Hi\n"); }` you get a compilation error. Now as compilers get smarter you can get constexprs in some languages but it's still very specific and entirely static. I guess you could also mention global constructors, but that generally comes with severe caveats and should be used very carefully.

Python on the other hand treats top level code like anything else. That's why the `if __name__ == "__main__"` pattern even works in the first place. Having a real-looking main function would send the wrong message IMO, because it would make people that it's the real entry point of the program which it's not, in Python the entry point is the first line of the file being executed, end of story.

I do think that Python would benefit having a clearer and more explicitly named helper function or variable for this use case however, something like "if this_file_is_executed()" or something like that. At least this way you'd know what the code is doing instead of this awkward anti-pattern being used these days. But of course by now it's probably not worth changing.
I don't think that's true. An entity (corporation, government, etc.) continuously decides whether to humanize or dehumanize its citizens/customers. Which way it leans in any (every) decision is a matter of goals and values, not a matter of scale.

E.g. a government may not know all its citizens in a personal sense, but it can establish charters of rights and freedoms, it can design humane and accessible services, etc. Scale doesn't prevent these things, rather it necessitates them.
Dunder methods don’t “look” special, they are. Marking them as such has side-effects, and as soon as you see a dunder, you know you’re going “lower”.

If “main” has to be a special function, it must keep the dunder.
ICE Questions an Admin of The-Eye Archive Site About ‘BlueLeaks’
> If they were not needed in the first place, then the management who hired them in the first place should be also fired for incompetence and letting them all go in middle of a pandemic.

It is unreasonable to expect management to have a crystal ball into the future.

The role of serving as a safety net can only be accomplished by society as a whole, not individual business. Businesses should be able to purchase labor and not purchase labor as they see fit, just like they purchase other supplies for the operation of the business. The role of providing basic income should fall to the government.
Eventually, ALL automotive production records will be held by EVs, only question is when.
This!

Let's add extra arguments on top:

- Creating the habit of (and scheduling time to) reviewing patches since the beginning is great. You should also encourage them to trade reviews (if you want John to review your patch, just review one of his patches and then ask for a review!). Don't create developers that are not used to allocate time for review in their schedules!

- Code written by senior devs will have to be read and modified by beginners, so you might as well included them in the review process. A lot of time they may make suggestions that leads to a code that can be better understood by newbies.

- Reviewing patches (or just being aware of them) keeps the beginners up-to-date with the recent codebase changes.

- Even if they don't understand the patches, they will get ever slightly more familiarized with the concepts involved, keywords, where each thing is, etc.

- There's always something the reviewers can do. They may not be able to assess if the locking model will lead to issues when the planets are aligned, but they may be able to check the constants against the specification, parameter misuse, off-by-one errors, etc.

- You have to put appropriate weight on who is reviewing. A Kernel patch with a Reviewed-by: Linus Torvalds is probably good to go, but the same patch with just a Reviewed-by: Donald Trump may need more reviews :).
Just wanted to say I am super impressed with the work TimescaleDB has been doing.

Previously at NGINX I was part of a team that built out a sharded timeseries database using Postgres 9.4. When I left it was ingesting ~2 TB worth of monitoring data a day (so not super large, but not trivial either).

Currently I have built out a data warehouse using Postgres 11 and Citus. Only reason I didn't use TimescaleDB was lack of multi-node support in October of last year.

I sort of view TimescaleDB as the next evolution of this style of Postgres scaling. I think in a year or so I will be very seriously looking at migrating to TimescaleDB, but for now Citus is adequate (with some rough edges) for our needs.
> Also, is there something inherent about Schwab/Fidelity/etc charitable index funds that make the fee load so high?

Yes, the difference is whether the account holder thinks the fees are reasonable. You might think you’re the account holder because advisers go through a lot of effort to make DAF clients feel like they still “have” the funds in the account. But you aren’t the account holder, Schwab is, and Schwab finds the high fees charged by Schwab’s charitable index funds to be perfectly reasonable. The money in “your” DAF isn’t yours.
I'd hope HN posters would understand that systems aren't that simple and read the full content of that analysis.
> a <10% layoff is not unreasonable for a healthy company

From what I've read, this was standard practice at Microsoft for over a decade.

I think this makes sense during a downturn, but probably wears on morale if it happens every year.
The shallow pro market idealism that too often colors the Economist's analysis is hard to swallow. Give me the confidence to pronounce: 'If Arab rulers want citizens to pay their way, they will need to start earning their consent' in a complex and unstable region. As thou they can see the consequences of complex change. The ghosts of the dead in Libya, Syria and Egypt (remember that brief flame of democracy) should be a constant presence in the author's mind.
SpaceX's Anasis-II Mission [video]
This was a great exercise, very well explained!
China is a location (which is currently the one believed to be the origin of the virus), while Jew is an ethnicity/religious affiliation with no statistical association with the disease. So while Trump's use of terms is abhorrent, I don't think that comparison is realistic.

(I wouldn't cancel anybody for liking a tweet by Neo Nazis; I'd just incorporate that into whether I would want to work with them or support them in the future).
I appreciate the dash shows the actual min/max cell voltages (min 3.96 max 4.01v in one of the pics)
Disrupting Disruption
>The project you cite is super-optimized for the Prometheus use-case and data model.

That may be true, but: Instead of figuring out how to meet the user's needs you're going to say the user is wrong?
> That, but for account management.

account management seems different. the developer relations folks have more purple hair and technical skills.

account managers are suits who come in at the start to sign the contract, and again later when everyone involved has fucked up to try and salvage the business relationship.
Artificial Intelligence Is the Hope 2020 Needs
> For me to justify spending "3-6" peoples worth of money it had better save "3-6" peoples worth of time.

Well, it does in my experience, especially if you have to handle 2000+ hosts, that's some serious infra there, need serious tooling.

May I ask which country is it?
It is easy to feel bad for the citizens who don't really get a say in the matter and live under a repressive regime.
The problem is there are three groups: climate deniers, climate alarmists, and climate realists. The first two are much louder than the third, so the debate quickly turns into an extremist yelling match full of misinformation in the public arena. Most people never settle into the minority middle ground of climate realist, because it can be difficult to muddle through the extremist views to get to the truth. And even if you do, the majority of people will just make it a point to tell you how wrong you are anyway.
Does anyone has a comparison to Bookstack?www.bookstackapp.com
Show HN: Hred, reduce HTML to JSON from the command line
author here, in case you want to ask me anything about the system
Obligatory heads-up: parts of TimescaleDB (including the multi-node feature) come with no right-to-repair. See https://news.ycombinator.com/item?id=23274509 for more details.
What do you mean? The only remote job I have had used a typical recruiter from the company side. I am sure he had a premium subscription. I didn't use a recruiter from my side as I knew someone that worked there.
They can try:

"A Toyota dealer in Baltimore is offering a brand new 2020 Supra Launch Edition for a nice, round $100,000 – an eye-watering markup of $42k over list."

https://www.carscoops.com/2019/07/would-you-pay-100k-for-a-2...
For modern electronics it technically will be, but the only relevant lifespan is related to the electromigration of the bond wires. That occurs over ~100y of on time.

Keeping it hot basically won't matter unless it already had defects.
> It’s just a massive time sink with little to no benefit.

There is arguably a large social benefit to preventing widespread misinformation being disseminated. Perhaps no great business benefit - indeed it is likely a massive expense. But someone somewhere is paying that cost, however it manifests.
Apple Glasses Patent Suggests Any Surface Could Become a Virtual Touch Interface
There are laws that apply to members of the executive branch, even though that branch is also responsible for enforcing the law. So how to handle the fact that that means they can break them with impunity?

The answer is that the Constitution give Congress abilities like impeachment specifically to give them the ability to apply pressure and "enforce" that the executive branch does what it is entrusted to do.

The exact same situation applies to police. Surely you understand that it is possible for police officers to break the law even though they are technically also the people responsible for enforcing it?