skysight-inc/HackerNews huggingface dataset:
It's originally from sed's "s"ubstitute command[1], and later incorporated into many other tools. The "s" at the front is the command name, which is followed by two sections delimited by "/"; these are regex pattern that is matched on the input, and the replacement string. The final "g" is an optional "global" flag that requests that all matches inthe input should be substituted, instead of only the first.

s/ ...matching regex... / ...replacement string... /g

The use in the parent post therefor means: "Replace every 'descriptive' in the text with the string 'proscriptive'."

[1] https://www.gnu.org/software/sed/manual/html_node/The-_0022s...
Being in a well funded area helps. Here, the public schools provided chromebooks and meals for pickup to every student.

Unfortunately I hear you that not everyone gets so lucky :(
I think differentiator will be in modularity and repairability. Like PC has independent parts (PSU, memory, ssd, graphic card), electric cars could be modular in the same way.

I believe low-cost "city shopping bag" is the future of electric cars and biggest market. And if some sort of modular platform emerges, it will dominate the market. It may even be required by law (like EU requires USB chargers on phones).

I am from EU, but I believe China, India, Russia markets are similar. Look at Dacia Spring or Citroen AMI for examples.
Native vs. React Native: which is right for you?
You think the US throws it’s weigh around wait until you start using the RMB!
I don’t see this as a problem, so long as the poor get richer too. The obsession with “wealth inequality” is jealousy when refusing to acknowledge how much better the poor have it than ever. As the article notes, much of what we take for granted as baseline today (vaccines, HVAC, lights, rapid transport, etc) were simply not available to even the extremely rich until recently.

I contend many rich are rich precisely because they improved life for so many poor. Earn $1 for improving life for each person on the planet and you reap billion$ - that’s fair & laudable.
Oracle (or some other company) can bring another case. It has to be different enough that it isn't immediately struck down based on precedent, but similar enough that a ruling would require appealing to the Supreme Court and force them to overturn or invalidate the Oracle v Google precedent. The chance of this happening is negligible, but this is basically the conservative plan for getting the Supreme Court to overturn the Roe v Wade precedent.
Just exhaled the biggest sigh of relief I've ever had when reading the title. Holy cow. Thank fucking god.
So funny you mention that, excerpts of this book were featured in my Anthropology 101 class and that's how I know of it.
loans are different for corporations due to the interest being deductible (colloquially called 'tax shields'). along with the carryforward provision, that can so valuable that it's the principal reason why a given company is bought. personal loans have no such leeway and value.
Google archive option looks pretty good with 1.2$/TB/month and real time API:

https://cloud.google.com/storage/archival
I think he's just referring to a modern version of Java the language, not ART vs HotSpot. I don't think anyone really cares which runtime is running.
IMO, Samsung drastically improved their phones from S5 -> S7. (I have an S10e)

The S7 onwards, Samsung phones have been superior to all other traditional android competitors at providing a fully rounded flagship experience. (vs Sony, Htc, LG, Xiaomi, Huawei, Pixel).

The new OneUi 2.0+ experience has dramatically improved my impression of Samsung devices. Samsung phones now allow you to hide all the bloat away and the unremovable parts are quite pleasing. My phone hasn't lagged once in my 2 years of owning it and the basics (Screen, Camera, Battery, Smoothness, Updates) remain near the top of the line, despite its age. There is no reason for stock android to be considered superior to OEM skins. It just so happened that for majority of its iterations, OEM skins ruined more than their improved. However, when done well, an OEM skin can absolutely be superior to stock android. (HTC & Sony back in the early days of Android). I believe, One UI 3.1 is currently superior stock android. (As long as I can swap out the bearably terrible app drawer and remap the unbearably terrible bixby to google)

Now the S20 devices are 3rd in line on Samsung's flagship ladder. Fold > Note > S20. So, if you are really craving top of the line, then the S20 ain't it. Personally, I can't wait to get my hands on the Z-fold-3 whenever it comes out.
Open Source Illustrations Kit
https://invidious.xyz/
The study of economics and history are inextricably political lol. And how is what I said any more political than the parent?
I like the MX series. Keyboards and mice. Though I swear the latest mouse version has a lower battery life. I seem to need to charge it more frequently.
Of course you did.

But likely in negligible amounts.
maybe it's easier to kill someone when you get mad at them in the U.S than in other countries because guns?
Even if it were computer code, I think the Majority argued that use of 0.4 percent of the code can be considered Fair Use. In films, textbooks, etc., I think (though I'm not certain) there's precedent that up to 5% of the product can be reproduced (copied) under Fair Use, for criticism, academic analysis, etc.
This is not a persuasive argument because, by your logic, function implementations are also mathematical formulas and everyone agrees that they are copyrightable.
Active discussion here:

https://news.ycombinator.com/item?id=26699106
Yes, agreed.

I'm also not sure how those autonomous system are planning to handle scenarios that would require ethical judgements.

Say we're driving at the country side, on a beautiful mountain on a sunny day and the sea is beside use. Music is fully blasted, car is driving itself, and we are on a way street surrounded by a cliff and mountain rocks on the sides. Our autonomous driver have two choices, move forward or slow down, any right/left turns will result in the injury/death of the passengers.

All of the sudden, our car noticed an animal crossing the street. Now, what should the system do? keep going and kill animal? Let assume that we programmed it to slow down in order to minimize the impact knowing that it will end up killing the animal, but that is tolerable loss, the system computed. Now, what if it was a family crossing? Should the car just slow down or attempt to turn? Again, who would decide this? the engineers? lawyers ? how will this be handled at the court? should the car be programmed to protect it's body at all cost, a self centred car? would regulators allow a self-centred car to sell in the market? or should it be altruistic car? what if it made a poor judgment out of good intentions etc etc.

I don't think engineers were ever presented with challenges like that. Historically, engineers were building machines to be used in a controlled environment under the supervision of their users, and if it was autonomous, then it would have very specific goal.

Perhaps this would be the start of robotics ethics and law. But I don't think societies today are ready for this undertaken, I'll be very curious to learn how those challenges are being addressed and would appreciate any references.
I'd really like it if we could kill Oracle somehow. They are easily the worst player in the technology industry.
The example is misconceived to begin with? Why are you hard coding an interactive fiction game in Python? You should make an interactive fiction engine, of which there are already a million examples, and then write the script in a language made for IF, not Python.
Open banking made easy: everything you need to know to get started
Regardless of JS vs no JS, only validating forms on the client side is just an awful practice begging for trouble.
Roam started doing something very close to this with its backlinks, and a lot of the competing notetaking apps are imitating this feature. For instance I believe Notion has this now too -- if you link to or mention a page, a backlink will automatically up on that page.

Anyway, I think it will get there. The fact that Notion is using 500MB of RAM on my machine is definitely a downside compared to older software...
> There is no appellate court above the Supreme Court.

That is true.

> The only way things could change now is if Congress/President passed a new law

That isn't true at all; the Supreme Court is free to change the law by itself. Someone could sue over the same question and get a different result overruling this one.
There will be no single differentiator because the auto market is very diverse. Everyone sees their car like potential energy, what could it do for me? For some people, they need to get from point A to point B slowly, others love speed; some need to haul gravel and logs, others want interior storage; parents may want to have 4 children in the vehicle, singles may want just their partner.

Thus, there will always be a diverse set of EVs to choose from, catering to different market segments.
He said "One .. Another .." not "One .. and the other .."

If you have another (or more) in mind it would have been more enlightening to the rest of us if you had named them.
Client side:
React - Typescript
Backend:
Phoneix - Elixir

We're a live message tool and it is basically what Elixir is built for https://github.com/papercups-io/papercups.

The Elixir community has been great and incredibly friendly. I originally was worried about the size of the community but that hasn't been an issue the community has been super helpful. I also think the annual stackoverflow usage surveys are very misleading because most of the community's questions get asked in ElixirForum and not on Stackoverflow.

Phoneix is the web framework of Elixir which is very similar to Rails but minus a lot of the magic has been very helpful for our productivity as well.

If I had to built another service that is websocket heavy I would definitely use Elixir. Even if it was a standard crud app I would still most likely choose Elixir.
I definitely didn’t mean to suggest that that those are the only possibilities. Only that they are relatively common examples of (what I would consider) bad ways of looking at history, and that I disagree with your claim that history is all about class struggle.
The Deadly Lung Disease You’ve Probably Never Heard Of
> it doesn't really make sense to tax long-term capital gains as income, especially under a progressive system.

Yes it does.

OTOH, it doesn't make sense to not have a means of spreading out irregular income by recognizing it for tax purposes over several years in advance of realization if it can be anticipated, or deferring it over several years otherwise, in a progressive tax system. Which is why you should provide that, too (it applies to some subset of LTCG, especially that earned by the middle class, if taxing LTCG as income, but it would apply to lots of non-capital income, too—the income pattern for say, a novelist eho sends several years writing each book thar is a hit isn’t flat or steadily growing year-to-year, but spiky, and ir should be possible to smooth it for tax purposes.)

You don’t have to structurally preference capital income to deal with the fact that, as is true for other income, some capital income is the result of processes that the taxpayer can’t expect the same realized gain from year-to-year.
I love this concept.

I've always thought if it in the context of the Pareto principle.

80% of the time people will use the defaults but 20% of the time will need more customization.
That's not how chemistry works. Burning 1 CH4 is not the same as burning 1 C and 2 H2. The formation of carbon dioxide (aka the combustion of carbon) contributes 393.5 kJ per mole of CH4 combusted, and the formation of water (aka the combustion of hydrogen) contributes 483.6 kJ per mole of CH4, the activation energy to split the CH4 molecule is 74.8 kJ per mole of CH4 combusted. So 55% of the heat released per mole is from the hydrogen.
If that’s the lens you choose to view history thru.
You may have your own reasons for not preferring https, but having it default is important for security for others, even when the page doesn't contain sensitive material (a point which is debatable as well). https://doesmysiteneedhttps.com is a good short summary of reasons.
Different how? Different in practice or in tax law?

The point of the thread is that the two are essentially the same in practice (investing current monetary influxes towards future revenues) but the tax law differences favor one over the other.
This has impact beyond APIs. The Supreme Court says copying User Interface is fair use.

Excerpts:

The nature of the work at issue favors fair use. The copied lines of code are part of a “user interface” that provides a way for programmers to access prewritten computer code through the use of simple commands. As a result, this code is different from many other types of code, such as the code that actually instructs the computer to execute a task. As part of an interface, the copied lines are inherently bound together with uncopyrightable ideas (the overall organization of the API) and the creation of new creative expression (the code independently written by Google). Unlike many other computer programs, the value of the copied lines is in significant part derived from the investment of users (here computer programmers) who have learned the API’s system. Given these differences, application of fair use here is unlikely to undermine the general copyright protection that Congress provided for computer programs.
Verizon also (appears to) mandate locked bootloaders for any Android devices that it certifies on its network.

This extends even to Google Pixels, which are unlocked on every other carrier.

LG would likely be sued by Verizon for issuing tools that could be used for unlocking.
It's a bit odd to me to have a very clear condemnation of De Beers, their advertising, the diamond industry, purchasing diamonds, paired with a recommendation for a "diamond alternative". Isn't this just buying into the cultural expectation - artificially created by De Beers - of wearing an expensive clear-colored rock? Doesn't it benefit the diamond industry if you wear a very large moissanite, cubic zirconia, or artificial diamond, even if it isn't the genuine article? It's advertising for them anyway, as you're promoting the general trend, especially to those who you don't explain yourself to, and who just see a big shiny rock that looks like a diamond. It seems more productive to just go the rest of the way and avoid gemstones on your rings, or avoid rings in general.
Although in the beginning of the post the author says "tooling that will tell you everything you do wrong" (which I agree would be 'proscriptive') other parts talk about UNopinionated ('descriptive', though now that I think about it might as well just stick with 'unopinionated') software ("The choice is between your rules and no rules"). So I guess really they're talking about 3 things.
That's likely, yeah, though I know some people (including me) that grew up on pretty much German-only, at some point transitioned to English for movies and shows and now won't go back. It's probably not just a dub-thing as pretty much all of them prefer English over German in general.
As a Brit who went to Amsterdam a couple of years ago, I was really surprised at the number of smokers on the streets. It's definitely regional.
If you believe that engagement stones should be a store of value then you are supporting the authors point that we shouldn't buy diamonds.
That part stood out to me as well. If I haven't seen or worked on a section of code for several months, it will take me a while to get back into it. At most, I might remember a high-level description or a particularly weird bug, but certainly not a detailed understanding of the code.
yes, and instead, it should be a smooth function on size to avoid discontinuities (like the $1B threshold) that encourage exploitation.
It is uncontested that Oracle cloning RHEL is allowed by the license that RHEL is released under. They don't need a fair use ruling from the Supreme Court because they literally have a license that allows exactly what they did. The same could not be said for Google's actions in this case.
Whatever happens, I hope charging infrastructure could be better standardized, particularly for "fast charging". There are basically three competing fast charging standards right now: SAE/CCS, used by most North American and European EVs, CHAdeMO used by Japanese EVs, and Tesla Supercharger. If your EV has fast charging capability, it will have support for one of these. Supercharger is the fastest of all of them, but it is only useable by Teslas. They've made a significant investment dotting the country with these things. SAE/CCS and CHAdeMO chargers are pretty rare, and even when you find a place with them, they often only have one, so if someone else is there, you've got to wait. Also, the interface is really clunky and confusing, and doesn't "just work" all the time. And sometimes they're simply out of service.

Hopefully Biden's infrastructure push will help the industry consolidate into a standard that works as well as Supercharger, but for all EVs. Going on a road trip in a non-Tesla EV requires a lot of planning and a little bit of luck, since you've got to make sure you can find Level 3 chargers along the way and hope they're actually operational. IMO one of the goals should be to put good L3 chargers pretty much everywhere a gas station is today. The fact that this isn't already happening suggests that this simply isn't profitable (not enough demand, expense of installation).
The saying is usually more like "privatize the profits, socialize the loses", which is derived from "socialism for the rich and capitalism for the poor".

The point of the phrase is that the people who are paying for the costs (tax payers) are not the ones who received any benefit or were going to benefit (profits, shareholders, CEOs, etc.).

https://en.m.wikipedia.org/wiki/Lemon_socialism
For better or worse, the same arguments ( "API is copyrightable" ) is what was used in the past to prevent 98's Microsoft from doing embrace-extend-extinguish to Java with their "JavaVM with P/Invoke'd Win32 API".

The idea in that case was that when you try to implement something identical to the Java language and standard library, it doesn't matter if you call it Java or "Visual J++"; you are still implementing Java and thus in order to be able to do that you need to agree to Sun's terms (in that time, it was that your implementation needed to pass a testsuite and among other things needed to be "write once run everywhere", something the MS one definitely didn't as it was offering lots of non-portable extensions).

Now to my understanding the opinion here is that literally Sun was trying to do the same to Google (forcing them to ensure their implementation was compatible with Sun's, including being able to run Android software under Sun's JVM), which would have quite put a setback to Android at least as it was at that point (could you imagine Android forced to go with Swing?).

If I try to be fair, I find that in fact Android did succesfully pull the embrace-extend-extinguish strategy that MS was prevented to by legal reasons, and as a consequence basically killed Java on the mobile space (though Oracle has a lot of blame to share here). Perhaps the tides turned and now Google is seen as the lesser evil when compared to Oracle, while in the past Sun was seen as the lesser evil compared to MS. But is there any objective reason why the two rulings should have gone differently?

I am actually completely undecided about how I would have liked this ruling to go. I can see some of the repercussions of being able to copyright "header files" way too dangerous to ignore, but on the other side I have already seen the consequences of not being able to, and they are also bad.

Alien vs predator...
Chiming in here with my latest "weird but cheap" stack:

* Use a Trello board as a free CMS.
* Write cloudflare worker code to read cards from the board via Trello APIs and render card content as plain old HTML.

I use labels as tags for the categories, and have specific formatting in the card descriptions. If an attachment is a YouTube URL, it renders the video as an embed, otherwise it uses image attachments as post images. Card covers render as the link thumbnails on the list pages.

Powers our family YouTube blog: https://thunderiron.family

(Check it out if you like fun and delicious Keto recipes)

An earlier version of this stack powers my personal dev blog, and the approach is written up here:

https://splatcollision.com/page/meta-post

What is particularly cool is that I can post things right from my phone using the Trello apps!
https://outline.com/KGVKhy
How about in a higher level language? C program that is all semicolons vs. a book of all semicolons? Neither computer nor human is any more knowledgeable after reading it.
If you find it so terrible don't watch it, or try making your own for measure
US copyright law and interpretation tends to get exported through trade deals and other forms of political and economic pressure.
It’s not just about the bottom line, it’s also about power. Without unionization, Amazon has complete control over their workers wages, benefits, and work contracts. Unionization shifts some of that control to the workers themselves. Amazon doesn’t want to lose that power.
According to the article most of their write-offs were from the exercise of ISOs, which is treated differently in tax caclulations than in GAAP accounting. So the company reports a different profit to it's public shareholders than it does to the IRS.

When Sarah the employee gets options to buy 1,000 shares of company stock at $10, and the stock is trading at $10, those options have value. GAAP has the value estimated based on standard options pricing models (Black Scholes presumably), ie. the volatility of the stock implies how often the options will vest with value. So the company takes a GAAP expense for Sarah's options grant, lets guess $2 per option which would reduce reported profits by $2,000 total that year.

But the IRS doesn't allow this expense for tax calculations. For taxes the company has to wait until the employee exercises the option, then it is required to deduct the difference between what the current stock price is and what the employee paid. So a years later when the stock is at $100, Sarah exercises her options for a windfall of $100,000 in stock that only costs her $10,000, the company gets a tax deduction of $90,000.

The site (in a linked essay) points out how much larger these tax deductions are than the actual GAAP expense and tries to spin this as some sort of tax dodge (even though companies are required by law to follow tax accounting and GAAP rules). But here is the problem with their perspective.

What if the stock price went down? If Sarah does not ever exercise her options, the company never gets any tax expense for them, even though the OPTIONS CLEARLY WERE A COST TO THE COMPANY. The author is making the old have your cake and eat it too argument. In reality only if the company is successful is the tax code treatment of options beneficial, when it's not successful the treatment is unfair.

Note: If you don't think out of the money stock options are valuable, go to your broker and demand some September Tesla $1,000 call options for free because they "aren't worth anything yet" and see how far that gets you.
I am just trying to highlight the fact that corporations have a double advantage: Low-to-no taxes + oversized political influence.

It would be an almost level playing field if they had only ONE of those advantages.