skysight-inc/HackerNews huggingface dataset:
I don't necessarily agree, I think it's situational but I think that the dev community as a group has swung too far to the "only test public interfaces" side lately. It ignores some important realities in favour of ideological purity.

Sometimes there are well-defined processes for performing a task, and that task is performed in only one place in the system. Therefore the details of the process can be kept class private inside of the only consumer. That doesn't mean that the processes should never be tested. If the task is cumbersome to set up or runs slowly then there is good reason to test the internal parts of the process which can be tested with dozens, hundreds or even thousands of permutations of input data cheaply and efficiently. Always relying on the large-scale tests to hit every combination of inputs for a well understood subroutine can be inefficient.

You could make the argument that this well-understood process could be broken out into its own class/package/module and tested with its own public interface, but if there really is only one consumer then that's kind of a strange trade-off to make in many cases.
No they weren't. The vaccines were incredibly successful, saving millions of lives, and have been constantly pilloried by "the most cynical or outright conspiratorial people", to this day.

The thing those people are usually most credited with being right about - the "lab leak theory" - is also not something they have ever been proven right about. It was indeed very wrong to shut down all discussion and debate about that theory, because there was - and still is - insufficient evidence either way. But that was something that many people outside the cynical-and-conspiratorial crowd said at the time. Indeed, one of the reasons it was such a giant mistake to discredit the perfectly reasonable "we don't have enough evidence to say whether lab leak or animal-borne is more likely" folks is that it lumped them in with the cynical-and-outright-conspiratorial crowd that was, and still is, incorrectly convinced that there is compelling evidence that it was a lab leak. The truth is that nobody outside the party leaders in China will ever know the answer to this. But the completely sure lab leak people are just as wrong as the completely sure animal-borne people; it's just very uncertain.

This is actually an excellent demonstration of the difference between cynicism and skepticism. The cynical people were just as wrong about everything as anyone in the un-skeptical mainstream.
Only in the most abstract sense, because the real debate is over prioritization; if you suggest that equal effort be put into both of these projects, reasonable people will argue that you're misallocating effort.
It looks like the conclusion is "let's use rational Bezier curves instead of plain Bezier curves", in which case: you can, you just have more parameters to tweak now. Also calling this "new" is a bit disingenous given that rational Beziers have been around half a century now. They're useful, but if you only look at Bezier curves from the tooling side of things, you're going to miss the reason why we use them so much. And the biggest mistake in design software is having tools that actually let you work with the datatypes that your final product is going to end up using. Need a circle? Draw a circle based on a center point and a radius. Good tooling won't surface that fact that it's going to end up being a Bezier curve, it just lets you design with the primitives you need, and will take care of the conversion as needed when you export it to whatever format your deliverable needs to be.

Making people draw Bezier curves just because "the file format uses those" is by far the bigger problem here.
This is great! Some of the best-loved articles in this topic are getting a bit old.
So would the car accellerating after the bullet landed there. Picking it up and putting it on the stretcher seems plausible?
The problem is the pace.

Walking briskly and casually walking are very different activities.
macOS has pdf in the print dialog because is just a fancy front end to CUPS. To the OS, a pdf is just another printer.

Fortunately, nearly every Mac application uses the standard dialog, so you only have to learn it once.
>For example, linked list, hash table, DFS and BFS, simple sorting.

These are a given. You should know these.

When I said I cannot memorize solutions, I refer to memorizing solutions to specific Leetcode problems. Doing that for 1-2 problems per main area is doable, but anything more than that is quite hard.
I have never implemented a linked list, a hash table, or a sort in $DAYJOB. I did them in school of course. After that I used what my development framework and libraries provided.
What you're describing is a command economy of the type the Soviet Union had -- no private investment.

The whole history the twentieth century is the evidence that such a system doesn't work. And it especially doesn't work as technology has become increasingly complex.

Markets are vastly better-informed investors than governments can ever be. Which is why it's generally vastly better for governments to skew incentives for private investment to favor a particular area, rather than make investments directly.
The autopsy of Kennedy shows small wound in the back of head, top and side blown off, and no wound in the front. The bullet fragments were in his head, which makes a forward shot impossible. The video is deceptive because it is from behind and doesn't see full explosion.

Oswald was a good shot, he was rated sharpshooter and marksman in the Marines. Lots of people left to watch the motorcade. Memories are always unreliable. Oswald was supposed to be working.

It is possible that FBI was working from bad info or incompetent. It was thought that the last two shots were rapid fire. But there is better info now that the shots were spaced out with plenty of time for bolt action rifle, and the "rapid fire" was echos. Lots of people have recreated the shots, some not that good shots.
Many of the dissolved ions are used by organisms in the ocean and are removed from the water...

The two ions that are present most often in seawater are chloride and sodium. These two make up over 90% of all dissolved ions in seawater.

The other ten percent are micronutrients that are also essential to life.

Most land animals have a skeleton not just to provide physical scaffolding to hang tissue on but because we need a store of calcium to mediate blood pH, something sea life doesn't require thanks to those minerals in the water. That's why you can have sharks which are mostly supported by cartilage with one set of bones: Their jaws.
My point was that a carbon black shingle would result in a much higher amount of work required to cool the inside of the house because you'd be baking yourself alive. The standoffs for solar prevent that. Which at 20% efficiency panels, back of the envelope says that could end up cancelling out the benefit of the panels entirely, for more than half the year.
https://purelymail.com/
https://mxroute.com/

Are two providers that I've used to catch-all and forward to an external mailbox.
He was also a 24 year old that had just seen the head of someone very familiar to him explode in front of him.

I’m kind of inclined to expect peculiar behavior from him.
What you do you mean by junior not existing in Big Tech?

All the Big Tech companies I know regularly hire interns and new grads.
Big Tobacco’s Legacy: Pushing Hyperpalatable Foods in America
This exists (in kind of a hacky way) in C# with the ExternalsVisibleTo attribute. It exposes methods and classes only to specified assemblies (like your unit test assemblies).

https://learn.microsoft.com/en-us/dotnet/api/system.runtime....
> consumers getting paid to take a widget is "anti-consumer" (wtf?)

Ironic thing to say post Snowden, Cambridge Analytica and on HN!

Button sorry for the diversion. Back to diamonds…
I'm ESL myself, and I sympathize because I also don't find it easy always to communicate with ESL people from yet other native languages. But as for the niche optimization problem, don't you think that the Amazon folks would say: this candidate was not able to think on their feet and think outside of the box, when given a non-standard problem? I think hiring teams over-estimate how far they can push the envelope on that in an interview, but I find it a bit one-sided to assume that the question was outside of the job they were hiring for or that it was a malicious question.
Open Source as a Solution to Principal-Agent Problems (JD Pressman’s about Page)
There's an art to growing and tending trees that leave visibility and air at ground level.
Neither Apache nor nginx require a restart to add php support, and neither will lose requests under normal operation. They will however parse the complete config on a reload operation. On huge configurations this is noticeable.
Most people working at Fox are not Rupert Murdoch and haven’t signed a contract with the devil using a newborn’s blood.

Jokes aside, some organisations exist primarily for the benefit of special interests.

In fact, most organisations serve a special interest, it’s just that in many cases that’s “shareholders” and we’ve all accepted that as a stand-in for “the economy” and call it a good thing.

There are many organisations that exist only to serve some agenda.

Most think tanks, for example. Lobby groups, industry organisations, unions, etc…

Sometimes these interests align with the general public interest but most often they do not. That’s why they need private funding — the public demand doesn’t exist.

Hydrogen power is a classic example. Just look at the companies behind the hydrogen companies and it is all petrochemical giants. They’re simply “greenwashing” their dirty energy.

The people working for these special interest organisations are just like everyone else working for shareholder-owned private profit organisations. They’re not evil, selfish, or deluded. They’re just accepting a salary in exchange for labour.

Think of the employees of Enron or Theranos. They weren’t evil, they were just working for companies that were.
So, not solved?
AFAIK (brisk) walking 40-90mins a day is the only exercise shown to increase longevity, and that in the US it is a target that is routinely not met. Sounds like a really substantial improvement (as long as the "brisk" target is also met).
Bit much to complain about pedantry with how prickly your tone has been in this whole thread. If you only want this functionality for rapid iteration/prototyping, which was what you originally said, then leaking memory in those circumstances is not such a problem.
yeah, that one stood out to me too. i would be tempted to make the stronger statement that it is always strictly better to have your private code unit tested, and it is only the limitations of languages and test frameworks that make people reach for ways to test them through the public API.
You might like HTMX which essentially does the above with some declarative tags and a small JS library. It’s surprisingly powerful.
"Why would you ever put a tenured engineer, writing code for years, sometimes decades, through a 40-minute process writing code in a collaboration doc or a whiteboard…"

This keeps coming up, and I can only assume the author has not interviewed many candidates.

I've interviewed hundreds of candidates. I've lost count of how many tenured engineers I've interviewed who could not write basic code or explain basic programming concepts. Things that a practicing programmer would encounter every week.

A hiring manager naive enough to waive coding tests will almost certainly hire a low performer who will hold back their team.
Are you from some other timeline where there was explosion at Kennedy assassination?

The bullet they are talking about is the "magic bullet" that hit Kennedy and Connally. The bullet that hit Kennedy's head distinegrated and they found fragments.
I take it in capsule form. It may be worth noting should anyone decide to take this to remember in advance how it will color the urine. The first time can be rather disturbing. It makes the urine kindof a splotchy red/bronze color if it has not been consumed in a while. I totally forgot about that the first time and though I was experiencing renal failure at first.

I personally only take small amounts as it seems to up-regulate some repair pathways that can cause pain in some joints. No pain no gain but I'm just lazy enough to stick with broccoli sprouts for DIM and sulforaphane most of the time. I also don't measure serum estrogen and guess as with most things.
It seems like the kind of thing that would be canaried which is the kind of thing that you'd typically build alongside automated deployment
In my experience, there is no silver bullet outreach. Until you have dozens of customers you shouldn't do anything at scale. Best thing (depending on customer) is call, linkedin inmail and/or emails. It typically takes 3-7 touches before someone will buy from you (no more than twice a week). You just need to patient and provide them value. Remember they have no incentive to look at your solution. Just send them personalized messages knowing they are busy and you're not a priority. I recommend using apollo (to get emails), streak gmail plugin (or hubspot if you have it) so you get email read reciepts. At least you know when someone opens your message. Keep trying different value props until something works across multiple users.
> If there is something better, they will build it to sell newer phones.

Why would they incur the expense of building it, lobbying for it, working through a new standard with the entire industry, only to not even be able to market it as a feature enhancement over competitors? There’s literally no profit-benefit to doing any of it.

> I think you underestimate how quickly legislation can be updated when there is a desire to do so.

Ok. We should definitely assume 100% alignment, because that’s definitely the direction governments are currently trending. Good call. There would definitely be zero entrenched interests defending the status quo, so that’s a super smart, reasonable assumption for you to base your argument on.
In the case of the car: when you accelerate, it turns most of that electric energy into kinetic energy (and turns some of it into heat). As you cruise along at a constant velocity, it's turning most of that electricity into heat: It's overcoming air and road friction, aka, rubbing against things and producing heat. Etc.

Waste light and sound get absorbed by surfaces, thus, turned into heat (unless the waste light is in the right IR band to pass out through the atmosphere).
Pretty much. That's what dating apps are for.
Have you lived in a house covered entirely in tree shade?
> You're probably confusing carbon capture in general (which already exists in some quantities, although still small to what would be meaningful) with DAC.

If so, it's the person who posted the Al Gore talk that's confusing it, not the responder who assumed the Gore talk was about DAC, the original post.

IOW, someone did a bait & switch and folks who keep trying to talk about DAC are "confused".
There are a number of issues. First, the fundamental unit under test is the method/function, not the entire call stack. Second, complexity starts to grow when there are code coverage gates in place.

When I see tests that are orders of magnitude larger than the units they’re testing and contain mocked references that are used 7 stack frames deep I know the author had a fundamental misunderstanding of how to write helpful and maintainable tests.
As a response to performance issues? Always very valid!
The workflow you outline is where I started! It's not one I'd want to use any more, now that I can casually make Illustrator automatically do a lot of work for me, then come back in and refine a few places manually. But it was a good place to begin.

https://egypt.urnash.com/illustratorbook/
Huh? My butcher sells meat cheaper than the supermarket. The bakery is about the same price unless you only buy total garbage bread. Breweries sell their beer cheaper than supermarkets sell the same brand.
the audio recording isn't sent to any remote servers as far as i can see.
source: browser devtools Network section
It was a win on original Mac with tiny screen.

On 4k 27", when not scaling to make it look like 1080p, the menu is nowhere close to what I am working on, and often had to move over multiple other applications.
Exactly. We die if we don't get enough salt. There are all sorts of mechanisms in our body that rely on it. As an engineer, I like to think it's as simple as electricity not being nearly as conductive through pure water, various osmosis processes like happens in dialysis, etc.
How should we force China to contribute to our greenwashing fantasy about carbon capture?
At at least some FAANG companies (Google and Meta), EM1 is parallel to L6/Staff.
The actual moral of the story is that FAANG interviews have a lot to do with luck.

A lot of interviewers grill you on stuff that they know a lot about, because how do you interview somebody on stuff you don't know anything about? So, what winds up happening is that you have to keep interviewing until you wind up with a set of interviewers that has a lot of knowledge overlap with yours.
https://www.npr.org/sections/thetwo-way/2017/10/27/560345132...
"Embedded" is such a vast, vast field now, it's risky to assume anything isn't included
I have long known sharks have cartilaginous skeletons but only just wondered whether that means shark bodies are squishy like human ears? Like if you hugged a shark would it deform?
MDNS, specifically designed for use on a single vlan, so useless
I am the author :)

>I can only assume the author has not interviewed many candidates.

I did more than 100 interviews so far.

>I've lost count of how many tenured engineers I've interviewed who could not write basic code or explain basic programming concepts. Things that a practicing programmer would encounter every week.

Where did I say that I agree with this statement. This is what other engineers claim, and as you pointed out being said many times.

I am totally against this claim as well. I do think that those tenured engineers should be interviewed for basic coding skills too. Just last month I had a staff+ engineer not being able to write a DFS...

That part in the article is ironic, hence why I said that I didn't want to make it a discussion about the fact that we have these coding interviews, and to "Get over it!" :)
I can perhaps refine (1) and provide some insight in support of (2).

It does make intuitive sense for handles to be 1/3 of the length of the curve, as that makes the "speed" close to constant, but this is not the smoothest possible choice in general. In particular, it's not the best approximation to a circular arc, which by most reasonable definitions is the smoothest possible curve. I did the math[1] and found that there's a parabola around each endpoint that does result in an accurate arc approximation, and in fact may be easier to apply as it doesn't move around as the length of the curve changes. Rather, each of the parabolas can be applied independently.

Evidence in favor of this is O(n^5) accuracy scaling to approximate Euler spirals (which are also a good candidate for "smoothest possible curve" depending on the way you define that). I suspect, but haven't yet demonstrated, that there's some variational sense in which this choice is optimum, or at least to a first order approximation.

You can think of cubic Béziers as forming a four-dimensional parameter space (the parameters can be accounted as the lengths and angles of the control handles; in this scheme, the positions of the endpoints are not counted). By applying a rule such as 1/3 arc length, or falling on a parabola, that reduces it to a two-dimensional space (same dimensionality as quadratic Beziers, Euler spirals, and sections of rectangular elastica). I think two dimensions is too few, as it doesn't give you the ability to easily form superellipse shapes, a particular strength of cubic Béziers and quite handy for font design, as superellipse is extremely common in fonts. I think there may be some value in exploring a three-dimensional parameter space (which, among other things, is the count for general elastica) and have some ideas.

As for (2), the problem is that for s-shaped curves, cubic Béziers tend to put curvature maxima near but not exactly on endpoints. Since the curvature maximum is visually salient, you do better subdividing your curves so you can place them at joins. Other curve families, notably those based on elastica and Euler spirals, don't have this problem.

[1]: https://raphlinus.github.io/curves/2021/02/19/parallel-curve...
Headline hides the major difference between Google and Amazon in the article: apparently Amazon only targets based on purchases through Alexa, so it's not really Alexa itself at that point.
Same reason Carly Simon revealed who was so vain.
> If you people "who works seriously on climate solutions" want to be taken seriously outside of your circle, you first need to call out openly and honestly all the scams in your field.

I didn't say I was one of those people. But the reason the people who do work seriously on climate technology don't consider DAC a scam is not that they are dishonest, it's that it isn't a scam; it's a nascent technology that may not work out, but currently seems promising.

> Any solution that draws electricity from the grid is a scam because it's better to shut it down along with the matching amount of power generation.

The nice thing about connecting things to the grid is that then instead of decarbonizing the energy use of a bunch of heterogenous things, you can focus on decarbonizing the grid, and then everything connected to it benefits at once.
As if walking briskly would make people with shitty lives and situational depression (like, tons, judging from statistics and related depression drug usage) happy?

Exercize is good for endorphins and depression, but let's not oversell it on inducing hapiness.
And now I can’t find anything because mdns doesn’t work, half my kit won’t take dns entries, more fragility from systems which don’t exist, or and of course all my open sessions on local networks break as ip addresses change, not to mention all my WireGuard sessions.
Isabella of Valois, Queen of England, married at the age of 6 (1389)
Their IP (proprietary trading algos) etc were probably worth a lot at the time.

These days probably not so. I wouldn't imagine there are any market makers left in NYSE and NASDAQ who aren't deploying FPGAs to gain a speed edge.
Corals manage it quite effectively
Interns and new grads are different from "externally" applying to a "junior developer" role which just doesn't exist. It goes from there to medior
Based on my extremely limited understanding, you need at least 90 minutes a day to see positive results.
https://archive.ph/uWOVj
In the vast majority of cases, The Enterprise, private methods are little to no use anyway. Whenever I’m faced with updating a code base that has Draconian code coverage metrics in place I’m more apt to make a private method public than futz around trying to figure out mock magic to test the change