skysight-inc/HackerNews huggingface dataset:
When I write the method names for a class, I think carefully about what names to provide that will lead the reader in the right direction for understanding how everything fits together. I provide examples that give a few options for how the reader might achieve various goals. And I keep the number of methods small enough to be digestible as a single unit.

That is to say, a class is basically a “view” for interrogating one aspect of how the program works. If I didn’t care about the user interface of it, I wouldn’t bother picking names, writing documentation, or providing examples.

HATEOAS is an interesting thing to bring up, because I’ve always felt that it’s biggest benefit was for programmatic interrogation of an API. If it has a good UI, then the endpoints it references will make sense to me by reading the names, sure, but I can also get that from, say, the documentation.

And what is the purpose of documentation? Discoverability.

A bad user interface for an API looks like this: the names don’t make sense, the collections are inconsistent, there is no documentation, and it’s difficult to find examples where it is used. Each one of these areas are the areas where you are creating a specifically user-oriented interface for your program. Some of them may happen to a degree by accident, like having a working example simply because it is not dead code. But if, say, it is a metaprogramming API, it may be difficult to find where the working example actually exists without some guidance.

The way you structure your code will make stumbling onto the example easier or harder for your APIs user.
The parent was complaining about being forced to use OS X. So, the "walled garden" is intended for the underlying hardware.
Sure, but generally a cacheline miss will quickly stall, sure you might have a few non-dependent instructions in the pipeline, but running a CPU at 3+GHz and waiting 70ns is an eternity. Doubly so when you can execute multiple instructions per cycle.
Nothing. It's SIAAS (Stripe integration as a service).
Somewhat unrelated, but does anyone know how Inkscape is doing? I remember 10+ years ago it was really promising as a vector companion to GIMP (the "Illustrator" to GIMP's "Photoshop"), but using it again recently it doesn't seem to have gotten enough attention in the last decade or so.

With a UI revamp and stability improvements, it could really be a shining star in FOSS creative software.
No; it’s not explained very well but the M1 chip features hardware support for TSO which Rosetta2 uses.

It’s really ‘Apple Silicon’ and not just ARM.
Work expands so as to fill the time available for its completion.

Program expands so as to fill computer resources available for its execution.
The news media is called the “fourth estate” for a reason. Many people believe it is a foundational element of democracy. I am one of them and I am “upset/perturbed” at the news media’s decline. You seem to accept that it is in decline but say that’s just “a reflection of humanity.” Isn’t that something to be upset about? If the media can become more polarised and less factual, couldn’t it also move in the other direction? Can’t we be upset that this is not happening, and propose political solutions, in the same way that we reform other political institutions?
> What do you mean by "degenerating"?

IIRC: Losing its distinctive grammatical features; becoming much closer to Swedish, and also adopting large numbers of loanwords from English.

> Is for instance today's English degenerated in comparison to the English of 100 years ago?

I've read that grammatical irregularities are being (slowly) flattened out, so in a limited sense yes.
It's the equivalent of having 50 stacks of paper documents & magazines sitting unorganized on your desk and complaining about not having space to work on.

A bigger desk is not the solution to this problem.
Here's an article from the same source: https://www.astronomer.io/blog/introducing-airflow-2-0/
That's a bit naive view - people sitting at home in misery didn't do a squat re car/travel pollution. Massive container ships output much more, and what did everybody? Switch even more to internet deliveries, be it food or everything else. Unless its produced locally it comes from far.

Bigger effect would be shutting of factories, but then again we're talking about millions of blue collar workers getting potentially into serious financial problems with little help - hardly something to cheer up for.

To have any visible effect from transport on environment we would have to be stuck at home for maybe 20 years.
These are nice but I find the message "thou shalt not suffer cognitive biases" a bit off base - as you very well will suffer from them. It's like saying "you shalt not think of a white monkey" - and you will. The goal should be not to make people feel bad for failing yet again to be free of biases - the goal is to learn to detect them and work around them. You cannot make people fly by flapping their hands - but you can build tools that let people fly while they are sitting comfortably in their chairs. There should also be tools and processes built that allow even biased people to arrive to a correct conclusion, without demanding the impossible from them.
Performance is so much better for this one.
> I want macOS that has a UI of Windows 95. That would be totally insane on Apple Silicon.

WTF?

I mean I get most of what you said until that. I vastly prefer the Catalina and every version of MacOS over the past 15 years versus anything out of Redmond, and particularly not W95. (Heck I used Window Maker prior to MacOS, my love for Next ancestors goes back some time)

I hear a lot of people are frustrated with Big Sur. Hopefully Apple will dial back a lot of the egregious UI updates. They frequently go big on new redesigns, then dial things back. Hopefully.
Tomorrow? Of course animals make conscious decisions. This orangutan had, prior to implemention, made a conscious decision to build a hammock by tying a sheet to the cage bars.

https://roaring.earth/orangutan-builds-a-hammock/
List of Active Class Action Lawsuit Settlements
Apple security chief accused of bribe of iPads for gun permits
When fans of a sports team revel about a new player or recent winning ways, they might proclaim “LEAGUE FUCKED” — like a “Get Rekt!” sorta thing.

I think this is an “INDUSTRY FUCKED” moment.
If there was an objective score for attractiveness then women would rate men of the same race +1 higher than the objective rating. There are probably more men of the preferred race at 7 than there are men at 8 for all races.
An AP Interface, is the way for the programmer to act as the User of this Interface. It IS a user interface.

What should be taken seriously is proper domain and service modeling. The rest follows.

A good UI follows a good model. Visuals and trends are just a tiny bit.
While it made complex life possible, at the same time the introduction of oxygen also killed a lot of lifeforms and was a mass extinction. It's not inconceivable that with slightly different circumstances it could have just have wiped out all life. The development of (complex) life seems like a really fine balance.
> You’re wrong to suggest that elementary-school-multiplication and (discrete) convolution are so dissimilar (...)

They are way more than dissimilar, they are radically different concepts altogether.

Convolution is a function, or an operator that outputs a function given two input functions that share the same domain.

Plain old algebra over real numbers is nothing of the sort.

You're trying to compare a function, with its domain and codomain, with an operation between scalars that results in a scalar. It's way more than apples to oranges. It's apples to orange tree plantations.
@dang this is spam with a clever title.

@OP so you're providing a wrapper around the stripe widget? I'm confused. What's the value add? This just looks like a marketing page around native stripe services which probably takes a service (application) fee for doing little to nothing.
It's far less sad, (and perhaps hopeful?) if you think of it more as there now being more diversity of use cases.

Most consumer personal computers used to have relatively similar power as well as use cases; your Apple II, your neighbors Apple II, and Apple IIs at corporate offices would not have differed as much as personal computers do these days.

These days, there are large differences across segments - anything from school children using chromebooks to enthusiasts running homelab servers.

Not just a gradient of computing power, but also use cases: home archivists with a lot of storage; gamers with beefy graphics cards; media creators with expensive monitors; chrome tab hoarders always downloading more RAM...

I don't think it's that we treat school children using chromebooks as peasants, and treat enthusiasts like kings. We are rather now able to cater well to various segments, and this variety of product offerings to consumers is a good thing.

I think the article's general assertion that the computing advances in question have more to contribute to certain uses cases more than others is more than fair.
From your description, the term you are looking for is swing traders.

Yes, I swing trade options. All technical analysis.

Only stocks. Pure technical analysis. Main items we focus on are price-action and price-volume. In essence, for every minute the price goes up, what's the volume? For every penny the stock goes up, what's the volume? For every 100,000 shares what's the change in price?200k? 300k? 1m? and so on. Also, weighted factors for all the different indicators, MA/SMA/CCI/RSI/VWAP being of most pertinence. Pitch fork trends weighted at a lower level. Also several other proprietary indicators based on stock correlation (i.e. BABA vs AMZN, if AMZN is moving down, BABA should as well because of what it relies on).

I have been getting killed the last month but still up over 100%. Just hit on GS (100%+), and likely will on TSLA. Also did 1500% on TSLA this year on a trade which was my biggest so that helps.

TSLA seems ready for a similar move to when I made my last huge run.
Stackbit has nice templates which can be used for a variety of static site generators: https://www.stackbit.com
Next with v10 just recently introduced an Image component which should help with exactly that problem. https://nextjs.org/docs/basic-features/image-optimization

Maybe it's not in this demo yet.
So how long before AMD and Intel start packing 16GB of RAM on their chips? The M1 has what, 1.5x the bandwidth of the other top chips?
Came here to write this, but you formulated it much clearer than I would have. Personally, I'd prefer a world with those animals. But that's an ideological (spiritual?) stance.

I recommend Adam Curtis' "All watched over by machines of loving grace" as an exploration of the theme.

https://en.wikipedia.org/wiki/All_Watched_Over_by_Machines_o...
You don't keep them in mind. You build processes and algorithms and habits to avoid them. When you learn to ride a bike or play baseball, you don't learn the laws of physics that govern the flight of the ball or the ride on the bike in detail - though basic awareness of gravity and such surely helps. You learn the process that gets you to the goal. Unfortunately, we're way behind on such processes, compared to baseball.
In South Africa most fibre providers doubled the speed, aka 50/50 became 100/100 for 3 months without increasing the price. It has since been reverted.
The world really does need someone who solves problems right now. :P
The LSP pattern allows for bringing anything you’d find in an ide to other targets (like code review tools, as used by GitHub).

I used to be a language purist, but nowadays the costs of not using an ide or lsp supported tools is just too high. I’d prefer minimal tokens and abundant secondary notations provided by parsers than having to add clunky syntax myself.
DNS over HTTPS Considerations – Bert Hubert (Nlnog 2019)
Get a ThinkOrSwim account with $10 in it and you get their real time API. You can create a socket and store the entire chain. Perfect data does not exist in this world, anyone who claims they have it, has a lot of money.
Emoji is part of font support, and Apple takes that stuff seriously. It would be embarrassing for them if messages sent from iOS didn't show up properly in the Messages app.

Rendering a font, and a font, are two different things no? It should need an OS update to add some more characters.
> If we can make the world work without wolves

This is a very big if and of great consequence to humans. We make conscious decisions but we are not omniscient.

There is indeed a cosmic doom awaiting us if we blindly follow our hubris. We can't know the consequences of life without wolves. Our ability to realize that and acknowledge what we do not know then override our instincts is what separates us from the cyanobacteria.
"iOS software uses reference counting for memory management, running on silicon optimized to make reference counting as efficient as possible; Android software uses garbage collection for memory management, a technique that requires more RAM to achieve equivalent performance."

This statement is nonsense. Reference counting is typically used in garbage collection. https://en.m.wikipedia.org/wiki/Reference_counting

It is equivalent of saying "On iOS devices the memory efficient Chrome app can be used, but on Android phones a browser is used, which requires more RAM for equivalent performance."
I remember a thread on here a few months ago about how the JS Vue framework brings in tremendous cash donations while Inkscape brings in about $60k per year in donations.

I remember that because I found it astonishing how something I could reproduce myself brings in such astonishing cash while something that is so far beyond my capabilities brings in so little.
The Earth is made of elements that were formed in supernovas.

We had to have several generations of stars formed out of the remains of older stars that blew themselves apart, to have more than trace amounts of any element apart from hydrogen and helium.

Earliest you could get rocky planets is probably a couple of billion years after the Big Bang. But more time is better.
people whose knowledge of computers stops at "browse the web, stream some Netflix, maybe edit some documents"

Is the new "peoples whose knowledge of reading and writing stops at being able to sign their name".
> I’m not going to list specific examples or tips here, as tastes and conventions differ anyway. There usually isn’t “one right way”.

The philosopher in me doesn't mean to be snarky, but what the author concedes here is that APIs actually aren't like user interfaces. Because when we're talking about UIs, there are most definitely "ways of doing things" and "ways of not doing things" -- after 50-odd years of user interfaces, we ended up with scrollbars and buttons and tabs for a reason.

The point is interesting, but lacks force without actual examples. APIs can vary immensely in application: some might take huge arrays of data, others might take neatly formatted arguments, others might just consume bit streams. There's certainly a point to be made about the ergonomics of an API, but -- even though I may have an intuitive feel for it -- I'd need to think more about how to exactly explain what I mean. I have a feeling the author is in the same boat.

Further, there's a fundamental element of documentation when dealing with APIs. Even the most unwieldy[1] API can be grokked if documentation is apt. I'd argue that more work (at least 50% more) should be put in documenting APIs. Technical writing is a lost art.

[1] https://docs.microsoft.com/en-us/windows/win32/api/winuser/
The Grand Unification Proposal
Anecdata: KDE Neon and Kubuntu run flawlessly on a MBP 2015.
Some people, Microsoft higher-ups in particular, are vociferous opponents of allowing contract annotations to be used for optimization. Their arguments for this position are not generally very coherent.

Compilers are often surprisingly bad at using much of such information effectively. Probably they will get better at it, but slowly.
How+to+Be+Thankful+in+All+Things:+God+Deserve+It+-+Gospel+Of+GOD
Despite the confusing Apple terminology, the RAM on M1 is not on the chip, it's on the package. Similar things have been used in x86 laptops in the past, just find any laptop that uses LPDDR4.
Is it fair to compare cores like that?
> So, the "walled garden" is intended for the underlying hardware.

I don't think that is what he was saying at all.

Regardless.

There is nothing preventing Linux (or Windows) from booting on Mac M1 hardware. People almost certainly will have Linux running on Mac hardware before too long. It's just a slog getting it working well.

Not a walled garden in any traditional sense, just difficult to implement.
What surprises me is that when these propaganda programs become more well known, people are still hesitant to believe that in some form they are still happening, we just only might find out in another 30 years. This article even mentions pressuring the New York Times, a newspaper most people would say is very authoritative and trustworthy (whether it is or not). What is being published now that was coerced?
This kind of reads like 2020 Daoism. Is GPT-3 just emulating Laozi?
Some farms are just hella big with ultra low land productivity.
Why is math restricted to single-character identifiers in the first place?

energy = mass · lightspeed²

↑ As you would do in programming.
Tihs sbmcraeld txet is rdalebae. Did Cagmdirbe rrhaerceses rlleay dscivoer it?
We had a similar situation but with an ASP application that got rewritten from scratch in PHP instead. It's still running fine after 10 years without any big bugs. We didn't even get access to the sourcecode so it was all new bugs instead but at least it wasn't a big security hole whose database got wiped every week because of Bobby Tables. It had daily backups though that came in handy every week :-)
The post kind of does:
> The benefit of sticking to RC is much-reduced memory consumption. It turns out that for a tracing GC to achieve performance comparable with manual allocation, it needs several times the memory (different studies find different overheads, but at least 4x is a conservative lower bound).
It implies that ref-counting is more economical in terms of wasted memory than GC, with the tradeoff being performance.
This is solved thanks to the M1.
Well that would be making perfect sense. Once initial attraction wears off (and it always will), what remains is personality. The bigger the difference, the more conflicts. Whoever came up with 'opposites attract' didn't do a followup after couple of years.
I think they are commenting about the images specifically.

As you say, the large images and poor navigation are definitely separate issues.
The first section of your wiki link compares ref counting vs tracing GC (Java).
You missed the obvious larger problem with offsets: green washing. By giving people the ability to absolve themselves of guilt, they may change their behavior in response. Taking that extra flight, buying that new vehicle, owning the larger house. If (a) is true, then the existence of the offset is actually harmful.
> It is equivalent of saying

No, they are not equivalent.

It is true that reference counting is a form of GC. However, Java's GC is not based primarily on reference counting. It is much more complex and, generally, does indeed use much more memory.

Swift's reference counting is not much different than C++ shared pointers, except that it is all baked into the language. It is generally true that iOS devices require less memory to achieve the same things as Android devices.
That's a difficult question, but if a language changes rapidly then not everyone will keep up with the changes to the same extent and communication between those people will be compromised.

This also affects written communication. Most modern English speakers can't understand Shakespeare properly. They could, if they put in hundreds of hours of study, but in practice they don't. English hasn't changed very much over the last 100 years, I'd claim, compared with many other languages, but it's hard to measure that objectively. To start off with, what do I really mean by "English"? I suppose I mean the standard written language rather than colloquial forms...

One could perhaps also argue that a language that has changed a lot recently can't have built up the vocabulary, connotations, and all the rest of the stuff that is required for high-quality, nuanced communication and is therefore likely to be a less precise means of communication even between people who are tracking the changes. But that's speculative and I don't know how you could measure it.

So, to conclude this waffle, I suspect it does make sense to talk about a language "degenerating", but it's very hard to be scientific about it.
Hahaha. I dont disagree with the sentiment but I think its misplaced.

People are well and truly capable of living with nature without killing whole forests. Its a matter of putting our interests above those of others that is the issue.

Eg. The government permits loggers to cut down 1000 year old trees in a forest, permits mutlinational Ag companies to cut down and burn much of the forest to plant some inane plant species that has marginal benefit to squeeze out an extra 10 cents on a human consumed product because ultimately the quarterly results have to improve. All these abstractions have seemingly nothing to do with a dead forest.

We should have instead, enforcable policy that puts a high price on environmental projects of any scope larger than..say an acre. It would force companies to innovate and invest in R&D. Use those big brains.
I'm not so sure, we are still largely natural creatures. We are more nature than machine, certainly. Air is far more important to me than electricity. Wolves serve an important role in the ecosystem, it is unclear to me that we can so easily survive without them.
Proofs can be very long, writing out full pages with single letters let alone full words would be difficult to parse
> iOS software uses reference counting for memory management, running on silicon optimized to make reference counting as efficient as possible; Android software uses garbage collection for memory management, a technique that requires more RAM to achieve equivalent performance.

Oh no crap Sherlock! Let me save this quote whenever someone wants to tell me all about how GC is much superior than reference counting.

Yes tell me how a stop-scan-mark-sweep periodic process is more efficient than just keeping track of what you do.
what's driving it?
Right, what if it was accepted as fact, but turns out the monolith was there for millennia and was only recently uncovered by a sandstorm?
Do you have a site or paper about your SMT-based superoptimizer? Or maybe even a Github.
By 1700, wolves had long been extirpated from the current UK, though their old territory is commemorated in the toponyms.
In Europe, those that survived retreated to rare enclaves and mountains.

But with the modernization of farming and urbanization, marginal land too steep or too depleted to be worth the effort falls into disuse, bringing back step by step wild vegetation, small animals and bigger carnivores. There are an estimated 12,000 wolves in Europe now, far more than in the US. As shown at the Yellowstone national park, the reintroduction of wolves has influenced the behaviour of their preys, not daring to graze everywhere anymore, hence allowing wilder vegetation.

Scotland could start bringing back wolves too in order to manage naturally the deer population. But this plan meets resistance from shepherds who can't efficiently protect their herd. There is no serious consideration of releasing wolves into the UK countryside.
The orangutan's ability to build a hammock does not change its responsibility towards its environment (as its ability to alter it is still very low). However, my ability to start a fire does come with significant responsibility.
Not quite difficult, enslave them, intimidate and threaten their social security, will make any spice not lazy.