skysight-inc/HackerNews huggingface dataset:
Apple have "Password Rules"[1]. No idea how many password generators respect it though.

I've created a CodeSandbox example of it being used.[2] 1Password does honour it.

[1] https://developer.apple.com/password-rules/
[2] https://codesandbox.io/s/password-rules-demo-029h5
> The type system should be able to represent both ways.

Go's type system can already do that, the (x, error) idiom is just standard practice in the absence of Generics and Throwables. Adding generics simply flips the default and exception.

Currently, the exception is to define a custom type which captures and constrains your possible return states, and the default is to return a value plus an error. When that flips, and the default is to collapse error states into a single return value, that will cease to give me the same signals (or at least make them less obvious) as to whether or not my abstraction sucks, which I will sorely miss :P
I really like the idea of teapot, and keep trying to use it. But I end up going back to sc-im each time as it seems to click better in my brain.

Does anyone have suggestions for how to get teapot to click, or suggestions for other terminal spreadsheets?

https://github.com/andmarti1424/sc-im
I have those. What I need to do that requires pulling out my phone, is selecting what I'll listen to next.

When listening to music, I don't usually bother to "queue up" songs/entire albums in advance, or to make playlists, but rather I just have a library of individual tracks, and then, as I listen to a song, I'll have a whim for what song to listen to next. (I use music to inspire me while writing fiction, so a lot of this is about creating the right mental mood for a scene.)

If I'm not listening to music, I'm listening to podcasts, which are also often a "listen to one episode, then pull your phone back out to select the next one" sort of experience, as many of them like to do things like slip in repeats of old episodes, such that a linear listening order gives you things you wouldn't want.
1633, 1633, 1634: Baltic War, 1635: The Eastern Front, 1636: The Saxon Uprising, 1636: The Ottoman Onslaught, 1637: Polish Maelstrom

Although honestly I lost interest around the first 1636 book. For me the initial setup of the United States of Europe was interesting but I feel like as the books progressed they got fairly fast and loose with history and historical characters become one dimensional. The first three books were really good as historical fiction that is clearly trying to be entertaining while trying keep some connection to reality, fourth one was decent, and by the time Flint got to 1636 it was too far out of left field for me and I preferred to going back to just reading nonfiction history books.
That's awesome. I would hire them on just the creativity, and they also understand the js package ecosystem as well.
Yes, I know these but my suggestion was pretty much the opposite, to use Linux as a basis and abstract away from it entirely. The result is better and much more usable. That's just my opinion, of course, and ymmv.
Ask HN: What does it mean when a new blog post isn't shown in new?
Kind of weird given that I followed also the guidelines and didn't boost the submission in any way.
Correlation =/= causation.

In particular, correlation goes both ways. Not only is "video game play positively correlated with well being", but so is "well being positively correlated with video game play".

If we go back to the 1800s and look at masters at Chess, Shogi or Go / Baduk, we'll see that they're all well-off individuals.
That is false. If some small subset of Bitcoin users wanted to or were coerced to change the rules, all they would do is fork themselves into their own copy of the Blockchain. Everyone else would continue using it as they had been previously.
The guy actually had a piece defending his practice making it to HN a few years back. It was not received well.
I still don't understand how you can work safely with this kind of pricing model. You pay $1.50 per 10 million rows inspected by the database.

A relational database like MySQL has a query planner, so you're not fully in control over how exactly the database accesses your data. How many rows are read not only depends on your specific SQL query but also on the contents of the tables you read and the parameters supplied along with the query.

A statistics update that triggers a bad query plan on a table with 10 million rows could cause a full table scan instead of retrieving a few rows using an index scan. Suddenly your query is a million times more expensive at $1.50 per query. Depending on how quickly and widely this scales, that could get very expensive very fast.

10 million rows is also not a lot for a relational database. I know my comparison now isn't fair as you get a lot more with the hosted version, but a quick and dirty experiment with Postgres and a small table of two ints and a text column with 10 million rows took ~1.5 seconds to query on my desktop, using only 1 CPU core. Translated into this pricing model that's something like $60 per minute.
If you build a solid reputation for something, that makes you vulnerable to future allegations along the same lines. It doesn't justify false allegations in any way.
I think you have the sell-side correct there.

And stretching the idea, people who download is-even for serious purposes are probably amongst the hopeless naive/inexperienced ones
Fiat currency, in essence, is equally valueless. It only has inherent value because enough people agree that it does.

Bitcoin is no different (and in fact has several advantages over fiat, giving it further value).
maybe this
https://opensourcelibs.com/lib/ws-scrcpy
Probably it can be defined to be "database as a service".
Sorry, but which Batman would that be exactly?

Edit: forget it. Just figured it out.
"Unnecessary scarcity" - in what sense unnecessary? And you can build housing elsewhere, I don't think artificial scarcity is really a good argument.
“You’re holding it wrong” was a design flaw, the fact that batteries charge faster depending on the state of the battery pack is just physics.

Unless we get to a point where charging is faster by using a linear charge rate, what I said is always going to be true.

As per what your friends Tesla says, it’s obviously optimizing for the wrong thing, but that’s because it doesn’t have the correct information. It’s still going to be based on the owner’s judgement to actually make sure to operate their vehicle correctly.

Imagine a world where everyone drove EVs and we were suddenly switching to gas cars with manual transmissions (because automatics aren’t invented yet) learning to drive stick is not going to be a pleasant experience for more people. The fact of the matter is that there are going to be things to learn when adopting a new technology.

(Plenty of people are and were completely baffled by how to use a smartphone at first too)
Advent of Code?
Wait, what? That never happened to me. How do you go and find out your password then? Trial and error?
Could this be caused by climate change? I feel like they’ve been warning us about such things.
I imagine a better than Disqus system - something with better forum like tools that make the YouTube comments section look bad in comparison. YouTube videos can get thousands of views and their system or disqus' isn't really built to handle search, discovery, etc etc.
Back in the '90s, when we still remembered how to dream, we had CORBA.

CORBA got a lot of bad press, but towards the end, it was actually pretty decent. Certainly the best way to do the thing it was trying to do!
I find video games definitely get the brain working, much in the same way as playing chess or other board games, thinking about problems, etc... Definitely more 'active' than consuming (most) media.

I'd even theorize that video games have become so popular because our brains need some sort of conflict and stimulation; now that we're sedentary and no longer concerned with daily survival and conflict with the natural world/other tribes.
>it's looks like he stumbled and landed on Rittenhouse with the board, rather than actually swinging it.

That is the second time in 7 seconds that Huber's skateboard gets very close to Rittenhouse's head. Here is the first time:

https://youtu.be/1i7xSigmrfw?t=27114

-- after which Huber retrieves his skateboard from the ground, which action is inconsistent with your hypothesis that Huber's goal was to grab Rittenhouse's gun in the second interaction and the skateboard was just inconveniently in his hand.
The idea of non-deletion seems to keep coming up again and again in technology. From Usenet spam to abusive Facebook apps, I find myself wondering if being forever saddled with every abusive smart contract someone ever wrote is really a desirable trait in a long-term planetary-scale system.
Will there be enough upside to Solana though when Ethereum 2 rolls out?
Elevate Winter Summit for engineering leaders
I use the following bookmarklet to fix issues like this. It's similar to the browser addon discussed in sibling comments, but without installing a browser addon. Simply create a bookmark named e.g. "Don't mess with paste" with the following URL:

javascript:void(document.documentElement.addEventListener('keydown',e=>e.keyCode==9&&e.stopPropagation(),true),document.documentElement.addEventListener('copy',e=>e.stopPropagation(),true),document.documentElement.addEventListener('paste',e=>e.stopPropagation(),true))
Qt minor releases are backwards binary and source compatible, but not forward. Therefore this would not be an issue.
Are there any safety/vandalism concerns with leaving a car charging unattended?
It usually means you're a spammer.

If you're asking why that means you're a spammer with a sense of entitlement.

Don't ask what we can do for your blog, ask what your blog can do for us.
Limits are conceptually equivalent to infinitesimals. Another way to view it is that a limit is a way to evaluate an equation of infinitesimals.

Epsilon Delta is not our definition of limits, it's the definition of the derivative that uses limits as the "backend". But even using infinitesimals you can use the epsilon-delta definition of the derivative.
Sounds like a joke, but probably a lot of people got new computers and rebuilt their npm caches
Gall's Law and Prototype Driven Development
> I wonder how many jobs they’ve applied to while bragging about their millions of monthly NPM downloads.

isEven claims to be a learning project. It depends on isOdd and isNumber, both of which were admitted (IIRC) to be explicit NPM download boosting projects. Such that the author of isOdd added it to major modules whenever they could
I'm in the US and have never needed to share a password.
I still use Office 2000. On modern hardware, it opens faster than my mouse button finished coming up from the click on the icon. In an extremely un-microsoft-like move, a while ago microsoft released an add-on package for it called "office 2007 format converters" that makes it capable of opening and saving new xml+zip based formats.

I recommend this setup to everyone. Fast, smooth, no ads, and works well.
you are stuck on NFTs and Bitcoin then. many would agree that these don't hold fundamental value and worth debate. but does usdc on Ethereum have value - probably if you pay taxes. does a token representing a share of a house, or a leverage protocol that's making bank? the token that makes that all possible (ETH), does it now have value because it enables things of value? yes!

anyone can publish a website or a blog post but not all the websites or blog posts are valuable. this does not invalidate the web. the signal/noise simply changes because now it is permissionless and low cost.
> I wonder how many jobs they’ve applied to while bragging about their millions of monthly NPM downloads.

I used to work for a company where it was ok (managers won't say anything, even if explicitly pointed at the situation) to remove company company code, create your own NPM package (on your own private NPM account) and add it as a dependency of the company codebase(s).

This and some other similar behaviours were the reason I left that company. But I'm the loser of the story here, as those guys are now working for even bigger companies with bigger salaries than me.
Can you point me to something more specific? It looks like he was part of some major cryptographic advances before sailing off into snowballscheme land.
>Had Mitt Romney been the subject, the media would probably have been more skeptical

What do you base this on? Do you not remember the Romney campaign in 2008? He was "otherizing" Obama, and we all know that's crypto-fascist talk. Not to mention his "women in binders." Or his connections to the Mexican Romneys who were polygamists and otherwise unsavory. That's just 12-odd years ago.

Believing the media is, in any way, unbiased or otherwise independent is foolish. All you have to do is compare the Steele dossier with the Hunter Biden laptop. For the former, there were stories every week about how Trump was basically a Russian asset. For the latter, the laptop was ignored, and the NY Post deplatformed by tech companies for writing about it. Now imagine if the laptop had been Donald Trump, Jr.'s. Is there any doubt in your mind that we would have heard about every sketchy thing in it? How big would the NYT headline be? How many segments would Colbert do on Jr.'s peccadilloes?

Journalists aren't better people than the rest of us. They have their biases just like you and me. As I see it, the real problem has been the consolidation of media into large corporations, all of which work with the government to construct the narrative for their own benefit. You could probably fit every truly independent working journalist into a Winnebago.

It's always best to approach everything you read with a healthy dose of cynicism.
This is a very well known trick that we don't talk about much in public, but this is how most people with hundreds of repos on NPM get to this number.

One very popular terminal progress bar spinner has over 30 dependencies. One with the list of colors, another to display colors, another to clean the line, another to check if emojis are supported, another one with a list of emojis... plus a whole lot of wheel reinvention.

It was visible that most code in the sub-packages were just functions copied almost verbatim from StackOverflow.

It was also extremely limited when I tried to use it, and had quite a few bugs (it only really worked well on Macs at the time), despite the extremely large number of dependencies. Reimplementing took about 20 lines.
This is fantastic. It's so smooth. I've been looking for something like this for a while.

It didn't register my mouse and keyboard inputs at first. It worked after I enabled "Allow granting permissions and simulating input via USB debugging" option on my phone.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mous...
Thanks for this. The site does a poor job of explaining what they actually do
> At least password rotation ( = xxx1, xxx2 etc) has gone out of favour.

Not everywhere. Some contracts our org is engaged with specifies yearly password rotations for our single sign on system. Now guess how many folks rotate their passwords.
You joke, but:
https://www.npmjs.com/package/is-uneven
Chip Measuring Contest
Interesting, but it doesn't actually explain why he was denied membership -- other than the obvious "didn't get enough votes" reason, with some speculations about why.

Original title of article is 'Kinship with the stars'.
It's gonna be glorious
> Imagine when you buy that thing on your Business Visa, and the 'smart contract' is signed, sent to head office, sent to your accounting software, balanced, money in your bank account immediately etc.. All with a series of signed elements.

This already happens at every company I've ever worked for, modulo the "in your bank account immediately" part. But that's down to how cash flow works, which is fundamental to most businesses/industries and can't be solved by anything other than time travel or teleportation. No amount of crypto is going to change the fact that the restaurant needs to sell a completed before it can pay the cook for their prep work. Even if bank transactions were immediate, most people would have to wait until their next paycheck to get reimbursements.

The underlying technology is a 90s relational database, some html/javascript/php, a bunch of java, and probably some cobol somewhere.

> And maybe importantly: to skip VISA and classical banks while we're at it.

As much as I hate the privacy invasion of cc companies and banks knowing everything I buy, the idea of my entire financial life being published on a public chain is waaay more creepy. Like most normal humans, I am mildly creeped out by big companies knowing things about me but would be seriously angry if my manager, pastor, or mother-in-law knew those same things.
This package in turn depends on is-odd.
> I have friends who set up their own web pages in the late 90s armed with Notepad, free hosting supplied by their ISP, and some online help.

> No chance at all of most people being able to do that today.

What are you talking about?

You can still do all that. There's still free hosting available, just not through your ISP.

You can still hand-edit HTML with Notepad and publish it to a free web host.

> It's great that you know what a build system and github and dependencies are, but most people don't.

All the added complexity of web deployments these days is not required for a simple personal web page. You don't need JavaScript, a build system, dependency management, etc. The plain HTML written in 1998 still works today. Even the old HTML frames still work, according to a quick Google, even though they haven't been used by any site in well over 15 years.

> And IMO they shouldn't have to.

Good, because they don't.
Show HN: I built a virtual Co-Working space for bootstrappers
I do this on quite a few sites. Most of the easy ones have an easy to find onpaste event wired in the DOM and it's a simple delete. I feel like there are so few legitimate uses of onpaste and the browser should have an easy override that if I ctrl+v three times in quick succession or something like that it ignores or disables onpaste events.

Alternatively, my password manager does have a decent "autotype" tool when all else fails.
So in conclusion... maybe checking whether a number is even in JS isn't as trivial as everyone thought, and projects reusing that code was a good thing?

Or are are all those extra checks unnecessary now that TypeScript exists and new functions like Number.isInteger have widespread browser support?
Tezos will be a big competitor. Its self amending mechanism allows developers to inject proposals on which the bakers are invited to vote on. Every ~3 months improvements are made. Its language allows formal verification. But the most important of all it upgrades itself without forks. It is liquid PoS since the beginning. Transactions or contract calls cost below 1 cent, due to steady implemented gas fee optimizations. This month 30M contract calls will be reached whereof almost all were done this year. More and more serious businesses are joining. https://tezos.com/
https://techcrunch.com/2021/11/15/entrepreneur-first-launche...
Gene Kim (Co-Founder of Tripwire) on Dev Priorities the DevOps Ecosystem
What happens if the origin server goes bye bye? Does that mean I would lose access to whatever it is I signed in with?

Yes, Google has the same vuln - and Apple - and Microsoft....i feel like they have a bit more stability than any individual matrix server though.
Is it possibly an unaccounted for side effect of the vaccine?
One thing that was the primary influence of whether this was actually self defense or not was what happened between the interview where he explained how and why he was there, to the start of the video in front of the store where he first fires. I'm not sure (I haven't been following the trial) - but have seen a few people mention that someone else "shot into the sky" while a fire was being put out, and words were exchanged, which led to the accused leaving the area, going to a better lit area, which is when the infamous video started.

It really puts a different perspective on the entire thing, especially if you notice at the end of the video he was moving toward law enforcement the whole time.
Yes, I certainly agree that there's woo going on in both, and enthusiastic misunderstanding of technical things is a powerful and problematic phenomenon.

I watched a video by a surf instructor the other day who kept talking about the Bernoulli Principle breathlessly and it was clear that the instructor had no idea what it was (he was actually talking about cohesion / adhesion of water)... and I'm sure most of his audience just ate it up and will be repeating it.
Going through this myself as well. Sadly - divorce shouldn't be such a devastating process as it is (in the US).

Child support statues are incredibly flawed in certain states -- NYS in particular -- and lead to the process being more drawn out than it needs to be. NYS doesn't take child custody splits into account when it comes to setting child support, and as a result the "high earner" pays a pro-rata share based on relative income to the "low earner", irrespective of any custody arrangement.

[Edit to add] Exacerbating this is that it's generally cheaper to reach a settlement, instead of trying to advocate to actually fix the laws / statutes.
Ah, sorry, I must have woken up and read that upside down.
My biggest feeling about learning JavaScript build tools and ecosystems is I learned nothing! I learned a bunch of ways to navigate through man-made unecessary complexities, and end up with no new knowledge in computing. The brightside is it increases my tolerence for bloatware, which is a valuable skill to have nowadays.

esbuild is one of the few good tools, it has a ton of features and it's still fast and lean.
But DAMMIT, developer productivity, man!

But, honestly, do developers these days just not have their OWN libraries of code they bring along with them? Are they SO dependent on others they can't write trivial code?
The submission has been flagged. Choose "show dead" in your profile to see flagged submissions. Sometimes valid content is being flagged but sometimes it is not.
That horrible realisation that because of its dependency on is-number, and all of its checks and pretty error messages I can imagine there's actually some valid use cases for this package. You can plug this right into a user input validation system and it would work perfect for production use cases in a way that num % 2 === 0 just wouldn't.

Almost other use case for it though.. horrible. This package would be much better if it was in some sort of namespace that indicated it's for user input validation only.
One costs money and requires a physical item, the other is commonly free, and you can sign in from multiple locations/devices.

Hardware tokens have only managed to prove that hardware tokens won't ever take off due to their inherent limitations and liabilities.
- funded an Afghan refugee friend in Turkey with ETH. they have no bank account.

If they have no bank account, how do they convert ETH into something actually useful to them (presumably Turkish Lira)?
I had it happen a few times. Usually I would reset it a few times until realizing that it's obviously not saving the password I'm entering, at which point I would try a setting a shorter one.
I can't wait to get all my money stolen with this new and exciting world.
Suddenly seeing metaverse and web3 all over the place, after FB announced their rebrand. Disney even talking about their metaverse ambitions.

I'm sure the terms existed prior, but I never came across despite being an avid browser/news reader.

I believe the concepts can bear fruit, but feels like a sort of euphoria/me too kind of buzzword without a lot of substance. By substance, I mean tangible utility benefit to society in the short to medium term.

Is it just me?
Well since it went up 500% in just 2021 it seems really suspect to blame climate change as that would lead to a ramp up over time rather than a sudden change in one year.