skysight-inc/HackerNews huggingface dataset:
I've been using k3s on Ubuntu (for development) for a while, and I switched it to ingress-nginx and cert-manager... It was always straightforward.

But I must admit it's easy/easier when someone else is managing K8S for you, be it DigitalOcean or Tencent (which I have experience with) or AWS / Google Cloud.

K3S is quite comparable to Docker Swarm though. I liked Swarm when I developed SSLPing because of its simplicity compared to K8S, but once you learn your way through K8S, there's no point sticking to Swarm I think...
In the electronics field, a niche project means less economies of scale, a much high COGS and a higher final pricepoint.
I’m not sure of the underlying reasons, but I know most employers make it slightly cheap enough to be more affordable than Obamacare. But it’s still insanely expensive (ex: I pay $1920/m + $22k deductible for a family of four).
I’ve been using DOS, Windows, Mac OS, Linux, and now macOS over the past 30 years. macOS is still the least shitty OS out there from a user point of view, in my opinion. Window snapping on Windows and various Linux environments makes my blood boil, so I have never missed that in macOS. Also, it’s hard for me to accept that Windows has better UX than anything. There are at least two different UI frameworks at play in Windows, the new Windows 8-derived stuff, and the classic Windows 2000/XP Win32 UI, with abrupt transitions between the two. I don’t know how this ships. Microsoft certainly has the resources to fix this, but chooses not to. They just don’t care. So I suppose Steve Jobs was right, they have no taste. In a strictly utilitarian sense, none of this matters, but if the user-facing side is this bad, what are they allowing to slide under the covers. In addition to the vastly different UI idioms in Windows, there is a lack of organization and level of convolution that makes relatively simple things hard (finding how much RAM a system has), and somewhat more technical tasks maddening (e.g., changing the MTU on a network interface). I’ve used Windows 3.1, 95/98, NT 3.51, NT4, 2000, XP, 7, and 10 over the years, and it just keeps getting worse. Maybe I will try ReactOS one of these days.
If you're reading this, Eric, you and your team kicked ass with your product line (well, most of them) and tooling and I still tout Pebble as the best smart watch ever and it's a shame it went under.

The biggest quality it had IMO was battery life due to eInk. As a hacker I loved your tooling as well.

I'm happy I was part of your space by creating and submitting a watchface. I see tooling like Playdates latest effort and it reminds me of Pebble's.

Thanks for that sweet period of watches. Still waiting for something to do better.
Surprised the FAQ doesn't say anything about encryption/privacy.

The big selling point for Signal et. al. is knowing that corps/govs/etc can't spy on my conversations. If I was going to give another app permission to use my Signal, I'd need assurances I'm not sacrificing my security.
Yeah, even if you just arbitrarily chop 20-30% off of US healthcare costs--which aren't just from the pockets of fairly low margin insurance companies, the money still needs to come from somewhere. So maybe a random individual can get a decent insurance plan for $5K/year with a family plan something north of $10K without a company paying. I expect a lot of people would still not find that reasonable and would want someone else to pay for it.
How is Oculus not "The best case scenario is to exist long enough to get a billion dollar exit from a major tech company"

But I would say the Raspberry Pi is an excellent example.
> “Take out anything with a screen in your living room”, the critique goes, “there’s no way to tell if your house was built in the 2010s or the 1970s.”

Where I live in the UK, this is very much the case - except my house was built in 1890.

Visually my house looks a lot like any house built today. Yet, the only structural improvements it's had since it was built are that gas central heating/DHW, double glazing and electricity were installed. The fireplace was also upgraded for clean air standards. No AC or ventilation, but modern UK houses still don't incorporate that.

Now there are a bunch of invisible differences between my old house and a modern one, for example it doesn't have a cavity wall so the walls can get pretty chilly on cold days. Also most of the internal walls are brick rather than plasterboard which makes it hard getting good WiFi. It is nevertheless surprising how similar it is to a modern house despite being over 100 years old.
I also panic whenever possible from the caller, in which case I get a pretty clear stack trace. I understand you don't always want that but imo I don't have a lot of cases where I'm ultimately throwing my hands up on a non-exception error.

I think V2 errors are taking more of a lead from the pkg/errors error.Wrap approach anyway.
Ask HN: How do you back up your Notion data?
Everything about our startup, all my work, and personal life is in Notion. Atlassian's blow-up has gotten me rattled, and I want to have a good way of backing up my Notion data.

I've done the Settings > Export content > Export all workspace content, but are there better ways to export the data in a way that can be used/imported back into Notion or into other services?
We provide a state-sanctioned answer in cases where parents are inadequate — known as sex education.
No idea what people have against newline characters, but `if err != nil { return err }` is valid Go code.
I minimise them quite frequently these days for something I want to tuck away. A good way to surface them is the "App Exposé" feature (Preferences -> Trackpad -> More Gestures). Shows all the hidden windows for the current app.

It's different to Windows though. If they're looking for something more similar to Windows, maybe Command+H (hide the active app) is a better alternative.
One thing I've found is that things used to be a lot simpler. We've added tons of complexity in the last 15 years, but the fundamentals of web pages and the UI controls in them largely have stayed the same. We've largely moved backwards. And what's worse, I can't even hire junior devs who know how to do things the old simple way anymore. It's framework or bust now.
In fairness, I don't think most end users are plugging in four monitors, cut and pasting folders, or playing 25 year old games.

And all those things are very user-specific and better for some than others in different places. I have a Dell from 2017 that won't run an external monitor with the lid closed out of the box, it'll go to sleep. I tried playing Total Annihilation (another 25 year old one) off GOG on it and it didn't work - using either Linux or Mac (I forget which one it was) worked because the emulation layer it was using for Windows was more compatible with an ancient game than real Windows 10.

I think today's "average end user" for a Mac would propose examples more like "the Messages and Photos apps is synced with my iPhone out of the box."
I just looked at the Chicago to Boston train and it's 22 hours long? That seems...lengthy?
Building Lightning Network and Bitcoin Companies
If you're using MS SQL Server it natively supports temporal tables, which take care of this problem for you. There's also an extension for Postgres, and of course triggers.

Temporal tables should really be used more often.
He was awarded the Nobel Peace Prize in 2002, and I think by now he is a national treasure, but it isn't enough. I think President Carter should be beatified and canonized a saint, and that this be done while he's still alive. I also think we should clone him for all kinds of reasons.
As far as I can tell the coiner standard position is that the person who you transferred it to is the rightful owner and you shouldn't have options. They've latched onto a huge flaw and declared it a common good.
It's 2022 today and they estimate to complete the project in 2024. Italy had electrified lines in the 1930s, for comparison. There is really no excuse however you look at it. I guess better later than never.
Why do you believe errors are annotated by definition? They aren't?

Panic isn't an ersatz error mechanism.
He makes a good point that work computers especially benefit from sane defaults so anything the OS doesn’t do well out of the box (even if fixable 3rd party) is no-go for many users.
World’s Skinniest Skyscraper Towers over New York’s Central Park – It’s Now Open
> The most effective thing is just to dismiss them. Honest readers understand what you are doing. That's the most effective response.

So then just don't respond to me...?

This is the weirdest overall response I think I've read on HN. Probably explains the "I'm not a troll." disclaimer.

Anyway, have a good day.
American rail is hyper optimized for freight, not people.
This would be fine if we were moving towards canceling thoughts, and not people. In a hyperconnected society where everyone is watching everything all the time, we're all bound to be cancelled for something eventually.
As long as you keep a low profile and not blase about your unusual work history, I doubt anyone would care enough to litigate you.
Somewhat amusing that the article starts off using a parable from the bible. Maybe it's more amusing to someone outside the the US.
It really injects a lot of unnecessary negativity into the conversation when you start with that common snide implication along the lines of "this will get downvoted, but...". It's a hostile attitude, and is dismissive to the replies of your audience before you have even heard them.
No, nobody is actually paying for CO2 emission externalities. At best, you can argue that maybe someone will be paying them some day in future, but it’s a big fat maybe. Because nobody is actually paying for these externalities, we don’t have any figures of how much those externalities cost — you can come up with some estimates, but as GOSPLAN experience shows, calculating prices outside of markets is a fool’s errand. Moreover, our best estimates of these costs is rather low, especially if you do time discounting. Planes would still be cheaper than trains even if they had to pay these. Finally, since most of electricity in Europe still comes from fossil fuels, emission externalities are just as much of a problem for them as they are for trains, especially if you consider that the GHG emissions per actual passenger kilometer between trains and planes are rather similar: trains tend to be really heavy, and usually run much more empty than planes.
Have you not read the article? They quote a US official. It's in English news everywhere because it's the something the US government wants to make happen!
Or just hit cmd-space for spotlight search?
By RPC, they mean remote procedure calls that "look exactly like local ones", indistinguishable (or undistinguished).

> Our criticism of RPC concerns the advisability of its use as a general communication model, for arbitrary applications.

> ..Imagine that two programmers are working on a project. Programmer 1 is writing the main program. Programmer 2 is writing a collection of procedures to be called by the main program. The subject of RPC has never been mentioned and both programmers assume that all their code will be compiled and linked together into a single executable binary program and run on a free-standing computer, not connected to any networks.

> At the very last minute, after all the code has been thoroughly tested, debugged, and documented and both programmers have quit their jobs and left the country, the project management is forced by unexpected, external circumstances to run the program on a distributed system. The main program must run on one computer, and each procedure must run on a different computer.

> It is our contention that a large number of things may now go wrong due to the fact that RPC tries to make remote procedure calls look exactly like local ones, but is unable to do it perfectly. Many of the problems can be solved by modifying the code is various ways, but then the transparency is lost.

That's quite different from what I picture when I hear the term RPC, as a style of API design like gRPC, where it's clear and obvious that the calls are remotely made, unlike local functions.

gRPC: A high performance, open source universal RPC framework - https://grpc.io/

But then again, Wikipedia's definition also mentions RPC is coded as if it were a local call.

> In distributed computing, a remote procedure call (RPC) is when a computer program causes a procedure (subroutine) to execute in a different address space (commonly on another computer on a shared network), which is coded as if it were a normal (local) procedure call, without the programmer explicitly coding the details for the remote interaction.

https://en.wikipedia.org/wiki/Remote_procedure_call
Unless something has changed, Java checked exceptions aren't explicit--it's not generally not possible to tell whether a given function call can raise an exception without inspecting the signature of that function.

> Though personally I feel in this case defaulting to rethrowing uncaught errors is better. Since that's the 99% case. I'd rather it be zero line.

This is ambiguous with the "doesn't error at all" case. If you're looking at source code `foo()` you can't tell whether that's equivalent to `if err := foo(); err != nil { return err }` or just `foo()`. You have to check the function signature to see what the return arguments are (or in Java's case, whether or not it throws).
Yeah I can imagine if you were a business traveler this would be a nightmare
Funny thing is local politics is dying. Your hypothetical statesmen are rallying around how much they hate the other political party, and what they are trying to use the federal gov't to accomplish. That Floridian basically has everything in common with that Californian, as long as they are on the same side of the political divide (give or take one or two "contarian" positions within the tent).
Quite deadly in the end. But along the way, there are lots of disabilities caused by it. Heart problems and the circulation problems are the main ones.

Circulation problems are the worst because they act in slow but insidious ways, and can lead to loss of feet or legs due to gangrene, eye problems slowly leading to blindness, and very probably brain problems leading to dementia. Not a very nice progression at all.

Type 2 and Type 1 Diabetes have different causes, but they both progress along the same path.
Are you located in the United States? This hasn't been my experience. The closest I've had is the office manager determining that I would owe a co-pay or co-insurance and be asked to settle that day. It's always an option to decline and ask them to send you a bill in the mail, which usually does come a month later.

What sort of service provider asked you to pre-pay?
I came to here request a picture also
User feedback is not about taking what they say at face value, it’s about all the other nuanced things they do when you present them a solution to their problem. You have to understand all the minutia like their facial expressions…stuff like that. Most people don’t do it well from what I’ve seen. From my experience, you ask people if they like something and they say yes a lot, and that it’s wonderful. It’s still about solving something / doing something better - to discover that, you really need to understand humans. Lots of quick iteration and more user feedback is important until you get it right. You will know when you get it right.

Then…well, try to build a team that can actually iterate quickly, deliver on time and without tons of bugs (good luck) - startup life. I guess lots of investors are like, well, 1/100 people will do product discovery and execute on the product properly and get a return for everyone, and that’s good enough. It’s not easy. And a side note, you outsource it and those firms are sharks knowing that 99/100 startups will fail and they’re happy to do product discovery services which are trash, build your product with tons of bugs so you can’t get off the ground, and when you fail - do it all over again with the next funded startup. Bottom line - you need some very talented folk to execute all of what you are asking…it’s kind of next level in my opinion. Like, think of it this way - to be very successful I feel that this product person must not only understand themselves well, but other people individually, and society as a whole. How many people do you know like that? Please provide more insight / correct me if I’m wrong…
I tend to avoid doing this, for reasons someone else described in a comment (https://news.ycombinator.com/item?id=30993390): some programs spit --help output to stdout, but others to stderr, so you wind up running it a second time as “my_cli --help 2>&1 | grep ...”.

In addition, if I don’t perfectly know what I’m searching for, I’ll often get the regular expression wrong. So I prefer to check the manpage first, since it’s a lot quicker to try different search strings in my pager than by repeatedly modifying my previous command string in the shell.
Is it? The author self-described the written article as a rant, and here on HN the title presents it as a neutral "impressions from a first-time user". I think you may want to do some introspection before accusing people of failing to grasp contexts.
Hey, thanks for the breakdown. The Oracle gig is W-2, not 1099, that makes a big difference with taxes no?
Not All There
Random scribbling here, but, i feel like America has been the idiots wearing the dunce cap ongoingly for a long time.

But we're finally seeing some real world events & consequences across the world that mirror our internal battle of values, seeing what heavily regressed shelted "anti-political" naivety & other declared antipathys & worse maledictions happening on the world stage look like, far & wide. It feels like there's a lot more examples of very ethnocentric, me & us thinking playing out on the world stage. Personally I find it scary but I think this system shock has a distinct potential to help the world reflect, to decide on stronger more pan-human values, in the face of these upswelling raging distinctionalisms.

In some ways I do worry, that isolationist & nationalistic programmes may see some sucess. But by & large, I feel that there's some pretty clear moral groundings staking it out, have been for a while, and seeing a lot more cases on the world stage, seeing more consequneces of what exclusivist policymaking really looks like is a painful painful painful lesson, but one that will illuminate & recalibrate us all, will help remind us & scare us our of some of our pervasive & monstrous behaviors.

I have some hope we can keep learning & watching, that the parallax view of other countries undergoing the sick battle for it's soul America has suffered & whether that & the law/system is for a very few or for a general public benefit-- I have hope.it carries the world towards caring & concerns. Tbings seem to decidedly be getting harder & worse. I feel like huddling closer has been a natural response, but ultimately has been tinged with cruelty & defeatism, and that we can start to recognize more how weak & scared & isolated responses- when we see them happening elsewhere- look bad, and dont help. I hope we can see the morality & logic of the situation better, seeing more of the world undergoe it's own self-crisis, it's anti-belief in structure & governance & trying, and find remewed vigor to work collectively for better. Just a hope, a small little one, but it feels so new to me to see this struggle playing out more widely.
Exactly. Some people like chocolate ice cream and some like vanilla. I never understand the need some people seem to have for these posts. It’s not going to get me to change. I like my Mac for my own reasons, and that’s all that matters.
Ok. Why do they offer health insurance plans beyond the minimum? Why do they pay above minimum wage? Why do they offer beyond minimum PTO? Equity options?
From the article :

"Together, the 84-story skyscraper and Steinway Hall feature 60 condos designed by Studio Sofield. Among them are Residence 70, which was picked up by an international buyer who only ever viewed the apartment virtually and signed for it less than 30 days later. Meanwhile, the tower’s Triplex Park Loggia Penthouse 72—currently the most expensive unit in the building to date—has listed for $66 million."

This building was featured in the PBS series Impossible Builds here :

https://www.pbs.org/video/skinny-skyscraper-logw2t/
> The whole point of cloud computing is the on-demand scalability.

True, my system is fairly static. But it scales when I need it. As mentioned, it's for my personal use. "on-demand scalability" is a bullshit buzzword in this context. My goal was to buy a machine capable of several specific tasks.

> That 64 core server is probably sitting nearly idle most of the time
> ... plex media server
> ... encoding
> ... game servers
> ... that instance is going to be off 20+ hours a day.

Not those tasks :-) I have no trouble maxxing out my disk IO and memory, slightly more challenging to keep my CPU busy but it's keeping an average load of 4-8.

If you can't keep a machine busy, just turn it off. Simple as that. I would not have bought such a beast if I didn't have a plan keep it busy!
The idea here is that there's 2 things: The token (a Symbol() or something) and the scope of capabilities which that token gives you. The capabilities themselves are stored in a Map that you don't control. Javascript function scopes give us everything we need to hide that map and make sure nobody can modify it. The only methods which are exposed are things like getScopeForToken() which reads from the map (and does a deep clone) then returns that scope object.

In privileged methods like fs.writeFile(), you don't pass the scope. You pass the token. And that method would explicitly go and check if that token has the scope that it needs to write to the passed path.

But I do hear you about playing defense. I mentioned it in the post - there's probably a bunch of subtle ways you could use javascript to mess with things. Covering all of these cases would need some serious rigor.
> …whereas Windows historically made choices that developers prefer.

And more recently, what marketing wants. Windows is insanely pushy about Edge and Teams, with the latter even being tied to a key shortcut that I keep accidentally hitting.
Pointers Are Complicated III
Thanks for the kind note! I think there are a few Pebblers working on the playdate ;)
> You lied to get in. By emphasizing your strengths and hiding your weaknesses. The employer did the same thing.

One of the most powerful tools I use when interviewing senior candidates is being brutally honest about the company's weaknesses. Implicit in the act of hiring is the reality that you have a problem you need an employee to solve for you. Pretending those problems don't exist is bizarre.
But perhaps there is a middle way. Many of us care too much, and each subsequent difficult - or bad - decision drives us deeper into burnout. It's not healthy. In which case GP's attitude is the right one.
> That'd be a good trick, given that there were no Nazis until 1920.

It was in a work published starting in 1902 (though the part concerning late-stage capitalism was published in 1927) by a German Marxist [0] (at the time he wrote coined the term) who became a nationalist in the Weimar era to the point that some of his writings later in the early 1930s apparently aligned to a certain extent with Nazi ideology, but who was putting out anti-Nazi writings (actively suppressed by the Nazis) by the late 1930s.

So, while “by a Nazi over 120 years ago” is not really accurate at all, it has some recognizable connection to facts.

[0] https://en.m.wikipedia.org/wiki/Werner_Sombart
As a total outsider to the audio programming world, what's the best in class framework / environment to be writing plugins in in 2022 if one were to start today?