skysight-inc/HackerNews huggingface dataset:
> Doing more hours doesn't make you more productive

Agreed, but nobody is gonna offer me 4 hours a day for 3 days a week. Being extremely optimistic, the best I can expect is 10 hour days for 3 days a week (though I dont thats gonna happen anytime soon either, so Im happy with 4 days).

Shorter hours but more/same days do little to nothing for me. I mean it'd be nice, but that or less days is a very easy choice for me.
Fd and ripgrep/rg are the two "new" alternatives I use on a regular basis, and which are just huge improvements to life. Both of these find/search programs respect your .gitignore files, which helps enormously & makes searching my department's entire codebase really fast.

Fd is featured on Julia Evans' recent "New(ish) command line tools"[1]

[1] https://jvns.ca/blog/2022/04/12/a-list-of-new-ish--command-l... https://news.ycombinator.com/item?id=31009313 (760 points, 37d ago, 244 comments)
Ask HN: What activities help you rest and recharge?
I'm trying to incorporate more ways to get more rest and recovery/recharge into my daily life. What are some activities (ie hobbies, leisure) that you do regularly that help you get through the day/week etc?

It could be anything from sports/exercise, music/art/craft, games/puzzles, to talking with a friend, watching a comedy, etc. Anything relatively self-imposed is fair game.

And it would be super helpful if you could share some details on how you think the activity helps you rest/recharge etc.

Thanks so much in advance!

PS. I've asked similar Ask HN's recently but I could never figure out how to frame it in a way that gets the point across. Hope this one makes more sense.
That some very "sophisticated" social engineering.

Jokes aside. Maybe the story is true, maybe it's just fabricated to tell interesting stories.

In an ideal world, there would be transparent governed by law policies what can and can not be shown or done. But facebook, instagram, google, tiktok ... will fight to their graves against transparency. It's bringing them money.

Like the facebook/google ad deal, facebook maga money, googles ad dominance ...
... according to your own subjective tastes...
This is really neat, but I'm curious how much of this is novel?

I don't know much about relational algebra and query planning/optimization. But it seemed like many of these things were "no-brainers" (completely duplicate query conditions, etc)

Is the point more the general-purpose framework rather than the query outcomes/rules?

I took one of the queries from the paper (the first one), and used Apache Calcite to run the same query, on the same schema

https://github.com/GavinRay97/athena-paper-calcite-sandbox/b...

Here is the original plan for Query 1:

LogicalSort(sort0=[$0], sort1=[$1], dir0=[ASC], dir1=[ASC], fetch=[100])
LogicalProject(exprs=[[$5, $33, $55]])
LogicalFilter(condition=[AND(=($51, $53), <=($55, *(0.1:DECIMAL(2, 1), $52)), =($0, $53), =($29, $54))])
LogicalJoin(condition=[true], joinType=[inner])
LogicalJoin(condition=[true], joinType=[inner])
LogicalJoin(condition=[true], joinType=[inner])
LogicalTableScan(table=[[tpc_ds, STORE]])
LogicalTableScan(table=[[tpc_ds, ITEM]])
LogicalAggregate(group=[{0}], AVE=[AVG($1)])
LogicalProject(inputs=[0], exprs=[[$2]])
LogicalAggregate(group=[{0, 1}], REVENUE=[SUM($2)])
LogicalProject(exprs=[[$7, $2, $13]])
LogicalFilter(condition=[AND(=($0, $23), >=($26, 1212), <=($26, 1247))])
LogicalJoin(condition=[true], joinType=[inner])
LogicalTableScan(table=[[tpc_ds, STORE_SALES]])
LogicalTableScan(table=[[tpc_ds, DATE_DIM]])
LogicalAggregate(group=[{0, 1}], REVENUE=[SUM($2)])
LogicalProject(exprs=[[$7, $2, $13]])
LogicalFilter(condition=[AND(=($0, $23), >=($26, 1212), <=($26, 1247))])
LogicalJoin(condition=[true], joinType=[inner])
LogicalTableScan(table=[[tpc_ds, STORE_SALES]])
LogicalTableScan(table=[[tpc_ds, DATE_DIM]])

After using the default query planner rules, it gives this:

EnumerableProject(S_STORE_NAME=[$8], I_ITEM_DESC=[$36], REVENUE=[$2])
EnumerableLimit(fetch=[100])
EnumerableSort(sort0=[$8], sort1=[$36], dir0=[ASC], dir1=[ASC])
EnumerableMergeJoin(condition=[AND(=($0, $54), <=($2, *(0.1:DECIMAL(2, 1), $55)))], joinType=[inner])
EnumerableMergeJoin(condition=[AND(=($0, $3), =($1, $32))], joinType=[inner])
EnumerableSort(sort0=[$0], sort1=[$1], dir0=[ASC], dir1=[ASC])
EnumerableProject(SS_STORE_SK=[$1], SS_ITEM_SK=[$0], REVENUE=[$2])
EnumerableAggregate(group=[{30, 35}], REVENUE=[$SUM0($41)])
EnumerableHashJoin(condition=[=($0, $28)], joinType=[inner])
EnumerableFilter(condition=[SEARCH($3, Sarg[[1212..1247]])])
EnumerableTableScan(table=[[tpc_ds, DATE_DIM]])
EnumerableTableScan(table=[[tpc_ds, STORE_SALES]])
EnumerableSort(sort0=[$0], sort1=[$29], dir0=[ASC], dir1=[ASC])
EnumerableNestedLoopJoin(condition=[true], joinType=[inner])
EnumerableTableScan(table=[[tpc_ds, STORE]])
EnumerableTableScan(table=[[tpc_ds, ITEM]])
EnumerableSort(sort0=[$0], dir0=[ASC])
EnumerableProject(SS_STORE_SK=[$0], AVE=[/($1, $2)])
EnumerableAggregate(group=[{1}], agg#0=[$SUM0($2)], agg#1=[COUNT()])
EnumerableAggregate(group=[{30, 35}], REVENUE=[$SUM0($41)])
EnumerableHashJoin(condition=[=($0, $28)], joinType=[inner])
EnumerableFilter(condition=[SEARCH($3, Sarg[[1212..1247]])])
EnumerableTableScan(table=[[tpc_ds, DATE_DIM]])
EnumerableTableScan(table=[[tpc_ds, STORE_SALES]])
Look, I tend to agree with you. Crypto has not found it's use case, it has a lot of scams, a lot of environmental issues, and other problems. It's been many years, it's fair to think if it hasn't found that killer application yet, that maybe it never will.

But it's also still possible that it will. If you make a living by making long bets, then it's completely reasonable to want exposure to crypto.
Also have OCD and have the same types of thoughts.
If a lone skateboard at night in a major urban area bothers you, I'd suggest considering a move.
Tesla's autopilot also yells loudly if you do something that it thinks will result in a crash
> This is like complaining that Jacobin is written by a bunch of socialists

Which you can expect to see in the comments whenever it’s posted on HN as well.
Another common example: patients who want to share their exam results with their doctor. The proper way would be to use the document sharing feature inside the web portal, but often the simplest solution is for the patient to send their username and password to the doctor.
I used to live on a steep hillside of San Francisco and the car noise was so bad. Car engines were so loud when they go uphill.

After that, I became so cautious of the noise issue that whenever I’m looking for a place to live, I look out for steep hill, train tracks, police station, hospitals, main street (the ones with double yellow lines), highway, airport, air plane ascending and descending routes.
It’s a social engineering attack in a way. I would not blame the OnlyFans creator but I would encourage silently letting the employee who did this go with severance pay.

Imo long-term, companies should be legislated into having fair ban appeals, and enforced in transparency of why accounts are banned after they are a certain size.

Then I would happily start debating the removal of these employee specialty services which allow this. I say this as someone who has used this power before for legitimate reasons.

There should be official channels to do this with companies as large as Google, Facebook, Twitter, Twitch, YouTube etc.
It certainly would be nice! Having a common layer for signaling (whether Rust or C++), which could be used across client SDKs is something we're evaluating. You'd still need a (albeit thinner) platform-specific SDK for the final interface and to abstract away any quirks.
The first part also provides a context for understanding the second part. For example the right to "bear" arms shouldn't be read as including a general right to brandish arms, even though a less constrained reading of "bear" might suggest that. Conversely, it does include a right to fire those arms, since that is necessary for a well regulated militia to bear them effectively.
But advanced cruise controls do slow down if the speed changes.

https://youtu.be/LEqM2FqUIa8?t=204

Surely the speed limit would change if there's a light-controlled intersection?
As a student I've often used their DL. I really had a bunch of great resources.
Abortion isn't covered in the U.S. Constitution, aside from perhaps a right to life? Are you referring to Roe v. Wade? If so, that's a court decision.
“GIS Arta, an advanced situational awareness system developed by Ukrainian programmers after collaboration with British digital mapping companies, has cut the military’s targeting time from 20 minutes to one.”

60 seconds after a target is identified it is targeted? Sounds hard to believe.

The war would be over quickly in this situation.
Lost a Google account recently when they randomly started asking me to confirm a number which I no longer have access too and cannot remember. So annoying to have no support. Must setup something with a commercial provider soon.
There is a brief period of very nice weather coming soon, I promise. Don't blink, or you'll miss it!
Uh, the immense market for smartphones, tablets, and notebook computers?
I often have made up comedic skits running through my head, often starring friends, family, and myself. And I make myself laugh out loud and probably look a bit crazy to others. People regularly around me know I'm just making myself laugh though and ask "what's so funny?". I can never explain because the skits often have inside jokes from previous skits. It's all in my head so these inside jokes are some serious inside jokes.
There isn't always a good alternative for a service that arbitrarily denied you access. Facebook Marketplace has replaced classifieds in many places, and being denied access to the service can negatively impact people's lives.
This guy has grossly misunderstood web3. It’s not just nft or for that matter only about currencies, but about designing specifically constrained computer networks , where nodes are free to behave in their own self interest, yet the network has a overall value to sustain itself. It is the intersection of game theory and distributed systems. Here is a more academic perspective on the same https://youtu.be/KNJGPI0fuFA
Martin Eden by Jack London
+1 - we're going through the exact same thing.

We offer an integration with Shopify for a subset of our users (~5%) and while they love the integration, it's not relevant to the other 95% of users... which means it would make no sense maintaining separate Billing code for a small subset of our users that see the integration with Shopify as one feature of our SaaS.

It seems like we're only left with the option to deprecate. Which is a lose-lose-lose: We lose customers. Shopify loses an integration. And the customers lose this utility.
Hah. Boxes don't have a right to representation.
I never claimed it was? That's a non sequitur.
This is the reality. In fact, the situation is getting even more complicated as direct-to-consumer screening becomes more popular (e.g. full body MRI scans). Companies that are selling the health screenings are only incentivized to sell as many screenings as possible. Scans inevitably result in benign incidental findings far more often than they identify real health problems. Then the patient is directed to a specialist who is uninvolved with the screening company. The specialist is incentivized to aggressively investigate the finding out of fear of malpractice and due to pressure from the patient. Nobody has ever thanked their doctor for inaction. The end result far too often is a series of expensive and painful procedures with a large dose of anxiety. Of course screenings also save lives, but nobody is responsible for ensuring the benefits outweigh the harms at the macro level.

I don't think any actor in that chain is malicious, it's just an example of poorly aligned incentives. Screening companies, doctors and patients all believe they are making the most optimal choice.
so there is a way
As a Pakistani-American, I can confirm, this is exactly how many people from my culture also work, though not as extreme as 9-9. We may take long lunches, go for multiple coffee breaks, walks, etc. May even watch some Bollywood movies while working.

But as a father, this is horrible work schedule. Culturally, it is totally acceptable for fathers to just provide but not really interact with their kids. Also there is an aspect of heroism of fathers working long hours to provide. And then, unfortunately, for some there is no option but to work long hours because they need extra money.

But some men would rather stay away from their children and let moms or grandparents raise the them. And I do know some such men. They stay late at work to avoid their families, they even bring their gaming laptops to work, so they can game after 5 and avoid their families. Honestly, work is a walk in a park compared to being a good father.

But it is hard to tell who is avoiding their families, who is staying late because of cultural pressures, and who really need to work late hours to provide for their families.
They drive in a different place than you do.

I don't drive a lot, but at least a couple times in recent memory when I've signaled/started to merge only to realize there was a car there. They didn't honk. Maybe if I hadn't noticed in time they would have, but I suspect they were focused on preparing to brake or swerve.

It definitely might be safer if we had a honkier culture. When you're urgently trying to avoid a collision, you won't have the mindfulness to remember the tools you never use. For many of us, that means we stick with the ones we're used to: we brake and/or steer.

The most frequent use of the car horn here seems to be the light has turned green and the driver in front of you hasn't noticed. I'll bet sizable percentage of local drivers haven't used their horn in a year.
LaTeX has at least solved the concatenation problem: ab means a*b, whereas \text{ab} is a word.
yes, citizens live in towns
It kind of is. If I want to have legal proof of when I shared a document with someone, I need my Google Docs.

I guess what I should do is stop putting new stuff in Google.
I think that Lemmy is not really a replacement for the old reddit. Lemmy devs are too fond of frontend Javascript to qualify in my opinion.

The federated alternative that I'm building[1], is trying to specifically keep some of the benefits of old reddit (and of HN, and of lobste.rs), most important of which being that it has no reliance on Javascript and that it has a minimal size footprint.

[1] https://littr.me (just a demo instance)
The "energy" factor and "making you feel good" factor might be it.

> people might simply be alleviating their own anxiety

Dexedrine and Adderall exacerbate anxiety if anything.
I think it’s fair to question why out of the 10 amendments that make up the bill of rights, only the second amendment would have a part that is non-functional and “describes the rationale”. The preposition is part of the amendment, and its existence puts a qualification on what the right to bear arms means.

I personally think the current state of affairs does a pretty good job balancing the two parts of the amendment. States are allowed to put a lot of restrictions on how you can buy guns, and where you can carry/use them, but ultimately people are allowed to have them. You aren’t allowed a nuke, you are allowed a shotgun. Exactly what level of personal firepower should be allowed for a “well regulated militia” could be a constant source for debate, but I think the balance is kept pretty well.
Yeah, they targeted newbie programmers and convinced them their approach to package management was superior. If I remember right, it was finally Apple itself that indirectly forced them to change their install directory and install packages the "unix" way, by making changes to macOS.
We see the same issues in education with kids learning in different ways, and those who learn better in X way might learn less because they're being taught in Y way.

It comes down to the overhead in time and complexity (usually money as well) being too high to justify accommodating everyone. We just sorta jam everyone into the same thing and figure we'll get enough out of them. As the culture shifts more toward worker's work/life balance being important (if it ever does here in the US) I think this will change, but I don't think we'll see ever enough flexibility to accommodate everyone. We'll settle on another standard and stick to it till enough people complain.
(article tldr: You warn them there's one lie per lecture, and that focuses their attention on figuring it out, which necessarily requires a deep understanding of the material.)

The thing is, this rests on the (far more important) teaching skill of "presenting an actual, consistent, interrogable worldmodel to the students, rather than a list of isolated factoids to memorize".

If you don't have that -- if you're doing the latter -- you're just imposing a huge, tedious workload that doesn't translate into a persistent understanding.
If every list or set or dict evaluates to true, even empty ones, what is there to confuse? Or is the argument that non-bool types shouldn't coerce to a bool at all, so that you're force to always explicitly call a bool-returning method, like "if my_list.empty() then" type of thing?

In any case, the next thread down is making the same point, and specifically calling out languages that do exactly this and get it right: Clojure, Lua, Ruby, and others.
One of the skills in debate is the ability to argue either side of an issue, yes.

But that is not valued by modern academia. Modern academia is the new orthodoxy.

Also, very few people -- the fewest indeed amongst academics -- still believe that "even a werewolf deserves legal representation". These days, it's hard to get people to agree to waiting for an investigation before punishment, let alone a trial.
> This is like complaining that Jacobin is written by a bunch of socialists.

No, it's like suspecting that an article might be distorted to serve socialist ideological interests when Jacobin is the only source. Which is, of course, what any sane person would do, even if they share the outlet’s ideological orientation.
You can buy one each month, though. Even of you just use it for metropolitan transit, it's super cheap. My monthly pass (reduced because it only valid after 9 am so commuters have to pay more) costs 75 EUR. A single ticket ist 2.80. This is a good deal in almost any scenario where you take and applicable train.
The coke in the photo is zero sugar, so no it isn't.
I will have to do what to get my website unblocked on the Sharing Debugger?!

No wonder there is no easy way to reach support at Meta.
I've also had a ban which I can find no way to appeal, I've given up hope at this point. I got banned after submitting a claim for content of mine hosted on a channel I can't access anymore, automated system banned me. Maybe one day I'll meet a googler who has some free time.
The next shock for homeowners: Surging property tax assessments
It is meant to temporarily ease the burden of risen energy prices. (Car users are going to get a lower tax on gas soon.)

A quarter of a year might be enough already to find out how much demand for low cost public transport there actually is. I consider it an useful experiment at this point.
you are right: it is trivially easy to publish any media file and assign an NFT to it and then list it for sale, and there is a lot of copyright infringement as a result.

all of these articles claim widespread theft and stolen work, but a surprising lack of data on how much of that is actually sold considering all of those payments should be publicly traceable on the blockchain.

imagine putting a Damien Hirst image on OpenSea only for nobody to purchase it. is this a complex form of art forgery and art theft? in some cases this process is automated by bot-scripts scraping DeviantArt, and the end result is like spam mail. maybe there is a buyer naive enough to purchase your Hirst image thinking it is authentically from the artist, and in that case I sympathize just as I do when an unsuspecting user falls for an email scam.

it is also trivially easy to look at these scam tokens and realize they are not from the authentic collection they claim to be, or that the minter does not match the artist's public address, or that the artist is not even claiming to make nfts and therefore a nft of their work is unlikely to be authentic.

if you look at art forgery in traditional media, not only is it rampant but it actually accounts for millions of dollars per year, and many high value paintings do not have a clear provenance and authenticity as this information is easily lost and altered over the course of history.

https://www.nationalgeographic.com/culture/article/fake-art-...
I'm not the original poster, but here's an academic paper that found that 8:1 luminance contrast is optimal for reading, after which readability actually decreases: https://www.sciencedirect.com/science/article/abs/pii/S01698...

As far as I can tell based on what I've read, there can be a conflict between users with accessibility needs, where you may want as high contrast as possible, and typical users, where excess contrast may impair readability in some cases. The WCAG minimums are within the realm of reasonable for both sets of users though, so there isn't really an excuse not to meet those minimums.
"Not all women"
The Splendid and the Vile
> New reddit also doesn't properly fetch your default subreddits. Something is screwed with their entire auth system.

The problem with assuming that this specific issue is targeted is that they also broke the system that they want people to move to.

Reddit definitely does want to push people to the new interface, and is very likely going to decrease support for the old interface and invest less effort into bugfixing/maintenance. However, just because something is true, that doesn't mean every single thing you see that reinforces that idea is also true.

There are lots of ways in an incompetent company to break a login flow late in testing, especially if they're pushing fixes in real-time or during testing. I don't know what Reddit's setup actually is, but it is unlikely to me that they would purposefully introduce auth bugs that broke both the old and new interface. I do believe that they are trying to get people off of the old interface and would be willing to resort to underhanded methods to do so. But I don't think it's likely that this specific bug was a deliberate effort to do that.
>"hey, who wants to go play drisbee in 15 minutes" or "pinball tournament after lunch" makes the work environment much more enjoyable

Oh hell no. I need a break, but the last thing I want to do is take a break with other people. I'd rather sit at my desk pretending to work that go play games with other people. That is literally hell on earth.

But now I can't go for a walk on my own because then I'll get questions about where I am going and why didn't I go and play their stupid game with them instead of going on a walk on my own.
Interesting. Local news says today US tech is in pain.
So close to mine:

Accounting, cryptography, assessing if the top-most neglected chore can still be snoozed, calculating how long until I need to switch context (may motivate, may re-assess urgency of neglected chores), "I need a break" (hacker news), sex, simulating one of many ongoing conversations, "I'm so happy I have X" (with X = my balcony, my couch, my cat, my bike), "Did my cat jump off the balcony?"

Interestingly, answering this question by doing a scan over where my mind wanders to actually blocks my mind from wandering, and so I ended up accidentally meditating.
I wonder what Prof. Wirth's opinion would be on Oberon+. (It looks and feels different from Oberon-07.)