skysight-inc/HackerNews huggingface dataset:
Sure, so anytime you read JSON from a file or receive it from a network call, somewhere in the stack you're running JSON.parse() on it to turn the JSON string into the javascript object/primitive (or when you pull in data from a db). What happens if that object isn't what you think it should be?

So like, if you've got an endpoint that says it returns

interface Foo {
baz: string
bar: number
}

What happens if the endpoint actually sends you

'{"bar":"23"}'

? How do you check to make sure the 'unverified' data is actually what you think it is?

Or if the db schema has a nullable column but the typescript type for some reason isn't nullable/optional? Or worse, the db query isn't pulling the fields it should be (eg the db schema changed but the typescript definition didn't).
> Interpreting it like that is just putting insecurity on display.

Of course, that's exactly it. Responding to every single thread about the US with "I don't understand why the US is this way, we do it better" isn't divisive at all. And anybody who suggests so is insecure.

I prefer a constructive discussion. This ain't one.
Look at smaller companies where your "worked for myself" is seen as a plus than a minus at say a larger/corporate company. Smaller company is not always same as startup btw where there is more risk. I run a small company and I could really use entrepreneurial people who couldn't quite do their own thing on their own but would fit in a team where they have plenty of autonomy and decision making capabilities considering they bring the relevant temperament/experience/talent/skills.
I'm curious what an example use case is for scientific computing on an embedded device. Is this for real-time analysis on a data logger or something?

Many of us think of clusters as high-performance scientific computing, which are about as far from embedded as it gets.

Please note that I am not being snarky, just curious!
What I would like cameras to have is apps. Sony started some time ago to allow apps on their cameras under the name PlayMemories but for some reasons, they back off.
An Arena Named After a Brand Is Always Temporary
What is a flash commander?
I still find it amusing that XMPP by design violates XML spec, thus requiring its own custom XML parser.
It's been a few years since I developed in python. What kinds of limitations does emacs have for it?
Can confirm. Took me about 20 minutes last week to purchase a new domain, change name servers to Cloudflare, create a Vercel account, setup a project, add a custom domain, and then update A/cname records. I'd never used Vercel before then.
How is it racist? Is any joke that targets a POC racist even if there is no racial content or nature to the joke?
And the rest is history. And the first or second largest market cap company in the world.
I don't think it's very good for that. plenty of people that could trivially pass fizzbuzz would struggle to recognize whether dfs or dp is the best approach to some problem within ten minutes.

as I candidate I actually love leetcode problems. it's a clear evaluation target that I can prepare for as much as I want in my own time. if I can solve most lc mediums in thirty minutes, I can be confident I'll get at least one offer with good compensation.

I'm less clear on the value lc provides to the employer. the hardest problems actual engineers face are nailing down requirements and figuring out who/what to consult to unblock themselves. by the time you sit down to code a solution to a well-defined problem, most of the work is already done.

to put it in joel spolsky terms, lc tests for "smart", but doesn't provide any signal for "gets stuff done".
No, that's a smart question because MSG is so prevalent in our food. You'd have to ingest a lot of MSG to make an impact on glutamate levels, which would then affect GABA, which then affects ADHD symptoms.

https://www.karger.com/Article/Fulltext/494782
It's also nice for pirates and pornographers. :D
Didn't this case [0] set a precedence that "scraping is not against the law" irregardless of EULA?

[0] https://en.wikipedia.org/wiki/HiQ_Labs_v._LinkedIn
> I tried closing my French bank account, but they wouldn't let me (IIRC because the cell phone provider was making ongoing withdrawals)...The French bank continued sending me demands for money.

This is the worst level of fraud. The bank is pretending to be providing you a service here! But instead they funnel your money to someone else.

I had another variation of this, with AIB in Ireland, in case anyone ever thinks of doing business with them. Vodafone started billing me for a defunct account, due to (I charitably believe) an operational error. AIB refused to revoke Vodafone's unlimited access to withdraw funds from my account.

I'd guess the scope of this fraud is in the billions to hundreds of billions EU-wide, but it doesn't seem to have come to the attention of regulators yet.
I don't think these people realize the futility of their effort. The US Constitution isn't something to be bought and sold. Assigning a dollar value to it is the literal anti-thesis of everything that is outlined in the document itself.
The problem with setup.py is different. Because it can run arbitrary code, package writers go crazy and import extra dependencies, but you specify your package dependencies in setup.py, so without some out-of-band way to tell your users that the setup.py file in itself also has dependencies, package installation on machines other than your own might fail unless by sheer luck your users already had the packages being used in setup.py.

That problem doesn't apply to arbitrary configuration, but only to configuration files that represent package build and installation metadata. You do see this issue with things like Gradle, though, where your build.gradle file can represent the dependencies of the package being built, but the build file itself may have dependencies since you can run arbitrary Groovy code and import any package that can be contained in a jar file. It gets around this because Gradle itself can just download those dependencies before trying to execute the build script, which would be perfectly possible for a real Python build system, but not when setup.py is just being executed by the Python interpreter, which doesn't do dependency management and expects imports to already be available in the system import path.
When I moved from Facebook to a startup, I remember being surprised by lots about our GitHub-based review process: the prevalence of large PRs, the ambiguity in how PRs related to each other, and the frequent pings you'd get to review other's recently pushed work. I initially encouraged others to use stacked changes to help with all this, but after realizing how clunky it is in GitHub, I stopped. Based on what I've seen so far of Graphite, I think it'll go a long way to making stacked changes simple such that they should be the norm on engineering teams, excited to use it more!
Too bad AIM went away. AOL should've open sourced it. In the early 2000's, several companies I worked for used AIM like we use Slack today.
Just because most of the hashrate happens in a particular country does not make it centralized. I'm not sure what would fit your definition of decentralized in this case.. an even distribution of hashrate across every country worldwide, with all actors contributing identical hashrate?

Next, you seem to imply decentralized means egalitarian, which isn't the case. I don't believe anyone ever claimed cryptocurrency would be evenly distributed among, say, rich and poor.

> In short, if you want real decentralization, you cannot get to there from here with any capitalism-based cryptocurrency

I like your effort to imagine what a 'real' decentralized setup would look like, but disagree with your conclusion that the current incarnation of decentralized currencies don't move us in that direction. In your examples I see absolutely no path from current reality to your described system. Current cryptocurrencies may not be ideal but they are accustoming people to alternative models of exchange and to thinking more critically about our financial system, both of which I'd argue move us closer to people fundamentally altering their willingness to participate in alternative economic models.
Yeah, if the question was "Is Dwayne Johnson, the Rock, infertile!?!" but I'm guessing not too many people care enough about Henry VIII to be baited to click by the salaciousness of the title.

on edit: fix typo
Latency, bandwidth and packet drops impact your speed
Isn't that the gizmo that triggers external (studio / photo-shoot) lights to flash? It sends a radio or IR signal on shutter press rather than flashing on the camera.

An alternative are studio lights which are set up to trigger when the camera flash itself goes off.
This isn't really the opposite experience! You had the same experience, with banks headquartered in different countries. I still await the experience of your fellow ex-pat who spent their blood, sweat and tears to sign up for an expensive service but cancelled with the wave of a hand.
> And your parents told you that if you ate spinach you'd be just as strong as Popeye. Were they lying? Yes, absolutely. Were they wrong? No, eating greens is good for you.

Yes, they were wrong to lie. Not that your false equivalence is in any way relevant because Fauci is a public servant of the people, and parents are not servants of their children.

> You have a peculiar standard for truth, it seems to depend on which side of the debate someone is for the person to be held to the 'lily white' standard or the 'can shoot someone on broadway and get away with it' standard.

There's nothing peculiar about wanting public health officials to not deceive the public about public health, which is their duty. What bizarro world do you live in where this is ok? In no other country on Earth did public health officials do this, even though they were facing their own PPE shortages.

> If Fauci had said 'masks work but we need you all to hang back and not buy them because we need them for the medical profession' resulting in a mass run on masks resulting in even larger numbers of death in care workers how would you view him?

I would view him as an honest public health official who did his duty, which is how I view the public health officials in my country who didn't lie to us, and where no such disaster happened.

> Is there any way in which according to you he could have discharged his duty without engaging in lies (white or otherwise) to get to a desired effect without further collateral damage?

Yes, and this has been explained ad-nauseum by people with legitimate criticisms of Fauci, although of course, even such legitimate criticisms are simply brushed off as partisan posturing, just like you're trying to do now.

During the PPE shortages, there was plenty of coverage about how to make your own mask. Plenty of commercial outlets voluntarily limited PPE purchases. Non-binding recommendations from public health officials could have encouraged such policies, and also provided official guides on making masks until PPE supplies were replenished.

Now I want you to look in the mirror and ask why you're trying to cover for him? What public purpose does it serve? This public servant lied to the public, and has lost the public trust even according to polls. The only people covering for him are die hard Democrats because he gave Trump the proverbial middle finger. Is that "credential" really more important for a public health official than the public trust?
ahh wouldn't the star tracker require pretty specialized or higher powered hardware? seems a bit much to cram into a camera no? unless you want the cost to increase by the cost of 1 cell phone?
Weird question. A much better one is: Is it ethical to work at any for-profit company?
Stop looking over my shoulder Too Many businesses are spying on their workers
..which is true?
Aren't the styles attached to the document?
Jon, what's the main pain or goal with capturing a screenshot for every page that you visit?

It's tricky to do on your machine, so that performance doesn't suffer. At the end of the day, all full-page PDF generators would have to scroll to the end of the page, which would make it really tough for you to browse around.

A solution to this would be to just capture the URLs that you visit, and then do the screenshot generation in the cloud. The limitation is that none of your websites with logins would get captured.

Local storage is another issue for Chrome Extensions. There is a limit to how much data that can be stored.
1000% agree, so much so that I started such a project and wrote a blog post about this very problem[1] and launched what has become a full-time project to solve it (Snikket).

These days I believe very much in identifying and serving a specific set of users. XMPP is just a protocol, it has lots of potential applications, but it's nothing unless you channel that into a tangible usable product for real people.

This epiphany came to me after more than 10 years of working on XMPP as a server developer and spending time promoting open communication protocols to people. It was soul-crushing that at the end of a day I would still see my own family communicating with each other via WhatsApp.

Six months after the initial Snikket prototypes, and after a little user testing, I migrated my family over to XMPP by sending a simple invitation link (the start of the Snikket onboarding journey). They're now using it daily and totally happy with it. I'm beginning to hear similar stories from others who have repeated this with their own families/groups and their own Snikket setups.

All it took was to look at the issue through the eyes of "normal people" for a moment, and it changed my approach (and success rate) significantly.

[1]: https://snikket.org/blog/products-vs-protocols/
Anecdotal, but I drink water, coffee, and tea almost exclusively. I maybe have one soda a month, and it's typically one of those 8oz jobbies, and typically with pizza, and typically only because it goes so well with pizza.
I've travelled around the UK, Ireland, France, Spain, Italy and almost exclusively used my Amex over the last 5 or so years.

> Majority of hotels around Europe don't accept it, same with restaurants, small business, shops

I completely disagree. Almost every restaurant, hotel, cafe takes it. All major airlines accept them, the major train operators accept them, the major hotel booking sites and airbnb both accept it.

> there is not a single reason to own one in Europe, even with cashback (cashback to what actually, since i cannot use it anywhere)

Well there is, cashback, and contrary to what you're saying it _is_ usable in europe. You can book a flight with Ryanair, a train on trainline, hire a car via hertz/sixt/europcar, book a stay with airbnb/booking/hotels, and eat out in restaurants and local cafes all with an amex.
I'd say that's possible in principle - definitely not there at the moment though (and not even planned).
No, because it's hard to accurately represent the tree structure and interdependence of lemmas with a linear table of contents. (Sometimes – not always!)

But for really nasty proofs, I think a graphic description of the structure is best. Check out Figure 3 on page 29 of this paper: https://arxiv.org/abs/1108.2291.
United States v. Microsoft Corporation

https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor....
I reverse-engineered the comms for my cheap Ecovacs robot vacuum and was surprised to discover that, like some angsty teen, it spent all day hanging out in an XMPP chatroom waiting for somebody to talk to it: https://github.com/wpietri/sucks/blob/master/developing.md
Parents! Are your teens getting into "salt"? Know the signs.
> Part of the original U2f Spec was that the TLS session State could be hashed and included as part of the client signature, effectively making MITM impossible.

This turns out to have the usual deployment hiccup, Middleboxes. In this case, at least, they've got some sort of consent, the user agent is agreeing to trust this middlebox which is not, in fact, the host it wanted to talk to. But it necessarily blows up export of session identifiers which was needed to make this U2F feature work.

The session between Alice and her BigCorp middlebox, and the session between the BigCorp middlebox and Bob's server are two different sessions (if you try to make it "one session" you don't have working middleboxes unless clients and servers only know TLS 1.2 or earlier), so, this shows up as MITM.

Which makes sense, the goal is to ensure MITM is impossible, these consensual Middleboxes are MITM, so it makes them impossible. But as a practical technology you can't deploy it because ordinary Joe User works at some company using such middleboxes and now their U2F sign-in doesn't work.
Stripe forcing merchants to add “contribute to Stripe Climate" option.
3rd-Party Vendors of Social Media Monitoring Tools for Law Enforcement Agencies
And that touches on another problem: all of this Ivermectin (and HCQ before it) bullshit takes funding away from studies that might turn up something useful. The only reason these drugs are even studied at this point is because they are so well publicized, even if there is approximately zero proof that they actually work.

If they were miracle drugs as described the effect would be so large that those studies would be unnecessary. But here we are, and study it we will.
What about GYMS that make you show up in person to cancel your subscription but make it so you have to talk with someone who doesn’t work very often.
...while some sales bro seated next to you "to break down silos" is clanging a gong and seeking high-fives, and every 90 minutes you're obliged to trudge into a conference room to discuss yet other math problems that can't reuse the solutions to the previous ones, and the math reference you have is missing 1/3 of its material.
Yeah I remember this as BitBalloon as well, its how I ended up with a super low Netlify user Id as well :)
One could still run a numbers station? There's no way to prove the code words have any meaning beyond what is obvious.
When everyone goes and beats the ‘we already have ivermectin’ drum, it’s clearly a pharmaceutical conspiracy’ why doesn’t anyone bring up the massive and significant lifesaving properties of adding steroids to the mix.

This came out of UK research at the start of the pandemic and has easily saved hundreds of thousands of lives.

The ivermectin notes that spurred this on was an Australian in-vitro study that noted that ivermectin had activity against sars-cov-2 in high dose, in-vitro.

It was promptly lost in the noise because basically everything, even high dose H20, can be shown to have in-vitro effectiveness against viral replication, and there were more promising avenues of research.

Then it pops out again after the anti-fact brigade lost the evidence pile-on with both hydroxychloroquine and azithromycin and along comes a study that immediately gets trumpeted as revolutionising the treatment of covid but it turns out has horrific methodological and statistical problems, and the scientific world gets to work trying to establish the facts, and so far things don’t look good for ivermectin as a treatment.

Yet there’s still a global conspiracy of top level research scientists and doctors trying to suppress these easy wins and maximise worldwide misery.

You seem like you like to do your own research, how do you process those facts?
Obviously the solution should be to use muppets instead of people. Much more fun.
Ethereum Wallet MetaMask Reports 21M Users, Up 420% Since April
> It's trusted because it's been far more trustworthy...

That's a tautology. It's more trustworthy because it hasn't been politicized.
> They are often just plain strings—how is e.g. Intellij supposed to spot them reliably and help you?

WebStorm or any IDE that has WebStorm functionality built-in can detect `/pattern/` in Javascript and give you an option to test it and warn you of syntax errors. PyCharm will help you with functions in `re` module, Rider with `Regex.IsMatch` and so on, all JetBrains IDEs have some sort of contextual help that gives you guidance on stdlib functions that accept regular expressions.

https://www.jetbrains.com/webstorm/guide/tips/check-regex/
The French Count Who Turned His Home into a Museum to Honor His Dead Son
Unless Apple's lying it has been in the works for YEARS.

"Apple spokesperson Nick Leahy told The Verge that the program 'has been in development for well over a year'."[0]

[0]https://www.theverge.com/2021/11/17/22787336/apple-right-to-...
Be careful with terms like "directly" as people seem to get very confused when talking about Deno. "Transparently" may be more accurate.

My understanding of the situation right now is that by default, Deno runs TS files by transpiling using SWC, which strips types without checking them, and then sends the result to V8. Optionally you can enable type checking which invokes TSC (with no emission) before SWC. All this is done "magically" from the user's point of view.
Conclusions that don't conclude, but re-state the introduction are bade?

But that just follows from the time-honored recipe for essay writing:

1. First tell 'em whatcha gonna tell em.

2. Then tell 'em.

3. Then tell 'em whatcha told 'em.

To conclude doesn't mean to draw some new logical inference, but just to bring the paper or talk to an end.

You don't introduce anything new in a conclusion.

Not any kind of conclusion.

E.g. a musical symphony will rarely introduce entirely new themes in the last bars. Instead various ending devices occur, like condensed re-statements of themes that occurred previously.
"using data that is publicly available"

If the user is logged in, that data may not be publicly available, and the EULA would still apply.
Then again, there are people who police themselves and others. Here's an interesting story about an investigation into a camouflaged jammer:

https://www.youtube.com/watch?v=wZjInmHsWdM
I foresee a future in which the "EC card" (please let's call it Girocard, because that's it's name) ceases to exist in a few years.

Banks are already in the process of issuing Visa or MasterCard debit cards to customers as top-of-wallet product, and issuing girocards only on request, sometimes also with additional fees. Visa/MC debit cards have much easier integration with Apple and Google Pay. And they can be used online, and are easier to be used internationally, as they are accepted in most places where Visa/MC credit cards are accepted, too.

The recent deprecation of the Maestro card scheme by MasterCard, which has been co-badged on virtually every Girocard for many years and which allowed the cards to be used during international trips in most countries, has only resulted in aforementioned moves of banks away from the Girocard to be accelerated.

If the EPI does not quickly come up with a card scheme that is a) very very cheap for merchants and b) rolled out quickly in all of Europe, the debit card market in Germany will fall into the hands of Visa and MasterCard. That's just how it is, unfortunately.

The bad joke behind all of this is that this entire outcome has essentially been kick-started by the European Union moving to cap interchange fees on Visa/MC debit and credit transactions - a move against Visa and MC, but one that backfired and opened the doors for national card schemes to essentially be eaten alive by those very two actors. That's because that move made these transactions cheap enough for many big merchants to start accepting these cards in the first place. Before the cap, those rates were outrageously expensive, and virtually nobody outside of the travel business accepted them.
that is a very well-made presentation, congrats
You do give off vibes of an arbitrary authoritarian parenting style. I have to warn you that can backfire hard when your older and they are adults. I do hope you at least try to explain things to them.

https://www.canr.msu.edu/news/authoritarian_parenting_style