skysight-inc/HackerNews huggingface dataset:
I have created that collection of resources about microservices on dev.to.

I fully agree with you. If you are doing tests in isolation it is easy. But testing multiple microservices is really hard.

What we can do about it?: contract testing / consumer driven contracts, chaos engineering, e2e tests (for short term)
Soo... nothing easy here ;)

Actually the blog post is structured in a way to move from promises to challenges.

And the promises might be true, but company need to invest a lot to achieve that.
Ask HN: Best Web Dev Talks?
I've been soaking up a lot of web development talks recently, mostly from tech conferences' you tube channels.
Some of these talks are great and only have about 50 views. Anyone know any web dev talks that deserve some more?
All governments use the same playbook of tactics. China is in some ways worse than the US, but the US has caused a lot more harm and destruction around the world than China has over the past few decades.

It’s absurd to spend one’s moral indignation on foreign countries that are marginally worse than the US in a handful of ways.

Organ donation in the US is hamstring by one main factor: Christianity.

American views on US atrocities are colored by one main factor: the religion of American Exceptionalism.

The essay’s take on the economic consequences of economic freedom is utter rubbish, but the larger issue is the absurd and misplaced moral indignation. What a shameful, naive rant. Wow.
I'm not arguing for or against it. It's just that it's misleading as you can't simply wish a backend API into existence. JAM describes the 'frontend stack' only.
The secret is lie about how happy your life is.

To others to yourself. To everyone.
> According to the EmacsOnTerminal page and other research, at least the vt100 through the vt420 lacked Esc by default.

What?

https://en.wikipedia.org/wiki/VT100#/media/File:DEC_VT100_te...
OK, I'll bite.

So in this case, a dev has (we think) broken the ToS of his agreement with Apple by publishing information before launch.

What do you think the government should do about this?
> Maybe it's time to shrink PG&E down to a manageable size?

You mean shrinking the service area?

If so, some other entity will have to take over distribution in the areas removed from PG&E. It's not like those areas are going to go off-grid.

If those entities are locally owned and controlled (i.e. municipal power, as some CA cities have) it might make those more incentivized to proactively deal with maintenance issues - after all - people don't generally want to endanger their neighbors. But if it's just a slightly smaller investor-owned utility, it's not clear that they'll be incentivized any differently than PG&E is.

And remember that PG&E's size is part of what enabled it to achieve economies of scale, which in turn results in higher profits and dividends for investors.

Finally, even if you shrink PG&E, you still have the problem of maintaining transmission lines, which have been responsible for starting a number of fires. Some entity has to be responsible for maintaining those.
I was in a similar predicament, and it was one of the reasons I considered selling the business.

I never hired. I should have hired. I had alerts waking me at night dozens of times as well. I planned family trips around internet availability. I thought I was needed to solve any problem. That's why I never hired. I thought it would be too much effort to train someone.

Selling the business resolved all these issues at once. Hiring someone to take care of these things for you will allow you to have time to yourself and wind down. I trained my replacement. Turns out other people can do this job.

You don't have to start with the sale. You can start with delegating.
Author here. I have addressed this in the article. The bufio-based implementation was the first one, and it was actually slower.

In the second section, I was able to surpass the performance of the C implementation - by using a read call with a buffer. As I mentioned in the article, the C implementation does the same, and in the interest of a fair benchmark, I set equal buffer sizes for both.
Teaspoon. "Tbsb" is usually used as abbreviation for tablespoon
This is just sick. Why do we even have international laws if they are so blatantly violated? And of course no one will be held accountable.
Yes, the “parking is free real estate for the wealthy” idea is really a manhattan thing, but those numbers aren’t doing you any favors - that’s far and away the lowest proportion of car ownership in the country.

https://www.governing.com/gov-data/car-ownership-numbers-of-...
Deleware, like most states, doesn’t require companies to identify the beneficial owners.

But that may change: https://www.wsj.com/articles/house-passes-bill-to-expose-own...
An app I use called Zotero uses XUL, though I believe they're trying to transition to Electron. It seemed like a potentially robust platform, but damn if I couldn't figure how it worked enough to even contribute a minor fix.
They weren't, but they answered as if they were, not considering the obvious implications of the fourth question when answering the first.
I guess you've never experienced a watering hole of people at the only power outlet around? And aren't foreseeing being somewhere without USB jacks but with regular receptacles?

There is a whole bunch of path-dependence in what you've said. I formed my approach a decade ago, primarily in the context of traveling, and haven't seen a benefit to revisiting it.

But surely by the time one is talking about buying special cables with no data lines, but still needing to do power negotiation somehow, maybe it's time to question some recent assumptions!
The Design Philosophy of the Darpa Internet Protocols
This is classic mentoring. The difference between mentoring and coaching is that as a mentor you will offer answers. As a coach, you will offer none. In both cases you’re giving them the ropes but in the first you’re holding their hand around them.

And as a teacher, you are telling them.
> Blade Runner is about the classic science fiction question of who gets to be human. And so I'd argue it hasn't really dated at all.

Agreed! Like much of Philip Dick's fiction actually. And it hasn't aged at all. The writing style maybe, but the themes are still compelling.
How much memory does your program uses VS the C program? Did you profile that?
Agree. The unspoken tenet in my family has always been you enjoy enormous advantage; your responsibility is to leave the next generation better off than where you started.

The nerve of people wanting their life's contribution to be a net positive for those they love dearly....
Funny how true this is really.

Can't intentionally smiling release the same chemicals in your brain that are released when you are happy about something in a sort of backwards effect?
That's just USB-A which only does one voltage at different current limits. USB-C has a whole negotiation back and forth about available (charger) and desired (device) voltages. You could possibly have a device pass just those messages back and forth I guess but that's definitely not the device you linked.
Given ordinary cookware, and picking a pot that's not completely out of proportion to the rice, the 1:1 works just fine. You don't lose steam (well, not much) because the lid stays on. Takes 20 minutes, pretty much without fail.

Yes, you can get more complex. Maybe it even produces better rice. But the secret to homecooked meals is - for most people - simplicity :)
TL;DR - don’t connect your phone to public USB ports because it could install malware to your phone.

The way this article is written and not having any serious information about “juice jacking” makes it really bad.
Which international laws would you be referring to in this case?
db.Put('myKey', {some: 'data'}, (value, err) => {})

It annoys me that it reverses the standard (err, value) callback convention that everyone else uses.

An advantage of the standard is that you might have 0, or 2 or more value arguments to the callback. So you can return (err) or (err, value) or (err, value, optionalExtraValue) and it's fairly consistent.
Japanese Language: Techniques for Rapid Fluency Acquisition
Is this a precursor to understanding any phenomenological basis to reports of "telepathy" and shared hallucinatory state as described in literature?

https://maps.org/articles/5408-the-ayahuasca-phenomenon
> I like how Apple answered exactly zero parts of this question :/

I think they did—at least, they answered the letter of the question, not the spirit of the question.

Q: what is the total amount that Apple has accepted from Google for the right to be the default search engine in Safari

A: $0, since Google doesn't pay Apple to be the default search engine. Instead, Safari "generates revenue based on referral traffic through the URL/search box on Apple’s Safari browser". So Apple gets a cut of Google's revenue, not a payment for being the default search engine.

Of course, that leaves open the possibility that Apple's cut of the revenue depends on whether they're the default search engine or not. I would guess it does.
So what are you suggesting then? that tech workers leave "high paying jobs" to work for the DoD? To what end? Exert military force against China? I'm not sure thats the right course of action, even though the 21st century almost certainly will see escalating conflict between USA and China.

Rather than the DoD, i could see what you mean if instead we were talking about other federal and local departments of trade, labor, environmental policies, etc. Exerting soft power instead of hard, military force. NGOs with a focus of international labor organizing might be applicable too.
Perhaps.

My experience with Apple is that they do what they want and getting anything out of them occurs on their timeline. If you don't like it, get stuffed, they won't budge.
Book Summary: Chop Wood Carry Water by Joshua Medcalf
It is because congress and law makers don't make the US federal agencies accountable for their actions. A law does not exist if there is no punishment for violation of said law.
But have you seen their adds advising those that really need reliable power to look into buying their own generator? I guess getting people to spend billions on their own power generation could work.
at a higher orbit their brightness will be less, but they will be illuminated longer and visible from more of the planet. Assuming a constant average reflectivity, larger objects will be more visible.
> For whatever reason I've never heard wakaremasen (can't understand) but only don't understand (wakarimasen).

One of my teachers explained to me that "wakaru" (to understand) already has the implicit meaning of "able to" in the word itself, so you should never use the potential form. Searches[1][2] for "分かる 可能形" seem to agree.

[1]: https://hinative.com/ja/questions/2884450

[2]: https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q14...
Counter is that it reduces the population of users. Simply diverting funds entirely to helping users would seem to invite perpetual spend.
Perhaps not "universal", but every RS232 interface I ever came across, starting in 1979, supported hardware flow-control, though you could also do it in software.

One of the nice things about RS232 is that it was specified that you could scrunch up the individual wires of the cable and it wouldn't damage the interface circuitry (good for crappy solderers like me) and you could hot plug and unplug it. Oh, all right, TWO of the nice things :-)
I'm taking notes.
@stanski was being sarcastic.
Shouldn't be difficult to get a long gun you have valid ID, no felonies, no history of violent use of firearms (or threatening display), no sex offenses, no misdemeanors and don't admit to marijuana use.

If you want to get a (long) gun or guns quickly, yeah, I can see where that would be a hassle.
https://en.wikipedia.org/wiki/Oxygen_bar :

> Modeled after the "air stations" in polluted downtown Tokyo and Beijing, the first oxygen bar (the O2 Spa Bar) opened in Toronto, Canada, in 1996. The trend continued in North America and by the late 1990s, bars were in use in New York, California, Florida, Las Vegas and the Rocky Mountain region.
Just a note that there's a relatively fail-safe way to avoid concerns about rushing pqcrypto too soon: Just couple it with established crypto.

This is e.g. what google is doing in all their pqcrypto experiments. They use an elliptic curve key exchange combined with a post quantum key exchange. If you don't do any really big mistakes you get at lest the security of the stronger of the two.

Given that elliptic curve crypto is really cheap such a combination will probably be used for most post quantum schemes for a while.
They don't have to say on their website that it's three-ish months of paid beta access to make that the reality.

> Also, if nobody gets on this holiday season, I'd expect game developers to throttle on putting money into optimizing for the platform, which would begin the platform death spiral.

Google can very easily afford to pay 50 developers to optimize for it. I only see this dying from Google's direct failures, not from that kind of death spiral.
I think its cute that you think the US government would seriously consider saving millions of lives against breaking every encryption and authentication system on earth, that must be the single most naive thing I've ever heard in my life.
Sorry, you don't get to complain about being banned then. You knowingly broke their ToS, so you don't get access to the app market that they built.
Sorry, I don't have any USB-C devices, and the OP at top of thread only said USB (not USB-C).
That's how to steal a billion - related but not quite the same thing.
Breaking the old RSA requires more quantum computing horsepower than breaking newer ECC schemes. So although ECC is far more resistant to current attacks, it is less resistant to quantum attacks. The NSA is just saying that you're better off staying with strong RSA security than you are investing tons into migrating to Suite B since you'll just have to migrate to whatever NIST has coming that is quantum-proof.
iirc in relatively recent history locals would climb up and slide down the pyramids for fun, when they were still smooth
Hackers Dump 2.2M Gaming, Cryptocurrency Passwords Online
But why is the leading military technology the only thing we care about when defining an age?
This was posted not only before OSX, but before Firefox. This was just Mozilla.
With my wife, when she was upset about something, I'd tell her how to fix it. That... didn't go well. Eventually, I learned to just let her talk, and for me to say "Uh huh", for about five minutes. Then I could tell her how to fix the problem. But I had to listen for five minutes first.

Note well: Five minutes worked for me talking to my wife. For person X talking to person Y, the correct time may range from 0 to infinity.
Canada’s Einstein crypto exchange shuts down – and all the money’s gone
>How can you say it was a useful smoking cessation device when it hasn't stopped you smoking?

Sorry, packs of Juul cartridges. "Packs" being a holdover term from my smoking days. I haven't smoked a cigarette in a year.

>Juul targeted non-smoking children and --as you have experienced for yourself-- gave them an addiction for nicotine which they'll try to maintain with Juul or cigarettes.

When I weigh the pros and cons, I get a net negative: jump in cigarette smoking rates. Youth continues to get addicted to nicotine as they have for centuries, but this time, the delivery mechanism something that is a known killer: cigarettes.
A good modern day story of how not to hide $4 billion is Jho Low: https://en.m.wikipedia.org/wiki/Jho_Low

The book that chronicles (Billion Dollar Whale) is a real page turner, with lots of it being unbelievable.

Seen The Wolf Of Wall Street? He funded its production with his stolen $... :)
Yes, this is just the collection of links or compendium. Not really an article.

btw. This is why I mentioned there "Microservices solve organizational problems and cause technical problems"
Robots Make Smoothies in Ono Blends Mobile Restaurant
This reminds me of the Monty Python skit, "How To Do It". To rid the world of all known diseases, "become a doctor and discover a marvelous cure for something, and then, when the medical world really starts to take notice of you, you can jolly well tell them what to do and make sure they get everything right so there'll never be diseases any more." The secret to a happy life is to be happy now instead of waiting for stuff!
They had a recent story on nhl team dentists that was a good read posted on HN as well
This is what Travis CI did/does and I have not seen another CI platform offer the same.

Travis runs your test suite on the merge commit, not the head of the branch.
TBF linguistics as a field doesn't seem to apply empiricism as strictly as the hard sciences. It seems that it was only relatively recently that descriptivism became the norm.
In the global market. https://9to5mac.com/2019/08/01/smartphone-market-share/ And my mistake, they're actually third after Samsung and Huawei, now.
I was about to say this. Iron smelting was a later invention, but once it was discovered, it's actually significantly easier to smelt iron than bronze, even if you start from zero (i.e. knowledge only, no tools), due to the geographical scarcity of tin. For instance: https://www.youtube.com/watch?v=DyGLE0usN_I

So you can easily say bronze requires a more advanced civilization than does iron, given the more complicated trade routes required. In that sense, developing Bronze before smelted iron is partially a historical/geological artifact (although one replicated in the Americas). the southern half of Africa was cut off from European and Asian sources of tin but geographical barriers (and there are no tin sources in Africa itself), so they skipped Bronze and went straight to Iron smelting.
Definitely good insight! I never used to finish projects. Then I had a super big project fail (a kickstarter) and I suffered really badly from it. I hit a personal rock bottom and the whole situation led me to reevaluate my thinking on my own work. Then I didn’t have projects for years. But finally I started working heavily on projects after a break up, and since then I’ve been getting so much shit done. I way more mindful of what I start and what doesn’t get finished, and I’ve just honed a flow that works well for me.

One thing I’ve realized is that I am good at setting small goals and usually getting them done in one sitting (sometimes failing and staying up too late). I try to tell people this. Get a raspberry pi and in the first sitting, just get far enough to ssh in. Then you’re done for the night! Next time you have a system waiting and you can get an LED to blink or serve a simple web page. Then later build one more bit, etc. I find it really rewarding to succeed in small bits!
A List of Tech Recruiter Emails for Cold Emailing
IANAL.

Technically probably not at the moment, but this would affect the notion of intent and increase penalties if you used this information to commit another crime, like murder, burglarly, etc.

Is it illegal for me to stand in the public street outside of your house and note when you arrive and leave and other observable-from-public factors?

Honestly you bring up a good point. We definitely need an update to our laws to specifically address privacy. The Constitution was written when people lived tens or even hundreds of miles from each other.
There's an important distinction though. Windows is a de facto monopoly in the sense that almost every PC built has Windows installed on it, but not all PCs built are by Microsoft.

Apple has always maintained that the physical object is tied to its software and vice versa, on the other hand. They have no interest in running on the vast majority of mobile devices (android handsets control the majority of smartphone market share by a wide margin). The only exception to this is when Apple is selling services, in which case they let you run iTunes on Windows and Apple Music on Android. It's not like you can install macOS or iOS in any supported method on a non-Apple product.
Doesnt excuse it either way but do you believe the USA and its intelligence agencies doesnt conduct similar black hat cyber actions in China / Russia? That status quo is simply what modern espionage looks like and doesnt constitute hard military action until it crosses lines it has yet to (shutting down a power grid, for ex).

To build on my other response, perhaps intead of being a China warhawk, which could be the most devastating and destructive war in history if escalated to nuclear war, how about instead we revist things like permenant normalized trade relations with china? How about we invest in local high tech skilled and automation assisted manufacturing such as can be found in south korea? there are many other options besides hard military force and to rush to that is immature and dangerous.
CureCRM – YC alum's completely free CRM
Yes, causality as it is often talked about is a lie or more accurately a deception of the mind a cognitive bias.
What happened to "Don't Be Evil"? How did it go so wrong?
Sounds like a restoration project just waiting to happen.
It's not actually illegal for the CIA to spy on foreign embassies.

The US was caught bugging the UN, and we tapped Angela Merkel's phone. The intelligence agencies are, more or less, doing exactly what they were set up to do.

And the other guys are bugging us in return (see: mysterious cell-site simulators popping up in DC, etc).

The CIA runs a drone warfare program, bugging one embassy is not going to turn their stomachs.
Yes, this is pretty much it. Learning how to be assertive without looking weird, creepy or a lunatic. It's just a lot of practice.

Most advice given to men how to be more socially adaptive is actually advice how to best be taken advantage of. It has nothing to do with their own best interest.
Yeah good point, I should have specified UES/UWS or below
Ask HN: What Linux OS are you using for development and/or general use?
After the recent debacle with MacOS Catalina (I know, I should not have upgraded so soon) and some lesser-known issues such as crashes when waking from sleep when an external monitor is attached and failing to recognize external drives, I have decided to start "shopping" for a new operating system. IDE support is important but that is an easy box to check. I would also like support for video codecs as well as DRM-restricted video support and a healthy community of developers.

Most importantly, these Catalina issues have called attention to how little (if any) documentation there is for Apple software. Even the bug discussions are an anonymous void of complaints that are hard to follow. The responses are ordered by a "helpfulness" score so it takes some time to discern who is responding to whom. Good documentation and a more conventional discussion board would be very helpful.

I have started with Ubuntu 19.10 and it seems to do what I want it to do and I have had no issues so far. However, there is a lot to do with the customization options of Ubuntu and Ubuntu is just one of many available Linux operating systems.

I would appreciate input from anyone who has worked with a Linux OS as their daily driver.
That vastly underplays what smartphones have enabled.
How is that different from the Saudi Royal family or king of Swaziland? The comparison was not to looting rulers but the other royals the article strangely cites as examples without mentioning the UK Royal family who's source of wealth is similar. Also what do you mean by 'acquired' wealth. Arguably the despots of today are just doing the same ('acquiring' land for future descendants through warfare and despotism)
Yes. As much as I liked having an inventory, it was still "work"... and a very easy thing to drop from a list of employee responsibilities.

I still have the components in a box somewhere. I was thinking about installing it in our basement "cold storage"/"emergency food storage" room for longer term items. But I just don't access those items enough to justify drilling a hole in the concrete wall for DC power.