skysight-inc/HackerNews huggingface dataset:
It's a slightly roundabout set of links that tends to become very clear to people paying >40% of their income in taxes. First, some setup:

The base case is I think the world needs to change, so I spend 8 hours changing it for the better.

The extended case is other people notice I am making the world better, and want to pitch in. We've got this great indirection system in money to allow that to happen with a highly abstract measure of 'resources' so even if they don't know how to contribute personally they can signal how important my work is to others.

Now, there are respectable schools of thought that believe something like (a) there are people who do not have the capacity to meaningfully contribute resources or (b) initial control of raw resources is more impactful than human endeavor. They employ taxes to change how resources are distributed.

And now, the freedom angle:

Without government tax, if I work for 8 hours I can presumably provide for myself in about 2-3 because modern production is so efficient, and then I get 5 hours to reshape the world into something I want to live in. With government tax, the split is basically 2-3 for me, 2-3 for the government, 3 for changing the world to taste. This is effectively a loss of liberty, because now I have half the control over how the world changes.

That isn't particularly profound, it is just how taxes work. But one of the points of money is abstracting direct work for contributing. In a sense, this is the same as labouring directly on a government project for 2-3 hours, and that would be slavery. Obviously taxes aren't slavery because they aren't mandatory (don't want to pay taxes, don't work) but the parallel is there for reducing liberty.
This will keep happening until Apple does what it should have done all along: give users control by allowing them to sideload apps.
Protocol buffers exist to solve two problems you list, parsing overhead and backwards compatibility.
And it's not as if Martin Fowler came up with the idea as an original either, QnX, Erlang and many other systems used those basic ideas much earlier (sometimes decades earlier). But this is the web, where the old is new again.
Queueco | Trading | London, UK | Full-time | Onsite | http://queueco.com

Queueco is looking for a software engineer to work on automated trading systems. We have neither clients nor traders, instead we trade on the financial markets around the world on our own account using fully automated trading strategies. We are looking for a software engineer with experience in distributed systems and networking protocols. Interest in financial markets is preferable, but prior experience in the financial industry is not necessary, you will pick this up quickly.

For more details and to apply: https://queueco.workable.com/

Or by mail write to: contact [at] queueco [dot] com
Ask HN: How to make a popup information bubble?
I'm interested in making a program that launches a "popup bubble" to show information on the word I have double-clicked, regardless of wherever that word is found, such as a word processor or a webpage, provided the word is selectable.

Here is an example from a German-English dictionary by Langenscheidt (https://imgur.com/a/Eh8KqJT) You right-click a word you entered into Notepad and the translation pops up.

I'm a hobby programmer and know some PyQt and Electron. Could I ask you for a few pointers on how to make this with PyQt or Electron? I have been searching and searching for "popup box" and the like, but the results tend to be more about input dialogs inside of larger programs, which is not exactly what I'm looking for. Otherwise is there another language or framework I could look into to make this?

Thank you in advance.
I'm always curious why the Actor concept isn't more widely used. Many platforms / languages have some form of it.
uBlock Origin (and presumably other ad-blockers) lets you block arbitrary elements, including cookie dialogs.
People create their opinion from what they read in blog posts like this rather than their own experience. Take the right tool for the job - over.
> and they are clearly profitable enough if they can buy Super Bowl airtime

These dollars are most certainly coming from VC funding. Most of these businesses aren't (and will never be) profitable.
The problem with ESBs in my opinion is one of tight coupling; all of these distributed systems that know about and depend upon each other. The solution to this is to loosen coupling whilst formalising interfaces/contracts/schemas, with a design that enables versioning and mandates graceful evolution. The modern version of ESB is an event based (note: this does not necessarily and probably does not mean event sourced) architecture built upon a distributed, append-only log that is ideally fed directly from a database transaction log.
IMO the best (or one of the best) for Linux :

Thinkpad Carbon X1 6th gen (or 7th now?)

I only wish it was sold without Windows so I can save $30-40 on the win license.

Other than that, freaking perfect laptop that rivals a macbook (I will admit that the mac trackpad is slightly better... but this one is pretty damn good)
We use grpc instead of rest for internal synchronous communication but we've also found that by using event pub/sub between services, that there are not many uses cases where we have direct calls between services.

We used to have a parent maven pom and common libraries but got rid of most of that because it caused too much coupling. Now we create smaller more focused common libraries and favor copy/paste code over reuse to reduce coupling. We also moved a lot of the cross cutting concerns into Envoy so that the services can focus on business functionality.
You must be doing something wrong. In a company I work for, we clearly have separated microservices by bounded context, thus making them completely decoupled.
This is exactly right.

First, you can't copyright a color, period. You can trademark a color, but that trademark only applies to a very specific use of that color. For instance, you can paint your house or non-delivery-service business in "UPS Brown" without fear, but you couldn't use it in conjunction with a delivery service.

The purpose of trademark is to eliminate customer confusion, where they may think they're doing business with one entity when in fact they are doing business with another. Non-confusing uses of trademarks are legal.
Thanks for making the connection to work -- I keep having this same thing, all the time, about many endeavors. "If I'm going to invest all this time learning _x_, why don't I spend the same time learning _a real thing_ that can help with my actual life?"

On the one hand it sounds like I've become a joyless husk (which may be true.) On the other hand, maybe I should play the larger real-life game that has so much better payoffs?

It feels wrong though.
A few things that are harder with Microservices.
* A known good consistent state. How do you freeze and take a snapshot of a micro service in a distributed state?
* Caching, if you use a monolith you could be access the L1-L3 CPU caches on the local node meaning a very fast access. Accessing local cache is 0.5-7 ns vs 500 000 ns for a network trip https://gist.github.com/jboner/2841832
* Tracing latency. In a monolith you can use performance tracing tools on a local process and get a good overview. In Micro services you need distributed tracing tools
* More complex architecture with more moving parts which makes it harder to diagnose for errors.
* Memory efficiency as programming language run times are loaded several times for the different micro services.

Good things about Micro services.
* It allows for distributed teams, backend, frontend teams and to have a common interface json calls to communicate between the services.
* You can replace a micro service with another micro service
* It may be a good fit for startups that needs to rapidly prototype. That it is good for fast moving startups does not mean it is good for traditional enterprises.

We are likely beyond peak hype on the hype cycle for micro services.
https://en.wikipedia.org/wiki/Hype_cycle
Or better yet: a massive front end SPA talking to an array of stupid microservices that are not much more than tables with web accessible endpoints for CRUD and probably an authentication service thrown in for good measure. All of the business logic on the JS side of things. The worst of both worlds, now you have a monolith and a microservices based architecture with the advantages of neither.
We have them (for some cities)! Check out https://travelchime.com/plan/peelkusfqahdnjxk/list/2987 (they're one of the lists that show up at the top of the page)
It is simply that my time is expensive.

For the $1000 it costs for a faster laptop, work gets many thousands of dollars back due to more efficient development.

I could waste time optimising disk space, waiting for compiles (the developer tools we use need single-core CPU performance), enchancing the performance of development tools, waiting for VMs to boot, waiting for Windows VM to update, waste time shutting down that VM I am not currently using. Yes, I could waste time switching to other tasks while I am waiting for whatever it is I am waiting for.

I travel, and while travelling work gets some development time out of me because it is a laptop and not a workstation. A terminal is no use when I am in an area with poor cellular data connectivity (e.g. most planes).

Work definitely wins on this whole equation.
However, your boss's boss may care about the legal risks of potentially violating ADA - the regulation is very unclear on how websites are covered.
Well, it's definitely better if one has a teacher. Trial and error can be controlled and some direction can be given.

If I'm learning on my own I don't think I'd be able to find th e right direction most of the time.
JIT code for JS is /huge/ at the lower optimization levels, dramatically larger than an interpreter's byte code by something in the order of 10x - many megs of code are generated by relatively small amounts of JS code.
Those users probably have performed various other actions that reassured FB they had not signed up to spam (joining groups, adding many friends, etc.). It was the combination of being a new signup with an emptyish profile and having no clearly identifiable face that led to my account being blocked, with a message that specifically said I would not be able to regain access to my account until I uploaded a photo where my face was fully visible.
You first -- on what principles do you think the grandfather's choice in your example should be illegal?
My home is filled with things that resemble absolutely nothing natural. It doesn’t scare me in the slightest.
The biggest issue that I have with google is product sustainability -- if something doesn't seem to have "Hockey stick" levels of growth and use, google kills it.

Do I want to spend $500 on yet another google branded brick?
Consider larger services than a typical microservice.

For the same reason monoliths tend to split when the organization grows, it is often more manageable to have a small number of services per team (ideally 1, or less).

It's ok if a service owns more than one type of entity.

It's less good if a service owns more than one part of your businesses' domain, however
Government-run healthcare does not always reduce the choice of care, it can do the opposite! In Australia, many medical services are subsidised by the government, meaning many of them (for example, a visit to a GP) can be free. However, a GP is still free to claim this money from the government, while still charging extra on top of that. The end result is that people who can’t afford health insurance still get health care, while people who can afford to pick and choose quality of care can still do so, and at a reduced cost.

I’m not saying Australia has it right in every way, I’m just saying that universal health care doesn’t need to restrict your choice of care.
Therefore, as with civilian planes there is usually no "plan B" (exception https://en.wikipedia.org/wiki/Cirrus_Airframe_Parachute_Syst... ), acceptance criteria for unstable civilian aircrafts must be more strict than for military aircrafts.

E.g. higher redundancy of HW & SW, stricter testing/checks/validation of flight envelopes, more feedback to the pilots about why a computer is performing certain actions, etc... than military aircrafts using the same systems.
Do you need a personal tracker or a shared tracker? I use GTD as a system, which can be tracked using any thing from a legal pad to Jira.

What problems are you trying to solve for?
> There are enough of those apps in the store, and they are clearly profitable enough if they can buy Super Bowl airtime.

You're talking about the top 1% or less of micro transaction-based apps here. There are ton of indie apps that depend on micro transactions and aren't making enough to buy a Super Bowl ad.

It's unfortunate that spammy or low quality micro transaction-based apps have become commonplace, but I'd rather that be dealt with by the App Store flagging and filtering the apps with issues.
I have no idea either, though the simplicity may be off-putting and might make people feel stupid for making it so overly complex.

It seems like a near perfect fit for the web.
> This leaves me wondering what software all these places have in common.

Cisco or Arista
Gives the impression that he called the shots, which would be a worrying scenario for all people flying in the USA indeed.
Wow! Fascinating, thanks.
I always thought the best travel planning app was an email that contained links of places to travel to. The email would go into a Word doc or Google Doc and then get printed to share amongst friends. This is a neat evolution of the same behavior (which is something I’ve always struggled w. evaluating companies in this space, esp. as each person travels very differently). Everyone uses the same plain text editor to plan.

Looking forward to trying this out and playing around w. the export feature for Maps.
Are you also considering an analogy: those with innate capacities for violence tend to favor an aesthetic or desire of joy or peace?

It's not 100% true, but I find that it tends to be.
> Most of the metalheads I know are absolute teddybears.

In my music hobby as a guitarist, I've been involved in heavy rock and classic blues bands, played in a classical guitar ensemble, and did some sessions in a jazz setting. More recently I've been guitar tech and roadie for my son who plays in a metal band.

By far, the nicest people I have come across have been in the metal scene. I've been invited around to try gear, and been offered the lend of more gear from heavy metal guitarists.

My former co-founder in my business is a fan of extreme Northern European metal, and she is one of the nicest people I've met.
Most of the metalheads I know are absolute teddybears. I listen to some pretty heavy stuff (see links), but the other day I cried at a dog video, and recently had to turn off the police scanner at the mention of a particularly sad crime.

There's a weird rule of opposites which can happen with music. I think people often take up art and music as a form of healing, so there's some kind of reaction vector involved. Lots of people who take up Irish Trad are tortured souls or have "thorny" sides. Also, the corpus has a lot of happy sounding songs talking about truly horrible things.
With serverless, you can have a Monolith.

Frameworks like Serverless or AWS SAM allow you to create a backend where all functions reside in one repository but get deployed in a way that each of them scales independently.
nope - unrelated security concerns.
Heh, I like that “Spaghetti Microservices”.

You are right. It should not happen. It is difficult to see these pitfalls when unwinding an unwieldy monolith, and, as an organization all you’ve ever done are unwieldy monoliths, that have a gazillion dependencies, interfaces and factories.

We learned from it, and we move on - hopefully, it serves as a warning to others.
> Many military planes have bailout procedures because everyone has ejection seats or parachutes.

Do any modern military non-fighter jets have bail out capabilities? It was my understanding that you couldn't even put on a parachute in flight to jump out. You either had an ejection seat, or no capability at all.
I'd trust his assessment of an aircraft's airworthiness as far as I'd trust his assessment of structural stability of a skyscraper.
That's a common thing, trying to solve the problem by moving it from one place to another.
Your shoulder comes close, on a ball-and-socket model rather than wheel-and-axle.
There is still a non-zero cost to implementing a checkout page, as well as associated vendor fees etc. In a fair market the fees for Apple checkout would be along the same lines as Stripe, PayPal etc., but they are using their position as the device and OS vendor to charge 10x as much and giving developers no other option.
Ha - I think you might be thinking about 2009-2011 or so. That was the Google+ effort (under VicG) and thinking that games (like it did with Facebook) would be a key driver of growth. I think this was also around the time of the bad $180M+ acquisition of Slide to get Max Levchin. Lots of folks used this "social games" and the Google+ track to launch stuff and get promoted quickly and then after it shuts down, find another place within the org where they can now hang out with the nice salary that comes with the promotions they got. :-)
Looks like that site is having a problem logging reports! They all go to zero at around 17:00.
> a paint store may not be able to mix a certain shade of paint that is (somehow) legally “owned” by a specific brand.

A paint store can legally mix paints with those colors, unless you've told them that you're going to be using the color for a trademark-infringing purpose.

Stores may voluntarily decline to mix trademark colors to avoid even the possibility of a lawsuit, but it isn't legally required.
I saw Bill take out the garbage once! Highlight of living in Chagrin Falls, OH.
Bitcoin Hype is already in the Past
Which is especially unfortunate, since most Kindle users want this feature and (probably) frequently request it, not knowing that Amazon's hand is forced.
> Java 9, 10, and 11 have not changed the bytecode

Off the top of my head, JEP 309, implemented in Java 11, introduces a new instruction called `constantdynamic`
when I click I see a blank screen. why
I thought that Native MIDI API would be something that places NDK as first class citizen, but as you mentioned it's a bit constrained. But it's more that Native MIDI is first class, than whole of NDK.
...and then you tell them that it's exactly like someone writing a fake return address on a piece of mail before sending it to you, and they understand, because as stated above, this is conceptually very simple. You don't need to talk about "headers" at all - I don't know why you're bringing them up.
Last startup I've been part of, we've been having a bit of fun building our server architecture in Swift and so far the One-Binary-Many-Services model has been working out pretty well. You can run it all on single machine, you can have debug hooks, that make it seem like a Monolith, or scale it out if need be. When it comes down to it the Authentication Service really doesn't need to know about the Image Upload Service, and splitting it is all about defining good interfaces. Just need to put some effort in to keep your development environment sane.
ESB is new to me but just casting a glance on it makes me think... Kafka.

You can't avoid the centralisation unless you want infinite repetition.

The human spine is composed of multiple vertebrae and forms a consistent network with the brain and CNS and the rest of your body. The spine itself is the centralism, no matter how much you separate the bones into vertebra.

A service bus is basically putting all of your eggs into one wire. Or so it seems... it's so easy to strawman yourself to microservices.
Microservices as just small monoliths
Let's see whether we have a spike in the birth rate in 9 months.

(Oh, turns out the Great Blackout Baby Boom was a myth:

https://www.snopes.com/fact-check/from-here-to-maternity/ )
It's a corollary of Conway's Law that your services should be as granular as your product teams.
SQL efficient bulk insert/upsert in Rails 6
details: https://medium.com/@retrorubies/upcoming-rails-6-bulk-insert-upsert-feature-2d642419557d
pull request: https://github.com/rails/rails/pull/35077
Ok so not using a lazy list for matches is basically just around avoiding the requisite allocation? I suppose if you consume the list immediately at the call-site the compiler could in theory after inlining convert it to the closure-based approach for you, but probably wouldn't.
So what form of govt do you believe solves the problem?
If I recall correctly every browser security bug in recent years has used the RWX blocks to get full RCE. If a process is not able to ever get RWX memory your code has to be entirely ROP/JOP based which is a much higher barrier.
By regulation, when a system fails (as designed) the pilot MUST be able to recover:

- in 3 seconds when in cruise

- in 1 second when on approach

- when in the landing phase - immediately!

Such a system would be certifiable.

Most modern airliners have ~10 "memory items" that are procedures that are to be recalled and applied immediately without consulting any checklists. Runaway stabilizer is such a memory item. But first you need to recognize the issue as such..

It bears to mention that the 737 is riding on it's "grandfathered" certification status from the 60's, getting a free pass on many newer requirements that are subjected to airliners designed today. This is why it doubly makes sense for the bean counters to not design a new aircraft.
I've also used Sublime for years, but recently I've been using VS Code. VS is miles ahead when working with modern Javascript, both in terms of linting and syntax highlighting. Have a look at these screenshots of a single-file Vue component. Both are using the most popular Vue/JS plugins.

Sublime: https://i.imgur.com/xQiYv7O.jpg

VS Code: https://i.imgur.com/UsEhfO3.jpg