skysight-inc/HackerNews huggingface dataset:
> As someone who is wholly unfamiliar with this, why should relationships be treated any differently than any other attribute of some object returned by a web api?

Because links are resource metadata, not the resource itself let alone entities represented by a resource. The relationships between resources are independent of the resources themselves.

> If data-attributes have to be parsed out of some json-body, but link-attributes have to be parsed out of the header, that's weird.

It really isn't. In fact, it's the other way around. Link relations depend on the request, not the resource, just like the particular version of the resource (see ETag header) or the date and time at which the origin server believes the resource was last modified (see Last-Modified header).

Considering the petstore example, it would be weird if the pet would include a version/hash or the last time it was modified. A pet is a pet. It has a name, a species, a breed, and an owner. The pet resource is the pet information that you received as a response to the request you've made in a specific moment in time.
Why on earth would one trade off a short, static unique identifier for a potentially long, dynamic "link" that essentially binds all data to some crappy API that will be outdated in a few years? Is it really _that_ hard to use keys?
As others have stated, I will not be booking a ticket on a 737 max, period.

Granted I might not be a typical discount shopper, I pick flights based on comfort, not price and have checked the aircraft/airframe I will be in for years.

However, I have a tough time seeing anyone I know taking a risk with flying the 737 max for a 10% discount in fares.

Typically, fuel costs to the airline can be estimated at 10-20% of the ticket price on domestic flights (5 gallons per seat per hour). 737 Max is advertised as providing up to 20% in fuel cost saving, which would bring the cost to 4 gallons per seat per hour. Which should not affect a ticket price by more than $4-6 per hour of flight.

Are you suggesting that people aware of the issue will be wiling to risk their lives for a chance to save $8-20 to their destination?

And to add to that very few 737 Max are in service right now, only 300 or so of 5000 orders have been fulfilled. These supposed savings are not yet factored into the price of most tickets, they are future reductions at best. And likely these will not even be reductions, just a way for carriers to earn more per seat.
Well, yes: the plane is inherently unstable. That's why the MCAS system is there. The system itself is mostly fine, it does what it's intended to under ordinary conditions. The problem was that Boeing, in order to avoid costs to the buyer, declared that pilots did not require training on it and made the instrumentation that manages the system woefully inadequate to the task of handling malfunctions (plus the system relying on a single sensor is pretty brittle but adequate malfunction handling instruments would've mitigated that).
I feel like the most effective garbage triage would be to separate food wastes from packaging and the rest. Everyone should do composting at a local level
This is the best advice. Take baby steps. From my perspectiv, 1 week is too short a time to fully assimilate the difference. See how you feel after 2 weeks of total disconnect from the job. Are you feeling relaxed and unwinded? Then the job is the stressor. Else, the source is somewhere else, though the job might also be a contributing factor.

How do you feel after joining again? Do you feel energetic/normal and interested in tackling office work? Then all you need to do is take care not to work 80 hour weeks and take an occasional long vacation.

Back from vacation, do you start dreading going to office more? Then the office is the problem and it is deep rooted. There is the justification you need, right there. Run away as fast as you can, protect yourself . You totally deserve that.
“Scott Chacon is CEO of the online language learning company Chatterbug.”

Closed the tab.
There's a huge difference between a luxury and something that indicates you have achieved a lavish and impressive lifestyle. A cup of coffee at starbucks is a luxury.
I'd hope so. Those are cheap. Since their business is supposed to be electronics prototyping, they should have considerably more than that. Like a prototype pick and place machine like a Liteplacer, a surface mount soldering oven, and the setup for using a stencil to apply solder paste. But no. Just basic bench tools.

I once tried to sign up there. I drove up to Oakland, and even though I'd made an appointment, no one was there to let me in and nobody answered the phone or door. Then my car was rear-ended on the freeway, and when I pulled off at the next exit, the other car kept on going. So I had to report a hit and run. While I was doing this someone approached me and hassled me in what seemed to be the run-up to a mugging. Got rid of him and drove back to the Peninsula.

If those guys were on the other side of the bay, I'd be using them.
Can you explain step by step how you have done it? :)
If you change to CSR and key in the request to self-generated, it still says username already exists.

on the other side, if I create my own certificate using custom CSR and key, I still cannot sign it with website CA (taken from original p12 file) since I do not have the private key.
Bayesian reasoning and machine learning by Barber (2012) had nice introductory texts on most of the mechanisms at work iirc if you're looking for a lecture oriented resource.
I am a Harrys customer and really happy with their razors, shave gel and soap. I struggle with finding shave products so I hope this doesn’t change.

I also own a straight razor, HN help me learn to use it better! I have a brush and a strop and paste and it’s sharp and ready to go. I’ve tried to use it in the past but I have a hard time keeping the angle at leas than 30 degrees and still looking in the mirror.

I usually full shave just once per week and use an electric to tidy up quick 1-2 mornings. If I need to do something important I might full shave on demand.

I really want to love my shave experience and make it part of a relaxing routine.

Advice?
Why on earth would you blow out your request size for the sake of purity? Calling GET /pets is going to return a lot of instances of pet with very similar URLs.
A device that recharges the pen only 7-9 times is broken and can be changed under warranty for no charge. Either that, or your device was a replica, seriously.

I highly doubt someone's smoking style affects the battery power of the smoking pen, because, if you smoke from it like a train engine, it's just got nothing to burn anymore and shuts off - like a normal cigarette. There's nothing related to the battery itself.
Your second sentence is too glib. By just about any statistic you want to look at, the MAX-8 has an abysmal safety record. Probably worse than any other aircraft in revenue flight.

It's perfectly rational to look at the results, regardless of "why", and decide that the risk is just too great.
Can not recommend this enough. Prolog with great typing.
Ask HN: Tools/services normally paid for but free for open source products?
Hi HN,
What are some cool tools that are normally paid but offer something free for open source projects?

Examples I have collected so far:

- Auth0 (https://auth0.com/pricing)

- GitLab (https://about.gitlab.com/2018/06/05/gitlab-ultimate-and-gold-free-for-education-and-open-source/)

- GitHub (possibly not current)

- 1password (https://github.com/1Password/1password-teams-open-source)

What are other interesting / good tools that are free for open source projects?
She was 21 years old.
Not 16. Not 17. Not 18. Not 19. Not even 20. But, 21 years old.

Twenty-one.
This article suggests recycling is a mixture of economically ineffective and actively environmentally harmful but I wasn’t left with a clear understanding of which types of recycling are which.

Certainly aluminum recycling seems to make both economic and environmental sense.

But for glass, paper, and plastic, is there a point where I would be doing the environment a service by throwing it in the landfill box instead of the recycling box?
The core issue is not technical but rather human. In 1960s Bell Labs poured in massive investment in trying to make video calls a reality. They solved virtually all technical issues - in 1960s - and had real system deployed in NYC and other places. Here was the issue it never took off: people just don't like others to see them although they like to see others.. This might feel funny little thing but it ultimately lead to pulling out video handsets from the market. No amount of network effect and marketting helped its adoption.

This experiment has been repeated in many forms by different companies in different settings with no
real success. Everyone had solved tech issues, its just that screen resolution keeps increasing. The only area I can think of where video calls have minor success is corporate group meetings and talking to kids/parents but even in those cases people tend to be very selective when to do video calls vs voice-only calls.
No.

And do us a favor and stop looking for the next most profitable fake health crisis
If you need to do that then you've most likely cut along the wrong service boundry. Same thing can happen in a monolith, although you can kludge something out with spaghetti code I suppose. Doing it the right way in both cases takes about the same amount of work.
The economic policies that Hitler enacted which heated up the economy were in no way sustainable in the long term. The intention was always to use these short term measures to boost the economy and increase military production to go to war.

They were the economic equivalent of dining and dashing.
[0] Jet Brains offer open source licenses for their products.

[0] - https://www.jetbrains.com/buy/opensource/
"...the DSM-V has psychopath and narcissist. Those are two distinct categories of personality."

Those are personality disorders.
https://en.wikipedia.org/wiki/Narco-submarine

Just to make clear, makeshift submarine smuggling is not a new phenomenon. One was found abandoned in 1988, first one to be seized was in 2006, and, "by 2009, the U.S.A. detected as many as 60 narco submarine related events".

"The narco-submarines can cost about $2 million USD and take upward of a year to build.[16] Despite the costs, some of the craft are intended for one-time use, being abandoned at sea after a successful delivery. After all, their cargoes carry a street value of up to $400 million. On other seized craft however, officials found zinc bars used as sacrificial anodes, reducing corrosion on metal parts exposed to seawater.[17] As corrosion would not be a concern on a single trip but is a factor influencing long-term durability, this is a clear indication that multiple use was intended. This, in turn, opens up the question of any illicit return cargo, like weapons, that they might carry back to Colombia."

Really interesting article.
Microsoft tried to lock developers in with MSVC, but it didn't work. Now we have to wait for it to die, so that we can use Clang instead.
I’d you have time I’d love advice on using my straight razor better. My email is in my profile
> Link relations depend on the request, not the resource, just like the particular version of the resource (see ETag header) or the date and time at which the origin server believes the resource was last modified (see Last-Modified header).

Not really. Since it's mother's day, the fact that I'm related to my mother is an attribute of me, not an attribute of the request you make for information about me. I am related to my mom.

In a conventional database, link relations are defined on the tables themselves, but versioning information and last-modified information is normally defined in metadata tables. So I don't see any prior art for this. It just doesn't match how most people normally represent objects.

> and the pet resource is the pet information that you received as a response to the request you've made in a specific moment in time.

And at version X, the pet has a specific owner, defined as a relation on the pet itself. The request provides versioning information, but the owner is keyed on the pet, just like it would be in the server's database.
The example produces a 670KB binary for "Hello world". Why would I use this over C++?
It's not an ideology it's an excuse for board members and CEO to do what they want without being called on it. Namely loot the company.

The guys in the mahogany suite say look the only people we are responsible to are the stockholders. Who most of them it turns out have very little coherent control. That's very convenient.
Bot your site with a selenium proxy crawler
What paste are you using?
Unfortunately it's only available to US customers.
You're reading Vice. What did you expect?
Declassified Archives Show US Helped Argentine Military Wage Dirty War
Seems to me that the article starts with an argument that Puerto Rico’s addresses are confusing to US addressing because they follow Spanish heritage. And then argues that replacing with Geocoding would lose the heritage connection. Presumably making addresses US standard would lose the same heritage connections.

Also seems to fail to recognise that the zip code or postal code part of the address is a specialised, possibly irregular shape, geocode that identifies an area of the world within its local context.
> As is, as someone dealing with a REST API, I rarely, if ever, have to think of headers.

Really?

Headers contain information about the content and the caller which are used in business logic. Authentication and authorization information is often passed in headers, for example.
EVs take care of all those problems all at once
I think the crazy infighting along Microsoft teams is fairly well known at this point.

Do you know of any recently successful teams that were not built up from entirely new people isolated and protected from the old teams?
Alternatively just train the pilots on the behavior in the domain where MCAS would activate. MCAS main purpose is to lower the training requirements.
Lavish and impressive is also relative. Your original statement about "these things are all rather unimpressive to those that actually have them within reach" is tautological: having a yacht with a helipad is not going to be particularly impressive to anyone else docked next to me in St Tropez, even if it puts all of us in the global 0.01%.
And those cards become useless in 9 months as they rotate out of standard. Have a great deck you find fun to play one month? Gauranteed it no longer works after another 2. It’s an incredibly efficient scheme to make you want to buy more packs, if you’ve decided you want to be good at the game.
Easy for you to say sitting in your first-world, comfortable house with a job that pays you $250,000 USD a year. Try visiting a third (or even second) world country.
>(of course, the server must continue to honor all previously-issued URLs).

Why is this true for non-user facing urls? Seems like an argument could be made that you only need to support the urls for as long as the response was cacheable.
smart. Assuming there's one unit in the road, they'll be busy checking the pimped-out ride :)
Among other flaws of geo codes already discussed were: they are non continuous so you cannot know who is neighbor with whom, they cannot be used for navigation (follow that street, turn into another one) and they are not permanent, because earth moves.
8% certainly isn't to be scoffed at, but when councils in England can get 50%+ recycling, and compost rates, I wonder why Ontario's rate is so low

Top ten recycling authorities in England 2017/18 https://www.letsrecycle.com/councils/league-tables/

Rank Local Authority Recycling, Reuse and Composting Rates

64.50% - East Riding of Yorkshire Council
63.00% - Rochford District Council
63.00% - South Oxfordshire District Council
62.40% - Three Rivers District Council
61.40% - Surrey Heath Borough Council
61.20% - Stroud District Council
60.50% - South Northamptonshire District Council
60.40% - Vale of White Horse District Council
60.30% - Derbyshire Dales District Council
60.30% - Stratford-on-Avon District Council
That's the point: they have left leanings. None of them is advocating full blown socialism, goes for gun bans, or a single-payer healthcare system with private insurance middlemen cut out of the picture.

The so-called "conservative" media however? Just look at how they portrait immigrants, that's no longer just leanings, that's propaganda.

In addition, for Germany the hardcore-conservative BILD paper (owned by Axel Springer) is still the most powerful paper given its circulation of 1.4M daily. The centrist-liberal Süddeutsche Zeitung follows wide after the BILD at 338k daily, followed by conservative Frankfurter Allgemeine with 241k [1]. By reach, the right/"conservatives" massively dominate.

[1]: https://de.statista.com/statistik/daten/studie/73448/umfrage...
JSONAPI Specification also makes use of URLs in links to resources:

https://jsonapi.org
As if they are even remotely the same size.
You seem to be implying that climate forecasting can't possibly be accurate because weather forecasting is time-limited.

That's not correct. Climate and weather forecasting are different disciplines based on different models.

Of course you can't forecast whether it will be raining on a specific day twenty years from now. But you can certainly make a good estimate of how likely drought is.
> the plane CLEARLY flies differently to a 737[...]

There's no such thing as "a 737". A 737-600 is 31 meters long[1], and a 737-900ER is 42 meters. Both share the same type rating with the MAX[2], and have the same 36 meter wingspan.

That's going from a length:span ratio of 0.86:1 to 1.17:1, you think those sort of airframe changes don't make for a plane that flies differently?

Maybe the whole notion of a "common type rating" is foolish, and pilots should need to re-train from scratch for the smallest of changes. Change the paint job? New type!

There's a lot of "the engines moved!" discussion around the 737 MAX which seems to be ignorant of decades of significant airframe changes not impacting type, to little apparent ill effect until now.

1. https://en.wikipedia.org/wiki/Boeing_737_Next_Generation#Spe...

2. https://en.wikipedia.org/wiki/Boeing_737_MAX#Specifications
I like the conclusion of the article that broad knowledge is needed to do good predictions.

But, I do not see the point on going against experts. Probably the learning is that the most convinced and self-assured you are in a topic the easier is to get things wrong.

Take any non-expert that is sure and vocal about a future event and probably is wrong also.
I think there's a subtlety in my point that you're missing. When you can just barely manage a yacht with a helipad, you're impressed with yourself for being that successful. When you can comfortably afford it, you cease to consider it something to boast about.

But yes, your point is valid: it's all relative.
Abusing Google Safebrowse for Phished Credentials URLs
An engineer's job is to meet the customer's specification. Wasting its money to deliver something far in excess of the requirements is also a path to no longer working as an engineer.

You've no right to be angry at the engineer because you wish to drive a semi truck down what you commissioned and budgeted as a footbridge.
Minor quibble - but no airline actually pays that much. A rough rule of thumb is around 50% of "list" price. In the real world, they're around USD$50-60m each.

Your point still stands, of course.
Here[1] is your anonymization tool: kloak - Keystroke-level online anonymization kernel.

[1]: https://github.com/vmonaco/kloak
I think you are missing the perspective of somebody in a relatively low salary country where the US is almost out of reach and visiting it /regularly/ is almost unheard of.
If You Use Same Password for Multiple Accounts, You Must Change It Now
Article argues that Apple UX no longer have affordances and discoverability as it used. I am not sure if I completely agree with this. Even kindergartners very quickly learn and use iOS and for most part Apple's UX primitives are well thought out. I'm more concerned about bad or no design decisions that are accumulating over time such as,

* Power and volume buttons on exactly opposite side means you often press one when you meant another when held in one hand.

* Extremely slippery surfaces means the devices slips away and fall down all the time.

* No easy way to organize app icons. Over time you accumulate 100s of apps and its lot of pain to organize and discover apps.

* Cannot disable click sound when taking photos easily.

* Cannot search and organize photos easily.

* Anything related to iCloud is either mess or dysfunctional.

... and so on.
My Jabra 65t's can have their batteries replaced. Happy?
Most of the people(me included) want just an accurate address, easy to share/communicate and care very little about its story. Most of the street names have nothing to do with the actual place anyway. If you want to mark an event you can always build a landmark.

I'm pretty sure that the young people have no problem with the new system(considering is more accurate) and this is a classic example of people resisting to change(of any kind).
> Airlines have no choice, there's a limited capacity in the world for airplane construction,

No choice? It's a choice between risking passengers' lives and money. Be real about what the choice is.
Making glass from glass isn't expensive either, kind of similar to how you'd make glass from sand: you melt it. The government needs to set the right incentives, though. Recycling of one-time use glass works quite well in Germany.
Imho the main thing recycling does at a home level is bring awareness to the actual issue regarding garbage.
I think the HATEOAS way to do this would be that you never calculate an endpoint like that. The owner object should have the invoices url for that owner available in the body of the owner object.

...Its ludicrously bloated and part of the reason why no one does "real rest."
Arthur Eddington’s photograph of the 1919 solar eclipse
> Not really. Since it's mother's day, the fact that I'm related to my mother is an attribute of me, not an attribute of the request you make for information about me. I am related to my mom.

You are related to your mother, but that relationship is represented through link relations. You are represented by your resource, and your mother is represented through her resource. Where and how those resources are represented or found is an entirely different concern that has absolutely no relation with the relationship between you and your mother.

> In a conventional database, link relations are defined on the tables themselves

Actually, they are not. I mean, there are entity tables (the resources) and then there are the relationship tables (the... relations). Although some techniques involve using non-normalized databases, that does not mean that entities and entity metadata, such as relations, are or should be conflated.

Now, imagine that the database tables weren't fixed properties of the system, which is a basic design issue in resource-oriented architectures. Would it make any sense to hard-code references to other tables if they could change at any point in time, specially if you're operating a system that could cache table rows?

> And at version X, the pet has a specific owner, defined as a relation on the pet itself.

Yes, and that's also the wrong way to go about specifying the relationship between resources. The correct way would be to express the relationship between resources as a link relation. The identity of neither the pet or the owner depend on each other.