skysight-inc/HackerNews huggingface dataset:
"Fail on certain moon phases" reminds me of a C++ bug I encountered while trying to set up the demo for PSIP (Digital TV Guide) destined for NAB in Las Vegas. We had programming schedules resembling excel spreadsheets and my job was just to create a good one for the demo. I would spend all night making one and sent it to my boss and each morning would get in trouble for sending in blank schedules and had no idea why. On one occasion I happened to be editing at 3am and noticed all of my edits rolling back one by one. It was actually viewable on the screen as if someone took control of excel and was rolling back each field. My immediate thought was I really need to get some sleep but later we found the auto-save feature inverted itself after 3am exactly and would go through each delta one by one rolling itself back as it had been edited. The bug was found in the calculation of the vernal equinox which moves from 3am to 9pm to 3pm. Since it was triggering the leap year code 6 hours of time would get rolled back edits and all! This was of course 2008 year of the digital transition from analog cable which happened to also be a leap year.
It is probably too late to change the name. But you have a good point, the "micro" prefix is highly misleading. Furthermore, there is little guidance in the literature on how big the microservices are.
Everyone of course estimates that their own field is most important, but IT often estimates that some non-technical fields are completely worthless.
I recently discovered by shopping for one with my fiance that being a woman raises the complexity of the problem by several orders of magnitude because women have even more body dimensions for the hardshell to either crush or bag up around.
Yep. I was about to recommend this to our data team until I realized there was no info on pricing.
> If you call `ReactDOM.render` in multiple places

Nobody uses React that way. Besides, React is still very much the one calling you when you're dealing w/ lifecycle methods, useEffect/useCallback, suspense, etc.
>Is any of this worse than the rate of racism in society in general? How does this make it impossible that he reformed in the Navy?

It's hard to believe he was able to "get away from this world" in the Navy, an institution where that world very much still existed. It may have happened, but it also sounds like using your time in the military to shield you from criticism.

>30% of women and 17% of men in the US military are black. If there was rampant racism, I think we'd see a lot more trouble than the sources you've listed

I was providing sources showing links with white supremacy, not racist events.
Building a Scalable and Flexible Flight Anomaly Detection System on Azure Batch
Not hotel rooms but fotos of random locations:

https://www.bellingcat.com/news/2019/12/17/two-europol-stopc...

https://www.bellingcat.com/news/uk-and-europe/2020/04/22/cre...
This covered a lot of what I was planning to cover.
+1 on figuring out your goals. A while ago I read an article about this as well as other parts of learning a language but I can’t find it anymore.

I also want to mention that there are heaps of apps, websites and resources available for learning Japanese. (Of course, they aren’t a substitute for actually speaking/reading/whatever it is that you aim to do.) Tofugu has a regular series covering these apps: https://www.tofugu.com/japanese/japanese-learning-resources-...

There are actually a number of alternatives to WaniKani: kanji garden, kanshudo, kanji koohii and Anki + Remembering the Kanji deck + 5k most common words deck. I think the main benefit of WaniKani over these others is the API — e.g. adjacent apps like Satori Reader can hide furigana based on what you’ve already learnt. I think both the WaniKani and kanji koohii forums are good places to find more help.

subs2srs for Anki and delvin language are similar to FluentU.

If you want to improve your pronunciation look up Dōgen on YouTube or try the Waseda speaking with fluency course.
The last response is the cause of our current predicament, but the dynamic has already been continued creating the next big crunch - the first thing the government did in response to this crisis was to lower interest rates, and the second thing was to subsidize six trillion dollars of corporate debt at the fake rates rather than letting the market correct itself.

Sure, the problem isn't actually capitalism per se, but rather the rent treadmill fostered by extreme concentrations of capital. Our economy is strongly centrally planned via artificially low interest rates, with the overt goal of making everyone work full time - essentially by eroding labor's bargaining power versus capital.

If someone's latent paradigm causes them to see this dynamic as endemic to late stage capitalism, nitpicking with no true Scotsman isn't terribly useful unless you have a plan to keep the people who control large capital accumulations from continuing to influence monetary policy to their benefit. Putting aside terminology, your gripes would likely have more in common than not.
> The trailing (!) S&P P/E is greater than 20 right now. The Fed is supporting prices above their historical mean/median of 15. It makes zero sense, from a financial standpoint, unless the market is pricing in substantial inflation.

No, it's just pricing in low returns across all asset classes (to simplify, low interest rates) - assets are priced by excess returns not absolute.

There's nothing unreasonable about a P/E over historical norms if you think interest rates will continue to stay well below historical norms.
Perfect it enemy of the good, but many times I hear someone saying that for some app/software and then, afterwards, complaining that the software isn't perfect.

You have time, money, team to do the "good" but then is charged for the perfect.
> thank god the FBI was able to order Facebook to hand over the comms of that MS-13 gang.

I think you may have misunderstood the article? It says Facebook won the case, and did not have to wiretap the app.

I don't see what is to be gained by the public not knowing why.
Apply some time stretch, pitch shift, slight distortion, and the watermark is likely destroyed.
>(An advertisement for myself.)

I love the author's sense of humor.
> No serious recession is priced in really.

That's not entirely true, the composition of the S&P500 has pretty dramatically changed in the last few months[1].

If you look at the linked chart most sectors are down — energy is -50%, consumer discretionary is -27%, financials are -22%. However, a few sectors are up — healthcare is +5%, consumer staples +6.5%, information technology is +8.5%.

So with shelter-in-place and quarantine, it makes sense that the world's demand for oil and travel is at all time lows, and the stock prices reflect this. Instead, the demand is now almost entirely online, on the internet. Nearly every IT sector company is surging.

Even real-estate is down, as expected (fewer moves happening, less commercial leasing), but it appears to have a high variance[2]. Why is that? There are actually a few real estate companies on the S&P that are doing really well: $SBAC (operates wireless infrastructure), $EQIX (specializes in datacenters), $AMT (wireless and broadcast communications infrastructure), and $CCI (shared communications infrastructure).

So, many sectors of the economy are down, as are most companies. The current pandemic has pushed more capital to businesses which operate online. So the reason why the market cap of the S&P500 hasn't changed dramatically is because the distribution of the money underlying it has. The S&P500 is a capitalization-weighted index.

> But at one point stock prices will need to get back in line with earnings. I don't really hear anyone talking about v-shaped recovery anymore.

This week a lot of tech companies are reporting their earnings. Alphabet announced a 13% increase in revenue. If other tech, communication infrastructure, consumer staples, and personal health companies report similar earnings, then this whole thesis will be validated: the S&P500's current market value can largely be attributed to a flight-to-quality, where the "quality" is pandemic-proof stocks.

[1] https://imgur.com/a/6ZOCbBI

[2] https://imgur.com/a/JF3u463
"Here in SoCal purchasing a home with a traditional 20% down would involve locking up $200,000 that could be put into the market productively"

I've been saying this for years, maybe after this year it'll make more sense: It is not sensible to model "the market" as if it makes steady X% (for X somewhere in the 5-8 range) returns every year. It can and has gone decades being flat-ish, or slightly down after inflation, or up but nowhere near X% a year. The timescale where this is a reasonable model is longer than your expected productive working years. "Return X% a year" is basically the best case on a decade time scale, not the average case. There have been time frames in my life when paying principle on my mortgage was a significantly better "investment" than the stock market.

In hindsight it'll be obvious what you should have done, but in hindsight you can turn a few hundred dollars into a few million in just a couple of weeks with perfect past knowledge of the market, so if we're stipulating hindsight you've made way bigger mistakes than merely "buying a house".
HackerNews does not appreciate marketing spiel.

Are you associated with this project?
I am not a particularly great programmer. I am decent at documentation, to the point where I have received unsolicited commentary about the technical documents I produce and the comments in my code. My technical writing class is largely to thank for it, plus a hefty dose of frustration at reading awful documentation over the years, combing through code with almost no comments, and the like.

Once your code "works," nobody cares about it -- they're on to the next thing -- and then the next time it receives attention is if something goes wrong, or something changes either coming in or going out. It is then that your code will receive attention again. Having good docs on hand is going to make that quite a lot better.
Yeah, I added one to my first-aid kit just for really emergency emergencies.

I also love cyanoacrylate because it stops sticking when you apply water to it. I don't worry about my fingers, because whenever I work with this family of glues, I just keep a glass of water on my workbench, into which I dip the fingers if I notice I spilled some glue on them. The glue immediately polymerizes, and you can pull/scratch it off.
What influences angel and VC investments during a pandemic?
I'm struggling to understand the problem with shared code and the desire to fragment the code repo!

Why can't you have both independently deployed microservices and a shared code base?

If the deployment lifecycle is different for each microservices and each deployment is self-contained, then they can be deployed with different versions of the code - even if they use the same source tree and share code.

Obviously the shared code needs to be properly maintained and evolved, but it seems to me a lot of the software engineering problems occur when people move away from source code dependencies - with great tooling - versioning, diffs, debuggers - to other types of dependencies ( shared libs etc ) where the tools are non-existent or very simple.

Now granted if you needed to fix a critical bug in the shared code - that would require a redeploy of everything, but that happens much less frequently than the need to deploy a single service with immunity as long as your keep your microservice contract. It also means the discipline of making sure every services is deploy-able at anytime is kept to.

And if you didn't share code - you probably wouldn't be fixing a single bug once, you'd have much more code, with many more bugs.
Spotify earnings: ‘Every day now looks like the weekend’
History of Auto Layout Constraints
When and how does the Coronavirus end ? There is almost zero true end insight ?
Collecting Acceptance and Integration Test Coverage with Golang
> It's a bear rally.

People were saying that when the market jumped back above 2250. It's improbable we'll get that low again.
How to Build a Design Starter Kit in Figma (Part Two)
Diligent Engine v2.4.e is out: Vulkan on Android, C API and other improvements
You don't tackle Conway's law. You can't. You use it on your favor by creating organizational structures that reflect the design that you want in your software.
Because they can be easily replaced by the 26 million newly unemployed and have no union.
An Ode to Code Golf
This:

do
x <- ["a","b","c"]
y <- ["d","e","f"]
return (x ++ y)

evaluates to:

["ad","ae","af","bd","be","bf","cd","ce","cf"]

Note that this is _not_ equivalent to:

["a", "b", "c"] ++ ["d", "e", "f"]

which would instead evaluate to

["a","b","c","d","e","f"]

The Python equivalent would be:

[(a + b) for a in ["a", "b", "c"] for b in ["d", "e", "f"]]

Which evaluates to:

['ad', 'ae', 'af', 'bd', 'be', 'bf', 'cd', 'ce', 'cf']
So he moved from Google to Apple and Facebook.
Kim Stanley Robinson – Making the Fed’s Money Printer Go Brrrr for the Planet
The useEffect example in this article to me is ludicrous. It makes absolutely no sense just looking at it.
Technically true, just as hopeless for any practical time scale. The economic problems of being on lockdown will compound over time. We cannot wait until we have treatments or a vaccine.
If 20% die but 8 out of 10 are very old and sick, then globally 4% die who are healthy or not very old.

4% of an (healthy not very old) population dying still means overall the economy would contract by 4% (because product/service demand is down 4%), which would still be the greatest recession in the last 8 decades.

Your comment ("not much") is thus completely false.
I think they titled this article "chronic boredom" instead of "existential ennui" so they wouldn't scare as many people away.
I misremembered. Thanks for the clarification.
> Lenders and banks were supposed to start going easy on loans but ive had two emails and a phone call about the loan for my Silverado this month and wouldnt you know, the caller was excited to mention my stimulus check.

Don't settle for this. My niece had her car repossessed 3 weeks ago. They said for $18k cash she could have it. We told them to pound sand. She's borrowing cars and getting rides, but next week she'll have a decent car, and I'm going to record a lien on it with the county so nobody can take it if things get worse and she has to declare bankruptcy.

Make them an offer: for $1000 cash, you'll park it in the driveway, unlocked, with the keys in the visor on any day they want to schedule. You're going to buy it back at the auction for 1/3 of what you owe. Or they can work with you, politely. If they take your car, they're just as screwed as you - possibly more so. The used car market is a bloodbath and they all know it's going to be far, far worse in 6 months.

The rich get richer because they know how to take advantage of situations like this. As a diesel tech, you almost certainly have the knowledge to nurse an old beater along and take advantage of your lenders weakness. Please do it.
The virus's effect on the US economy is significantly worse than it was estimated to be a month ago. Back then the thought was that we'd be fully operational in a few weeks. Now there's increasing evidence that we may be economically degraded for months or years.
It’s a false choice between the economy and people’s lives.
The problem is that while labor economy was shut down, the financial system was not, so that rents and debts had to flow out of people that could not generate income, and the government has been ignoring the issue with nominal support.

Not freezing debts/rents across the entire economy is how this whole thing spins into a depression
Ask HN: How do you share passwords simply and securely?
I saw lots of password sharing (especially at work, between family members or friends, purposely or non purposely) with plain text in the wiki, or restricted permission of doc.

Are there existing tools (or non-existing tools) that can simplify password sharing experience securely?

(Password manager seems a way of securely sharing password, but it usually requires registration and is guarded behind a paywall. Not simple enough IMHO)
> it's uncommon that I want more than 100 items

I believe the discussion is GUI items, not what you might consider data items. Look at this current Hacker News page. Each comment, depending on how fine-grained you're counting, looks to have about 5-6 or more GUI components. In your browser viewport you may see a dozen comments. GUI components add up quickly. These are also only the components in view. React, however, is rendering the entire page. Easily hundreds of React components.
We'll see. Facebook might do poorly in Q2, but Alphabet does way more than advertising now: it does cloud infrastructure (GCP) and productivity (Google Apps for Business), both of which have experienced sharp gains in this pandemic.
I don't understand this hype about Apollo. Its trying to be some strange "semi-framework" that takes care of some of your application concerns while actively making it harder to take care of the rest.

For example, Apollo will cache api requests, but what about local application state? Their local caching library is cumbersome to use. If you wanted to update local state, you either need to write a mutation, or manually fetch data from the cache and change it. For the former, I find writing GraphQL mutations more verbose and cumbersome than Redux.

In the latter, you need to worry about fetching, changing and saving state every time you need to make a change. With Redux on the other hand, your current state is fetched and saved for you automatically and you just need to worry about describing the state change in the reducer.

I also dislike the Query and Mutation components. The Query component can be fine for simple use cases, but it still ties your API calls directly to your component. What this often means that any business logic associated with the request goes in the component as well, leading your components to become bloated and untested.

The mutation component is even worse leading to super hard to understand code - you are basically writing your API request layer using HTML markup. For me its so much simpler to just have functions that call APIs directly instead of trying to understand some strange markup hierarchy.

In short, I can see the appeal of Apollo if your app had very little frontend state and just needed to be a reflection of the server. However, as your codebase grows in complexity, the patterns that Apollo encourages you to use lead to bloated and unmaintainable code.
There are a few things I don't like about it:

1. Yeah it's easy, but it's not much easier than searching and installing a package in Sublime Text. And when I'm using a tool I want to be focused on the work, I don't want to be distracted by what MS thinks I want to see when I open my editor. Yeah it only takes a second to dismiss these things, but all these little distractions pulling you out of flow add up. It's amazing how relaxing it is when you don't have that all the time.

2. I don't want to become dependent on it honestly. Like what if VSCode starts to go in a direction I don't like, and I want to change editors, but my workflow depends on all these plugins which I don't even know what they are or how they work because I just installed them mindlessly like a monkey pressing a button in a lab to get a treat.

3. It's part of this whole ethos where software has to be constantly evolving, and developers need to collect data on everything users do to optimize for whatever KPI MS cares about. This goes along with things like A/B testing UI changes, so maybe one day I open VS Code and the menu options are different because they are testing something out on me. Ostensibly that's for my benefit, but it costs me productivity when I am just trying to get some work done.

A text editor is a simple thing. Basically I just don't need any of this extra stuff on top for a tiny little benefit.
They've always gone .0 to .4 and then bumped the integer up, since 4.x.
I think they are. Plenty of people talk about the wealth gap and such. There's just no single number to condense the "average people ought to be able to get a lot of stuff" intuition.
The Auspicious History – and Future – Of Basic Science Research
I still write web in ColdFusion and (mostly) plain JavaScript. Seriously. I’m not cool at all.
One of the lines is going to be acceptable performance. Your phone number formatting microservice is going to be orders of magnitude slower than a client library.

The auth service will likely have to hit a DB anyways. Assuming the microservice call has roughly the same network latency as the DB call and the DB has 0 response time, it would double the total time to perform the auth. It only gets more favorable as DB response times go up.

More generally, I think microservices make sense in scenarios where the time to process the request is longer than the network latency incurred by making it a microservice. Things that have to hit a DB are generally okay. Pure functional things that just compute on CPU and RAM are generally not, unless they're very computationally expensive like running a simulation or something like that.
Plenty of people are calling for central planning of economies right now, and that's freighting if history is any teacher.
His naturalism doesn't seem coherent. If no physical system can compute incomputable functions, then it's special pleading to insist that there's a difference between natural laws and mathematical laws.
That’s not quite right, SOA as originally defined had no mapping to team structure or deployment runtime, it was mostly about defining discrete service interfaces and ensuring your clients used that contract rather than back channels to communicate. Most often you had a dozen services running in a single app server cluster. Conway’s law was rarely discussed (with some exceptions).

Microservices tended towards a single runtime per service, ensuring the deployment lifecycle was tied to the build lifecycle and thus allowing for independent evolution.
The most fun is when the build then restarts, and do a build cycle until the the clock passes some magical timestamp making the build succeed.
I felt like the biggest dolt that I didn't sell my stocks en masse a couple of weeks before the plunge, when it was already obvious C19 was going to be a big deal. I reasoned "The Fed will just inflate the currency to maintain stock prices anyway, so why would I want to go long on the dollar?"

Now a month later, my initial instincts don't seem so wrong anymore: My portfolio is doing fine... All I missed out on was a bunch of theoretical day trading gains.

(Too bad the things that really matter, like my friends that run local businesses, and everyone's mental health, haven't fared as well)
the general complaint i see the most often is it's too complicated to use -- but if you read the manual (which is good), most of those confusion goes away.

anki does a lot of things, but all of the defaults are sensible
In reader mode:

> The night of December 18, 2004, began as an ordinary evening for Blair Cobbs’s father, Eugene. At 33, the elder Cobbs was already a seasoned veteran of the drug trafficking trade.

wtf.
yeah, I can't recall every factor but my locale was the biggest one and setting it to US is annoying for spelling reasons. colour vs color, etc.

resolution as mentioned is another big factor but that was also annoy having the default resolution. Maybe I would have gotten used to it, but I tried for many weeks with the firefox anti fingerprint setting but eventually gave up, it was too inconvenient.