skysight-inc/HackerNews huggingface dataset:
Manual memory management is bad but you can't escape it in C so `goto` is mildly useful there for that purpose. In all other languages you get better ergonomics.

* In Rust you wouldn't need any of that boilerplate because lifetime is automatically managed (& Rust has Objc bindings).

* If you turn on ARC & use the NS types you don't need this (they map to the same thing with no overhead for these primitives, so there's no good reason not to do this unless you are just being masochistic).

* In ObjC++ you should still use ARC. But if you felt masochistic, you could do:

auto string0 = unique_ptr<CFString, CFRelease>(CFCreateString("Hello"));
auto string1 = unique_ptr<CFString, CFRelease>(CFCreateString("World"));
auto arrayObj = unique_ptr<CFArray, CFRelease>(CFCreateMutableArray(kCFAllocatorDefault, 2, kCFTypeArrayCallBacks, kCFTypeDictionaryKeyCallBacks, ));
auto thing = unique_ptr<CFDictionary, CFRelease>(CFCreateMutableDictionary(kCFAllocatorDefault, 1, kCFTypeDictionaryKeyCallBacks, kCFTypeDictionaryValueCallBacks));
if (!arrayObj || !string0 || !string1 || !thing) {
return nil;
}
if (!CFArrayAppendValue(arrayObj.get(), string0.get()) || !CFArrayAppendValue(arrayObj.get(), string1.get())) {
return nil;
}
if (!CFDictionaryInsertObjectWithKey(thing.get(), arrayObj.get(), "somekey")) {
return nil;
}
return thing.release()

In C++ you could also use scope guards if you didn't like the `unique_ptr` stuff (not part of the stdlib yet, but it's not hard to roll your own).

The point I'm trying to make is that there are much cleaner ways of obtaining that result in whatever language you choose. If you do that, maybe you too won't be responsible for a goto fail security flaw [1].

EDIT: BTW. This advise isn't out of the blue. This was 100% a strong culture even within Apple 5 years ago. If you're concerned about performance of ARC, consider that Apple dogfoods it internally for nearly every part of the OS. The only pieces it's not used are for large historical codebases where the migration cost is a factor. Performance of ARC vs manual just isn't something anyone looks at. For the historical codebases usually one would use the ObjC++ approach instead.

[1] https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-got...
>Are you really arguing that corporatocracy is a progressive form of governance?

He made a one sentence comment about CA's policies being ineffective. He made no endorsement of anything or comparison to alternatives. If you're going to build a straw-man be more subtle.
Was the phosphorescent dye inhaled? What was the physical process responsible for the phase lag? Would love to read more about your device if you ever published your results!
> There is no need to use GOTO when a language has functions/procedures and exceptions.

The usual example of when goto saves more trouble than it causes is breaking out of a nested loop early. You can avoid goto in that scenario with a sufficient number of flags, but flag-heavy code tends to be harder to read than a couple apposite gotos. Even better is Perl-style named blocks, though.
https://archive.md/4MR21
The compromises made seem like rational ones given the desperate need we had for vaccines. Easy to look back now that many of us have shots in our arms and critique the procurement process.

These companies were tasked with developing and mass producing vaccines on an unprecedented scale and schedule. To say “it’s imperative you do this but also entirely shoulder the risk in case of error” doesn’t make much sense to me, even if the payoff is in the billions for them.
I would prefer just making users pay some fee.
Booked a bus with them once in Europe, bus never showed up. Confirmed this with another driver at the same stop. Contacted Flixbus for a refund, they refused.

With Greyhound out of the way, they're going to start acting like they do in Europe, which in my experience, is not nicely.
You claimed we'd be fine with a mediocre doctor, I was providing a counterpoint - the risk of a botched repair was permanent loss of hand function - why risk that with a mediocre doctor?
Unnecessary maybe, but those things undoubtedly offer value.
Clearly, quantum blockchain driven cloud based PaaS.
The promise of sharing rides using an app was a great one. I could just pick someone up heading for a place near my work and make $3.

When people used it for employment, not sharing their ride but operating like a cab driver, uber leaned in and the stage was set for the clashes and class action that results in regulation, price increases, etc.

If they had stayed niche and stayed smallish, ride sharing could have accomplished what it was supposed to. Greed is powerful, and drivers saw no need to limit to just sharing a trip to the mall, and uber saw no reason to prevent people from using their platform for it.
Tangentially related: modern kernels have a much better metric (PSI, or pressure stall information)

https://lwn.net/Articles/759781/

https://lwn.net/Articles/775971/
Discussing pandemic policy here is off-topic, but going back to my previous post:

> This increase in attention feeds news stories about conspiracy adherents (and anybody that can be lumped in with them, even if it's not warranted).

Emphasis on the last bit: whether your contrarian position is "+2 sigma" (as you state) or -2 sigma, you will definitely be lumped in with the other group by some targeted news program.

> to whose benefit is left as an exercise

To everyone's detriment really. Every accuser is also accused. Mainstream news these days is as much a target of conspiracies as they are accusers of conspiracy theorists. So too are leftists, rightists, contrarians, and of course actual conspiracy theorists. Everyone is accusing everyone else of something, to a net negative on society.

Every leftist is accused of marxism, every conservative accused of white supremacy, and so on. It's a miserable state of affairs with no nuance or productive discussion. Even the platforms (Facebook et al) that promulgate the inflammation of public discourse are themselves increasingly under fire by both sides of the aisle for various reasons to the point that both breaking up tech companies or heavily regulating their platforms are regularly discussed and promoted by lawmakers (ie Facebook and family face existential threats because they are so accused of poisoning the well, which well they have done to be fair but that's really just the nature of social media).
Right, and that's why I really can't believe this spat has the full force of Alphabet Inc behind it. I think its just Google's highly independent culture taken to the extreme with an idiotic, toxic, vengeful middle manager. Its a form of small dog syndrome; blowing their chest up as a compensation mechanism for how much of a side-project YouTube TV is for Alphabet, a desperate attempt to get additional promotion from Roku to prop up falling subscriber growth.

In most other companies, everything else being equal: someone higher up would have already stepped in and said "YouTube TV isn't worth it, you need to end this, you're sullying the corporate brand." But that's not really how Google operates; at least, not yet.
You need anonymity with reputational score.

Satoshi Nakamoto.

Associate anonymous posts with an optional pubkey signing. Have tooling that can filter out bad actor signatures and highlight the ones you care about.

Have your interest graph and peer graph suggest new public keys to follow.

Identities can remain private.
Thanks for the link. I'm taking a better look at the sanitizer API; I was probably misled by the dompurify references and examples.
Truly this is like an episode of black mirror.
> For which I contend that governments created corporations to shield these entities from liability.

The concept of limited liability for corporations, equitable trusts, and the like predates its official recognition in law. For a long time it was simply taken for granted that creditors could not pursue a business organization's debts against its individual members. The term "corporation" may have been a government invention—originally associated with de jure monopolies—but government did not create the idea of an organization with limited liability. It did extend the concept slightly to include protection against liability for certain kinds of torts, which I agree is not something that could exist in a free market. And of course the idea of a corporation in the original sense, as an organization granted a monopoly on a certain kind of trade, is incompatible with the free market. But the idea that large companies with limited liability (only for contracts, not torts) could not exist in a free market is nonsense. And when it comes to torts, liability ought to rest with the individual(s) whose action or negligence caused the harm, not the shareholders, which makes the lack of limited liability for torts for the owners of a large joint stock company less of a concern; they're not the ones responsible for the harm to begin with.
> A platform with questionable quality and no real support.

The quality of tiny platforms is often higher than the larger ones because their maintainers will actually accept patches and one of the people having the problem will know how to code, whereas consumers reporting bugs to large vendors is more like adults writing letters to Santa Clause.

Anybody can get support for anything by paying someone to support it. For nearly everyone outside of large corporations, the cost of this exceeds the benefit, because 99% of your problems will be solved by whatever comes up when you type the problem into a search engine and the last 1% won't be worth the cost of eliminating.
The reason is obscure if nothing else.
First of all, I’m pretty sure Atwood is an actual human individual author, and not one of these author committees with a collective pen name. Or are you on board with the erasure of women that is the subject of this piece?

Secondly, come on. It’s not “hard to read” that she probably doesn’t literally believe in talking to dead people. It’s an obvious literary device.

Thirdly, what kind of loser would be looking for “thought leadership”?
Uber's advantage was the ease of using the app to find a ride, but in many places local cab companies got their own app to match the competition. In many cities there are lots of times where Uber's availability and pricing algorithms mean it is quicker & cheaper to use a local cab company instead. I moved out of London a few years ago but had already stopped using Uber as other companies were much better.

Food delivery is very low margin and companies have realised there is pretty much no money to be made here as an expensive middle man. So in many cities food delivery companies are creating their own food preparation businesses to try to make profit that way. Most of these markets are low margin and providing wheels alone isn't enough to pay for an expensive multi-national.
Sure they are. In mega-corporations like Alphabet, even the head of YouTube is a middle-manager.
I guess the argument against this is that some super-rich don't spent on th emainland or not even at all, just bank a tonne of cash.

In that case, the overall income from tax would be lower than it is now.

I don't necessarily agree but the idea is normally that "rich" people should pay a higher percentage of their income as tax because "they can afford it".

I personally like the idea of a fixed rate from 0 to infinity like Russia iirc, which gives everyone skin in the game and avoids some of the tax avoidance that we see to avoid the thresholds.
> the appropriate amount is automatically deducted from your payslip

Lol I wish they deducted the appropriate amount.

> No need to file anything

Not true - many still need to file a self assessment, just like in the US.
So, America's political leaders borrowed money from China and sent that money back to China to fund risky coronavirus research that sparked a pandemic that's killed 700,000 Americans and generated even more U.S. borrowing from China.

Thanks Congress!
That's kind of a cop out, though. Relations are presumably abstract objects, too?
If you're interested in resource-based rbac [1] with list endpoints [2], Oso supports both! You're right, it's a tough problem, we've invested a ton of time to make this work well without needing to rearchitect your app.

(I'm cofounder/CTO at Oso).

[1]: https://docs.osohq.com/guides/rbac.html

[2]: https://docs.osohq.com/guides/data_filtering.html
Good Managers See the Human
Directed by David Mamet and exec produced by Joel Silver. I didn't see that coming!
That's why Twitter should've bought Medium and integrate it with Twitter. And then Twitter could've offered you to convert and transfer Twitter threads to Medium blog posts. Think of it as Facebook/Instagram interoperability.

As usual Twitter was slow and without vision and then Substack emerged.
‘The world’s largest vaccine drive’ is pretty obviously not measured per capita, so no, that isn’t the chart I want quite obviously.
>Basically, anything that remotely involves wheels and cultivating a precarious, contracted workforce is game for Uber.*
This is pretty silly nowadays. Sure, we don't need it. But I give even odds that folks would complain about how off sunrise and sunset are in non equator places.

Edit: I should say that my post is mostly inline with the updates to this article.
Being German it feels weird reading someone praise our tax system. The problem here is that you almost always pay too much tax and will be reimbursed when filing a return while at the same time the German Finanzamt already has the required information to do that on its own. But it won't. End of story is that tax returns are exclusive to people educated enough to take of it. And even if you take care of it in an informed way doesn't mean you will be reimbursed fully. For that you'd need to hire a tax attorney in many non-trivial cases.
To kick things off: this looks intriguing but I don't think I have enough context to devote more time to exploring this.

I'm interested in the publishing date, and the forward seems interesting. Could you provide a submission statement to help me?
sounds like a bunch of people getting paid for doing nothing
You might as well say the same thing about software developers. Instead of working honest jobs with their hands like most people, they just have to sit in a chair and be smart. Even if they get a real job, when the times get rough they will just go back to developing. Where is personal responsibility? Where is dignity? Making an effort to make an honest living?
I remember a cassette set from 2 authors who referred to his works on creativity. They eventually met him and occasionally consulted.

The audio said, "His last name is pronounced Chick-SENT-me-high-ee. We call him Mike!"
You can structure your personal life such that you don't qualify to file a personal IRS yearly signed inquisition document.

Then be like Clintons and live your life spending through foundations, trusts, and companies via speaking payments.

It does require upfront effort to set up everything. An unexpected benefit is the financial privacy it brings.
I'm so excited to finally have disjoint captures in closures; many papercuts on that one when I worked heavily with Amethyst a while back as there were a few closure-based APIs.

Thanks to all the contributors for getting us to the 2021 edition!
My needs are simple: Deep domain knowledge and deep trust.
> Even more than that though, describing what something is is usually not sufficient. You also have to describe why it's useful, or rather what it's for.

The thing is, these things are very abstract. The signature is what they are and why they are useful. A way to think about them is that they were discovered. People wrote a lot of code, saw the same pattern come up over and over again, and named it so they can abstract over it and reason about it.

> This is analogous with comments in code - in well written code you don't need many comments telling you what the code is doing, it's often fairly clear. They're also for convenience not necessity because you can, with enough time, figure out what the code is doing because you have all the information. What are irreplaceable are "why" comments telling you why something is done. E.g. "this prints two newline characters at the end of the document" is inferrable, but "print two newline characters because X program is unreliable unless we end with a blank line" is invaluable.

I agree with you here. The problem is that it's very hard to describe why they are useful if you didn't encounter the problem they solve yourself.
Digital Business Card / Personal Webpage
Quickest way to generate a online business card, or a personal webpage so you can share it with your clientele.
I think we cannot know anything at all, in the sense of completely understanding and knowing the "essence" of something. All our knowledge is instrumental. We have pragmatic theories and that's all we'll ever have. The existence of a (physical) reality? A (very useful) theory. Existence of "things"? It's the pragmatic way our thinking works.

Consciousness comes first, theories about "reality" come after. Expecting of "solving" the "mystery of consciousness" is futile. Existence is mystical and unknowable.

Still, it's very useful to strive for understanding and explanations, we just have to accept our limitations.
He writes "the smallest box". But the set (width, height, depth) of the dimensions of the boxes is not totally ordered. So this question makes no sense.

Maybe he means another metric, e.g. by volume? But:

- first problem, he seems to expect that people with whom he talks should not make assumptions

- second problem, does he really expect the store clerk to calculate the volumes of all the boxes?

I don't know, are we sure he is not actually stupid?
Hot air before, hot air after.
Pen Plotting (XY Plotter) Perlin Landscapes
If states like CA and NY are getting such a raw deal why don't they want to change it?

This tired old trope needs to be taken out back and shot. The net in or out flow from any given state is not enough to substantially impact anything.

Pretty much every state gets back what it puts in plus or minus 10-20%. Considering that each state is putting in a number that is only a small fraction of its GDP the overall difference is negligible. I think most people in the states that are getting paid would consider the economic hit to be a cheap price to pay for removing federal oversight from the things those dollars pay for.

Furthermore, even the poor states are just fine by European standards.[1][2]

[1] https://en.wikipedia.org/wiki/List_of_U.S._states_and_territ...

[2] https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...
SoftEtherVPN: Cross-platform multi-protocol VPN software
This is why when I go to a stable coin, I'll go into BUSD and USDC instead of USDT.
Anonymous people online might use this murder as an argument for limiting immigration. "As horrific as this tragedy was, if our diversity becomes a casualty, I think that's worse."
Oh, well, being easy to explain is a feature. Monads lack this one (so do pointers, mutable variables, recursive functions, macros., Boolean logic, Boolean values, metadata..)

Still, that's far from the most important feature for anything you will use daily.
We need daylight savings time. What we don't need is standard time.
FYI the DOJ wouldn't let Intuit buy the tax preparation part of Credit Karma, so that service is owned by Square now.
Online abuse is much easier to ignore when it's anonymous. What do I care if xX_BonerLord_420_Xx calls me the n-word? It only starts mattering when it's John Johnson, CPA and I have to drive by his house every day.
Getting married was the single best decision I ever made in my life. 30+ years later and now we have three grown children, 1 of whom is married, another is getting married next year, and the third is still in college. I think the fact people look at marriage as a transactional arrangement is a sad commentary on modern society, but at least it explains why the arts are dying: people don't do anything for love or beauty any longer, it's all for the almighty dollar. It's truly sad.
This.

You see this in NYC. Yellow cabs are fairly easy to find in Manhattan (below 96th Street anyway) but you'll never see them in many areas of the city.

The medallion system was invented to stop too many taxis appearing such that drivers couldn't earn an income. There are a ton of problems with this system and then the city decided to protect the "assets" (taxi medallions). Often ordinary people had bought these.

Anyway, to combat this Manhattan-only problem, they invented the green cabs. These were much cheaper (medallion-wise) but couldn't pick people up off the street in Manhattan (below 96th).

The result? Green cab drivers just picked new high-traffic areas and didn't want to take people to Manhattan. Why? Because once dropping someone off they couldn't pick someone up so they'd have to lose time and money driving out of the area.

And on top of all this it used to be impossible to get a cab at all around shift change times (3-4pm was the bad one). They had to invent solutions for this (eg taxis stationed at certain areas like hotels so you could still get to the airport).

And even if you get a cab you then have to communicate where you're going. The number of times I've had a driver mis-hear street numbers (eg 14th vs 40th) is astounding.

While in the cab you're subjected to a loop of advertising (because, hey, more revenue). You can mute it but it's an added annoyance.

After all that you then have to pay and for some reason cabs seem to be a common source of having your credit card skimmed (anecdotally; I have no proof of this).

Uber/Lyft take away all the friction of finding a cab, telling it where to go and paying. The reputation system does a decent (but obviously not perfect) job of curbing the worst actors (drivers and riders).

How anyone could think this doesn't have value is beyond me.

Cost structure wise there's no $1 million medallion to pay for built into the Uber price. The price is still below cost but that gap seems to be narrowing.
It must only be pretty extreme cases as Russel Brand and Brett Weinstein still have their videos up.
They didn't watch gochuumon wa usagi desu ka? Sharo covers this problem.
scmp a state owned newspaper.
It's ok though, not everything as to be optimised for convenience. Uber allowed us to do thing we didn't do in the past, and now these things seem natural, but we'd be just fine without them. Not every step is a step towards progress
Compute MT is using both CPU and GPU together. To compete, any other CPU needs to use a dedicated GPU.

Also, at idle, the DRAM and SSD are powered off. Samsung 980 uses 4.5 watts of power when active. I'd guess a similar power consumption applies here.

LPDDR4x ranges from 0.6v to 1.8v This should give 2-3w per 8gb chip at full-power. Anandtech's article agrees with ST Memory adding 4.2w of power over their other ST benchmarks.

Now, 26.8 - 4.5 - 4.2 = 18.1w at PEAK.

For just CPU loads, we get 22.3 - 4.5 - 4.2 = 13.6w.
Except that I suspect the average taxpayer doesn't see what they're paying but instead sees the size of the refund check they get at the end of the process, which has relatively little correlation to the amount they paid.
> Rather than calling these "variables with local scope" I suggest we call them "pronouns".

There is a closer equivalent of pronouns in (some) programming languages, topicalizing variables. _ in Scala, $_ in Perl, % in the recent JS proposal for pipelines, etc., and the usual explanation of them links to pronouns (and the name links to a linguistic feature related to pronouns, that is also descriptive of their operation.)

The explicit definition of normal local variables make them unlike pronouns. They are more akin to in natural language, providing a description of, e.g., a hypothetical person and then “lets call her Alice”, which is not a pronoun, just a limited scope assignment of a name.