skysight-inc/HackerNews huggingface dataset:
I think this is a pretty good rule of thumb. Does anyone know of any metrics to see how an individual codebase does in this regard by looking at PRs/commits?

It is largely because of this reason that I disdain patterns which separate things out into top level folders like /views, /reducers, /actions, /utils. Most code should be organized at the feature level with separate modules for global utilities (which are always hard to organize).

I think this methodology works well because more files means more mental overhead and context switching, particularly for code reviews. The best code review given a reasonably sized change (not 20kloc) is a single file where the file contains little not relevant for the changed code. Not only is it easier to comprehend, it also avoids unnecessary merge conflicts.
It's funny because the article doesn't talk about git at all!
> Then I made the mistake of consuming "woke content" on reddit and Twitter and it affected me, after college those ideas limited me in ways I could only imagine.

Can you share more about this experience?
A huge portion of electric bills are paying for wildfire damage/hardening and for expensive transmission lines. Rooftop solar reduces both, but is not being credited for it in NEM 3.0.

When electricity is generated and consumed locally, it doesn't need to be transmitted across huge distances using expensive transmission infrastructure. There's also less wires that can trigger fires. But infra is the only way regulated utilities are allowed to make a profit.

https://www.nytimes.com/2021/07/11/business/energy-environme...

These increased costs being passed to California consumers could kill electric cars. We're paying $0.30-$0.40 / kwh to PG&E, which pencils out to over $9 / gallon.

https://www.caranddriver.com/news/a35152087/tesla-model-3-ch...
You also pay for power you don't even use, from other power providers, in the case of extreme crisis, it seems. I've never lived there but from the outside Texas's power situation seems broken at best.
Probably because it was aimed at business and IBM knew many of their customers would like to use something besides BASIC. So a separate minimal OS and development environments made more sense.
https://www.zachtronics.com/kohctpyktop-engineer-of-the-peop... (Flash game)
If it's hard to stop, why did it used to have a low rating before 3 months ago?
AES gets all the marketing glory. You ask the company how are they doing security? Marketing person says: "It's secure we're using AES.". AES is often the only technical word they use when they say it's secure in product brochures because they know this is going to satisfy a clueless CISO with a purchasing budget to cover their behind.

But fast forward from 2009 take a look at OTR and their decision to switch from AES to ChaCha20 (see https://github.com/otrv4/otrv4/blob/master/architecture-deci...) - the document nicely highlights why AES might not be the best choice:

> We use ChaCha20 as the encryption stream cipher because it is faster than AES in software-only implementations, it is not sensitive to timing attacks and has undergone rigorous analysis ([3], [4] and [5]). We chose this over AES as future advances in cryptanalysis might uncover security issues with it, its performance on platforms that lack dedicated hardware is slow, and many AES implementations are vulnerable to cache-collision timing attacks [[6]].

But AES is so much faster because some SSD's can offload it to hardware right? See:

256-bit AES encryption broken in SandForce SSD controllers: https://techreport.com/news/23096/256-bit-aes-encryption-bro...

Self-encrypting SSDs can easily be cracked: https://portswigger.net/daily-swig/self-encrypting-ssds-can-...

Crucial and Samsung SSDs' Encryption Is Easily Bypassed: https://www.tomshardware.com/news/crucial-samsung-ssd-encryp...

...

Also in practice it's not the crypto that gets attacked but the implementation of said crypto.

So it seems that if I have a large number of architectures and devices my software might be running on which is outside my control then the ability to predict how my crypto implementation will affect the performance of my device is a good enough reason alone to not use AES. But I might be wrong maybe others can throw in some thoughts.
It's disappointing, but I'll offer a reality check here. The space station is a mechanical piece of hardware that degrades with wear and tear over time. It's not like Star Trek where every ship and station is perfectly gleaming in every episode. Things break down and require constant maintenance.

The space station is much more like a thirty-year-old RV than Deep Space Nine, except you're a billion dollars away from the nearest auto parts store. It's not going to last forever.
It is bad when people do bad things. It is absolutely morally reprehensible when they do those bad things knowingly in bad faith. It is terrible and exhausting to deal with those people and the people further clouding the air around the things those people do by expressing their ignorance proudly and angrily and attacking anyone whose behavior does not properly signal the same pride in the same ignorance.
Absolutely agree with your first point (ahem, https://en.wikipedia.org/wiki/Futurism), but your second point doesn't flip the script at all, it's completely consistent with it.

edit: India's anticolonialism is revanchist at this point, the British have been gone for a long time; Indians own India, and ayurveda is literally part of state religion. The BJP was openly patterned after European fascist movements.
240v is delivered to homes on two legs - the legs are split to make 120v circuits for lighting and wall plugs. 240v circuits with both legs are common for things with a large draw such as HVAC, electric water heaters, electric stoves/ovens, electric dryers, etc.

Remember, they didn't want fossil fuels - if you are going all electric, especially for heating (in CANDADA!) you are going to pull some wattage.

That big outdoor pool - in CANADA - doesn't help either.
Yes ( well, maybe not "all" ). For example, Yescarta® is an FDA approved CAR T-cell therapy for patients with refractory b-cell lymphoma. From https://www.gilead.com/-/media/files/pdfs/medicines/other/ye... : "Before you get YESCARTA, you will get 3 days of chemotherapy
to prepare your body". This chemotherapay is "lymphodepleting" ( https://www.yescartahcp.com/large-b-cell-lymphoma ). This
chemotherapy decreases the number of T cells.

Gilead just reported a 5 year follow up on their therapy : https://www.gilead.com/news-and-press/press-room/press-relea... . " 92% of Patients Alive at Five Years Have Needed No Additional Cancer Treatments; Data Suggestive of a Potential Cure for These Patients "
Okay, so you want reversible transactions.

I don't. We can use different payment methods, that's cool.
I just moved into a new construction house in Colorado with a substantial (23kW) solar installation. It’s been interesting to see how much, in the words of the author, ‘feeding bread to pigs’ I have ended up doing.

The solar installation (which is probably larger than optimal) is dictated by the policy for the house to be “net zero”, which in turn is dictated by a policy based on the size of the house. (In practice, solar is the cheapest way for the builder to get all the way to ‘net zero’ after the usual decent insulation, windows, etc.)

So that’s how I got solar, but now I want to turn it on. Well, this is not in the interest of the utility at all (they lose money), but they still by policy get to ‘approve it’. This required a many-month (and many phone call) process of reviews, approvals, etc. which concluded in the utility activating (installing a meter for) the installation. In total it was maybe 9 months from when the solar was all wired up and sitting in the sun until it was producing any electricity for the world!

Now the utility gives me a choice of two billing options. At the end of each month, excess energy I’ve generated can either be put in a kWh bank and rolled over as credit, or it can be paid out. However, the payout is hilariously low (like $0.01/kWh) so of course everyone chooses the bank.

But now incentives are all screwed up! Since I easily generate more electricity that I will ever use (see above for why policies drove us to an installation larger that necessary) my household has no incentive to conserve at all. E.g. I am heating my garage with an electric heater because it costs me zero.

So the net effect of all of these policies intended to promote conservation are:

1) To drive up the price of housing in an area where that is already one of the big challenges the community is fighting

2) To completely disincentivize any actual conservation

3) To have new solar installations laying fallow for 6-9 months

I don’t know what the solution is, but the problems are pretty easy to see.
My kneejerk reaction would be the higher rural/urban ratio, but I don't think that's right, becaues Russia has even more rural space.

It's probably more due to the fact that many of the roads in the USA were built a lot more recently, and were built to make it convenient to use larger tractor-trailers (and not so much for other road users). In Europe, truck operators had to fit into the existing road system.
Fair enough, I hope you're right!

Your heart seems in the right place and I like the cut of your jib! I wish you all the best. :)
I don't have much to add to this, but Facebook couldn't go away faster for me. My account is still active, but I deleted the app on the phone and probably only check my home page once every two weeks.

My friends and family just aren't that interesting when they post stuff or it's awful content. I find myself sharing everything with people I want to interact with over text.

Zuck is a sociopathic asshole, so I hope Facebook fails miserably.
> Am I the only one who almost spit out his coffee when reading this paragraph?

No, I thought that was a typo and should be 40A (so 120V * 40 A or 400V * 12A).
These are both rough and one I've fallen prey to them more than once. It's really shitty to write out a long, well thought out, positive comment and then it get buried and there be no discussion (I care more about discussion than points but points beget more discussion usually). Then I'll pop off in a 1-2 sentence comment and it will rise near the top and have lots of discussion. It's frustrating that effort isn't always rewarded and it sometimes feels like it's better to optimize for points just to get your idea/concept across.
I haven’t noticed much of a change recently (last 1-2 years). I’ve been active for over a decade though and the mood has changed considerably since the “old days”. I feel like making money, building companies, and capitalism in general are frowned upon in the comments. 10 years ago that was very much celebrated here. The mood seems to mirror general society and I can’t figure out if that’s because many more people are on HN now (and therefore it’s more representative) or because the whole startup boom has passed, the OG Web 2.0 companies are now behemoths and the excitement is gone. People seem way more cynical and negative.
I've seen natural health, antivax, and related woo gain currency among both the left and the right. If you're so radicalized as to distrust anything mainstream because it's mainstream, you are more likely to reject the medical establishment regardless of your ideological particulars.
Is there anything playable yet?

edit: Well, I could have just checked the site, so I did. In case others are wondering the same thing,

While Star Citizen is currently in the Alpha stage
of development, it is playable now. New content,
features, and fixes are consistently added as
development continues, with a major patch released
each quarter.

https://robertsspaceindustries.com/star-citizen/play-now

As somebody waaaaaaay on the outside, I kind of get it. I would hope that most people buying in in the last N years fully understand that this thing is going to be in more or less perpetual alpha for any forseeable future.
What is K&R's Necronomicon? Link?
Ah yes, that was the part throwing me.

Seems unnecessary when the original quote was already gender neutral with the use of they, an actual pronoun already in common use?
Most (many?) US municipalities prohibit the use of engine braking within their boundaries.
@gaearon has provided some context to this here: https://twitter.com/dan_abramov/status/1489278948517289991?s...
Newer diesel engines use a turbo or baffle. Most commonly a turbo to create effective braking. This is operationally superior to jake-brakes in that the mechanism is tied into the ECM and transmission allowing for things like cruise control to function as expected. Jake-brakes on the other hand require a bit of technique by the driver to use correctly and avoid jack-knifing the vehicle with its trailer, especially on ice. Some modern pickups can even be put into "towing mode" to make better use of the add-on braking mechanism and allow cruise control to work downhill.

I suppose this the right time for an important PSA. If anyone tows something heavy in an older diesel pickup be aware the only braking you have is what your brake pedal provides. Glaze those brakes and you are going on an exciting adventure.
And Xcode was based on the proprietary Project Builder - so again I don't see the point in making a distinction here.
My most shocking takeaway from this book was certainly discovering the extent to which GOOGLE relied on outsourcing security.

Google. Outsources. Security.

The kind of thing that makes it seem miraculous that any of it is still standing.
I'm not holding. I don't own any GME stock. I've just been following the story.

> some shadowy cabal of hedge funds

You keep diving into hyperbole. It's just hedge funds that bought naked short positions and got caught by the market. It's pretty simple.
I haven't used them myself (I live in Europe) but in the US there are companies that will build passive houses and ship them to you in parts. https://www.phoenixhaus.com/ comes to mind.

I took a similar approach to building a new house on a field in Ireland - my house was built in Latvia and assembled in a week or so by a local crew.
How exactly do they come up with a single price per zip-code given that rates are dependent on choice of electricity plan, on-peak vs. off-peak, % of baseline and so forth?
A draconian level of enforcement. A virus does not care about personal hardships or inconveniences and will not make exceptions for personal situations.
> I'd like to put my hand in the disposal and turn it on so I can catch the lemon seed that's stuck down there and pull it out.

I wouldn't do that, there isn't enough space in there for your hand, a lemon seed is really small, and you will probably lose one or more of your fingers.

> Okay, but I have pretty small hands, and I take ninjitsu classes at the Y, I'm pretty sure I can do it.

Do you like the nickname "Lefty"?
I waste as little time as possible writing contrarian comments here because I know they will get flagged immediately and nobody will get to read them.
Ancient vanilla JS can accomplish similar by using wrapper functions.

var React = (function(){
var React = {};
var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {};
...code extending/using React etc...
return React;
})();
// accessible: React.whatever
// inaccessible: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED

However, there's always caveats where language level access controls don't let you quite express the access restriction you want. Perhaps you want to expose something to other official modules from the same constillation of libraries, for example (meaning you wouldn't be able to use Go's "internal"), without comitting to supporting the semver contract for any other arbitrary user of your API (meaning you might resort to similarly scary names.)
I am not sure if it was already covered, but at this point one has to assume that every government that can obtain it, will[1]. I do find it odd however that FBI did given some of the more recent revelations about hacks against US using same software.

[1]https://www.jpost.com/international/article-695290
Modern is usually referring to mid-20th century in terms of style. Post-modern doesn’t include everything after that — it’s kind of a mess to describe but probably the simplest explanation is that post-modernism is a reaction to modernism. It’s a style full of visual puns, and structural manifestations of literary criticism.

“Contemporary” is the more generic umbrella term for things that are modern with a lowercase “m”.

Of course, nobody agrees on what Postmodernism is so please feel free to tell me why I’m wrong :)
I think your best chance of getting adoption is making the service useful for an individual without relying on network affects at first. Maybe you're already working on that. I haven't looked too deeply into linklonk yet.
Interesting; thank you. It looks like the federal limit in the US is 40 tons; some states are higher and others are lower. EU appears to mostly limit to 44 tons. Extensive freight rail in the US precludes much of the need for special high-tonnage routes, though you’ll see unusual items transported on trailers with extra axles from time to time.
the game gets shit on a lot but for better or worse they are genuinely trying a lot of things that nobody else tries and is probably ever going to try again. the depth of simulation they have going on is insane, unsurprisingly the resulting dev difficulties are also insane. and likely to make the project fail. but I still want them to try for the sliver of a chance that they can actually pull it off after 20 years.

at the very least I think the idea that star citizen is some kind of intentional scam where they intentionally don't want to get the game done because the can keep their current monetization running is extremely stupid to say the least.

even if chris roberts and the leadership are mustache twirling monocle wearing capitalist masterminds with no interest in actually making a game like this (they are not), they wouldn't be able to systematically control literally hundreds of engineers without anyone noticing what's going on.
Obviously they will sell at a premium, but they will make it affordable for average people in developed countries, just like with the iPhone. If you look at the smartphone market today, other brands also position their flagship products in similar price ranges like the iPhone.
And don't forget about the iPhone SE, which is a very good deal price/quality wise.

For VR, I wouldn't be suprised if a lot of people would be ready to pay a premium just to have device that has feature-parity with the Quest 2 but is not owned by Facebook. You have to understand that so many people use the Quest 2, despite the fact that they hate Facebook (yours truly included).
I'd also like to see something of a chess Turing test, and while very hard to quantify a competition for the most human-like low- or mid-level chess engine. On Chess.com there's a plethora of bots of different ratings, but outside a few gimmicks (e.g. "Nelson" always gets his queen out early) they're all the same, only differing in how frequently they blunder in-between perfect moves.
That's one of the deeper wisdoms of non-violent direct action. That the way in which one wins is as important as winning, because it shapes the people who exist after the conflict is resolved.

Internet arguing follows the same logic. If I logically out-fence you by being an asshole, what have I gained? What have we gained?

Whereas if I politely and respectfully describe why eating Irish babies is a solution to overpopulation of the lower classes [0], we all feel better about ourselves, even if you decline to agree with me.

[0] https://www.gutenberg.org/files/1080/1080-h/1080-h.htm
I've seen this model, but it seems counterproductive to any environmental goals. For instance, my water infrastructure bill absolutely dwarfs my usage. I could take an hourlong shower every day and barely notice the increase in my bill. It seems like it's sending the wrong message.
Interesting read, who hasn't dreamt of doing something like this (perhaps at different scales). I've started saving for a parcel of land in the Kootenays to build a.. ahem... much less grandiose dwelling for weekend getaways.

I would invest in a couple of these [0]

[0] http://www.onestopfire.com/sprinklers.htm
Why include the shell then? Just curious.
The book How to Build a House, by Larry Haun, is a great read if you want to try this yourself.

irishvernacular.com/ also has a guide to building a lovely, modest, warm home yourself (with friends, admittedly) for <50k .
They are regenerated in 2-3 months.
the good news is that I don't need to rely on third-parties to securely host and manage my wallets. It still is an option, but not a hard requirement to access global financial transactions.
miles of track per square mile, or alternatively, miles of track per square mile of population above N-per-unit-area would be a much more meaningful statistic.
To me at least, it feels like we have completely lost the thread on what “strong” versus “weak” leadership even entails when it comes to political leaders.
Well power deregulation has a lot of meanings, here in TX, in which is considered a "deregulated" market (because the producers, transmission and retails are different orgs, and there is an energy market) normal generators have to file servicing/downtime requests, which can be rejected, when they won't be able to deliver their nameplate capacity. That is to assure there is sufficient grid/transmission capacity, they won't be offline during peak demand season, etc.

So, power deregulation doesn't mean "free for all", because then they would just play games of assuring under supply and drive the price up, and the grid stability down. In the US it just generally means that there aren't integrated municipal power companies (which can sometimes still exist in deregulated environments). In TX case, the deregulated market has a market regulator called ERCOT.

(edit: to expound on this more)
An integrated power company generally is responsible for assuring it can meet the peak demands of its customers. Which means it builds the power plants, transmission lines, and gets paid directly by the consumers. This was much of the US a few decades back where individual co/orgs were responsible for their service areas. The grid is more a bunch of regional grids all synced, so while a certain amount of power could be drawn from one region to another it wasn't the normal mode of operation. Anyway, the point being that should such an org build wind/pv they would also be responsible for building/maintaining the backup generation. So the books balanced in the end, that isn't true when any rando can attach an intermittent source to the grid, and reap the benefits when it suits them.
It has been proven that a cab-forward design is safer for avoiding accidents directly in front of the vehicles, something that is more focused on in the EU.

Ironic, because back in the 70's when there were more CoE designs driving around in the US, it was generally known through crash tests that CoE cab trucks were a lot less safe than conventional cab trucks in front-end collisions because of the driver's distance to the collision.

If CoE trucks have gotten safer in front-end collisions, it's because a lot of engineering work has been done to mitigate this old problem.
It's also a bit rich for the US to be complaining about this kind of thing.
i never knew this - thank you for the link

quote from the link:
Definition:

A “cakewalk” is an easy victory or task. “Takes the cake” means to win the prize or to rank first.

Why it’s problematic:

The cakewalk was a pre-Civil War dance performed by enslaved people, and the winner of which would be given a cake. This is the original source for the phrases “takes the cake” and “cakewalk.” Because of this history, this word and phrase should be avoided.
>To completely disincentivize any actual conservation

If you are running off of 100% solar that isn't a net negative impact to the environment to use more power in nearly every case.