skysight-inc/HackerNews huggingface dataset:
I admit that I'm a Rust fanboy so it probably wraps my view a bit, but from personal experience I don't consider unlimited compile-time code execution to be a completely good thing.

Yes, it makes the language more approachable, yes it makes it easier for people who aren't familiar with the language to understand what's going on. That's nice, but that's not critically important IMO. It's nice if you want to impress people on HN, but if you use the language day-to-day you'll get over that stuff pretty quickly.

On the other hand this type of extreme customization means that even for somebody very familiar with the language you still have to be on your toes because innocuous looking code could behave surprisingly due to comptime shenanigans. On the other hand languages with a more rigid structure may end up being more verbose but that leads to code that a proficient coder can unambiguously understand without having to mentally expand comptime blocks or macros.

This is effectively the metaprogramming equivalent of the statically vs dynamically typed debate. Yes, dynamic code is easier to write but it can be harder to maintain and leads to worse compiler diagnostics and generally requires more unit tests to validate that it's doing the right thing. I think macros/comptime behave similarly when compared to stricter, more limited metaprograming like Rust's generics system.

Rust has macros too of course, but they're a pain to write in my experience, and I'd almost argue that it's a feature. You only use them if you really have to, and after careful consideration, or at least that's how I use them.
Yep. Our whole legal system is built on the idea of one mind implanted in one body from birth. Things quickly start getting complicated when that breaks down.
Early humans' quest for food stoked the flames of evolution
Surprisingly, it’s missing src/dst (source/destination).
You can still install apps on Android which are not in the Play store
The same is true for server-side Google Analytics, but that's already been blocked by ad/analytics blockers.
Finally an issue I can talk about :)

Let me just tell you that the 'ë' in my name gets labeled as an invalid character pretty frequently. Europeans seem to handle that problem way better than USians, which makes sense considering how many languages are spoken in Europe.
Not knocking this but I've seen what feels like dozens of script based solutions coming up on HN recently. If the goal is privacy what would this give you over something which runs on the server?
Not if you are proxying.
Because it implies that current moderation features linked in his reply aren't enough and that "hate" speech should be somehow dealt with differently than other unwanted content.
Virtual Presentation Greatness Guide
I would like to mention that according to existing residents in San Francisco this is a good thing. They want you to leave.
The precedent set was that the EU could arrest a citizen of the US for working for a company based in the US if that citizen happened to go to the EU on holiday.

The Meng Wanzhou case had the EU being able to extradite a US citizen from the UK for breaking EU law.
I’m not really committed to a particular model, I just think the body clearly plays an important, if not critical role - and that this is not what most people in the comments here agree with.
Two misconceptions in this article:

1) proof of work is not the only way to do blockchains. You can do NFTs on e.g. Stellar or soon on Ethereum 2.0 and it would make sense to do that as it would be cheap to transact. That is in fact the main motivation to create ethereum 2.0: transacting needs to become cheaper. Some companies seem to have some success tokenizing e.g. supply chains, energy markets, art ownership changes, etc. The resulting tokens are typically not intended for speculative trading. Proof of stake solutions are optimal for this since making money of the transactions is not a goal here typically.

2) supply can actually be constrained quite easily. E.g. on Stellar you would issue a limited supply of whatever token from an issuing account (stellar tokens are identified by their issuing account) and then lock that account forever by increasing the account thresholds to be higher than the weight of the account signers (stellar supports multi sig accounts). That effectively is the last transaction that can ever happen on that account. No more tokens can be issued from then on. On ethereum, you'd be able to do something similar with smart contracts. I use stellar as an example, because I've used it to create a token. Creating tokens on Stellar is super easy and requires no programming. An NFT is basically a token with a supply of 1.

NFTs make sense in any kind of scenario where a group of stakeholders wants to agree on who owns what without relying on a trusted third party like a bank or government agency. If it's cheap and easy to use them; why not use them?

You can get your own stellar account by putting in enough xlm to cover the base fees. About 5 XLM should be enough to create a handful of accounts + trustlines that you would neeed to create your own token. Stellar laboratory provides you all the tools to do this if you want to practice this on their testnet: https://laboratory.stellar.org/#account-creator?network=test. You click your own token together in a few minutes. Simply switch to the mainnet to do it for real. If you are serious about this, the legal work is going to be most of the effort.
still on the front page... https://news.ycombinator.com/item?id=26370572
>The fact is, it's 2021 and people should care about what they do with their themselves, their family and their community first. And stop waiting for [... some other entity ...] to fix their problems.

From the other day:

https://foxbaltimore.com/news/project-baltimore/city-student...

>"He didn't fail, the school failed him. The school failed at their job. They failed. They failed, that's the problem here. They failed. They failed. He didn't deserve that."
I still don't think we've proven that at all. Unless you believe in god, then no one has ever "built" an intelligence. The human brain is the result of millions of years of evolutionary pressures.
It's not about what Zig has but what it doesn't have. Because low-level programming is already complex, language simplicity is a super-important feature that few low-level languages have, and I would say none that are expressive and emphasise safety -- except Zig.

You could do those things in C++ with template games and in Rust with macros. But Zig lets you have immense expressivity with a simple, small and easy-to-learn language.
NFTs real value is "BS identifier" and "crypto market cleanup".
On a slightly unrelated note: does anyone have experience with Readng itself? It seems to position itself as an alternative to Goodreads, but I'm curious as to what the major selling point is, so to speak, besides owning your data, and what other benefits it may have?
Live link: https://reddish.netlify.app
Our learnings from 3 failures over 5 years to set up a data catalog
Good analogy, yep!
Regarding the automatic C interop JVM languages now have it either through jextract or graalVM.
That's why I absolutely dislike the concept of decriminalization. Just seems like an unnecessary, ineffective step instead of legalization.

With legalization, you get rid of black markets and dealers, taxes flow and product quality rises.

Decriminalization just means that addicts and dealers don't get fucked as hard when caught.
The Whittle story is a little more involved than that. His first run didn't go boom, but it did go out of control, get red-hot, and need to be shut down by cutting off the fuel pump. It didn't stop immediately, though, which is a terrifying failure mode.

It took him a couple of years to sort out the design problem that led to unburnt fuel pooling where it shouldn't.
Absolutely, Nim and Zig have proper CTFE and you can parse JSON at compile-time with a normal parser code in all 3 of them IIRC.
You looked at one particular guy's YouTube channel where he 3D prints them and that was enough information for you to decide they were useless?
You may have seen this already: https://arxiv.org/abs/1101.4548

Funny stuff. They predict that in aggregate 100% of the wealth is invested in stocks and investing more than that would be suboptimal: the optimal leverage is 1.

They "submit the hypothesis to a rigorous test" and find that the optimal leverage for the S&P 500 is around 1, given its volatility.

There is a small problem with their rigorous test. They forgot to include dividends: "a real investment in the S&P500 outgrew federal deposits at only 2.0% p.a".

Including dividends would bring the optimal leverage to 2 or 3. But that's ok. It's close enough to 1 for them, apparently.

Even better: ignoring dividends was not so wrong anyway because the S&P 500 overestimates the return of a real equity investment due to survivorship bias.

"The S&P500 is an index of five hundred large companies, listed publicly in the United States. We use it as a proxy for a generic diversified investment in US stocks, but we note some caveats. Firstly, the index does not account for dividends paid to stockholders. This means it will tend to underestimate the performance of a real investment. Secondly, the index suffers from survivorship bias, representing a portfolio of the largest and most successful companies in the US, in which less successful companies are routinely replaced. This acts in the opposite direction to the first caveat."
It's all about race, just look at all those white dudes from Polish villages cranking out one prototype after another, swimming in the vast oceans of opportunity. Contrast that with the daily struggle any person of colour must endure to survive in, say, Seattle. Unfathomable.
An Introduction to ASCII Ray Marching
In practice, utility theory works well.

Poker players adopt a utility function similar to u(x)=x and apply some very basic risk management heuristics (bankroll management) on top in order to handle ergodicity. Their whole thought process is centred on E[u(x)] (E[x]), and they have much more affinity for expected utility theory than the more "correct" Kelly.

Professional investors adopt a slightly risk-averse u(x) (not quite ln(x) in my experience) and do just fine with that. Risk of ruin is managed again using simple practical heuristics, such as capping the maximum downside on each decision, and sizing up only when confident (in Kelly-like fashion - but very subjective).

That it doesn't explicitly handle ergodicity isn't a huge flaw in practice. It's still a useful (although imperfect) mental model of what's going on in people's brains and offers some practical usefulness.

It's also not a wrong assumption technically, because it's not claiming to model such phenomena, its claim is to model the utility of a single discrete choice.
Why not use micropython?
There's no gas-blown air there.
You should wear glasses constantly both to be safer towards yourself and towards others and to also reduce the cognitive load you experience.
I re-read the comment in question with great attention, and found nothing OP insists on except for being left alone with his tea. Quote: "Use the combinations you enjoy"
Experts Insight on ‘Silent Stealing’ New Cyber Crime Phenomenon
This is putting the US into a worse spotlight than you think.

If it's possible for a mass murdering nation to become more peaceful than the US then that implies that the US completely failed at dealing with violence. Since you are starting off from a much lower base it should be much easier for your country to take care of the problem.

Edit: As other countries pointed out the US did commit war crimes as well.
And you get the extra benefit of being emailed[0] a few times beforehand if the certificate fails to renew as long you register your account with an email address.

[0]: https://letsencrypt.org/docs/expiration-emails/
My confusion there is not that an ordering needs to be chosen, but why, if you make a choice, that choice wouldn’t be capable of consistency.

Which is what I think the original list is claiming.
Scott Alexander wrote he has no clue if counseling works:

> I tell patients to have a consistent weekly meeting with their spouse, maybe a Saturday date night. During the meeting, each of them has to say one nice thing about the other, and then one problem that they want to work on. The other person thanks them for the nice thing and then they brainstorm a solution to the problem. If they both agree to the solution, they have to stick with it at least until the next relationship meeting. A lot of my patients have said this really helps them, have continued the meetings long after the immediate crisis passes, and probably expect the technique was invented by some clever person like John Gottman. I will never tell them that actually I picked it up from a different ex-girlfriend, not even the one who writes relationship advice columns.

> In conclusion, I have no idea what makes marriages work, and I am not convinced John Gottman does either.

https://slatestarcodex.com/2020/02/27/book-review-the-seven-...
> His methods are a replacement to the EUT framework.

What's the solution to this problem using his methods, for example?

https://en.wikipedia.org/wiki/Merton%27s_portfolio_problem

How do his methods apply to the uncountable situations where expected utility theory is used?

A random example: https://www.researchgate.net/publication/240488954_Risk_of_d...
Just to expand on that, I love Malevich as an artist. I've travelled specifically to see exhibitions of his and his contemporaries' works. If I had large amounts of spare cash and I were in a position to buy an original, I probably would. From an artistic pov, I feel the ideas he introduced are extremely important. From a technical pov, I think his colour and composition are superb. From a conceptual pov his art is a pretty laser-sharp distillation of the ideas he had regarding what art means or can mean. From a personal, professional point of view, I'm trained as a designer, and worked as a designer and illustrator. The tenets of constructivism and suprematism have been formational to much of my approach to design.

So, it's not that being technically spectacular in some arbitrary "really accurately painted or drawn picture of reality, like a photo" way makes art valuable (photography effectively destroyed that a long time ago, sorry!). It's that it has some special significance. If that significance is more than personal, as in it has some historical/cultural significance, then it becomes valuable. There's no point to it, it's art. So w/r/t original subject, above reasons make me think twice about any knee-jerk cynicism I have toward it (which I do have, I just have to have an open mind)
>An aside about "type state programming": Microcontrollers have a lot of functionality packed into the pins (see the STM32 "Alternate Function" datasheet tables). Trying to model all of that using ownership of zero-sized generic types would strike me as a "when all you have is a hammer"-type situation.

I second this. The idea of checking that a pin is "only used in one place" doesn't really jive with how I think about microcontroller programming. It's very common for one pin to be used for multiple distinct purposes at different times.

There's also a lot of different ways of conceptually slicing pin states. For example, if you are charlieplexing LEDs than you'll switch pins between 'input' (high impedance) and 'output' modes, but at a higher level the pin is serving a single function.
Well, five smallest publishable units... optimizing for the wrong incentives that be.
Some of the falsehoods, if they are such, do not change how systems are used. For example:

> 9. People’s names are written in ASCII.

I am well aware of that. However, there is usually a transcription to ASCII characters and using modern programming languages, which mostly deal with utf8, you do not exclude non-ASCII characters by default anyway. In languages I use I would have to take extra steps to limit strings to only ASCII characters. There might sometimes be some implementation bug in the programming language's string handling itself. I have encountered one case like that so far.

Also I have a question: What is the difference between a "canonical full name" and a "full name"? (I get that people could have multiple names.)

Aside from that, it will in many cases not matter, whether a person has multiple names. For example most things that have a login, usually let people register. When they register, they can make a choice of which name to choose as a handle on that system. It is sufficient, if they themselves are aware of their other names and associate themselves with the handle they have chosen for that system. Of course there are other systems like lets say some software for a register of inhabitants of a city. Those systems are hopefully designed with the applying edge cases in mind.
They tend to have a fairly narrow RPM range within which they're more efficient than conventional piston engines. That can make them good for generators, but maintenance can be a pain in a way that it isn't for a 2-stroke (for instance). They've got great power density, though.
Wait till someone designs a perpetual motion machine and have them build it...
This repeats the same mistaken belief that "energy is precious". In reality, there's lots of energy that is either worthless or has negative value. There currently is no economical solution for storing this energy and it's the biggest impediment for renewable energy.

Many bubbles have left lasting improvements to infrastructure. The railroad bubble brought railroads. The telegraph bubble wired up the country. The internet bubble made internet connectivity mainstream.

I believe that proof-of-work can bring lasting improvements to both energy infrastructure and semiconductor processes that are unaccounted for in all the naive calculations that make for a good headline.
The Black Tax
When you blow up the transaction limit you physically centralize the verification process. This is why you'd see miners gamble with sitting on a solved block and secretly beginning the next search, with a few seconds of head start, before announcing to the network, or skipping the inclusion of any transactions: because fractions of a second make a big difference. Bigger blocks propagate more slowly, and magnify the advantage of employing those kinds of undesirable behaviors. This is why HFT boxes end up as physically close to Wall Street as possible. This is also why bcash got so much early support from Chinese miners.
Nellie Bly, America's first investigative journalist got her start in an asylum
"In 1885 the Pittsburgh Dispatch published an article entitled 'What Girls Are Good For,' which claimed a working woman was 'a monstrosity.' The feature provoked a fiery rebuke from a 21-year-old reader, Elizabeth Jane Cochran, whose argument so impressed the editor that he published an advertisement asking the author to come forward so he could meet her.

She did, and he hired her on the spot, her first article appearing under the name “Orphan Girl.” Soon after, she changed her pen name to the title of a popular song by Pittsburgh songwriter Stephen Foster, and so 'Nellie Bly' was born—a name forever associated with her pioneering role in investigative journalism.

In the course of her life, she spotlighted social ills and corruption, often at great personal risk, resulting in important reforms. Distinguishing herself in the almost exclusively male world of late 19th-century journalism, she broke new ground for women in the field."
I've heard that Unicode doesn't encode many rare Chinese/Japanese characters that only occur in personal names. In practice these people are forced to change their names. Here's an example: https://www.reuters.com/article/oukoe-uk-china-names-idAFTRE...
Please elaborate, is this a work or hobby project, which space craft?
It was tough reading that article on a phone with all the ads... random up/down movements and even a full page refresh at one point!
NFTs are the perfect fraud for the moment, and will be controversial right to until they are worthless.
"In fall 1889, as the World opened new headquarters, Pulitzer wanted a big, attention-grabbing story. Bly proposed an around-the-world race to break the fictional record set by Phileas Fogg in Jules Verne’s 1873 novel Around the World in Eighty Days. Pulitzer thought the idea better suited to a man. 'Very well,' Bly said, 'Start the man, and I’ll start the same day for some other newspaper and beat him.' Pulitzer wisely reconsidered.

Bly set off from Hoboken, New Jersey, on November 14, 1889. Among her many adventures was a meeting with Jules Verne in France. Verne, age 61, told her: 'If you do it in 79 days, I shall applaud with both hands.' She would win his applause handily, completing the trip in a record-breaking 72 days. When she stepped off the train in Jersey City, thousands cheered her. At 25, she was America’s first celebrity journalist."
Ah, I see you are a student of Rikyu.

茶の湯とは
ただ湯をわかし茶をたてて
のむばかりなる事と知るべし

Tea is naught but this;
First you heat the water,
Then you make the tea.
Then you drink it properly.
That is all you need to know.

https://www.atlasobscura.com/foods/matcha-chasen
There is a sci-fi/horror game called SOMA that explores a related theme. It has an "easy" mode that makes it almost a walking simulator, so even if one is not a gamer, they'd probably enjoy it. Highly recommended.

https://somagame.com/
Kelly maximizes the median outcome, I think. I’ve yet to find an approach that minimize the bottom x percentile. If you’re aware of one I’d love to learn it.
I haven't had to use windows in almost a decade, but when I did I would keep the cygwin binaries iny path. Or later on, the binaries from the windows version of git.
Despite all my love to Rust, I completely agree.
Quick self test: Do you eat healthy food, floss your teeth, get enough sleep, care about your relationships, and exercise somewhat? This is boring simple common sense advice everybody knows but I have not met anybody (myself included) who achieves it.
I live in a place with an actual winter. You know, the kind with sub-freezing temperatures and thigh-deep snow cover for a significant part of the year. It is my experience that under such conditions external cameras on cars are useless. The optics are almost always obscured by some form of the weather or road hazard. I certainly don't want my life to depend on technology that only works in fair weather, since that's when I least need it.
The phrase makes a statement about recursion in general, no further narrowing it down to one kind. One cannot generalize from one case (non-tail recursive, which might have unbounded memory allocation) to the whole class of calls, which is recursive calls or recursion in general.

So it is not necessarily a true statement about recursion. It is only a true statement about non-tail recursive ones. It is an over-generalization. The docs would to well to distinguish those.
> The idea that Google can fix "racial diversity in tech" is absurd at best. These are deeply rooted systemic issues that need to be addressed from the ground up.

I don't disagree with the substance of your comment, but it's worth pointing out that Alphabet is a company with a $1,416,000,000,000 market cap.

If any non-governmental entity could be said to have the resources to address "systemic issues" at the root, it would be these giant multinationals.

If Google wanted to, it could fund CS education in primary and secondary schools in black neighbourhoods, it could launch a finance wing to offer mortgages to families disadvantaged by a history of red-lining, it could endow scholarships at HBCUs, it could invest directly in infrastructure projects in majority-black cities...

Obviously there's no obligation for them to do these things, but if they cared to really make a dent in America's racial issues (instead of just making white folks feel more positively about Google) they are not lacking the capital to take a stab at it. They certainly don't mind pissing away millions on internet balloons.