skysight-inc/HackerNews huggingface dataset:
If "| undefined" is spreading through your code like a virus in cases where it's not actually optional, then I'd argue that the problem is upstream where the data is ingested, and the code should be enforcing "must be defined" at input validation so that you can carry a clean "Color" type everywhere else.

If it's about optional parameter weirdness and TypeScript's lack of method overloading, I suspect that's inherited from JavaScript's laxness with method signatures. I don't like it either.
I'm not saying you're wrong, but if you're here to discuss, you might as well do it properly. I'd love to hear what exactly is nonsense (or if it's easier for you, what's not nonsense). Also pointing out the exact flaws regarding "leap of bias" would be helpful.
Yep. My experience as well. In a large project, the types often end up being pointless since you can easily just ignore them at any time, and the "compiled" JS will just happily go along with it all. Eventually I hit a point where I wonder why we're even bothering using types.
How is it relevant to CPAC that it was used in Charlottesville?
I often write Typescript and don't mind it; type safety is neat. But my personal take is that if I can't drop code into a webpage/console and have it execute immediately, it's not a "real" part of the web stack. It's a very useful abstraction for large projects, but it's still an abstraction from the actual syntax of the web.
My biggest problem with Elasticsearch is how easy it is to get data in there and think everything is just fine... until it falls flat on its face the moment you hit some random use case that, according to Murphy's law, will also be a very important one.

I wish Elasticsearch were maybe a little more opinionated in its defaults. In some ways Clickhouse feels like they filled the gap not having opinionated defaults created. My usage is from a few years back so maybe things have improved
Or Cardano
Sorry for the excessive negativity. These kinds of product page for software a big pet peeve of many - light on details, heavy on marketing does not endear anyone to the grumpy HN crowd.

I think the biggest single improvement you should make is adding a paragraph above the fold that describes in as plain terms as possible what your project does, and the problems it solves. Most of your bullet points on the website describe your project as being different or better than something - but the reader has no reference for what that baseline something is.

For example, “Don’t settle for localhost:3000” - this doesn’t give me any information about what the project does, or why it’s better.

Your README is much better than the website! Here’s how I’d summarize the bullet points at the top of the README into a paragraph you can put above the fold on your site:

React Cosmos is a component development, test, and preview environment separate from your application. Iterate on individual components in isolation. Build a library of test component props & states that you can run visual regression tests against. Cosmos is flexible enough for use with different bundlers and build systems.
> I’m not a lawyer, but isn’t it reasonable to pull the plug as soon as the publisher had lost the contract termination lawsuit? Otherwise it seems like a loophole if the publisher can keep appealing indefinitely while getting (and withholding from game dev) all profits from the sales.

On the contrary, it sounds like the publisher had already given the develop several millions of dollars to develop the game. You can't just declare a contract void, keep the money, and tank the deal.

https://webcache.googleusercontent.com/search?q=cache:DwqXp6...

Frogwares was under a court order to fulfill their obligation.

IANAL, but it's worth pointing out that none of the court orders precluded a lawsuit for Frogwares to collect their fair share. But them violating their obligations in the mean time is probably bad faith and will land them in hot water.
I love this article because I wrote it!
Trying (and Failing) to Speed Up String.startsWith
You’re saying Bitcoin will never be mainstream if it’s not accepted by a militarized government.
Swartz created a company called Infogami "that would help users build websites". That company merged with reddit, which had already raised $100K. Swartz didn't create a social media platform, and he never had to make decisions on how to moderate user generated content across millions of users.
Worth reminding everyone that PinePhone and Librem 5 both exist: phones that run bonafide, open source and open development model, honest to god Linux. No Google funny business. They're immature but they're getting there, and their releases don't involve doing surgery to take lots of stuff out. It is the only sustainable model for free software on mobile.

See:

https://www.pine64.org/pinephone/
https://puri.sm/products/librem-5/
Exiled WallStreetBets Mods Want to Make a Blockchain-Based Hedge Fund
The Firebase Data Processing and Security Terms [1] (section 5.2.1) limit Google's usage of any data they obtain through Firebase and would seem to prevent that sort of tracking.

[1] https://firebase.google.com/terms/data-processing-terms#5.pr...
I read the article and disagree with its conclusions about science education. I think science education isn’t actually taught the way the article says it is. At least that’s not how I was taught it in good public schools until college, at which point it was taught the way Feynman says. If it actually was taught that way at earlier points, I think we’d be in a better place.

We teach a bizarro world version of feynman’s quote, where it’s more like the way we teach the formulas in math. It’s the right formula that they’re teaching, but the way it’s taught is encouraging its use as a black box.
I'm close with a person holding a Ph.D. in economics (close as in she's my girlfriend), and she would absolutely enjoy arguing with you.
But that's what "theory" means. It is, in fact, a guess; a guess that could be flat-out wrong the second a piece of contradictory evidence comes to light.

But, instead of acknowledging that, for some reason a large group of Science Defenders have chosen this hill to die on where actually theory means infallible truth that mustn't be challenged, especially not from the likes of the common man.

There is such a drive to prove the religious wrong that we've thrown the baby out with the bathwater and created some kind of anti-religion where all skepticism is immediately put down and skeptics are excommunicated.
As far as I can tell, it is not the point of this article that science teaching has led people to acquire a mystical infallible view of the scientific method which holds that people who come to different conclusions than the current consensus are biased; rather, it takes it as a premise.

In the final section, "Scientific Dissent versus Science Denialism", the article takes the position that this posited reverence for science makes it difficult to see the flaws in climate-change denial: "And without a social epistemological critique of the claims of climate change deniers, it is difficult to recognize that they are not doing credible science."

Ironically, the article itself does not present, or even mention, any empirical evidence for this being an important factor in people failing to recognize the above (maybe the evidence is in one of the references, but if the author can't be bothered to say so, I'm not going off on a wild-goose chase. The author here prefers to try deducing the alleged cause of this state of affairs from the position of another philosopher.)

I'm all for people gaining a better understanding of how science works, but I am doubtful that this particular issue is central to denialism not being recognized for what it is.
> Bitcoin is digital gold for settlements among digital currencies.

What are the implications of this on the network stability wrt mining? Doesn't bitcoin need transaction volume to remain a stable network?

My read is that the incentive structure changes. Right now, miners are motivated by block rewards. In the future, they'll be motivated by transaction fees. If transactions are rare, mining profitably is going to become much more difficult. Pair this with 51% attacks, and the long ramp-up of mining capabilities starts to look like it will regress after the the rewards go to zero. Can the network survive that?
If Bitcoin becomes the reserve currency, the theory goes that the US would not need to involve itself in as many petrodollar wars as it does today, thus resulting in a smaller military.

I don't think anyone seriously thinks Bitcoin will replace militaries completely.
This is so much more expensive than Slack. If you were comparable you might have a sell with E2EE but this seems way off.

[edit: seems like I failed to parse Slack's pricing page. Slack is expensive as hell. Carry on]
I call this the "not as smart as we think we are" problem.

Given on premise, "everyone" thinks their boss is a dope and they could do a better job.

If this were true, then companies built by disgruntled employees leaving their bosses to do said "better job" should be able to outcompete their former employers. Market pressure should push other competitors to adopt similar "better job" practices, and the "dope manager" problem should evaporate away.

But it hasn't. We'll even hear stories about companies that were started with this intention (e.g. Valve), only to later hear other stories about how the bosses are dopes.

I consider one of two possibilities: either there is no such thing as market competition, or the original "everyone" is not as smart as they think they are, and can't actually do a better job.

It could be that success turns you into a dope, but that doesn't change anything. The lack of ability to perpetually do a "better job" pushes us into the "no real market competition" scenario.

I'm actually on the fence as to which possibility I believe is the case. I suspect both are largely true, but which one is dominant is not clear.

As another example of "no real market competition" problem, consider that even small towns have multiple pizzarias, all of which are essentially identical, and equally shitty. They order their ingredients from the same vendors. They either order their equipment from the same vendors, or get it used from the previous pizzeria that went under because it's in a terrible location/ran by a dope, who themselves ordered everything from the same vendors. This "shitty pizzeria" model of markets states that store-front location and customer price biases are much stronger elements of success than product quality, as no pizzeria could afford the marginal cost of improving their product to attempt to capture a greater proportion of customers.

I think a lot of software gets made under the "shitty pizzeria" model. Most software consulting seems to be more about where the consultant is located than what the consultant can do. And in particular, I think a lot of the indie games market fits this market, made famous by memes showing rows upon rows of nearly identical icons in game app store listings.
This looks useful - thank you for your hard work.

I do find some of the documentation/presentation à little bit confusing. I gather that when it says "fixture" - that means scaffolding to render a given component. When it says "visual tdd" - it does not mean to imply repeatable, automated red-green tests, but rather that it provides a sort of wysiwyg - or rather - wyciwys (what you code is what you see).

It's a band aid on the fact that we should be able to just draw widgets in a rich editor, but are stuck using text (code) to implement them?

(I don't mean band aid in a bad way for the project - it's just were we're at with web ux/ui. It's a bit like having postscript, but no wysiwyg dtp program to go with it).
Looking at the Internet Archive for typescriptlang.org, most (but not all) of their original samples are doing something in a browser[0], so while it definitely became popular with backend developers, I don't know if I would go so far as to say it was created for non-frontend developers who were forced to deal with the frontend.

[0] https://web.archive.org/web/20121004030106/http://www.typesc...
SoundCloud has announced the introduction of fan-powered royalties
> I have seen 50 startups that have pitched building a shittier version of git for academics because they can't be bothered to spend time reading the internals of git and have no idea how well done it is.

I suspect git would make a fine back end for a more polished product for scientists. A github for scientists sounds very interesting.
the "Fanboy’s Annoyance" filter (not on by default) seems to get rid of it
The paradigms are remarkably similar, the implementations are different. Understanding how they're the same and why they're different; both are valuable.
Most people on hacker news don’t understand science.

Probably you don’t either. Did you know it is axiomatically impossible to prove anything to be true in science?

Every claim made by every scientist from the beginning of science to eternity has never ever been proven true. In science you can only falsify things.

If you don’t know this or don’t logically understand why this is the case then you never truly understood science.

People understand science from a cultural and political perspective. From a logical and axiomatic perspective, in science you cannot actually prove anything to be true.

This flaw within the actual framework of science itself is the origin of much of the misunderstandings and debates in the cultural and political arenas of science. For example no scientist can actually definitively prove global warming is real.

It is literally fundamentally impossible. Hence the politics.
In Bitcoin, the “local currency” equivalent to your “MyDogeCoin” example is called The lightning network.

Simplifying a bit to support your analogy:

Bitcoin lets you lock coins on the chain for a certain amount of time. Two people can do this, then trade bitcoin transactions back and forth without submitting them.

For example, I lock coins and give my coworker a bitcoin transaction I have signed giving him $10 worth of bitcoin for my share of the days lunch. Next day he fives me one for $13 for his share, and I give the restaurant $43 for the bill— all these transactions are literally trading bitcoin IOUs, but in a nearly trustless way.

This means a great deal of transactions can happen off chain without the risk of theft.
> Bitcoin is excellent for buying drugs on-line.

Out of all cryptocurrencies that exist today, Bitcoin is probably the worst one for buying drugs online. It's pseudo-anonymous at best (compared to Zcash that is actually anonymous), slower than many others and if government agencies have tracking tools in the cryptocurrency space, Bitcoin is probably the most popular target for those tools.
> 4) the ability to see some sort of evolution or mistake-fixing in the project's history.

Rather than 'mistake fixing', what I want out of a project's history is evidence that the author hasn't done some form of p-hacking. But that purpose can be served just as well by preregistration.
https://en.m.wikipedia.org/wiki/Preregistration_(science)
Of 126 conversations, only 2% ended when both participants wanted them to
Gatsby v3
Ask HN: What are your favorite business books?
Some people like to socialize with each other.
More like:

1. Download Steam client

2. Click to install Steam client

3. Steam client starts to download even more crap itself

4. Steam client actually starts installing

5. Sign In/Register

Then when you want to install or even play a game...

1. Launch Steam

2. [UPDATING STEAM, PLEASE WAIT]... Jesus Christ...

3. Sign In/Register

4. Click to install game

5. Launch game

6. [CHECKING FOR UPDATES, PLEASE WAIT]...

7. Finally play game

And if your internet connection goes offline? Enjoy, you're fucked.

Yeah, fuck Steam and all similar bloatware.
Maybe try reading the post again? I have no affiliation or even opinion about that coin, but it is painfully clear for that post only that the proposed problem of value is

"valid consensus mechanism that scales of PoS and PoW networks".

Half of the comments on this page complain about how Bitcoin uses too much energy and how PoW is wasteful. This is a direct (allegedly, if what they write is correct) solution to exactly that.
Given what governments worldwide have done with currencies in the past, I think you’re underestimating their capacity and how much they care about the functioning of their currency.

If you’ll excuse my admittedly also-naïve wargaming of their responses:

“Dear ISPs, this is the government. That stuff you do to block piracy and illegal porn? Do that for bitcoin.”

“Dear Banks, this is the government. Purchase of bitcoin is now a federal offence. Tell us if anyone tries to exchange them for money.”

“Dear The Power Company, this is a government order. Turn off power to these properties who are engaged in illegal Bitcoin mining.”

“Dear everyone, this is the government. Your taxes can only be paid in dollars, not in bitcoin.”

(Not that I would say such things will never happen, only that I expect America to become irrelevant on the world stage before it happens; and even in the most extreme USSR-mimicking scenario that is not something I expect before 2041).
To be fair, what Tailscale is doing is much harder than our private networking. They have to deal with NAT, mobile OSes, etc.

We mostly just try to pick the right primitives. And frequently get that wrong. Like that time we wrote our own JS runtime ...
Yeah i think most people looking for this don't necessarily care about the distinction between unit/integration (i myself don't really know anymore because so many of my elixir "exunit" tests hit the db -- it's fine) they just want something TAP compliant and maybe also offers green dots.
Olric: Embeddable, distributed, in-memory data structures in Go
In particular, I suspect science only "works" to the extent that a certain amount of heterodoxy is tolerated. If "science" as an institution becomes very conformist, then you'll only get science that reinforces the biases of the prevailing ideology. The quality of the output that the institution produces depends on the health of the institution, where "health" means something like "ideological diversity" as it does with natural ecosystems.

A lot of pro-conformists make the argue that tolerating ideological diversity means regarding creationism and evolution as equally valid; of course this is untrue--science can (and indeed did) find that evolution is the more valid idea without explicitly persecuting creationists. In other words, normal heterodox science would already prefer evolution to creationism--not only is there no need to (for example) write open letters demanding various creationists' resignation/termination/excommunication/etc, but that sort of persecution actually harms the health (heterodoxy) of science (not because science needs creationists, but because science needs heterodoxy to be able to decide that creationism is the invalid idea in the first place).
No doubt there have been great improvements in software development tools and languages. But it also take experience to differentiate between the hype and FUD, and true advances. As a senior dev pushing back against FOMO driven development and resume padding is exhausting.
The Sia Foundation | Ops Director | Boston/Remote

The Sia Foundation is hiring a Director of Operations to own the organization's operational functions: finance, accounting, HR, general administration, etc.

Key responsibilities:

- Establish org-level processes and supervise the Foundation's day-to-day operations

- Work with the Executive Director to ensure that the operational strategy supports the Foundation’s high-level goals

- Act as the Executive Director’s chief of staff when necessary

- Work with the Executive Director to set finance strategy, and oversee the finance infrastructure and functions, including financial modeling, payroll, bookkeeping, custody, and grant disbursements

- Coordinate with external accountants and auditors

- Own the HR function of the organization, including setting organizational policy with the Executive Director, coordinating recruitment, and managing the internal employee review process

- Support the Foundation's grant programs

You have:

- Passion for the Foundation's mission of distributing cloud storage infrastructure (you want a freer, more censorship-resistant internet!)

- Proven experience of running many aspects of an organization

- Ability to keep a pulse on all internal functions and wear multiple hats

- Familiarity with cryptocurrency (technical skills are not required)

- Experience managing external relationships, ideally with auditors and accountants

- Strong written and oral communication skills

Interested? Email luke@sia.tech with a resume and cover letter.
I'm glad you mentioned this. Indeed, there are two different things. First is the linearity of blocks and the second is the linearity of the emission of units with which we transact. Bitcoin has the former, but does not have the latter. You can't unambiguously say "I'm going to buy an hour of Bitcoin" because this hour depends on _when_ you plan on buying them - the emission over any time interval (including one hour) changes over time due to the halvings. This is why I think coins with a constant emission (especially Grin where 1 coin is emitted every second) can bring to life the saying "time is money" because money becomes time. There is no difference between calling your 100 Grins "100 Seconds" and buying an hour of Grin. So yes, you're correct that the article talks about the "block time", but I think this can be pushed further where you not only have a global clock for events, but your unit of money is time itself.

P.S. I prefer thinking of a blockchain as a "drunk" clock, because of the variance that comes with the finding of a valid PoW. It might sway a bit left and right, but it mostly goes in the straight line in the end.
Simple proposal:

The data should be tightly controlled by the user, like HIPAA.

Users can sell their own data for services, but they can't sell other people's data.
It's Bloomberg so of course anything helping the poor is a "disaster".
You're not getting it and not telling me anything informative. It kills my grapevines. It's safe for humans and shitty to plants that aren't engineered to tolerate it. It's a dick-neighbour thing to do to spray it indiscriminately and in the wrong weather conditions but it happens _all the time_
The current major difference between markdown-based and db-based apps is block references. Over time, the difference will become significant as knowledge bases grow in size.

CSV -> Excel -> SQL -> Distributed Cloud DBs

Furthermore, our database supports data types, including numbers, dates, etc. I don't think any networked notetaking app has executed well on tables and non-string types. UX for tables is generally not great for markdown.
Spaced Repetition for Learning Programming and Other Skills
> even your senior code.

Especially your senior code, by the time you get to being an experienced engineer you really should appreciate the value of lots of eyes on your work.

You may indeed have written the greatest opus magnum of your programming career, but I bet there are a few little bugs or edge cases or something you've overlooked. There's always something.
Do we need a corollary to Godwin's Law? "The longer an app is available in the App Store, the probability that its icon will eventually resemble Hitler's mustache approaches 1."
It's always amazing to me that so many proponents of "at will employment" suddenly run into issues with it when they are the ones suffering consequences for their own actions. It's fine when trans folk are fired for simply being trans, but when a someone is fired for a racist tweet then all of our liberties are somehow at stake. People get fired all the time for terrible reasons. People fired for their social media activities aren't special in any way.