skysight-inc/HackerNews huggingface dataset:
For me a key insight is that it's not necessarily possible for a brain to understand itself. Obviously there's a certain "capability floor" that a brain needs to have in order to understand a system of some complexity. A rat's brain is capable of understanding some systems, but it's definitely not sufficiently capable to understand a rat's brain. A human brain can understand various systems that are too complex for rats, but it's also finite in it's capabilities - and it's not totally certain that the inherent complexity of how human brains work is small enough to be understandable by human brains; perhaps it would take something more (e.g. brains augmented with tech or biologically enhanced or something totally alien) to properly understand how our brains work.
I'd rather hire someone who doesn't struggle with those things.
When you casually program in a language, being consistent with what people are familiar with is important to avoid introducing subtle bugs.

A lot of times, languages like Lua get introduced by enthusiasts in a way that others have to touch when things break but not enough to master. Think of shops that have those one off Perl scripts and the challenge with touching them.
I love Discord's tech blog. There are a few corporate tech blogs that are just fantastic. Fly.io is another one that has great writing and interesting topics.
> how do I make higher-kinded types

In Nelua you can create new specialized types using compile time parameters, they are called "generics", you can use this for example to create a specialized vector type.

> and typeclasses there?

Yes, but with some metaprogramming. In Nelua you can create a "concept", that is just a compile time function called to check whether a type matches the concept.
Personally, I often refer back to emails of what people sent me in order to have proper context, both technical, logistical, etc. Instructions on how to do things, how we debugged something or other, etc. That makes me more productive and useful as well as other people. If we gotta write every email over again and put it up on a wiki, that just won't happen.
Apple has made leaps and bounds on security including having 2FA mandatory but none of it matters when the user is convinced they are speaking to someone from apple who is telling them to read out the 2FA code and provide their details.

No warning in the world will help because the attacker will just say "Ok thats ok, that warning is just for untrusted people. Since I am an Apple employee, it is perfectly safe". These victims already trust the attacker so they will just do anything asked.

I think the only solution here is to just block all logins outside of the users own country and to have local law enforcement crack down hard on any in country criminals. Apple can use the find my location to work out if any of the users devices are at or have been at a certain location. I can't imagine many situations where you leave all of your devices at home, leave the country and then try to log in.
being able to and Actually doing it is costing (assuming 2k monthly) 600 a year in earned interest.

people shouldnt do things they dont have to
And I could say that this HN account has been baselessly dismissing valid concerns about the proposal and providing non sequiturs to assert why nobody should be concerned since it was announced.

However, stating my opinion as fact in an attempt to invalidate someone else's perspective on the matter would be debasing discourse so I wouldn't do that. None of us should.
Sounds like how I like my afternoon coffee, bitter without any additives. It reminds me I need to leave work if I've finished the important stuff for the day. A much needed kick in the guts that makes you purse your lips as you drink it down that puts the rest of the day in perspective.
It doesn't always prompt for a password or, more accurately, fingerprint scan on newish devices. In fact, standard applications that live in /Applications don't need it.

Nor do free apps downloaded via the App Store, as I just tried. Although this may be a setting somewhere.

But does it matter? You know what doesn't need a password? Accessing your photos. There's really very little you can do after authentication that you can't do otherwise. Maybe, after exfiltrating all the user data, you can also update macOS.

Sandboxing is really far more important than protecting sudo privileges, and I believe Apple is doing a fairly good job in that regard.
i usually make a comment that is the full untruncated title if the truncated version looks like it could create a confusion. in this case the loss of [,,,with impaired immune systems] can create a misinterpretation, regarding efficacy of double dose vaccination producing low or undetectable immune response in patients as a general case, rather than the specific case of those who are immunocompromised.

the overarching concern is the potential to produce vaccine hesitancy.
It was a joke, to capture the sentiment here in HN. Rust is awesome, and most people know it. My point was that people will focus more often on which language is used, rather than the technical design, performance, etc...
A 700px max-width would actually make it quite annoying to read for me (as a lot of content on the web is, unless I switch to reader mode)....
The age utility is a bit ironic in that a utility intended to make malicious modification less of a problem doesn't do signatures. So an attacker doesn't have to go to the bother to modify the file, they can just create a whole new file.

Kryptor is more complete. If you do public key encryption you also have to support signatures if modification is an issue. You can't just leave it to the user to figure out.
That issue is pretty amazing, especially the developer straight-up accusing those saying 'this is a killer feature stopping us from moving to mumble' of lying (considering the substantial overlap between the features of the various options competing in the space at the time this is really obviously the kind of thing which could be a deal-breaker: I remember the arguments over which option to use based on far less substantial differences than this).
This is why some people think software engineers are not real engineers. No one will ever ask a structural engineer to build "it" quickly and cover 95% of the failure cases.

Okay, apples and oranges. It's actually okay for a team to crank out a prototype held together by duct tape, but you should move away from this mentality as soon as you prove the business idea otherwise the technical debt will sink you quick.
Lane markings are a fraction of the triangulation.

We ourselves identify and confirm other urban waymarks via captcha which feeds the nav data -- bridges, signs, hills, hydrants, chimneys, lights. There is mass live verification from android auto in vehicles. There are many yearly layers of street view images and scans.
there are other investment instruments that are inversely correlated to market crashes

EDIT: given truthful observation to whataboutism on an internet forum and receive quiet downvotes.

EL OH EL
I'd like to see a study on how many studies that show "X" is beneficial to humans and companies, but break the status quo in working environments actually lead to "X".
I've been working a 4-day work week for over a decade now. I took the pay cut myself.

I pretty much agree with the article. Especially in knowledge-intense office jobs, people can't really be fully productive across the day or week. People have different energy cycles throughout the day, and we're biologically just not designed to focus this stretch of time. So a number of hours is "busy time", sitting out the hours. A collective form of madness that serves nobody.

Anyway, in my case I noticed that in this line of work, your work load won't scale down by 20%. You still need to output the same productivity as somebody working 5 days.

This does mean that the 4 days become more intense. There's little slack in it. Further, it forces you into a more aggressive stance in rejecting distractions, items of low importance, and so on.

One thing I learned in doing so, is that I was much too afraid before in rejecting time wasters. I now generously decline meetings, and if truly of low importance, don't even explain why. Your problem, not mine. Only my direct manager can lay a claim on my time, others must convince me of the purpose.

I'm in the lucky position to work in a fully output-based role, based on sprints and clear deliverables. One week before the new sprint, we agree in detail what gets delivered. And then I deliver, consistently and reliably. I take this extreme reliability very serious, as I don't want to be seen as some part-time worker or somebody not doing their part.

Once this reputation is established, barely anybody can even tell that I'm not in on Fridays.

I strongly wish for a better work balance at a societal level. We have plenty of people to divide work amongst, combined with automation it would only be a logical and humane progression.

It is a type of progress we've ignored. We work longer, not shorter. We work as a couple, not as a single breadwinner. We have less job security than ever. The combined stress of a life long quest and grind for economic relevance is the greatest source of human suffering remaining. Which is not to imply that all work is suffering, rather the long hours, conditions, insecurity and imbalance of it.

If I may rant on, a sane work life may be the only way out of the climate crisis. It will inevitably lead to pressure on our material wealth, our lifestyle, our stuff. People won't accept this sacrifice, unless...

...you exchange it for a better life in other ways. More economic security and a less existential stressful life in return for less material wealth. I'd take that deal.
I'd rather work for someone who understands their employees are human.
Huh. Top loaders are more common than front loaders in the US.
Charybdefs is our fault injection filesystem. Though it's based in Thrift, the ol' API that predated CQL.

https://github.com/scylladb/charybdefs

More modern is Project Circe, our efforts to make Scylla into an even more monstrous database:

https://www.scylladb.com/2021/01/12/making-scylla-a-monstrou...
The article: Men need to see therapists and barber shops have filled in the gap but are woefully inadequate but one person is raising awareness about that using barber shops.

My comment: Men need to see therapists and barber shops have filled in the gap but are woefully inadequate [because they are filled with ignorant toxic vitriol, which you may not notice if you aren’t familiar with the culture] but one person is raising awareness about that using barber shops.

Yours and another comment: re-education!? policing speech!? wrong think!?

I literally have no idea how you and others came get that reading from what I wrote while the article is saying the same thing.
HN is no longer the site you're looking for. It's no longer the site I'm looking for, either. That irritated me to an unreasonable degree for a while, but I just accept it for what it is now.

I find it's still a useful pointer to interesting links, but if I go into the comments it's knowing they'll be annoying. Align expectations with the reality and it's OK.
I put in about 250 applications too to get my first tech job. That was during the 09 downturn.

I have a lot of constraints in my life with my family. I don't really have a future that would be any better than the job I have right now.
If you have an actual reason to fear for your life it’s game over, the “Stasi” doesn’t care if they find evidence or not.

If it’s the FBI then fearing for your life isn’t exactly part of the equation really.
Shouldn't it be "El Puente"?
At a big company, or in a complex market, project or ecosystem - People who “get things done” have to:

1. Eliminate all discussion, information sharing or teamwork to avoid complex conversations or communication slowdowns or pushback (Try to form silos)

2. Attempt to dramatically simplify their work so it can be streamlined and done faster, perhaps by doing a very bad job or doing everything the way they want to do it

3. Continually step on political landmines or get into a lot of fights by accidentally wandering into someone else’s area through blind execution

4. Be incredibly sneaky and underhanded and opaque and do everything in a way that seems slimy

5. Have some unusually strong managerial backing to go plow ahead and run over any obstacles or objections

Startups are wonderful because there aren’t 9,000 people in the way claiming every square inch of space. At a big company, everything you do is a potential territory violation.

I used to be much, much, much more aggressive when I was younger. I just ran over everyone in my way and destroyed or avoided obstacles.

Turned my career into a giant heaping pile of wreckage. Get shit done at a large company turns out badly for your career I learned.

This is very temporary career advice. You’ll be fine if you do this at a small startup. Medium size and up, you will get zapped like cancer for doing too much of the above.
Ask HN: Software architecture buzzwords and trends, a glossary?
When I go into interviews, I get questions like, what do you think about CQRS? Or let's talk about Graph Databases, etc.

I'm not preparing for an interview, but I still want a 10,000 ft view of architecture trends in our industry (software architecture).

I'm looking for a concise reference that is sort of a glossary of trends in architecture, *-driven-design, data store use cases, etc.

Each of these topics are typically covered in an entire book.

But, I just want to grok each of these topics quickly.

Any website, book, or other centralized resource you can recommend?
I could not find a precise definition of what the graph shows, but that's a graph of participation rate and not absolute numbers. I.e., of all the people who are alive at a certain time, what percentage are neither employed nor unemployed (where "unemployed" implies "looking for a job"). To confuse things even more, the whole percentage is normalized to Mar 2020=100.

Your estimate of the mortality in that cohort is likely off by an order of magnitude or more. I can't find an exact figure, so here is a back of the envelope estimate. https://euromomo.eu/graphs-and-maps/ tells me that about 30,000 more people of age 45-64 died in 2020 in excess of a typical year. For the purpose of estimation, I assume as a worst case that they all were 55+ and that the number of 65+ people working is not too large. How many 55-64 people exist in Europe? The euromomo graph refers to a region of about 400M people. For the purpose of this estimation, assume that people live 100 years and that age distribution is uniform, so maybe 40M are in that age range. Thus, the extra mortality in 2020 would be less than 0.1%. You can criticize this analysis in many ways, but it's hard to believe that I am off by more than a factor of 5 in either direction. Thus, I don't see how "dead by covid" can possibly justify a 5% decrease in participation rate.
New device logins across 300+ accounts from the same IP in such a short time frame should raise a few red flags.
I would actually prefer this to studying for Leetcode. If I am going to dump two months into it anyway, I would rather not forget my actual job.
Can you recommend a non-smart TV? Seems like everything is smart these days.
> What I'm talking about is a hypothetical language that makes memory operations in critical sections forbidden and considered a compilation error.

This is easy to do in C, and you'll see it in embedded code. A simple preprocessor macro that redefined malloc to something that causes an error.

To enable malloc in some chunk of code (embedded defaults to "malloc is bad"), you can define it accordingly in the .c files that need it.
Browser fingerprinting works best on the Wintel and Android ecosystems, but fails on apple's devices because they are extremely uniform, and apple has been working on making them even more uniform. As apple products are designed to be used on apple devices first (and I guess also tested on them first), it would be unlikely that they employ fingerprinting.
As a young guy, the best and fastest way to get raise is to jump between companies.

Sticking within the single company will get you into the hamster wheel of promises, policies, processes and procedures with not much of a monetary outcome.

Once you get the offer from next company - put it on your boss desk to beat.

Rinse and repeat.
When has "too much documentation" ever been a problem? That's like being mad that the money in your wallet takes too much time to count.

I'll take too much docs any day over not enough docs.
I'm curious how the type hints for the `__init__` method are derived from the properties in the class without a type checking plugin

Nothing stuck out to me when perusing through the code

Edit: seems pylance can figure it out but mypy can't, maybe pylance is special casing something?

from typing import Optional
from sqlmodel import Field, SQLModel

class Hero(SQLModel, table=True):
id: Optional[int] = Field(default=None, primary_key=True)
name: str
secret_name: str
age: Optional[int] = None

reveal_type(Hero.__init__)
# pylance: Type of "Hero.__init__" is "(self: Hero, *, id: int | None = Field(default=None, primary_key=True), name: str, secret_name: str, age: int | None = None) -> None"
# mypy: main.py:18:13: note: Revealed type is "def (__pydantic_self__: sqlmodel.main.SQLModel, **data: Any)"
If someone has given their email and password to an attacker, they won't think twice about giving the 2FA code as well.
It's in a serious tone but focused on early startup hiring. I've experienced early-stage startup life, and the article makes sense to me.
> I've burnt a lot of man hours fixing shit that was done truly shitly by people who had a reputation for getting shit done...

IME, people who have a reputation of getting shit done tend to:

(1) Have little ethics around quality of work, and

(2) Have their greatest skill in self-promotion which is used to sell their lack of attention quality as a pragamtism.

People who have a reputation for getting shit done well, OTOH...
Like the polio vaccine.
You say that with contempt but many people do not get over lifelong unhealthy habits until they have a moment like that.
It links to https://venturebeat.com/2019/05/01/huawei-reportedly-plans-f...

And it opens with,

> Though its 5G products are not entirely welcome in the United States, Huawei is reportedly pushing forward with a unique new product: the world’s first 5G television. As Nikkei reports this morning, the Chinese company plans to use the cellular-enabled TV and new PCs to challenge Samsung’s and Apple’s dominant positions in the global consumer electronics market.
Any suggestions for alternatives?
Getting compromised by "clicking links or downloading attachments", implies some kind of technical vulnerability, beyond phishing alone.
This article describes the kind of person who launches things, meets deadlines, and is comfortable creating lots of tech debt in the process. Perhaps it _is_ a good idea to hire lots of these people at a startup, but I definitely prefer working on a team with more of a balance.
That's because it's a lot scarier to meet someone in your apartment when you don't expect them than having you photos leaked.

(With the latter, strictly speaking, being a subset of the former anyway)
On the flip side, my iphone used to crap out at random times when I really needed it.
I like Scylla. I've been working with it for a while now, and it's a good alternative for transactional loads. It's a hell of a lot faster than Cassandra, and much much much much cheaper than DynamoDB. Cassandra has always felt like improvements came in fits and starts. I work at a Fortune 50 company, and Amazon quoted us ~$2-3 million a year to run our load on Dynamo (we were paying $350k/year for Aurora). With Scylla, we're looking at > $100k to get an order of magnitude better performance and a nice stable system that doesn't wake me up in the middle of the fucking night.

I was following Scylla since the beginning (only because I like their mascot), and it's actually sort of interesting to see what's going on with the company. I've spent the past few years designing things where transactional systems backed by Cassandra. This is the first time I've been able to use Scylla on someone else's dime, though. The unpleasantly big company I'm at right now is looking to replace a bunch of infrastructure with ScyllaDB (Couchbase, Cassandra, Elasticsearch, DynamoDB). It's catching on for sure, but it still doesn't return any results when I search Dice. It looks like Discord is hiring, though...
'Legal's job is much more about language than approach.

They will require you not to say 'crush competitors' because it would be used as evidence.

The issue 'make a better product vs. crush competitors' is usually a more of a strategic issue.

Edit: it's not illegal to want to 'crush competitors' FYI the issue is the language that would point in a particular direction. The evidence of my point is Google's existence - I would argue it participates in a number of anti-competitive practices for which it's very smart legal team has made sure the language they use doesn't support legal scrutiny.
Yea. His legal disclaimer is necessary. Modding your oven interlocks for pizza..

There are good small high-temp pizza oven options. If you care enough about the quality you're heading to something in that space, or building out a brick furnace in the backyard.

I think home pizza is great. I love making it, but its nothing on the stuff i get from the two italian joints up the road, professionals get better results.

Same with coffee: I'd rather pay a competent barista.. But if I lived in the woods in vermont I might feel different: and I'd have room to make a pizza oven too!

If you live in a unit with a wired in oven, and you mod your oven to cook on the clean cycle.. your home insurance is probably void. If you rent: you're probably now in breach of your rental agreement.

Not getting his results, we pre-heat some ceramic (we use a plate but friends went to the hardware store and got a large clay floortile) and this, combined with direct radiant heat from the elements, gets a pretty good outcome: fast cook base and crispy finish on the toppings.

Also: this americanism to refer to Pizza PIE. Thats Chicago, and is abhorrent sloppy nonsense. I've had one. its tomato sauce in a piecrust. its like eating lukewarm dense tomato soup with cheese topping. I can't imagine why people do this except I also gross out on dirty fries so I kind-of get it, its comfort food for the locals. But anywhere else, pizza means thin crust, and arguments about how much beyond basil and cheese goes on it.

(I am australian. I do not put pineapple on pizza. Tandoori Lamb is pretty good mind you.)
This should really be treated as theft on a massive scale. It's similar to if he broke in to 300 peoples houses. Probably even worse.
I just tried this (firefox on iOS, new england). Google asked for my location and I said “no”.

TLDR: 2 ads, the rest organic.

Top-2 were ads, a maps widget, organic result, people also ask, 4 organic results, people also search for, images, 4 organic, 1 ad.
Even at a "startup" those turf battles emerge. At one company I once had nothing to do so started to help someone on another team automate work.

Set off a turf battle of resource allocation, billing, hours, and a couple cents in cloud systems. I had nothing to do, but a battle started over what I did. They fought over how to allocate time they had no use for.
When a company is large enough[0], it's probably not unreasonable to start thinking of it as a municipality, or even a small country. There are probably people who live in my city who I wouldn't like, there are probably policies of my city I don't like, but I still live where I live.

Similarly, at a large enough company, if your work is good, but some other division of the company is bad, should you leave the company(city/country)? Or just avoid the bad division?

[0] Leaving aside the question of whether it's a good thing for companies to get that large.