skysight-inc/HackerNews huggingface dataset:
Why so many microservices?

Monolith has huge advantage when maybe your code is like 100k lines or below:

1. Easy cross module unit testing/integration testing, thus sharing components is just easier.

2. Single deployment process

3. CR visibility automatically promotes to all parties of interests, assuming the CR process is working as desired.

4. Also, just a personal preference, easier IDE code suggestion. If you went through json serializing/de-serializing across module boundary, type inference/cohesion is just out-of-reach.

And it is not like monolith doesn't have separation of concern at all. After all, monolith can have modules, and submodules. Start abstracting using file system API, but grouping relevant stuff into folders, before put them into different packages. After all, once diverging, it is really hard to go back.

Unless you have a giant team and more than enough engineers to spare for devops. Micrservices can be considered as a organizational premature optimization.
Yeah! I had wanted to find a way to make this more prominent, since it's great fun.

Fun fact: While any combination is possible from the "randomize" button, it uses weighting to try and come up with pleasant/interesting combos more often than not. I'm quite pleased with the results.
Your comment is bending over backwards to give FAA the benefit of doubt
Yes, but (1) Costco has nowhere near a monopoly on grocery, clothing, and electronics and (2) not even Costco customers do 100% of their grocery, clothing, and electronics shopping at Costco.

Costco is the "I'm feeling lucky" button.
Facebook suffers most serious outage in its history
Lots of things use TLS that is much smaller than a bloated webpage, for example REST APIs.
How do you handle cases where your client is awaiting a response with a decoupled pub/sub backend? E.g a user creates an account and the client needs to know their user id.

Would that user object be the responsibility of one service, or written to many tables in the system under different services, or...?
The ups and downs of porting 50k lines of C++ to Go (2015)
Who cares? The vast majority of Stellar's currency XLM is owned by the founders just like Ripple, and their efforts to distribute this currency to the public are entirely disingenuous. For example, their 2017 airdrop purported to distribute up to 16% of the initial XLM to Bitcoin holders, while less than 10% of that amount was actually claimed (as to be expected when you make people jump through hoops to claim something of dubious value).

The crypto space has an near-infinite supply of new coins and new whitepapers to trap the naturally curious into a hopeless cycle.
The accept header could fix this easily if no third parties are involved
Is the world filled with that many 15" i9 laptops nowadays m that your problem is really Linux compatibility and the price? I had a hard enough time finding a reasonable quad core a year ago.
The accept header could fix this easily if no third parties are involved and if it's a rest like API protocol
Ugh, you're actually right. Sorry for being a jerk to someone who just wanted to share his ideas.
What’s the target demographic, and what demographic do I represent?
Once upon a time Multics' developers predicted that someday computing power would be treated like a public utility that homes and businesses would buy like electricity or water or natural gas.

Given the proliferation of minute/hourly billing among service providers, it looks like the Multics folks guessed right. It just happened on top of Unix(-like systems) instead of Multics.

I wonder how long it'll be before we start seeing municipal datacenters?
An example fully trimmable tailplane in a general aviation airplane is the Mooney, at least the 201 and related models. Look at pictures of it and compare it to, say, a Cessna 310’s plane. You will see the “trim tabs” at the back of the 310’s elevator and none on the Mooney 201.

I seem to recall some tail draggers I flew had no trim tabs too.
The Most Interesting Marketing Research Papers in Recent Years
I'm not a rendering expert but those numbers really is glossing over a lot of facts.

If you are comparing power you have to remember how much progress semiconductors have made. Now both the processing need, display density etc. has increased so it's no way a straight comparison.

But that's not even the main point. Most applications are a tremendous memory bloat and if memory bandwidth is a limitation factor 15.5MB is not the problem here but that bloat is. And for sure browsers are the worst offender and so a degree that it would have been if it wasn't so tragic. Now you can also say browsers have a lot to do, lots of complexity and I agree. But it's the complexity that we have added.

And what browsers and website themselves (with bloated js tracking and add and pointless functionality) have done is to lower the standard to such a degree that there is no longer a concept of leanness.

I know gmail would use more ram than older desktop clients and for sure provide on client side a fraction of the functionality. On the server side there's at least a performance concern for a lot of people but on client side it's like it's not my money why not waste it. I'm not saying individual developers are thinking about wastage but we have made an echo system where bloat and wastage is the norm. I will be truly hard pressed to find any client application in genre that is actually faster than it was five years or even ten years ago and doesn't stumble more than before on general usage.
I've never actually owned one, but did the iphone ever allow users to install arbitrary apps (without jailbreaking, of course)?
> If I need to get explicit opt-in for "So, remembering your shopping cart when you come back requires cookies, that okay with you?"

You don't provided you have a reasonably short retention period, are not storing personal information that is not directly needed for remembering the shopping cart and are only using it for that and not simply using that as a justification for something else.

> Nobody cares whether or not you use cookies to implement a shopping cart.

Nor do the regulations. You have to meet the exactly the same requirements to store personal information using some other mechanism that you do using cookies.
> favor copy/paste code over reuse to reduce coupling.

This looks like a big step backwards to me.
BTW, many apps are affected by this. I cannot log in to any app that uses Facebook for authentication.
To make something new! Not everything has to be bootstrap garbage! I commend them for having the balls to do it!
NSA Releases Ghidra 9.0 – Free, Powerful Reverse Engineering Tool
https://calibre-ebook.com/
"We could not enroll your device at this time. Please try again later." This after listing my eligible device.
If you lose an engine in a small piston twin engine aircraft in the first few hundred feet after takeoff... 1 second might even be generous.
I was trying to make coroutines work through the javascript event loop, such that you could basically "await" any javascript Promise (or wrap a Promise in an awaitable).

So you'd have things like 'await sleep(1)' which would be implemented with a Promise and setTimeout. Or 'await fetch("/api/v1/list")'.

Unfortunately I haven't gotten very far yet.
Curious thought, does it still?
How does that square with https://www.telegraph.co.uk/science/2018/04/04/young-heavy-m...
Imagine you had a laptop or desktop where you could only install apps that were approved by the hardware manufacturer or os developer. Would you really be ok with that?

If not, how is it any different from the phone?
I'll be the 999th person to recommend the OCW Strang lectures on Youtube as a good intro, as well.
Not sure if thats all to it. It seems rather curious that US grounding the aircraft (and Boeing advising to do so) right after about a day or so after black boxes being found. Also, Ethiopian authorities issued a statement about the pilots reporting flight control issues rather than any external factors. I wouldn't be surprised if they already have priliminary evidence that there's an issue with the aircraft.
Looks like a service oriented architecture to me
What are you talking about? Microsoft courier never launched, Microsoft band was cancelled, Microsoft Kin phones were killed, Windows Phones were killed, plus their entertainment division has lots of cancellations. Microsoft cancels things all the time.

Apple's got its own cancellations, maybe less noticeable stuff like their routers and cinema displays. But the photography world still mourns Aperture.
I'm pretty sure a bunch of Erlang programmers being shoehorned into a PHP codebase is the literal definition of Hell for all parties involved.
What's silly about https://en.wikipedia.org/wiki/Varg_Vikernes?
Every developer could play god; and they did.

Turns out that not every god is as wise and as benevolent as every other god.
The main downsides are the wimpy processors, soldered ram, storage and wifi cards, poor repairability, non upstreamed code.
As the article says "A report from Business Insider claims that Google has axed 'dozens' of employees from its laptop and tablet division."

I would love a Pixelbook, but I need a laptop if I want to work while travelling - I often end up with poor cellular data (or none at all!).

Does having both a laptop and a pixelbook make sense?

Work also bought a device to get satellite data - so that we can do operational support while in "remote" areas in New Zealand (plenty of areas we go to that lack mobile coverage) or when travelling overseas.
Did you read the post? It’s not about the cryptocurrency, or even the network. It’s about abstract ideas for distributed consensus, which are applicable beyond any cryptocurrency. It’s probably interesting even if you’re not interested in Stellar!
Dead Cells and The Binding of Isaac are another two fun ones.
This paper also cites MAGI[0] who would go on to bring us light cycles and recognizers[1][2][3].

[0] https://en.m.wikipedia.org/wiki/Mathematical_Applications_Gr...

[1] https://en.m.wikipedia.org/wiki/Tron

[2] https://youtu.be/7qtNAArfCfQ

[3] https://youtu.be/-BZxGhNdz1k
What argument do you have to support not letting users run whatever software they'd like on hardware they own?

And in extension to that, paying other people for software that they'd like to run and don't mind paying for, which is not sold through e.g. the App Store.

I'm legitimately interested in this, because I cannot see any reason why a user shouldn't be able to run any software they'd like on their own hardware, and/or pay for it however they want.
What a delightful article. On my first visit to City Lights I bought a copy of Ferlinghetti’s “A Coney Island if the Mind” and a copy of Dharma Bums (Kerouac’s best book). I didn’t really know what Lawrence looked like (pre-internet days). I asked how often he came into the book store, the clerk said: “He is upstairs now”. I walked up that narrow wooden staircase, looked at him, he looked at me. I said “hi”, he smiled, I left. Really,really wish I had been brave enough to say more. Hadn’t realized it was him when I went up there before and picked out one of his books.
Turbolinks is amazing - for small teams, rapid development scenarios I think it's an underrated (at least outside of Rails) solution. I've been using it with Django lately with great results. Combining it with Prefetch can yield even faster apparent user experience (see https://www.mskog.com/posts/instant-page-loads-with-turbolin...)
That's just internal representation, though. Semantically, strings are still sequences of chars, and char is still 16-bit, so the API is still UTF-16.
But AWS doesn’t have any regions near Denver.
>These games are so good they should come with rehab.

What if we instead use the games as rehab?
And a heap of his videos are on YouTube! https://www.youtube.com/channel/UCxcnsr1R5Ge_fbTu5ajt8DQ
8 sounds like
Another donator here, people don't get why I'd "spend" more on this game than any other I've purchased by a large factor, especially given I don't play it much, but the thing is, most everything I enjoy playing these days has DF as a spiritual ancestor.
Thanks again for that feedback. Yeah, with stuff like the 7 wonders of the world I think you're right in that it's well covered in other ways. I guess I was thinking more along the lines of the ancient wonders of the world. I think events showing when they existed, and how long for, would add an extra dimension to people's understanding. For example, I don't know if they all existed at the same time or not (which of course a simple Google search would reveal), or how many years ago the first wonder was constructed, or how many years apart they were. I'll try it out at some point and see what people's reaction is to it.
Exactly. If the option is more servers on one hand, and servers plus k8s plus specialized skills plus additional deployment and development complexity on the other, I know which one I'd choose.
It wasn't massive back in UCS2 days...
I hope they do pull out of the EU. That would be one of the biggest business opportunities in history for privacy-respecting companies to fill the void that was left.
Because SF is a town, not a city. And with the cost of doing business only on the rise there isn't room for places to be open during non-peak hours anymore. The number of coffee shops and restaurants that stay open later has noticeably decreased in my 19 years of living in SF.

Believe me I wish it were different but there are diners that are open late.

Dave Chappelle goes to Grubsteak when he's in town and they're open till 4AM. Or you can go hang out with the USF students at the 24hr Starbucks over in Laurel Hts.
A monorepo can help with this.
Technical overview of ads viewability measurement methods
did you give up on paypip or did you get into YC via paypip?
It's an experiment to see whether productivity improves when people aren't able to access FB and Instagram to slack off.
Makes me really wonder about those who listen to New Age or other really chill music. (This includes me, at times.)
Handsfree Off-Road Wheelchair
That's a mix of subjective stuff (you don't like UI changes, I do), and simply missing things like the big platform change in 8.0 which actually speeds up the adoption/updates (project treble). Please don't troll.
Siphoning up people's data isn't anyone's god-given right. If you don't like EU laws, then don't do business there.
Did the researchers make that subgenre distinction?
And then you pray to whatever God you believe in that you happened to get those 10 abstractions just right!
When someone says "closet neighbor", they don't mean the guy from three doors over that's walking down the sidewalk in front of you.

> twin Earth

Yeah, I'd probably say that's a closer neighbor than Venus or Mars. If Venus would stay on the same side of the sun as Earth I would consider it over anti-Earth, but because it goes almost as far away those brief sweeps don't do enough to overcome an orbital match. The delta-v to get to anti-Earth is almost zero.

You might be able to convince me to treat an anti-Earth differently, but that doesn't change my answer on Venus vs. Mercury.

> you still use the average in your metric

No, I use the orbits being concentric near-circles.

> second thought experiment

If it's always between the orbits of Venus and Mars then it easily wins. If it's criss-crossing then the answer gets more complicated. I freely admit this logic doesn't apply when the orbits aren't concentric near-circles. I'm not trying to solve every case ever.

> fixed angular speed

If all the angular speeds are fixed, then you'd use the constant distance. This logic is a fallback for when you don't have a constant distance. Something that takes patterns into account, making it work better than an average.
The crime isn't that these people paid money to get their children into a university, the crime is that the money went to people and organizations other than the university.
Ugh, I'm trying to create something like this.

The nodes are fine and easy, but the orchestration / flow implementation is getting me stuck for > 1 month... :(
How to use a Skew-T Log-P diagram
Despite launching with Nougat, Pixel 1 devices were the testbed for Project Treble.

https://www.androidpolice.com/2017/05/18/current-google-pixe...
I worked for a number of years on a large webapp. It talked to a couple of databases and used them as a bus. There were a number of other back end processes that read and wrote to the database. Not sexy, but solid.
I was just speaking to inherent ability for violence, not morality.
I'm in the EU. I just dont bother looking at those sites anymore.. So, a lot of the links posted here for example.

ps. If I ever mention that the article had a ridiculous cookie warning system that I didnt bother getting through (eg. The techcrunch gif in the article), or that the site is just plain broken from EU, then I get downvoted to hell.

pps. If I really wanna read something, or need to for work or whatever then I use outline.com
Since it went down for PC and not mobile, I was concerned if it was just an idea of audience testing, in the process of moving to an app-only platform.
The definition of “micro” appears to be hugely variable! If you’d asked me I’d say that sure, my last team definitely built microservices. A team of around 10 engineers built and maintained something like 3 services for a product launch, each with a very different purpose, and over time we added a couple more. Three people maintaining 25 services sounds absolutely bonkers to me.
"Once is happenstance. Twice is coincidence. The third time it’s enemy action."

-- Ian Fleming (in Goldfinger)
> What’s critical to the current, mostly uninformed discussion is that the 737 MAX system is not triply redundant. In other words, it can be expected to fail more frequently than one in a billion flights, which is the certification standard for flight critical systems and structures.

How was the plane delivered if it didn't pass certification?
Attorney here!

Violation of a consent decree can result in criminal contempt-of-court charges. See 18 U.S.C. section 401 (https://www.law.cornell.edu/uscode/text/18/401). See also United States v. Schine, 125 F. Supp. 734 (W.D.N.Y. 1954).
I don't know Erlang and I'm only a couple of months in to learning Elixir in my (limited) free time. Grated, it's not purely functional, but... I've been reflecting on this exact equivalence, as you put it, and am happy to hear that my inclination about the Actor model isn't unfounded.
>The EU's goal with GDPR was to make user data a liability, and to encourage organizations to reconsider their need to hoover and hoard it.

And as a consequence we're going to continue sinking into irrelevance.

>The GDPR is unlikely to be overturned, and there are plenty in the EU who are eager to enforce it.

I think it will be overturned a couple of decades from now, when an economic crisis hits and we find that we've fallen significantly behind other countries due to our fear of technology.
That ship has sailed for backwards compatibility reasons.
If "censorship" is stopping people from spreading certain information, what do we call forcing people to spread certain information that they don't want to? I wish there was a word for that.

Generally speaking, censorship is about suppressing something with the intent that nobody can get access to it. Deciding not to forward information is not actually censorship because generally the original speaker can choose other avenues in which to spread their information.

I think it's interesting to imagine a situation where someone puts a political poster on their house. They live near a busy street and so the political poster gets a lot of views. Another person thinks this is unfair because they don't own a house (let alone a house near a busy street). They ask the house owner to display their political poster. The owner decides not to because they don't like the poster. Is that censorship?

Now imagine that our enterprising poor person decides to canvas the neighbourhood to see if someone else will post their poster. The person with the poster on their house thinks this will impede the success of the ideas on their poster and so canvases the neighbourhood asking others not to accept the poor person's poster. Is this censorship? If so, should we make a rule that the person with the house is not allowed to tell others not to post other posters? Is that censorship?

Now imagine that the government made a rule. Only those who own their own house may post posters. You may not ask others to post posters for you because it causes problems in the neighbourhoods. Is that censorship? They aren't trying to suppress any particular message. However, the end result is that poor people have no effective way of posting posters.

I understand that there is frustration if people don't cooperate to help you spread the message you want to spread. However, I don't think that in itself is censorship. It is especially frustrating when a group of people collude to deny you a cheap/popular platform to spread your message. I don't think even that is censorship, even though it's kind of a crap thing to do. Even if there are situations that arise that make it impossible for you to spread your message, that is not necessarily censorship, even though it is really, really frustrating. It's only when society actively tries to suppress any avenue for you getting your message out is it called "censorship".

TL;DR: Nobody owes you a free lunch, no matter how hungry you may be.
And even worse if you do the calculation based on time spent in vehicle rather than distance.
They do, but you have to double-click to dismiss it because Amazon has a patent on single clicking.
Ask HN: Suggestions to non-English-native speakers for presentations?
Last week, my manager asked me to rehearse my presentation (a workshop talk). It was fine, but I got a comment at a slide, which showed only commands and screenshot and I explained the details.

The comment was something like, "Add more texts as explanation, not just speak them. We are not native speakers. People may not understand our English or just get distracted, so leave more information for them."

Non-native speakers DO distract people, at least me. People I met in conferences are often too kind to mention this, or they just don't feel the same way as I do? Consonant, accent, grammar errors, ... any weird combination of them can distract people, or am I just not focused enough?

Back to the strategy against distraction. I don't think being verbose is acceptable because it causes distraction by itself. Even worse, sometimes the speaker just gives up, reducing him/herself into a slide player. Looking at someone who plainly speaks out all the words on the screen for over ten minutes is such a painful experience, but it occurs much more often than listening to a good talk that I can resonance with.

So dear hackers, I am curious how you feel when you listen to presentations from non-native speakers. The most impressive/worst presentations you remember, what were your thoughts, did they affect the will to make connections with those people, etc.
Among all the interesting questions, the more important one is, what are your suggestions to non-native speakers to prepare for their presentations?
Or do you think that it has nothing to do with native or not, just depends on speakers' preparation/effort?

Disclaimer: Experiences are subjective things. All answers are highly appreciated, especially politically incorrect ones, because I know what I really think inside my mind every time I say "Wow! You speak Mandarin so well!"
”Sotoudeh was ultimately charged with seven crimes and given the maximum sentence for all of them. Five additional years were added from a 2016 case in which she was convicted in absentia.”

Does this mean she was out of the country?
1400 people work on Visual Studio, no microservices possible.

Modular code
Too bad that the EU has yet to learn what collateral damage is.