skysight-inc/HackerNews huggingface dataset:
There's a good middle ground of bundling your SPA into chunks of related files (I prefer to name them the SHA hash of the content), and giving them good cache lifetimes.

You can have a "vendor" chunk (or a few) which just holds all 3rd party dependencies, a "core components" chunk which holds components which are likely used on most pages, and then individual chunks for the rest of the app broken down by page or something.

It speeds up compilation, gives better caching, no need for a stateful mapping file outside of the HTML file loaded (which is kind of the point of the <link> tag anyway!), and has lots of knobs to tune if you want to really squeeze out the best load times.
that heatmap is just asking to be clustered
https://imgur.com/a/lxn4ApA
I find it fascinating to watch human evolution.

More than three Million years. Our history is captivating.

It's a gift to be part of that.

I still don't understand why is there so much negativity about the humankind, when the good overwhelms the bad and the trend is towards improvement.
> sometimes be optical illusions “created by folds or wrinkles in much larger ‘sheets’ of solar material that the authors call coronal veils.”

So we’re seeing a sheet of paper from the side?
In SQLite3 PRIMARY KEY and UNIQUE constraints beget an (hidden) index, so there should be no table scans.

Also, PRIMARY KEY implies NOT NULL for the columns that make it up, except that SQLite3 has a bug in it that causes it to allow NULLs in PK columns (sadpanda.png).

> Could you recommend any reading I should do?

First of all, I would start with the O'Reilly pocket book on SQL in general.

Second, I recommend you spend some time reading through SQLite3's docs and wikis. There's a trove of generally-useful stuff there. Pay special attention to everything to do with the WITHOUT ROWID feature. Row IDs can be a crutch that slows things down. That said, sometimes you really want an INTEGER PRIMARY KEY, and in SQLite3 that functions like a row ID.

As for schema design, you should know about normalization. The general advice is to normalize to the max then denormalize till your queries are performant. Much schema design wisdom derives naturally from that. For example, I showed you how to avoid row IDs because they seem unnecessary and they lead to extra duplication. For example, your role_user, if it use row IDs for its references, then queries on it will have to join to the user and role tables to get the names, or, if you end up having both, row IDs and names in it to avoid that, then now you have extra duplication and you'll even need a second set of FOREIGN KEY references in your role_user table to keep those names up to date.

I don't really have a good resource for this kind of knowledge. I've absorbed a lot of it by osmosis over many years, and I've developed some of it on my own.

You could use reading about EAV (entity-attribute-value) schema designs, too. Many love to hate them. I don't love them myself. But EAV schemas trivially lend themselves to writing graph queries. For example, one system I work with has a notion of relationships and, interestingly, of relationship groups that are interesting for graph queries, and it represents relationships as an EAV table, so one can easily write a recursive SQL query that traverses all paths from one entity on one side of the graph to the another (or all reachable ones) on the other side without having to make reference to the names of the relationship types.

I am of the opinion that an RDBMS could provide both, a relational table metaschema, and an EAV equivalent, so that one could write very clear queries against the former, but also very simple and powerful graph queries against the latter. However, I've not seen that anywhere. I want this.

BTW, again, when it comes to security-relevant entities, I highly recommend that you a) not allow renames, b) don't allow deletions -- users can be tombstoned deleted/terminated/separated, but do not allow their names to be reused. The reason is that others will tend to write down usernames, group names, etc., and use those for authorization, and then name reuse can cause you grief. You might allow aliases so that users can get different canonical names if they insist on it, but don't allow their earlier names to be reused.
nice!

are you willing to share the Imba code for us to learn from?
and how was the debugging experience on Chrome? Was there a large barrier to go from compiled down JS code to Imba source?
Why not have research snakes? And a research mongoose to eat the research snakes? And research jackals to eat the research mongoose? And research lions to...
>Americans are always the first to cry foul when others, such as the EU, put measures in place to curtail the amount of data collection that happens by US firms

I think Americans cry foul at how feckless the regulations are. Is forcing me to accept cookies really making my life better or the Internet worse?
I agree, stateful sessions can handle a number of problems and use-cases more gracefully. I work with a lot of api's the service multiple clients though and I do see a use-case for stateless as well.
I'm only going off a few media reports from what was disclosed, you're technically correct but the guarantees were in excess of what they would likely have earned from subs.

https://www.nytimes.com/2021/04/11/business/media/substack-n...

This writer had 18k subs at $50/yr ($90k/yr revenue, of which Substack would take 10%) but was paid $430k for 2 years. Maybe they grow their reader base to close some of that gap but it's still a loss leader to build reputation. It's possible some other writers took less favorable deals but I haven't seen the details.
> There is a lot of convoluted bit shifting that occurs in order to get the address and data from a Game Genie. This is probably to make the Game Genie codes seem more magical. After all, given 2 Game Genie codes, one that granted 5 lives on startup and another code that granted 9 lives, and the only difference between the 2 codes was one character, even a novice player could probably figure out that modifying that one character to any of the acceptable letter characters would grant between 1 and 16 lives on startup.

Why would they want to intentionally obfuscate it though? Doesn't it just add more value to their product if people are able to reverse-engineer codes and come up with better stuff?

Or maybe the real reason to randomize things more is because it creates more potential for diversity in the effects of codes? e.g. instead of a code that gives you 5 lives and a one-character-different code that gives you 9 lives, by randomizing things the first code gives you 5 lives and the second code makes you fly

Assuming I'm understanding things correctly
> And real markets aren’t egalitarian, see the bailouts

A market as heavily regulated, subsidized, and insured by the government as banking is hardly a central example of a "real market".

That being said, I'm not even sure what people mean by "egalitarian" in this context, and so I don't know whether the term should be applied to markets or not.
Please link the article in question, instead of a search results page.
That's essentially how proprietary software has always worked except the copyright is usually owned by a corporation rather than an individual.

Unlike most artistic works software projects usually require large teams rather than being the product of one or a small group of authors.

The only parallel I can see would be with films. I'm not sure how compensation works in the film industry but my guess is that most people who work on a film are employees of the studio and only a very small group of people receive any royalties.
Government shouldn’t be in the student loans business. That’s entirely the point and there should be no federal loan forgiveness.
Looks to be a common typo when spamming the words. E.g., "Shit shit shitshit shit shit". I wouldn't be surprised if that's the source of many of those.
Tried most of them for a non-trivial amount of time (daily for between a few months to a fee years) and it’s an easy, easy choice: Obsidian over any of the alternatives, any time.
China has built a couple HTR SMR[1] and is also currently building a PWR SMR[2]. And in the United States, Nuscale is looking to have the UAMPS project starting to supply energy in 2029[3].

[1]: https://www.world-nuclear-news.org/Articles/Demonstration-HT...

[2]: https://www.world-nuclear-news.org/Articles/Chinese-SMR-cont...

[3]: https://www.world-nuclear-news.org/Articles/Fieldwork-comple...
doesnt the hospitable take the umbilical cord without your permission? i mean you could get a dna profile from that as well as harvest whatever remaining stem cells exist.
> And the total amount of the grants was not determined based on population. Rather, amounts tracked with blue votes. The average grant amount per registered voter for a Biden-carried jurisdiction was more than 50 percent larger than the average for those that Trump carried. [1]

>Emails from the Office of the Pennsylvania Governor and the Pennsylvania Department of State show that former Secretary of State Kathy Boockvar and an official in Gov. Tom Wolf’s office knew about private 2020 election grants and invited Democratic-leaning counties to apply, appearing to aid the selective process at a time when other counties were unaware. No email shows any official in either office providing similar information or assistance to any of the commonwealth’s Republican-leaning counties. [2]

It appears that the grant process were overly influenced by politics both from an application, and an outcome perspective.

I'm against privitization of election processes.

[1] https://www.realclearpolicy.com/articles/2022/03/02/show_me_...

[2] https://broadandliberty.com/2021/10/19/former-sec-of-state-b...
Money does have a critical characteristic: fungibility, its defining technological function. Putin stays in power primarily by redistributing kopecks. But unlike, say, land, kopecks are fungible; this moderates and limits his power. People can flee with kopecks. People can transfer kopecks to others without Putin's knowledge or say-so, manipulating social networks beyond Putin's direct control. The power of modern authoritarians is in many ways much more precarious and circumscribed than in earlier eras.

This precariousness is compounded by international trade, making the value of kopecks at least partly dependent on economic performance. (In a perfectly insular economy, Putin would have much more control over kopecks, including fungibility, but you can't regress to such insularity without destroying most wealth in the country.)

Notably, Putin has plenty of kopecks stashed overseas, presumably partly out of concern for the precariousness of his situation, or at least that of his family's fortunes.

Money isn't power, per se. Control over social media isn't power, per se. Voting isn't power, per se. But it's difficult to discuss power without discussing the mediums by which it's exercised and allotted. In particular, power exercised through one medium might not be readily transferred to another medium.
When I have worked on distributed systems, there are often several layers of caches that have nothing to do with latency: the point of the cache is to reduce load on your backend. Often, these caches are designed with the principle that they should not hurt any metric (ie a well-designed cache in a distributed system should not have worse latency than the backend). This, in turn, improves average latency and systemic throughput, and lets you serve more QPS for less money.

CPU caches are such a common thing to think about now that we have associated the word "cache" with latency improvements, since that is one of the most obvious benefits of CPU caches. It is not a required feature of caches in general, though.

The browser cache was built for a time when bandwidth was expensive, often paid per byte, the WAN had high latency, and disk was cheap (but slow). I don't know exactly when the browser cache was invented, but it was exempted from the DMCA in 1998. Today, bandwidth is cheap and internet latency is a lot lower than it used to be. From first principles, it makes sense that the browser cache, designed to save you bandwidth, does not help your website's latency.

Edit: In light of the changes in the characteristics of computers and the web, this article seems to mainly be an argument for disabling caching on high-bandwidth links on the browser side, rather than suggesting "performance optimizations" that might silently cost your customers on low-bandwidth links money.
If an oracle could exist which, given the current state of the universe, could predict every future state including human actions, then we would be deterministic entities, driven exclusively by chemical reaction. If such a thing can't exist, then we (or some other entity I suppose) are holding some idea like free will which is at least existing outside physical determinism.

This does not seem to me analogous to saying whether a human being would behave the same as itself in the same situation, as the presupposed information differs significantly.
I have a day job and write on Substack. I am barely able to post once a month, sometimes less. I still have thousands of subscribers and hundreds of paying subscribers. I think it's an exceptional format.

Actually now that I think of it, zero of the people whose writing I would pay for are "writers" by trade, which is part of the dullness problem of consumer media.
This is really cool.. nicely done @tmm1. I've been meaning to dig into WASM and this is even more reason to do so.
Posts Tagged horse drawn transport
Yes I agree and this is not all together a bad thing.

We need some stability otherwise fast talking demagogues and mob sentiment would routinely upset the apple cart. The bureaucracy (aka the "deep state") provides that.

But what you point out is also a problem. How do you get rid of corruption and incompetence when they routinely circle the wagons to protect their own and are beyond the reach of the voters? It is a big problem in Western society right now.
There's so many good alternatives now: YouTube's shorts, Instagram's Reels, Snapchat's Spotlight
...an awful lot of non-London people aren't aware/ still don't care.
The discussions on gentrification resound throughout the country, though.
Andcthe world, too, it would appear.
I'm not sad.

Mercurial is opinionated. It's had to adopt the Git way slowly, grudgingly.
It's worth noting that the story was for mask mandates, not masks in general. I'm reasonably certain that the science still says that masks can be effective in preventing the spread of Covid.
My experience with Clojurists Together open source funding
The fees from that are rather exorbitant. At least around me, most FFLs charge $100-$200 since they'd rather you buy from them directly (except for PPT transfers, where the cost is legally capped at like $50). IMO people should be able to run BG checks at cost.
> You cannot have non-Chinese DNS servers pointing to IPs in China.

Does this mean one can harass companies one doesn't like by pointing DNS entries at them?
UX Tip: Classify Your Interactions into Obvious/Easy/Possible
The method is interesting, but magic entertains because of the performance/mystery. If you use this tool without providing any of that, it's boring, and people will probably assume you're some form of camera/tool/cheat/hidden helpers and leave unimpressed.
Nobody forces you to take federal loans. It’s not my problem if you can’t pay it back either but you will pay back the taxpayer for federal loans. The reason student fees are through the roof is entirely due to federal loans. Do away with such and the system will self-correct.
None of these clients will likely ever compete with Bitcoin Core.

https://coin.dance/nodes
Brave Goggles: https://search.brave.com/help/goggles
there's a Farsi language insult that only women use towards another woman, translates as flat cunt

the flat part is very important and makes it even more aggressive.

literally, kos chapat

the chapat is the same farsi original root word as you'd find in urdu and hindi for a chapati (the flat bread) or anything else that is flat.
Nah, China was the first country to ban Tiktok.
On pure scale alone, surely urban areas have far more voters, and therefore more need for funds than much smaller red counties?
The flip side to this argument is that it's harder to have a demagogue in the executive if they are indirectly elected. Or worse still a plutocrat dressed up as a demagogue.
That decrepit document has at least partly enabled the US to eclipse and be the defender of Europe in past century. I wouldn't be so dismissive.
I don't understand your comparison at all. A more apt comparison would be between two companies where one has lower salary + higher stock with higher TC and the other has higher salary + lower stock with lower TC.

In that case, valuing the stock is very important because the TC difference between companies depends on it. This is also talking about stock which is liquid when it vests (E.g. public companies).
>ignoring US law,

They didn't. The entire Project Texas / Oracle / CFIUS agreement is in process of implementation. The drama is over China-based staff accessing data while working on Project Texas (to silo US data/traffic), even though Chinese nationals were not on the United States Technical Services team. The ultimate concern is China-based staff will have access to protected US data/traffic after and the effectiveness of implementation. No laws were broken, but doubt whether Bytedance efforts would effectively prevent access. No laws were broken.
For memory, you always need to redesign the part.

Memory is a delicate balance between "we need to store the data strongly" and "we need to write the data quickly" and "make it small".

Memory is one of the things that fell off of Moore's Law quite a while ago.
Methinks the point is for them to sound as dumb as possible.
Because the expected return on a dollar is less than a dollar, but the variance is high. Nothing to do with any magician's sleight-of-hand.
There's nothing wrong with JWT as a token spec. I prefer stateful sessions as well but but a stateless token also serves specific use-cases. It has also become a standard practice for decouple front-ends that live on different domains, etc.
I would prefer we focus on making real data privacy possible. Instead of singling our foreign companies that collect the same data domestic companies are collecting, I advocate that we make data collection harder for everyone. That would mean passing real privacy laws with teeth in the USA that make data collection much harder, and interoperability laws that require Facebook and others to interoperate with other providers which may have a better security profile.

Instead of being xenophobic we can be privacy focused.
There is often a quite significant distance between the beautiful, elegant and efficient design that brings tears to the eyes of a designer, and being pragmatic and financially viable.

Building a new competitive processor architecture isn't feasible if you can't at least ensure compile-time compatibility with existing programs. People won't buy a processor that won't run their programs.
This is dumb. Don't "remove it from app stores" these are companies doing business is the US and Canada - pass privacy laws that protect people, and then fine the living crap out of them until they comply.
If that's the case then they're doing a bad job at helping it to die.

I didn't know about Substack before, but now I do! :D
I think this is a very interesting question and worth debating. The problem with startup equity is that the chance of a payout is extremely small. I've also wondered, if you switch jobs 10 times, and pick up a slice of equity each time, what are your chances of a life-altering exit? And joining a FAANG at a later stage means you won't get a huge payout if you create something valuable. Your equity might just appreciate and if you are lucky maybe you'll get a refresher.

In contrast, in the movie industry, you don't have "equity" that can vaporize or become worth nothing overnight. You share in the revenue. You know with a higher likelihood whether the movie will work or not. So this increases the chances of getting a payout and this payout could potentially last decades. Look at major 80s movies from which people are still making good money.

@tgflynn you are incorrect that a movie or other artistic work only requires a few people. Movie productions require very large teams and these people all need to get paid and get a revenue share. It's also heavily unionized in contrast to the situation with our software industry. You are also incorrect that most people are employees in the film industry.
The internal woke mob at the NYT bullied Bari Weiss out of the organization, now she’s making way more money writing over at Substack. Glenn Greenwald was also strong armed out of the media company he founded, retreated to Substack, and is prospering.

Beyond being a direct competitor to aspects of the NYT’s business, their platform and pro-free-speech ethos are an existential threat to the corporate media (like NYT) monopoly on the Overton window.
Isn't this a bit backwards? The royalty system for writing and music evolved in a different age, an age where a physical artifact carried the writing/music and thus it was relatively easy to charge for it, count the reproductions, and distribute any income. You also have to include the huge special interests that have... motivated... the current royalty system. Google for the story of "Mitch Glazier" and "work for hire" to see what shenanigans have been discovered.

Programmers and the job of programming evolved when a physical artifact wasn't necessary, and has become impossible to attach to a work. It's more or less impossible to count reproductions or uses. Any income collected would be less than the number of reproductions or uses, but by how much is utterly impossible to determine. Distribution of the income would be similarly arbitrary.

The screenwriters, songwriters and authors should be paid like programmers, not programmers paid like screenwriters, songwriters and authors.
Here [1] is some discussion on why someone might want to delete their truck with pros and cons. Here [2] is a diesel mechanic looking at some performance and economy statistics before and after a delete. I think an interesting discussion would be around fuel consumption and the irony of added emissions and fuel consumption from vehicles with emissions controls on them.

I am not a fan of people rollin' coal. It is quite dangerous if someone does this in front of another person as it can block their view of the road. That said, I was at the end of my driveway talking to neighbors. His wife drove by and rolled coal. He was upset but I get it.

[1] - https://www.youtube.com/watch?v=l9Tik1yJ1HU

[2] - https://www.youtube.com/watch?v=JTbPC_c1yos
It's not uniquely American. In Germany, they're referred to as hausfrauenpanzers, or house wife panzers.
Canada’s national police force admits use of spyware to hack phones
I believe that is very unlikely indeed.
Not implementing it yourself does not imply that you should use auth-as-a-service. There are plenty of auth libraries out there for your programming language of choice. Take a look at their source code and see how much stuff is in there to get a sense of why you should not implement your own.

I use django-allauth:
https://github.com/pennersr/django-allauth
L7 = Senior Staff?
IMO this has 2 issues.

#1 If you need an IDE to handle simple things like you list I think the language's development model is designed with IDEs in mind (eg. Java). Better language support and tooling makes all these things trivial without an IDE.

#2 There are no good Free Software IDEs and I will not make ethical compromises with my maker tooling.