skysight-inc/HackerNews huggingface dataset:
One thing that I have observed is, there is often a problem dependent sweet spot for the integration level of a test suite. Sometimes that is literally testing the behaviors of every method while other times it can be end-to-end testing or somewhere in-between. The challenge is, it can take a great deal of thought to arrive at the appropriate inflection points. One approach I take is to try to think about what suite of tests would make it easier for a developer who is new to the code base to be productive in it. They should feel that the test suite is helping them, not holding them back.
May I know the names of those fintechs, please?
This.

I once had a long-running (weeks) experiment that used DMSO as a solvent. Early on it was realized that the DMSO was degrading all non-glass rubbers and plastics in the chemical "circuit", which began to sag like an old TinkerToy structure. Had to rebuild/rerun with parts that were resistant to DMSO.
I thought most mass manufactured foodstuffs are irradiated in the West (but I somehow assumed X-ray tubes were used since they could be switched on and off, although a source may be cheaper...)
jsonapi solves some problems, and introduces so many more. As a standard intended to reduce bike shedding, I have never had as many bike-shedding discussions as I have with jsonapi. Include syntax, plural vs single resource naming. sorting syntax... the list goes on. And worst of all... you cannot represent an API backed by jsonapi with swagger/openapi... a more common standard.

If you want jsonapi, you probably really want graphql...
"We towed the ship outside the environment"

https://www.youtube.com/watch?v=3m5qxZm_JqM
> I think can be good but they also lead to the deaths of millions a year

This discussion may as well end here, because I can have no meeting of minds with someone whose moral compass spins so freely as to wave away millions of human lives on frippery. The only other entity I've had a dialogue with willing to express a similar worldview was GPT-3. That AI was trained on a wide spectrum of human expression, so evidently someone out there agrees with such sentiment, but to me it's downright repugnant.
My reluctance to do pure "red-green-refactor" is more a side-effect of the IDE than the testing philosophy.

Maybe it's an OCD thing, but I don't like seeing compiler errors of unimplemented pseudo-code and mock placeholders. It breaks my flow.

But 2 files open at all times, writing tests as the main class is being developed? And no compiler errors? Love it.
Same day ACH has been available since 2017 and expanded in 2021. It's very slightly more expensive for the bank.

Whether or not the funds are made available mostly depends on how much the receiver trusts the transmitting account; even if it shows up the same day it still might turn out to be fraud a few days later.
If asking for scientific research to support claims is witch-burning, truly science literacy is in a sad state.

And I'm not sure I would really consider a "Go Ask Alice" column as peer-reviewed research.
I started working in the 70s. Through until the 90s, I was paid in cash. The company didn't track which bill serial numbers went to which employee.

That was the same for pretty-much everyone in Australia until the 90s, when we started to get paid directly into bank accounts. But, I worked at a bank at that time, and I can tell you that our tellers and ATMs didn't track serial numbers then either: we had no record of which bills went to which customer.

And that was true regardless of your age, gender, religion, ethnicity, etc.

I appreciate that this has probably changed since then, but ... that's kinda the point: it used to be private.
The M2 mba doesn’t seem that much bigger than the 11 inch. When I compare my old 11 inch and my m1 they feel of a similar size and weight class, and the m2 is smaller and lighter than the m1.

11 inch mba:
Dimensions: .11-.68 x 11.8 x 7.56 (0.3 cm-1.7 cm, 30 cm, 19.2 cm)
Avg. Weight: 2.38 lbs (1.08 kg)

M2 macbook air:
Dimensions: 0.44 x 11.97 x 8.46 (1.13 cm x 30.41 cm x 21.5 cm)
Avg. Weight: 2.7 lbs (1.24 kg)
That is more than what happens in China, and the demand for better privacy practices in the US is allowed to persist, build, and find its way into legislation and business practices of competitors.

US companies and regulators do not have to be shining beacons of user privacy and protections to be better than a system with no boundary between the state and private companies, with no expectation of privacy, and with censorship of opinion that criticizes shortcomings of the state.
I would use a state machine in this case. The best tool for doing this in JavaScript/TypeScript is XState. Highly recommend.
Underappreciated comment
What is the difference between simulation and emulation?
(Asked about an interesting job.) Comments proceeded to be focus on high paying, large market cap tech companies.
Is dogma really useful? No matter how sensible some strategy is, can we afford to treat it as an absolute truth?

I get the feeling that we are all inclined to think that we have the entire story of development in our own personal heads and can therefore lay down laws.

...and yet most of these disciplines need everyone's co-operation and one can feel that if you don't treat it as dogma then you're never going to make everyone "comply"...

I think the fact that TDD (and other popularly debated methodologies) haven't taken over just by being obviously easier and better is a sign that they aren't really suitable for being made into dogmas. They're tools and we should have the choice like any workman to choose them or not.
I like Cypress. However, every response from Cypress team about async/await vs cy chaining feels like it comes from a place of defending a sunk cost, rather than than advocating for the best API. It would be hard for Cypress to change the API now because it would likely result in a loss of a large portion of the current user base. I doubt Cypress team would design the API this way if they started again today.
One way to think about it might be to think of REST as RPC rather than folder nesting. E.g. `/[param_name]/[value]/..`

So if you can find blogs just by their blogId, then `/blogs/:blogId` makes sense since you only provide the necessary parameters.
`/organizations/:organizationId/blogs/:blogId` would imply that `blogId` is not unique across organizations. This may also make sense if that's how it is.
The URL is quite odd in that it ends with a period which it seems that Hacker News is parsing, more normally, as a period instead of a part of the URL. In the following URL, manually add a period at the end:

https://archive.org/details/world-economic-forum-presents-th....
Your former colleagues and former company will get along fine without you. Your former team will need to adapt to being a person down until they find a new andrewmclunn, but the work will get done and you're not leaving them in a lurch.
Given that this happens against a backdrop of most of human habitation being below sea level, I think GDP projections are probably an awful estimation of human impact.
But why.
The intended runtime platform is serverless/edge compute, not client side. Think Cloudflare Workers, Vercel Edge Functions, AWS Lambda, etc.

The idea is these runtimes typically only allow HTTP outbound requests, not whatever protocol is typically used to connect to a planetscale db.
In Australia, cash transactions of $10,000 or more must be reported to the government (AUSTRAC https://www.austrac.gov.au/). So ... cash can be anonymous, but only up to a certain point.

Making multiple transactions of $9999.99 is possible, but it does invite perhaps unwelcome scrutiny.
You know what? Your team will keep going without you. After a few days or a week, it'll be like you were never there.

I doubt any of them think you're abandoning them. I'm willing to be that if any of them left, they wouldn't feel guilty.
We must have different definitions for “simplest constraints” then.
I don't think you can do astronomy without telescopes: they are the basic ingredient. :)
I don't know about MOOCs much. But there is a book called How to Design Programs. You can read that. And it is available for free at https://htdp.org/
Your now previous employer is in the business of ... well, whatever their business is. You're in the business of you. You need to do what's best your your business, not their business. If what's best for you isn't at that employer, no need to feel guilty.
May be worthwhile checking the policy fine print. My homeowners insurance has a $2k per incident claim limit fwiw, unless the item is explicitly scheduled (which increases the premium).
Every store I have been to in the last few months is tap to pay. It really seems to have exploded in popularity in 2022.
You're confusing TiO2 with SiO2. There is some interesting evidence suggesting that TiO2 nanoparticles may accumulate in the body, in particular in the pancreas, but there is definitely not a significant body of evidence suggesting that inhaled TiO2 is a carcinogen.

It would be pretty interesting if it turned out that TiO2 added to food as a white colorant were responsible for the obesity pandemic --- the epidemiological correlations are about right --- but so far the evidence that it has any kind of harmful effect at all is fairly weak.

Shards of glass are commonly used as a mild abrasive in toothpaste, an inert excipient in pill formulations, and a gas reducing agent in simethicone; they go by the name "amorphous silica" or "silica gel". They're also added to grains as an insecticide in the form of diatomaceous earth. It's commonly accepted by people who study this stuff that they are absolutely harmless to humans at that size.
I was so sad when I specifically ordered an HP laptop for work (The other choice was Dell) to get the keyboard with a trackpoint on it, only to find out that the HP layout only has two buttons.

It turns out my years of ThinkPad training has given me permanent muscle memory that the button underneath the middle of the space bar is middle mouse and therefore paste :)
I dont know how people have been ignoring it the entire time, but there is literally an investigation and a direct interview done by Bloomberg with Dan Price about a lot of allegations and details from a few years ago, and he doesn't look good there at all[0]. We are talking about him directly contradicting facts proven by factual documented records with no explanation whatsoever, and then dodging the domestic abuse accusations with super shady replies.

And I am saying this as someone who is extremely on the "innocent until proven guilty" side of the spectrum and who always tries to come up with the most plausible non-guilty explanations. In his case, I was plainly confused by how this wild article+interview from 2015 attracted exactly zero attention at all, despite the very relevant controversial content and being posted by a reputable major publisher like Bloomberg.

0. https://www.bloomberg.com/features/2015-gravity-ceo-dan-pric...
Why are we still guessing how our emotions work?

With 5 billion people online, there could be instant feedback on all models and hypotheses.

What is needed to coordinate humans to figure out how humans work?
I used a Go for many years but recently switched to the SP X because I realized I really only needed thin and light, not small, and a full sized keyboard is so much better to use.
Emulation is often used to mean a rougher less exact simulation.
Hey thanks so much let's be friends
Back in the day, when online banking used printed TAN-lists as a second factor, phishing sites would ask "Please type in your next 10 TANs". That is what your "please type in as many"-idea reminds me of. :-)
I know it's not exactly Nature, but I like this one for the approachable and intuitive explanation: https://www.youtube.com/watch?v=SDtAh9IwG-I

Fundamentally, you have to believe in nonsense such as kilometer-sized particles that are also infinitesimal if your point of view is that photons are particles.

Many of the "mysteries" of Quantum Mechanics vanish if keep in the back of your mind that QM is just a bag of mathematical tricks that "work" in specific scenarios to solve practical problems, but aren't a model of "what actually occurs".

Practically all of it is restricted to statistical predictions related to matter. Remove matter or remove statistics and then the models are no longer valid.

I'm not making this up. Go dig up any of the original QM papers and these assumptions and/or constraints are called out in the first few paragraphs.
Mellium SASL 0.3.0 has been released with Channel Binding for TLS 1.3 support
I saw a YouTube video of someone talking about an earlier model of that laser and it looked nice! Also had the correct PWM input for control from my 3D printer control board.
I'm a bit confused here. This link reads to me like "if we ignore any observations that can only be explained by quantum behaviors, then we don't need quantum behaviors to explain the observed behaviors". What am I missing?
OP should add an affiliate link.
>Why such a high prevalence of roundworm and whipworm infections? The scientists speculate that the monks may have picked up the parasites when putting feces to work as a fertilizer, either by emptying their own latrines to manure crops, or by bringing in outside fertilizer contaminated by parasites in human or pig excrement. These hands-on practices were definitely used in Medieval and Roman times, just as they are today in parts of the world where other fertilizer options are scarce.
If you're comparing JSON:API to GraphQL then yes, there are some more decisions to be made, like filtering and sorting. (Includes are well specified in the spec- what bikeshedding were you doing?) But compared to not following a standard, you were going to have to make those decisions anyway.

> ou cannot represent an API backed by jsonapi with swagger/openapi

This doesn't seem right to me. What issues were you having trying to specify a JSON:API service using OpenAPI?
So, I've been looking for jeans with magazine pockets ever since 5.11 stopped making their Defender-Flex in regular colors.

How are the legs on the Intercepters? Any taper at all?
Perhaps! But the drag of the pen would likely move lighter fabrics, and if it catches at all it would bunch up and surely drag the fabric all over. Maybe there is some way around that, but for me once I’ve gone to all the trouble to build a full motion gantry and control system I’d spend the additional $100 to include the laser and get the cuts done as it moves.
What about larger sizes :) Physical effects can matter as much as chemical. Diatomacious earth has conflicting evidence anyway. Silica gel and glass aren't really the same thing.

I did mean TiO2. There is a reason the EU considers it a carcinogen and is banning it from several classes of products.
>I believe that this is a fundamental problem of testing in all distributed systems: you are trying to test and validate for emergent behaviour. The other term we have for such systems is: chaotic. Good luck with that

Emergent behaviour is complex, not chaotic. Chaos comes from sensitive dependence on initial conditions. Complexity is associated with non-ergodic statistics (i.e. sampling across time gives different results to sampling across space).
Money laundering is evil. Sorry, this weird obsession people have with "Muh financial privacy" and "I'm just moving it around, that ain't a crime!" is the outlier here.

Should the government be handed every transaction on a silver platter every day? Probably not, but I don't think you'll find many people in the big wide world agreeing that financial activity should be forever unavailable to governments, courts or anything else, even under applicable warrant, which is what these services provide.

And why is this absolute privacy bad? Where to start? Criminals hiding ill-gotten gains is only a small part of it. We have the funding of rogue nation states and enabling of ransomware, which is roughly in the same ballpark, sure, but very harmful. Then we have straight-out tax evasion. We also have dictators and despots who plunder their countries and enrich themselves. Should their activities be private? Should we just allow them to siphon money off to other countries and live the high life while their population suffer? It happens all too often already, but in much of the west now we are catching this stuff and denying them those things because we can see some of what's gone on.

And what about our own democracy? Absolute financial privacy can allow wealthy interests to brazenly buy politicians, with guarantees of untraceability.

So no, I don't "realise" how tyrannical and dystopian that is, in fact to me it looks like it helps prevent a variety of forms of dystopia, in which the rich and the corrupt could even more easily and directly buy democracy out from under us.

The fact that you can't currently have a system which provides privacy until an authority (such as the court system) demand things be unlocked, well that seems like a problem for cryptocurrency users, not the law.
But the claim in question is one of the best-known and most thoroughly established claims in all of toxicology. Asking for scientific research supporting the biocompatibility of PTFE is akin to asking for scientific research supporting biological evolution or the claim that people have landed on the moon: it's a sure sign that the person making the demand has a pre-existing flimsy pretext for rejecting literally all the research in the relevant field, which did indeed turn out to be the case; see https://news.ycombinator.com/item?id=32517203.
The data model matters doesn't it?

If it's /org/orgId/blog/blogId and a user has access to only a single orgId and needs to be logged in then doing it in /blog/blogId makes sense.

But if a user has acess to multiple orgs via different orgIds, then it makes more sense to do the former with /org/orgId/blog/blogId because then the page is sharable via URL. If you do just /blog/blogId that prevents a user from easily accessing a new organization (unless you use query parameters)
Mellium XMPP 0.21.3 has been released with Channel Binding for TLS 1.3 support
Yeah makes sense! These days I basically just step outside while it’s cutting and let the room air out for a while before I return. I do have to check on it to make sure it hasn’t had an issue and for that I wear a mask but also basically hold my breath and then hop outside again as soon as I can.
Retool Mobile: Native Components with Server-Driven UI
PFAS: Possible breakthrough to destroy harmful 'forever chemicals'
It's because we use/need a bunch of extra measurements to fit breasts. We don't require extra measurements for fitting the groin (although we do have options in relevant designs to create more or less room there).

That being said, it's a fair point. Most of the sewing world is still rather strictly segregated between menswear and womenswear. We try to remove that distinction and just deal with bodies, but it's an ongoing journey. We're not there yet, but we'll keep at it.
Krita 5.1 Release Notes
> The trouble with TDD is that quite often we don't really know how our programs are going to work

Interesting - for me, that's the only time I truly practice TDD, when I don't know how the code is going to work. It allows me to start with describing the ideal use case - call the API / function I would like to have, describe the response I would expect. Then work on making those expectations a reality. Add more examples. When I run into a non-trivial function deeper down, repeat - write the ideal interface to call, describe the expected response, make it happen.

For me, TDD is the software definition process itself. And if you start with the ideal interface, chances are you will end up with something above average, instead of whatever happened to fall in place while arranging code blocks.
Well I guess that's the problem with having failed to produce housing supply for decades, until the balance of the market got so far out of whack that pressure for smaller units is that high. Tokyo built both housing and infrastructure to increase the viable land to live in striking distance to the commercial core, and so that's not an issue (although typical apartment sizes for family homes included are much smaller across the board because of the premium on space).

To me, it's a scenario of pick your poison - continue to be unaffordable because society is not willing to accept the consequences of its failures, or eat the consequences for a brighter future. In cities like SF, I don't see a world where it will ever get affordable if they insist that everyone needs to live in 1000+ sqft apartments, unless you plan to pack it to the gills with ultra-tall skyscrapers (never happening) or it becomes so undesirable to live there that people just stop moving there (unlikely, but given the rampant human rights violations it commits everyday to its denizens... well maybe that's the most likely scenario).

Aside, Americans don't know what small apartments even mean. The presence of super tiny Tokyo apartments is a great thing IMO, it means that people can still live centrally even if they aren't rich. I think a lot of people would happily accept a well-designed 200 sqft apartment over a 2-hour commute, if society gave them that option, since Tokyo residents do that en masse everyday.
DIY Professional Open Source Night Vision Security Camera (2019)
While things often have parents and children, they also very frequently stand alone. Also, sometimes you don't want to leak private data (org id's) in public content (a blog post)

What I recommend is follow the resource standards from something like jsonapi, and organize your routes like this:

/organizations/:organization_id

/organizations/:organization_id/blogs -> returns a list of links to blogs (maybe including the very most basic data, like blog title and byline)

/blogs/:blog_id -> one blog, has a link to organization, for going "up" the hirearchy, but only returned for authenticated users (if that's necessary in your use case)

/blogs/:blog_id/sections -> links to list of sections

/blogs/:blog_id/threads -> links to list of threads

/threads/:thred_id -> one thread, but links to parents as above

/sections/:section_id -> same as threads

you get the idea.

I've done it this way and I feel like it ends up being very easy to wrap my head around where things are, and how they relate to one another.

One of my favorite example APIs is stripe. the layout makes sense, routes make sense, and it's a very complex system which becomes easy to understand and the routes aren't insanity, if you are looking for a very public example
A problem with nested URLs like /organizations/:organizationId/blogs/:blogId/sections/:sectionId is that when you are manipulating a section from the frontend, you don't only need to keep and pass around their sectionId, but also their organisationId and blogId everywhere. Often you'll already have those, but sometimes not and it'll be annoying, you'll have to make more complex code with functions taking more parameters than necessary. From the backend, you'll need to check that all those ids are consistent and match.

It's also possible you will need at some point to re-use sub objects in a new context, so you'll have different kinds of paths to query those sub objects.

I'd go with Python's guideline "Flat is better than nested" here, and in doubt, follow it.

I think nested is only appropriate if you want to ensure the requester knows the oragnisationId, the blogId and the threadId of a particular comment to access it. Otherwise, it will lead to more complexity everywhere.
"Free to join" does not mean you have removed all friction from the process. There is time they have to spend thinking about it and probably discuss with other stakeholders. Inertia is the strongest force in the universe so you have to find what motivates them to join, not just what removes barriers. This is an important detail.