skysight-inc/HackerNews huggingface dataset:
What is a rendering engine with CSP in mind?

The server can, at best, set the correct CSP header. It’s a validation performed entirely in the browser. Even the best intended rendering from the server can’t prevent CSP violation attempts when the client is executing some kind of script. That’s why even frameworks like Vue and React need a correctly configured CSP.
i am specifically not talking about sleep apnea, which everyone already knows causes brain damage
If you care about someone, show them – and put away your phone
Feel free to move the the countries with few if any successful capitalists(e.g. Chad, South Sudan)
This author wrote a number of pretty influential essays during the early pandemic advocating for mask use, social distancing, and other mitigations. He's a trained educator, so the effectiveness of communication is definitely no accident:

https://fortune.com/2020/08/10/the-overnight-coronavirus-exp...
For what it's worth, the most productive people I know seem to do basically no planning, but respond to almost everything immediately in the moment. Replying to emails as soon as they see them, making a phone call to have the conversation right now, etc.

By focusing on speed, they are able to accomplish a very large amount and never let a backlog build up. In some ways this feels closely aligned with the author's point. But these people are also spending a lot of time on what the author would call "1x" work (replying to emails, etc).
Show HN: Django-Hurricane - Django + Kubernetes perfectly integrated
> Can't you just decide to use subset of the language?

That is harder than it sounds. First you have to select which subset to use, it is almost impossible to get any two engineers to agree on that - if you do get agreement that is a bad sign - generally it means the people in the room don't know C++ well enough to make the decision and so you choose the wrong one. The best you can hope for is a compromise where nobody is happy - and thus everyone will look for an excuse to bring in their pet part of C++ not in the subset because there is a "good reason" for an exception.

Even if you select a subset it is almost impossible to enforce whatever subset because even if you don't allow your people to use it directly odds are you bring in a third party library that does use it (the C++ standard library being the big one!)

There are a few exceptions to the above. No exceptions/no RTTI are commonly disabled exceptions and so you will get some compiler and library support. Game companies commonly write their own standard library. Both of these are done for performance reasons and have specific domain specific reasons that can be validated in a profiler to set their rules.

Not related to reflection, but C++26 is also likely to get profiles which will disable specific old constructs, (new/delete) which are proven to be error prone and thus result in security issues. These are a good subset to use, but it is about security and so mostly doesn't get the types of subsets you are talking about.
I still think, we should honor the very beginnings in the same space. Also, in the context of OP, most of these names were once protected by trademarks, some may be even still alive. (I guess, FOCAL is now IP owned by HP?)

E.g., I didn't like seeing Simula reused (probably one of the most influential programming languages, since it introduced OO), or LiveScript (the original name of JavaScript that was a functional synonym for many years). And, regarding FOCAL, you've to start a quite specific search, already, for this showing up in Google top ranks, and this won't become any better, when there are other products by this name in the IT space. Especially, since there won't be much new pages on this and Google prefers newer entries.

(Regarding Java, you are probably aware of the concept of product domains in trademarks? Clearly, a computer programming language and a computer application are in the same domain.)

And I don't think there is any fault with expressing a perceived conflict early on, as compared to when it's already an established product and the conflict really plays out.
SEEKING WORK | Canada | Remote | Hybrid
Location: Toronto, Canada

Remote: Yes or Hybrid or onsite

Willing to relocate: No

Technologies: Java, HTML, Angular, JavaScript, SQL, CSS, and various other technologies such as SpringBoot, Maven, Hibernate, REST, etc.

Résumé/CV: https://www.linkedin.com/in/timothy-penarubia-a53276155/
Email: mothypenarubia@gmail.com

As a Software Developer, I have led and coordinated teams to deliver end-to-end software projects, specializing in payment systems. My track record includes designing, developing, and implementing efficient solutions for complex payment processes. I excel in problem-solving, possess strong analytical abilities, and am passionate about innovation.
text is great for awk, grep, etc

perhaps some llm-powered awk command generator would be useful?
My experience maintaining old codebases is that you are just as hard-pressed to find a justification to write code to use new language features, or even to take the time to upgrade the language and compiler version. Most often you just continue writing code in the same style as the rest of the code base using an old version of the language and runtime.
You can just not point back to parents (which is rarely needed for anything but iterators) and to not use iterators (since they're a pain in the first place!). The visitor pattern exists for a reason.
Well said. It is much of the "the harder you work, the luckier you get". But with most things, blind execution won't work. Reflection and introspection are needed to shape your ever evolving journey. Do whatever works for you, just do so intentionally!
A non-profit foundation taking donations is a "business" plan and IMO the only one that has a chance of building a true user agent in the long run. That doesn't mean that it is guaranteed to succeed but I don't think there is a better funding option thatwon't come with conflicting incentives.
counterpoint: routines that help you be consistent over time benefit from long-term compounding which will eventually 10x whatever-is-important-to-you
I decided to not use this link directly to the .pdf as on my iPhone this appears to take you to the top of the .pdf and not the specific article.
Not portably!

People want to have their cake (not having to think about instruction names, code generation for arithmetic expressions, or register allocation, because those differ per platform) and eat it (generate reasonably predictable machine code for multiple different platforms).

Things like LLVM IR are pretty close, but understandably nobody wants to write IR by hand.
A Practical Real-Time Model for Diffraction on Rough Surfaces
Nope, OG NV had inter-note linking, Simplenote syncing, file saving, encrypting, etc. long before the NVAlt fork existed[1]. Just about the only thing NVAlt added was a Markdown preview pane.

1. https://notational.net
From the article:

Our careers are defined by the highest moments of its biggest upside swings.

The "highest moment of biggest upside swing" can be likened to winning a jack pot. A not solid career or life advice.

In my opinion, our careers are defined by the "area under curve" of achievements.

Bruce Lee gradually became a megastar by exercising and learning, gradually, not by hitting someone's head in a convoluted flying rotating high knee kick that is not repeatable at all.
If you just mean there's a gravitational force on the Earth from the plane then, sure, but that's true for any object (including you and me). For an object on the ground, the normal force of that object on the ground balances their gravitational pull on the Earth, so the Earth experiences a net force of zero from the object and so isn't accelerated by it.

But I guess you mean that the plane has a net force pulling the earth towards it. But that would violate conservation of momentum – in fact the net force is zero, just as for an object on the ground. The plane's wings push the air down (the reaction to that is what keeps the plane up) and the resulting downdraft of that air exerts a force downwards on the earth.

That's all assuming the plane is in steady flight. If it's taking off, or just ascending, then overall it is pushing the Earth away from it. Conversely, when descending the Earth is pulled, overall, slightly towards it. The same thing happens when you jump: you push the Earth away from you (a much smaller distance than you travel away from it!), then on the way back down the Earth travels back towards you.
Wish C++ fixed some of its mistakes in the standard library. std::regex is embarrassing when even Python can beat it and nobody uses std::unordered_map due to its pointer chasing. Basic Maps are something that you shouldn't need to use a third party library for.
It's not about what the president deserves, but what the people deserve. The founders (after overthrowing one government, forming another, deciding it failed) were tasked with forming a government that can "long endure"... with structuring an office that can both facilitate liberty, but also contend with major enemies foreign (and domestic). The scale of the question is beyond one life or death, but operates on centuries-long timelines. It deals with the equities that face millions of people, not merely the single person holding office.
plaintext and grep were find for your grandpappy and they're fine for you.
Ever since it became legal here it's so common to have the stench coming from the car in front of you.
Also...

"“Our testing methods for cannabis remain suboptimal and individuals can test positive for cannabis weeks after they have consumed it,” says study lead author Marlene Lira, an epidemiologist at BMC."
Horses for courses, maybe.
We do this all the time in Windows with Citrix. It is called pvs. It does a small pxe boot and then it streams down the windows server image
Another interesting fact about Chile is: no compass is needed. The mountains show where the East is. If the East is to your right you are facing North, otherwise you are facing South.
That is still polymorphic, but as I mentioned C++ does not do the kind of type deduction that Haskell supports so you do have to explicitly instantiate the template. However, you can instantiate it based on context, for example using decltype.
the "CEO Grindset" or "daily routine" stuff I see on Youtube and Medium has always struck me as a sort of peacocking for a certain level of the office crowd.

I once worked a construction equipment maintenance job. Basically we'd roll out of bed at 5 am, climb into a big truck, and drive out to wherever someone called us to fix everything from dump trucks to excavators. I cant remember a consistent day, ever. Some mornings its pouring rain and breakfast is a slim jim from the truck stop. Other days youre driving so much it hardly feels like anything is getting done. I started making lunch about calorie counts instead of time of day, and eventually got to just taking a couple of cliff bars for lunch tucked into my overalls. I guess coffee was consistent. we filled four thermoses at the truck stop and that used to cost us about $20. after we fixed the air hose in the parking lot we got all our coffee free. i digress. I didnt have a routine, no "stoic virtue" stuff. the only thing i did religiously was the vehicle check in the morning.

People who obsess over a pattern or "grindset" in life rarely do the work necessary to fulfill the ethic of that said routine. They miss the forest for the trees. Theres way more meaning and reward to being adaptable and resilient than there is in worshipping a pattern or coddling a routine.
A TODO is not inherently bad, but I think intent is important— how likely is it that someone will come back here purely with an intention to address that comment? If not likely, then the TODO will be taken up in the context of future refactoring and in that case it's a gift to the person eventually contemplating that work, helping them understand something about the code or context that you realised too late in the project to be able to act on it.
GPU profiling for WebGPU workloads on Windows with Chrome
Absolutely nothing wrong with binary logs as long as the system provides a utility to get the data out of that format.

For that matter, journalctl is terrible, cryptic, and difficult to use.
Not good.

I was a proponent for cannabis legalization several years ago.. but seeing it in action, not so sure anymore. And I don’t even live in a state where it’s legal. But seems like half the work force is stoned now. Doesn’t bother me if you want to get high at home. But shouldn’t be high in public if it’s going to inconvenience others or put others at risk.
So as cannabis use becomes more legal, more people who have crashes have used cannabis in the past. What an awful title.
> A decent fraction of communication breakdowns are actually breakdowns in this silent negotiation, which is kind of interesting.

Yeah, this is a subtle and important point. I’ve heard this skill referred to as “attunement”. Like, you have your antenna up and listen for all the subtext that sits underneath someone’s expression. And listen for the quiet “asks” that would clearly make the person feel comfortable. “She feels anxious and low status.”. “He seems to want to talk about problems and solutions, not feelings”. People make bids like this constantly. Essentially, they’re saying “please respond to me in a complimentary way”. If you ignore or reject the bids people make in conversation, they will subconsciously feel ignored, rejected or dismissed. If you respond appropriately, people feel like you care about them. (Give the anxious person a place to sit down and offer them a cup of tea. Join the problem solver in problem solver mode. Etc.)

I think a lot of people on the spectrum struggle with this. But I also know some autistic people who are way better than neurotypicals at this stuff because they’ve learned how it works consciously, and then studied and practiced. The high sensitivity that often goes with autism can make these bids much easier to notice once you know what to look for.
I'm sure Bruce Lee had his fair share of lucky breaks.
You can do this with Beyond Compare (it's not free, but not very expensive either)
https://www.scootersoftware.com/
I read it before on Twitter, it’s probably adapted to fit into the 280-character limit.
I repented. Publicly, to be an example.
>Become very good (top 25%) at two or more things.

Top25% is nowhere even close to being very good
Curious why the title here excludes "heavily" from heavily trained. Since even "rather heavily trained" was being quite generous since it clones the entire app (other than the shade of color), but removing heavily makes it a different statement.
There is something poetic about using GPT to summarize that pdf so you can digest it using a small screen.
We have these things as well, but usually people treat these are bureaucratic obstacles and don't actually perform the steps. E.g. template is ignored, and reviewer doesn't check out, just LGTM and good to go. Few people actually take a more serious look.
Disclaimer: I live in Chile, but not a Chilean national(nor of similar ethnicity), and certainly not a historian.

The dispute is seen differently in Chile and is not as simplistic as Chile invading a port. In general i've gotten the sense that the general populace believes that Bolivia(with its secret alliance with Peru) had other intentions.

>In February 1878, Bolivia increased taxes on the Chilean mining company Compañía de Salitres y Ferrocarril de Antofagasta [es] (CSFA), in violation of the Boundary Treaty of 1874 which established the border between both countries and prohibited tax increases for mining. Chile protested the violation of the treaty and requested international arbitration, but the Bolivian government, presided by Hilarión Daza, considered this an internal issue subject to the jurisdiction of the Bolivian courts. Chile insisted that the breach of the treaty would mean that the territorial borders denoted in it were no longer settled.

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

>Ill-defined borders and oppressive measures allegedly taken against the Chilean migrant population in these territories furnished Chile with a pretext for invasion.

https://www.britannica.com/place/Chile/The-War-of-the-Pacifi...
> NOTICE: Plugin system is still under development, and the API may change in the future.

Killer feature of vite is to leverage existing plugins system of roll up.

Do you have plans to build a compat layer for existing ecosystem?

Other build tools are doing it. Eg: rspack can use webpack plugins, farm can use vite plugin
Residual path integrals for re-rendering
Can you please record a screencast and post a link? Seems to work fine on my Firefox Focus in my testing. I want to fix this.

Here’s one I just did
https://drive.google.com/file/d/1wbMUiksMO8wHkbe-ySNL2ad0Gso...

EDIT: please try it now, I think I fixed it!
Its the back of the bullet that is vaporizing from the start from the explosion and hot gases (since it has very low melting/vaporizing point), and then second, smaller spike is when hitting hard surfaces and melting instantly into 100s of pieces (if you watch any slow-mo impact of a lead bullet they mostly don't vaporize, just melt and fly parallel to surface being hit).

There is safe ammunition these days, but it costs more. Swiss make their military ammo lead-free (they have cca same ammo as US/NATO but bullets are most effective with different barrel twist compared to NATO ones, I think 1:7 vs 1:10), but both can fire each other's rounds safely.

Safe ammo is essentially just back of the bullet covering lead core (if present at all), but for some reason most manufacturers don't do it by default. Some stuff doesn't have lead core at all, but then desired weight needs to be achieved via other substances and is priced accordingly.
What this blogposts gets at, indirectly, is optimizing "Zero cost abstractions". In C++ there are many constructs that when translated directly to machine code would result in a severe performance penalty but clever compilers can remove this overhead. (In simple programs. When zero cost abstractions get stacked on top of each other compilers give up and performance craters.)

In languages like Smalltalk Everything Is An Object and instead of function calls messages are sent between objects. It's very elegant. It's up to the compiler to figure out that "1 + 1" doesn't actually require object allocations and message :+ dispatch. Instead all these abstractions can be stripped away so you end up with a single machine code instruction for the addition. In practice this is absolutely hopeless and the compiler will not be able to transform code that is dynamic in theory but static in practice to correct and efficient machine code.

This is for two reasons.

1) Language semantics. If you have multiple threads running then one thread can rewrite the code running on another thread. This means the compiler will be hamstrung in the assumptions it can make about even the most simple for loop. Either you must actually send messages for every integer addition because another thread might be listening to those messages or you disallow multi-threading. In either case your performance will be abysmal.

2) Wide instructions. Modern CPUs can do much work in parallel thanks to SIMD. In a world where every integer is a heap object you have no chance of SIMD optimization.

It's instructive to look at javascript and python. Javascript engines are much faster than python engines because Javascript doesn't do threads. This means the compiler can do tons of static code analysis. No such luck with Python. If you want to go fast with Python you use numpy, which just calls out to C. Here too the optimizations become possible because the language semantics that are holding optimization efforts back are disregarded once the Python code calls into C.

Most of the code we write in practice is pretty static. Dynamic features like virtual function calls, type introspection, and run-time code generation can be added to static languages without much difficulty. On the other hand, it's extremely hard (if not impossible) to get even 10% of the performance your computer is capable of using a highly dynamic language. In practice you don't even get 1%. I know this is an unpopular message but many people have worked hard at making slow languages fast for decades now and it's just not happening.
Steve Bannon Sees the Future
You don’t need a separate computer per person, just per team. You probably only need a single computer for the entire game. This is really bad mental gymnastics.
https://archive.is/lvAfb
I don't really have a source, but anecdotal evidence... Some of my commercial diver friends got really fucked up after a while of doing it.

One of my friends in particular had a saturation dive go really bad and he came back a completely different person. Like going from someone living the life to a complete wreck in one month.
Very good article. I hadn't seen it before. I wonder why it never mentions SAT solvers at all. I can believe that the approach is hopeless, but a few words on the topic would still have been nice.
Show HN: I built a tool that Scrapes your website to generate LinkedIn Carousels
The automation of manual tasks and the ability to provide context to engineers are much-needed features in fast-paced development environment
SEC: Silvergate Bank didn't adequately monitor $1T in crypto transactions
Forbidden black holes and ancient stars hide in these 'tiny red dots'
It does seem the apple doesn't fall far from the money tree.
Amazon's international unit on track to swing into annual profit
Better-than-normal hearing unlocked by gene tweak
> Where can you see this dependency list? Tried to look everywhere in the jsfiddle UI but don't find it

"Resources" in the left side menu
Astronomers discover a peculiar radio galaxy
Is there any way to short Open AI and this nonsense that AGI is round the corner? They might prove to be useful to some degree (niche areas) but as soon as I give the LLMs information or problems they haven't seen before they completely struggle to do anything sensible. Try getting them to compare two different JSON documents, they are very confident and produce absolute garbage if these have not been seen at the training stage.

If they can't handle new ideas humans will always be much more useful and these systems are good for references and human learning are not good for creating something new and of value. I've noticed for text LLMs are quite weirdly repetitive and have an empty style that requires a lot of editing to get it into a shape humans would craft.

People will say the improvements are coming but I think most of them have come from more data which is running out. I think one of the most profound things about real intelligence is being able to define and update concepts within your own mind… how to add new information to LLMs in realtime and have that reflected across the board seems intractable given the training and refinement these things would sit upon. There is no clear unit of information about a concept that links to all the other ideas. LLMs seem quite limited by this.

The brain is so much more complex than these algorithms too and so much more flexible, I don't see how a very good encyclopaedia with some fuzzy AI concept extraction capability is in any way the same as the human brain being able to apply and adapt concepts from all around art, science, literature and the human experience.
I'd say that the main feature is that it lacks a subscription payment requirement.