skysight-inc/HackerNews huggingface dataset:
Doing runtime-typechecks really is a blessing, and it would be great if typescript would provide this as a language-feature. There are two more libraries I know which are great for that:

* Zod: https://github.com/colinhacks/zod
* io-ts: https://github.com/gcanti/io-ts (for the more functional-programming-oriented)
All pronouns are made up.
You're being sarcastic, but honestly you've converted me. :)
I suppose that's a function of how large the market can be, and how badly it wants to consolidate.

1. Market: If the pie doesn't grow, you may be right. If, however, these become new platforms, with the majority of use cases and user value occurring in the future, then there's certainly room for many existing players to succeed, and for brand new players to. Most people don't even take notes. What if knowledge management looks different in 10 years?

2. Consolidation: Notetaking is pretty singleplayer and subjective right now. Until there are "network effects", reasons why people would want to purposefully join the same network, a lot of it will simply come down to taste. Note: network effects does not simply mean real-time collaboration.
> You want to claim that version 3.2 is compatible with version 3.1 somehow, but how do you know that?

I don't, not really. All I want to claim is that I to the best of my knowledge, the public API I've documented will not change. [1] It's up to the user of the library to decide what to do with that. Usually, that should be some manner of trust, but verify: a mostly-blind upgrade, but with automated sanity checks ran afterwards.

But the other way around is more important: if I bump the major version, I want them to check my release notes, because I'm expecting it to be likely for them to need to follow some instructions there.

Other than that I completely agree with this article. SemVer is a service to provide a quick tl;dr of your changelog, and the rest is up to consumers.

[1] https://vincenttunru.com/semver-explained
>Bitcoin network only processes a small fraction of the number of transactions per day that Visa processes

Btc is not replacing visa. Btc is replacing central banks. The appropriate comparison here is what is the energy cost of the banking infrastructure of the incumbent system.

>Environmental concerns aside
I am concerned that you are using electricity to power your computer, access the internet, and comment on HN. Are you the arbiter of "moral" energy use? Am I? Slippery slope, and an anti-human one at that.

>Energy prices are notoriously volatile; hence Bitcoin's value will also be volatile.

This is not how it works. There is an argument to be made for risk of on-grid miners sudden increase of electricity prices in the case of a power shortage. Miners don't like this type of risk, so they choose to locate at places with abundant supplies and stables prices of electricity. Miners sign long-term electricity agreements. Risk to off grid miners is another level removed from on grid miners.

>will eventually be abandoned entirely.
According to how you feel? All signs point otherwise.

>the technical objections to Bitcoin outweigh the economic objections
You are free to make your own fork, BIP, or new "crypto" and compete. Good luck. By the way, there are 7999 "crypto" coins competing and losing so far.
Proponents of Bitcoin are rarely financiers. It's clear to me that they don't understand finance.
No. Because in the US we've had such militias/paramilitaries historically, and they largely sought to defend and restore the authoritarian hierarchies of society.

https://en.wikipedia.org/wiki/White_League

https://en.wikipedia.org/wiki/Red_Shirts_(United_States)
Apple “monopolized” the generic fruit “apple” and no one batted an eye (except maybe the Beatles). There’s countless examples of generic words being trademarked.
Any thoughts on Cardano? They seem to be moving slow, but they also seem to be taking a more rigorous approach.
> Citation needed.

Likewise. Can you name a single high profile twitter ban that was due to promotion of white supremacy, sexism, or similar?

> But honestly, it doesn't matter because it doesn't change the fact that this is the libertarian ideal situation.

Monopolies are not free markets.
Interesting, I’ve heard of Mumble but never looked into it. Thanks!
16th place: Our bugs and strategy at Hashcode 2021
I was with you til the last sentence. Have an upvote
In general, I dislike the extra complexity JSON5 brings.

For example, allowing identifiers as object keys.
Very interesting! I have found their product a joy to use and I say this with all sincerity, credit it with getting our business out of a tough spot during COVID. Wishing them the best on the IPO!
I kinda like what you are saying, but it's not that clear-cut in my experience / skill-level.

One can write code that would work correctly, but trying to express the types as precisely as one would like may be painful and doesn't necessarily be productive.

Sometimes when I feel it is cumbersome to express my intent in typing,
I may feel satisfied enough to make a runtime check, (and perhaps add a note but depends...).
Especially if that functionality is used in scoped area (e.g. module) and not exposed to the rest of the app.

When trying to make a generic and flexible functionality, the typing experience seems get harder and more time-consuming for human to grok, and it may not even be that useful when you look how the code is used.

So I usually try to make typing as good as I can by finding documentation related to what I'm trying to do and banging my head to the wall from a couple of angles, and for some specific parts I may give up and type any.

Perhaps sometimes when typing feels hard it may tell that the abstraction is just plain wrong, so there's that plus side!
> Looks like there's a significant push to get people who've had their own servers running to adopt this new service

How do you mean? I run my own, and there’s zero push to move or migrate to Element Home.

I’d imagine this only targets folks with accounts on matrix.org.
> what seems awkward, missing, to me is that all these virality systems are push model. each would be social network has to bootstrap, and it does it by making new users push a bunch of invites out to their friends.

> where is the pull model? where can I go see my friend Cable's activity, see what networks he is most social on these days? Instagram posts to Twitter are mentioned in the article, but that's such a special purpose form, such a one off, made in part possible by the very general share-whatever nature of twitter.

Clubhouse actually is both push and pull. Yes, you can send invites to friends to get them onto the app, but having your contacts also lets them connect you to those already there when you first log on.

Of course this isn't the open pull model you're talking about, where I can discover new things my friend is doing, or find out where he is most active. But using the phone number as an identifier for social graphs is kind of a hack around the non-existence of such a thing.
Gatsby v3.0, Gatsby Hosting, All New Gatsby Image
Very fair and useful criticism, and great questions that really cut to the chase. Next version of the site will make everything more clear, and you'll hear about it first if you're on the mailing list.

"Do we buy the console?"—yes, details on pricing etc. forthcoming
"Who says what goes in the vials?"–you, and the game designers. The console takes "local inputs"(yours), supplied reagents, and combinations of both.
"Is it necessary to clean it out if its nanopores get gummed up?"–yes, there will be easy-to-follow cleaning protocols for the pore cartridges.
"...replace parts?"–just the cartridges themselves, you'll switch them in and out during and between different games.

Get on the mailing list and all will become clear. We're still early... but there's a substantial no-bullshit vision here worth waiting for.
I don't think that history is right. Martin was talking about Eric's work and crediting him long before Eric's book came out. I saw Martin give a talk just before PoEAA came out and he was telling people to wait for Eric's book to get the richest take on domain modeling.

DDD was born from Eric's roots in Smalltalk development. When Smalltalk got supplanted by Java there was a strong desire to find ways of building Java systems that could recover at least some of that development style, such as domain modeling, despite the technology being much less flexible. At the time it had sort of the feel of 'preserving what we can of civilization after the apocalypse'.

DDD wasn't the only thing that emerged this way, of course. Quite a few Smalltalk programmers became influential programming teachers in the post-Smalltalk world (Fowler, Beck, Cunningham). Eric was probably the latest of these to emerge because he spent years working on that book. (It's been years since I've read it but my impression was always that it was unusually well written. It's true that you have to read it as a book to really get it, which is kind of a lot to ask nowadays.)
> Bitcoin is technologically obsolete but that doesn't matter.

Which just underlines how much of this whole phenomenon is brand and hype.
Two men admit misappropriating $50M public funds in charter school fraud
Mysterious Mac Malware
Can someone explain why from the mobile version of Outlook (OWA) I can't send an email marked with Urgent/High priority/importance?
I'm not sure if you're trying to dismiss the parent comment, or if this is a damning observation on "thought" regarding bitcoin. Probably some of both, right?
Show HN: Free tool to monitor Ransomware sites on Tor
Same experience here. Eggshells is a great metaphor
I'm pretty sure it's primarily poor people buying into crypto, not tech workers. Go to r/cryptocurrency and read the posts, does it look like HN (primarily tech people)? are there any technical discussions, or is it just full of get-rich-quick hopers?

hint: posts mostly consist of "<famous guy> tweeted about <my favourite shitcoin>, this is good for the price of <my favourite shitcoin>".
> Here's my primary concern: what evidence do you have that this code actually works?

This is a strange concern to try to address with code-review. I don't think most folks actually expect to catch a lot of bugs by staring at diffs. Testing is the right tool for that job.

> I'm way more interested in that than I am whether variable names use camel case or snake case or whatever.

Style concerns definitely shouldn't be the primary focus of a code review. Ensuring some stylistic consistency through the code base is a benefit they can provide, but certainly not the the most major.

> In fact if your tests are complete

How do you know if the tests are complete on someone's work before they merge it? Don't you need to get in there, and well, review their code to see what tests they wrote? Evaluation of test coverage by a peer is one of the more important parts of a good code review. What other process would you use to ensure incoming patches have the test coverage you want them to have?

> we can always refactor the code later if we need to.

Isn't it better to catch code structure issues when they are fresh in everyone's mind rather than taking on technical debt and addressing it down the road when it will require more effort? We've all written code in somewhat silly ways. My experience is that when a peer calls that out before I merge it, it's way easier to fix up-front than a year down the road when I'm in there trying to fix some bug and am wondering if I should just refactor the mess while I'm at it.
Maybe I'm missing something - I did 'team' work by simply sharing the screen and letting both people control the cursor and keyboard, many years ago.

It had the added benefit of not being confined to a single tool but rather a complete desktop experience.

This strikes me as an inferior offering, as does a non-native IDE as a whole, in exchange for minor convenience. Thoughts?
Interview with Rasmus Andersson
That's a very normal Seiko (or similar) receipt printer. I spent a lot of time programming them. Humorously, the programming manual is marked "confidential" (I guess to make it hard for anyone to make compatible printers), but there are copies of it all over the web, and there are plenty of compatible printers ;).

The POS app that I worked on (not related to the one shown in the video) also went to pretty serious lengths to get rid of the pause between the user pressing "enter" and the receipt coming out. The store operators rightfully insisted on this, because they wanted to keep the checkout lines moving as fast as possible.

I liked those printers and remember wanting one for myself even though I had no use for it. They start at around $200 and take up space, so I managed to resist.
Continental AG | Software Engineer & Software Engineer Intern | Valparaiso, IN | Full-time

THE COMPANY

ContiTech, a division of Continental, is one of the world’s leading suppliers of technical elastomer products and is a specialist in plastics technology. ContiTech develops and produces functional parts, components, and systems for machine and plant engineering, mining, the automotive industry, and other important industries. Our Valparaiso, IN location is seeking a Software Engineer to join our team. The ideal candidate would be willing to learn, is dependable and would work well on a team. Are you ready to shape the future with us?

THE POSITION

In this role, you will collaborate with the software engineering team to build software that works in tandem with Continental electrical systems, for CrimpIQ and CrimpCloud projects, working in a variety of programming languages: Ruby, Java, Python, etc. in order to develop new features and improve existing software systems.

Software Engineer - https://www.continental-jobs.com/index.php?ac=jobad&id=14351...

Software Engineering Intern - https://www.continental-jobs.com/index.php?ac=jobad&id=14338...

Tech Stack: Java, Ruby on Rails, Android, Postgres, Python
That's because the problem is endemic to the cryptocurrency space. There has been very little serious work done on making any cryptocurrency usable as a medium of exchange, even for projects which claim to have that as a goal. Speculation is about the only activity that's possible for most coins, so that's what people do.
Thank you, that's awesome to hear!
Its a neat concept, but this is shuffleboard, not curling. I was expecting a set of robots, a pusher and the ones sweeping. I've done curling before, it's a lot of fun and work. They need a robot that can do more then throw the stone, they need to show it sweeping into victory.
YES! It's not just an in silico project, it's real stuff from inside you, around you, and custom reagents we'll ship to you.
Haha, that was unnecessarily controversial on my part. I can totally accept that other people disagree on that.
Is there any tested and safe way to reflash it with a custom ROM (suggestions?). The chance of bricking a new phone doesn't look that appealing.

ps: Sadly, the Pinephone is permanently out of stock, otherwise I wouldn't even consider anything else.
You're describing the Cinema display
I'm more shocked to see JPM and GSCO taking this on.
Amazing story.

Can't believe the Lotus FTP site is still live. Wonder where that thing is running and if anyone actually knows it still is.

> I was able to find the drivers on an old ftp site.

Wonder what FTP site this is and how he found it?
Creationism has nothing to do with science, neither has ideology any place in science, and you've really got to draw the limit somewhere more reasonable. I don't want my taxes to pay "research" in creationism, morphogenetic fields, astrology, or divining rods.

There is plenty of heterodoxy in science as is - or do you really believe everyone agrees about almost everything in almost every discipline? Pretty much the opposite is the case. Pick any discipline you like and there will be plenty of disagreement about the respective issues in the forefront of scientific research.
What's your point? It's a risk safety net the our society is clearly okay with.
On the subject of enjoying science and mathematics, I know that if I had gone the usual route through school there is absolutely no way I would be studying anything remotely scientific a few years down the line. I took a liking to physics over a summer, almost purely by chance. That's it. The way (this is UK specific) we teach science and mathematics is so detached from anything you'd see at university I'm genuinely amazed the Universities haven't started trying to strangle the exam boards.

Brace Yourself: The UK Physics A-level does not require any calculus at all. None - no scientific method, no discussion of any quantum mechanics etc. etc.
I had something like this in my last job: I had to create an installer for a VCS aimed at chip designer.

The installer would be ignored as much as my coworkers could manage, and as many customers as possible had to be able to just use it unmodified. Since our supported OSes were RHEL6, RHEL7, SLES12, and SLES15, the best option was bash. Also had to build it on the off chance one of our more restrictive customers was still on RHEL5.11

Pain in the butt, but it worked.
> They are a trash company.

How so?
> As an employee, in a growing economy denominated in bitcoin, you would see your pay drop frequently as the money supply gets stretched. There's no reason at all to think BTC-denominated salaries would be able to stay constant as the value of the money rises.

Assuming the world productivity is denominated in 21 million bitcoin, if world productivity grows by 3% per year, my salary of 1 bitcoin gets more purchasing power. This is where you get a lever with your employer, he needs you to earn less, you don't have to negotiate to earn more (same applies to minimum wage, it needs to be adjusted upwards in a inflationary monetary system)

Every money is inherently more valuable yesterday than today, as you can divest it. I would argue that it is very much in the interest of the wider society to have their savings not inflated.

The best way to make your money work will always be to invest it in productivity, be it in educating yourself or investing it in companies. This investments need to be a lot more smarter and more sustainable than those of today, as the base money is not worth less every year.

I think wasteful spending is a property of an inflationary money, where smart spending would be a required property in a non-inflationary money.
There's word out there that SEMRush is entangled with the Russian mafia. Literally everyone right now is getting in on this bubble.
There is no alternative to building models of the world. There are only badly built models (based on individual experience, without opposition or falsification attempts) or better built models (like from scientific process).

You can avoid having models of some domain if you can avoid to make decisions in that domain.
Mhm - if you'll separate your review process from approval process, then yes.
It's against HN's guidelines. I systematically downvote any comment that does it.
It's for more complex queries, eg. active users per country:

WITH active_users AS
(SELECT DISTINCT user_id, user_country FROM ...
WHERE last_login >= NOW() - 1 month)
SELECT user_country, COUNT(user_id) AS user_count
FROM active_users GROUP BY user_country
ORDER BY user_count DESC

Now imagine someone says "what about users that have at least 5 friends?" If you're using dplyr and want to reuse most of your logic, it's just a matter of doing something like

active_users_with_friends = active_users %>% filter(friend_count >= 5)

The SQL version is much hairier, since it's just code that's within a string.
Microsoft's Dream of Decentralized IDs Enters the Real World
Bingo. If your function is properly tested or your _intent_ is properly documented/commented I don't care how the code looks (to a degree), as long as I have all the information I need to refactor it right there.

Also reviewers shouldn't squabble about syntax or formatting, that what we got computers for to do for us using auto formatting tools. Though it does help if a team converges on a similar style for which reviews are great as you quickly learn each others style and cross contaminate them with your own.
This is waaaay off topic, but you've piqued my interest -- what on earth are you still testing with IE3 for?
[[ ]] is effectively an entirely different parser than the surrounding shell, similar to (( )).

so you can do things like

[[ 1 < 2 ]] && echo true # where < is now not redirect, like to (( 1 < 2 ))
[[ "x" == 'y' || x == x ]] # note how || is not behaving the same as [ '' || 'y' ]

`man 1 test` explains the more conventional `[ ]` where the bash man page would better explain the [[ case.
Six Dr Seuss books pulled over racist imagery
> Did you understand me?

I probably understood even more than you were willing to share: your level of knowledge about this topic.

> gender role trolling

What does gender has to do with anything? You brough it up, not me. Also where did I "troll" you? The word "housewife"? Not sure why you would take offence in that, for me it is not a negative or lower-value term, it simply refers to a person that has chosen and has had the possibility and privilege to spend most of their time at home taking care of their family. I could just as easily have used "hairdresser" or "bricklayer", those people have equally likely little to do with crypto and have the same level of knowledge about bitcoin that you seem (assuming by that spelling, in which I could be wrong of course) to have. That's why I wonder, where did you pick that up? That spelling? Nobody in the industry spells it that way, that's all.
You're dismissing a whole branch of computer science on decentralised systems with no argumentation as to why. Consensus algorithms, solutions to the CAP trilemma, uncensorable decentralised applications that run as long as people are willing to use them, trustless oracles, decentralised dispute resolution, democratised loans and finance. Those are some applications that grew out the cryptocurrency space.
Accelerator vs. Startup Studio
I also thought this was about Microsoft Teams TBH.
There is a lot of conflation in btc threads between store of value, medium of exchange, and unit of account.

You are referring to unit of account.

https://nakamotoinstitute.org/mempool/bitcoin-as-a-store-of-...
Given that Bitcoin has become quite liquid, there might also be ways to short it. But yes, governments doing it for political reasons would seem like the most obvious incentive.
> Let us recall that that inflation in Germany is close to 0. Thus, saying that policy X is responsible for a price hike is hilarious. There is no reason to raise the prices of unregulated apartments (second plot), except the greed of those owning the units.

This is a "not even wrong" attempt to connect inflation with supply and demand.
More improvements coming soon. Checkout a demo of one our contributors work in progress enhancement: https://www.loom.com/share/6ea7c016d535469fbc036218d54e4538
>In a food shortage, for example, regulating the price of bread only trades one expression of scarcity (high prices) for another (empty shelves).

Well sure. But the total amount of people who have some bread is now greater, versus a select few wealthy people getting all the bread they want, as the wretched masses stare longingly. You can either increase total happiness, or concentrate it to the powerful. It's pretty clear by the tone of this article which side the writer lands on.
They fund the universities through debt in the form of student loans. The schools then funnel indebted graduates desperate for financial security into various industries where their human capital is securitized. You can call that laissez-faire, but I see a lot of similarities with China’s top down system and predict those similarities to increase as we are forced to compete with China more directly.
Miami Says It Can Adapt to Rising Seas. Not Everyone Is Convinced