skysight-inc/HackerNews huggingface dataset:
Tell HN: Cancelling HP Instant Ink prevents cartridges from being used
I bought an HP printer that came with an HP Instant Ink subscription a year ago. The subscription promises to send you ink when you're running low as long as you print within the designated number of pages.

I recently changed my card and figured I would let the subscription expire.

Fast forward to today. I go to print something and find that the printer is "unable to print" even though there is ample ink left in the cartridges. I press a button on the printer and it spits out a report that states the printer is unable to print, except for printer reports (!).

I dig a little (since the error message they show provides no additional information beyond not being able to print) and find this thread [0] in their support forum. It turns out that once the subscription is cancelled or suspended, you are no longer able to use the ink that has been sent to you. Some even report not being able to print with cartridges they bought independently.

It turns out that their terms state that you're buying the ability to print x pages and the ink is actually always owned by HP, even when in your possession.

This has to be one shadiest and just overall worst product experiences I've come across in a while.

Printers have always been a bit of a pain but since when did they have to be near permanently connected to the internet else threaten to cut you off from all of their capabilities.

[0] https://web.archive.org/web/20230522114823/https://h30434.ww...
A few people suggested a series, but there's a human problem: my attention jumps between topics quite a lot! At the end of this post, and my load balancing post, my main feeling was relief in that I could start looking into a new topic.

Maybe after more time has gone by I can revisit earlier posts and do follow-ups :)
If you like heads down IC work, the peak is somewhere around Senior approaching Staff level. But this is not the salary peak for frontend ICs, so you will have to choose how to proceed.

From that point forward, as you progress thru your company's advanced IC track, the ranks parallel eng management ranks; and soft skills will take up more and more of your time. Eventually you're responsible for mentoring and steering an entire frontend team and you will not even get half your time to do heads down IC stuff. The rest of your time will be spent mentoring via pairing or reviews, jockeying for resources for your initiatives, interviewing, and spiking big unknown tasks. Not to implement them mind you, just to size them for someone else to implement.

The way forward then, is to practice all those not-programming things that are programming adjacent.
It's this question about value for skills or resentment for income inequality? For the latter, wikimedia would have to move somewhere with lower labor rates yet is somehow to keep talent from leaving for better paying places.
'"Karen" has long been used as a term to call out problematic white women who commit racist acts in public.'

Really? Business Insider's Hannah Getahun and Lloyd Lee are dishonest here right?

I thought Karen was used as a pejorative term for 50+ women among which I guess Karen is a common name. Lex Reddit.

Exactly the kind of slurs I guess a diversity officer should address. It is some sort of ageism.
You're pretending that uranium mines don't disturb any habitats. And maybe that nuclear power can avoid being overpriced.

(BTW, one of the major cost rises for nuclear power also happened in California, when the risk models were extended to cover seismic activity. Nuclear power was cheaper back when it was legal to disregard most risks.)
I wish people would stop assuming that all politicians believe in the things they propose. Many are basically sociopaths who just agree with whatever gets them votes.
I previously worked at a very large popular progressive startup.

Of hundreds of slack channels one of the few that was private was the "Diversity, equity, and *inclusion*" channel.

The fact that it's behind closed doors is all you need to know.
Show HN: Undb open source nocode database
Yeah sorry I was on mobile when I wrote that so I didn't have it to hand.

Here it is: https://github.com/spantaleev/matrix-docker-ansible-deploy
1 day:
- Overview of what they will work on
- Give some time to install things and play around
2 day:
- Ship your first (small) feature

I'm surprised at seeing how long time to production is. I'd be concerned if they went 2 weeks without shipping anything.

We don't do physical onboarding as no-one is close to any of the offices, but physical get-together are huge in boosting team building. We try to do them at least yearly. Churn is way higher without them (= people don't care about you unless you drink a beer with them)
First week is to set up tooling? If the new person does not ship their first PR the second day something is terribly wrong with your plan.

It should take 2 hours max to set up tooling.
I guess the news is not so much that this happened, because most people suspected it already, but more that it has now been caught on video.
at what point does ascii art of an illegal image become illegal?
I mean, the event was supposed to support people that you purport to be the victims.

But I guess break something down enough and you can make an argument for everything being offensive.
"all the classes"

Write simpler code, let go of the complex Java class hierarchies.

No one can understand them, it's hard to reasonable them and they are mostly a mess.

The point of Python duck typing is you do more by writing less code.
How do you search a graph that is separated onto different machines?

I know a matrix multiplication can be a breadth first search if you use a 1 for each column you want to breadth search.

How do you shard a graph data structure?
For all practical purposes, peer review is mostly useless today.

More often than not, it's either:

-a cursory glance by someone who doesn't have time to care

-a highly detailed critique from someone who will either be scooped or proven wrong, so they're looking for any reason to reject the paper, good or bad

-a grad student who puts in the effort but probably still lacks the experience for a good review

And if peer review actually was useful then the false cure for MS [0], arsenic-based life [1], or vaccines-cause-autism [2] would all be DOA and never been published in major journals to so much PR fanfare. Heck, most of Retraction Watch wouldn't be a thing [3].

[0] https://www.statnews.com/2017/11/28/multiple-sclerosis-paolo...

[1] https://phys.org/news/2012-07-scientists-nasa-arsenic-life-u...

[2] https://retractionwatch.com/2011/01/06/some-quick-thoughts-a...

[3] https://retractionwatch.com/
https://archive.is/hgOIW
> Now, who owns inner_struct?

return_struct does since it is the only thing that knows the address.

> Who is responsible for freeing it?

return_struct is, unless you hand that responsibility over to something else.

> Do I free it when I assign to it?

Yes, unless you want leaks.

> I think if we could visualise memory as cars on a road, we would see obvious traffic jams.

That visualisation is helpful for threads, where the program is the road/map and the cars are the threads. I don't see how it's useful for memory.
I think there's a rock and a hard place here because a US company being able to just move their incriminating documents over to a different datacenter to make them untouchable by US law enforcement is a loophole you could drive a yacht through.
Each one of these panels provides a very valuable thing in a desert - shaded area. All manner of insects, lizards are given some shade.
I wonder if an ecological survey has been done on that aspect?
I note that farm grass also grows well in this shade as the solar angle variance allows grass growth (as long as rain or hose irrigation is present). Poles are high enough for cows beneath and strong enough to tolerate cows 'scritching', just like cats = they love it.https://www.agproud.com/articles/53536-solar-panel-shade-for... In fact live stock farms have electric scratchers.Some amazing videos https://www.google.com/search?q=cow+scratcher&rlz=1C1CHBF_en...
This is so unfair to Becky, Patty, Ken, Terry, and Greg.

https://www.fatherly.com/life/male-version-of-karen-meme

And shouldn't Uber also host an event called "Don't Call Me Brogrammer?"

https://www.theguardian.com/business/2017/jun/25/uber-and-th...
Is this the place you're meaning?

https://www.webtoons.com/en/

If that's the one, it looks like an online manga reading website. There are many of those around. eg mangakatana, reaperscans, mangadex, etc
> The term has been used to call out white women who act racist in public.

Wow, that's a pretty dishonest way to defend Uber by implying that this is term is only (or even mainly) used to point out racism. People should be ashamed of this revisionist nonsense, but that's too much to expect.
> If you want diversity, that’s something your existing HR head can handle

If your existing HR head has been handling it for years, and you still haven't made any significant progress, appointing a person in charge of DEI is something that the CEO does to be able to say "hey, we're doing something about it".
Edit: I'm building this at plaintexterp.com.
Wow, there's a lake in the golf course. The evaporation must be enormous.
The Rust course used by the Android team at Google
Paypal support informed me that I need to use a phone number from the country which I bank in.

There's nothing trustworthy about the people who issued me this current sim card. There's no reason to assume I would want to link it to any account, even if it was allowed. Even if I were inclined to trust this process and if it were possible, I'd have to be using this provider when I am in a 3rd country or in my "home" country.

It is just a nonsensical set of assumptions on PayPal's part.
Facebook employs lots of people in Ireland, they don’t want them out of business.
Show HN: From PHP to Python – A Straight-to-the-Point Guide
Hello everyone!

After two years of hard work, I'm excited to announce the release of my first book, "From PHP to Python". As developers, it can be frustrating to learn a new language from scratch. This is why I wrote this book to help PHP developers quickly learn Python by focusing on what's different and taking shortcuts when things are similar. It's written in a straight-to-the-point style and the chapters are concise and condensed. The book covers everything needed in my opinion to have solid foundations in Python, in a web-oriented approach. After finishing this book, you will be able to use Python at work, write unit tests, publish an open-source package, and contribute to interesting projects.

This project is not about criticizing PHP: I still work with both languages and I think it's great to be able to use different tools and paradigms.

Two free sample chapters are available: Working with regexes (https://einenlum.com/books/fromphptopython/sample-chapters/r...) and Match case (https://einenlum.com/books/fromphptopython/sample-chapters/m...).

I hope this book can be useful to some curious developers out there. I think I managed to make the book I wish I had when I started learning Python.

I would love to get your feedback on my project, whether it's about the Table of Contents or the content itself. The book will be regularly updated with new PHP and Python versions, and I will try to make it better thanks to all the remarks from the readers.
Linux has a fundamental security problem - it basically tries to protect the system from the user, not the user from himself (other user apps).

So it's difficult to modify a Linux system binary, but it's extremely easy to delete or exfiltrate a user file.

This security model might have made sense in the past, but today it's totally outdated since almost all systems, both local and in the cloud, have a single user which is the owner (has sudo).
I don’t see a lot of utility in policing an overly narrow definition of what constitutes garbage collection.
"(easy CS students, I know it's not normalized…)"

Sure it is. As long as you're not storing any other information on the department in the employee table.
How do i enable GPU in privateGPT w llamaCpp ? It turns my CPU to a vacuum cleaner
Can one beat YC in its niche? No BS review of “the best Web3/Crypto accelerator”
Classy response to a not so classy person.
I think the criticism of this is unfair, and this result will help shed light on the mechanism. Look at the current theories for molecular mechanisms:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5999402/

If these are accurate does it make sense for them to be entirely inhibited by general anesthetic?
A counter-example where a permissions system mostly still works is Mac apps. They also have to request permissions for things like using the webcam, accessing important areas of the filesystem, reading keyboard input when they’re not the active program, and so on.

It might be illustrative that Apple, who usually care a lot about good UX, made this procedure downright painful. When the app is installed it’s fine, but when it tries to use a permissioned resource for the first time that pops up a dialog box. That box is not confirm/deny, but rather sends you to the System Settings window, where you have to find the right category, find the program in that category, select Allow, and then enter your password. It seems like Apple might think the Android permissions system failed in part because they made it too easy to say yes.
>an individual or nonprofit can't do that.

https://laion.ai/

https://www.mosaicml.com/blog/mpt-7b

There's dozens if not hundreds more individuals and nonprofits doing these things.
The problem is that their conclusion is not going to be read as “wow, it’s the trip that helps more than just the chemical.” Instead it’ll be read as “well I guess this chemical doesn’t work at all.”

The notion that the trip is the therapeutic element seems oddly frightening or threatening to a lot of people.

… Or at least it’s not what they’re looking for. The quest is for a pill that works deterministically without any need to involve consciousness.
yes someone please annotate/convert wikipedia and make it available as torrent!!
I assume this is only possible if the training data contains only a "right answer". If the training data contains two contradicting answers A and B, then, from the AIs perspective, there is no correct answer.

I assume that for questions like "What year was Bill Gates born in?", it should never return a wrong answer, if the answer was in the training data. If it was not, it should respond that it doesn't know.
which form of ketamine?
What about development costs ?
The Word for World is Forest by Ursula K. Le Guin (Avatar definitely was inspired by this one)
I agree in principle, though having tried most of the various types of trippy substances, I've yet to encounter one that hasn't showed potential for a short term antidepressant effect. I guess I haven't tried those weird delta opioid ligands(salvia divonorum). I guess deliriants(like diphenhydramine) would have about zero antidepressant effect too, but that would have possible negative effects, even being liable to cause trauma.

I believe benzodiazepines have also been tried as an active placebo but I don't remember what the results were.
I mean in general it makes sense. As you age your body becomes more brittle, injuries take longer to heal, some you might not recover from at all.

Also psychologically you will have experienced more injuries so you will instinctively avoid doing the same again.

My point was rather that if you know you will die a slow painful death, but not now,and you don't want to commit suicide, you could try riskier stuff that you always wanted to try but would be too dangerous.
who says Meta will pay this fine? they will litigate until the end of times.
> The fact that it's behind closed doors is all you need to know.

I'm one of the least likely persons to defend DEI initiatives.

But I could imagine legit reasons for certain DEI channels to be private. E.g., if they're used to discuss potential HR responses to employee complaints.
I have been leery of VSCode for this reason. The bare product isn’t very special, so you have to download extensions to get the functionality you need. However, there is nothing keeping the extension from communicating. Suddenly, you get malicious extensions that leak data.

It’s not just malicious extension authors. Compromised developers of good extensions are just as much, if not bigger, of a risk.
I regularly deny various permissions to various Android apps (camera permission, file access, ...) and they degrade gracefully and keep on working.
You ask consent from both users to store it wherever you'd like.
You can enable http/3 just fine even if you also serve clients that are falling behind on web standards, as long as you also serve http/2 as a fallback.

Safari not supporting isn't a problem unless your business only and specifically targets Safari, and even then it's a relatively painless way to help the few customers who run preview versions get a nicer experience.
Seems to be a bug on the first interactive graph, at least for me. Unless I'm misunderstanding the point of the graph, `malloc(7)` only allocates 2 bytes.
Deciding to leave your (executive) job
The one I ran into recently was Discord. I use Skype to front all of my SMS. Unfortunately, the SMS-in numbers are not tagged "mobile", so Discord refuses to accept them. Their "solution" is for me to register another account and hope I do not need to provide my phone number... Despite my specifically pointing out that the only reason I need to do this is that Discord allows their servers to require this kind of verification.

Ah well, guess I cannot be a Discord user.
This is too much to ask for an OSSLM project , considering that it will be obsolete by something else in 7 days or less.
How could it be that such a racist/sexist wasn't confronted sooner, and in fact felt so self-assure that they could openly flaunt their bigotry in the role of a DEI executive? Because of course, such bigotry is par for the course with DEI. A common racist in a company will hide themselves behind closed doors, obscure their beliefs with innuendo and sweet lies. They won't openly organize a klan rally, not in this century. But a DEI executive doesn't perceive any need to conceal their bigotry. That says a lot about the whole of DEI.
> You can always count on DEI folk to fight with themselves over petty nonsense.

I'd look at the spaces vs tabs or text editor conflicts as a sign that this behavior is not limited to DEI folk.
I won’t teach Swift here, but Google is your friend. You can start by studying all the languages differences with regards to extending existing protocols, and how optional protocol conformance and methods are handled. Swift in many ways (not just with protocols) is like a fix for many headaches that objc provided in these areas. It’s partly why Apple encourages “protocol oriented” programming in swift over “object oriented” because of how rich the feature set is compared to objc.
Oh I don't disagree, the ecosystem does has a packaging reproducibility and multitenancy problem with out-of-box tooling, and projects seldom provide basic instructions for people outside the ecosystem, like using a virtual env.

That said, this tortoise-tts project might be a particularly bad example. It somehow locks to scipy 0.10.1 from 2012 [1] (during the Python 3.2 release cycle, when Python 3 was heavily in flux) in requirements.txt [2]. Probably not terribly surprising it doesn't work. I didn't bother to look into why they lock to that.

[1] https://pypi.org/project/scipy/0.10.1/

[2] https://github.com/neonbjb/tortoise-tts/blob/0ea829d37aa6528...
> new version owned by the [corporation, famous artist, etc].

Owned? Without copyright?
> As far as i can tell from your comment you did not in fact understand what the author wrote.

I like how you keep calling me a liar, it’s nice.

> I've worked in trunk-based development shops for fifteen years. My colleagues have mostly been good, but certainly not superhuman. It works fine.

The “E” in IME stands for Experience.

I’ve worked in trunk-based development shops for years as well, it did not work fine, my comments are experience from seeing it break down as the number of devs increased, and the time wasted on mainline being broken kept ticking up.

I’m happy for you if you never suffered from that, but I’m not going to argue for practices I’ve seen fail over and over.
DEI bullshit as usual.
> I'm less concerned about Chinese and Russian agents than simple, capitalist free market forces.

it should be the other way around.
Imagine modeling 3D and you have to reload the page every time you change the X transform by 1 pixel.

Sounds like a great experience.
Lol. There's so much to unpack here that I started to suspect it's a bait. It is, right?

You're lucky if you got an access to everything you need on day 1, not to mention setup the tooling.

You can't improve the product if you don't know it yet and that takes time.
Thanks for the link to the animations.

I want an extremely performant deep copy solution, I've been thinking of using an allocator to implement it.

If we have a tree data structure or a nested hashmap, then we want to copy it cheaply, there is copy on write. But most copies of hashmaps are slow because they instantiate every child object in a recursive loop.

So I want to be able to memcpy a complicated data structure for cheap copies.
The biggest lie tech people tell themselves – and the rest of us (2019)
Russia’s army is learning and improving on the battlefield
Nothing against the study, it seems interesting. But the article title is quite misleading considering that ketamine is not typically administered under general anesthesia for treating depression.
Capitalism 2 also, I played that extensively.
Right. I had learned that boomers were a democratic pulse caused by the end of WWII and resulting period of prosperity. This thread is teaching me that there is at least one echo of that pulse in the US (millennials). I'm not convinced that humans are r-strategists, though, or that there's an intrinsic generational oscillation in our total population. Should I be?
>is a joke

What did you expect? This is a computer to access and manipulate data, not to consume it as a smartphone.

Call me when a smartphone locked toyware can do 1% of what Emacs can do.

If any, stop using propietary crap to do your daily job.
Hey, 30s is the new 20s, and so on.

I'm in the same boat and I definitely still feel young. I mean, I'm fundamentally unchanged from when I was 16, and still like the same stuff like video games, computers, and so on. I have also always looked kinda young, which probably allowed me to propagate my youth until very recently. The biggest change I've noticed is not anything internal to me but how other people act around me; they talk to me like I'm an adult (which can be either good or bad depending on the situation), and the cashiers at the stores have stopped asking for an ID when I buy liquor (before 30 they still did!). Also, people don't give unsolicited advice as much as they used to; I suppose they think I know what I'm doing or don't care. This is definitely bad, because my modus operandi for life has always been to try weird stuff my own way and count on other people to stop me if I'm doing something completely stupid.
Good read - and generally good advice for criticism everywhere in life.

(For the title - maybe editorialise it, I thought it was a review of The Art of Code! Haha)