skysight-inc/HackerNews huggingface dataset:
I was hoping to read about how they handled cleaning up cursors, what the effect on the server was when having a bunch of open, long-running cursors, etc. Unfortunately the article only treated the subject at a superficial level.

So, anyone here implement pagination via cursors? What do you find to be the drawbacks and how do you mitigate them?
Here are the Canadian examples.

https://www.google.com/amp/s/www.thestar.com/amp/news/canada...

https://www.google.com/amp/s/www.cbc.ca/amp/1.6440227

4 doctors landmark hearing
https://www.google.com/amp/s/globalnews.ca/news/8517353/cana...
Yes, RBL is an example (I've worked for Vixie FWIW) of DNS-as-a-database. Another notorious example in the Indicator of Compromise sector is EDR (chiefly antivirus) software which uses the DNS to query the provenance of file hashes.

The popular take on Redis is that it's good for caching. Well, the DNS is good for caching; Redis is good for a kind of caching that the DNS is not good at: write caching (if there is such a thing).

Netflows are a good example: despite whatever measures you take, you're going to be writing the same flow artifact over and over (might as well increment a counter). It may never be queried (read). If it is read, it will probably be read a fair amount in a short period of time.

Architecturally, you can have agents updating whatever you want in a Redis database; then when you need it... wherever you need it... you make a DNS query, separating read and write concerns. Put the Redis db close to the event source(s) instead of shipping all of it to a cloud. Agents are already being managed as fleets, so that's just current state of the art.
Downloading content from torrents will persist until the torrent service operators will continue to provide a better service. Better service includes no regional restrictions and more complete content catalog.
I've been shown a couple tools geared for startups that some of my users had been playing around with, but those didn't look modern or nuanced enough to me. I haven't done a formal search though, so perhaps there are good things out there I'm not aware of. Eventually, I'd like to add better support for business use cases to ProjectionLab; in some ways, it's already close, but I'll need to carefully think through a few things like more granular event timing/scheduling and short/near-term views.
I still dream of a Firefox OS device in the vein of a Chromebook. I was gutted when Mozilla abandoned Firefox OS.
> And yes it's a waste of time!

It is, but an acceptable cost to keep the social pressures at bay. There are a lot of things in life that are ultimately wastes of time, but worthwhile to maintain a civil society. Such is life. If you are happy to escape to the deep woods away from all others where every moment of your time is purposeful, good on you.

> If you want a fake credential then it's much cheaper and easier to just lie on your CV.

What would that accomplish? The business world couldn't care less about your past achievements. They don't care that you performed in a play, rode a horse, swam in the ocean, or went to college. There is no value in even putting a legitimate degree accomplishment on your CV, let alone faking it. If anything, it detracts from your standing as it shows that you're so useless you couldn't come up with anything more relevant to share about yourself.

Instead, it is parental pressure that puts one into these schools when they otherwise shouldn't be. And those parents will turn up at your graduation. Once you've thrown your cap in the air, so to speak, nobody will ever think about it ever again. Getting to that one moment in time is the so called hoops that one is cheating for.
Language Showcase: Gwion
I'd disagree. The rules seem to be either that you moderate and you're on the hook, or you don't and you're not, and you just need to respond to reported abuse. I personally think it would be better if Google acted like a blind medium; like a mailman. We've seen targeted abuse by employees to others they know, and we've seen anonymous, non-targeted abuse through application of policy, like here, and in all cases, because Google has pioneered a cutting edge zero-support system and also employs a large pile of lawyers, there is absolutely no recourse to be had unless you're famous on twitter or know a Google employee.
Saying "jbig2 in lossless mode won't do this" is as relevant as saying "png won't do this"

The problem is the existence and use of a codec for a purpose, that harms that purpose. It doesn't matter what it's name is.

Are scans being produced with this codec? And is it not true that not only is there data loss or corruption like with jpg, but that unlike jpg artifacts you can sometimes not know that the data loss or corruption occurred?

That does make it not merely a problem of "I wish they scanned this in higher quality" but a far worse problem of "this document looks good so I trust it" when in fact it was corrupt.
How did NASA get these Apollo films
What's your thoughts on targeted ads in general?

Setting aside the ease of dismissing - would you be willing to give up some data to allow them to be smarter (having more context)?
Yeah, can’t argue against that. Tesla may not be for everyone, but it’s a damn fine commuter car just because of autopilot.
Correct link is https://automating.life/posts/using-automation-to-improve-my...

Summarizing quote: “We are going to build a web scraper that monitors the Toastmasters web portal and notifies me as soon as roles for an upcoming meeting become available for selection.”
A lot of people don't, specifically because they are aware of the tremendous risk of an insane government or corporation ruining their life over innocent behavior.

Dare I say that it is a peek into how Black people feel when they go out in public to do...anything.
Yes, my business users will feel like they don't have sufficient access to their data if they can't.

> If your column is fairly uniformly distributed you can guess the index for any arbitrary page.

I don't think that'll work in a multi-tenancy situation with complex filters.
I am, and I'd make an awful teacher. Engineers are generally horrible teachers, I think because they've become so immersed in their subject that everything that is entirely alien to the learner seems obvious to them. I'm so impatient. I just want people to repeat after me, do the thing exactly like I said, and to show no initiative.
Tom Kromer, Appalachia’s Forgotten Modernist
Yet at the end you have the gold, so to speak. At smaller creative places you may end up feeling fulfilled and entirely unable to support yourself or family financially. It's not binary either. There is a spectrum.

I spent years on creative pursuits at college in gaming, got no money for it, then took a corp job. Ultimately I regret pouring out so much creative energy, especially since it was modding based on IP I didn't own. Anyway, my creative pursuits today are so modest and routine it would make the younger me scoff. And yet now I'm satisfied with a corporate job and hobbies like home improvement and occasional game playing and podcast recording.
The URL I posted is an "Iceberg Article"[1] - this is the "tip":

https://john.kozubik.com/pub/NetworkSlug/

... and this is the body underneath:

https://john.kozubik.com/pub/NetworkSlug/body.html

... and that is where you can see some details of what a "slug" looks like and how they may be set up, etc.

[1] https://john.kozubik.com/pub/IcebergArticle/tip.html
This does make some sense. Games are big (file size wise) and prone to updates. Steam helped handle this distribution in a reasonable way.

It's also why people prefer app stores or package managers, because they give a predictable distribution experience over hunting for scattered software.

I'd say the problem with Steam is that it should have a community-run alternative/competitor. There hasn't been much push for one since Steam isn't a walled garden and Valve has historically been pretty ethical, but still...
Sounds good to me. From a medical standpoint, I'm aware that irradiated food is perfectly safe. It's the political utility of saying "no residual radioactivity" that I was focused on. But I guess positrons probably aren't much different from electrons in causing that.
Ok, that's a particularly funny reason for on of these.
We cannot discuss issues if we can't discuss the negative impacts of said issues.
no argument there.
People, DON'T use WhatsApp.
Conclusion:

> At this time, research is largely inconclusive as to
the potential synergistic benefits when n-3 [i.e., Omega-3 fatty acids] is supplemented in conjunction with exercise.
That and the special ed kids get a high allotment of cash vs regular student. In effect, the normal kid is robbed by the special ed kid who gets disproportional budget per capita.

A lot of time and talk gets spent about equity between poor and rich kids, or white and black kids, but you rarely see talk of normalizing the spending differential between special and gen pop.
You probably assume they are talking about database cursors. The cursor is just a record ID in this article. There is no long term storage of database cursors on the server. Assuming you can sort all your data, next query just returns all records after the given record ID, plus the record with that ID.

One corner case would be if the cursor record is deleted. I don't see it mentioned how they handle it.
Sandcastle engineering: How water, air, and sand create solid structures
I've never heard of an automated teacher. I've heard of tutors and I've heard of books.
Stop using HN
It's said without (much) judgement. In the abstract, it seems exactly right to spend on it.

But the reality is it a) very expensive and b) very disruptive. As some siblings mention, you will often have a class with 3-4 adults, only one of which is a teacher. And then several students who (through no fault of their own) can barely hold it together. For the 90% of kids in class, this is not helpful. And distributing it amongst many classes vs a more centralized special ed delivery system compounds the cost.

We have aggressively used the school system as a distribution point of social services. Again, this seems logical. But this takes focus away from what the main intent is for the school system.

There are pros and cons to this approach. I don't exactly know the answer, but instead of blaming administrators or teachers, we should be looking at what else we are asking schools to do besides educate. I know personally that the principals and superintendents spent less than 20% of their time thinking about how to make education better for the 90%.
Of course we'll never know how much of a difference targeting makes to the bottom line, but I doubt that it's huge.

Google's revenue comes from people searching for queries like "good traffic ticket lawyer", and from competitors bidding up each others' brand names. It would probably work just fine without targeting.
> This is good, their builds will fail, notifying them of their misconfiguration in the most obvious way possible.

I think it's very funny that you think a build is guaranteed to fail in an obvious way due to a tab vs space problem.
All brands are top tier lol
It is more nuanced than that. The issue is that a lot of western societies are falling into debt traps because of a lot of social and economic factors which are already straining these systems to the point that they cant keep up, and the conservative strategy (in my good faith interpretation) regarding this is reducing the cost of programs that they consider to be bloated. This can be interpreted as running it into the ground as the bloat is often in bureaucracy which can easily pass the buck to actual service providers which then suffer from lack of funding. In contrast a more liberal solution would likely involve increasing spending then trying to recover that through additional taxes, which conservatives would say doesn't solve the cost problem but rather exacerbates it since bloat remains and is paid for by more debt or taxes. Of course this is just a general simplification of the conflict.

Clearly the solution is probably somewhere in between, but political polarization has simply pushed people to their party lines and entrenched their positions such that no real progress can happen while things continue to fall apart.
Yah, another downside of cursor-based pagination is: what happens when the record the cursor refers to is deleted?

Do you just crash and ask the user to start over?

Do you have to nudge open cursors on every delete?
I'm pretty sure they aren't using actual SQL cursors as that wouldn't scale well so it's probably not a 'DB cursor'. It's a shame as actual cursors are the native database way to do pagination.
It’s not a cursor as in a relational database cursor. It’s a cursor, as in an ID of an item in a stably ordered set. There’s no long-running anything to be worried about.
morality is fundamentally based on opinion. from https://en.wikipedia.org/wiki/Is%E2%80%93ought_problem, Hume writes: "In every system of morality, which I have hitherto met with, I have always remarked, that the author proceeds for some time in the ordinary way of reasoning, and establishes the being of a God, or makes observations concerning human affairs; when of a sudden I am surprised to find, that instead of the usual copulations of propositions, is, and is not, I meet with no proposition that is not connected with an ought, or an ought not. This change is imperceptible; but is, however, of the last consequence. For as this ought, or ought not, expresses some new relation or affirmation, it's necessary that it should be observed and explained; and at the same time that a reason should be given, for what seems altogether inconceivable, how this new relation can be a deduction from others, which are entirely different from it. But as authors do not commonly use this precaution, I shall presume to recommend it to the readers; and am persuaded, that this small attention would subvert all the vulgar systems of morality, and let us see, that the distinction of vice and virtue is not founded merely on the relations of objects, nor is perceived by reason."
Would you consider adding regex support as well?
True, but it's (as far as I know) the only DRM that is not listed in the store page. "Third party" DRMs like Denuvo must be listed there, but Steam's gets a free pass.
Often media was reused by the studio, for cost reasons. This is one reason there are missing episodes of culturally significant television programs like Doctor Who.
Logistically, how does the instrumental part of the music get improvised on the spot in a way that the actors can sing along? Do they have preexisting music determined that the actors can improvise lyrics to? Or do they just sing without musical backing and then music gets recorded to match it later?
> Your explanation seems to be that if something "exists in the Bible" it is "supported by the Bible"

Yes, that's exactly what I'm saying. I guess we're arguing semantics in this case. If something exists as a literal passage in the Bible, then someone can use that to support their views on the matter.

> At least not if a person is going to attempt any level of logical consistency. Most likely a single verse or passage was selected and then used as some sort of justification.

I think this hits the nail on the head: the Bible, taken literally, is logically inconsistent, and requires subjective synthesis in order to draw the useful moral messages from the allegorical stone.

But why not just denounce the problematic parts as problematic?
Correct - however, what you are describing is a normal firewall.

What distinguishes a "slug" is that it is not on the TCP/IP network - you cannot connect to it - and it acts as a "dumb" chokepoint that cannot be misconfigured or attacked or co-opted by other actors or software.[1]

Further, it is a physical, wired device with exactly two ports so you can conceptually witness - with your eyes - how your traffic is locked to whatever VPN you may be using.

[1] Yes, of course it can but when we think of a layer 2 bridge with no TCP/IP connectivity being attacked by a remote actor ... we're bordering on science fiction. For what it's worth, the FreeBSD filesystem I use on my slugs is mounted read-only. Defense in depth.
> I'm shocked, shocked I say, to hear that these companies are acting according to their own self interest

That's a non-answer. Media companies could act in their own self interest and also not be gross. Instead of taking things away (i.e. removing stuff that used to be available) they could offer extra benefits to subscribers who stayed long term.

Is it hard to think of these benefits without screwing us over? Maybe, but I don't care, they should move their asses or get the hell out of this business. I've zero sympathy for their "plight".

Because you know, us consumers always have the option of piracy: free, high quality, available whenever we want, and it's never going away. So media companies better shape up and offer us the better product.
Rust does have some very cool mechanisms for safety, including in the presence of concurrency.

But this thread is generating blowback from someone saying: “slow down there with the hand-rolled atomic operations, you can hand-roll your multi-threaded locking strategy and it’ll be way safer at a modest cost!”

So, probably not the target audience for Rust ;)

I use a lot of C++ still because there are libraries I want and I have a significant investment in existing code, but I’d love to get to something more modern.

Hand-rolled atomics and load/store relaxation in application code make even seasoned C++ hackers a bit nervous: we saw this shit from business logic hackers at FB all the time and my colleague coined the term “aggressively intermediate” for the style.

I don’t mean to pick on the author of a quite good library (and it is quite good), but I ran across this the other day:

https://github.com/jupp0r/prometheus-cpp/blob/master/core/sr...

It’s correct (I think, very easy to be wrong about this sort of thing), but what are we measuring here where we can’t delegate that CAS into pthread? Branch mispredictions?

Either threads are fighting over whatever cache line that’s on (exclusive -> invalid -> exclusive -> invalid), or not. If they are, I’ve just deprived the scheduler of the opportunity to wake me up when the other 59 threads are done. If they’re not, I’ve maybe saved like one line in my L1.

And in something like a metrics library, you could be wrong for a very long time before someone pinned it down.
That is really interesting. Honestly, I had never even thought about it until now, but now it reminded me of how Titanic may have sunk due to fatamorgana.

Weather really does play major role in human history, even when you don't see or expect it.
Polish communist apparatchiks were better off than regular Poles, but they essentially lived the life of middle class American (a house, car, maybe summer cottage, yearly vacations in Bulgaria or some other place with a sea and a lot of sun). The inequality levels were low back then. Nevertheless, people hated it.
In that case your expectations are understandable. People in your generation are accustomed to finding anything in mere seconds. Not very long ago, if it took you a few minutes to find a book in the catalogue you would count yourself lucky. And if your local library didn't have the book you're looking for, you could spend weeks waiting for the book to arrive from another library in the system.

Libgen's search certainly isn't as good as it could be, but it's more than good enough. If you can't bear spending a few minutes searching for a book, can you even claim to want that book in the first place? It's hard for me to even imagine being in such a rush that a few minutes searching in a library is too much to tolerate. But then again, I wasn't raised with the expectations of your generation.
To put that 1.5% annual real-terms budget increase into context:

In the same decade the proportion of people aged 65+ increased from 16% to 22%ish of the population, an increase of a third. Since these are the people who consume the vast majority of NHS resource, the actual age-adjusted funding has been shrinking steadily every year.
I'll just say that it's still better than the German system.

Same ridiculous waiting times for a 50/50 chance to just get a paracetamol prescription.

Private is expensive as hell, nonexistent or not usable.

Mental healthcare? Pay us, fuck you.

Medication newer than 30 years? Stop huffing that ibuprofen, Bruder.

But it's defended to death by the German Internet Chairforce, so it's got that going for it.
Why do you think they haven't considered the possibility?
If taken seriously by universities, this would be a really hypocritical stance (on the universities' part).

CS departments are getting more students and funding in recent years precisely _because_ they are seen to be providing valuable education for would-be programmers and practitioners in the software industry. At the same time, some people like you perpetuate the myth that only the theory matters in a CS degree, and it shouldn't have any bearing at all with the demands of industry.

If what you propose is becomes reality, expect CS departments shrink to 10% of their current size and high school graduates skip university to take on apprenticeships. That's actually fine by me, but I doubt that's actually what you're envisioning.

The fact is that most universities these days _pretend_ that they can prepare somebody to become a software engineer by providing CS courses. That works to some extent, but as you say, the degree is generally more geared towards training researchers and academics. There's no fundamental reason why universities shouldn't provide a more practical-oriented "software engineering" degree of sorts, much like how they provide other engineering degrees (eg. Civil Engineering) as opposed to pure sciences. _Except that they generally aren't capable of doing so_, so they happily accept the sub-optimal arrangement that CS is the de-facto degree for prospective software engineers, while maintaining the whatever perceived high ground where they insist on teaching theoretical, impractical stuff because most of the faculty don't know a thing about developing software in modern environments. Basically they want to have their cake and eat it.

Software engineering has become such an important part of modern society that IMHO it should at least have the recognition and respect as such. Imagine somebody arguing that universities shouldn't provide Civil Engineering courses because, you know, it's just physics and applied maths, and civil engineers should just do a Bachelor of Science in Physics with a theoretical focus, leaving the practical knowledge of how to build a building to apprenticeships, because universities are too busy mentoring the next Einstein. Would you want to live in a society like that?
Worth noting that another solution to the problems with offset cursors is to do updates. When you add/remove rows you just update the results set and then there’s no issue with missing or duplicated rows.

Not easy to do of course, but it’s one direction you can go.
"Every single teacher I know has a second or third source of income, even professors. They’re either married to a banker, or they work a conventional second job. They have side hustles."

My anecdote: My sister is a professor and my partner a 3rd grade teacher. Neither ever worked summer jobs but it sounds like they're outliers.

I will say that having a classroom full of kids whose parents want to apply their individual moral philosophy on everyone is a challenge.
What if it wasn't ads? What if it were short "stretch break" clips that you could skip if you wanted to.