skysight-inc/HackerNews huggingface dataset:
We're happy users of react-query[1]. Its stale-while-revalidate approach makes Redux and Co. unneccessary for most use-cases.

If you have an OpenAPI spec of your REST API you can auto-generate a react-query based frontend client with Orval[2]. Works pretty well, but probably takes a bit more time to set up.

[1] https://tanstack.com/query/v4/
[2] https://orval.dev/
I don’t recall unfortunately, co-worker was the one who brought us there. Not sure if it was even know for pizza or not, tbh. Had pistachio prosciutto pizza though, which was pretty good.
Abraha
> Again, they’re literally paid to respond to those crimes.

Eh, this part is dubious. They have no duty to protect, and no duty to respond to a crime.

> What is the point of police if they’re ignoring reports?

Lots of people asking this question lately. It's a good one.
And RC might be the correct choice for their devices (due to them not having much RAM, and latency being more important than throughput). But that is not true everywhere, I would even say that a good tracing GC is a better default.
> We need this in our corporate client device fleet to counter specific threats

Can you please expand on what you verify via remote attestation and against which attack vectors this protects you?

Does this protect you against the usual attack vectors of your employees logging in on phishing sites, downloading malware, running office macros etc?
Stealing your data usually does not need any root/kernel access.
Why do I need Remote Attestation to enjoy 4K content when I can more conveniently pirate it?
"And but so"

If you write like this yourself it's no wonder you'd find it readable. Or in other words I see what you did there.
20 years later, it should be clear, that utf will stay with us as long as we will read text from screens. So there might be something to the criticism that the space in UTF will eventually be insufficient.
Because nobody can measure happiness, nobody optimizes for it. When you do anything you don’t know if the thing is going to make you happier or not (and if so how long it will last).

Anyhow, I’m fairly certain if whole communities of people FIRE’d together, they’d be much happier than doing it by themselves. The big issue is the social isolation it brings.
I have been renting a music rehearsal space at Hyde and Eddy since 2013, and lived in the city since 2010. I have never seen this as described. However, there’s a good chance what you have seen might be a few different things that appeared like that. For one, Larkin between Ellis and Eddy can look like this (also at there often at The Chairman when there was a brick and mortar there).
Living in SF, I experience someone shoplifting from Walgreens at least once a month. Many things require calling someone to unlock an item. (Target has locks on $20 pants!)
Yep it more or less is I believe. Post viral brain fog definitely makes it difficult to express yourself as clearly as you may like
The obvious solution is for everyone to shoplift. ~
Few popular OSS projects that use NestJS:

https://github.com/ToolJet/ToolJet ( open-source low-code framework )

https://github.com/ever-co/ever ( Commerce Platform for On-Demand Economy )

https://github.com/feednext/feednext ( Open-Source Social Media Application )

https://github.com/Roche/lxdhub ( Profits Sharing Platform for modern agencies and studios )

https://github.com/notadd/notadd ( Microservice development architecture )

https://github.com/vendure-ecommerce/vendure ( headless GraphQL ecommerce framework )

https://github.com/pvarentsov/iola ( Socket client with Rest API )

https://github.com/amplication/amplication ( Auto-generates backend apps )
I think the point of this article is to reach the doubters from another angle than the usual doom-and-gloom eco-disaster or climate apocalypse approach.

It makes using solar attractive to the consumption-hungry among us, and presents it as a money-saving device: all of which will appeal to a completely new demographic than the usual environmentally-aware crowd.
I mean, this is true for every operation once you extend it to a new domain.

What is exponentiation? is 5^6 multiplying 5 for 6 times? sure, but how about 5^(-6)? what's up with that? and 5^(1/2)? and don't get me started on 5^(2/3)
Tech non-profits: https://jobs.ffwd.org/jobs
RealNetworks agrees to deal to take the company private
Clojure's webstack has actually made webdevelopment interesting again. Most of the other "innovations" in webdev has added tons of complexity without benefits that match.
I agree. I lived in SF in 2015 and I never, ever saw anything remotely like this.
Ask HN: Something Like Git but for Binaries?
I am looking for something like Git but for binaries where I can prove the validity of binaries in some repository (artifactory,Nexus,…) or via it’s own repository that the binaries are valid artifacts and maybe also how they derived from other artifacts.

e.g. having a merkle tree of different binaries and their derivations.

Is this in some way possible? Is this what Git lfs will do?
Or do I need Bazel for this? How does NixOS or Gnu Guix fit into this?
Yes and no. There are some differences which make vscode superior to tmux/screen, ssh/fuse or rdp/vnc/nomachine based solutions.

- incredibly easy to setup (only a browser is needed) and use everywhere. Even management compatible.

- can be automated easily with ansible and/or docker

- remote pairing without a third-party cloud in between

- plug-ins just work even when being used remotely

- headless chrome can be proxied to the webview of vscode (a real browser running remotely in your browser)

Almost everything mentioned can be done with the tools you suggested BUT IMO it is not as smooth then just using vscode. This is coming from an arch (using arch BTW) / i3 guy.
> I'm trying to envision a situation where you'd want to make more than one database request at the same time.

Because I have two requests active at the same time and the second one which arrived shouldn’t wait for me to stand around doing nothing while I wait for the database to serve the first.

> Like I guess on a blog or something, you could load the user record of the current user and then load the blog post details at the same time, but then there's a chance that the user doesn't have permission to view that blog post and then the request for the post has gone to waste, right? It goes against my instincts to kill a request as quickly and directly as possible if something can't be accessed.

Here one user represents 2+ events, both of which should fail. This wasn’t part of my original explanation but yielding does give you the opportunity to fail both simultaneously. Albeit in this case it’s just concurrency broadly. Why is that against your instincts, if you know that one request’s failure implies the other will also fail? Why should that user wait in line to get the same error after another cycle of the same trial?

> I'm just not used to thinking of developing back-end web apps that way. But async still just doesn't seem as useful as it would in a GUI desktop app

Yep I get that. And async takes a bit to get used to in general. The way I think of it is: I have two kinds of work which need to be done, and a long line asking me to work. Some of the work needs labor (CPU), some needs patience and communication (IO). Everyone in line needs some of both.

If I do the first person’s immediate labor and wait for further communication, persons 1 and 2 are waiting for me to proceed. If I do the first person’s labor, send off an asynchronous request for feedback on that, I can do N people’s labor before I get any response. As long as no one spends too long making anyone else wait in queue everyone moves as fast as the queue’s capacity.
Maybe my perspective is different because I'm relatively young, but everywhere I worked every dev was using GNU/Linux at work and only a tiny minority expressed that they'd prefer macOS. Windows was always something that was used exclusively by non-dev departments (aside of testing machines for checking compatibility). I seem to remember only a single exception, and that was a WordPress developer who worked with and as part of the marketing team, so not sure if it really counts.
There is type inference for local variables indeed with var in java for a few versions now (from the top of my head it is available since 14?)
I think this is actually common in the literature, it has nothing to do with Wikipedia. Consider that Python is commonly described as a GC language, though it has always mostly relied on automatic reference counting to free objects (it does have a tracing GC as well to handle cycles, but I'm not sure if it always did).
"What are you in for?"

"Couldn't find work."

There seems to be a proclivity in the states to solve social issues by diving headfirst into a dystopian nightmare, instead of learning from somewhere else.

That aside, jails are more expensive than simple housing. Just house them regardless. It's way cheaper.
That's the whole point of the system. Your reports are ignored, but when it hurts the bottom line of someone actually important, then:

"Breed has repeatedly promised to catch the perpetrators and even incentivized residents with up to $100,000 rewards for information leading to arrests."
I lived in SF from 2014 to 2020. Lived in Soma, the Mission, and the Haight. I saw a lot of really sad and disturbing things but I never saw or heard of a whole city block being barricaded by gangs of criminals. Where was that?
More like 40k financed over 7 years with a $500 payment. Except your electricity use goes into negative and you can recoup some of those costs. Meanwhile like the article said you start to use $400 worth a month and with batteries you end up fully self sufficient when the grid goes down.

Honestly on a tech salary it's a bit of a luxury but not much for the peace of mind of never having your power go out. Basically $120 more a month. And then when it's paid off it does become free.

If you own a home it's really a no brainer.
I find it useful, when I learn about something , to go to the origin of the thing I'm learning. For example, I want to learn about x86 assembly language and processor. Then I read first ever manual on x86. and manuals from processors that preceded it.
There’s a budget, and they prioritize certain crimes. I feel it’s how police departments are run everywhere. My home was burglarized some years ago. The police in Utrecht will not come if you call them, it’s an insurance case. However, in my case I was at home, and there was a fight. In that case, it’s not just burglary, but home invasion, and when my partner called, police arrived with three cars in about 5 minutes.
I'm surprised chain/mass market retailers permit that.

I'd think HQ would want a police report for missing stock, otherwise they're going to think you took it yourself. It'll be a useless online police report, but you have a # to reference about missing stock XYZ.
Noted and appreciated.

But the fact still stands that that all-cause mortality was up about 40% at the time this was recorded. (See: https://www.usmortality.com/excess-percent)

Regardless of whether it's from second-order effects created by Covid policies (e.g drug overdoses) or other unrelated causes, it's a substantial figure worth investigating.

Hopefully more reputable sources will start investigating such claims -- until then I hope people can be open-minded to the fact that "the worst person you know might have just made a good point"
What you describe reminds me of a certain thing in the USSR:

https://en.wikipedia.org/wiki/Parasitism_(social_offense)
What XML pain are you referring to? It's not something I've had to deal with in ~3-4 years of professional Clojure work

The slow start times are meaningless for long lived servers, which Clojure is best suited for. For fast startup time there is now Babashka which is great for many tasks, and GraalVM as another option.
Peter Thiel: Competition Is for Losers (2014)
They do it because they serve the same purpose, though with different trade-offs.

Note that this mostly reflects automatic reference counting, like you have in Python or Swift, not so much manual reference counting like std::shared_ptr or Rc.
With this new major release, we've completely redesigned and rewrote the projects in Ora.
- Redesigned board/kanban view
- Redesigned list view
- New Table view
- New Weekly and monthly calendar views
- New Timeline view
- We introduced grouping (up to 3 levels) and sorting of cards.
- Cards can now be dragged in or out of other cards to create subtasks
Unfortunately it’s easier for me to do nothing with the accounts rather than backup the data and delete them :/
I think a lot of people are frogs in a pot with regards to their city deteriorating, while some definitely exaggerate because we also do just get cranky as we get old.

But the 1950s standard of dirty and the 2020s standard of dirty are very different. Disposable heroin needles and piles of plastic garbage simply weren’t a thing, although SF has always had a reputation as rife with opiate usage.

I lived in Portland. I loved the city, but over the span of a couple years, it was obvious seeing the progression of the grime. I lived a bit outside the city where it was nothing but green gardens and blackberry bushes free for the picking, and pockets of downtown had homeless camps. It quickly ramped up to the bushes being full of filthy plastic garbage, crusty addicts planting themselves outside stores all over downtown, lines of tents, and more.

Dirty cities 70 years ago smelled of piss and had smashed glass. Dirty cities today have all that and more. Our standards shifted.
Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of them are for YouTube because it's this much annoying as is.
Sure, but the claim here isn’t that police don’t have the budget to respond. It’s that they’re not bothering to do their jobs because they think it’s “pointless”.
One can say a lot of stuff, but is there any sign that there are less devoted people in the USA today than before? There definitely seems to be a lot of devoted Christians, which has worked tirelessly to get their opinions into law. Maybe the problem is rather that people are devoted to the wrong stuff?
There is also Mapillary (now owned by Facebook unfortunately) and Yelp. I am not familiar with their APIs however.
Like they say, not their job anymore. Sort it out yourself.
https://archive.ph/hFUXN
It's sad that we've ceded the Tenderloin to being a known unsafe part of the city, but, well, it largely stays in there, for better or worse, and most everyone knows better than to be in that part of the city. (Seriously, gangs running checkpoints?)
Sites can impose a Content Security Policy, that (among other things) can disable inline JavaScript. This makes it a real PITA to modify web sites with user CSS/JS.

I am personally aligned with pro-CSP because it can greatly reduce the attack surface of web sites I host, and is quite effective and precise.

Browser extensions can, and do, play around CSP.

Bookmarklets has no overhead in the browser, because they are just bookmarks that do not interact with the browser unless I click it. Having a little addon for each little functionality is annoying, slow, and difficult to maintain and review.
Well, it won’t be the bottleneck itself, but it has an overhead on basically every operation, which likely won’t show up during profiling.

Also, I fail to see the advantage of RC in case of a presumably mostly immutable language - a tracing GC is even faster there due to no changes to the object graph after allocation, making a generational approach scale very well and be almost completely done in parallel.
If you are assuming GC does not need to stop the world, you can also assume that the freeing of memory (including the O(n) calls to free()) will not be done in a critical path; all memory could be handed off to a separate dedicated thread that actually calls free(). Or in a RPC or HTTP server all memory can be freed after the request has been served.

It's very easy to make a reference counting scheme not stop the world. It's a bit more difficult to make a GC implementation so.
> Regardless of your stance on immigration into the USA from South America

If you mean from places like Mexico, I will note that Mexico is in North America, not South America.

> anyone can see the hypocrisy in this right?

It's only hypocrisy if you assume every Mexican citizen is part of a hive mind, which they aren't, and also ignore the reasons for their views (e.g., that the opposition in Mexico City is largely opposition to white gentrification reinforcing preexisting elitism and white racism at the expensive of non-rich non-whites.)
I don't miss them very much. The whole thing was a security nightmare and I am glad Mozilla dropped XUL. I think they truly had to.

I get the utility but I suspect writing greasemonkey scripts for SPAs might not be a great experience.
What about irrational numbers? There's no neat way to view multiplication of two irrational numbers as repeated addition. And even if there were a way I don't think it's a useful way to think or teach after the first couple years because it makes obvious things like √2×√2 = 2 seem weird and mysterious.
What a harsh response, taken alone. I agree that in general, crime must be punished. But how about also looking at the root of the problem? Homelessness, education, mental and physical well-being, etc.
¿ https://nyxt.atlas.engineer/ ?
Okay, fine, I'll assume you're a decent person who's heart is in the right place.

The vast majority of homeless people suffer from mental illness, and have come from broken homes - experienced severe childhood trauma.

These are people who, mostly, never had a chance. This is the key point. They were dealt a truly garbage hand in life, and no amount of 'pull yourself up by your bootstraps' is going to change that.

They need care, they need education, they need homes. They need people to invest years of work into their rehabilitation.

And, in pretty much any developed country, providing that is roughly equivalent in cost to what we currently spend punishing them.

The state is paying the cost of homelessness, but it is doing so in a fashion that both fails to solve the problem and makes the quality of life for these people even worse.
I got my first dev job at a call center because bookmarklets, I was a phone operator and hacked some internal websites to improve the UX and the speed, everyone ended using these bookmarklets (coded in word and then minified running another script in the browser console).

Grease monkey is still alive, I added voice recording and speech to text transcription to Slack before they did.
And at least in unix you can quickly ripgrep through the usual home and /etc/ directories looking for something, whereas searching in regedit takes forever for some reason.
How many credits does a corporation receive? By what measure do newly founded companies assess their carbon expense?

Economists!? Honestly not the group I would defer to at this particular moment in time.
We are on the precipice of a possible global finance collapse thanks to their pseudoscience
The conventional way to add a page to a book is to glue it along the inside edge. https://en.wikipedia.org/wiki/Tipped-in_page

There are several versions of this article floating around the web showing the process if you happen to have bookbinding equipment laying around https://www.lineco.com/book-repair-3/
> An official comment from Stadia "takes nothing away" from an anonymous source with no track record or credibility whatsoever.

Yes sometimes those with inside knowledge are covering their tracks. NDAs and such.
I guess they realized that they would like to start hiring.
I share your concerns but the immediate response I have to them is "needs more regulation."

We shouldn't let Meta take advantage of regulations towards Apple. We should use it as an opportunity to write more regulation of both of these entities for the purpose of serving the end user.
That’s a good argument for defunding the police. If it’s not their job, I certainly don’t want my tax money paying them to not do it.
Moreso the effort. But yeah.
Never understood why there’s not a “filter/algorithm” selection in Settings or something to allow a User to specify “news/social/business/whatever”
Maybe makes sense as a dark pattern to give a User more than they want always
Sometimes I use curl with a session cookie copied from the developers tools. I never automated that part. I don't even know if it is possible.
This phrase bothers me.

It's sort of a contradiction in terms: what does it mean to hold a "strong" opinion "loosely"? In my experience, those tend to be highly correlated. The people who have strong opinions hold them firmly, and the people who have weak opinions (or more charitably, for whom having opinions---whether strong or weak---is not important to their identity) are much more able to accept reality as it exists rather than as they'd like it to be.

I think the phrase ends up getting used to justify arguing for things (opinions) passionately, but then (supposedly) being able to turn around when proven wrong. I say "supposedly" because again my experience is that this is more wishful thinking than reality, and that in practice the correlation I identified above holds the vast majority of the time.

Does anyone else feel this way?
We have a lot of those, but they're not as popular of course.

Qutebrowser is my favourite among them.
> After boot I can verify my stack by comparing a TOTP code generated by my Yubikey with one generated by the TPM.

But if you're not sure whether the system booted cleanly, then it might be compromised. If it's compromised couldn't your tools simply lie about the codes generated by both the TPM and the Yubikey so that they always match?
I have been taking a look at Clojure for the past couple of weeks. Although I'm not a fan of web development as is in JavaScript, Clojure looks more inviting to me.
With a subsidized loan and a tax break it can be positive on the first year.
Come on, object graphs are completely dynamic, noone can say where will “a variable go out of scope”, unless we literally have a hello world.

Do you honestly claim that you know when deallocations happen in any codebase full of conditionals depending on outside effects (user input, network, etc)?
>“They knew it was a crime before they did it, and they did it anyway. So what we have to help them do is examine why.”

This kind of naivete is plaguing so many leaders. If only criminals could examine themselves and introspect their actions, then they would understand! It's like people forget that we are still essentially animals, and when the reward of opportunity outweighs the risk of punishment, there is slim chance that the moral mind will prevail. Even slimmer if the person in question does not have a foundation of morality guiding them.

Restore morality and revamp the idea of punishment to actually be a deterrent in the 21st century and these things will go away. Unfortunately we are inundated with weakness to a degree that we consider morality as undefinable and punishment a faux pas. "Punish a criminal? How unacceptable. Who are you to say what is right and wrong?" It seems we'd rather society fray apart into nothing than re-establish any kind of order.
If that were true then Im fine with this kind of unofficial sales tax to support people who are in desperate enough circumstances to be compelled to shoplift.
Will either of your customers be willing to acquire the solution from you? Can you sign up 10 more customers in the next year?
That appears to be an article from 12 years ago, and the quote is about downsizing in the police department. I feel like I'd need to see a citation that this policy is still in effect before I could even begin the consider the real issue about whether this is just maneuvering in a political battle or an actual lack of proper funding to be able to handle those crimes.