skysight-inc/HackerNews huggingface dataset:
Beef was cheaper than pork, porknubbins.

https://imperiumromanum.pl/en/roman-economy/roman-goods-pric...
> 9. Always quote variable accesses with double-quotes.
> - One place where it’s okay not to is on the left-hand-side of an [[ ]] condition.

And the right-hand-side of a variable assignment.

And the WORD in a case statement. (Not in the patterns, though).

Plus a bunch of other single-token(?) contexts.

I don't recommend relying on the context though, it's clever and makes it hard to verify that the script does not have expansion bugs.
Ask HN: Resources for creating business intelligence features for a Rails app
I have a small SaaS app built in Rails, and my customers are asking for what I think would be described as business intelligence features. They want to see statistics about their data and usage.

I'm able to get the answers they are looking for using SQL, but as far as making it performant and user-ready, I'm not sure the best way to go about it. Can anyone point me to a good resource on implementing this correctly? I need to be able to do things like sort a list by most popular within a time range, run calculations for each row in a list and provide the output to a table, etc.
Asking a narrower question like this is good. I can't, noting I'm not the person you asked.

The post is about MGT and what she did. I see no evidence Democrats do this specific one thing, which is to make public threats to corporates of revenge for de-funding. It doesn't mean I think the DNC are angels, just this isn't their modus operandi.

So, to the wider question: In the wide, are you of the view there is no pressure on donating corporatism in politics across the party system?
One could argue that the problem CLEAR solves for regular consumers is a problem manufactured by those administering it. Depends on how one feels about the TSA…
Elon Musk completes Twitter takeover and fires top executives
I also do not value animal lives as much as human lives. But there is an important assumption built into the argument that it is ok to eat this many animals: that it is possible to raise and slaughter this number of animals without deleterious effects on humans. I believe that assumption is incorrect, and that the environmental and health consequences of the current level of meat consumption will cause immense suffering to both animals and humans.
I mean just because something feels good doesn't mean it's right.

We can get all of our nutrients from plants, most of us in the developed world don't need animals, we by and large just eat them for pleasure because we like the taste, as you noted by leading with the fact that they are delicious.

Further, if your concerns are humanitarian in nature, in terms of feeding the most humans, ensuring the greatest amount of happiness for them, then we are on the same side.

It turns out you can feed more humans with plants than you can with animals, given that the latter are largely inefficient middle men for our calories that are fundamentally sourced from plants. We feed a cow roughly 10 calories of corn and soy to get 1 calorie of meat out of it. Were we to eat those crops directly we'd be able to feed ~10x the number of people on the same agricultural output, or reduce our agricultural output by ~90% and feed the same number of people.

That latter point leads to the environmental impact of animal farming. Over 90% of the destruction of the Amazon to date has happened for two industries - beef, and soy. Over 80% of the world's soy is... turned into feed for those same animals.

We are destroying the Amazon, evicting and slaughtering the indigenous people that live within it, exacerbating climate change which is already resulting in more and more extreme droughts and famines, killing millions around the world, and as this gets worse will kill untold millions more.

Animal agriculture is one of the most environmentally destructive industries on the planet, in terms of climate emissions, resource use, and land destruction.

By feeding animals to humans we are turning around and killing those same humans. Well, not the same ones actually. The poorest ones who can't even afford the meat we're gluttonously shoving into our faces.

This is all tied to the fundamental fact that the animal is a middle man for our calories, and in a time where our environment's carrying capacity is greatly exceeded by our civilization, we need to reduce these gross inefficiencies in order to save our own lives, even if that's all we care about.

So even if your primary goal is to feed people and save humanity, the rational conclusion is still to stop eating animals.
Interesting, I can see this as lending implies some due diligence into a companies financials. At the same time, at the personal level, I know I can get lines of credit that would be very tough for me to pay back. Is corporate borrowing much more stringent?
Can't be closed at all!
I read that and thought: this is ridiculous. First of all, assigning copyright to FSF or SFC is way way better protection. Also DCO has nothing to do with protecting, the protection is from "inbound = outbound" contributions are under the same license as the project, this is the standard. A DCO is just something a few Linux Foundation lawyers dreamed up in order to help give companies faith in using Linux and is basically irrelevant. More info https://www.fsf.org/blogs/licensing/FSF-copyright-handling .
A browser extension cannot access your email or password manager. But it can use this new security hole created by tailscale.
Why is the expansion of human civilization desirable?

Why does preservation of human civilization depend on exterminating wild nature?
Elon Musk completes $44B acquisition of Twitter
provided your phone doesn't bootloop or otherwise have the hardware fail. Android phones - from google in particular - are notorious for this. Should things fail, you're screwed.
Jim Cramer cried on CNBC for advising people to invest in Meta
That’s great to hear, thanks for your response. I think I’ll buy it and try to hack together something similar for my news sources.
I’m sorry but this rating is a bit of a joke. It lists UK and France as having much freer press than the US.

I remember an interview with John Carreyrou, the French-American journalist who broke the Theranos scandal.

He said very clearly that if it had happened in France, no press outlet would have covered it.

Theranos had a board of trustees that included Henry Kissinger, a future secretary of defense, etc.

And the publisher of the, WSJ, Rupert Murdoch, had invested hundreds of millions.

I doubt it would have been published in the UK or Germany either.
One difference is that Canon decided to design and manufacture their own sensors (modulo some point-n-shoot cameras where they use 3rd party sensors). This has been to their disadvantage sometimes, but right now it's a win because they can innovate quicker and invent proprietary features like dual-pixel autofocus. It was DPAF that put them squarely ahead of Nikon a few years ago. Nikon buys their sensors from Sony so they can never do this.
Assuming right handed with right handed scissors, looking down at what you cut:

You put a couple fingers through the bottom loop. Most people don't pull those straight upward, but pull a bit toward their hand. This pushes the blade to the left as it closes. Likewise with the thumb you push away a bit, which pushes the blade to the right. Thus, both blades are pushed against each other.

Sure, you could balance the scissors perfectly and only go straight up/down. But this won't work very well when cutting something difficult since there are no forces balancing each other out. It also won't work with looser scissors (every pair in elementary school) ad the blades will remain apart from each other.
You make it sound like it should be easy to program a car to drive by itself. It's a challenge approaching developing AGI in its difficulty.
Canon have been guilty of this too.
For what? There's loads of stuff in there.

Texas reduces polling places - https://www.theguardian.com/us-news/2020/mar/02/texas-pollin...

Bans on distributing food and water - https://www.ajc.com/politics/food-and-water-ban-at-the-polls...

Summary of a few things including that republicans in Iowa have shortened the early voting window and the hours of voting on election day - https://www.reuters.com/world/us/republicans-erect-voting-ba...

Mark Finchem, republican candidate for secretary of state in Arizona, backing fake electors - https://www.azcentral.com/story/opinion/op-ed/laurieroberts/...

Finchem promotes the big lie and says he will use his prospective position (which AFAICT includes responsibility for administering the election) to "make sure that Arizona is the Red State it REALLY is!" - https://twitter.com/derekwillis/status/1403143345132781569

It's true, that last one is perhaps not as cut-and-dried as it could be, there's some wiggle room in there, but to me the intention looks clear. It's fecking crazy to me that a partisan, elected official has anything to do with running the elections in the first place... but there we are.

I'm sure you can find more stuff like this if you look. Of course I'm sure that there are all sorts of excuses and justifications out there for why this is all totally reasonable, or why the 'other side' are just as bad. It's not clear to me they are though, at least, not when it comes to trying to actually undermine democracy itself.
Right. Storing water for 50M+ people and generating enormous quantities of electricity. No use at all.
I bought the original steam vr headset when it came out far before FB. Reality is there is only a handful of vr games that are really worth the entry price. Beat Saber is the only one I find myself going through the hassle of hooking the thing up regularly for. The Google vr movies are a great experience though to watch people play who have never used a vr headset. Watching my parents in those movies was like watching a kid play with his first toy. If you made something like a Pixar movie with the ability to freely move around the scene, I could see that being a humongous hit with children.
sounds like an even worse outcome as a person that used to work in factory setting/mind numbing labor jobs
Then ban polluting lithium mining methods along with ISL uranium mining anywhere near an aquifer, open tailings ponds, anything to do with coal, and anything else with uncaptured externalities. Please and thankyou.

Storage and renewables can be achieved in a much more scalable, cheap, and less resource intensive way than nuclear without anything more scarce than chlorine (although rarer elements in manageable quantities make them more robust and even cheaper for now).

https://cleantechnica.com/2021/10/07/first-ess-iron-flow-bat...

https://talkmarkets.com/content/global-markets/catl-to-promo...

https://formenergy.com/form-energy-announces-450m-series-e-f...

https://news.mit.edu/2022/aluminum-sulfur-battery-0824

https://www.researchgate.net/figure/Potential-150-GWh-Greenf...
Multiply is not as cheap as other arithmetic operations such as addition yet, though it has certainly gotten a lot cheaper (and many of these older bithack guides target CPUs that may not have a multiply at all).

As an example, contemporary Intel CPUs can do an addition in a single cycle (latency) but multiplies take 3. They can do 4 independent additions every cycle, but only one multiply.
And it better be left alone. Hetch Hetchy has already been destroyed, we should preserve what little we have left.
The absurdity here is the powerlessness experienced by citizens in a democracy that fails to address existential threat.

Reciprocal absurdism is to be expected.
We should be thankful for its toothlessness. The laws are blatant violations of private property and contracting rights, and don't belong in a free society.
Ah yes. All those PR campaigns that are directly and provably from the fossil fuel and plastic industries are definitely from people who have been saying we should stop using fossil fuels, invest in renewables, and reduce consumption for sixty years whilst being completely ignored.
> Is there a reason the cameras can't capture the raw data to be processed later?

I'm not sure if this was a ironic comment, but assuming not: all serious cameras have been able to do this for 20 years.
Safari even used to show a little RSS badge on sites that supported it, along with a button that subscribed you to the feed. I miss that.
US per capita consumption/energy also higher. Just from energy perspective, US trending towards 150M more population by 2100 is equivalent to 1.8B Indians and 900M Chinese. PRC population is set to decline, and probably India's as well. Canada is like 50% more than US baseline, Norway 300%, Iceland 500% but not much immigration there.

Every individual migrating from developing world to developing world is increasing energy use of that person substantially even considering that (a typically skilled) migrant is likely a higher tier consumer in their origin country. Or that moving to a high consumption economy has greater compounding effects in terms of knockon consumption, i.e. 40% of RMB spent in PRC goes towards consumption vs 70% (?) for US. I joke that the most enviromental way to be a consumer is to buy developing countries with poor consumption or huge savigns rate because they're simply less likely to recycle that profit into more excessive consumption.
No surprise. It became clear that when Parag took over from Jack, he wouldn’t tolerate anyone who wasn’t a yes man and gutted their security/abuse teams.
It's even worse than that.

It isn't as if slavery doesn't exist anymore. It is not as if women aren't considered property in some parts of the world. Racism. Etc.
A guaranteed way to beat inflation temporarily crashed a Treasury website
Twitter is funny imo because it started as the microblogging service nobody wanted or understood ("nobody cares what you had for breakfast") but somehow got media traction to become an often quoted source for stuff. My perception was the chicken came before the egg, ie media pushed Twitter as a source when it was still irrelevant, and as a consequence it became relevant. So if it loses that media support, it's not immediately clear to me if it will become self sustaining because of its user base. Maybe. Or maybe they will go wherever mainstream media gives the most attention.
Yes, they were losing money on them. They recently raised the prices, it's not clear if they're still losing money or not though.
It’s neat. I think it falls short on the comparison to the Google paper where they provide comparisons. However they get major points for the clarity and honesty on the tech.
Cameras have used "ML" since the Nikon FA in 1983.
That's a pretty straight example:
https://www.cnas.org/press/in-the-news/u-s-campaign-to-ban-h...

(Original source: https://www.nytimes.com/2019/03/17/us/politics/huawei-ban.ht...)
I guess maybe in North Europe where the climate doesn't vary much, but in the South, we do get thunderstorm and flood in coastal area.
https://www.euronews.com/green/2021/09/15/watch-as-more-floo...
FWIW, Id Tech 7 is built to support a game like Doom:Eternal, and nothing more. And the game itself is shaped around the capabilities of the engine. That's why it works.

Note Id had a texture streaming system in Rage in order to support a large seamless game world, but they cut that large open world for Doom:2016 and Eternal. In contrast, CDPR's games just grew with each new Witcher release.
I met my best friend through Bumble's "friend mode". You do have to deal with many men on there to find hookups ala Grindr, but real friends are out there.
I write CRUD apps that run on industrial machinery. Do I need to support screen readers? Many of these machines require very good vision to operate. It's just not safe if you can't see what is going on.
I used to like Motorola when the batteries were readily replaceable.
Why is hydroelectricity massively damaging while hydro pumped storage is great?
Yeah, I guess I do agree with you then. My apologies for misreading your point.
This whole thing has been rather interesting to observe. I do wonder how the platform will change now that it's privately owned. I don't really care a lot about the platform itself, but it's influence on politics is very real.

Personally I don't think this acquisition is healthy for a democracy, but nonetheless, it's something I want to observe. I've always thought these platforms need more democratic structures of governance and this is a change in the opposite direction so I'm rather interested in what the future holds and the consequences of this buyout!
Right. But why do I care if I have no involvement with the company? Let's of people have majority voting rights in lots of companies. This fact doesn't seem to matter to anyone in any other scenario.
He might be left but a lonely broken billionaire if his dreams of owning the virtual world don't pan out, don't you see
If I need a mouse and multiple screens I can't feel productive, that usually means the software doesn't have enough support for keyboard shortcuts and window management has too much friction.

> I don't know why developers are so infatuated with laptops

I need a laptop now and then either way, and having two computers means double the cost and more work to keep everything between them in sync. And I switched to a console for gaming, Windows 10 updates pissed me off enough that I'll never touch a Microsoft OS again.
Well put, really catches the uneasy sentiment I feel reading consumerism threads like this.

It seems large enterprises conveniently downplay the Reduce and Reuse tenets of the 3R reduce, reuse, recycle mantra.

All this vanity and waste at such a great cost, for what? IG, tiktok, memes? I'm guilty of it myself at times, but I try to repair and repurpose as much as possible.

I think we are better than this. The time and energy of so many brilliant minds (here on HN, present company included) is squandered.

A bit off topic, apologies. Hopefully I can direct this energy to being more focused and finding clarity.
See also: https://tmuxcheatsheet.com/
It could be 10% instead of 30% though.
These are neat tutorials, thanks for sharing, but I still need Javascript. I can't deal with CSS, and idk what SASS is.
Ah, so he bought a Carribean island and is marketing it as an upscale resort for the ultra rich to jet to and this makes him an eco savior. Nah.
You might consider the other side that equal amount of animals get to be born every minute and live some lives.

We usually don't consider a person being born a tragedy almost regardless of what life this person had.
Agrawal is the big winner here, he managed to sell the company for an outrageous amount of money.
Elon Musk completes $44B Twitter takeover
> Apple is still paying for the bad will from customers from the 30-pin connector transition.

No they are not. The only time 30 pin is _ever_ mentioned is in these discussions about USB-C.

That “bad will” was overblown to begin with and everyone has forgotten about it in the 10 years and several billion products sold since.
hmm locks/gates that open for the right cow
How long have you been doing this? There was a point (I would argue at least up to iPhone 6s) when every iphone was a massive upgrade.
Elon Musk fired top Twitter execs including CEO
No. That’s insane. We all know how proxies work.
No sane person will pay that fee.

I will keep using
https://github.com/TheSpeedX/PROXY-List

With “divide and conquer” and try and error it works good 98% of the time.
I haven't played it, and 3 was pretty great, so I kinda want to, but I've heard the original is garbage, so I'm excited for a modern release
> broadcasting.. when it's off.

So, not off then.
https://archive.ph/43YzJ
> If the best reason to preserve it

The reason to persevere organic forms around us (plants, animals, fungi, bacteria, etc.) is rational self-interest.

Bacteria are necessary for our bodies' healthy operation.
Organics generate the oxygen we need to breathe.
Path (Toronto)
Witcher 1 is a game in a number of acts, where each act is a relatively small closed space. It would be a really great way to get some UE5 knowledge to transplant into other games. By keeping those parts static in development, you get to use all the interesting new UE5 tech such as Lumen and Nanite.
> What are they for?

The reason to persevere organic forms around us (plants, animals, fungi, bacteria, etc.) is rational self-interest.

Bacteria are necessary for our bodies' healthy operation. Organics generate the oxygen we need to breathe.
What is the difference between 'likelihood' and 'probability'?
Interning as Amazon in person or remote won't get him that osmotic experience he craves. He should work for a startup if he wants that experience.
Not sure about those, but Bering Sea crab fishing was cancelled this year due to lack of crabs. Doesn't seem good.

https://www.npr.org/2022/10/22/1130725551/what-the-cancellat...
I thought maybe GP was referring to something more complex than your standard RAW capture. No idea what that would entail.
Someone should have told zuck this when he decided that spreading extremism was a fantastic business model. And calling his users dumb fucks,of course
Any papercut, iterated enough times with no good way to respond, eventually becomes a source of anger. I bet there are other things about people that will make more sense to you with that in mind.
Why would anyone read that? It's a work of fiction. Weber, like everything else in early sociology, was writing page upon page of stuff that merely flowed out of his brain. To continue citing this stuff is to make a mockery of science.
It's pretty damaging to the environment and ecosystems. So it hardly can be called "green".
I think the recommendation is to phrase the error message that is given to .expect() not as what went wrong but as what we had expected to happen.[1] If the example that you show was consistent with that recommendation, it might look like this:

supervisor
.broadcast("A message containing data.")
.expect("message broadcast should not fail");

Although even if you are a native English speaker, this is dubious improvement if you don’t know what Option types are and what .expect() does with them.

[1] https://doc.rust-lang.org/std/option/enum.Option.html#recomm...
Doesn't everyone want to shed a tear?: CEO Parag Agrawal will only get an estimated $42 million if he is terminated within 12 months of a change in control at the social media company, according to research firm Equilar.

https://www.reuters.com/technology/twitter-ceo-set-receive-4...
I support Zuck's plan to go down in a VR-fueled blaze too. Maybe Facebook will die and the VR tech will survive elsewhere.
Thermochemical hydrogen offers the best prospect for hydrogen production if it can be worked out, because the whole-process efficiency from solar or nuclear heat can exceed the practical limits of water electrolysis. Most recent work focuses on the copper chloride process (which uses an electrolytic step) [1]. The best purely thermal cycle is sulfur-iodine, but running the process sustainably has yet to be achieved due to the corrosive nature of the intermediates.

1: https://www.sciencedirect.com/science/article/pii/S019689041...
Some do. Some specifically want the website not to work in Tor.
Nintendo charges more for physical copies of the game and highly encourages their users to buy digital copies with digital coins on top of the cheaper price.

Nintendo has also shown they have no problem shutting down the servers for the Wii and now the DS. If you want your digital stuff you bought, you better buy it again if you can. They also have a trend of constantly making their older games easier when they rerelease them so you will probably get less enjoyment out of it.

Their Switch is the only gaming platform lately I find with multiple games I'm interested, but you're a complete sucker if you trust them not to screw you over by downloading the game instead of buying a physical copy.
Who knew that miners liked to take their pants off when they were down in the mines!?
Third paragraph mentions this, then again in the eighth.
Putin blasts West, says world faces most dangerous decade since WW2