skysight-inc/HackerNews huggingface dataset:
Hi! So, for the past year I’ve been working on a self-hosted service to allow people to switch between different email providers at runtime. Basically, how can we make it easy for people to configure how, or when, to use a given SMTP provider, or do failover, when changes like this happen.

We don’t have a landing page or anything- just working code! Would anyone here like to see it working or be willing to share feedback?
the only thing stopping me from uninstalling google maps is setting the map view to north-up during turn by turn navigation. I can't handle the map turning while I am for some reason.
Where I work we use micro-services through lambda (we have dozens of them) and use DynamoDB for our tables. DynamoDB streams are piped through elasticsearch. We use it for our business intelligence. Took us about a week to setup proper replication and sharding. I don't have a strong opinion on monolith or micro-service, pick one or the other, understand their culprit and write high quality (aka. simple and maintainable) code.
Yup. "Do you think in English or in Russian?" -- "huh?.. neither". I can force myself to think "in words". However, most of the time it is something that could be described as colors being kind of physically stretched into shapes or even complete pictures. Converting those in words is a laborious process.
Reporting on databases is a rather 90's thing to do. Why would you still actively pursue such a reporting method from the OLTP/OLAP world? If you use tools that are purposely made to work in such a way, an analyst using those tools will obviously not be able to utilise them in an incompatible environment.
Yeah, I copy pasted a postal address into Waze a few months ago. Little did I know! Waze sent me to the wrong spot and ignored the Canadian convention. Thought this was an odd mistake but now that you say it, i'll avoid it entirely.
I think the odd violent thought is to some extent normal. They certainly occur to me (tho I make no broader claim to my normalcy).

Of course, if they're causing you anxiety, you find them intrusive, or you fear acting on them, you should discuss it with somebody.
> It is much sexier though than irl. I wonder why is that?

Well, now it is. Thank you (and me I guess for being so susceptible).
OPNsense 20.1 Released
I personally think that patents are necessary to promote independent (i.e. non-corporate) innovation. If an individual has a novel idea they should be entitled to some of the money that a corporation makes using that idea.

Of course, the US patent system is pretty deeply flawed. I participated in a study involving patent infringement allegations between two big companies, and my opinion was consistently "Why was this patent approved?"
>Even still it's not clear why that's an issue.

As in you don't understand the need for the anti-kickback statute?

I am not hear to defend it, but I happened to be an attorney on a Qui Tam case (i.e. whistle blower case, which are some of the judgments in the US) revolving around anti-kickback and stark laws.

In short "Russian money" was being funneled into the US to set up pharmacies in Russian immigrant neighborhoods, the engaged in some real bad behavior (patients didn't pick up Rx, they would still bill medicare, then they would relabel and fill future Rx with the already paid med and get a 2nd payment for the meds...other acts included cash payments to doctors to send patients their way). They also engaged in what I felt was not "bad" behavior, they would deliver meds and give the patients a "goody bag" with things from the old country (caviar, hometown news papers, etc...). One pharmacist noticed their supervisor the acts violated the law, and he was fired in retaliation (he is the whistle blower). Before the lawsuit CVS bought the Russian backed chain for well over $100M.

I myself never thought the free goody bag was so outrageous and even think that it is good customer service, but its still unlawful. The law has nothing to do with the type of Rx, or really the Rx at all, its about the unlawful bribe/rebate.
For me local radio, like KEXP in Seattle, is how I find new and exciting music I might not have listened to otherwise. It has become my go-to channel for when I want something on.
Ok, but what's the point of getting elected to simply not do anything? You seem to be implying the goal was to act socialist enough to get elected and then I guess sit in the DA's office with his feet on the desk? Which is a strange accusation to make as a Chesea detractor, given that typically people like to point to his very socialist history and background.

He's certainly not pretending, lol.
Show HN: Slack-Native TODOs Right in Your Home Tab
> You were all but guaranteed to never get a legendary item through pure chance alone, but you were basically guaranteed to get one every two weeks if you did all the time-limited content available.

Seems like this is a feature, not a bug. You want to reward users who interact a lot with your game consistently over time.
They finally updated buildings in New Orleans that had been demolished in the 90s well before Katrina but are still giving a dangerous routing from the west bank of the river to downtown that you will get ticketed for if police will see you do it. The alternate ramp has been complete since 1992.
You Think Then You Are
Computer related majors (software engineering, IT, networking, etc.) and most engineering generally pay off as long as you don't end up hating the work.

Hard science majors (especially biology) don't have it so well, unless they go to med school or pharmacy school.

Math is a pretty mixed bag, some math majors get well paying jobs as actuaries, statisticians, modeling, etc, but many (and all I know personally) end up in low paying jobs that you don't need a degree for.
Researchers Can Now Interrogate Body-on-Chip
Accounting Software
What accounting software do you use and recommend for a startup?
Because:

* Coronavirus has no vaccine

* Coronavirus infected can be contagious for longer than flu patients

* The longer incubation period means more chances for people to get sick, especially since the disease comes on gradually. People will think they have an ordinary cold, go to work, and infect people.

* We understand the progression of the flu in most variants. We don't know all the effects of the Coronavirus, we just have descriptions of the symptoms.

* Flu is basically everywhere already, Coronavirus is not. It's not a choice between one or the other, it's a choice between one or both. If we could declare an emergency and have some chance of stopping flu from getting to some part of the population, we would.

* People with compromised immune systems like the elderly, or babies, or people with existing illnesses or lung problems know to avoid people infected with influenza. Since it's possible for people capable of infecting others with Coronavirus to not even know they carry it, it's harder to avoid for those vulnerable to it.

It's much cheaper to respond to a virus like this in early stages than it is to wait until we see "how serious" it is. All in all, getting things moving now is a good idea.
Kena Opus – Music practice with artificial intelligence
That is a rather pessimistic view... While it's true that microservices aren't the solution to all problems it does simply extend the separation of concerns into infrastructure which is practically a perpetuation of good software design. (just like if you do it right, you should have loose coupling and high cohesion)

Microservices make a lot of sense when you release often, run multiple versions, have a lot of people working on independent components or have a lot of different scalability needs. A monolith can only scale in its entirity and often only vertically. That means that even if just one component cannot be locally optimised the whole application has to scale up.

If you only have a single application or task to build software for (i.e. a CRUD system for a CMS) then it makes no sense to split that out. Just like it makes no sense to build your own crypto, do your own CRM, do your own RDBMS, or do your own filesystem for that matter. That would just be adding overhear and engineering complexity where none is required.

while bad engineering will be bad engineering no matter how it's engineered, that doesn't make a whole pattern bad just because a lot of people apply it wrong. Goes for microservices as well as monoliths. (and XaaS)
How do you do this for directions?
I count 6 images in the link. 3 are SF, one is SJC, one is New York, and one is (presumably) Abilene.
I'll go on a limb and claim for publicity and political fallout reasons there will never be enough BVR RoE airspace to make BVR relevant to aircraft design.

There's a difference between the classic definition of BVR meaning slinging a missile at a blip no one has seen 30 miles away, vs the F-35 concept which is to have excellent sensor suite leading to the pilot having excellent situational awareness so the pilot can shoot down the other plane before the other plane knows they're present, etc.

Its tricky to get into visual range to visually identify the target as a mig-21 and not a 767 full of civilians without at least some dogfighting performance.
I personally use Waze over Google maps for navigation during commute times as it has the advantage of routing with HOV lanes. Does Apple maps support this? (I'm on Android)
So I get that things were easier before all networks needed to be treated as zero trust. But should we really return to that? Just adding another layer of network abstraction with another malted milk-ball network security configuration? (gooey and unprotected on the inside)

Part of me thinks this is like when cars were super simple to work on and you had plenty of "shadetree" mechanics. As vehicle safety systems and emissions controls increased we built safer and cleaner vehicles. They are harder to work on at first because you have to learn the concepts of more systems. Brake systems evolved to ABS controllers then further on to Traction/Stability Controllers. Understanding one system makes it easier to understand the others.

I guess I am saying improvement does make things more complex. The most basic engine is loud, pollutes but works just fine. That does not mean it better- it was fun to toy with but a tuned well engineered machine is just as much fun if you can learn to tinker with it and play.

There will always be someone who will tell you your fuel injected, closed loop, oxygen and maf sensor controlled combustion cycle is less fun than an ol' fashion v8 with a carb.

I actually enjoy the paranoid world where we are building inherent security into every layer of computing. I learn something new every day and get to make something better.
Thank you for reminding me of Chocolate Rain... :/
To interactively inspect within a function, you could use the debugger with `breakpoint()`. But it's not a regular Python interpreter, which annoys me having to learn the different syntax. You can also embed IPython interactively with:

import IPython; IPython.embed()

though IPython kinda doesn't clean up after itself, so it's a bit messier (your prompt is messed up afterwards).

Finally, you can:

import code; code.interact()

The downside of this is there's no history or autocomplete by default.

I have a custom function `embed()` [1] that calls `code.interact()`, but with history and autocomplete configured. This is the closest I got it to looking like a regular Python interpreter at an arbitrary place in the code.

[1] https://pastebin.com/WDuheBfV
Called it! https://news.ycombinator.com/item?id=19620032
Events can handle much more connections than a thread based approach. For example nginx is implemented with event-driven architecture: https://www.nginx.com/blog/inside-nginx-how-we-designed-for-...

> NGINX scales very well to support hundreds of thousands of connections per worker process. Each new connection creates another file descriptor and consumes a small amount of additional memory in the worker process. There is very little additional overhead per connection. NGINX processes can remain pinned to CPUs. Context switches are relatively infrequent and occur when there is no work to be done.

> In the blocking, connection‑per‑process approach, each connection requires a large amount of additional resources and overhead, and context switches (swapping from one process to another) are very frequent.

This is their explanation on events vs threading approach. Still, a lot of web servers today use a thread-per-connection which is acceptable since a database(e.g. postgres) performance degrades slowly as more active connections are introduced.[1]

[1] https://brandur.org/postgres-connections
> I had to find the correct notes by trial and error: "Not that one. Neither that one. Still wrong. Not quite. This one is it! Next note..."

I've tried that and it's so slow and frustrating that the melody in my head just disappears.
There's a long history of these sorts of things:

https://en.wikipedia.org/wiki/Vasa_(ship)
The 20 U.S. airports now screening for coronavirus
The reported confirmed counts have grown by a factor of ~1.5 every day, fitting reasonably well with exponential growth. If this rate continued, in 35 days it would reach the world population. Obviously, in the real world the growth flattens out way earlier, from natural causes, and especially because of the attempts to confine it.

Comparing the total number of cases or deaths to flu outbreaks from previous years does not make much sense at this point, when the numbers are growing rapidly, but in a month they probably are easier to compare. Neither does comparing average counts per week, because the growth is not linear. The data for the progression of flu (or any other disease) outbreaks exists, and comparing to their growth rate would put it better in perspective. Regardless of armchair analysis, the WHO declaration means it's something requiring unusual action, which flu is not.
> Let’s start with the easy one, newly released music

This kind of tedious labor isn't what comes to mind when I hear "easy" in HN-linked article. And really, what I am trying to achieve doesn't sound complicated at all: I don't even want to be notified in advance, just being told about new release even with a week delay would be fine. Yet I didn't find any efficient way to achieve it!

There must be like 200 artists I know and like in my collection, probably more. Some DJs have literally tens of music projects and go by various handles, which I obviously cannot all remember. Sometimes I find out that some musician I really liked a long time ago before he (supposedly) retired, has started a new project I didn't know about for years. So manually monitoring it all (even assuming consequenceofsound covers everybody I listen, which I really, really doubt) isn't easy by any means. And unlike the author, I don't find it to be a fun hobby, I just want to get notified if my favorite band released a new album this month!

What really frustrates me, is that for some comprehensive music DB like discogs, musicbrainz, last.fm or spotify providing a service like that (I'm pasting 200 artist names => you give me an RSS/email subscription/Telegram bot/whatever) seems like a really trivial thing to do, since it already knows all these relationships and learns about every new release in a matter of hours, if not before the release. Yet to the day I'm not aware that something like this exists, and I tried to find it for a while now.
Nothing is real time due to the finite speed of light.
Is there a way to do this for a relational database at scale?
My partner is a new doctor in an underserved lower class area. The hospital is barely getting by from lack of resources, and on top of all that, the patients are often mistrustful and hostile. You work frantic 12 hour days for a lower middle class salary, and have patients accusing you of profiteering.

Of course my partner understand how her patients got that way and doesn't blame them. Exactly as you said. It's terrible.
Exactly. My business lifted off when I realized my market isn't the people who benefit from what I'm selling. My market is people who benefit from what I'm selling, and are willing to pay for value.

Freeloaders are simply not in my market.

And with that focus, I've been able to exponentially improve the value of what my company provides.
"Just looking at daily data" is your mistake. Essentially, it takes N days for the virus to kill, so deaths will lag confirmed cases by N days, and thus the calculated case fatality rate using this method is incorrect. This is why epidemiologists call it a "naïve esimator" (see section 3.1 in https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4540071/).
Things I Believe
If indeed most people stay asymptomatic (but contagious), you're right that the actual mortality rate is lower. But this same outlook would translate to an increase in total fatalities as it greatly complicates containment.
Why do you think only one person designed this? Why do you think the person who designed this is an engineer?

Even small apps have dozens of developers. I'm sure this one had many more than that. Is the problem the implementation of popup, the content, or something else? If this was a system that recommended treatments based on symptom, is the guilty party the person who wrote the query, "SELECT treatment FROM symptom_treatments WHERE symptom_id = ?" Or the person who put the result of that query onto a page? Or is it the person(s) who suggested opioid as a treatment for symptom_id 7?

I feel like you're making the problem comically simple to justify getting on your ethical high horse. Yeah, a group of people decided to pull this shit, but there's a very small chance that this decision was made by one engineer that frequents HN. Most likely it was made by senior executives who passed down bits and pieces to various teams to get the outcome they wanted.
The industry is also full of so many stories of a developer trying to say "Thinking ahead, I don't think you want X because it won't do what you really want which is Y", getting nothing but "Just do X, that's what we researched and PMed into all these requirements documents" to only be followed by complaints of "Why doesn't this do Y? That's what we really need." when presented with "finished" software based on the requirements.
Question from an outsider: Is it really necessary to have a state-level bill for this as opposed to county-level? Is the diversity of the localities in the state small enough where such a measure can be decided so centrally? (I admit I haven't read it or saw if it had conditions on population).
Portion of US border wall in California falls over in high winds
Some of it is less about injecting money than it is about maintaining capacity and capability. It's not always about jobs in general, but sometimes about specific jobs.

The US defense-industrial complex may not always have a high need for people who can design stealth fighters, but it definitely prefers to keep a few around in case it does suddenly need them.

Small business grants may not be a good way of meeting the same need.
If you're staying on the Flex plan, it's true pay as you go, no need to pay up front.
Similar experience here.
I find that as my internal dialogue begins to loop, my frustration grows with being unable to break the cycle. I have an awful temper (see: anxiety disorder) that seems to stem from this. Often if I've just lost my temper, postmortem introspection/analysis indicates that I was thinking the same <5 thoughts in a row in quick, vicious succession until something "short circuited" and I quit thinking altogether - just angrily reacted.
"I don’t think Let It Crash is a good name for the philosophy Erlang has about handling faults"

This is also known as "Crash-Only software" [1]. I'm a huge fan.

[1] https://www.usenix.org/conference/hotos-ix/crash-only-softwa...
afaik, if you are EU/EEA or Swiss citizen, you can do it online in no time.

If you're from outside, then you need to get a startup permit from a panel of experts (and fulfill a couple more conditions), which quite difficult I guess.
When you think less you may be open to more possibilities, be more spontaneous and even have some childlike fun. However, others can be taken aback and even suspect ulterior motives, until you harmonize better with others.
They are clients if they found us to provide a service they needed, and we can provide it in a profitable way.

Our business found Mailgun to be a great solution when we anticipated clients would stick under 10k/mo and not need a card on file. With Stripe, every time they pay their cut, they've had a sale. Every time they mail-out through MailChimp, it's to a list of customers.

We are usually using Mailgun to send transactional emails. I can't promise a client that they won't get a flurry of junk signups or password reset mailouts that hit their credit card.

The bottom 50% of the market is heading to self-serve site-builders and it's savage for a small web business.
This is just another pattern that's entirely predictable. Given a free ad-full version and a paid ad-free version, people will mostly pick the version with ads. There may be many reasons for it - through introspection of my own (old) Android purchasing habits, I can recognize at least:

- not being rich enough to spend money on things I don't have a good reason to,

- the perceived value of a piece of software being very small at the beginning, so paying up front is risky

- the belief in my ability to ignore ads on the margin, which doesn't change the fact that ads work over time, and work at scale.

Point being, this pattern is at this point perfectly predictable, so we can treat it as a law of nature - the same way gas molecules don't have to be dispersed throughout the room, they just tend to with very high probability. That's why I'm in favor of banning "free, ad-supported" as a business model, on the grounds of it being statistically harmful to the end-users and anticompetitive (if your competitor does it, you'll be forced to follow suit).
Modular Monolithic Architecture, Microservices and Architectural Drivers
That's a problem for the future data engineers to deal with. The data lake is an insurance policy so you only need to think about these problems if you later want the data. If you already know you want to analyze the data, then a data lake is not a good choice.

Yes, it makes life harder for the data engineers in the future, but it might turn out that analysts only ever need 5% of the data in the lake, and dealing with these schema changes for 5% of the data is easier than carefully planning a public schema for 100% of it.

It can be helpful to include some small amount of metadata in the export though, with things like the source system name, date & time, # of records, and a schema version. Schema version could easily be the latest migration revision, or something like that.
Can you tell me which tool you consider for getting netflows? I am trying building something that is really close to what you describe but fail to find the time to do so.
Damn, that is cool. I looked through some of my favourite genres, and the data looks good.
In these times of low unemployment, a dearth of applicants may push Lockheed to literally burning money. Could this provide more economic benefit until spring when heating costs drop?
It seems like interacting with customers and enforcing business rules is one job, and observing what's happening is a different concern. Observing means collecting a lot of logs to a reporting database.
In aviation every kilogram of weight is costing a lot, carrying a useless gun is pointless. If the gun use is too low to make it accurate, it is better to completely eliminate that quarter ton of metal.