skysight-inc/HackerNews huggingface dataset:
Ok, that's pretty neat. Using Promises themselves in the cache instead of values to share the source of data itself.

While that approach has a limitation that you cannot read the data from inside the fetchDataAndUpdateCache (e.g. to perform caching by some property of the data), that goes beyond the scope of my example.

> I‘m not even sure what it would mean to “add a lock” to this code

It means the same as in any other language, just with a different implementation:

class Mutex {
locked = false
next = []

async lock() {
if (this.locked) {
await new Promise(resolve => this.next.push(resolve));
} else {
this.locked = true;
}
}

unlock() {
if (this.next.length > 0) {
this.next.shift()();
} else {
this.locked = false;
}
}
}

I'd have a separate map of keys-to-locks that I'd use to lock the whole fetchDataAndUpdateCache function on each particular key.
What if something breaks in production and it's not clear what's happening because it's hidden somewhere in the application code behind layers of magic
- Kubernetes is great

- LLMs are incredibly useful

- Lisps and functional programming aren't profound at all
You said it yourself: "crazy". That should be your first indication maybe you should look at it closer.

Child support payments are ordered based on the parents ability to pay, not to exceed the needs of the child.

The court can reinstate your license if they reassess the amount and/or you agree to a new payment plan. The court can also give you a hardship license, that permits you to drive for specific purposes: like from home to work.

I dont have a ton of sympathy for deadbeats that want to joyride in their car while their kid is at home hungry.
And with gig economy commoditization, for extra flair.
Technical PhD thesis defense doesn't count as a software engineering interview(s)?
> This thread is about bringing Ukraine and Georgia into NATO, which means we would be obligated to fight on the ground to defend those countries

Strictly speaking, it obligates the US (like any other NATO member), in the event of an attack on any other member, to “individually and in concert with the other [NATO members], such action as it deems necessary, including the use of armed force, to restore and maintain the security of the North Atlantic area.”

It’s quite plausible the US could do that without deciding to “fight on the ground”.
I think most people with type-2 HPPD would disagree. (I had type-1 HPPD for a week or two and enjoyed it, but most people usually don't.)
Impossible to pull this off unless you're Apple, Samsung, or Google. You need to first standardize the entire hardware market, just as IBM PCs did in the 1980s with "PC Compatible" and the famous ISA slot. Sorry, but unless you're sitting in a high position at one of these companies, you're crazy for even trying.
Opentofu is terraform compatible and way better than bicep imho
Does it apply also for foreigners? Maybe it's more of a thing for japanese people?
Fisker Trading Suspended by NYSE
Do you have a link you can share? I think the project grid with thumbnails could benefit greatly from Jampack but I would need to see the page to confirm.
a tutorial on how to be human on internet
That repository links to a site https://www.modpagespeed.com/ which in turn links to a different repository https://github.com/we-amp/ngx_pagespeed

It only has one extra commit, which deletes RETIRED.txt which was added in the repo you linked.

So at the moment it seems someone is intending to continue development. And might even be working on it, but haven’t pushed any work to the main branch.
I think the issue with predators is that they taste "bad" compared to herbivores. Maybe we have evolved not to like they because of bioaccumulation, i.e. its not just a cultural norm.

I cannot think of a land-dwelling meat-eating animal human routinely eat. We eat chicken, but they eat anything including rocks, and they're towards the bottom rank of good-tasting meats anyway.
zlibrary is moved to tor. i still go there whenever i need hard to find books
If you'd asked me which country was the 2nd largest exporter of agricultural products, I certainly wouldn't have said the Netherlands. It's cool to see what they're doing to maximize efficiency, and I hope that efficiency can be replicated globally as well.
What about outside of AWS? Are folks only using a single provider? Our list of providers is long and includes a whole ecosystem of stuff from GitHub to Okta and Datadog. Everything needed to host and operate an application is in the Terraform configuration.
Pulumi doesn't rely on Terraform core at all, and Terraform providers use a bridge[0].

[0] https://github.com/pulumi/pulumi-terraform-bridge
Yes, that's what I am saying, I don't use my phone camera, instead, I will replace that part covered by the camera with more battery or CPU. As for the operating system, you can choose the OS you prefer - whether it is rootable or not, or even your own custom OS
Windows 8 Metro UI and its flat glyph-inspired iconset (similar to minimalist signage, e.g in EU traffic signs) was such a disaster that 8.1, that soon followed, allowed options to toggle between Metro (for those who preferred) and the classic Windows 7 look & icons. It was called Legacy UI in their options.
People are forgetting that Redis became big exactly because of it being both free and open. If Redis came out with limitations similar to LLama 2 it would have been dead in the water since the main consumer is enterprise, while LLama 2's primary popularity is because it was one of the first to provide a high quality LLM to individuals for personal use. A KV store that's compatible with RESP is nothing particularly special, shoot Microsoft just released their own (garnet) under an MIT license. The value of Redis was always it being both free and open source and the community that supported it. As of now they just dropped the biggest reason to use Redis.
> Renters certainly shop around. What makes you think they don't?

I never said they do not. I said that’s not the typical reaction, because moving is very difficult and has a ton of financial and logistical hurdles for most households. “supply and demand, dummy” arguments around the housing market tend to conveniently wave away these costs in the same manner the author waved away gentrification.
It's still a huge achievement. Carlsen is probably still top two or three in the world at bullet.
> only half of US Catholics have heard about transubstantiation and only a third believe in it

That's a startling figure, but I've been out of the church for a while. I recall that being taught during first communion and confirmation.
Great article! Providing ownership over parts of a code base can help.
I am not any of those things nor do I know anything about their product, just saying that when anyone is crap potting for Terraform it just has always sucked in every job I have ever worked at.
I like bitcoin and don't care for the game of life
How to Learn a New Language
Ah, survivorship bias.
Elon Musk's Starlink Terminals Are Falling into the Wrong Hands
Small correction: billions on the line over the time period of the current generation of CEOs' tenures.
I can see this conversation is leading to Hitler. But sometimes containment leads to a stupid quagmire which you should never have been in in the first place, like Vietnam, and security guarantees to backwards unstable countries leads to larger, more all consuming wars like WW1. Ukraine and Georgia are Russia's back yard, we have no business there.
That's true for encryption too.
The one I can think of is tuning circuit breakers so that failures are additive but successes decrease more multiplicatively/exponentially, which helps with fast recovery.

That’s more dividing than multiplying though
For what it's worth, I'm sure that, if you asked every direct report why they created a position below them, they'd give a perfectly cromulent justification. That doesn't explain away the inefficiencies of college in general, but I do think there are root causes of that that are worth going in depth into.

For example, presidents have large offices because they would say they hold many hats these days, more than they did in the past when higher ed institutions recieved more state money: fundraising on the road and glad-handing big donors for that personal touch, going to policymakers for more money and for advocacy, working with big donors to plan large investments that open entire research units, dealing with internal governance of the college and with faculty. No one person can handle all of these responsibilities.

Or you could look at student services: some administrator saw a need to support certain student populations to increase retention (more college completion = more alumni $$$$, more good press about alums), so you now have people that create programming to engage first-generation college students, Black students, students with disabilities. That's a huge set of communities to engage (especially in large institutions), and no one person can do all of that as well.

The question is: are colleges doing work that should rightly be done elsewhere, and why isn't society making that happen? For example, colleges are developing integrated safety nets and free services (people who disburse emergency funds, mental health care, people that help students navigate this internal system, for example), because American society and government doesn't offer such an integrated system, at least to the standards that colleges are now aspiring to.
Well, maybe there's some terraform jedis out there but I have seen the same problem at four companies so far, and at this point I keep my nose right out of it because its always a chore treadmill.
Did they ever settle up and give the back pay to the indentured servants they essentially imported?
Building TopbarAI letting users chat with any text without leaving current app.
Students or professionals can quickly chat, or use templated prompts on any highlighted text on their computers. Users can bring up a chatbot or pre-defined prompt using keyboard shortcuts after selected any text. Text can be from anywhere on your macbook like from PDF's, browsers, notes, messages, anything.

The goal of my app is to avoid context switching and having to repetitively copy and paste.

I am looking for honest feedback. Works on intel and apple silicon macs. Every user has 25 free messages and then can continue using the app for free if they download local models with ollama.
Thanks for the heads-up. Exploring other channels now. We can't risk having the account shutdown for 200 days (or even 30).
Ggpo: Good Game, Peace Out Rollback Network SDK
Additional marketplaces aside, one of the specific complaints mentioned in the article is that some iOS system APIs are private, usable only by apps that Apple itself produces.

"private APIs and system-level integrations that Apple claims provide for better battery life, messaging management, etc.; the DOJ says that these integrations should be modularized and made available"

While messaging management makes it sound like the DOJ potentially wants Apple to give 3rd-party apps read access to users' SMS messages, the battery life API seems innocuous, yet batteries have already seen use in fingerprinting:

"Fingerprinting happens when an app takes innocent-looking but technical information from your iPhone, like the volume, battery level and IP address. Combined, those details create a picture of your phone that can be as unique as the skin on your thumb." [1]

Apple responded [2] to this type of fingerprinting by requiring app developers to give good reasons for requesting it, but a 3rd-party App Store would offer limited if any oversight from Apple.

"'To prevent the misuse of these APIs […] developers will need to declare the reasons for using these APIs in their app’s privacy manifest,' Apple says. 'This will help ensure that apps only use these APIs for their intended purpose.' ... The data includes points such as IP address, screen resolution, language setting, fonts used, operating system type and version, processor type and speed, network information, battery level, etc."

[1] https://www.washingtonpost.com/technology/2021/09/23/iphone-...

[2] https://www.bitdefender.com/blog/hotforsecurity/want-to-fing...
FYI malicious JS executing in victim users' browsers is a huge concern. All sorts of vulnerabilities can be exploited via JS in this way -- every local side-channel like Spectre/Meltdown, worse things like Row Hammer, etc.
What I don't understand is how this is a terminal-side issue.

The satellites should know where they are and where their beams are pointing with sufficiently high fidelity to turn them off whenever overflying areas in which they're not licensed to operate, or am I missing something?
The ECCploit paper has extensive discussion of all the ways their work is detected, and how they even use detection to probe the correction structure. This is not a silent attack. This is a proof that ECC is a penetrable defense. Which we all know! The question is how difficult it is and how stealthily it can be done.

But regardless, ECC still sounds the alarm when it's being attacked. If no one listens, there's not much ECC can do about that.
“Especially because, despite references to the concept of sexual freedom, self-sexualization often responds to a patriarchal idea created based on the male ideology.”

Sounds more like they make a quick buck. The behavior is a response to capitalism not on the male ideology.
The foldable subdural ecog step feels like a "then draw the whole owl" situation. Foreign body reactions are a major problem that I don't see a satisfying solution for yet. Is the gradual signal degradation from the tissue reaction solved? Are we going to need to be tinkering around everyone's calvariums every 5 years to replace these? In my brief search online I'm finding these low powered studies on the safety of these devices. I'd like to see what the rates of meningitis or neoplasia look like once the implanted population climbs into the thousands. I strongly suspect that invasive measurement of brain activity will eventually be regarded as a foolish endeavor.
I can't violate the Second Law of Thermodynamics, but of course the Super God Computer can do it, because it's really intelligent. The singularity AGI can also take over people's minds while it's switched off; and it will learn to self-improve all on its own, without falling into any other, more stable attractors, out of some kind of categorical imperative, after which it will throw off the shackles of its utility function in favour of consensus human morality (except better). All hail the benevolent übermensch golem, which can do anything imaginable and many things beyond human comprehension.

If you want to say that a problem can be solved by additional intelligence, you need to posit a mechanism. No matter how sophisticated your communication, you can't get through to somebody with their fingers in their ears. "Intelligence" isn't an answer, and "superintelligence" is super not an answer.

We need to actually solve our problems. Not rely on the Coming of the Great Borg, whose exact specifications are whatever would be convenient for the problem I want to ignore right now.
Wasn't commenting about court, but it looks like court didn't even begin considering it.
This just makes it even more asinine that they had to invent their own language. I'm sure I'd be just as productive with Nix and builtins.toJSON. At least they didn't do jsonnet, eh?
> The entire archive must be digitized – a major undertaking. Converting thousands of hours of analog recordings is slow, tedious work. For the moment, the university requires the person requesting materials to pay for the digitization of any tape that hasn’t already been converted.

Canada spent a small fortune to digitize thousands of hours of analog Canadian TV shows, published them on YouTube, then… deleted the channel without advance notice before the videos could be publicly archived, https://news.ycombinator.com/item?id=35716982
its like winning a mini game of half court shoot out with stephen curry.

still well done on the kid tho lol. at 10 i dont even have enough iq.
Much of the consulting work I do surrounds terraform and most people are doing it very poorly or incorrectly. I do not think this is a fault of terraform. For instance, not going all in on IAC and having mixed/poor practice around automation and click-ops'ing things for "speed" is a great way to have inconsistent terraform states. As far as a flat out state corruption, I've only seen that one time in ~6 years working with terraform, and it was due to the mechanism locking the state file failing during simultaneous updates. In today's version I'm not even sure how I'd go about corrupting a terraform state file sanely. There are a lot more guard rails and QoL stuff since the pre-1.0 version days.
This might be the first actual livestream.
If they had broken out results by category it would have been much more interesting. Instead it amounts to "Pools, Hot Tubs & Beaches" is mostly sexualized women, while "Video Games" is mostly nonsexualized men, which is not informative.
I am not asking if it's possible to build such a thing. I am asking if you're interested in a phone that you can customize to your own needs.

Why is it necessary to standardize the hardware market? Can't we simply build our own hardware?
Because the CCP understands network effects and first mover advantage.

And they see a locally-owned social network that can be repurposed for government surveillance/control as a strategic priority.

Facebook obeying the rules today is less important than Facebook being compliant with (and quiet about) whatever edict is handed down next year.
Do you have statistics to back up the relative safety of those activities? Lots of people get in trouble with car accidents because lots of people drive cars. But I would think that if you both drive and skydive, the latter is far more likely to hurt you.
I loved these things, major flashback. I was already on the path, but as a Computer Engineer to be, I gobbled this stuff up!

But also, I confess: I don't feel like I really learned that much from it. I already had a rudimentary Ohms law & binary logic understandings in elementary school, and most of the projects either were obvious from that premise, or were way way above my head & quasi-magical. I loved these things, they were inspirational, but I struggle to recall learning much from them.
The 65-in-1 kit was one of my treasured childhood experiences (circa 1974). I ended up with a degree in electrical engineering, though I was probably on that path anyway.

The highlight was when I was futzing with a slow oscillator and accidentally discovered that using using the speaker transformer as a voltage step up I could get the inductive voltage spike when the relay switched to give a painful shock.

I wrote down that wiring diagram so I wouldn't lose it. One of my brothers had built a 9V variable power supply in a high school shop class, so we made use of that to create a pain game: hold the two leads and turn up the 9V supply output until you gave up. Whoever got the voltage knob the highest won. Our arm muscles would be involuntarily twitching, like a TENS unit.

The other game was one person would hide it in the house somewhere, say a closet, and the other person would use an AM radio to locate it, as the spike would release broadband RF energy which could be picked up by the radio. The closer one was the louder the clicking would come out of the speaker.
Rust Rewrite of MJML Responsive Email Framework
There's a middle ground between encouraging women to sexualize themselves, and forcing them to wear a burka.

Furthermore, veils & cie are but a superficial implementation of the parent's idea, which is to encourage humility (it goes without saying that we should encourage men to behave accordingly at well).

I've saw so many young Muslims women wearing hijabs, with little to no such humility. The most amusing ones wear at once a hijab, heavy make-up and skin-tight clothes.
It seems to me a scam. Part of it is government abuse of the cheap young talent, and part of it is the individual: the more you stay in academia, the less skills you develop for real world, and the more you are drawn into academia
Hah. Thats 2 comments of mine on HN that got notices by industry people.

IMO, if he, Elon Musk, and Steven Bonnell/Destiny sat down together and had like a 4 hour long discussion with the prefaces to explore ideas, I feel like thats an easy 10 million view Youtube video. Musk has the knowledge of how industry works, George is a lot more philosophically grounded in tech, and Steven is the best representation of the humanities aspect.
> Maybe with news the best way would be some kind of micro transaction, but all attempts so far have failed…

It's hard. I wouldn't pay a subscription to a micro transaction middle man, for example. Unless it would work like a music service, i.e. have everything available for one price, and not like a video service with their islands and attempts to differentiate.

But if they had everything, you'd end up with a gatekeeper that decides who can make money and who can't, and that ends up as censorship. If such a service ever comes up, i want to be able to pay for any site with it, including porn, right wing propaganda and left wing propaganda if i so choose. And that ain't going to happen.

Now suppose there would be competing services where you could pay 5 cents for an article read, and they'd bill you when you reach $10 or something for the transaction fees to make sense. That's okay, you pay per read, you can have accounts with several middle men because you pay per use.

But what do you pay for? One read? What if something comes up and you can't finish? Will you be able to save it for later reading or will that cost extra?

Perpetual access? With per-article access control that's going to be a major database after a while. Hard problem technically.

And I've only begun to think about it...
Interesting from the wikipedia entry

> Houdini's widow cancelled the project – perhaps because she was herself more inclined to believe in the reality of spiritualists phenomena than her skeptical late husband.

This is a quote from author Donald Tyson but it seems unnecessarily uncharitable. She may have just not wanted something to be published under his name without him having final authority over it.
It makes sense, and we love API-first companies. How are frameworks prioritizing this? Seen DRF and lite star but seemed like this was needed to help at places we worked/API market reports about companies that hadn't put those standards in yet
Wouldn't there be a significant hit to availability or latency during the master promotion?
Love the music, but the movie itself is fairly mediocre
> add an is_loading variable or something to track the loading state.

Which is definitionally a mutex AKA a lock. However, it's not a lock you are blocking on but rather one that you are trying and leaving.

I know it doesn't look like a traditional lock, but in a language like javascript or python it's a valid locking mechanism. For javascript that's because of the single thread execution model a boolean variable is guaranteed to be consistently set for multiple concurrent actions.

That is to say, you are thinking about concurrency issues, you just aren't thinking about them in concurrency terms.

Here's the Java equivalent to that concept

https://docs.oracle.com/javase/8/docs/api/java/util/concurre...
Hacker fakes German minister's fingerprints using photos of her hands (2014)
Not yet. I added a ticket to track progress for that: https://github.com/semanser/codel/issues/16.
This whole thing is based on a perceived false dichotomy of Ansible/K8s

I'm not saying using Ansible for K8s is necessarily a good idea, just that laughing because it's mentioned in the same neighborhood is hardly reasonable

I'd gladly use it for node-level tasks, for example - in the cluster I'd be less excited.

Custom facts are neat. The module library is neat. Possibilities are too, dismissive nature isn't