skysight-inc/HackerNews huggingface dataset:
It's not just the naming. It's the very existence of accessor methods/properties that are the anti-pattern, or at least code smell. At a minimum, they're as smelly as exposing the object's internal state to external manipulation directly through public fields, and it's even more of a red flag if the accessors are liars and do things beyond simply getting/setting field values. (Obvious exception for DTOs and such, if you don't consider those a problem.)
Url changed from https://threadreaderapp.com/thread/1119118085443559425.html, which points to this.
Wow. This is an eye-opening comment.

I like your point. It's fascinating.

Right now, I need to look into the implications of running DarwinMail as a browser extension would be. To be sure your security would be maintained, the core functionality is not lost and DarwinMail remains usable (landing page with about, features, testimonials, pricing etc).

Thank you for your suggestion!
This guy seems to be way ahead of MIT on this one. He moved a barn (which wasn't a specially 3D printed shape) 300 ft on his own.

https://www.youtube.com/watch?v=-K7q20VzwVs
The site where the document is published (https://www.justice.gov/sco) shows the following message below the link to the PDF:

"The Department recognizes that these documents may not yet be in an accessible format. If you have a disability and the format of any material on the site interferes with your ability to access some information, please email the Department of Justice webmaster. To enable us to respond in a manner that will be of most help to you, please indicate the nature of the accessibility problem, your preferred format (electronic format (ASCII, etc.), standard print, large print, etc.), the web address of the requested material, and your full contact information, so we can reach you if questions arise while fulfilling your request."

I'm not sure what to make of the message. They don't say whether they'll send an ASCII version if you ask for it.
It can be difficult to make a living from your projects as an indie developer.

Thank you for understanding :)
Pwndbg – Exploit Development and Reverse Engineering with GDB Made Easy
Winston was writing in England (which is what the article is about) in 1909.

Property taxes in the UK essentially don't distinguish between "nice house" and "an actual palace". A tiny bedsit pays grade A taxes, my nice flat is grade B, My mother's old house (a four bedroom cottage in a pleasant village where lots of rich people live) would be category H. There aren't any categories above H. They're charged to the occupants, so if you own a town of a hundred dwellings and let them out, the residents pay those taxes, not you. The exact mechanism has changed substantially since Winston's time (and indeed was the cause of major riots decades ago) but this general thrust has been true for generations.

It's true that rental income due to a landlord is taxable income, after expenses, but I don't see how that's relevant?

Capital Gains Taxes only kick in if you sell. If you're content to profit off ownership indefinitely you are never charged CGT.
My expectation is that the ratio of productive workers for each retiree will be approximately constant, and the retirement age will be adjusted to match… at least, up until the next black swan or grey swan. At this rate, I expect at least one of those to happen between now and 2030.
Ask HN: What are some recommended blogs/techtalks on OOP and design pattern?
> Isn't there a Python based dialect for that already ? ... Anyway, it seems to be it would be better to make a lib for this than a whole language.

FPGA programmers are quite a different breed than python developers. Things that are simple in programming languages (e.g., multiplication) can create real issues in an FPGA. I'm normally all for simplifying and unifying semantics, but with hardware programming, a split is justified.
This is by far my favourite one.
It is an effective strategy, my observation is that way more energy is expended in debating the term MLM by assuming it is a pejorative term and the potential legal ramifications

Without a government stance on any particular viral campaign I typically try to avoid MLMs as I find them unattractive

With government stance and intervention I notice that the only result is for people to understand exactly how to operate an MLM to avoid government intervention

Most ideas simply arent self sustaining without the productivity of new participants getting diminishing returns from that idea

Adding a pejorative label to that reality is arbitrary
It's pretty hard to permanently get locked out. In a pinch, you can always mount the disk in another machine, fix whatever is wrong, and boot the original machine back up.
Game Boy turns 30
well, I am having this comment because I had to spend months optimizing some UIs which updated thousands of elements per second with this kind of mechanism - needless to say, it doesn't scale, especially when your average user has a core 2 duo.
Ohhh noes!

Can you please take a screenshot & upload to Imgur?
Show me your console please as I will know exactly what to do then! (From the loading screen -> right click -> inspect -> click the console tab)

I will be able to see then and fix it for you!
Who has ever looked at a reddit profile and decided that an account should be trusted based on karma? Recent few comments are way more likely to determine trustworthiness.

Hoarding karma on reddit is as useless as hoarding karma on HN. I've deleted the only reddit profile I've ever had a few days ago with about 45k karma. If they had any value, I would maybe keep it and just stop posting.
Weekly Robotics #35
I hadn't come across sekey before. It's sort of like a built-in Yubikey on my mac. I like the idea.
All these NLP is great but the important question is what insights you gained from these that you didn’t had before?
https://stackoverflow.com/questions/4298408/5-years-later-is... ; you loose some flexibility though.
Definitely strikes a chard in me - I've completely stopped coding when I'm tired as it has often led to disasters. I've just learned to live this limitation but its not been too hard.
I think all of the above is very specific to higher-education in the US. I'm a PhD resarch student in a UK university and that's really not what I see from where I stand. And keep in mind that universities here too are for-pay and the tuition fees can be very high and the UK society has very much embraced free-market capitalism. And UK universities these days will take on just anyone for a PhD (see: me). But, really- Avon? I mean, come on.

Or perhaps it has to do with the field the author was in? I'm not sure what that was, but in my case, nobody has ever asked me to do any sort of "lab work" at all. I have been asked to help with invigilation and TA duties, because I receive a stipend from the dept. of eng. as part of my funding, and they "expect" you to do that sort of thing if you get funding from them, but I do get paid for my trouble and even my advisor has to mark exam papers (from courses he doesn't deliver himself) once in a while. Like, honestly, if this is exploitation I don't think my university is doing it right.
Are we? What suggest this? We’ve had very long stints of governments hell bent on increasing inequality and regaining all they “lost” after WW2, yet what violent revolutions have we had?

Look at the small army of police they deployed this weekend for some climate activists. What would the response be to anyone more violent...
At this point, he has been being investigated for six months.

That sentence contains four verbs, of which zero are in the plain form. (One is present-3sg, one is ING-form, and two are EN-form.)

Are all four of them "main verbs"?
It would be nice if the bar could link to the main discussion thread or a page with a short description.
Is there a central public place (wiki / github / ...) where people collaborate on annotating the Mueller Report?
> My expectation is that the ratio of productive workers for each retiree will be approximately constant, and the retirement age will be adjusted to match…

This isn't necessarily a problem as long as the number of productive workers continues to increase.
> Homo sapiens started emigrating out of Africa 50k years ago.

Well new evidence suggests that humans colonised Aus around 65k years ago. There is also some evidence of human activity in the Americas thats far older, although the evidence is scant at the moment.

> There was no glaciation or sea change to destroy the evidences.

No sea level change? With the last glacial maximum the sea level was about 120m lower than now, wasn't it? Is it not reasonable to assume coast settlements or cities would now be submerged? There was continental-sized areas of land lost during that sea level rise. The amount of land lost in Asia alone is staggering.

> I believe there is no fact to sustain that hypothesis, and many facts against it.

Perhaps, but new evidence keeps on being discovered and lets not forget that lots of facts may simply be submerged under hundreds of meters of seawater.

Its fun to keep an open mind.
That's quite fascinating! Thank you for the interesting perspective :)
I will mock up some minimal interface designs. Perhaps a mail distraction free mode (we currently support a distraction-free mode for typing emails). This could be very cool :D
Next up on HN: Java static void main(String[] args): Concept
Why not a Medium post?
Before you read a 25 tweet thread: he has not yet done any of the things he is talking about. This post is somewhat premature.
Do we still need models or just more data and compute? [pdf]
Hey great thing you are interested!

Full story short, think about your public, and ask yourself:
- Am I introducing a new feature to my users? -> feat
- Am I fixing something, with no new functionality? -> fix
- Is my change breaking the API for my consumers? -> add BREAKING CHANGE to the body of your message, no matter what prefix you are using.

This 3 map closely to semantic versioning and are used in conventional-changelog.

MAJOR -> BREAKING CHANGE
MINOR -> feat
PATCH -> fix

Now, sometimes, this 2 prefixes might not be enough to describe what you have done. Maybe you introduced a new ci, that's no code, doesn't need to use one of the aforementioned prefix, so you use one of the optionaly proposed Angular prefixes (I think conventional commits is based on angular originally).

Sometimes fix might not be good enough to describe what you changed, in that case you can use `perf:` or `improvement`, but remember that this changes should not introduce anything to your consumers, let's say you converted a sass code that was too repetitive into a for loop.

TL;DR: use feat and fix, they map to semver and you can generate the changelog automatically.

Examples and more info:
- https://github.com/angular/angular/blob/22b96b96902e1a42ee8c...
- https://github.com/conventional-changelog/standard-version
- https://www.conventionalcommits.org/en/v1.0.0-beta.4/#about

Hope I was helpful,
Regards!
> A given instinct (ie predisposed thought pattern or behavioral tendency) potentially applies to everything we do

Behavioral tendencies can change remarkably quickly (i.e., a single generation), rendering the entire idea of "tribes" as you posit them obsolete. It's much more effective to measure and understand those behavioral tendencies directly, and the motivations behind them, than to create arbitrary "tribes" that try to encapsulate those buckets.
> Anyway, it seems to me it would be better to make a lib for this than a whole language.

This is a Racket library. The whole point of Racket is that you can make a language as a library.
That is correct.
However, would you think again if a little pop-up reminder told you just before you exited the app?
To be fair though, I keep my email tab opened all day. I never close it!
> The more an employer has to guess, the more risk there is in hiring someone.

An employees current salary is only barely correlated with a employees skill. They have a multitude of other, much much better factors that they can use to determine if someone is a "risk" or not.

> Also, if you wind up getting a salary that's more than you produce for the company

You are describing something that is close to impossible to measure, for the vast majority of situations. A company does not go around making exact measurements on programmers, and thinking to themselves "Is this person *really 18.2% more effective than the lower paid employee?".

Thats just not how it works. Instead, a person might be 3 times more effective, or half as effective, as the other employees, and salary will be almost entirely unrelated to how much they "produce", which can't really be measure very well anyway.

And this is without even getting into more complicated things, such as sunk costs, and the replacement costs. IE, you may be 10% less effective, but the costs to replace you are equal to 6 months of your salary, so in reality, it makes zero financial sense to do so.

And finally, you are ignoring the fact that an employee can just lie about their previous salary, and there is basically nothing the employer can do about this. I have never, in my life, had someone demand my tax returns, or call up a previous employer to verify my salary, and in many places this can even be illegal. I can just lie about my current salary, and easily get away with, as I have done so multiple times in the past, as well as has many other people that I know.
Grandpa's Beer
Title: PayPal Sucks

- It sucks because the author is not even a PayPal user or is not an account owner and only doesn't seem to have been involved in an online business since then.

-As someone who has lived in the US for 2 years, I've noticed that the biggest problem I have with PayPal is how difficult it is to manage your account in general. The PayPal account is set up as a backup to a central server, so you can use whatever tools you need for the job.
So you set up a small number of accounts which you may have to mangled yourself. You do get to be really careful what you do with the money you pay with your account.
At any rate, at some point, I just switched from using PayPal for some things - I want an account that I can use to pay for my business and have a good experience with them.

-Yes, PayPal sucks on a daily basis. I am an account user (and a regular member of our site) and have also dealt with several PayPal/Dwolla accounts using it.
I had to do some googling and it seems very helpful. I don't know how they work with PayPal's customer support - I understand that they are trying to be like PayPal - but I had to look at the documentation to see what actually happened. I can understand having a few customers who will not have any problems with them, but as a customer, this was extremely frustrating, just frustrating.
?

If you scale a monolith you have to scale the whole thing.

You seem to be describing that a monolith is more efficient that a microservice in a non scaling situation, which is true, but I think you have missed the point on scaling.
Alice InWonderland: A Review of the Passion of Ayn Rand
Good luck getting 100k/year contracts in CDN and at a second grade provider.

The market has been commoditized by CloudFlare. CloudFlare is charging $200/month for the business plan, or $2000/month for the enterprise plan with everything.

There can be banks or government paying 10 times more for custom plans (extensive support and long cycle cycles). These would never adopt Fastly.

Akamai can get away with charging millions of dollars to some historic customers who really don't need the service. If they ever migrate away, that's explicitly to take a zero off the bill.
There's a lot of costs which all sum up:

- binary size increase (e.g look at that : https://gcc.godbolt.org/z/xre7cp)

- more symbols (I guess you never hit the per-object file symbol limit on windows, even with /BIGOBJ - when you do the only thing left is despair).

- most callbacks will have to copy a kind of `this` pointer so the size of your objects increase and they stop fitting into cache lines

- when you have "normal" inheritance, the vtable of your parent object is generally already in your cache, while here there will be one vtable per-object (and no, the vtables aren't optimized to be part of the object itself so you still get that indirection even with SBO). so goodbye memory coherency.
I've been working on my own callback implementation with an inlined vtable which allowed me to grasp sometimes more than 30% perf improvement vs std::function, in callback-heavy code : https://github.com/jcelerier/smallfunction/blob/master/small...
Thank you for your follow up :)

I know what you mean by custom domains, I'm just not sure how they would be used with DarwinMail?

What significance do they have in this context?

Sorry I may be missing the point entirely! :)
These can be in fast path, depends on the code, but that's not the point.

Coming from embedded development, the amount of short-lived heap allocations that are so conveniently swiped under the carpet with C++ is ridiculous. Even with something like slab allocators and extremely cheap allocs, there are always cases when alloc-free cycles fall on the edge of slab and become very expensive. The less is allocated during the run-time the better.

When these are combined across the whole codebase, optimizing them away _does_ result in a noticeable speed increase and makes the whole thing behave more predictably. Regardless of their perceived per-call cost.
‘Seoul’ mate: 3 Korean apps for all phases of your love life
Ask HN: What features would you like to see implemented in the Linux Kernel?
Also Reddit discussion here: https://www.reddit.com/r/linux/comments/bf6j9f
That's ok :)

Please let me know when you can and I will look into fixing that right away :)
جين شيا الحل لمشكلة الضعف الجنسي
You've repeatedly crossed into personal incivility in your HN posts. We've had to warn you about this before. We ban accounts that do this, so if you'd please review https://news.ycombinator.com/newsguidelines.html and follow the rules when posting here, we'd appreciate it.
You've broken the site guidelines badly yourself in this comment. Please don't cross into personal attack and name-calling, regardless of how another commenter has behaved.

https://news.ycombinator.com/newsguidelines.html
Worth noting, that this poem only makes sense in its written form, not spoken form.

Had Chinese gone full Romanization, or some kinda phonetic written system, the trick would be lost.
Comments often refer to stuff that's not directly in the "review window" i.e. the actual diff plus additional context you'll see in a typical code review setup.

So even if people are conscientious about reviewing comment changes (and absence thereof!), too this often gets missed.
SuperTuxKart 1.0 Release
Title:

Linus Torvalds elected as the new president
of the United States

hncynic:

Now all he has to implement is version
control. So I can have my own branch.
Hey I'm sorry you had problems with it. I myself don't use it always. My main idea is to make it easier for teams to share the commit conventions with new developers (at work, for example, there was other convention which I find it hard, so I made a plugin also for it). Sometimes I'm not sure what type of change it is, so I can trigger `cz commit` and the prompt helps me remember what is what and to choose a proper prefix. My main objective was to avoid writing lazy commits 'fixed api', which I've seen around.

You don't need to use commitizen to write the commit, if you want you can choose conventional commits and write directly git commit, or use nothing. But if you use conventional commits, later you can use `cz bump` and detect the type of increment, and there are already tools that help you create a changelog as well.

I'm using this stuff with some friends in a project we are working on, and we use conventional commits (whoever wants uses commitizen) for our git messages, and then after a PR is merged into master we can execute `cz bump` in our CI and we have a new relese ready to deploy.
Thank you so much for the suggestion :)

I love Sentry, but I don't think I should use it here.

We are dealing with users emails, and I want to be as transparent as possible.

I really should not add another product to the mix until I have earned enough trust and proven that DarwinMail is in no way malicious.

I simply want DarwinMail to be a no-strings-attached upgrade for us.
Fixing the financial dilemma at the heart of our broken tech industry
"n-gate.com is hiring"

> Seems a bit off topic, but I have an idea for a service that gives people the benefit of the doubt. How would it work? How would it work?

> This sounds like a bad idea. There might be some sort of "hire a few engineers" thing.

> This would appear to me a lot more valuable than a list of job postings like http://www.n-gate.com (it only has the name 'n, but you might get the email from them)
Spanish language is Castilian spoken by non-castilian people.
For me it's not that Isaac Arthur is monotone, it's the fact that he's so confident about the future that is most relaxing.

Also, it's quite serene listening to him talk about gigantic space habbitats; it's such a good/calming thought that all humanity would be able to enjoy space, have all their basic needs met, saving Earth by offloading our resources exploitation elsewehere; I guess it's an engineer's wet dream :)
The UK's landowners have already destroyed the economy of the country. The country has food banks, literal starvation, and barely functional health, education, and transport systems. Industry has been almost completely sold off, and services are following in due course.

Overt this period the landowners have accumulated more personal wealth than at any time since the Enclosures.

Your point is naive first-order thinking about a third-order problem. "If we let people take billionaire stuff they may take my stuff" is nonsense.

What actually happens in redistributive economies is high taxation leads to high stability combined with high opportunity - not the false rhetoric of opportunity hiding a reality of very poor social mobility, which is what the US has, but genuine social mobility and business opportunity.

Huge inequalities are actually more like to result in revolution and war than stable economies where wealth is more evenly distributed.

Beyond a certain point massive inequalities are inherently politically unstable and almost guaranteed to result in a seismic social dislocation.

This isn't even a moral point - it's simply empirical.
I’m not an expert, but just a few personal guidelines off the top of my head:

1) Only store what you absolutely need, you can’t lose what you don’t have

2) When logging, redact passwords and PII

3) Ensure proper user rights using a whitelist (not a blacklist)

4) Use a proper IDS to detect anomalies early
Castile and Leon is an autonomous community, not a province.
Meritocracy depends of equality and you can't conceptually have equality with wildly differing starting points.

The transition from feudalism to capitalism would require land reform for equality and meritocracy to have some measure of credibility and meaning but capitalist states seem to have 'forgotten' the crucial step of equalization and moved straight to talking about conceptual 'equality' and 'meritocracy' as if they are operational. This is disingenuous.

'Capital'ism by definition favours capital and the only group that had it in the transition from feudalism were the feudal class who had monopolized all resources and used it to accumulate more wealth and power.

Humans have fought for land and resources for millenia and the equitable distribution of this most basic fundamental resource is the prerequisite for an equitable society. It can't be ignored in any discussion about equality and meritocracy and to do so is so deeply flawed and untenable it requires some level of self interest or simplemindedness to accept.

But a population who fail to have empathy for their fellow citizens and are disingenuous about equality and meritocracy every time they talk about it is perhaps a bigger problem.