skysight-inc/HackerNews huggingface dataset:
A few points I'd like to make:

1. You can't "migrate" to microservices from a monolith. This is an architectural decision that is made early on. What "migrating" means here is re-building. Interestingly, migrating from microservices to a monolith is actually much more viable, and often times just means stick everything on one box and talk through function calls or IPC or something instead of HTTP. Don't believe me? See this quote:

> The only ways we could break down our monolith meant that implementing a standard ‘feature’ would involve updating multiple microservices at the same time. Having each feature requiring different combinations of microservices prevented any microservice from being owned by a single team.

Once something is built as "one thing," you can't really easily take it apart into "many things."

2. Microservices does not mean Kubernetes. The idea that to properly implement microservices, you need to set up a k8s cluster and hire 5 devops guys that keep it running is just flat-out wrong.

3. Microservices are "antifragile," to use a Talebian term. So I think that this paragraph is actually incorrect:

> This uncertainty made creating microservices more fraught, as we couldn’t predict what new links would pop up, even in the short term.

A microservice is way easier to change (again, if designed properly), than a huge app that shares state all over the place.

4. What's the point here? It seems like the decision was hasty and predictably a waste of time. Any CTO/architect/tech lead worth his or her salt would've said this is a bad idea to begin with.
How It Feels to Be an Asian Student in an Elite Public School
There's a digital workgroup as part of the scientific project, with a centralized system that's described here : https://www.notre-dame.science/plateforme-de-centralisation-...

As far as I know, the data's only accessible to researchers.
Do you have an auth service that does not do API? Does your API ask the auth rather than reaching into the auth table to see who is authorized? When you send an email, do you do it inline or do you trigger a push to a queue with separate worker(s)? Does your externally accessible API talk to internal services using a predefined protocol rather than reaching directly into a database?

Congratulations, you have micro services!

As someone who have driven the migration from a monolith (just set environment variables and magically the same codebase becomes auth, notifications, workers, web and API and the same codebase reaches into every single database and talks to every single service) into micro services because a simple features were taking months to implement, I can confidently say that even today, in 2022, an average organization does not have the tooling or the team to do a monolith. Monolith is a cargo cult. Break stuff into an digestable chunks, externalize your own internal libraries if they are shared, version the interfaces and stop worrying about microservice complexities.
Search engines, including google, have endorsed discovery of structured data via the schema.org standards. They're not as focused on the issue as CrossRef or Orcid, but they're doing their part.
I wonder how much of this could be extended by phones just auto-limiting charging to 90% (current phones already time charging so when left on overnight it only reaches 100% when you wake up) most of the time, since that seems to increase battery longevity by a lot.
> Splitting monolith into services(not always been micro) is a natural evolution for any software.

No less natural than "joining the innumerable incompatible and bug-ridden fragments into a single unified solution."

Linux is a bazar. Except distros and package repositories are cathedrals.

Windows is a cathedral. Except software distribution is a bazar.
>There are many editors out there with incompatible plugin APIs (sublime, vim, emacs, vs code, fleet etc.). There is room for Nova to do their own thing, and do their own thing better without catering to the crowd of another editor.

No, there's really not. The marketshare for a native-macOS editor is comparatively small, and they would be better served just making it work and interop well.

There is nothing special about their extensions API and there is no glory in re-forging this path.
One easy, but indirect, fix would be to remove the legal special casing that exempts credit reporting companies from libel laws.

That would force a number of other changes, and I think they would mostly be positive. Those whose businesses depend on high-volume easy credit may disagree.
This is simply great for master data & content management. Fast clone, override/mask data for QA/dev/test.

All that's left is to diff what's changed between clone and main database, and merge the changes back up for a full, safe workflow for master data and content management.
I believe Samsung cancelled ads last year. Source: https://www.engadget.com/samsung-removes-ads-pay-health-weat...
> Lawyers must hate their work.

A friend of mine is a criminal defence lawyer. I get the impression he really enjoys his work – he gets to meet a lot of people he never normally would (bikie gang members, terrorists, murderers, drug dealers, drug addicts, etc) – and he feels safe in doing so (he tells me that defendants trying to harm their own lawyers is quite rare, rare enough that he isn't worried about it).

Once, at a work function (previous employer), I met one of the lawyers from the contracts department. He was telling me how he used to live in a rural area doing agricultural real estate transactions, now he had moved to the big city to do in-house contracts review for a multinational software company. He was a "top performer" (indeed, this was a function to reward people who'd been nominated as "top performers" by their management)–but he didn't give me the impression he really loved what he did, more that he was just doing it to support his family.
No, I am not saying that. I am saying we can compute F(n) exactly in O(log n) time. All the digits. That Fibonacci identity I posted allows computing exactly every single integer digit by rounding at the end, because the other term goes to zero as n goes to infinity, and that other term is always less than 1.

There are papers showing the complexity I claimed is true. For example, [1]. Algorithm 3.7, on page 15, and I quote: "Hence, with constant time arithmetic, the time complexity is O(lg n). The space complexity is also logarithmic in n." It uses the same ideas as the algorithm I suggested.

Also the two algorithms in section 3.8 achieve the same. The algorithm in section 11 achieves the same.

These use, as I used above, as is common for algorithms, what is called constant time arithmetic. This is how pretty much every textbook you will find uses these terms. Otherwise, even simple things like Quick Sort are no longer O(n log n) in the number of items, because as those items grow without bound, if the arithmetic does also, you end up with (often) more factors of n or log n in your final complexity.

For example, here is the bit complexity of quicksort [2], which is O(n log n log n) instead of the usual O(n log n). This concept is used so rarely that I don't think I've ever heard another person state it. People state the O(n log n) complexity, which is the standard for constant time arithmetic.

>You multiply two n/2 bit numbers.

You keep mixing your ideas for complexity. To specify the problem for computing F(n) you need not n bits - you need log n bits. So the input for this problem is not n, it is log n. Thus if you take your claim, and at the end multiply two (log n)/2 sized numbers, what do you get?

For example, if I tell you that you should compute F(1024), you do not need 1024 bits to tell you that. You need 10 = log 1024 bits to specify the problem. To describe the input to compute F(1,000,000) you do not need 1 million bits. You need 20.

Thus you do not multiply out n/2 bit numbers at the last step.

[1] https://arxiv.org/pdf/1803.07199.pdf

[2] https://www.ams.jhu.edu/~fill/papers/BitsQuickxabs.pdf
Yeah, it used to be called “Service Oriented Architecture”, and is nothing new.
The old internet shows signs of quietly coming back
So small caveats, I lied a little. This is the first time I've ever really sat down and analyzed my typing. I do use my ring fingers slightly, on my left hand I use my ring finger for "z" "a" and "q" exclusively, and on my right hand I use the ring finger for backspace exclusively. I also only use my left thumb to hit the space bar and use my right index finger for space when my left thumb isn't available, and don't use my right thumb at all.

I managed to hit 93WPM(really 102WPM if you look, it wouldn't continue until I finished the last word which I didn't notice for quite a few seconds lowering the final time) my first try while holding my phone in my mouth which was a little distracting to be honest, and after about 10 minutes of warming up and not holding the phone managed to get it to 132WPM.

First try at 93WPM - https://gfycat.com/groundedpettyeider
Had to cut it to 60 seconds to fit into gfycat, so it starts a little into me already typing but gets the idea across

Last try getting to 132WPM - https://i.imgur.com/r2ecd1Z.png
I guess that just proves my point about discipline being a limited resource. You appear to have put of yours into bettering your physical health and none into interpersonal relationships or compassion.

There's no reason to repeatedly insult me.
Feature flagging comes to mind, just don't expose the pieces that don't work or are in-progress? or .exclude or something.
The problem is that actual change is hard. And hard becomes impossible in the presence of deniers. Different people want different approaches, and each of them has different costs for different sectors.

We can't even tell just how bad the arguments would be, because the presence of deniers shortcuts it. Nobody ever gets to make difficult compromises because "doing nothing" always wins out.

It's not just a matter of "it would all be over if we just did it my way". It probably would be... but that's not how things are done in a democracy. You have to take all the various groups into account. And when one large group is "absolutely nobody does anything", they get what they want because none of the actual discussions can be taken seriously.

This is all complicated by the fact that the worst deniers are in the US, and that they have outsized power here. Europe isn't especially thrilled about the idea of doing anything that costs anything -- whether it's money, their other environmental goals, or otherwise -- that the Americans will benefit from without paying for.
Galaxy Nexus was a great phone at the time for the price. I had just gotten the galaxy 2 then realized that sprint had no coverage in Portland so I cancelled my contract (didn’t have to pay because I proved they mislead there coverage area). Moved to a GN on T-Mobile and loved it until I replaced it with a nexus 5x. GN was a good little phone to learn android dev on as well.
What power does it give wealthy people and how?
> How did IBM convince Motorola to modify the 68000 and Intel to modify the 8087? Did IBMers do this work, or Intel and Motorola?

IBM had Nick Treddenick, the lead designer of the 68K do the work. His book "Microprocessor Logic Design" covers the development of the "Micro/370" in great detail, including flow charted microcode that looks remarkably similar to the flowcharts in Ken's article (though apparently Treddenick used flowcharts for the 68K microcode prior to moving to IBM. Regrettably I haven't actually read through my copy yet, so I can't give any further details.

Ken, if you see this I highly recommend tracking down a copy to read, I think it's right up your alley.
Microsoft implements unbeatable captcha system
I don't have a lot to add except to say I loved this reply. I think a lot of people might miss it since it's down in the replies, maybe you could expand on it, and make it a blog post at some point?
> In other words, feeling the pain of JS over 20 years led to the creation of WASM that might not have been as needed had we had good languages on the web present.

honestly, that sounds like retroactive justification... bytecodes where a thing since way before js showed up, and afaik there was no technical reason it couldn't have been like that from the beginning
performing a medical experiment/procedure on someone against their will is unethical.
I agree that microservices shift complexity, but I'm not sure that this inherently results in an overall increase in complexity. For example, using highly automated ops tools like autoscaling and load balancing can enable smooth handling of problems that can be challenging to handle in code.
More toxic than what? I assumed you meant than methanol (which is added to ethanol-based cleaning products in the Netherlands), but then I read this on the Wikipedia page for isopropyl alcohol:

>Isopropyl alcohol, via its metabolites, is somewhat more toxic than ethanol, but considerably less toxic than ethylene glycol or methanol.

(Can't link link to the page due to mysterious iOS bug...)
You shouldn’t be doing report and statistics on live data, but in a data warehouse.
January wildfire in Denver may have been caused by smoldering coal mine
I've had some similar ideas: https://news.ycombinator.com/item?id=28247651

> We need a lemon-like law for consumer electronics.

I wonder how this should apply to planned obsolescence of devices like smartphones.

On one hand, it's obscene that manufacturers expect us to routinely spend ~$1k on a device that will in the best case scenario last for three years. There's no inherent reason that a flagship Samsung from 2017 shouldn't be perfectly serviceable today, and likewise for a Pixel 6 or iPhone 13 in 2030. However, the discontinuation of security updates makes it so that for all practical purposes they are not.

On the other hand, we can't exactly compel speech or labor. It would be one thing if there were a kill switch triggered after N years, but in this case the obsolescence isn't caused by an active update, rather a lack thereof.

Here's a possible middle ground:

1. Block device manufacturers from arbitrarily deprecating hardware. We can't compel the release of new software, but we can block the release of new software. Require manufacturers to submit a filing with request for approval before the release of any new mobile OS update, which must include an exhaustive list of all supported devices. In the event that a device is dropped from the list in a subsequent filing, it must be explained to the satisfaction of regulators that a specific hardware limitation makes continued support for the device problematic or impractical. Given approval to drop support for a device from an OS release, there would be no obligation on the manufacturer to backport security updates to prior releases.

2. Block component manufacturers from arbitrarily deprecating hardware. Any hardware included in a publicly available consumer electronic device must have its manufacturer commit to providing up-to-date driver software with support for the latest OS for the lifetime of the device. Failure to provide this within a certain time frame (say, three months) following the request of a device manufacturer would open them up to a lawsuit, wherein they could be compelled to publish the most recent release of the driver as open source / public domain. #1 would provide the incentive for each device manufacturer to proactively enforce this, as their entire product roadmap would be effectively frozen if they allowed component manufacturers to drag their feet.

3. Ban irreversible bootloader locking in new devices. Maybe an initial bootloader lock would be acceptable, but power users should have some way to override the lock and install a custom ROM without relying on vulnerabilities in the software.
> This has now changed as companies are now acting in bad faith

I wonder what the major impetus for the change has been. Is it akin to having a million monkeys guided by money on computers, eventually one of them will write code enabling a fascist internet?
A collection of Deep Learning interview questions and solutions
Yeah you nailed it. Quote from the paper.

> and diets focusing on whole plant foods and limiting animal foods and processed foods, such as the MIND diet, are proven to reduce AD risk

I'm excited about the potential of the MIND diet. Here is a quote from the study they linked to

> Results: In adjusted proportional hazards models, the second (hazards ratio or HR = 0.65, 95% confidence interval or CI 0.44, 0.98) and highest tertiles (HR = 0.47, 95% CI 0.26, 0.76) of MIND diet scores had lower rates of AD versus tertile 1, whereas only the third tertiles of the DASH (HR = 0.61, 95% CI 0.38, 0.97) and Mediterranean (HR = 0.46, 95% CI 0.26, 0.79) diets were associated with lower AD rates.

That's evidence that suggests, implies, and points in the direction that AD might be reduced by the mind diet. But doesn't even come close to prove it.

I assume the rest of this paper is as sloppy overstating the evidence.

I think there is a place for scientific advocacy, but own it. Don't pretend like you're an unbiased third party trying to find the truth about keto. This review would be better seen as a "Overview of potential risks of ketogenic diets, and possible alternatives."
Well, SOA is such a broad term. If you include CORBA, you could say it's terrible. On the other hand, gRPC is a pleasure to work with if you need to deal with different environments.
This is so amazing. This post and all the thread in it is very inspiring and a proof that one can make living from pretty much any type of development.

I am a web developer and always assumed that you need SaaS or mobile app to make money from programming. But I hate to be responsible for customer data or troubleshoot servers at night.

I might have to look into desktop development and even game development as that was the reason I studied computer science.
Question: How do you make Foobar2000 keep playing music when you close the lid of your laptop / turn off the screen on your tablet under Windows 10?

I've tried the suggested steps in the Foobar2000 FAQ on this (enable an always play feature) but playback still stops for me.
Related: https://news.ycombinator.com/item?id=30074965
Pixel 3A user here. Battery works great 2.5 years in. Should I be worried?
IMF urges El Salvador to ditch Bitcoin as legal tender
definite "maybe" on that.. the statement "it allows" is made with certainty, yet at most, that is only part of one possible scenario.. among many
It can sometimes make sense even that small, like if team has different geographical locations and/or time zones.

And that I think how you should approach micro services, to solve an organizational problem, not use it for solving a technical problem.
Than ethanol (or denaturated ethanol).
That's honestly an incredible indictment of today's web, isn't it?
Tips to Solve Common Pitfalls with React Native
>One religion, right or wrong, could be more successful based on whatever metric is used for success.

The metric that I was referring to is truth. Only one can be true, or None. Either way the majority of religions are False no matter the outcome.

>In my case, success for a programming paradigm is a large number of successful projects that use it.

Oh yeah define the success case to be exactly the evidence. Clearly we're talking about something more nuanced here. If for example all possibly projects were executed in FP or OOP which version would be more modular, save time and be less complicated... I mean this is obvious. You're taking things in stupid direction.

>If Buddhism being wrong, whatever that might mean, wouldn't change the fact of it's success based on how that is defined. God forbid that the measure of success is enlightenment -- your head might explode.

Please stay on topic.
Just last week I found an interesting and unexpected (for me) advantage of microservices. We have two monoliths written in different stacks/frameworks, and developed by different departments. Monolith #1 is being split into microservices, we already have around 20 microservices. Monolith #2 kind of lags behind, and there are certain problems that they encountered, which are already solved in one of the microservices split from monolith #1. The solution I came up with is to simply reuse the microservice from monolith #1 in monolith #2 (the service is isolated and self-contained so it doesn't care who uses it). I found it to be a rather elegant and simple solution for cases when you want to reuse an implementation but can't package it into a library because clients have different stacks.
> but spending 100x on our current science infrastructure would probably mean less output unless we allow greater independence and stability

I assume you mean $ for infrastructure as in physical buildings or something, not $ for research? Either way, I can imagine no world in which 100x $ will mean less output in Science. I'd entertain less output/$ arguments, but flat out adding money meaning less Science being done?!? If you do mean this then I supect you haven't written grants, nor (formally) reviewed them on a board, nor struggled for reagents, used surplus computers, or pined for a better microscope, or figured out what field work to cut etc. etc... if this is your take.
The proof that there are ninjas under your bed is that you can't see them. Only ninjas are that good.

How is this fraud supposed to occur?

Is the ballot to citizen A intercepted, filled-in, signed with a reasonable facsimile of A's signature, and returned?

Without A asking noticing the ballot never came, so asking for a second ballot? Do you think receiving multiple ballots purporting to be from A would go unnoticed by the elections office?

And the list of who voted is in the public record, so if A didn't vote, and finds that there was a vote in A's name in the last election - or if someone contacts A to double-checks if A actually did vote - then that will stand out too.

Must have been ninjas. Only ninjas are that good.
It's going to take a lot of generations interracial couples are not particularly common.
Medium? Nah
Don't copy-paste from a website to a terminal (2013)
The R isomer of MDMA has a decent affinity for releasing oxytocin.
There isn't really a solution to version bloat aside from good processes and general diligence. There's no easy way to handle that sort of thing, unfortunately.

However, I do think it can be easier to deal with for internal services then for something like Java. When the number of users is in the dozens rather then the millions, it's a lot easier to make sure everyone gets moved over to the new version.
Same for Metroid Dread. Maybe I'm missing a gene or something.
Watson and Crick: 2 pages to describe the 3D structure of DNA with enough detail to explain its functional mechanism.

(annotated: https://www.exploratorium.edu/origins/coldspring/printit.htm...
raw form: http://dosequis.colorado.edu/Courses/MethodsLogic/papers/Wat...)

Read the paper, then go read the recommendations, and then re-read the paper.
Crick was an excellent writer and he was showing off with this one, but it still hews to the basic rules.