skysight-inc/HackerNews huggingface dataset:
> Libraries are just a bundle of .o files

That's a very simplistic and error-prone description of what a library is supposed to be. Even in high-level descriptions, it's very important to be aware of the fundamental differences between static and dynamic libraries, and how they are integrated in the build process, which has a fundamental role in basic tasks such as deploying applications.
Fun fact: the poc doesn’t “work” on iOS if you uninstalled the Mail app and are using a 3rd party client (link triggers App Store prompt “do you want to install mail”) ;)
It's not just that they're letting the mob meet (which I agree is tricky to control) it's sending out flyers advertising that the angry mob is meeting and inviting people to come on down and join in.
This is interesting, but it requires an otherwise borderline insane test plan to get the information necessary to calculate.
Great question. Apple has a long history on building on the shoulders of giants....and then building their own giant.

Further, they also have a long history of playing suppliers against each other in order to get the best terms.

Finally, Apple occasionally works hard to move away from companies it fights with - Adobe and Qualcomm are two notable ones there, as are the social media firms like Facebook.

As for evidence, I’d offer up this report on future data center spending that they are planning. You don’t have as many data centers and add to it in this magnitude without having a solid strategy.

https://www.datacenterdynamics.com/news/apple-will-spend-mor...
What this article says is true and has been known for quite some time. (Not exactly sure why it's so revalatory in the article)

I've also tried it for years as well to lose and keep weight down. But it's actually not healthy for you. You're better off eating a balanced diet, not too much of it, and exercising.
Spot on: "Analogies: Analogies are good tools for explaining a concept to someone for the first time. But because analogies are imperfect they are the worst way to persuade. All discussions that involve analogies devolve into arguments about the quality of the analogy, not the underlying situation." - Scott Adams, creator of Dilbert (I know he's quite controversial since the election, but he's on point here) in https://blog.dilbert.com/2016/12/21/how-to-be-unpersuasive/
Silicon Valley tech workers tend to use latest-and-greatest iPhones. Hot emerging markets with a lot of money to be made by those SV tech employers tend to use low end Androids. This diminishes the utility of employees as beta testers. I could totally see my own employer forcing some engineers to use Android for that reason.
As someone who works in sales, I totally agree.

People in procurement are often measured on the amount of discount they can get. Try getting that when you purchase online.

In the Nordics you can't compare the "salesforce" of AWS and Google with the army that is the Azure-team.
> [That] post just described, by definition, a race to the bottom.

I agree, though in this context we tend to term that "competition". In this case we are watching competition between states and localities to improve themselves and their tax bases. This strikes at the heart of how interstate commerce works and what the rights of the States are.

Sections of the country competing with one another and taking various approaches to the same problems trying to find better solutions and proving them in practice is kinda fundamental to the American Experiment...

Securing infrastructure investments with large corporations is the kind of thing that States are concerned with, and they are supposed to compete for the affection and attention of businesses. Tax code is one of the few levers they can pull in that pursuit.
Old money good, new money bad!

I don't think there's anything interesting here that could inform more modern viewpoints. He makes the typical argument for fascism that was popular in his age, but I think even contemporary fascists would have a hard time finding this article meaningful.
Does this work on Android Mobile? We just implemented a feature before realising Draft.js doesnt' work on Android Mobile - Our fault admittedly, but annoying none the less.
Interestingly a form the "one definition rule" even applies to some of those functions that can appear in multiple translation units, specifically inline functions and template functions (not static functions or those in an unnamed namespace). In those case it says that they must be identical in all the translation units that they're defined in, so it's more like a "unique definition rule" for them.

This sounds like it would be easy – just put the definition a header file. But even if the text of a function is identical in different translation units, it can still be ODR-different between them if the symbols that they look up are different due to other header files included before them declaring different thing or doing things like "using namespace std". Argument-dependent lookup is especially dangerous here. As with other ODR violations, this causes undefined behaviour and compilers/linkers aren't required to issue a diagnostic (and they usually don't!). I believe C++20 modules will solve this problem.
What exactly is lacking from the Mentions example for you?
> Is there something similar that explains how libraries work?

Check out this HN discussion on an ebook on linking and loading. The book itself is a treat, and the discussion around the book is very informative as well.

https://news.ycombinator.com/item?id=18424233
I'll pick the phone company

The phone company isn't calling me up and telling about about all the stuff the angry mob has been up to and inviting me to join in on their next conference call.
Doesn't faster metabolism cause you to agd faster?
Nah. Auditions demonstrate skills necessary to do the actual job. Tech interviews demonstrate ability to regurgitate Leetcode questions.
Didn't they suffer a global outage just the other day?
So what you're saying is microservices for desktop apps, right ?
I don't understand your comment. "Either side" of which debate?
My mind is blown by the fact that caps still exists for a stationary connection. I mean, how bad are the networks to require that?
What do you mean by shoot two thirds up?

I don't think it's physically possible for an f1.8 lens to pretend to be f1.4, it's the physical dimensions of the iris. The only way is by bringing up the ISO which is what every camera does when adjusting exposure.
Normally yes, but it is also used as a degenerate term, though in this case other words might have been a better choice.
London is fast becoming a major hub for A.I. development
no, they're explicitly created for human searchers. Searching for "connect gmail to workflowy" or whatever combination should bring you to Zapier (or another company that does the same thing), right? These landing pages facilitate that.
In modern American usage, mediocre is a pejorative word. To Horace, aurea mediocritas was a good thing, but we translate that as "golden mean" because mediocrity is, by definition, bad. The sense of "middle" has been lost.
"Precompiled headers are/were are thing, but they're very brittle."

In compilers other than Visual Studio, yes (or so I'm mostly told - I don't have all that much experience with them), but msvc has had them since at least VS6 (late 1990's) when I first started using them, and they work very well and have saved me many, many hours since then. Maybe once or twice I had to delete the pch file in all that time, and that was most likely more of a issue of the GUI mangling the saved internal state than the actual compiler.

I've heard pushback against precompiled headers from Unix land for 2 decades, I'm not really sure where it comes from. I have the impression it's mostly cognitive dissonance - 'msvc has it and gcc doesn't, therefore it must be bad because gcc is 'better' than msvc'. It's similar to #pragma once - in use, it's objectively better in every possible way than include guards are, and gcc fanboys still dismissed it back when gcc didn't have them.
Tokyo's public transit system is overrated IMO. Sure, trains and subways cover a lot of ground and are usually on time, but most of the lines are well over 100% crowdedness during rush hour:

https://japantoday.com/category/features/lifestyle/the-most-...
Am not too well-read on this - what are some good AWS/MS alternatives to Google Maps?
TS Eliot: a man from old money, who went to Harvard (which CW Eliot was president of, btw). His experience of slumming it was working as a banker. Then he went on to become a celebrated poet. Hard to think of anyone further out of touch.
The first time I saw an Elf on the Shelf in boxed form, and how heavy the box was, I assumed it had a surveillance camera in it. Apparently it doesn't, usually.
Hướng dẫn sử dụng thuốc Motilium
Note that though this lists ProseMirror as one of the evaluated editors, followed by a bullet list of issues, only one of those issues can reasonably be considered to apply to ProseMirror—and that's "Re-inventing the view layer", i.e. "doesn't use React", which can arguably be an advantage.
FYI, kept hitting this stacktrace in the demo:

TypeError: Cannot read property 'key' of undefined
at a.n.renderBlockButton (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:42:2277...)
at a.value (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:42:2505...)
at Mi (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:6266...)
at Ti (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:6755...)
at mo (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:7712...)
at fo (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:7743...)
at Zo (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:8098...)
at Vo (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:8049...)
at Wo (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:8032...)
at Io (https://www.slatejs.org/main-1783ad63c9cf9b77dd4d.js:22:7969...)

in a
in a
in a
in div
in Styled(div)
in div
in a
in a
in a
What about the gaps in the sides of the bricks? Do they get filled in?
Professional competitors in the majority of physically demanding sports supplement their training with gym work. Tennis, cycling, golf, etc all do. Targetting muscles in gyms have all sorts of benefits. If you are an amateur who competes for fun then you probably don't but if your paycheck is determined by performance than it's likely you're in the gym.
In the Nordics few salespeople wear suit (especially in tech)
> Importing people from abroad is something that only exists as a solution because of the imbalance of development levels around the world right now. I expect that this is an anomaly that we are going to see correct itself in time once all countries reach a similer level of development.

This has never been the case in the past; there is no reason to expect it in the future.
The compiler does this with other “library” functions like malloc and printf. There’s no reason a compiler couldn’t convert to a built in for this new type.
> Recently got told by some founders doing a farming technology startup that nobody gets paid because "We don't even pay ourselves!", but if I would like to volunteer my time doing automation and robotics R&D, then that would be great.

So they are saying you should do slave-labor? I hope they expected to give you plenty of equity (which is cheap as the company is worthless as there is no money being made yet), otherwise it would be idiotic to expect people to work without compensation.
What, there is a shortage of workers willing to work for low pay?
The Answer. Create competition in the labour sector by relaxing border controls and let in immigrants. Keep there status as illegal, so that you don’t need to pay all the costs that legally protected employees are entitled to
I am interested in what the article did not say, as it may shed some light on this critique. Specifically, the weight differences between the groups at the end of the second phase of the study.

The second phase of the study involved breaking the participants into three groups. They were fed the same number of calories. Each group had several biomarkers tracked. This included daily calories burned and ghrelin (a hormone) levels. I understand the critique targets the measurement of calories burned, via the doubly labeled water measurement of the metabolic date.

What I wonder is what the average weight change was for each of the three groups after 5 months. If the claim is that the high-fat diet group burned an average of 250 calories more, then that should be reflected in an additional weight loss of about 10 pounds (250 calories per day * 5 months * 30 days in a month / 3700 calories in 1 pound of fat). This would be because all the people across all groups were fed the same number of calories. If one group used 250 calories more per day, these extra calories had to come from somewhere. They would have to come from fat stores and muscle tissue inside of the body, resulting in a weight loss.

If the weight loss for that group correlates with the doubly labeled water measurement then it gives more credence to the study's results. If it does not correlate with weight loss, it is suspicious to claim that one group of people burned 250 more calories than the other over 5 months while eating the same number of calories but did not lose any weight.
How are you defining 'healthy'?
It didn't. See the other comments for about a dozen of already existing similar tools.
I can’t stand it when I’m banging out a CSV by hand and have to manually escape the field and record separators. Happens all the time.
Airbnb Murders Tokyo Homeless with Its Bullshit Reservation System
> For the religious, discovery of even extra-terrestrial bacteria will upend most of the interpretations of their holy books

The religious might surprise you.

https://www.vofoundation.org/faith-and-science/life-in-the-u...
I quite like how Ada has "specification" files, which describes the methods (procedures, entries, functions), types and contracts for everything.
Sure, "close your account" is actionable, but it's funny to think that it's not a clear sign that their customer support is completely broken. I mean, when you inform a company of a problem and their customer support admits that it's a bug on the company's side, but they can't fix it because they don't have any way to inform the developers from the company in question, how is that not being broken? Customer support should be a filter to the developers, but instead they're a fake door. Despite being a 3rd party, the customer support represents the company. From the customer's side, the company apparently can't communicate with itself. That's completely broken in my book.

> I frequently read worse on HN

Right, that's why it's funny. The bar is very low here, and that's why you can count it as not being completely broken.
"Libraries are just a bundle of .o files"

Static libraries are more or less that yes (at least, that mental model is sufficient for pretty much all day to day use of them), but dynamic libraries aren't, at all.

As an aside, I found it very weird that the OP claimed that 'nobody uses static linking'. Wut? Static linking is everywhere (so is dynamic linking, of course, but implying that one is merely a quaint remainder from the past is just so odd).
Honestly , they deserve that place.

While I’m a huge G cloud fan , there is too many things that frustrate me with GCloud.

Whether it’s Firebase that doesn’t have a way to limit user bandwidth or Google Staff taking you for a dummy because the guy is a « Google Engineer » or the performance of European Datacenter... there is a just countless stuff that makes GCloud overall an « okay » experience but nowhere similar to what AWS or’Azure offers
If people used them then the characters would almost certainly be represented in terminals as table spacing characters...
That’s an ad hom, so not sure what your point is. I was responding to the content in the essay.

edit: And based on what he wrote, he seems pretty in touch with American culture to me. Kind of proves his point on the distinction between class and elite.
Depends where the fats come from. It takes a lot more resources to grow 100 calories of animal than 100 calories of plant. I imagine there is still a significant difference of resources needed to produce 100 calories of plant-based fat and 100 calories of animal-based fat.
Show HN: King of the Sidewalk – Pimping Chris Ride-On Car Part 2
Thank you!

I love Spotmatics! Sadly, the ones I inherited have light leaks.

If you're not going to use the viewfinder, it'd probably be a lot easier to use something wider than 50mm. Besides the greater depth of field making zone-focusing a lot easier, there's literally "more room" for error in your (somewhat accidental) framing. Makes things easier. But I might be biased here, as 35mm is my favorite focal length on any camera!
Yes, that's a great way of thinking about it!
(GCP employee)

Yes, totally. When I transferred to work on GCP, I was pleasantly surprised at how much eng/product cares about users/developers wants, needs, and feedback.
Yeah, that's what's bittersweet about these technologies and policy in general. They're held back by PR.
It's an ongoing issue, I believe due to the way Android Chrome implemented keyboard events. Editors that specifically avoid the HTML endstate of contenteditable in favour of constructing a parallel state using keyboard events are all trying to deal with the same issue

https://github.com/ianstormtaylor/slate/issues/2062
People will demand fewer car washes or they will start to use fully automated car washes that don’t require people, or they will wash their own car. High labor costs makes automation that may have been thought of as too expensive or complicated before to seem more viable.
Brick work and framing are two of the easiest and fastest steps in building a house. They are using an expensive system to do the cheapest steps. Essentially, they are answering a question no one asked.

The expensive and time consuming parts are everything else; something this system does not address.
But if you do business everywhere in the state of California, how is it wrong to say that you also do business in the cities of Los Angeles and San Francisco?

It's not a lie; it's an exaggerated truth.
> But that's only because Linux etc make it really stupidly difficult to distribute apps in a Windows-like way.

Actually, it does not. If that's what you want then you are free to implement your windows-like installer. The process goes something like this:

* Install all binaries (executable and dynamic libraries) in a target directory (say, /opt/<your_app> or /usr/local/<your_app>)

* Create a shell script that sets the LD_LIBRARY_PATH to the directory where you've installed your program files and afterwards runs your application

* Run the application by launching the script

I would also like to add that the Windows-like process you've mentioned is also a crude hack developed to get around Windows' DLL problem.
Yes, an engine burning through more fuel will deteriorate faster. Carbs are easy fuel that won't wear out the system as much as having to process fats and protein for that same energy benefit.
No. Productivity is essentially profit - not revenue - per employee.

The clear trend since the 90s has been for productivity to increase while compensation has remained more or less static.

Larger corporations absolutely can afford to pay more - much more. They choose not to, because the institutional narcissism of business culture in the US is set up to gouge employees to the maximum possible extent, not to consider employees as contributors/partners who deserve decent compensation for their contribution.
we've had popular and commercial peer or group based messaging for more than two/three decades now, but nothing has rivaled the virality and speed of Facebook, twitter and so forth. There's a difference between propagation in a private network of a handful of people at a time, and the sort of mass agitation of public social news feeds.

If twitter would only allow direct sharing between say, a personal circle of friends, I'd bet you a lot of money that we'd see very different outcomes.
It's a different 'partition' the same way that govcloud is a different partition. Separate for legal reasons, but the same technology underneath.
Not meaning to be facaetious, but this sounds like something an 18th Century sugar plantation owner might say.

Historically, there were slaves.
Very nice tool to correct the auto-generated transcript, bookmarked
"Originally, the “Harrier” in the title was going to be a French VTOL-capable fighter jet"

I did wonder why it was called space Harrier.

But it isn't French, its British. Although I suppose enough Chinese and Japanese things have been confused by westerners, so I'll let them off.
I live in Tokyo and wish I could see it through the eyes of someone new here again. I can see it in these videos, but when I walk through the city I'm too used to it and my brain drowns out all of these things.
Yes: the test plan is generally achieved by adversarial fault injection.

That is how you should test your test system.

You should also classify the faults you inject and somehow (preferably from practice) estimate how often they occur.
Actually, I think this may be a real time-saver for quick builds where you need an extra building like a garage or extra storage space.

As others have pointed out there are some flaws in the wall in that article and it might not be optimal for housing, but for quick and dirty jobs it will most likely do fine. Construction as a service! :)
Do most enterprise companies care about the price of Google Maps? My company hosts on AWS, Azure and GCP, and I couldn't tell you how much Google Maps costs (or indeed, that there was even a paid tier, though it makes sense for embedded maps and such).
I wish I could make the switch. New MacBooks are costing our company 4500+ each, but most of us don't want to go to Windows.

This sounds like a good solution, but I'd probably miss out on a good alternative to Sketch or Zeplin which is an important part of our development workflow.
Immunocontraception
What do you perceive as the benefit of not buying products that use palm oil?
Because there is no separation between API and implementation? Header files are great, you don't have to wade through implementation details or documentation to figure out what is API and what isn't, even more so with good use of pimpl. You hardly need separate documentation tools, because the header (when structured well) is just the signatures and documentation. Templates muddy this a bit, but you put those in .inl files and it all works conceptually very pure again.

Headers (or at least 'separate specification of API') are/is great, and I miss it dearly in other languages.
Or they could invest in training instead of expecting perfectly-qualified staff to walk in the door.

Every week I see job ads with "${INDUSTRY_CERTIFICATION} essential". Companies are lazy and spendthrift and have some illusion of a vast labour market just itching to retrain themselves in MIG welding or whatever.

The last ad I remember that said "full training will be given " was for a bakery!
Maybe we can actually start building housing now.
"Low-carb" as practiced freely is also dangerous long term, luckily the scientists know better than to go to unreasoned extremes.
C bitfields are terrible. But Erlang has brilliant handling of bitfields, I think he should look at those and compare his implementation to that.
Higher productivity, but stagnant wages means productivity is increasing, but labor is not capturing the increase of their productivity and is instead being captured by shareholders or management.
... and you get what you pay for. Whenever I've had a problem on AWS, I've spoken to a human being, and had a detailed information on what was happening and how they were fixing it.

I don't have a support plan through Amazon, but I do a bit of business there (now).

When I had a problem with Google, the response was a stone wall. Online FAQs and no one to talk to. Even security issues, they blow people off on.

I wouldn't base a business on the Google Cloud. Too big a risk.