skysight-inc/HackerNews huggingface dataset:
I'd kind of like if there was some ability to have more complex multi-part TTLs as an option along with a default TTL (the current one). So I could specify

Default TTL: 12 hours;
[<startdate> to <enddate>] TTL: 10 minutes;

or even

Default TTL: 12 hours;
[Thu 0000-1200, repeating]: 5 minutes;
[<startdate> to <enddate>] TTL: 10 minutes;

So with no further effort all downstream caches/clients can basically have advanced notice of regular maintenance windows as well as planned maintenance and just automatically adapt. Of course this wouldn't deal with true emergencies, but it might lower the overhead for a huge amount of regular stuff that otherwise tempts people to set it low and leave it that way.

I dunno, I'm sure there's other downsides I haven't thought of, and proper implementation would require thinking through side effects. But after a long time dealing with it feels like there's some room for something beyond one single TTL ever which must be specifically changed (with a wait for propagation) well ahead of time whenever anything planned with a risk of issues needs to be done. Maybe?
What rights are you referring to?
> If the fundamentalists are a problem, maybe there’s a problem with the fundamentals?

Not a bad argument, but if we need religion to be 100% accurate then we'd only ever support the most modern and innovative religion.

The issue is that most religions (including my own) place tremendous importance on the accuracy of teachings that go back hundreds or thousands of years. It was impossible for the original authors to know what we know today, yet we either fault them for it or declare any advances in knowledge to be heretical. Clearly, both of these positions are wrong in the extreme.

And yet, there's a good reason for that, too. If we subject religion to every modern idea, then the religion doesn't really stand for anything. It simply mirrors society back at it.

I don't know the solution to this. There may not be one (short of saying "f--- religion" as a whole, which I think would be a terrible mistake).

If anyone has ever participated in a 12-step program, you can see this in action in a much more modern way. Every program has an unchanging dogma, based on the assumption that the founders hit on something special and right, and that any changes would risk watering it down. As a result, you end up with programs that have ideas that would have been very mainstream when they were founded, but are now largely viewed as wrong-headed or even cruel. And yet, these programs continue to be a lifeline to many people who would have otherwise spiralled into self-destruction.

Again, what's the solution? Heck if I know...
I think the dividing line in practice between "working" and "middle" is the four-year college degree, serving largely as a status signifier, and marking one a participant in cosmopolitan cultural aesthetics and norms. While a great many college graduates do genuine work, it makes one eligible for high-status "bullshit jobs" [0], in a way that even those in the high-paid working class (plumbers, electricians) are not. A subset of this middle class could arguably be defined as the "managerial class", engaged largely in performative busy-work, but ultimately only borrowing their power from owners.

That said, I think the "owning" vs. "working" model is incredibly valuable; and just as "lower class" has been redefined into "working class" (in a noblesse oblige of linguistic dignity!), I'll definitely be referring to the upper class as the "owning class" from now on. ;) (One complication, and arguably the reason that capitalism has proved resilient against its alleged contradictions: the middle class has managed to carve out some portion of ownership, in the forms of home ownership, stocks, etc. Not enough to carry substantive political or economic power, but enough to give them "skin in the game", and therefore a motivation to vote to preserve the ownership status quo, lest they lose their achievements of security and status.)

[0] https://www.strike.coop/bullshit-jobs/
What you describe is highly dependent on the exchange you use and doesn't match my experience at all.

Also, advice, if I may: use limit orders, you're trading in a bot ecosystem, market orders are rarely a good idea.
>> Fewer people than ever claim membership in unions, political parties,

> That is exactly the opposite of my experience.

How so? Union membership has undergone a well-documented decline. While politics/political ideology does seem a lot more prominent, the role of the political parties has seemed to wither. Political activity seems much more ephemeral and individual.
Capital expenditure (infrastructure) and operating expenses are treated differently.

An investment in a new factory cannot be deducted as a business expense all at once; it must be depreciated over its useful life, so only a portion of it can be recorded as an operating expense against income for every year it is used.

For software companies it's fuzzy; if you have a team of developers constantly working on enhancements to the company's platform, should the staff wages be counted as expenses or capital investment? It comes down to accountancy technicalities:

https://www.wallstreetprep.com/knowledge/accounting-capitali...
I know utility workers that make over $250k/year due to extreme overtime. Often a sticking point with their salaried management.

It's not a lifestyle I would choose, but I can see the allure of being top dog in a close knit team. I heard an NPR interview the other day with a CA firefighter. He basically admitted to working so much because 1) he didn't know how to function at home with his family and 2) he was a respected crew chief. When you're "married to the sea" you have a routine of people getting your coffee, etc., that I'm sure you don't receive at home.
Depends.. their fees are likely based on the saved time/cost of circling Africa, and calculated so as not to encourage other nations to construct workarounds themselves (if that’s even geographically feasible).. not on the cost of their service being down once people are already committed to it.
Jetbrains extension hasn't been updated much since release and doesn't interface with the official LSP. The experience is poor and outdated.

Vscode extension is maintained by the official team and will provide the best experience. There are unofficial plugins for sublime and Vim. They use LSP too and provide a comparable experience.
I'm a long-time NYC resident, looking to move next month when my lease is up.

Yes -- prices are down somewhat, and we will be upgrading, though not by as much as I expected when starting to look. And the demand is definitely there -- an apartment we were interested was leased sometime over the weekend.

NYC will be fine.
i've heard that before ;)
Adding the cost of an employee's health care plan to their earnings is an easy way to mislead people since most people have no idea how much their health care plans even cost.
Somewhat off topic but this is actually pretty positive proactive approach to security in the finest spirt of due diligence. It should be ok for people to open tickets to look into curious things no matter how trivial. Tickets don’t have to become incidents. This is what triage is for. The real security incident here is how did the intercept learn of that ticket as that should really be classified.
Do the people you weed out that suggest using a library know that the purpose of the question is to walk through how to code something?
I know this is supposed to be retro but I use NPR text mode always. No pics, just text, its glorious.

https://text.npr.org/

Far easier to read since the length of the line is absolutely perfect. Pro tip: https://practicaltypography.com/line-length.html

That said - something is wrong with NPR, a bunch of Lorem Ipsum links :)
The Parts of a Wooden Pencil
I've been thinking about making something like this for a while, this is great!

I always thought it was weird that "do one thing and one thing well" stopped short of dealing with tree representations on the commandline.
I think I got mislead by the original comment - thank you for explaining that to me.
I don't have a horse in e-ink race, but the interesting patent I came across recently is this one:
https://patents.google.com/patent/US20170060527A1/en
It's a good example how obvious things get patented these days.
Essentially if you want to do a circuit simulation of an electronic device, to make it more realistic you of course want to simulate real world values of components and not the nominal ones in the schematic.
Someone else who I showed it to said that they essentially patented Monte Carlo method...
A lot of farmers dump oyster shells on their fields. This attracts quite a bit of gulls and seems related but I am not really sure what the food sources there are.

Also this is a seasonal occurrence.
For me, the recent (petty) twitter activity of @amazonnews was the final push I needed to cut all ties with Amazon.
> And at the same time there was a concern about shortages of PPE like N95/FFP2/KN95 masks.

Why not simply... make more?

> Both can be true, that we have good evidence that N95 masks work for professionals in direct contact with patients and in combination with other safety procedures and that we didn't have good evidence that masks (whether N95 or other) would help for regular people.

Yeah, because we all know the third year of Med School teaches you how to wear a mask. Without that crucial bit of knowledge you really can't wear one.
> I assume it's called setting an example

So...theater.

It's an authoritarian tactic meant to promote complete conformity and obedience to policy.
The thing(s) will just come to us telling we overlooked something somewhere, and they were here since then, quite bit time ago.

Maybe it will be (or it was already), some innate sapiens-sapiens neurological and/or psychological blind spot, like overlooking inminent danger in exponential events.
So we'll have to tax the companies to pay for the UBI. The company's choice: pay wages to humans, or pay for robots plus UBI for people not working. Which is cheaper?
It's going to be interesting trying to sort out "comparable circumstances" when all this is over.

Density and culture appear to have played a significant role. In the early days there were huge outbreaks that were controlled by distancing and lockdowns (or at least, so it seems). Those days were especially harrowing, since that's what we expected from elsewhere.

It didn't turn out that way -- probably in part because of the way people are naturally kept distant from each other, depending on the place. It was still plenty bad, but not New-York-March-2020 bad.

It's going to take an army of statisticians to look at all of the confounding factors and see if they can plot out a lesson we can learn for the future.
What's wrong with "I'd use a library" or "I'd Google it"?

I think that's the most honest answer, and someone in the field for 10+ years I _prefer_ those answers. I don't want someone reinventing a library if a good one exists, and I hope people Google answers (or use Stack Overflow) to find solutions that are a bit more vetted. I was at a company where they pushed for all their own coding and it was a _mess_. The amount of proprietary technology we had to maintain was ridiculous, and in most cases there was 3rd party libraries that would have handled the problem as well or nearly as well.

I agree that "I'd use a library" doesn't tell you how good of a coder someone is, but I'd much prefer a "lazy programmer" to an overly-clever, always-do-it-yourself programmer. If the point of the interview is to see how someone codes, have them code something in the realm of what they would actually be doing.

Also, to be clear, if you are incredibly clever _and_ know how to do it yourself, but seek to find the balance of when to use libraries vs when not t,o I find that the most valuable.

Background: Current FAANG employee, previously CTO of small startup
> There is no excuse to not have a fixed set of KPI's with a well defined end-state that includes a full return to normal.

To say that someone "has no excuse" only makes sense once you have at least as much understanding as they do of the context in which they are making decisions. Anger makes it easy to ignore others' perspective. Anger makes it easy to fool yourself into thinking you are holding others accountable skillfully.
The line between natural citizens and corporations is quite fuzzy. I do not like it.
There's reports (source: https://www.theguardian.com/technology/2021/mar/29/jeff-bezo...) that Bezos got mad that the media department wasn't doing enough to combat the "outright lies" spread by the media about Amazon working conditions, which apparently spurred the latest tweets from the AmazonNews account. Seems to be a self inflicted wound from ego.

Edit: Source requested
LLVM is better technology but the fact that it isn't copyleft pains me (for one).

Whereas with GCC you kind of have to upstream (making it easy or not), with LLVM you can upstream stuff you want other people to work with (or cynically, maintain) but keep relatively private things with your secret sauce (I don't think Apple's M1 patches for LLVM are upstreamed).
Ask HN: Where is the Goldilock's zone between Eli Whitney and '1984'?
Yup, it's almost a joke at this point, that the first post on a technical blog is usually about how they build their static blog.
If you really believe that there's no evidence Jesus the man existed, then I wonder what you would consider evidence of any ancient person existing, or even evidence of any fact in general. The evidence does exist, and it is in fact convincing evidence, at least of historicity (even the Gospels are evidence, though several extrabiblical sources mention the historical Jesus as well, including ones opposed to Christianity like Josephus). IMO, the evidence of divinity is fairly strong, too, but can only be resolved as a matter of faith and not solely empiricism.

Also, Jesus said quite a bit more, and quite a bit more often than "be kind," though admittedly that's sort of the Therapeutic Moral Deism version spewed out popularly and in a lot of churches today.

I'd agree that Jesus' ultimate vision is humanity living in harmony with one another, but that this requires living in harmony with God, too. We're pretty terrible when we try to lean on our own understanding.
Dust or water could transfer it and there are food items that are shipped relatively exposed.
I tend to start off with a "calm-the-nerves" question, something like "write me a function to print out all the numbers from INT_MAX down to 0", which has a (small) gotcha in the termination condition, but is relatively simple.

Then I'll ask something like "write a function to find the nth-to-last entry in a singly-linked list", which is possibly difficult if you haven't come across multiple-runners before.

But the meat of the interview is something like "design me an algorithm to manage the entry-gate for a car-park that can cope with bikes (1/2 space), cars (1 space) and busses (4 spaces)".

There's so much you can do with that last one. The most impressive answers I get are those that recognize it as malloc() with zones, and cope with the corner-cases (can't park a bus around the corner of a car-park, 4 spaces have to be in a straight line...)

I mean, I have a variety of questions like each of the above, and I tailor the interview to suit what other members of the team are asking too, but the quick-functions at the start are really to calm nerves and get them into the swing of the interview. The main point is the design/thought-process one, which takes the majority of the time.
When Boomers were collectively this old they held half of US wealth. https://twitter.com/graykimbrough/status/1376175606925291528
I mean based on the article the top paid lifeguard is a firefighter and is the chief of the Los Angeles County Fire Department. His responsibilities include, among other things, managing the the lifeguard department.

So yeah, this article is incredibly deceptive.
I can't remember ever being in a church where women were required to stay silent. So not quite dropped but at least not enforced by most. Ask me again once everyone dropped miles for metric.
Pretty sure there are literal treaties in place. It’s not simple supply and demand.
> we need bigger, smarter government

pick one
the revolution that the founding fathers of this country took part in was also illegal
I had a weird dream about the matrix, as if the fact that this movie was made didn't save us from becoming plugged bodies into the virtual world .. instead it's sadly becoming the most plausible future.
When the first thing I see after opening a website is some sort of "Give us your email just for some useless newsletter honest" popup I just close the site as fast as I can.

How ITF can such a disgustingly annoying UX element still be so prevalent on certain genres of websites?
Another Canadian, chiming in with much the same experience.

I had some N95 masks from woodworking at the beginning of the pandemic. I remember the messagging being that the public should not buy N95s, and in fact if they had any, should donate them to hospitals.

I do not recall any messaging sayinig masks (N95 or otherwise) were harmful or there were any associated dangers. But they were pretty clear that you don't need them, and if you have them you should give them over. I 3D printed face shields to donate.
I used to do this around 2004 to circumvent school and later university networks and the like. I used to do it whenever using an untrusted network like free wifi too. Things were simpler back then. Later I used a thing called http tunnel to break out of more evil networks that blocked all ssh traffic. Nowadays with deep packet inspection and ip whitelisting on those kinds of network even that is very difficult.
apologies. i thought the regular posts of "company (YC blah blah) is hiring" was fair game. i now know better.
Cool! In Spain we have a (IMO) much easier to use site: https://soydetemporada.es
8th layer is generally the user in sysadmin circles
This misses the forest for the trees: Membership is down at organizations across the board - scouting, group athletics, Rotary clubs, unions, even things like PTAs and neighborhood associations and model train clubs.

There is a society wide "apathy" event happening right under our noses. Maybe we're just seeing a new generation moving to new niche groups that aren't being seen yet. But it seems that technology is doing something with our desire to form communal bonds.
That is because the whole US system is broken. Put yourself in the shoes of those workers. You have no skills apart from the one you got from doing the same job for 20 years. No prospect for decent future employment. Shitty unemployment benefits. No job retraining offers.

Why do we not have these problems in e.g. Nordic countries? Because we are superior blonde Aryans? Because we have no black people? Because we are so "homogenous"? Yes... plenty of possible racist explanations.

But the much simpler reasons is that there is a system that takes care of people. E.g. a country like Denmark spends 10x as much as the US to retrain a laid off worker. Higher education is free. Vocational training and crafts are baked into the high school system. Unemployment benefits are generous and you get a lot of help to get a new job or retrain for another one.

Perhaps more importantly you don't have really narrow skilled jobs to begin with. E.g. in the US factories tend to hire people with almost no skills to do a very narrow job. In Nordic countries you go through extensive vocational training programs giving you a broad set of skills. When you work in factory you will be doing a much wider variety of tasks, thus blue collar workers retain a broader set of skills. This means when they are fired, they have a lot more options even without retraining to find other jobs.

The Anglo-Saxon approach utterly lacks long term thinking. It is all about slotting a guy into a task as quickly and cheaply as possible. Only problem is that if that is the only thing that guy can do and the only thing he has learned, he will hold onto that job for dear life.

Sorry, if this comes across as negative. I don't really want to diss America and brag about us being better. I just feel it is deeply unfair how low skilled simple workers always have to get all the blame in America. It is always their fault. There is never a will to look at the bigger picture. To see the structures that trap people. My purpose isn't to brag about Nordics but to try to stand up for the American blue collar worker. I think they deserve some more sympathy and understanding.
Thanks - I think this does a better job clarifying that bit better than I did (which notably doesn't address the infinite regress issue).

The watchmaker argument is more narrowly the creationist 'eye can't have just formed itself' argument (basically the eye must have been made by some sophisticated watchmaker: god).
Disclaimer: wild speculation below

There's a strong possibility the vulnerability lay in their hosting setup rather than in the software application itself.

There's an argument to be made that self-hosted software that are non-trivial to configure for security have "dev ux" type security bugs, but I doubt that'd constitute a CVE. It could also be unrelated to the git-web hosting config.
I think fundamentalists care less about consistency than closure. They want to minimize mystery and unknowns by insisting that even some very implausible parts of the Bible are expressly and unquestionably true. Similarly, Catholicism seems also to be quite formal about Biblical interpretation, but willing to let the church decide which tenets should be explicit vs metaphor. In contrast to both, I understand that Orthodoxy is less concerned about closure and more willing to leave 'lesser' questions unanswered or remain ambiguous.

Religious truth isn't decided only by scripture or church hermeneutics. Sometimes it's just what your community chooses to care about (or not).
The two most destructive regimes of the twentieth century were explicitly secular. The stability of modern Western Europe is more of a historical consequence of Pax Americana and the Cold War than secularism.
I guess a lot of it comes down to what you expect of your employees. If you expect them to figure out it for themselves, and you give them enough time to do it, then maybe it's OK. If you are constantly demanding everything & offering nothing, then you have a problem.

My advice is that if you know what someone needs to work on, and they don't, just frikkin' say it. Don't wait until they are burned & trying to drag a merge request across the finish line. Also invest in tooling & processes that encourage people to figure things out & generally do better (which may be simply don't give them excuses to do worse).
I don't know the particulars of your wife's union contract but in my union (college faculty union) we can't go on strike while under contract. Our contracts are up for renewal every two years and when the old contract expires we can go on strike and we have in the past.
Exactly. Swimming is not so hard and working this profession is not the same as operating at a competitive level.
Does it seem reasonable to you to assume that a task on your job interview will be answered with "I'll take someone elses library" and they'll just be "ah, ok, you're hired!"?
URL-based imports aren't less secure. They just make an existing attack vector more obvious. Is NPM really keeping you safe? What happens if a package maintainer is compromised and the attacker adds malicious code?

The fact that URL-based imports make you uncomfortable is good. Let that discomfort guide you to adopt some extra security measures to protect yourself from third-party dependency exploits