skysight-inc/HackerNews huggingface dataset:
> the world doesn't need to perfectly adhere to any model in order for the model to be more accurate than not in the general case.

But that's my point: the world is so different from that model that it becomes inaccurate. You might be privileged enough to have a good enough approximation of a perfect market, leading you to believe that the model stands, but you are not representative of the population. Not even close to the median.

> And the proposition that business profits are largely aligned with consumer interests in the general case, even despite outliers to the contrary, is very obviously true.

I don't know why I'm debating this in the hyper-capitalistic forum that Hacker News is, but no, business profits are not. If they were, no advertising would be necessary, because products would naturally be sold. If they were, every consumer would have access to everything. If they were, no lobbying by any company to soften laws seen as too restrictive would be necessary. If they were, companies would not emit a single gram of CO2.

The whole point of business profit is to profit. Aligning with consumer interests is lucky happenstance, not a necessity. A fringe outlier, as you say. You cannot say "it is true because I see it". It needs to be backed by strong analysis.
>unless they really travel and dine out a lot.

I mean, these are travel cards first and foremost.

AMEX Gold and others with similar bonuses like AMEX Delta Platinum also cater to local use (groceries and dining), but if you can't/don't make thorough use of the No Foreign Transaction Fee benefit you really should be looking at other cards AMEX or otherwise.
The "Split the array into subarrays of length 5, now sorting all of the arrays is O(n) instead of O(n log n)" feels like cheating to me
Why do some cashiers lift weighs?

Why do some accountants lift weights?

Why do some road pavers lift weights?

Why do some plumbers lift weights?

Why do some marketers lift weights?

Why do some teachers lift weights?

Why do some bankers lift weights?
Sure, that means Twitter probably uses Okta for corporate SSO (as do many companies), but nothing more. Okta offers white-labeling on your own domain (and some advanced Okta features are only available via white-labeling), so twitter.biz is probably their corporate domain.

(that's noc @ twitter.com, by the way, the RNAME is an email address where you replace the leftmost dot with an @.)

Be careful with "that subdomain", though -- beeflourishing.okta.com also resolves, they've probably got a wildcard DNS entry and definitely have a wildcard SSL cert there.

None of that is evidence of this thing.
What I want to hide is mounts. With containers, snap (squashfs), etc., the number of mounts on a modern Linux system is growing to ridiculous numbers. And why should they all be visible to normal users?
On the other hand if you take out every station it takes a lot longer to rebuild than if you just take out one.
return l[len(l) / 2]

I'm not a Python expert, but doesn't the `/` operator return a float in Python? Why would you use a float as an array index instead of doing integer division (with `//`)?

I know this probably won't matter until you have extremely large arrays, but this is still quite a code smell.

Perhaps this could be forgiven if you're a Python novice and hadn't realized that the two different operators exist, but this is not the case here, as the article contains this even more baffling code which uses integer division in one branch but float division in the other:

def quickselect_median(l, pivot_fn=random.choice):
if len(l) % 2 == 1:
return quickselect(l, len(l) // 2, pivot_fn)
else:
return 0.5 * (quickselect(l, len(l) / 2 - 1, pivot_fn) +
quickselect(l, len(l) / 2, pivot_fn))

That we're 50 comments in and nobody seems to have noticed this only serves to reinforce my existing prejudice against the average Python code quality.
Yes. A smarter way to do this was not having some separate thing.

It should just be 'BritishRail' and 'HS2' should simple be one of many 'Future BritishRail' upgrade paths. You could call the project, 'HighSpeed North-South Mainline'. Make it boring so sensationalized headlines aren't as interesting.

Make people who are against it answer the question "Why are you against the rail system". Now they constantly say 'Pro Rail, against HS2' (even if that's BS).
Senate to Vote on Web Censorship Bill Disguised as Kids Safety
So "Greek are lazy" is condescending but everyone in US prioritized making money is just fact?

BTW there must be some interesting story that your Greek teacher had to move to US and deprioritize happiness.
Risk. Risk is the reason people aren't constantly demanding equity.

Equity is great when your base salary covers your comfortable life.

Equity is not great when your salary or hourly doesn't afford you much, and having inaccessible capital that very well may be worthless in the future is not desirable.

When people talk about this topic they hyper focus on success cases. But HN should be intimately familiar with how well start-up equity offers usually pan out.

And large stable companies usually do offer equity to employees, but that slow stable growth equity is not going to make you rich.
Ask HN: Looking for algorithms to calculate shares in sequences and networks
I'm finally getting close to the next milestone on my code journey and I like to have something complicated (that I can barely grasp) to crunch in the back of my head while doing autopilot work in on construction sites (mostly solo, not endangering anyone or anything) and calculating shares recursively in networks/sequences/chains fits some ideas. Something like reverse incentive mechanism proposed in the book 'Social Physics' by Alex Pentland.

Blockhains do something similar/exactly that, don't they?
> I never like to discourage 'too much' information because frankly 'end users' don't know what they need to tell us in support (that is kind of what our job is right?). I'd much prefer the above than just 'it won't let me log in' - where there maybe context that I'd want.

I agree that more information is sometimes better, but elaborate only after stating the core issue. For example, if you're emailing a provider about being overbilled. Start your email with "I'm writing to you because I have been overbilled and would please like this addressed", then you lay out your case with all the facts that you think could be relevant. But don't start with a whole bunch of facts because the service agent won't yet be in the correct context to know which facts are relevant until after they know what problem you're trying to have solved.

> But that is after they have emailed you right? You cannot summarize anything until you actually have them tell you what is wrong, no matter how long takes them. So yes summarize in the first sentence is always useful and if you don't kow the solution (yet) it never hurts to admit that and say something like, 'but we can try X or see what Y is doing as that will help me understand the issue in more detail' etc.

Sorry, I wasn't entirely clear, but for this part I was not referring to responses to customer service requests, but more for proactive reach outs initiated from our side towards trying to ensure customer retention and (at the moment) we're more of a B2B product so we feel this is worth doing.

As "random" reach outs by a supplier are not always appreciated, we always try to offer something of value/relevance when doing so, with the first sentence being something like "Hi <person name>, We've recently done <something to our product which we feel is relevant to you>, I was wanting to check if this would be useful to you?". I can then perhaps elaborate further on the potentially useful thing to them and also close by stating that I would be happy to do a video call to go through it in more detail if they would like.

What's particularly noteworthy here is that I did a "call to action" which would be low effort on their part, namely to "please at least reply to let me know if this is useful" in the very first sentence. This is actually a bit of a psychological trick where because the recipient has been directly asked to do something in particular, they're more likely to continue reading towards doing this and engage.

Once we started it on our side, I also started to notice that I see this trick very often to my own inbox from completely cold contact direct marketers, their first sentence often ends with something to the effect of "would <time and date> work for you for us to discuss further?", I don't engage with these completely cold contacts, but I see exactly what they're trying to do.
Production home building does exist (in the US):

* https://www.newhomesource.com/learn/custom-or-production-bui...

* https://www.foxridgehomesbc.com/news-feed/the-differences-be...

* https://www.nahb.org/other/consumer-resources/types-of-home-...

This is in contrast to a "spec" (speculation) home where a smaller builder buys land themselves and builds a (single?) house and then sells it after (no buyer is lined up before hand).

Someone could also go with a "custom" home, where the eventual resident themselves have some land and hire someone (general contract (GC)) to build it (or they act a GC themselves and hire all the subs (sub-contractors) themselves).

A "production builder" is probably the closest thing to 'factory line' assembly/construction. Generally this is what is happening when a sub-division is built up; usually a certain percentage of the units have a signed purchased agreement and a deposit.
A simple guide to splitting configurations with the power of Config Split
Helmet fit is also super tied to brand. I have tried and tried to find something that fits my head better than a Specialized helmet, but I haven't been able to do it. I mean, nothing against Specialized, but variety would be nice, and the model that works best for me from them is expensive.

Some brands fit, but not comfortably. Some brands (POC, for example), just don't fit my head at all.
OTOH, with even larger volumes of affordable [single-family] homes, the US would have even more suburban sprawl than it has now, which I think most people agree is not actually a good thing...
I keep getting hung up on semiconductor doping which none of the online dictionaries I tried acknowledge as a form of the phrase. But I guess it fits "to introduce impurities into the system to improve performance"

The etymology of the word is telling, apparently it comes from the dutch word for sauce.

https://www.etymonline.com/search?q=doping
I just wanted to add that this information would be useful to me too, and I did watch the video. Also, I would be curious to know what integrations you already have and plan to add.
The whole thing is on YouTube, for free but with ads:

https://www.youtube.com/watch?v=iD6fqVpRsBM

(At least, for me here in the U.S.)
Optional types don't fix this. The problem here is not having default (or named) function arguments. With optionals, you still have to pass every arg explicitly.

Languages with both of these features like Python don't end up using the builder pattern or reinventing it like this author.
Hmm I missed the protective angle..

Which, if you don't mind the poor repute, fish scales are for healing

https://www.mdpi.com/2079-4983/14/10/512

(Pic here)
https://abcnews.go.com/US/mountain-lion-injured-ca-wildfire-...
If you have root you can just reboot or kexec and embed yourself at kernel level.

The trick is to hide in plain sight. Call your process “tracker-miner-fs” (common suspiciously named GNOME process”). When the system administrator sees your process eating up huge amount of CPU time and does a web search, they’ll come to the conclusion it’s just GNOME being GNOME.
I reported a variant of this issue that (to me) was unexpected:

* You add someone to your private repo.

* After some time, you revoke their access.

As long as they keep a fork (which you can't control) they can use this same method to access new commits on the repo and commits from other private forks.

Back in 2018, this was a resolved as won't fix, but it also wasn't documented.
Only through Google Takeout. I am trying to build a tool that allows displaying and sharing them outside of Google Accounts or Maps, but the only reliable way to get them out is unfortunately still Takeout. Some browser extensions offered a loop/extraction but they mostly don’t work anymore I think.
https://www.nytimes.com/2024/07/24/business/paper-check-paym...
> Rereading the zones paper now makes me cringe, but I was in my 20s, what can I say.

Still a nice paper!

> to really think differently about the problem in a way which changed application deployment for everyone.

Could that also have been done with Zones? In terms of the developer experience?

Seems to me Docker just thought about the develop-and-deploy pipeline differently.
Just give us airtags in icloud.com/find please, so that I can use them while having an android phone. I don't need apple maps in browser.
Refactoring AWX into a Pluggable, Service-Oriented Architecture
I understand that CS doesn't draw much sympathies even before this happened - from myself included - and it is easy to pin point systemic issues to a single failure point and make it liable and financially responsible for all downstream failures.

But this only creates excuses for all other responsible players in this systemic issue - or society at large. Just to pick 1 example: I keep reading comments on how profoundly health care providers were affected and that lead to human life losses.

I understand that having "tech" involved in health or any sector is important but are we really wanting to build critical services that grind to halt or have huge efficiency impact when a single vendor fails? Are these service providers not responsible for thinking about failure modes?
There are some books in the list of nominees and winners that are in deed good books.

Lots of awards gone to Cory Doctorow...

Well, in the end you don't have to decide. Just watch both list and pick the books that speak to your taste.
One possible resolution: homo sapiens really is physically weak. We route a lot of energy into our brains. Our strongest body builders, probably augmented with chemicals, still don't reach what a normal gorilla does. A homo non-sapiens who isn't routing quite as much energy to their brain and is another 50% stronger than homo sapiens climbers may not find the climb so challenging. (I would expect climbing strength to non-linearly improve climbing skill; once you rise to "I can just barely lift myself" you'll get rapid climbing improvements as you incrementally improve past that, a sudden takeoff in the strength versus climbing skill chart.)

Humans have a lot of advantages; obviously our high-quality brains, fantastic eye sight, wonderful hands, etc. but I would argue that the fact we are physically weak, in the literal "strength" sense of that, even when we do exercise and strengthen to our very limits, is perhaps our biggest disadvantage compared to the rest of the animal kingdom.

(So, it isn't just a science fiction trope that there's a lot of things stronger than us. However, if the Klingons and the Vulcans and pretty much every other alien species in Star Trek can outwrestle a human, one does sometimes wonder how they can do that but also still have human, or slightly better than human, intelligence. Perhaps arguably the Vulcans should be a little weaker yet.)
I have, at some point in my career, had the title of "Automation Engineer" in the past. I generally agree with the article except there is one huge oversight: Automation requires predictability as a prerequisite and complex systems are not naturally predictable. It takes effort from smart people to ensure the predictability of a system and repeat a task long enough that it can be automated.
If the stock an employee gets doesn't give voting rights, then it's not really even a sliver of ownership, it's just a form of profit-sharing. That's not at all bad, but a different thing.

Personally, I consider stock options to be a bit like lottery tickets. All things being equal, it doesn't hurt to have them, but I'm not going to count them as compensation and that I have them isn't going to make me work any differently.

All that said, as a customer, I tend to prefer to patronize businesses that are "employee-owned" to a significant degree.
You're under no obligation to climb the pre-set routes. You can make up problems using whatever holds are on the wall.
No, because at that time, music was the subject. The subject-object relationship could be inverted for the verb "like". You can think of it as though "like" were a synonym for "please," with "it likes me" being analogous to "it pleases me." No one uses the word "like" like that nowadays, of course.
X Uses Community Notes on Election Posts, but Misinformation Spreads
Yes, even though I expect there to be people that do exactly what the GP describes, if you know git it has severe "do not do that!" vibes.

Do not squash your commits and make the repository public. Instead, make a new repository and add the code there.
Great and valuable post. We need more of those. Huge respect!
From a historical (and academic) perspective, most decentralized services seem to tend towards monopolization.

Telephones, radio broadcasting, and the Internet are all examples of once-decentralized, democratizing forces that were eventually centralized from a corporate control perspective.

I don't know if this will change in the future; it'd require either a very active legal agenda or incredibly engaged citizens/consumers.

"The Master Switch"[1] is a great book on the above.

[1] https://www.amazon.com/Master-Switch-Rise-Information-Empire...
> The Chinese state takes a rather strong hand in allocating capital, and that has treated it fairly well over the past few decades.

The Chinese government has spent massive amounts on vanity projects. A lot of government funds have also been looted by CCP honchos.

Thanks but no. I’ll take American capital allocators over the Chinese any day.

Most importantly, I don’t want to live in a dictatorship.
They're not sorting all the arrays?

Later

(i was going to delete this comment, but for posterity, i misread --- sorting the lists, not the contents of the list, sure)
I'm surprised that nobody suggested self hosting a GitLab or Gitea instance. [1]

[1] https://ipv6.rs/cloudseeder
It replaces a small portion of benefit programs at best. Any sort of a serious disability and/or health related program will still need the same amount of resources to support people who need something other than money. And no UBI payment can cover market rates for these sorts of services.
Alt-texts: The Ultimate Guide (2017]
> we shouldn't expect a free-spending, state-expanding government.

I understand. That was my criticism. They are not gone do that.

> Now you're talking my language!

Cheers to that.
There's A LOT of daylight between liberal capitalism and communist socialism.

The social democracies, a middle path, as the Nordic countries have experimented with, seem to have done quite well. And there's now strong evidence that our system (neoliberalism) has stunted economic growth.

Regardless...

I support simple social reforms, like sovereign wealth funds (Alaska, Norway) and universal healthcare, greatly reducing the tension between labor and capital. Then these labor, employment, and ownership reforms wouldn't be so fraught.
Good idea but bad name. Error implies mistakes, which will deter people.
How deep does liability of a electricity provider go when they have major power outage? even if due to gross neglicence? would they be liable for all downstream failures including loss of life?
Would you really want to live in a world where only Russia et al have nukes?
I've realized similarly and by being "blessed" with very low-grade chronic conditions (family of diabetics, fatigue), I've created my own low grade insurance policy by creating lifestyle interventions in nutrition and exercise to maintain my health.

If I were to summarize the thousands of hours of what the Phd/MD health podcaster space has promoted, the jist of it comes down to:

- Get about 1 cup of 5 colors a day. Usually a smoothie is the way to achieve this. I make them in batches and they are conveniently available as grab and go.

- Prioritize sleep

- Exercise to improve v02 max as high as possible

I think _most_ of the population on hackernews has the financial privilege to implement the above 3 in various ways. But those will provide such a quality of life improvement to anyone dealing with chronic illness that it reduces the need for medicine a ton. And much of the damage from the environment can be mitigated by providing the body with the nutrition necessary to detoxify and deal with the various stresses they bring.

The way to look at modern medicine is that, modern medicine is very good at fast death scenarios. Heart attacks, randomly acute conditions, but they are terrible when it comes to slow death conditions like diabetes and dementia.

We need to look to rely on modern medicine for quick death, while creating interventions on the slow-death side ourselves, unfortunately.
To show the proper peristophilia (would this be the peristophilandum?):

`K` forgets an argument; `eval` forgets the differences between all the syntaxes that share a semantic denotation; eg, "1*1" and "1" are very different (even their lengths are different) as strings, but they both evaluate to 1. (I believe this before-and-after-evaluation is what drives the utility of intuitionist logic in informatics; it's difficult for pre-eval `not` to be crisp)

`S` grafts an argument into multiple places in an expression tree; `apply` does the same (in a lazy* language it even avoids the gratuitous eval of args); eg "fac `apply` 6" reduces directly to "1 if 6<=1 else 6 * fac `apply` (6-1)", in which the 6 has been grafted in triplicate.

Does that make sense?

* I guess the sage would always write code such that it doesn't matter if evaluation be eager or lazy or even somewhere in between (cf https://news.ycombinator.com/item?id=40947303 ), but I have yet to figure out how to manage that...

EDIT: [pedantry] FI salonkikelpoinen started with LA sella resulting in IT sala, salone going through FR salon by way of DE salonfähig
AOC's Deepfake AI Porn Bill Unanimously Passes the Senate
Bingo. Additionally, control theory block diagrams are pretty rigorous, with algebraic rules for manipulating them you'll find in a controls textbook. You can pretty much enter a block diagram from Apollo documentation into Simulink and "run" it, in much the same way you could run a spice simulation on a schematic from that era.
Are... are you familiar with layoffs? Y'know, that thing companies do where they stop paying you and you don't have a job anymore?
For sure. If it wasn't clear, this isn't something affecting me but my father. He is scared and is generally moving in the right direction when it comes to exercise, for example, but certainly not nutrition. Which is why I asked about the book. It is easier for me to point to it (rather than my own notes) and say "here's what these doctors say, follow these guidelines".
I would still classify that as object oriented behavior.

You have a class/type of objects, and you have a set of functions or operations which are associated with (loosely or tightly) and operate on that type of object.

For example, I would say that file descriptors are a handle to a type of object. They encapsulate the thing that they represent (file, DRM buffer, eventfd, whatever), and some of the functions that operate on them are polymorphic. For example, read, close, ioctl, etc., don't care if the file descriptor is a file, a queue, or whatever.

You use syscalls to interact with file descriptors, but they are just as much object handles.
I didn't go to university for CS. Instead I did physics. Because of that, learning/remind myself of this stuff was relatively easy, and so I did it.

And let me tell you, it didn't actually made me a better data scientist/model builder, for the same reason that learning how to implement some tree traversal didnt make me a better programmer.