skysight-inc/HackerNews huggingface dataset:
I disagree, microservices can offer many distinct benefits over a monolith. Yes, fine-grained scalability is a huge benefit, but there are many other advantages as well. I was going to list a bunch but honestly they can be found on google quite easily. More importantly though, is what I think is the key to making microservices deliver on their promises: Well defined and designed API's.

Designing good API's is important for all software, but is critical to making microservices work well; and it is not always obvious how to do this well. I can understand why so many people say you should start with a monolith and then break it up into microservices: With the monolith you have already accumulated a ton of domain knowledge so you can break apart the service-boundaries much easier. However, it can still be tricky to do this because not ever module in your monolith should be a service, infact it is likely that most will not. Microservices are a different level of encapsulation than a module. Sometimes microservices should done one thing well and with authority, sometimes they should do many things within the same domain/context, sometimes they should do an entire class of things to their data source, etc. Designing good API's forces you to understand how execution and data will flow through your system and how you can effectively and cleanly delineate between them.

IMO, the most important thing for a microservice, regardless of its size, complexity or role within your system, is it's API. When you have a well defined API you can encapsulate and abstract that entire service from the rest of your system, which is a wonderful thing. This microservice can now be deployed, updated, scaled, refactored or even rewritten entirely without any of the other services in the system even noticing. It brings a tremendous amount of freedom to managing your software platform. You no longer need to worry about things that don't concern your service, just fulfill your APIs and life is good!
Almost every solicitor/law firm will give you an hour of free consultation where you can explain the situation and they will tell you that it's worth pursuing or not, I'd at least start with that.
Can Libertarianism Sustain a Fraud Standard? (https://www.jstor.org/stable/2382215)
look at Switzerland, it has exactly this in tiny version - 26 cantons, highly independent from central government but not completely. some cantons are super rich (zurich, geneva), and some much poorer (ie graubunden). rich contribute to poor. as long as there is feeling of 'being together in federation', this is not an issue.

it works. even though 7 million country has 4 distinct official languages, and most inhabitants don't speak all of them (I've yet to meet a single swiss citizen who speaks well swiss-german, italian and french, not even including romansch because that's language of maybe 50k citizens only).
Relatively new to Go and distributed systems in general, any suggestions are welcome!
> Very nice! If you wanted it to save to disk instead of living wholly in memory, how would you do that in C?

The idea would be to map your memory space to disk space (using random access as provided by C stdlib); the problem would then be:

1. Caching - i guess you should then provide your cache implementation. And i would guess this opens a can of sync problems...

2. Finding a way to efficiently write the data on disk (i.e. which data should stay contiguous?; how much "slack" space should i leave on "extents" (oracle slang for a container for many data blocks)? Should you do column-store?

3. Compacting the data (removing slack)

etc etc.

I think it's not easy at all !
In what messier way exactly? Do you have any specifics?

The component models are largely analogous. React and Vue could use custom elements if they chose to.
Let's Encrypt rocks!
The newest Firefox version has a fantastic "Reader View"[1] that strips and normalizes the formatting for easy reading, with larger text and a relatively narrow column.

In addition to refusing to collect more data than it needs, this is a good reason to switch away from Chrome/Safari/whatever.

[1] https://support.mozilla.org/en-US/kb/firefox-reader-view-clu...
Some have speculated that Fuchsia will eventually replace Android. I remember back in May that some prototype UI was introduced by Google. Anyone know of any recent developments on this front?
and that couple would be rich enough to afford a financial advisor anyhow.
Classic Nintendo Games Are Computationally Hard
Sketchcase 2.0 – Turn Your Laptop into a Portable Whiteboard
> "Build encapsulated components that manage their own state, then compose them to make complex UIs."

uh, this applies to Web Components too. In what way do you think they're different?
I buy bread from a farmer's market some weekends. It's made by one guy in his home kitchen who isn't accredited or regulated in any way.

By your approximation I should be dead by now. The salient point is that it's my human right to associate with whomever I please.
Gotcha. Maybe it could have been worded better but I understand what you mean now, so it's all good.
Because its fun. I can't sleep because I'm excited to code. It interests me more than most other activities.
It's an interesting paper but several things have to be kept in mind:

1. This is about cross-sectional studies. They mention a longitudinal multi-sample study which came to slightly different conclusions, that peoples' happiness tends to increase in general with age.

It's so important to examine this longitudinally, because there's so many things that could be going on, and it's reasonable to hypothesize that there's some kind of cohort effects going on. In could be that people in their 40s-50s are being subject to some unique combination of issues due to societal problems and patterns (e.g., that people who are reaching professional maturity are bumping up against dysfunction that the older generations are unaware of because they benefited from different socioeconomic environments in a way they don't recognize, and the younger generations aren't quite subject to the same dysfunction because they haven't reached it). But it could be teenagers in the home, becoming disillusioned with life and then learning to cope with it, hormones, who knows.

2. Strangely enough, happiness and stress aren't really totally inverses of one another. So it's possible your stress / anxiety / etc. will decrease and your happiness might also a bit. Think of it this way: it's possible to not really feel angry or fearful or depressed, but also not entirely excited or fulfilled either.

Related to this are the fact that certain types of problems are definitely more likely in youth, especially those related to drugs, impulsive behavior, etc. The decline in those types of problems is much better documented and understood than these life satisfaction patterns (I actually think that a huge part of world conflicts can be accounted for by 15-25 year old males).

3. These are average curves; everyone's lives are different. I can't emphasize this enough, speaking as a researcher in this area, roughly speaking.
An Interactive Guide to Early Retirement and Financial Independence
The constant locking when traveling has been my experience, too. Every time I moved, I would tell them in advance... only to have my card declined at the first gas station. And the next. Etc. I eventually started traveling with a wad of cash so as to ensure that I wasn't going to be left in a ditch somewhere with no money and a truck full of my belongings. Traveling with cash is not the safest thing to do, but they left me with no other choice.

I've never worked with a bank that tried so hard to keep me from my money.
You don't make students take Linear Algebra before differential equations? I thought students were supposed to take Lin-Alg alongside their Calculus 2 or Multivariable Calculus course, then have all that in their heads for DiffEqu.
Don’t look now: Big brother is watching you from an NS billboard
to me this slide deck is "how to not completely fail at getting a minimally viable microservices arch going in your organization" which is good because apparently these lessons are not self-evident. But when are we going to get to "now that you're a healthy microservice company, how do you make it better? For you and your customers?".

I guess I would take the recent honeycomb outage as an example since charity majors in on the slides. When reading through the post mortem (which I liked a lot) the one question I never had answered was what are they doing to make sure 1 customer can't take down the entirety of their service? Assuming that failure is going to happen (via code bugs or bad actor customers)how do we better isolate individual customers from one another while still enjoying the benefits of mulitenancy? As we as an industry become more comfortable with microservices we must also learn how to better serve customers and mitigate failures by isolating and limiting blast radius, as well as deploying software in safer and saner ways.
What country you came from if i can ask?

I hailed from Europe to USA in 2003. Got SSN, went to first Bank of America branch and opened account with $100 initial deposit. No problems at all. Credit Card was tricky - yes many banks will tell you "bad credit is better than none", but after 60 days of direct wire from my employer to the Bank, they gave me secured $500 Amex. That was enough to show them for the next 60 days I used it and paid on time. Within 3 month from getting SSN and my first banking and working legally full time W2, I already got "you are preapproved for credit card" letters in my mailbox.

2 years later I opened Business Account with Bank of America and never had problems with them since then (online sales-related business). Not to say they are perfect, as BOA was known to claim they own properties (by mistake) and being stubborn in courts even if they knew they are wrong.
Yup, it is. Without something akin to moral hazard, we'd have a much more risk averse society, much slower economy etc.

We'd also have hoards of people starving in the street, as humans are not good at long term planning, or risk assessment.

So yeah, I'm all for "moral hazard".
"Binary data" means, in actuality, data that are only expressed using two bits. In common parlance, this means 1 and 0, or presence and absence. Using anything larger requires a different label to remain accurate.
Depends. If you don't try your change of that extremely rich outcome is 0%.

If you do try really hard, its maybe a 20% chance.

The question you have to ask is that 20% chance worth not being able to do other things with my time.
> simply by not publishing or not licensing future versions of the TCK

Yup, already happening. Implement a JVM and open source it and try to ask for a TCK. They don't allow non-openjdk-derivative open source JVM implementations to license the TCK. So one could argue the worst thing that they (and Sun) do is to disallow a competing open source version w/ the same test cases.
This is a common concern, but in reality, it does not mean anything. "Sharing" your cert with a weird site is similar as taking the same bus route as someone who is bad.

From a security standpoint, there is little to no risk. Worst case scenario one of the other sites is doing something that results in the cert being revoked... and I imagine CloudFlare has a way to just move you (and everyone else) onto another cert seamlessly.
I'm on salary. But I've gotten numerous raises & bonuses. I "front" the work, then ask for raises later. If I don't get the raise, I move onto the next company. Eventually I found a job willing pay more for increased output & stuck with it.
If you rely on a stepping debugger, you're fscked anyway when you step outside
of desktop applications and websites. Logs and trace dumps (tcpdump/strace
like) are what works almost everywhere.
I had my business account frozen by Barclays for similar reasons but they responded quickly and had me up and running again quickly. Basically I had an international customer making cash payments directly into my account at Barclays branches in the UK (I think he used some kind of underground international payments system). After a few times I got locked out of my account. They tried telling me it was an IT error. They opened the account back up in about a week but I was on the phone with them every day.

I now have multiple bank accounts and a currency broker that I also use like a bank.

Oddly enough I tried to open an account with HSBC after that but because I've got a couple customers in "naughty" countries they refused to open the account. Their attitude makes a total mockery of all the advertising they seem to have plastered around at airports all over the world.
>Why would anyone engage in a transaction where they give away all of the money they would gain as a profit?

Companies still fail to profit on some transactions whether intentionally or not. Probably not sustainable except for a non-profit corporation.

Even giving away part of the money does seem to be so much less common that it is understandable for there to be not much remaining general perception that it occurs any more at all.

But generousity can span the complete spectrum from compassion to empowerment to downright charity all the way to absolute philanthropy.

Of course greed has its own spectrum too based around money-motivated indivduals having very little worthwhile to offer while also having very little interest in anything else. This should be able to be completely avoided by truly productive operators, whether capitalists or employees.

But leaving money on the table can be very revealing about the generousity or greed of the other party. There should be enough to go around that you should be be able to avoid cutthroat negotiations especially when relative to the stronger party what you are leaving on the table amounts to table scraps for them.

If you blink and someone rich as hell makes it disappear faster than a common thief could rob you I would consider that a bad sign.

>Companies don't pay more than the market rate for bolts just because they are doing well. It's silly to think employees are any different.

If a hardware company can truly afford to pay more than the market rate for components, and no one else is doing it, many times they should be able to gain a competitive advantage by leveraging the generousity to their suppliers into a much more productive and/or higher quality supply chain. For a very small premium on top of your minimum component cost you can virtually double the resources your suplier has to work with on your behalf, all they need to do is leverage it back in your favor and everybody wins.

It is silly to think employees are any different.
My core substantial point is that there should be no connection between the unit price of what a worker produces and their wage.

To take an example at the other end, should someone working in the paper clip industry be happy as long as they can afford to buy one paper clip?

I can understand an emotional reaction to people working on goods just outside the reach of their spending power. But if you think about it, those two numbers have nothing to do with each other.
Maintaining structure as the codebase grows is a challenge on it's own, especially when it's so big that you have multiple teams and way too many developers working on it.

At work we have a huge monolith and several smaller services. Working on the former it's never nice and my productivity is a fraction of what I can do when working on the smaller and saner projects.

I wouldn't always use a microseconds architecture. I think the best approach is to start with a modular monolith till it reaches a critical size.
Then pay off the balance in full as soon as the rules change.
Basically every day that I interact with users has this exchange:

"Click the hamburger icon to open the menu."

"Excuse me?"

"The three parallel lines; I agree, it makes zero sense, but now you know."
The test of true entrepreneur is being able to build multiple companies.
Start new religion. Few sermons, overturning few tables in a temple and provoking violent retribution. Chance that elite will reorient it's aspirations from militarism into monasticism and the evil empire will be a toast.

Organize a small band of hardened cadres and wait for your opportunity. Major war not going as well as planned or other crisis, few million frustrated citizens with arms and your small cadre have a chance to take over largest country on Earth.

Combine both - thirty years of exhausting war plus new religion and you can take over everything from Afghanistan to Morocco in just few years.

Refuse violence and keep repeating your arguments despite oppression - it might take shorter then you think - like British leaving India or Soviet Union leaving Central Europe and Central Asia.

Just few examples of impossible and unthinkable happening.
Whatever one's opinion of Trump, he has convinced all Democrats and many Republicans that the executive has too much power. Who could have imagined that, a couple of years ago? I say we should strike while the iron's hot!

(Apparently he's also convinced them that war with Russia is preferable to war with North Korea: I'm not sure what to make of that.)
It's circular references created via the "xref" portion of a PDF document. An implementation that blindly chased a circular reference would be a bug in my view.
About half-a-decade ago when I was at ThoughtWorks, I knew of some folks trying/experimenting it out. I was not a fanboy of it and felt it was odd to TDD with CSS. That said, I certainly was curious to hear from my peers on their experience back then. I did miss catching-up with that topic and well left ThoughtWorks. It's been a long while and I haven't heard anything about it all for long time now and happen to remember this today. This prompted me to post this question here.

Simply put, I'm as naive as you're and thus helpless. Sorry! :(
> I don't see on what grounds you could follow through with legal action.

That's exactly why you talk to a lawyer. I've been in business a bit longer (30+ years by now) so I can see such grounds but whether or not the lawyer agrees they are good grounds is an important element in determining the strategy.

But I highly doubt the bank would let it get to the point where they would have to appear in court.
I doubt Apple or NeXT would have ported their platform to Solaris (from BSD/Mach). it seems to me that BSD would have been Linux if Linux hadn't happened.
The go-oauth2-server contains simple web forms (which you can style to match your UI) to handle the full authorization and implicit flows of OAuth2 so you would connect to the oauth2 server from your app, log in and be redirected back to the app with authorization code and then the app can obtain access and refresh tokens from the oauth2 server via API call.

This is a normal authorization flow people are used to from Facebook/Github/LinkedIn, works the same way. See README for images of how the forms look out of the box, without any customization.

If you want to have in app login system, then for such scenario usual way I have implemented this before is to have a separate frontend layer and it works something like this:

1) Frontend (mobile/web app) displays login form

2) Enter username and password

3) Use resource owner credentials grant to obtain access token via API call

4) Now you can make authenticated API calls with the access token (and use refresh token in the background to renew your access token)

In case of web application frontend (let's say NodeJS app), the app would store client ID and secret server side (so you would proxy all requests from client app to Node proxy because we don't want to keep client ID and secret in public JS).
Founders – Scientific tactics on how to leave the best impression at ur meetings
> we as computer scientists, do understand much better than anyone else the complexity of the human mind.

Do we?
It's not quite as simple as "persons per 1000 without a fixed address". _Yes_, strictly speaking this is the definition of homelessness (and this number was indeed around 1.2 at the last count in Norway), but the debate is in reality about the misery of the poorest in society.

No one will debate that a person without a fixed domicile that receives $800/month[0] by the state and is regularly encouraged to seek free mental health care, is much better off than someone that receives no financial aid and is forced to beg or eat trash in order to stay alive.

The situation with begging in Norway is complex and not a direct proxy for extreme poverty[1]. Do agree that better mental health treatment is required in large parts of the world, and that homelessness and poverty are complex and cannot be solved by simply paying someone to fix things.

What I was trying to say was that it is a problem that can to a large extent be mitigated, if there is a cultural will to do it. It is by no means a phenomenon that will always be unacceptably bad if some moderate measures are taken to alleviate it.

[0]: https://www.nav.no/no/NAV+og+samfunn/Kontakt+NAV/Utbetalinge...

[1]: https://tv.nrk.no/serie/brennpunkt/mddp11000617/18-04-2017, documentary following beggars in Bergen for two years. A large proportion is found to be part of specific human trafficking schemes.
Absolutely true, certainly executive functions are energetically "expensive", and very tiring to exercise continuously, regardless of neurological quirks. People also often have a lot more trouble with executive functioning than they think - as an example, checklists vastly improve the performance of even virtuoso experts at complex tasks.
Sure. A Guatemala here, a Rwanda there, who's really counting?
> And w3c's opinions invariably are to the detriment of developer experience.

Wow. Sorry, but I don't think you really know what you're talking about here. The Web Component specs are part of the HTML and DOM specs. Things like property initialization would fall under JavaScript and are already being addressed with JavaScript class fields with initializers. Spec authors don't go out of their way to make life hard on developers :/
AI is not the future of sales – Creativity is, here's why
Time will tell whether the system is more or less robust with Dodd Frank. Also the previous system seemed robust until the crash happened. An argument could be made that more legislation and onerous regulation pushes smaller actors out of the game. Then you end up with a bunch of too-big-to-fail corporations that take the whole system down if they fail. Regulatory capture is also a major issue with too big entities.

Reading tip: Antifragile by Nassim Nicholas Taleb
No. I argue paper files are more secure, at least they wouldnt be target of digital breach where millions' data could be "hacked"
Just going to chip in here to mention LMDB, which essentially provides an mmap btree database with single writer + multi-reader snapshot concurrency, ACID transactions, and is extremely robust.

If you think something may benefit from a shared memory data store, lmdb may be worth considering as a fast, reliable, high concurrency alternative to reinventing wheels with raw mmap + manual sync.
> You have multiple free and open source implementations to choose from

Can you list them? By "implementations" I assume you mean a JVM and a stdlib? I am struggling to find non-OpenJDK ones that Java compliant (i.e. passed the TCK and give me confidence in switching).
Show HN: Pure Go OOXML (docx/xlsx/pptx) Library
As an American and having lived (not visited - lived) in a number of countries besides the US, I can say with some certainty that the American ideal of the 'inherent power of self-determination' is greatly exaggerated in the US and far weaker in other places. Government policy and leadership absolutely has an effect on this behavior.
what btc-linked debit cards do you use if you don't mind me asking?