HNHacker News
TopNewBestAskShowJobs

Jka9rhnDJos

58 karma · joined August 19, 2023

submissionscomments
Jka9rhnDJos··on Scalar: Generate interactive API documentations from Swagger files
I’m on iPad, not iPhone. Sorry I can’t provide any feedback other than just some really crappy QA because I don’t do a lot of work with Swagger.

- Top bar is no longer hidden behind nav bar (usually). However, the bottom is cut off because of it. I didn’t even notice it at first, but everything below “Light mode” isn’t visible. It seems like it is fixed if I can scroll in such away that Safari hides the nav bar, but it’s finicky in allowing me to scroll far enough, or scroll on the correct frame, to cause Safari to hide the nav bar. I was able to get it stuck in a state where the top bar was hidden again and I couldn’t scroll to get it back. Refreshing the page made the top bar visible again.

- Pull to Refresh doesn’t work consistently. I can do pull to refresh if I can scroll in such a way the nav bar is hidden, but I can’t get the nav bar to hide itself consistently. I’m not a front end dev, so I’m not sure how much work it would be to fix the rendering of the window. It’s not as big of a deal to me since the top bar (the bar with `Scalar | Register | Sign In` etc.) is now visible.

Here’s a screencap of the first two items: https://file.io/uNQBUTmTTKul (Link will expire after 1 week). Sorry I couldn’t get an example of the top bar getting hidden or pull to refresh working. It was really difficult to reproduce.

- Being able to collapse the `Getting Started`/`Swagger Editor` frame would be nice (or to be able to control whether the viewer on the right is an additional tab next to the editor frame or it’s own distinct pane next to it), but that’s just personal preference. It would be helpful as someone who was consuming someone else’s API to isolate the features/content I need and hide those I don’t.

Jka9rhnDJos··on PC shipments decline slows in Q3 2023, but Apple plunges over 23%
I would prefer a comparison to pre- Q4Y20 (release of the M1 mac and the surge of companies replacing Intel macs) and pre- Q2Y20 (start of COVID and WFH mandates). or even Q3Y22 when they come out with the M2. If you trend it against those periods, how much has changed? Is it far below 2019? Companies were rushing to replace all Intel macs after the M2 (when it supported dual monitors), and are now falling into more of the standard 2-3 year upgrade cycle. If you take out those big sales spikes, do the sales look as bad? Or do they fall more in-line with the PC sales slumps?
Jka9rhnDJos··on Scrollbars are becoming a problem
Then change the setting? It’s configurable in MacOS. “Always visible” or “Visible when scrolling”.
Jka9rhnDJos··on Scalar: Generate interactive API documentations from Swagger files
I’m having a lot trouble navigating it on Safari for iOS on iPad.

- The top bar disappears behind the navigation bar of Safari and there doesn’t seem to be a way to get it to reappear. - I tried to refresh the page to see if it would re-render and put the bar below the navigation bar, but I can’t pull down to refresh. Something is floating a window inside the window and I’m just pulling that around. - Tried clicking refresh in the nav bar and it didn’t fix the hidden top bar. - It’d be nice to be able to collapse the swagger editor in the reference view. Right now the left navigation is separated from the documentation and request tester on the right by 1/3rd of the screen (that is not being used at all).

Jka9rhnDJos··on A suicide crisis among veterinarians
She’s 8. She’s not responsible for much of anything. She’s not mentaly capable of being responsible for making future career decisions. If she said she wanted to be an authoritarian dictator, I’d crush that dream fast. But she wants to help animals. And being someone that she looks up to, it doesn’t take much for me to crush a dream. So do I start crushing that dream now (her wanting to be a vet comes up weekly, so either I would ignore it or have to keep reiterating my position), and ruin any chance of her becoming a vet, or do I let her invest years into it before telling her I think her career choice is a bad idea?
Jka9rhnDJos··on Teens Love LinkedIn
100%. Everyone is portraying this corporate image of positivity, which is always above and beyond what is normal for a person because corporations (sorry, US Supreme Court) are not people and don’t have feelings and emotions. It’s said a million times but your employer is not your family, but it should also be said a million times that your work colleagues and industry connections aren’t your friends, either.

I think the news that teens love LinkedIn is as much of a reflection of the toxic positivity of LinkedIn, which to kids without life experience could be seen as “maturity”, as it is a reflection of the toxicity of other social media. LinkedIn is kind of a mix of what happens when you keep kids out, but also, the consequences for what you post and share and comment are immediately impactful to your employment. You don’t hide your LinkedIn from an employer like you do TikTok or Instagram. So you have to be much more careful about what you post.

Jka9rhnDJos··on A suicide crisis among veterinarians
My daughter wants more than anything to be a vet. Has talked about it for years. Reading more and more anecdotes and research about what it’s like being a veterinarian, I’m scared to continue encouraging her. We have a particularly medically-needy dog, and have spent $10k on procedures and vet visits over the past few years, and she’s really comfortable and familiar with being at the vet office.

In my position, would you encourage your child to chase their dream? Or would you be comfortable telling them every few weeks until they gave up that you don’t think they should be a vet? I’m asking in earnest because I’m torn with my desire to be encouraging and positive and tell her to chase a dream, with my desire not to set her up for misery or potentially suicide.

Jka9rhnDJos··on Amazon used algorithm to test how much it could raise prices: FTC
It’s called predatory pricing. Pricing products to eliminate competition is illegal.

If you sell Widgets and Sprockets, but you have a competitor that only sells Widgets, you can price of your Widgets so low (on 1-2% margins, for example) that the competitor is unable to compete and goes out of business because you can use Sprocket sales to keep your company in business during that time.

Now that the other company is out of business, the price of your Widgets doesn’t matter because you no longer have competition in the market. You’re getting 100% of the potential sales and despite selling on a lower margin, you’re sales volume is now way up making those margins acceptable.

You don’t have to worry about making a better Widget, or improving the Widget making process, because you have no competition. And you’ve priced yours so low, no other company can come in and attempt to enter the market because they can’t compete at your volume and margins.

If there’s a high-demand material needed to make a Widget, you can put pressure on the producer to lower material prices since you are now their primary customer, or purchase the company that produces it and prevent access to the material.

Predatory pricing consolidates market control and can be used to prevent access to the market. Anti-trust laws were designed to prevent this.

Jka9rhnDJos··on Everything authenticated by Microsoft is tainted
> I can’t for the life of me figure out how executives at big Fortune 500 move their workloads to Azure.

Because they’re not financially liable for the mistakes of Microsoft. They go to these services because they sign contracts offloading that risk to another company. If Microsoft leaks your entire datastore because of poor security on their end, you sue them for damages because ensuring the protection of your digital property is part of the reason these companies are enticing to use in the first place. They use Microsoft because everyone uses Office 365 because it integrates well with Active Directory which they’ve used for their corporate directory for 20+ years.

Jka9rhnDJos··on Everything authenticated by Microsoft is tainted
In many many many ways, they’re the same thing. GitHub Actions is Azure DevOps.
Jka9rhnDJos··on Ask HN: Why don't more middle-class Americans emigrate to Europe?
I like how not one of your considerations is family and familial support. I can’t move because I can’t abandon my child, and if I could somehow take my kid with me (legally, but that’s not happening since other parent would never give up her rights), I would arrive with no community or family to support me, emotionally, as a parent.
Jka9rhnDJos··on OpenTF is now OpenTofu
Yeah, but it buys 3 senior consultants, and they’re a fixed cost/capital expense and can be cut at any time. Operationally, it’s not that expensive to keep a Terraform platform floating. It’s expensive to build, and most companies need it yesterday. But bring in 3 people to support a team to build it in a year, then cut them free when it’s in v1, and leave your team to iterate and update. And now you’re not paying $1mm a year or more after that forever.
Jka9rhnDJos··on Infrastructure Manager: Provision Google Cloud Resources with Terraform
This isn’t really a service. All it does is deploy an infrastructure template into your GCP project. It won’t largely be for deployments on Google Cloud. It’s for automating Terraform, and whatever providers the customer wants to use.

https://cloud.google.com/infrastructure-manager/docs/view-re...

You, the customer, pay for everything deployed, and Google just pre-connects it to all their services for monitoring and maintenance. It would be like if Route53 on AWS was free, but it deployed a VM in your account, added gateways and nats, opened ports, etc., so that it all ran on discrete infrastructure for just you and you got charged for everything and had to do all the scaling.

If you’ve used their Apache Airflow product (Cloud Composer), it’s basically the same thing. With Cloud Composer, they are setting up an Airflow node and cluster on your behalf, in your account, that you pay for, and connecting it to their services.

This is no different than going to a consulting company and asking them to setup and maintain a Terraform automation platform in your account., which Hashicorp said was allowed. Google isn’t reselling it as a product. They’re setting it up on their platform on your behalf and giving it to you.

And there’s no reason you couldn’t switch it out to OpenTF.

Jka9rhnDJos··on Infrastructure Manager: Provision Google Cloud Resources with Terraform
Google has a history of welcoming the product on their platform without taking ownership or responsibility for maintaining it. It does the same thing with Elastic, Confluent, and Redis. I’m guessing Hashicorp is deploying infrastructure on Google cloud on the customers’ behalf. It’s not costing Google anything because they’re not reselling it. AWS does something similar with it’s Marketplace, but customers prefer the AWS full-service product rather than adding it to their environment by network peering or deploying templates in their account.
Jka9rhnDJos··on Infrastructure Manager: Provision Google Cloud Resources with Terraform
Google also wrote and maintains Go, which all of Hashicorp products are written in and use for free without contributing back.
Jka9rhnDJos··on Painting wind turbine blades black help birds avoid deadly collisions (2020)
According to the study linked in the article,

> Un-owned cats, as opposed to owned pets, cause the majority of this mortality.

So, we should start culling feral cats.

The statistic about extinct birds was done in Australia, and included foxes, stoats, rats, and other small mammals, as “alien predators” contributing to the killing of birds in Australia.

Jka9rhnDJos··on Docker Is Four Things
Which is funny because Moby split the Dockerfile format from Docker, so you no longer need the Dockerfile format to make Docker images. At the top of a “Dockerfile” is

    # syntax=docker/dockerfile:v1
Which is a Docker image that translates the declarative syntax into the commands sent to the low-level builder. That syntax is pointing to a Docker image name and tag (`docker/dockerfile:v1`) that Buildkit pulls down and feeds the passed commands into. Technically, that could be anything. If you wanted to put in the work, you could write a Buildkit frontend for Ansible or Chef and use that to configure the image.

So, on the list of “4 things Docker is”, they were wrong on the first one.

Jka9rhnDJos··on Full Speed Ahead: EV Study Reveals Impacts of Fast Charging
Yes, because

> They're the most heavily subsidized US company today outside of military contractors/weapons manufacturers

Without the American taxpayer doing more than their fair share to keep them solvent, they’d be selling at 30-40% more.

And they’re not selling. It’s why Musk started offering 84-month financing; to try and convince people to come buy them.

Jka9rhnDJos··on Hacking the LG Monitor's EDID
If you’re on a Mac and using a Dell monitor (I know it does it for the Dell Ultrasharp, not sure if it’s for all Dells), check your monitor settings to see if the computer is actually sending RGB to the monitor. Chances are, even over HDMI, it’s using YPbPr. Every mac I’ve ever used (20 or more over the past 10 years), and every Dell monitor (at least 5), the mac is sending the the display signal as YPbPr instead of RGB. Just Google, “Macos Dell YPbPr” and you can find complaints going back 10+ years.

I get a lot of computers to use for a brief period of time (consultant), and fixing that on Macbooks every couple months is non-trivial. Sometimes it’s impossible if it’s an older version of MacOS because older versions required overriding system files and booting into single-user mode.

Jka9rhnDJos··on When your classmates threaten you with felony charges
> I’m really confused why in the 2020s anybody thinks that unsolicited pentesting is a sane or welcome thing to do.

Because bug bounties?

Jka9rhnDJos··on New images and video confirm Austin-made Tesla model Y has cracked front casting
To provide my own anecdote, refusing to take any feedback except orally was how the Sacklers instructed their sales reps to handle issues and concerns about Oxycontin abuse. It was to avoid having any discoverable evidence that they received reports of abuse and did nothing about it.
Jka9rhnDJos··on Evergrande shares plunge as much as 87% as trading resumes after 17 months
The total of Chinese Corporate debt was $29 trillion in one quarter at the end of 2021[1]. More than the U.S. Government debt.

Who’s on the other side of those mortgages? The Chinese government.

[1]: https://www.spglobal.com/marketintelligence/en/news-insights...

Jka9rhnDJos··on n8n.io - A powerful workflow automation tool
Which is okay if they’re doing that from the start. They’re not waiting 9 years switching it after hundreds of thousands of free contributions.
Jka9rhnDJos··on For many home-schoolers, parents are no longer doing the teaching
If I can find an article about a parent molesting a child, will you support sending them to public school?
Jka9rhnDJos··on For many home-schoolers, parents are no longer doing the teaching
Right, because children are never abused at home…
Jka9rhnDJos··on OpenTF announces fork of Terraform
This all reeks of “Embrace, Extend, Extinguish.” Encourage the community contribute and use your project, help them setup and become integrated with custom extensions and plugins, then rip the rug out from under them and make them pay or else destroy their business.

I don’t remember ever being asked to sign a CLA back in 2016 when I contributed. But they moved my code out to a plugin which was kept MIT. That code was there in the core product for 5+ years while they were building their business. My contributions helped them build their business, and in turn, I used their contributions to help the companies I was working for.

They broke the covenant of OSS: You make your source open and MIT license it, you are giving it to the community to let them do what they will. That’s what the license says. But, in turn, you get hundreds of thousands of people contributing back, for free. Hashi puts in to it, the community puts in to it, and we all make a great tool. We send back bug fixes and write training blogs, etc., and they don’t tell us what to do with the project because they’re getting a lot out of the community anyways.

Hundreds of millions of people every day depend on OpenSSL, but how many people have contributed to maintaining it? How much of the web we use every day depends on ffmpeg, yet I don’t know anyone who has contributed to that project. Many tens of thousands haved blogged and promoted Terraform (et. al.) for free? Many thousands more gave talks and training, without any compensation from Hashicorp. The naysayers act like Hashicorp has provided everything to the OSS community and gotten nothing back.

- Terraform is written in Golang and utilizes gRPC to communicate between plugins and core. What if Google decided to re-license Go and gRPC and say that Terraform couldn’t use it because it was a competitor to Cloud Deployment Manager or that Nomad and Consul are competitors to GKE? It’s all up to the license holders to decide who’s a competitor and tell them they can’t do that anymore. - Hashicorp uses Lets Encrypt for their certificate authority for their website. Have they contributed back to that project, either monetarily or in dev time? Or do they just get free certificates for all their websites automatically provisioned from a public certificate authority supported and managed by other companies?

AGPL has nothing to do with it. Hashicorp wants all the contributions and bug fixes and blog posts and talks and marketing and promotion and support and training, for free, and also wants to be the only one to benefit. They should have never MIT licensed the code 8 years.

Jka9rhnDJos··on OpenTF announces fork of Terraform
That’s a hot take. Considering their repos has thousands more contributors than they have had employees, ever. Giving the middle finger to literally thousands of people who have contributored to the Hashi core projects, not including the tens of thousands that have contributed to the plugin ecosystem. Many doing it on company time. Many more doing it for free in their spare time. Millions of dollars worth of contributions in developer time over the last 7+ years. That Hashicorp didn’t have to pay a penny for.
Jka9rhnDJos··on OpenTF announces fork of Terraform
Hashi bought Atlantis.
Jka9rhnDJos··on OpenTF announces fork of Terraform
Not really. I was a frequent contributor to plugins and it was actually incredibly frustrating getting changes merged for many of them. Many you couldn’t test your changes without licenses that cost hundreds of dollars. They controlled the repos, but they didn’t maintain them.
Jka9rhnDJos··on OpenTF announces fork of Terraform
Remove the code from the repo, put it in another repo, probably. I don’t remember signing a CLA 7 years ago, but somehow they relicensed without me needing to agree. All my code was pulled out into a separate package/plugin that is still MIT.
Page 1 of 2Next →