skysight-inc/HackerNews huggingface dataset:
Just been going through a bunch of docs as code solutions trying to find something i like.

I’m troubled by how slow and complicated some build process are. Docusaurus wasn’t the worst offender here although it has more moving parts than i’d like.

If you’re still using Sphinx it might be worth a quick scan of the latest tools, the search facilities are quite good in some nowadays.

So far hugo has my attention the most. Setting up other devs is as simple as checking out the repo (hugo binary is tiny and doesnt need to change often so could even just be vendored into the repo if you wanted).

1 command to checkout even if you’re a dev from another team.

1 to build, and build is fast with live reload.

Docsy theme gets out of the way and just works. I think doks theme looks more user friendly to my eye but the build process is encumbered by mandatory npm deps.
Eh, bleh, you're completely right, I meant Flutter. Good catch.

Figma is not only not a framework, it's also not completely canvas based, or at least wasn't last time I checked.
So you can’t?
> I'd pay $79 USD a month for this

Uh... wow.
>Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Please don't fulminate. Please don't sneer, including at the rest of the community.

if I knew how to report comments on this site, I would even if I somewhat agree with this. I don't want this place becoming Reddit.

With all due respect: I don't think it's productive on the internet (a worldwide mechanism) to assume everyone is American, and by extension in tune with American politics. Or heck, even a person constantly checking social media for news multiple times a day. Name calling while ignoring these factors doesn't make for civil discourse.

Just take 5 seconds link to the wiki and then decide whether or not to disengage based on their response. https://en.wikipedia.org/wiki/2021_storming_of_the_United_St...
Over the long development cycle of the project, I've accumulated a nice little library of data structures, allocators, and utilities (mostly in src/lib). Between those and the low-level engine systems such as the task scheduler and event system which have a generic API for any other system to make use of, I believe I have good foundations in place to develop new engine systems relatively easily. Of course, this required the initial investment of laying these foundations.

Most error handling just consists of checking the return value of a call and propagating it up to the caller if necessary. Sometimes I also set an errno-like variable with an error message to check it in the top-level code. It's a bit wordy but obvious and sufficiently good for all my use cases.

I don't think C limits the size of the project. It's all about good organization and coming up with the right higher-level protocols/conventions. This, IMHO, is what allows or prevents the code size from scaling gracefully.
https://en.wikipedia.org/wiki/2021_storming_of_the_United_St...
Why work to be CTO when being an engineering manager is plenty to lead a comfortable life? Why work to be a senior engineer when being a junior engineer is so much less stressful?

People have lots of reasons for continuing to push towards bigger things and for some of them that doesn't stop no matter how much they have.
No surprises. They try to stay in power forever.
But what I meant that I liked about hooks is the "automatic rerender" in React, the reason this feature is called "hooks". I'm not sure simply declaring a method on a class would be the same?
Apparently as many buckets, totes, or even plastic bags as they can fit in the trunk :(

Here in Florida, there's always a run on gas as tropical storms approach. Just everyone making sure they have a full tank at the same time is a big strain on the supply but there are a lot of people with generators and 5-10 five gallon cans.
Those two are not exclusive.
The losses can be made to be completely irrelevant though. There are many places on Earth with abundant energy -- think hydro plants in the middle of Wyoming, geothermal plants in Iceland -- that simply are too far away from population centers to be directly viable. Those places are where hydrogen will be produced, since you can pipe hydrogen basically infinitely, or compress and ship on-site.
> AFAIK, you cannot be banned from a country if you have its nationality and you cannot lose a nationality if it’s the only one you have.

It is possible for country A and B to both conclude under their laws that (1) you have the nationality of the other country and, (2) you have forfeited your right to the nationality of the country making the decision.

Both would agree that the net result is undesirable, but insist that the other country was in error.

(Also, just because its in an international agreement doesn’t mean a country won’t blatantly do it without even pretense of compliance.)
Neat, I had no idea it wasn't a normal old DOM application. Certainly does add a lot of validation to Google's approach here.
Do you develop this game on Twitch at all? I'd love to watch the work being done.
I haven't looked at the data but he could certainly have bought some kind of structured product to enhance his bet further, which would turn up in the options.

Normally the bank would look at your total position and work out from there what they thought your daily risk was, and thus how much margin to ask for. What isn't so easy is to spot the massive whale who's taken the same position with all the banks, so big that he moves the market the wrong way when it goes badly. Then your risk model is pretty useless.
Don't forget the counter argument:

* The largest annual increase of the money supply in the history of the US, far larger than even WWII, with no end in sight.
> Google's decision here reflects the belief that, despite this, the Web is not suited for documents.

I don’t see how you jumped to that conclusion. They’re not changing the way documents are stored, they’re only changing how documents are rendered.

Who’s relying on the render API? What functionality do you think you’re losing, as a web user?

The web of HTML+CSS is good for some kinds of documents - static documents, but it has never been good at editing documents, and it has never been good at all documents, and it has never been the best platform for high performance applications like editors or games.

> this is just shy of an abrogation of their responsibility to act as a steward for the Web and the intention that it best serve users

Ignoring the problems with your assumption that Google should act as a steward for today’s Web (Google’s mission statement doesn’t mention preserving HTML. And it’s better if public, not private for-profit entities are our stewards) -- this decision is being made to best serve users, no? As a user, I want Docs to render faster, don’t you?

I’m not quite seeing your reasoning why this affects the long term health of the Web. I can’t help but note that many large web apps have transitioned to canvas rendering for performance, and the internet is still growing. There is, in fact, a problem with rendering HTML+CSS in a performant way when editing things, and it might be too late, and there might be too much legacy to fix it... maybe. It’s still pretty good at what it does, and not likely to go away.
FYI https://github.com/oakserver/oak is a port of Koa for Deno.
> The only minor insight this affair gives is that a lot of fund managers are just taking bigger risks

Really? I think there are several take aways that will affect the markets for a while.

1) Prime brokers were blind to his exposure, using multiple prime brokers and also not having to report controlling interest in shares controlled by Swaps let one player control an amount of shares on single firms that no prime broker would ever let their clients control.

I'm fairly certain we'll see some overhaul on the swap side to shed more light on what positions they hold, similar to what hedge funds have to file quarterly.

2) Family offices have kind of slid under hte radar, hedge funds have to file quarterly docs on what they hold and report when they control more than 5 or 10%, depending on the jurisdiction. Family offices side step this requirement due to a quirk in securities law.

Again I expect this "loop hole" to be closed.

3) One firm essentially was responsible for most of the share price gain for a few individual stocks, specifically viacom where he bought almost all of viacoms share price appreciation. This bullying technique was common in the 80s bond markets due to the small number of players who could buy up bond positions to push them around. Those markets were reformed such that this doesn't really happen too often anymore. Bill, found a cunning way to do this in the securities markets.

The SEC is going to look at t his very closely, remember their mandate is to have orderly markets and this ordeal was anything but orderly.
I watched a video about the economics of nuclear reactors and the main focus was that the time it takes to break even is much longer for nuclear reactors if compared to coal and natural gas. Couldn't something like those microreactors solve that problem?
I cannot comment on Russia, not an area I am familiar with. But I believe that is already the case with China.

An industry planning organization in China has indicated the plan to standardize on RISC-V across the board, with domestically designed and manufactured processors. The intent there is, I'm guessing, to disentangle China from any IP issues, or supply interruptions should trade be disrupted. Chinese media has openly stated as such, for example this article from Sina.com (in Chinese): https://finance.sina.com.cn/tech/2021-01-18/doc-ikftssan7728...

Since it gives me reading practice, I've done a quick and probably slightly butchered partial translation:

Could expanding RISC-V be the cure to China's shortage of ICs?

In April of 2020, RISC-V Foundation's CEO sent an email alerting the Foundation's members. The email stated that "We have now established the RISC-V International Association in Switzerland".

The RISC-V foundation, which has been established now for five years, was originally founded in America. On account of worries about being influenced by political factors, it has moved to Switzerland, a country well known for its consistent neutrality and practice of supporting open source.

[...]

Over the last three to four years, in China's technology circles, more and more people have been discussing the adoption of RISC-V. This follows political factors having an increased influence on the science & technology industry, as well as ARM being purchased by NVIDIA. China's technology companies are ever more worried that the x86 and ARM architectures, in the hands of American organizations, may cut off from access in the future.

In contrast, the open source RISC-V does not have similar concerns. "Regarding domestic Chinese companies, the relocation of the RISC-V Foundation's official headquarters to Switzerland is a very favourable development." said CEO Xu Tao of Saifang Technologies, a domestic Chinese manufacturer of RISC-V processors. "Most significantly, this means that the adoption of the open source RISC-V instruction set, open source software, and public standards can be utilized without any fear of unforeseen complications. It's my belief that this is an opportunity to establish the independence of IP for Chinese processors."
I think definitions vary slightly, but the quality you mentioned (a == b => f(a) == f(b)) would be called a deterministic function [1] - very useful, often applicable or even type check enforced in functional programming languages.

Having no side effects is a different very useful quality - function doing exactly as specified and no more (I/O, setting variables ..). I'm not sure if it means not accessing global state, though it is usually better if both inputs and outputs are explicit.

All in, it is usually easier to reason about functions that are explicit, deterministic and side-effect free, yet I find it profoundly more valuable if it can actually be relied on (a known subset of) functions having those qualities.

[1] https://maksimivanov.com/posts/pure-functions-and-side-effec...
Are Web Components a Thing Yet?
You're not being unreasonable. This is a very standard form to ensure that your hobby projects that you engaged in prior to working for a company and will continue to work on while you're at the company are disclosed, known and will not be confused as work-related.

Personally I would withdrawal myself from that company if I was given a response like that. That's not the kind of company culture I want to work at. Good employers realize that jobs and hobbies can intersect. We tell people do what you love but this company seems to be positioning it so they can seize prior work or make it difficult for to to prove it was prior work.

Unless this is somehow your dream job or a niche that has very few openings, walk away. I don't know where you're at but in general the IT job market is pretty healthy right now.
Well done! Very nice to see that this is still possible :)
That's the law in many countries, but far from universal. And even such countries tend to have some exceptions.
I wonder if it would be feasible for a neighborhood to get together and get one of these for everyone to share. In theory 1MW powers about 400 homes. Or for a new development to put one in and tout "free electricity for 50 years" as benefit of the development.

Or a condo complex getting one with their condo fees.

So many possibilities.
No more than how the London Whale lost $Billions for JP Morgan (and therefore damaged JP Morgan's shareholders). When you invest into a bank, its understood that the bank will play with your money in ways that could lose it.

There's no guarantee that any of this crap makes money. Investors make the decision that they're willing to risk money for the opportunity to make more money later. That's fundamental to the stock market (and bond market).
My guess is that those who run large financial institutions came of age when inflation was much higher and a difficult beast to tame. Therefore they see the inflation boogeyman around every corner even though it hasn’t been like that in a long time. (That’s not to say high inflation won’t come at some point, but so far the doom and gloom merchants have been wrong for decades).

You see this inflation mania most clearly with the ECB, which essentially is controlled by Germans. They fear a Weimar Republic-style hyperinflation above all else. So some of the policies coming out of the 2008 crisis reflected this, instead of being flexible enough to cope with the actual conditions and challenges of the day.
A quantum leap has only very minor effects.
Yes we are producing more but are we really productive?
And last but not least, the web had positive and negative effects but the web isn't html, css or JavaScript
If we assume that the average gas tank is half full, and then a large number of people decide to top off their tanks, that could be a huge amount of fuel, right?
I have had the exact opposite experience—I've used Google Docs for 10 years now, and in every way it manages to exceed Microsoft Office in usability. You're right that Google Docs can sometimes feel a little barebones, but it makes up for it by being very easy and straight-forward to use. In 10 years of using Google Docs, I can count on one hand—across probably tens of thousands of documents—the amount of times I've been missing something so critical to my work that I've needed to use an Office product.

(That said, I'm really excited about the recent changes Microsoft is making for Excel, with LET and LAMBDA, and I look forward to trying it out again in the future. Maybe this is the thing that finally gets me to switch! I've also enjoyed doing some more ~fancy~ graphic design in Pages on Mac, but overall the clunkiness was just so frustrating that I can't in good faith recommend it to anyone)
True. I only mentioned then because they're virtually omnipresent and are transmitted from skin to skin contact where a condom offers only partial protection at best.

Many other STDs need some sort of fluid transmission which is at least easier to avoid.

Also, the vaccine only protects from a few of the hundreds(?) of strains of HPV. It protects from those varieties that are most likely to cause cervical cancer, but generally not those that cause genital warts.
> Since when has listening to an authority on a topic been a bad thing?

It isn't a bad thing, but a reasoned argument is always preferable to an appeal to authority. This is especially true when there is scant evidence of actual authority.
To back up the commenter's statement: most well informed economists kept pushing that China would sell US Treasury Bonds pennies on the dollar to "ruin" the US economy.

Anyone with a half a brain and some real world business knowledge would realize: Do you really want to be the guy who mentions, let alone put into motion, that losing hundreds of billions of dollars worth of receipts to make a negotiation situation worse, is a good idea? At that, selling bonds at a discount helps open up for allied nations to suck up those bonds to make more future money themselves. Thus powering the US negotiation side even more.

And did they play the bond game? Obviously not. They're not stupid. "I'm going to burn my money just to piss you guys off!"

Seriously, many public figure economists are idiots. Not all. The good one's public discourse gets reserved to small press geopolitical publications. Even then, they always acknowledge how fickle an economy can be and how easy it is to be blindsided.

So yea, high inflation in the next 5-10 years is a real possibility, especially as the stimulus bond payments start to mount.
Boy would you be surprised to see that food inflation is decelerating and has been since the stimulus started!

https://fred.stlouisfed.org/series/CPIUFDSL
Yeah I have a rock hard saddle myself, which is ultimately the better solution, but "sore butt" seems to be the #1 complaint from new cyclists, is the only reason I recommend it to absolute newbies
I haven't noticed the change either, scrolling is somewhere less than 60fps on new Mac hardware.

It's the only thing about VS Code I would change: have it use native APIs for text rendering so we can get the same framerate as native apps.
Implementing a Zero Trust security model at Microsoft
For me, it's not very fast in chrome.
Yes it is very much a double edged sword. The other risk associated with highly passionate Devs is that one day the work your business values no longer accommodates what tooling they want to work with, or they themselves change tack sporadically after discovering something new. I've had amazing JavaScript developers quit on me because they got bored of using react and wanted to pursue a role in Vue, for example.

But I'll take hiring (and the implied difficulty in finding) a dozen of those kind of Devs over drifters all the same.
Congrats on the launch!

The service looks interesting, but I'm wondering if there's a technical reason why it's a SaaS. CSVs could be parsed entirely on the client, and it should be possible for .XLS/.XLSX as well. If not with pure JavaScript+Web Workers then surely with WebAssembly.

Doing this traditionally on the backend is fine of course, but as others have mentioned, trusting you with potentially sensitive data is a hurdle for many companies and individuals.
The idea that large multinational corporations are unaccountable to sovereign entities is far more frightening than the scenario you’re putting forward.

No one elected Zuckerberg to be the global monarch. I don’t want him making the laws that govern global society.
Didn’t happen in that article. Fed providing liquidity wasn’t specific to hedge funds at all.

“ It remains unclear how big of a role hedge funds played in March’s meltdown — even how many and which funds were involved remains hazy. ”
China knew they had a problem in late 2019, when there were very few cases.

The COVID presents as the flu, the symptoms are the same, so that means without a test there needs to be some other way to identify that a new virus is spreading.

The way to identify if a new virus is spreading is basically 3 ways:

Dramatic increase in cases:

In the U.S. for the last 20 years there has been a low of 9.3M cases and a high of 45M cases. China has had similar numbers, so in order to get someone's attention we'd need a ridiculous spike in cases in a very short time, and in October, November, and early December China did not have that ridiculous spike in cases. So they would not have known a new virus was circulating based on cases.

Different symptoms:

Covid presents as the flu, so there was no way to know that a new virus was circulating based on symptoms

Increased deaths:

In the U.S. for the last 20 years we've seen a range of 12,000 to 65,0000 deaths, a pretty wide range. China has seen similar numbers, so in order to get someone's attention we'd need to see a huge spike in deaths before it would get someone's attention, and again in October, November and early December China did not have a huge spike in deaths.

Basically the 3 ways to know something different is happening, didn't take place.

Which leads me to he most important question no one is asking, "How did China know they had a problem when there wasn't any data that would tell them something different was happening?"

This for me is the real question. IMHO the only way China was able to discover they had something different going on is because they had prior knowledge or information.

I don't think this was malicious, I think they were studying the virus in the lab, and a Jr. member of the team did something dumb or had an accident, and wanting to avoid getting into trouble the Jr. member of the team covered up what happened.

Then that Jr. member of the team got sick, and some other people they knew got sick, probably other members of the lab team and it was at his point Lab management knew they had a problem. This is how China knew they had a problem when only a handful of people are sick.
Amazon Warns Employees Not to Trust Their Unionizing Co-Workers
https://archive.is/h4hWp
this already exists - set the editUrl in your docusaurus config. https://github.com/temporalio/documentation/blob/master/docu...

if you dont want your docs public facing you can put a password wall on it, but thats a feature of your hosting provider (eg netlify), not so much docusaurus.
My experience in C as well. Have been questioning my own sanity over the years when I read about the language because I get such a different impressions of it from people on this very site, so it’s a relief to get your perspective.
> what you want to have in your new location, or what you are running away from.

Agreed, that's definitely the idea. It's just I found many people stuck with the stereotypical idea of digital nomads who work in Bali, all sunshine and beaches, which makes the first step harder. In fact, being a digital nomad is much easier than that - just find a place that is better than the current, experience things, and then repeat the process.

Also, many Mediterranean cities have pretty decent weather all year round for my taste. I'm not sure if that counts for you :)
I'm perfectly fine with banning Trump, but I'm really unsure how I feel about this. Some random accounts being banned for linking off-site seem extremely harmless and sets up some dangerous precedence for "ban evasion" IMO.
> Elon and Tesla have bet the entire farm on batteries. Something tells me he is not the most unbiased source here.

I completely agree with you on this. Elon is not a credible source of arguments against Hydrogen trucks.

However, I'm having a hard time finding credible arguments for them, at least given low prices for diesel fuel in the US. What is the energy usage per mile for a hydrogen truck?
Arguably, yes :)
I see, that is a valid point. I suppose Google could provide dynamically including ad content into the WASM blob before serving it out to the browser, but I would agree if you said this is pure speculation.
By your definition a retail investor is no different than a hedge fund.