skysight-inc/HackerNews huggingface dataset:
I think one of the greatest scenes in cinema was the end of Infinity War when Tony Stark snapped his fingers and undid all the damage Thanos had done
How I got out of my rut:

1. Moved across the country from Chicago, IL to Portland, OR

I don't know how people live in these massive cities with zero good nature to explore around them. Overcrowded, overpriced, overrated! What a miserable existence I lived! Now I go out and explore the Pacific Northwest which has a seemingly inexhaustible bounty of outdoor activities to do.

Additionally it made me realize my current friend group wasn't all that great. The people I met in Oregon are much more open to my artistic expression, novice as it is, and they in themselves are MUCH more accomplished artists than me.

Even with the houseless problem here, I have ZERO regrets.

2. I got organized.

I read two books:

- Deep Work

- Atomic Habits

"Deep Work" made me realize my basic methodology for getting shit done was broken. I need unbroken blocks of time to actually accomplish work. Which I express in my meetings with managers, and if I don't get that time, i make it clear why work doesn't get done.

Atomic Habits gave me a framework for how to actually get shit done. Instead of tracking "goals", which I have come to despise, I track time. It is less stressful, and is the real leading metric for achieving my goals anyway. Work + time = results.

3. I changed jobs

All jobs suck, but jobs that don't such TOO much are rare. I had 5 jobs in 3 years, and I have ZERO regrets moving on when something wasn't working. Businesses would eventually fail the "Clown Test" and i would start applying.

One thing I DO regret is quitting with nothing lined up. That was a brutal 6 months of searching.

4. I started listening to audio books when I run

Sometimes I still drag my feet in the morning before my run, but other times I am excited to continue the story i am listening to. Cut down massively on boredom!

This also feeds into the huge city thing: My route on my morning run is along a road with a massive sidewalk, alongside the Willamette river. When the sun is shining and reflecting off the river, it is a breathtaking view. So much more pleasant than the game of frogger I used to play in Chicago.

edit: actually, i want to add one more book to my list: "Laziness does not Exist"

You are allowed to take breaks when you are tired. Boredom at work is exhausting. You are not a robot, and if you don't have energy it needs to come from somewhere else.

Kinda sounds like your job sucks.
Oh god you just brought back a memory from when I was brought in to manage a team at a dysfunctional organization and I was trying to figure out how a complex service was supposed to work. I asked: "Do you have any documentation or requirements", I was told "The code is the requirements", to which I responded "Wonderful that means there can't ever be bugs because there will never be a discrepancy between the code and requirements".

Getting requirements in writing was an uphill battle and the lack of requirements always wound up screwing over the developers because there was no contract to prevent scope creep and the developers were the ones that were held accountable for misunderstood features and missed deadlines. As a result everything was constantly rushed and not well thought out. It took me a long time to convince my boss that the issue stemmed from unwritten requirements and a lack of planning.
A big part, I think, is differing European attitudes towards maintenance. If there's a bit of coating damage and a rust spot somewhere detected by a mechanic in the US, everyone involved is likely to shrug and not bother with any remediation. The customer doesn't want to pay to prevent a problem that will manifest in years, and there's more lucrative work the mechanic could be doing.
There is no academic context here in the parent comment, only social context. This example would fit the topic if it were about writing a thesis on reparations that was rejected or if the author was actively dissuaded from writing it.
> but that will implode real estate and hurt a lot of homeowners

You can’t have your cake and eat it too. Homeowners need to get hurt in order for housing to be more affordable. Housing taking up huge chunks of earnings is a terrible state of affairs for citizens and the economy.
That's what I would call 'brittle tests'.
so basically Google C
Actually no, the burden I referred to was -- unrelated to stacked vs serial PRs -- specifically the GP's practice of requiring that tests fail in CI.

"rule that there must be 1 commit just introducing a test that fails on CI for bugfix PRs"
This is oft repeated, but once the cost of renewables is low enough it would have (usually un-modelled) second order effects on end users which may make this less important.

Some industries literally can't turn off production without damaging plant, but if some can then where energy cost is ~30% of fossil/nuclear than it might make sense to over-provision industrial capacity and only run it when the sun is shining.
This reads more like a question for Stack Overflow or https://softwareengineering.stackexchange.com/ than HN, to be honest.

You sound like a junior developer looking for guidance.
This is great, using actual CDE is abysmal. I didnt get very far installing CDE, but I remember WindowMaker not recognizing full screen YouTube videos, I wouldn’t be he surprised if CDE was the same.
Porsche started galvanizing their bodies in the 1970s, VW started in the 1980s, Japan only started galvanizing their bodies in export markets, in response to the germans, and only recently (last 15 years) have been galvanizing all their bodies domestic and import.
Ah. So that's where the leap second schedule is stored.
People are OK with leaders making decisions that result in them living in accommodations that people in the US and other western countries would deem unacceptable, mainly relating to quantity of livi by space and storage and usage of personal cars.
that's a poor example of "modern". I've seen tools/parts that have been lying around wrapped in oiled paper since the 1930s, without a hint of rust.
Also I think it would go through legal system in a few years and end decision is that clock-midnight is one that will be followed.

Or even have legislation to agree on that and set single law.
> If they're not, the law needs an overhaul

How many times have we thought that in the last 10 years?
It would probably even be okay to make the corrections only in whole-hour or half-hour steps, to avoid odd timezone offsets. The Brits however won’t like losing the 0-offset GMT.
Nomad deploys as a single small binary https://www.nomadproject.io/docs/nomad-vs-kubernetes/alterna...
We still consider a place outside Berlin / Brandenburg. Still that does not change the fact, that the current state of affairs here is hard to digest. We also and especially look for a "warmer" and "brighter" region. German winters tend to be hard, not because of the temperatures, but because of the hours of sunlight. However, thank you for the suggestion, we'll definitely check them.
> Tesla's tend to be even higher because of the larger batteries and less efficient production

This is false and actually the opposite is true. They actually used Model S sedan figures (3mi/kWh) for efficiency to compare to Camry sized vehicle. The more appropriate comparison is to a Model 3, which gets 4mi/kWh.

People underestimate how efficient Tesla’s powertrains are compared to most competitors. Tesla tends to do much BETTER at efficiency than their peers, not worse.
San Francisco Races Clock for Comeback with Tech Gloom Deepening
In the case of Apple in particular, I think the bigger cry will be from tech companies shipping paid apps who see this as a first step towards expanding Apple's 30% cut in the app store to all native applications.
Isn't the Mazda 3 a really, really popular and pretty well-regarded car?
Well, except it's Good Marketing is Good and Bad Marketing is a wretched hive of scum and villainy.
>First of all, preregistration is not a requirement for the scientific method, which has functioned well for centuries.

As has been said before, the problem is that the scientific method is right eventually. It can and often does get stuck for decades at a time, if someone with, shall we say, durable beliefs gets tenure, amasses political power and shoves their rivals out of a field. The amyloid hypothesis is just the most recent example.

Modern metascience practices (preregistration, blinding, banning "garden of forking paths" subgroup analysis, demanding high p factors and larger n) don't replace the scientific method, they're supposed to speed it up! But, by definition, these are all political issues, so they attract political arguments.
> You probably wouldn't be satisfied with a "nothing to see here, they're just enforcing their policies against advocating violence."

I kinda would, though, but I'd phrase it more along the lines of "Nothing to see here, just a garbage website doing its trashy thing."

Cancel culture types don't seem to understand that refusing a platform to other people based on their beliefs is a right, which comes along with the right to free speech. I'd prefer if pro-choice positions weren't banned, but if a website wants to ban pro-choice, anti-gun, pro-gay, or non-QAnon positions, then they have the right to become a cesspit by doing so. Likewise and in exchange, other websites retain the right to ban anti-choice, pro-gun, anti-gay, and QAnon/neo-nazi views.
Funny that you mention Volvo and I'm reading this today, since this weekend I was commenting to a friend that my 2004 XC70 had not a bit of rust even though it has spent all its time in the NE. I see so many much newer cars driving around that are very rusty.
To keep narrow waists between your software layers.

A low surface area API means clean, elegant code that is simpler to use and understand.

>To clarify, I'm only talking about code in the same project that everyone has access to. I'm not talking about defining an API for other people to use that don't have access to the code, like when you make a library.

The concept of API still applies to same codebase modules. Ditching it is the shortest path to spaghetti code.
Do you only need a payment gateway?

I'm in Europe and there is a lot more to accept payments here:

You need to ask the customer for their location and then calculate VAT and other tax details depending on where they are.

You need to ask for their address and send them an invoice.

You need to store all that data and create tax reports from it.

I have not started to sell digital goods yet, but I am planning to.

Any tips on payment providers who abstract all of that away?

I think the payment provider then has to be the one from whom the customer buys the service and your "customer" is the payment provider?

I'm surprised there is not a big player who handles this for all online merchants around the world already. It must be a giant business.
- The opening long shot in Touch of Evil with the ticking clock building suspense.

- The final scene in La Haine is devastating.

- The final scene of Sweet Smell of Success for pure cynicism.

- Pretty much all of The Wages of Fear for suspense, but if I have to hold up some scenes: 1) the confrontation in the restaurant; 2) the platform scene; 3) the boulder scene; 4) the Blue Danube scene.

- The raw emotional impact of the final confrontation in Secrets & Lies.

The NYT has a series of "Anatomy of a Scene" videos. These are mostly not very notable scenes, but it's still interesting to see what goes into them:

https://www.nytimes.com/column/anatomy-of-a-scene
You don't need non-GC stdlib for C++ interop, though.
Any chance that your list is organized in a way that you wouldn't mind sharing it? I've been on a documenting spree the past few years at work (after ~14 years of not documenting much), and it would be great to see your decades-long process notes. I totally understand if that's your secret sauce and you'd prefer to keep it that way though.
For housing to be a good investment it has to be competitive with other investments, meaning much higher than inflation.

Since housing is a large and increasing portion of CPI, this is mathematically impossible. As housing increasingly dominated the inflation calculation it determines inflation. QED.
> Now, most people spend a majority of their time in a locked down environment (phones and tablets) consuming locked down content (subscription only, on approved devices). The default 15 years ago was open, now it is default closed.

I love having the choice. Most of the time I want the locked-down thing. A bunch of extra "freedom" I'm not actually using is just a hassle and liability when all I wanna do is take and crop some photos, or do some writing, or whatever.

Now we have that option, and then also general-purpose computers are so cheap and widely available that you can easily score decent ones for free.

Far from being some computing apocalypse, the situation now is excellent. Computers were a barely-tolerated near-failure for most normal use cases, but now there are options that don't suck for normal people wanting to do normal things. And general-purpose computing is more accessible than ever.

Maybe some Dark Age of Computing still lurks, but it's not happened yet, and things have only gotten better so far.

IMO the worst thing about the current computing era are the handful of Web monopolies and the way "AI"/machine-learning has mostly enabled systems working against us rather than creating agents working entirely on our behalf.
There was a tool called ksonnet for this (jsonnet + a default library for k8s configs), but the company behind it got bought and it's no longer maintained: https://github.com/ksonnet/ksonnet
Marketing is a hard skillset, and I think it's important for folks in engineering to respect it. I think it looks really easy when it's done well, but so many devs have OSS tools or products that they've worked on and can't get users for. This is a marketing problem!

I love book Obvious Awesome's tagline, which is "I know my product is awesome, but why doesn't anyone else?" This is the deep truth of marketing -- trying to explain your product to people in a way that shows it's value.

We've struggled a lot with this on the small product we've been working on EthicalAds. Trying to build good landing pages, running free ads ("house ads" on our own network) that point to the landing pages, and optimizing these two together. It's incredibly difficult to write good ad copy and then landing pages that explain what your product does in a clear way. It's a super power when you have the skills though.
> While you're right in part, I think you're missing how today everyone want to move in only a few cities and small town economies are dying in many countries.

That's not really new. The big cities in the United States grew dramatically during the 20th century, at rates far higher than they are growing today: For example, a hundred years ago cities like Detroit, NYC, Chicago, San Francisco, Los Angeles etc. were growing far faster than they are today.
> And by reprisal I mean the following: if I were to merely discuss --as in, not advocate for, but merely discuss as a concept -- reparations, I'd immediately be dismissed and generally forever known as the angry black guy.

As someone who was in college at roughly the same time, this doesn't sound like what I remember. Google scholar shows lots of academic discussion around reparations at that time (I'm assuming you mean for slavery, so I searched specifically for that) [0]

I'm sure it depends on what institution you were at and who you spoke to, but I don't think it was at all a taboo concept generally speaking in American academia.

Edit: Further googling found that there were even state legislatures creating legislation or resolutions in favor of reparations in the 1990s[1]: "In 1990, the Louisiana House of Representatives passed a resolution in support of reparations. In 1991, legislation was introduced in the Massachusetts Senate providing for the payment of reparations for slavery, the slave trade, and individual discrimination against the people of African descent born or residing in the commonwealth of Massachusetts."

[0]: https://scholar.google.com/scholar?q=reparations+for+slavery...
[1]: https://www.aclu.org/news/racial-justice/reparations-has-the...
Do you have any links to his work?
No.

I think that compared to the giant hairballs of absolutely unmanageable spaghetti classes when done right have made larger scale projects tractable to mere mortals and have significantly improved software maintenance.

Classes done wrong (hundreds or even thousands of classes that all do almost nothing) are a terrible anti-pattern and should be avoided.

The exact same thing goes for services. And in fact for any tool used in a really bad way.
I somehow got the impression that kind of restriction was illegal in California, although I guess it's like a lot of things in the legal domain: those who have the most lawyers wins
In fact, solar on roof often loads the local grid in unhelpful ways (they were designed for asymmetric loads).

I'm in favour of renewables, but done in the way that actually makes most economic and environmental sense. In the Uk we threw money at rich people with £15k to install 4kwh solar rigs on their houses. That money would have been much better spent subsidising large industrial installations.
We watched it recently after decades of hearing how great a film it was.. it was a superficial letdown instead.
Measurements of the similar k-nucleotide programs show that effect — N=250,000 compared to N=2,500,000

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
This periodic adjustment mainly benefits scientists and astronomers as it allows them to observe celestial bodies using UTC for most purposes

This is incorrect, dealing with leap seconds is a major problem in astronomy, requiring a data file or even recompile any time there is a new one announced. Since they are only ever announced 6 months in advance, it creates a lot of logistical problems.

Astronomy algorithms usually work in Barycentric Dynamic Time, or Terrestrial Time, or UT1. In reality the whole invention of UTC is so that people don't have to deal with those systems on a daily basis.

The process most astronomy programs go through is to get the UTC from the user, convert the Gregorian date to a Julian day number to get rid of the Gregorian Calendar altogether. Then look up the number of leap seconds, add those to the JD to get International Atomic Time, then add 32.184 seconds to get Terrestrial Time. If Barycentric Dynamic Time is needed, you must first compute the velocity of the Earth relative to the solar system barycenter (which itself requires TDB), then compute the relativistic effects of that motion on Terrestrial Time. If you need UT1, these can only be obtained by observation from the International Earth Rotation Service, and required daily updates, and interpolation of values in between observations.

So, as you can see, leap seconds do nothing to make an astronomer's life easier. In fact, we jump through a lot of hoops to make the average person's life easier. It sounds like Meta wants to change the definition of time for everyone just to make their programming a little easier. I find the very premise just out right ridiculous.

It's true that your average person will not be affected by the Sun setting a few seconds earlier. But eventually it will build up enough error that it eventually has to be addressed, and Meta is just trying to make their problem someone else's problem.
Yes, but UTC could be just another timezone, and every timezone would be based on seconds offsets of TAI
The majority of CEQA lawsuits today are about shadows and impacts on vehicle traffic/parking; they have nothing to do with "the environment" as most people think of it.
For a similar term that can confuse outside audiences, see: https://en.wikipedia.org/wiki/Fictitious_force
> I'm not talking about defining an API for other people to use that don't have access to the code, like when you make a library.

It's for the same reasons. When you write code you are always writing code that some other human will consume through an interface of sorts. Even on small three person projects two truths hold:

- Your project mates are other humans.

- Your future self is an other human.

By defining members as private you're announcing in code to other humans that the private members are important only to the internal implementation of the class and should not be used elsewhere. And yes, your future self with thank you for the distinction.

Now, you don't need to have private methods. In some languages, a work around is to label the methods as "private" by adding a prefix of some sort like an underscore.

Another more functional reason has to do with inheritance. Private methods have different behaviors in different languages when inherited.
Okay... but what's the joke about it? The Wikipedia article just says it's a small park that overlooks a highway. The article you linked says it was vandalized, and was once used as a joke on the radio show.

Is a park in a city overlooking a freeway really that weird?
Pretty interesting, thanks!
you sound far too confident in that answer for it to be the actual correct answer.
Cannabis interacts with dopamine, I‘d recommend anyone with low motivation to stop it for a while and see if that helps.
Depends if you define a solved problem as a problem with a known solution (theory) or as a problem people still pay the cost for in the wild (practice).
Absolutely! For me, comprehensive testing is key to keep things clean over time. Not sure why this didn't come to my mind when writing the article. I think I was somehow assuming that this is a necessary pre-condition anyway.
Galvanized sheetmetal with a good quality coating will last you a lifetime.

But beware of accidents, make sure all the seams are checked near the point of impact and some way back from there.
It's actually more if a mechanism to spend less time commenting on hn.

Unfortunately this depiction of Germany triggered me ;)
Thank you, yes. I can’t edit
my comment anymore. :(
I don't get why 3D authentican is a problem? That's just baked into my CC app?
That's probably how jehowah witnesses persuade newcomers to join the cause: "Our tight-knit communities are safer, greener, more social places to live. We need to stop subsidizing the sin thay corrupts men from within!"
I look at duckduckgo, they do tons of Top of Funnel advertising like billboards.

Do you think that they should cease this type of advertising and just try and show up when people search "privacy conscious search engine"?
Take the payment in USD using Stripe, connect it to a Wise borderless account, and let Wise handle the currency conversion.
I've been programming in Vim for a very long time and even though I use some of the available jump commands, I still find it very useful to have a fast key repeat rate. In most cases it's simply faster to start going to where I want to go, instead of calculating how many character to jump left or right, how many lines to jump up or down or find the closest unique pattern of symbols to search for.

It's just bizarre that Mac OS has such a small cap on the Key Repeat rate. Wondering if there is a way around this.

Edit: I do have a powerful plugin [0] for jumping which I often use, but still - in some cases I just want to scroll all the way there. Fast.

[0] - https://github.com/justinmk/vim-sneak
> if you believe that Unix timestamp doesn't have leap seconds

If you have a source for leap seconds in Unix timestamp,
please post a correction to Wikipedia.

https://en.wikipedia.org/wiki/Unix_time

UTC has leap seconds, and so Unix time can be converted to UTC, for the era in which UTC-with-leap-seconds is defined (after ~1972)
Midnight isn't midnight for absolute vast majority of people. Even with right sized timezones. That is one spreading from edge to edge...

And then there is continental shifting... Which we also don't account for...

A few seconds or few minutes really don't make that much difference for average person.