skysight-inc/HackerNews huggingface dataset:
It's more of an extension to "Don't use globals", but at a more fine-grained level. Code using this can still be DRY, if you understand DRY to be "don't repeat the same information excessively". Reusing the same variable name in multiple (similar or dissimilar) contexts is not a DRY violation in that sense if the names are more a coincidence than actual shared information.

Most programmers have no problem, for instance, with seeing multiple loops declared like:

for(int i = ...; ...; ...) { ... }

`i` is "repeated", but there's no objection in having multiple declarations since each has a meaning dependent on its local context.
Hmmm, arguably the Fremen were not particularly evil. But I take your point.
I read the article and don't see where he says that. I do see that he thinks Google has too many staff, but not that the payment level is too high.

And frankly, if the son of a mechanic can get to the point of earning $2m/day, that's an indication that he has some amount of clue.
Configuring VSCode as a Keyboard-Centric IDE
Yup, to add to the other comments here:

"You answered [right answer] incorrectly!" is confusing, it should be "Sorry! The right answer was [right answer]!"

Looks great though, nice work!
Evidently so did everyone on Tiktok.
Turns out so, so, many random tiny islands that nobody's ever heard of have quite interesting unique flags.
Maybe not about living extra time but having more health longer (health span extension vs life span)
The answer is phages. But last time I went into the rabbit hole the TLDR was that it is not patentable so there's no money in it. And everyone needs a different phages cocktail. I sleep at night knowing that push come to shove someone will step in and mass produce machines to create personal phage cocktails.
U.S. Army’s futuristic IVAS goggles actually make soldiers less lethal
FWIW, I thought the same thing about my body for a long time, most of my life. I have usually been slightly overweight, a bit chubby, but pretty active in terms of sports and outdoor activities and exercise. Then I tried counting calories, and it totally worked, and I realized I’d forever been mentally resisting the idea of budgeting my food. My theory is that my regulating system isn’t gut absorption, it’s just how full I feel, and the threshold where I choose to stop eating, on average. My threshold is slightly higher than what I need to be skinny, and counting calories taught me what it feels like to eat the correct amount for me, which leaves me just a tiny bit hungry. I’m not currently counting calories, and I’m gaining weight little by little. Hard to say what happens when you have a one-off over-eating meal that’s insanely high calorie. You probably don’t absorb all the calories of an abnormally high-calorie meal, but that may change if you always eat a high calorie meal. Under-eating on occasion might have a different effect than over-eating. But yeah, it is easy to measure, if you can bring yourself to do it. I developed mental tricks so that it was easier to count calories and be fine being a little hungry, I feel like it’s important to avoid framing it as a self-control problem, or as overcoming hunger, and find ways to actually want to stick to the budget.
That's a better lesson than the common Deus ex machina that puts everything right. Them being able to flee and things appearing normal is still half the way to that, of course. The full lesson would be if there were no parallel worlds and they were just stuck there for several episodes, only to die and the show to end. But how it played is still a long way from the usual "our horrible actions had no significant consequences!"
Yes, and LINQPad lets you write very powerful ad-hoc queries with results that are significantly easier to navigate. It's much better than using SQL management studio to view your database.

FWIW: I shipped a C# product with a very simple SQLite database. When the application started LINQtoSQL wasn't available (we used Mono,) so we just wrote our own queries.

Best decision ever. We didn't need to do the various futzing and learning curve that comes with learning an ORM. Granted, it only worked because we had a handful of tables, very basic CRUD, and infrequent schema changes.

Still, if you fall into the "I must use an ORM/hand SQL" camps, you're probably limiting yourself due to your biases.
Read Viktor Frankl's "Man's Search For Meaning"
If you regularly use both (I use workman on my ergo layout board at home and qwerty on my [school] laptop) I type roughly the same speed on both
Yes, not having everything-is-expression in js hurts.
There's a difference between a faster portion and Tabata portion. Mixing in some faster cadences helps keep things interesting even if there isn't a huge physiological benefit.
The nerve signals going to your hand are already controlling the rest of your hand. While viable for prosthetic replacements, adding genuinely new functionality would come at the cost of current functionality. You need something that you can finely control in several degrees of freedom.

The toes are a very logical option - there's a very 1:1 relationship between how you control your fingers and toes meaning it's simple to learn and uses the same neural pathways, your toes are generally idle and you're free to wiggle them around as you please, and the interface is non-intrusive so you don't need surgery or elaborate tuning by a highly specialized medical technician.
Scales use bioelectrical impedance to measure body fat percentage. They have an accuracy of +/- 5 points of the actual reading. Meaning the value is 1-5 points higher or lower than the real value, so a reading of 6% on the scale could mean a real value of 1%-11% (not 5.7%-6.3%).
> I live in the American Gardens Building on West 81st Street on the 11th floor. My name is Patrick Bateman. I’m 27 years old. I believe in taking care of myself, and a balanced diet and a rigorous exercise routine. In the morning, if my face is a little puffy, I’ll put on an ice pack while doing my stomach crunches. I can do a thousand now. After I remove the ice pack I use a deep pore cleanser lotion. In the shower I use a water activated gel cleanser, then a honey almond body scrub, and on the face an exfoliating gel scrub. Then I apply an herb-mint facial masque which I leave on for 10 minutes while I prepare the rest of my routine. I always use an after shave lotion with little or no alcohol, because alcohol dries your face out and makes you look older. Then moisturizer, then an anti-aging eye balm followed by a final moisturizing protective lotion.

> There is an idea of a Patrick Bateman. Some kind of abstraction. But there is no real me. Only an entity. Something illusory. And though I can hide my cold gaze, and you can shake my hand and feel flesh gripping yours, and maybe you can even sense our lifestyles are probably comparable, I simply am not there.
> Factory farm companies have known that anti-biotics, hormones, and pesticides are causing increased rates of cancer and other (cough cough) disorders

This may be true in specific cases... But surely isn't true in general.

It's the role of science and government to find out which anti-biotics, which hormones, and which pesticides case increased rates of which cancers.

As soon as there is evidence suggesting a specific pesticide has downsides that outweigh the advantages, it's time for the government to promptly ban it.

So far, I think the main failure in that process is that governments don't put enough money into science to find said evidence. Simply having a tax on biotech of say 1% to pay for independent scientists to do research would easily be enough to give us good evidence of the upsides/downsides of everything widely deployed.
Has anyone got an optimized home setup for this strategy? What equipment and/or monitors do you have and what specific exercises do you do? How to you incentivize your consistent adherence?
It's fairly common, if you're familiar with how big agro-chemical firms influence research into the harms of their products (lookup Oki's Weird Stories video about Syngenta and Tyrone Hayes), how Purdue influences academia and the medical industry, etc.

Empirical evidence and data can be used to selectively deceive. Companies can run hundreds of trials and only select ones that showed favorable results.
How so? Youre saying they started writing the case under Trump? It was still this administrations decision to file it.

The lead plaintiff attorney is Jonathan Kanter, his bio has his collaboration and alignment with Khan mentioned twice. https://en.wikipedia.org/wiki/Jonathan_Kanter
Coinbase’s chief product officer will leave with a $105M payday
Nothing. You were given the gift of life which is random af in this universe. You come here. You go.

Use the time you have in a wise manner.
You are creating wealth for shareholders, who are writing emails about cutting your job out because they can't afford a new boat due to the downturn. Get back to work you peasant. /s

Jokes aside, the rat race is a very American thing (maybe also a thing in other developing countries). To be very honest, most people wouldn't mind a layoff if it didn't destroy their ability to stay alive in this country.

There is a reason why more and more Americans want to emigrate to cheaper countries. They want to stay alive without being tied to an employer.
Famous Business Pivots (2013)
I am forced to use dotnet at work after having done Django for a long time. In ASP.NET with CQRS Pattern I need to have about three classes for every endpoint, while with DRF I can get 5 endpoints with about 3 classes including the model and that's about 80-90% of what I'll ever need of a resource. DRF allows you to infer what a sensible API would look like and lets you override pretty much everything on top of that.
An abundant and exciting future amongst the stars
because it makes absolutely no sense here. what op is criticizing is on businesspeople lying to make more profit, not scientists
To take a different tack then the other two (at time of writing) replies to this: It's not just at the edge. Being able to add databases with wild abandon and just provide a key to an S3 compatible bucket to replicate it to, and not have to worry about any server setup or replication is appealing whether or not your setup is otherwise centralised. For some setups you do want to share data across user accounts, but for others, isolation along customer or individual user boundaries is not just fine but an advantage (no accidentally writing a query that returns too much data). And then, it's a plus if having a million databases and selectively spread them out over your servers is trivial.
I like your tool. Starred it. I wish you could show more examples. I am going to follow your tool and if I see interesting examples I can use it in my work. But please consider more examples. Such as Sentiment Analysis, NER, POS tagging etc.

Also do you support Huggingface models? If so, how?
Can't they just cache let's say these 1000 marketing, sales and customer support pages into cdn then?
I agree that this blog post is part "orm" and part "lead gen for my saas app which helps you write sql queries". I think a blog title which reflects this, ORM and AiHelperBot, would be more helpful.

That being said - the faq's on https://aihelperbot.com/ don't answer the main questions I have:

1) I saw a banner somewhere, can't find it now, which said "your schema is only stored in the browser". While that is nice, is my schema transmitted over the wire to your cloud service's servers?

2) If your servers get it, do you send my schema off to OpenAI's ChatGPT? Or some other AI as a service?

3) Do I own the intellectual property of all sql queries written by your tool?

4) How do you verify the "validness" of a query? For example, do you take my schema, load it into a small postgres/etc database and have your code run the query your AI generates? Do you parse/lint the query? Or is the AI good enough that it always generates valid sql?

5) I'm also interested in the "correctness" of a query, from the perspective of "user with the name of john", will the resulting sql returns results with name = "John", "john", " John ", "Johnny", etc - but I am fine with that being left up to the user.

6) Is snowflake/duckdb/clickhouse on your roadmap? Rather than replacing ORM's, helping business users write analytics/BI queries seems like a home run use-case.
Do you hate your job so much that the hope of eventual retirement is the only reason you don't kill yourself?
1. A battery isn't completely dead when it reaches its cycle life. It's often defined as the point where the capacity degrades to 80% of its initial rated capaity. For an EV with a large battery, most of them will be able to continue to use the battery for a good while after that. A Model S 90D is still a very usable car for many people with even 50% range.
2. You assume that every EV owner will use many cycles. That's generally not the case. I use at most 2-3 gentle cycles (charging to 80%, never discharging below 20%) in a month on our EV. I have plenty of spare cycles in the lifetime of the car.
3. Time degrades batteries as well. For EVs with low mileage, you could be throwing away useful battery cycles by not using it for V2G.
4. Most batteries, by far, will not have to be replaced until the vehicle is over 10 years old. In 10 years, it might be far cheaper to replace EV batteries. Batteries will be cheaper and you'll have better economies of scale for replacements. You might get a better battery with longer range than when the car was new too.

I seriously doubt that V2G will cause a lot of people to have to replace their EV battery in the lifetime of the car. People who drive their cars the most will not use V2G because they won't have spare battery capacity. It might trigger one battery change, but then an EV might need a battery change at one point in its lifetime anyway.. and so it doesn't mattery unless V2G triggers the need for a third replacement. (In 10 years batteries might have longer cycle life too).
> hoping we'll achieve X

You seem ripe to read 4000 weeks, which central point is that the finitude of life is both the reason why you are always running after something in the future, and why you shouldn't.

Strongly recommend
I stay in a lot of hotels. I’ve never once been called. They will send an email to my “hide my email” protected email address or once I am 24 hours from check in or during my stay, I communicate with them via chat on the app.

On the other hand, I really don’t have a problem giving my real number to hotels, airlines or any other business that I deal with regularly.
So scribes were looked down upon in the middle ages for making copies of books before the printing press?

I think in the tech industry we get caught up on 'novel' and 'new' because duplication is cheap to the point of almost free.
That's not what I mean. Picking a box isn't so hard (although box packing algorithms for non-uniform objects is still tricky).

The robotics part is more like "how do I make a robot that can pick up a pen, a 50kg weight, and a silk blouse, and make it put all three in the same package without messing up?" In a factory that would be three distinct robots because that variability in weight, size, surface friction, malleability, etc makes it a hard problem. In a warehouse it would need to be one robot. Even if you compromise and accept additional packaging like putting soft items in boxes or bags it's still quite difficult.
First of all, let me start by reiterating the first sentence from the bottomless repo - it's work in heavy progress (and we'll move it under the sqld/ repo soon, to keep everything in one place). Now, answers:

> - Looks like bottomless does automatic restoring of the database? Litestream seems to avoid this, I assume because of concerns about accidentally creating multiple writers on a rolling-deploy (or similar mistake). Any concerns about this possible footgun?

It's a valid concern, but what always happens on boot is starting a new generation (a generation is basically a snapshot of the main file + its continuously replicated WAL), distinguished by a uuid v7, the timestamped one. So even if a collision happens, it would be recoverable - e.g. one of the stray generations should be deleted.

> - Bottomless is a sqlite extension, not a separate process? Pros and cons compared to litestream?

The only con I see is that a bug in the extension could interfere with the database. As for pros: way less maintenance work, because everything is already embedded, we're also hooked into the database via a virtual WAL interface (libSQL-only), so we have full control over when to replicate, without having to observe the .wal file and reason about it from a separate process.

> - Similar questions for sqld. How does sqld handle the lifecycle of deploys and multiple readers/writers talking to the database? Anything a new user should be concerned about?

There are going to be multiple flavors of sqld, but the rough idea would be to trust the users to only launch a single primary. In the current state of the code, replicas contact the primary in order to register themselves, so the model is centralized. Once we build something on top of a consensus algorithm, leader election will be pushed to the algorithm itself.
If I understand correctly, it seems to be a cornerstone of Supabase’s Authorization features. https://supabase.com/docs/guides/auth/row-level-security
He was charged though. In 2020, so it's not exactly a rash kneejerk decision. It's pretty reasonable to assume the decision makers here have better information than we do, and clearly took their time arriving to this conclusion.

There are definitely unsettling cases more in line with what you're getting rattled about here, but I don't see anything indicating this is one.
The idea of Adult Swim having a serious conversation makes me LOL
I am just an opportunistic user. He commented without being informed so maybe he will take a bet without being informed either.
> Cloud gaming thinks it solves a problem that players never had; storage today is plentiful and affordable.

Actually I think cloud gaming has its advantages - you don't have to worry about upgrading a computer all the time to keep up with new developments, to keep it running and patched, some online trolls gaining RCE on your machine (yes, that happens, remember Minecraft and log4j!), giving kernel-level access to crappy anti-cheat software or about the power and heat. And when a new game comes out, you don't have to deal with downloading dozens of gigabytes on day 1 and another dozen gigabytes in patches in the following weeks. Just go online and play.

And if you want to go on vacation or on other travel, you don't need to haul around a thousand dollar worth PC or laptop, you only need your Chromecast.
There is no direct evidence either way. Retelling the tales of others as your own was not new at the time. eg Marco Polo is strongly suspected by many scholars of having not made it to China. When Battuta does talk about China, it is more vague and less expansive than his other travel accounts. There is no record he brought anything back. In 1300 it wouldn't seem a wild idea having reached furthest point X to also relate the tales you were told by locals at point X familiar with point X+1 as if you may have encountered them too.

Consider Zheng He, another famous extensive traveller born just after Battuta's death (with some scepticism of his travels too). He went to Africa from China and brought back a giraffe. Well worth a read.

It's a --shrug--.
>I'd ALSO say that I don't think Rick and Morty suggests Rick's behaviors or beliefs are praiseworthy. The dude is super depressed and toxic.

I wouldn't say they're praiseworthy, but - and forgive me for any ignorance here - it's often felt like a strong, vocal portion of the show's/Rick's fanbase comes from this type of person.
The former i.e. it runs the detection logic in background on the machine itself where the model predictions are happening. Currently we support running simple clustering algos but are working to enable even running simple Neural Nets as part of the observability loop.
Use this very interesting prompt I have stumbled upon:

Me2GPT: "Please tell me what the following two authors might disagree upon: Kurt Vonnegut and [Another WellRead Author]."

e.g. Rick Bragg as the compared author (to Vonnegut) gives a great response about their views on Poverty's effects on society. The explanation gets more in depth, and you would need to be familiar with both unknown and known author's writings to agree/disagree with this non-technical output.
If we're defining science and experimentation as approaching game design empirically and proving/disproving hypotheses about your design - then I'd say that's definitely true

However, I think that approaching game design in either an artistic/experimental manner misses the mark. Players are fairly predictable, and I've found that what they find entertaining follows a set of rules (for example, products with "rules" relevant to a lot of people will attract a large audience). Game design then becomes a matter of putting these rules together to build a product that's as entertaining and valuable as possible, rather than seeing which designs stick through experimentation

Experimenting could find these rules, though I've found that it's more efficient to observe existing audience reactions, deduce the rules from why they're reacting the way they are, and using these as a basis for a game design before creating anything
does make me wonder about throwaway accounts (on reddit, for example); I wonder how many people regularly create them, but use predictable patterns doing so...
This isn't meant to trivialize what you're saying here, or to deny that a lot of parts of life can be pretty miserable for people who are poor. But what you're describing here sounds only partly like "I'm poor and life is hard": a lot of it also sounds like some pretty significant mental health challenges. Not that I'm in any way a professional! But if a friend of mine were talking this way, I'd encourage them as strongly as I could to find an expert to work with to help them find more positive ways of engaging with life.

Being poor does genuinely suck, and a lot of modern society seems to deliberately lean in to that. But I know quite a few poorer folks who still find joy in life, each in their own way. Human beings have always been resilient in difficult circumstances: I don't think we would have lasted through generations of evolution if a difficult life routinely led to despair.
Every time I tune in to Democracy Now! I'm amazed at how much labor action is entirely ignored by most of the media (including "leftist" NPR). I mean, it's that or DN is just making it up and faking all those interviews they do with people involved in it, but I don't think that's the case.

If you don't seek out explicitly pro-labor media like that, you'd think there are almost never any strikes or other actions by organized labor in the US at all. Maybe like one or two big pushes per year from one sector or another (like the railroad workers who got screwed recently).

[EDIT] Yet every press release by any halfway-important company makes the papers. At least we're honest about what and who matter in our system: CAPITAL-ism.
I'm not sure what to tell you besides it's true. I did crossfit for years without monitoring my diet and was always disappointed with how little I felt my body changed. I monitored my caloric intake for two months and was shocked to see how much of a difference it made.

Also, weight gain/loss should be measured on a weekly scale rather than daily. You might feel like your eating isn't consistent but it could be on a weekly-basis. For example, you might barely eat one day but eat 3500 calories the next. That seems like inconsistent dieting but in actuality, they average each other out.
The Universe Speaks in Numbers: How Modern Math Reveals Nature's Deepest Secrets[1]

[1]: https://www.amazon.com/Universe-Speaks-Numbers-Reveals-Natur...