skysight-inc/HackerNews huggingface dataset:
The variable naming can be good advice once you get used to programming and have some experience at it, but I'm not sure I'd agree it's best for novice programmers. I've seen even seasoned programmers with garbage variable names, which I'm sure were their first instinct, that tell you nothing.

One thing I see a lot of in particular that I wish I didn't are variables that are overly abbreviated to save the programmer some typing (which there is autocomplete, so typing shouldn't be a big deal), to the point where you don't know what it represents without sitting there and decoding the code.

To make up an example that's similar to what I saw in a code review a month ago (I don't remember the exact example), what does "tpTr" stand for? Turns out it's the target position for the transition out animation, but I have no idea without chasing that variable around and seeing how it's manipulated. Just say what it does.

Or you might see a lot of generic variables like 'data' or 'obj'. Like what type of data or object? Yeah for a tiny function you can probably get away with something like that, but anything larger and you should have something on there to help specify it a bit more. And yet I see this in code I review as well.
I don't know of many places splicing in splitters. You can do it in a distributed split but distributed splits are a nightmare to maintain. We home run all endpoints to splitter cabinets to a patch panel. Then we patch the input fibers into splitters and then splitter output to house. This is all in a cabinet that a tech can walk up to and work on without tools.
Contents of the display are often added after the fact in marketing materials. The person adding the wallpaper probably just didn’t notice the photo was flipped.
A move from SPA means business logic moves to the backend and becomes hypermedia-driven, so the correct comparison if you want to think about type safety is if the backend server is type-safe. htmx is mostly declarative and its correct use could be statically checked with basic tools--it's not meant to contain complex logic.
There is a quote from LOTR that has always stuck with me:

“I thought Fangorn was dangerous.

'Dangerous!' cried Gandalf. 'And so am I, very dangerous: more dangerous than anything you will ever meet, unless you are brought alive before the seat of the Dark Lord. And Aragorn is dangerous, and Legolas is dangerous. You are beset with dangers, Gimli son of Glóin; for you are dangerous yourself, in your own fashion. Certainly the forest of Fangorn is perilous — not least to those that are too ready with their axes; and Fangorn himself, he is perilous too; yet he is wise and kindly nonetheless.”

The children correctly assess you as "dangerous". They then assess whether you are wise and kindly, and find you so, making a good ally or friend. Merely wise and kindly people do not make as good of an ally or friend.
I get that and I think it’s pragmatic. But if everyone thinks like you’re suggesting, we’ll all be using react forever, even if there are better answers out there for how to build our software. If you want to use whatever is popular, that means you depend on others to find good technology solutions and make them popular in order to improve your tech stack.

Put another way, this strategy puts you firmly in the “mid to late adopter” part of the adoption curve. Articles like this (and indeed much of this discussion) is largely targeting people who are earlier adopters.
It may also be thread nondeterminism, eg relying on the commutativity of addition etc.
What happens if the tree dies on its own?
> Most of the relevant data available in the literature were not stratified by sex and age, and thus, our estimates of the number of cells per gram of tissue mass (henceforth “cell density”) represent a broad normal range independent of sex and age. We use the cell density estimates to extrapolate our results to other segments of the population based on the reference mass of their tissues and organs (11). Thus we obtain a reference estimate for the immune cell population of healthy adult females weighing 60 kg and reference children of age 10 weighing 32 kg (11).

Does that help?

https://www.pnas.org/doi/10.1073/pnas.2308511120
The spreading is ok but the transport is high. The key thing is: how many years of weathering do you get out of one load of 47 tons (or 27t)?

The paper provides a very course estimate that what they measured over the year was only 0.15% of total weathering potential, which if we handwave a little turns into 6,000 lbs CO2 over 20 years, or 300 gallons of gas offset, which is probably a net gain. Though there are a ton of "it depends"es in there and it probably only makes sense with further electrification.

(Obviously, the weathering would go on for a lot longer than 20 years, but the unknowns get large there and I'm assuming we're mostly interested in a shorter time frame)
> metabasalt and olivine

Well, yes, a lot of farmers (not all, probably most) are interested on adding those to their soil and will do it if it's cheap enough.

I'm not sure we can mine, pulverize, and distribute it in a carbon-negative way. But yeah, coupled with large scale implantation of renewables and decarbonization of transportation, it may be enough to even roll climate change back a little bit.
I've seen $85-$100. I paid $100/hr for the dev I hired. But they had multiple pro level certificates. I believe AWS takes as 15% fee though. The amount you will get paid is highly dependent on the certificates you have.
Don't be so down. We have solved the ozone hole problem - it will take years to heal, but we emit very little ozone destroying things anymore. Last year my local utility generated more power from wind than there was demand. People do care and are making change. Change is slow to come, and even after it happens takes a long time to make a difference, but there are signs of change and the cause is being taken care of.

Don't take that too far: there is a lot of work to do. However we have a good idea what that work is we just need to apply it.
I don’t see how light DOM slots could work since it’s just replacing element.innerHTML, but a non-style-encapsulating shadow DOM option would be great.

That, and some progress on template instantiation, reactive DOM primitives or DOM partials, so we don’t have to concatenate strings and overwrite el.shadowRoot.innerHTML, or do direct DOM manipulation for any updates.

Until that all exists, and there’s a simple API to bring it all together, other frameworks will eat this space completely.
From a cursory review of the FAQs on the page it appears one mitigation might be to only keep one browser tab open at a time? They appear to be using timers and a cache eviction gadget to infer the state of other browser tabs/processes so it’s unclear what they can recover if you are not concurrently having a session to a particular site outside the gadget execution context. ???
To save others from having to look up, "keigo" is roughly translatable as "formal (as in etiquette) language"
The comment you replied to suggested carbon credits. That seems like a pretty obviously good answer. We're bad at forcing people to make broad changes, but nudging with money like that is often effective.
Have you looked at Kotlin? Very, very similar to Swift and interoperates very well with Java.
They have an answer to your last question in the FAQ

When did you notify Apple?
We disclosed our results to Apple on September 12, 2022 (408 days before public release).
Hmmm... would you mind opening an issue over here[1]? We have seen some related issues that might dovetail nicely.

1. https://github.com/determinateSystems/nix-installer
The people sowing distrust ARE the vaccine deniers and climate deniers. People comparing vaccine trials to cigarettes, like the person you are agreeing with here, ARE the problem; they were not created by "corporate funded vaccine trials".
Data deduplication!
Maybe the previous poster is talking about when Google Search advertised for Google Chrome too.
> The constraints of only forms being able to do POSTs

HTML elements shouldn't do POSTs, that's why JavaScript exists. <form> and <a> are elements that do HTTP requests but the same can be added to any other html or custom element. html integration with JS doesn't need another layer.
But you’d also get apps that decide to use chromium for whatever reason outside of the user’s control, thus making these users vulnerable to chromium flaws…

In short, you increase the possibilities, you increase the attack vectors. There is no way around it AFAIK.
This whole situation is because of WW2/holocaust. The UN decided to give the Jews a land they could govern so they wouldn't need to worry about government oppression after the holocaust. Of course the member states decided to give away land that was not theirs and had people living there already. It's no surprise conflict has been smoldering ever since.
The critical element of these systems is that it takes you less time to get to production worthy code using the tool than it would without it. You can't just stop a demo at the point where you don't have working code. Anyone with a ChatGPT plus subscription can ask it to generate react components from a mockup, but it doesn't do a great job. You have to show your tool doing a good job, not just flipping through component files.
What's wrong with Pinebook Pro's keyboard? I have one of those, and the keyboard works just fine.
Cloud also can't generate Googly margins but they're willing to invest in that.
Remember that if you're already distributing something else (eg. fertilizer) over the field, the added money and CO2 costs of distributing this might be negligible.

You could just mix the fertilizer and the rock together at the fertilizer factory, and automatically a large chunk of the worlds farmland gets this added.
The cash economy is huge though. Probably not as visible as if you are more wealthy perhaps and frequent more upscale businesses, but at least in socal there are many many businesses that work on a cash only basis for a variety of reasons.
We don't always use an ONT, sometimes we use a enterprise switch if it is an odd deployment, but it lives on our side of the network and the customer gets a port to use.
My father got a Tesla after his Prius’s cat was stolen for the third time. I’m guessing there isn’t a resale market for lithium-ion packs?
That photo is of the original Graf Zeppelin from 1924, the Hindenburg's sister ship was LZ 130 Graf Zeppelin launched in 1938. I'm struggling to find a photo of the Hindenburg-class cockpit.
Bookmarklets work correctly for me in Firefox on Linux. It may be a site-specific CSP setting?
Drastic measures, but a vital workaround for a platform that is crucial in the wider development community.

I love the Determinate Nix Installer! My interactions with the maintainer have been very positive, too. Can't recommend it enough. :)
Having never worked on a multi-tenant SaaS app, is this how multi-tenancy is typically implemented (a per-tenant-database)? Is there a certain scale at which this becomes the ideal pattern? If so, has anyone made the shift from a single-database approach to a per-tenant-database approach?
This has been known for a while:

https://www.nature.com/articles/s41586-020-2448-9
To me the danger seems to be not in the randomness of the code, but that it can run without the user's prompting or consent. Perhaps it would be a good idea for browsers to disable JS JIT by default (as this is where a large percentage of holes crop up) and allow the user to enable it where they find the benefit low-risk and worthwhile (e.g. with vetted web apps).

The downside is that the web is a bit slower by default, but that might not necessarily be such a bad thing and encourage more developer consciousness of how much JS they're pulling in and how resource intensive it is.
Changing the specification is fine.
This is a quantifiably studied subject: https://en.wikipedia.org/wiki/Global_Social_Mobility_Index
Speaking of using sharp tools…. I really don’t get the love for VSCode.

I’ve used Jetbrains for years and last week gave VSCode a really solid try.

Man what a mess. Everything is a plug-in, plug-ins are inconsistent, getting basic things to work requires a tsunami of plugins. Everything feels half baked and duplicated and needing updates or abandoned ugh.

Nothing feels professional because everything is a plug-in built by random person X or y or maybe some plugins are professional I don’t know.

And even when I’d plugged in as much stuff as I could find it still couldn’t do basic things like find and import node modules.

I abandoned the experiment and gladly went back to JetBrains where the tools are sharp, available and well organised.
Any HN users in the area? Plz. report? (if internet & power isn't down)
Veritasium recently did a good video on airships and some of their potential modern applications https://www.youtube.com/watch?v=ZjBgEkbnX2I
I think you mean the awful prequels written by his son? Frank was fairly silent on the fine details of the whole "we hate computers now" thing; it was at least strongly implied to have been a sort of moral panic, rather than literally evil AIs ruling the world, in the original books.
Depends on if they find the circumstances... suspicious.

I am not sure how much surveillance they do - in reality for large lots this restriction may not hold, since trees can disappear at night, be chipped up, etc. But for people in the suburbs, to cut one you need to get a crew in, and there are probably reporting requirements. Also the neighbors love to get involved.

But I do wonder if a tree imperceptibly had branches die, be removed, and then just gradually shrunk over time?

A lot of these laws don't cause much harm in a pre-surveillance world. But once there are full cameras on everything, seeing how they apply at 100% enforcement can be scary. But by that point there are defenders for each one, so they hardly change.
I agree, the lengths the Nix installer currently goes to really shouldn't be required. However, this particular issue isn't about binaries being deleted. The Nix installer sets up some environment variables for you (in particular includes its binaries in PATH). For a system wide installation, it modifies /etc/zshrc for lack of a better option. Now, macOS likes to restore /etc/zshrc to its default on upgrades, thus breaking the environment variables. IMO this is no-one's fault except macOS.
After Brexit, is GDPR relevant to London transport anymore? I'd guess that UK now probably has their own version of GDPR?
Look at the faq
I don't think it's accurate to call it the most capable rocket ever built given that it hasn't been capable of getting into orbit thus far.
Neither Architecture[1] nor medicine[2] are engineering disciplines, so I don't really see how getting close to them gets us to an engineering culture.

[1] Which is a form of art. Go look at a school of architecture at a university it will be in the Art faculty.

[2] Which is an applied science like engineering but is not an engineering discipline.
Why would the batteries be going into E-Bikes if they are in limited supply and it is more profitable to put them into high margin cars? Are batteries really in limited supply?
The secret of "soft" sciences, is to have so many people writing papers and making statements that at least one of them will be right no matter what happens.
I learned this probably later than I should have, but "serverless" now has two meanings.

The first meaning I was familiar with was the idea that there was no long-running process operating a service. This was like a lambda, executing upon a trigger and then stopping.

The second meaning I learned about more recently was the idea of "serverless" being an abstraction layer, where you don't think about what server the service is deployed on (specifically, you get to stop caring about the resources allocated to that server), even though it is deployed as a continuous, long-running process.
They added this FAQ point a couple minutes ago, that's why the existing comments didn't see it.
> Regarding variable names strongly consider keeping the first variable name which comes to your head. It is simple, straightforward.

Strongly disagree with this. Variable naming is so important if you want to write code others can understand.

The first name I come up with tends to be overly verbose/specific or too general. Variables named "count" are a good example of a name that's too general requiring a developer new to the code to ask, what is being counted? While "userUniqueVisitCount" might be too verbose when given the context perhaps, "visitCount" would be fine.

Just little things like that can really help a developer understand what's going on quickly.

Code structure is super important too though... If you're making too many abstractions it generally forces your variables and methods to be abstract and meaningless too. Your names should hint at this when there is a problem. If you find you need to use extremely verbose names to explain what a variable or method is doing, you likely have something structurally wrong with your code.
Per the space treaty the launching country takes liability for damage costs by space objects. So would need to have similar regulations.
Lamini LLM Finetuning on AMD ROCm: A Technical Recipe
These vehicles would need to be charged on fully renewables or non emitting sources (like hydro) to offset this. Even if Natgas or Gas plants are much more efficient than engines, the calculation still needs to account for amortized emissions.
Foundation has less common with Asimov books than the "I, Robot" movie
This appears to be an architectural vulnerability where a speculative execution side channel similar to Spectre can be utilized within Safari or any other browser. The specifics of which environment is exploitable comes down to the specifics of the JavaScript-based gadget they use to trigger/measure this side channel. It may be in the linked paper which I haven’t read yet.
Likewise for bitcoin. In either case the levis conversion rate is pretty stable unlike bitcoin. You can go on marketplaces like poshmark and others and readily buy and sell these jeans at prices that are both stable and widely agreed upon.
Sometimes all that needs to change is market demand. Cargolifter was a solution looking for a problem. "It might be useful for disaster relief?" even more so, but given Brin-grade money, solutions looking for a problem are certainly better than yet another yacht.

But I wonder if Cargolifter would still be such a dud in today's market? Just look at the crazy lengths companies go through to put the largest possible wind turbines in remote locations. Seriously, if you've never done so (or if it's been a few years), enter "turbine blade transportation" in the image search of your choice and be awed. I can't imagine Cargolifter not having a waiting list measured in decades given the pains ground based blade transportation goes through, and those things aren't even that heavy. Currently, inland wind turbine size is clearly limited by transportation, not by materials or engineering. (and larger turbines are actually less annoying than smaller ones, because rpm go down with size due to blade tips approaching transonic speeds at any non-trivial size)
So what you're saying is that SpaceX should shut everything down each time they launch a falcon 9... of with they do an insane number of times per year. When launches happen there they interrupt everything.
No, it's not. It means if you make your case yourself instead of waiting to be noticed, you are more likely to be rewarded.
They don’t seem to get into their architecture under the hood. The novel aspect seems to be that they have tenants as a first class member of the database
Exactly once processing is possible with idempotence keys over an at least once delivery system.
What rules are they ignoring at their current location that they couldn't ignore there?

I strongly suspect you're making stuff up.
Senior dev but Elixir newbie. I'll never have projects the scale of Discord, but listening to talks and podcasts I have some scalability questions that I think you could answer.

Some podcasters have mentioned their experiences with slowdowns and out-of-memory issues due to copying large pieces of data from one process to another to work on it. Their solution was to keep the large chunk of data in one process and instead pass in the functions needed to work on the data. Have you had a situation where you did something like that, for example with a list of members, or did you always handle that type of situation with ETS?

Some conventional wisdom I've seen is that you can get up to a cluster of about 40 nodes or so, then you start to have problems. Have you seen any issues with horizontal scaling at that scale or have you been able to handle everything by scaling up on your nodes?

Can you think of any other languages and VM's that could handle your particular scale, or is the BEAM the only option?
Does this mean you would have to visit a malicious website, that malicious website would open a different website with window.open(), and from this they can read data through this side channel attack?
> I think one could make the case that the government must compensate landowners for putative environmental restrictions. After all, if it's really that important, surely the taxpayers would be willing to pay for it, right? Why make the landowner foot the bill for something that benefits everyone else?

If you listen really close, you can hear Henry George spinning in his grave from the existence of this comment.
Hydrogen balloons shouldn't be pressurized, the last thing you want is more mass in the same volume, that would make it less buoyant. Hydrogen doesn't explode, it's only Hydrogen + Oxygen mixtures that can explode, so an airship with intact gasbags regularly checked to contain pure Hydrogen can be at very low risk of sudden explosion. Hydrogen is allowed in airoplanes to propel them forwards[1], why not in airships to propel them upwards as well?

> "In the event of a fuel leak you can stop a car within seconds and evacuate, that isn't possible with a flying device"

Have you read the details of the Hindenburg disaster? If not, would you be surprised to learn that most of the people on board survived?[2] Compare with Wikipedia's list of commercial aircraft disasters[3] and the survival rate of those. And the sheer quantity of accidents, for that matter. (And Hydrogen in airships isn't a fuel, and it can be vented out of the top of the bags far away from the people in the gondola below, and anyway leaking Hydrogen goes upwards and away).

[1] https://www.bbc.com/future/article/20210401-the-worlds-first...

[2] https://en.wikipedia.org/wiki/Hindenburg_disaster

[3] https://en.wikipedia.org/wiki/List_of_accidents_and_incident...
This is a beautiful document, a must read. Explains with clarity the different developmental models that fossil and git are designed for.
What Linux kernel maintainers do and why they need your help
Definitely aware that I'm speaking from a position of privilege. Definitely aware that there's a chance that my intention is different from my impact. Still don't regret taking the risk to challenge the ideas in this thread.

> I think you need to do some research into how "white people" willingly denigrate themselves and contribute to their own mental health crises.

Thanks for the suggestion. I am aware of this idea but am open to looking at the situation more from this lens. What resources do you recommend for learning more?
I with the website used proper URLs so it would be possible to use permalinks as a reference for individual items...
Magnetic field drops off by an inverse-cubed law (as opposed to inverse-squared for RF). So it would be a lot more impractical to cover large volumes.
Without human actives the earth is slightly net negative. We need to be more net negative than that in the short term to fix some problems (ice melt), but we don't need that forever.