skysight-inc/HackerNews huggingface dataset:
Yeah so I'm at this point in our main service which is a rather large REST API. For certain endpoints — naturally lists of things — we run into polynomial time complexity, the N+1 queries problem. We query for a list of entities which, when serialized, queries for some child entity and on and on it goes. We've been able to stop some of the bleeding by refactoring queries to use `select_related` and `prefetch_related` (it's a Django app) so that we limit the number of queries, but this only gets us so far.

I'm now at a point where I'm not sure what the next step should be. I believe caching may be the next logical step, but I've been hesitant due to concerns about the staleness problem, knowing when to bust the cache, etc.

And then even if we do go the caching route, I'm unsure at what level we want to cache. Do we cache individual objects or do we cache the large, fully hydrated models (the ones that require many queries to assemble)? Then there's the problem of having to mix and match fetching objects from the cache in the context of other arbitrary DB queries that can be constructed.

How do people generally go about introducing caching? Do you try to limit the scope of caching as much as possible (like to the lowest/smallest objects) and see whether that's sufficient to get the performance you want and then increase the caching surface area from there?

Also, what approaches do people take from the technical side? We already use Redis for some things so I implemented a quick proof-of-concept that seemed to work in the small scale. I've also seen people use Elasticsearch to keep fully hydrated/rich models in there and then use ES as the read store. Are there merits to this approach? Crazy?

Really keen to hear anyone's thoughts or guidance on this!
Yea, large companies that don't really care about operational spending will happily use GPUs. But for anyone else, spending a few thousand on GPUs will save a lot of money very quickly.
I think the barrier to better OS is partially a bad device market. Smartphones are short lived products with specialized hardware and manufacturers do not share generic or reference drivers. There are some other factors, but I don't see how a development would be possible without close cooperation with the manufacturers.

I doubt we would see the development of the personal computer again. The wrong people in business decide the direction here.

I do even think this is ultimately a limiting factor. There is just so much I would ever be willing to share on a device where Apple or Google is the administrator. I mostly degraded my phone to basic communication and nothing else. No auth, special software or utility. If I invest here I very likely will be sorry later.

Device manufacturers decided to go with locked down environment. I cannot really understand people that buy a Samsung phone. The amount of crapware is staggering.

iOS is cleaner, but I also do not want to invest knowledge here either. Not even in the hardware if it could run other OS, even if it is decent.
When you browse for content in a certain field, it will often refer you to content in the same field, which makes me feel trapped in a small circle and not exposed to other diverse elements.
There will also be less total misery in the system, so I'm not sure your point proves anything.
I used to work with someone who was an expert in writing cryptography libraries. He insisted on never using any system calls for maximum portability (he also wrote his own memory allocators and optimized for small binary size). Seemed quirky to me but he was proven right multiple times as our ultraportable library let us book some big deals that would have been otherwise infeasible without a big rewrite
While conceptually I love the idea of not having to explicitly set the region of an object I'm storing, I feel like (especially in a distributed team or product) this could end up with a mishmash of data distributed all over the place with a bunch of different and unpredictable access time and latency characteristics.

Maybe the solution here is "just make sure the asset is cached on the edge" but for first access there has still got to be some impact no?

I'd love to see some test/benchmarks on access latency for stuff uploaded by say a colleague or app hosted in the EU or Asia with me in the US.
Current AWS employee of 1 year, opinions are my own

I largely agree that for me, working here feels "day 2", which just means it feels the same as working for any other mid to large sized corporation. Lots of meetings, building consensus, tasks that amount to overhead, and adjusting slowly moving pieces to advance whatever the corporate agenda is. Many of these things are directly contradictory to amazon's stated leadership principles (core values) but work happens at the scope of teams not at the scope of leadership principles.

Some of it is team-dependent (not unrelated, my team has really good work life balance. I slog through annoying corporate BS 9-5, but don't work much beyond that) and some of it is related to the builder tools as mentioned in the article.
I support and believe in the freedom to be a left-wing radical.
The GDPR came in effect in 2018 (May 25). When it did, most companies scrambled to comply.

Back then I researched the analytics situation and can say from what I remember (and my POV):

- It was super clear it was a touchy subject, because you're basically disclosing private information (IP, tech capabilities, some browsing history, etc.) to a third party who may or may not comply with GDPR's basic requirements about data protection, right to be forgotten, etc.

- It was super clear there were some minimum requirements, like anonymizing IPs, limiting storage of data, storing the data in Europe, or making sure URLs didn't disclose personal information.

- Google didn't say much about compliance of GA. Their text was more about shifting the responsibility to web admins. Possibly because there were some doubts, like the validity of the Privacy Shield, which eventually was deemed invalid.

- Other analytics tools, like Matomo, offered configuration settings for anonymizing visitors and limiting storage.

- It was often suggested you could solve the issues by having users opt-in to analytics. e.g. "This tool by itself is not in violation, you are in violation if you didn't ask for consent before using it". The "guns don't kill people" argument. However, anyone would agree that if you can only track consenting people your analytics get super skewed, maybe to the point of being useless.

One of the main issues back then was that the GDPR doesn't talk about cookies at all, because a separate legislation (updating the existing ones) was going to cover that afterwards. This created a lot of doubts of whether an analytics solution based on cookies (without opt-in) could even be compliant at all. Current understanding is that certain cookies (e.g. login cookies) are and will be OK, while others (cross-site tracking) are absolutely not.

I think the reason decisions started coming as late as 2022 is because implementation was super late, and people are still learning about these things. There are still a lot of touchy subjects, like how to deal with YouTube embeds, Google Maps, etc.
I’d have expected that to have started as “diving save” rather than “dive and save”.
There might be some merit to that, although it could just be the case that they just don't like the idea of a compiler telling them what they can and cannot do.
“How many ants are there in the world?” -Google Interviewer

I think Google has now mostly stopped with the brain teaser questions but I could absolutely imagine this being one back in 2010 or so!
Depends on your jurisdiction. In some parts of the west you can easily exchange 400k to fiat in less than an hour.

But in some countries, this might not be so easy. If you reside in Russia, China, or Canada, you might have a hard time. It may also prove difficult actually using the money once it arrives in your bank. Traditional banks are hesitant with sudden windfalls, and you might have your account suddenly frozen for a month or two with no recourse.

There is also the option to just hold the ETH or a stablecoin token.
He's incapable of accepting defeat at this point, and since most people in Russia seem to be supporting this war, the only answer seems to be the assassination of Vladimir Putin. He needs to die like the Hitler he has become.
Pretty sure half of them are in my yard.
Corps of engineers. From French corps d'armée (16c.), from French corps (old French cors) "body," from Latin corpus "body".
Weird, I remember Noctua fans being really good ten years ago too. Choosing Antec feels like a deliberately mid-range choice, but I don't remember how they were thought of back then.
It seems to me that the occupied regions of Ukraine are very vast and cannot be controlled by the number of Russian troops that they now have in Ukraine. Accordingly, more human resources are needed, so they want to close this gap with the help of this call (about 300 thousand soldiers).
> It's not just Huawei that left Russian market.

Wow, it did? Huawei brand shops are open though. You can even buy a RosTest certified Huawei P50 Pro, which was released in August.

In any case, this is just a fraction of Chinese business in Russia, the rest of which doesn't seem to go anywhere.

Currently this looks more like political fluff, rather than anything practical. Shutting down AliExpress in Russia would be indicative, but nothing even remotely similar had happened yet.

> To China, Russia is just a mafia-owned gas station. Nobody's going to fight for that.

Doesn't look that way when looking at Chinese propaganda, but in any case, why would China FIGHT for Russia?
This is from Google Trends and they don't provide specific figures on exactly how many searches there are per hour. Instead they show relative values where 100 is the max ("peak popularity for the term"). You can see the results for yourself at https://trends.google.com
I recall some factoid circulating a while back that stated that ants outweighed humans 8:1; this is saying that humans outweigh ants 5:1.
At the risk of sounding the "+1" bell...

I left Amazon due to it being a total shit show (for me and my mental well-being but also for the team I was on). Went to Microsoft and found it to be absolutely wonderful. I was working at 6pm one day and my manager, as he was leaving, chided me and said, "Go home to your family. Work will be here in the morning."

I have had friends/colleagues leave to go to Amazon for the TC. One even tried to get me to go over there for a PE role that likely would have meant a huge pay increase. But I value my sanity and have no plans to go back there ever.
A return to co-parenting should absolutely happen. Back in the villages, kids were raised by a number of adults by proxy of kids staying overnight at each others houses, and this exists still in many societies.

The atomisation of the western world has forced parents to singlehandedly raise their kids and enact on them their specific faults and biases, whilst crippling everyone mentally and emotionally
Network firewall virtualization certainly could be built on top of a new microkernel in Rust, such as this one, and it may gain some benefits in correctness — but looking at its site, the datacenter networking space doesn't really seem to be part of Redox's core ambitions.

Perhaps you're thinking of NAFTA?
With over 10,000 visitors to the Free SQL Generator it was time to start seeing which transforms people used most! This is a write up about what it means for data work!
wait so you wrote all that without actually watching the video? that also undermines your words.

After you've watched the video, tell us if you think creating that music video, as a cohesive piece of art with beginning, middle, and end, complementing the tone and texture of the song, was actually "trivial".

In emphasizing the role of a human ("Sagans") in creating the video, I was reacting to the glib headline "Created by AI".

You and I agree on how none of these AI models would be doing anything interesting or useful were it not for the vast human effort that went into creating all the training data. I'm just pointing out that there's human artistry on the output side too, especially to create something that works as music video.
Why not just use energy that actually is pretty clean? No reason we can’t use nuclear for the majority of energy, and it’s waste is far more manageable than C02 in the air.
Also just offering anecdata, the last 10 messages in my spam folder have these origins:

1) 3 "legitimate" spams, i.e. unsolicited messages that the senders believe they should have sent. 3 of these. 2 via Constant Contact and 1 via Salesforce.

2) 1 random porn spam, via random spammer domain with valid SPF and DKIM.

3) 2 phishing scams with the same body arriving from random commercial domains without DKIM. These are almost certainly spread via malware/viruses/worms.

4) 1 Google promotion originating from Google with valid DKIM, because I mark all these as spam.

5) 2 phishing messages, with the phishing warning, that originated from gmail itself via HTTP. These are pwned google accounts or google accounts logged in on machines with malware (effectively, same thing).

6) 1 idiot Republican politician, via Mailchimp.
It seems inevitable now that NVIDIA and the USB Consortium will work together on naming future technology.

They have proven to be the best at this discipline with no competitor in sight.

Consumers of the world are in awe.
> drunk uncle payment processor

I laughed out loud. I'm stealing this.
No, this is just parents who are afraid of their personal worldview being challenged by their own kids (oh the insolence!).

Nobody came to these parents to tell them "your kid should not be reading X". If parents don't trust/like the curriculum of their local school, AFAIK homeschooling is still an option in the US.
Does anyone have good resources to learning rust? I have a fairly good working knowledge of C, C++, and Swift.

I understand there's the Rust Book, Rustlings, and Rust By Example at https://www.rust-lang.org/learn. Are there other good resources? Does anyone have a strong suggestion on which of those official resources I should start with?
I suspect by "liberal arts" you meant humanities and social sciences. Curiously, the term "liberal arts" encompasses natural sciences and mathematics as well. I wouldn't go quite as far as to say they're bullshit. For one, I do appreciate some poetry and other fine arts. Where my sympathies end, is appropriating the hard-earned credibility of science by so called social sciences and humanities, which often, as you wrote, use quotes of prior authors as some proof of truth. Rule of thumb: if papers in a field use "[famous author] wrote X, therefore Y" as the standard of proof, instead of "we conducted those experiments with this methodology and here is what we found", then it's closer to scholasticism[1] than to science and should have no business using the word "science" anywhere. To be fair, in each field of such a social science there are usually people trying to move it away from the authority-driven philosophy model and nearer the science model of experiments, so I wouldn't necessarily say it's all bullshit. But each time I hear someone "studying psychology" say "Freud wrote this", "Lacan said that" and expand that as if psychology was some Freud&Lacan fanfic, then proceeding to make conclusions from that about the real world with the asserted credibility of someone talking about discovery of the electron, I roll my eyes.

[1]: Reading works of scholasticism was dreadful. "Aristotle this, Aristotle that, I'm so insecure I'm afraid to utter a sentence without supporting it by something Aristotle said" and not a single experiment in sight.
I posted a clip on Twitter in response to a similar query! https://twitter.com/stephencass/status/1572600095467618304
Mlibc: A portable C standard library
Much as they do now: by grouping loans by creditworthiness and selling them as bundles to investors.
Just about any place on earth. You will not get better treatment by police in Spain, Mexico, China, Ukraine, Italy, Russia, South Africa, Japan, Romania, South Korea, Venezuela, Cuba, Germany, etc., etc. In fact, it's likely to be worse in all those places. Canada, Scandinavia you're likely to be treated better but that's about it.
Would like to see a demo video. Reading through the landing page doesn’t really tell me what this does, or how are using it would work.
I’m not sure how you can say that given news reports like these in 2021, see https://www.theverge.com/2021/7/9/22570579/amazon-performanc...
If I just killed 3, how would I update their census?
Thanks a bunch! It's really early stages here... but we're so excited with the possibilities this tool will unlock.

It's been a big topic that we talk about a lot as a team as we continue to build. We ultimately want to give creators the control on how they want to share and present their model. And, give the reader/collaborator some controls on how they want to consume it. But, we also want to make it easier for people to understand what different calculations mean and how the model works so they can learn and collaborate more effectively. One approach we've been exploring as we build Decipad is a more human way to write calculations that are easier to read and understand.
A guide to the Digital Services Act, the EU’s new law to rein in Big Tech
> I've had proprietary software break on me. It was actually our fault. Literally, it resulted in there being a call with a developer at the vendor and they fixed our code for us.

I write open source software for a living. I've had users come to me with problems that turn out to be bugs in their code. I fix their code for them. This happens pretty much every week. I don't see the distinction, one anecdote is as good as another.

Obviously, yes, you can write big checks that ensure people take you seriously, which is fundamentally what you're talking about here. You can write those checks to anyone though, including many, many excellent companies who would love to take your money to maintain their open source projects. It's an orthogonal problem.

All I'm saying is don't confuse the two.
I don't know. I didn't suggest it, nor did I make any mention or provide any opinion on the matter.

I read the article you published as evidence, and provided the context showing how you were misrepresenting the story to suit whatever false narrative you were pushing. I'm not sure what agenda you have here, but lying to demonstrate something is never a good sign.
What you editorialize as "fear-stoking," fearful people might characterize as "fear-recognizing."
PostgreSQL CDC to BigQuery Using GCP Datastream
I agree with the sibling comment that your theory probably has some merit. However, it does leave out a class of individuals like me. I tried Rust, had no issue with the borrow checker. But I think that is because, IMO, using Rust is predicated on programming, and designing programs and algorithms, in the way Rust wants them designed. So, when using Rust I just accepted that my code needed to fit what Rust thinks is proper and will accept. There are plenty of other reasons not want to use Rust and to not want to see the language become the front runner in some sort of ‘race to replace’ other systems level languages. But I’m sure there are more knee-jerk reactions that become entrenched opinions than those opinions formed like mine.
Thats why the bukaneer islands were such a honest gambler paradise..
If you think things are as good as they can be then you don't need more people. If you want to improve things each person you add is a chance to come up with a solution.
It's always worth considering solutions that don't require forcefully changing the behavior of billions of people.
They've wrapped around two times already.

Few examples: there was GeForce MX 4000 (in 2003), GeForce GTX 480 (in 2010) and now GeForce RTX 4080.

Intel at least had the decency to go into five figure numbers with their CPUs.
I can’t think of why not. The velocity might be lower, but moving air is moving air.
Tether ordered to produce documents showing backing of USDT [pdf]
I don't see anyone insisting on that, either.
I've stayed in traveler lodging well over 100 nights (U.S. and Canada) in the last two decades, mostly in motels that I drove to. Motels alleviate a lot of these hotel safety/security problems because they are not usually right in a city center, there is minimal staff, all the rooms usually have direct access from the parking lot (no lobbies, elevators, or hallways required, depending on size of the motel) with high visibility, and you can use your vehicle for backup storage (credit card, cash, external disk drive, extra car key). Many times I have made sure that if either my room/person is robbed, or my car is stolen (but not both) I could still recover and continue my trip.

Of course, many business travelers don't have the luxury of driving where they need to go, but for tourists, it's worth considering. You usually don't even need to make a reservation, you just find a spot around the time you are ready to stop driving for the day.
Mahabharata translation by William Buck is great for Westerners like myself with no prior introduction. I liked the Ramayana also in William Bucks translation.
Too bad the documentation isn’t online. What does it use for formulas? How do you share notebooks? Do you need the app to view them?

I’m pretty happy with Observable’s notebooks. It means you need to know JavaScript, though, and furthermore learn Observable’s quirks [1] and a plotting library.

[1] https://observablehq.com/@observablehq/observables-not-javas...
I was reading and I think 18 USC 1957 may be a problem.

> Whoever, in any of the circumstances set forth in subsection (d), knowingly engages or attempts to engage in a monetary transaction in criminally derived property of a value greater than $10,000 and is derived from specified unlawful activity, shall be punished as provided in subsection (b).

The withdrawal from Tornado Cash after the sanctions were imposed is the specified unlawful activity (IEEPA violation).

Even if the withdrawal itself was legal (the person who withdrew the money was not a US person), the government could argue that he should have known the funds could have came from some crime, i.e:

> In a prosecution for an offense under this section, the Government is not required to prove the defendant knew that the offense from which the criminally derived property was derived was specified unlawful activity.
I like the UI design of this page, but I often forget what the symbol under the rabbit or dog is, it would be nice if it could be displayed, just a small question
It's not a slippery slope. That is literally what you are advocating. The same parents who don't want their children to know what Ruby Bridges went through or that gay people exist also don't want their children to learn about evolution.
The trouble is a big part of the point :)
let's step back and observe this moment

I see the words "trauma" "weird" "wrong" "disgusting" "sexually" and others in the many replies below, at the same time as multiple downvotes for saying this directly..
>These words aren't a magic spell, they can still beat the shit out of you and arrest you if they want.

Talking certainly didn't lead to a good outcome in this case.
Same age range although I started programming in my late 20’s. I have been letting job listings dictate what I learn. I should stop but don’t know what to focus on.

Anyways, your comment resonated with me and I appreciate it.
Rust brings a lot more to the table than C++ does - it solves many of the "hard" problems, at compile time, that kernel developers have to constantly grok with. I have a feeling, that it'll not only do well in the Kernel, but may eventually become the preferred language.
The was a heavy battle between US army and Russian mercenaries from Wagner in Syria. There are various estimates but at least 100 Russians were killed and probably up to 400,

https://www.coffeeordie.com/wagner-group-syria-khasham
a fool and his money are soon parted