skysight-inc/HackerNews huggingface dataset:
I was struggling to figure out how this could even be exploited. Following a trail of links led to <https://v8.dev/blog/control-flow-integrity#corrupted-syscall...>, which motivated the API. It gives the example that "if a thread calls munmap on a corrupted pointer, the attacker could unmap read-only pages and a consecutive mmap call can reuse this address, effectively adding write permissions to the page."

So, a hypotetical attack would involve 1) Corrupt a pointer passed to munmap, such that it points to some believed-executable part of the code (e.g. the MPEG decompression library code, or something like that). 2) Cause a future `mmap` to reuse that page with writable permissions, and in particular have the returned page be one that is eventually destined for being marked executable (e.g. the caller should be the JIT compiler). 3) Modify the writable page to control code you want at a known address (e.g. by having the JIT emit code you want, or by having another vulnerability that writes to this address). 4) Have the target page marked executable (e.g. by finishing the JIT compilation). 5) Finally, call the executable page (e.g. attempt to decompress an MPEG file).

In the absence of already having arbitrary code execution (which would make the whole process moot), this whole thing requires a JIT compiler (since it has to already contain a call to `mprotect` that sets a page executable), and either the JIT compiler has a bug or a separate thread performs step 3.

Are there any example of this kind of attack actually happening? Is there a simpler attack I'm not seeing?
In a way, it's worse the less frequently you want to play, cause it means you'll have to wait for Windows updates every time. But it works.
> the US is nowhere to be seen

In FY 2023, the US was indeed only the fourth-largest source of net foreign direct investment inflows. The first three were the UK, Netherlands and South Korea. Hong Kong in seventh place, China in eleventh. Russia is actually nowhere to be seen.

Source: page 15 of
https://www.bb.org.bd/pub/halfyearly/fdisurvey/fdisurveyjanj...
Or we could just ask the same question on 3 different LLMs, ideally a large LLM, a RAG LLM and a small one, then use LLM again to rewrite the final answer. When models contradict each other there is likely hallucination going on, but correct answers tend to converge.
> If you put enough young men in prison

I have a vague memory of some quote about "if you want to solve crime, keep young men off the streets until they're 25 and you'll have eliminated 90% of crime but that's not a workable policy" (and about 90% of traffic accidents, I reckon.)

> insanely unjust and expensive

Definitely that.
## My Approach
Life is always full of uncertainties. The two lifestyles I described above are just my imagination, and I don't know exactly how to achieve them. For now, I can only master my subject knowledge, obtain a teaching certificate, and get my degree. *During this process, I need to keep my eyes open to find my lifelong love.*

Looking back, I realize I'm being a bit unrealistic. Imagination is just imagination. To achieve the scenarios described above, I can't give up or slack off in my current studies. So, to avoid neglecting my academics, I need to plan my current lifestyle well, balancing life and study, and start addressing issues related to my career. I also need to confirm what I'm suited for based on theoretical deductions of my life experiences so far, and identify my strengths and weaknesses. For example:

### EG1: Online Tests Results
- Top three career interests: Social (S), Realistic (R), and Artistic (A)
- These suggest a preference for working with people, having clear rules, and some creative elements

### EG2: Potential Talents
- MBTI type: ISFJ
- Key traits: Practical, detail-oriented, cooperative, reliable, and considerate

### EG3: Family Environment Analysis
- Economic situation: Typical rural family with limited financial resources
- Family expectations: Find a job with a decent monthly salary after graduation
- Family cultural influence: Emphasis on education as the path to a better life

### School Environment
The school is strong in technology. The author plans to learn these skills and return to teach children in rural areas, helping them open doors to new knowledge and keep up with the times.

## Conclusion
This self-assessment has helped me face some of my thoughts correctly. I've always had these ideas, but I kept saying I should try to struggle in big cities first. Now I understand that what I really want is stability. I don't need to pursue what others expect; I have my own plans. How I live is my own choice, not others'. I'll go back to teach, which is a respectable profession and will satisfy my parents.
Great work! Is there a way to filter the luggage? For example: how many carry on, etc.?
I am at a total loss as to why anyone is using windows in 2024.
Someone should try to compile it to a Javascript web application with TeaVM.
Starship is just a fancy prompt that just happens to be crazy cross-platform (works on Linux, MacOS, and Windows shells), but it's super-informative, and easy to install/configure. Beyond that, you'll still need to choose a shell you prefer for when you want/need to use a terminal/console window for things. Contrary to popular belief, the shell is not obsolete by a longshot, even on Windows. On Windows, PowerShell is probably gonna be your best bet, as it's the current standard going forward. I use Starship on Fish shell on Linux and love it.
> is it possible not to lose the commit description when trying to split a commit?

There's 2 cases: 1) extract changes into a commit that comes before the original commit, and 2) extract changes into a commit that comes after the original commit.

In both, instead of editing the commit you want to split, `break` before that commit, and then use `git checkout <hash_of_commit_to_edit> <path_to_files_of_interest>` to pull the changes of interest out into an new, earlier commit. `git checkout -p` is worth a look here. Alternatively if the changes are simple enough, you could use exec instead of break before the target commit.

For 1) you can commit those extracted changes with a new message and then `git rebase --continue`. The original commit will then lack the extracted changes, and have the original commit message. If you did want to adjust it, reword that commit.

e.g.

pick c62dfe67 1
pick 63dcd748 2
exec git checkout eea68bb8 three.txt && git commit -m "3"
reword eea68bb8 3+4

For 2) reference the target commit's message as the new, earlier commit's message. Keep in mind that the git invocation in this exec here still supports git aliases so if this was something you do often, you could create an alias for retrieving the next commit message and that last part of the exec could just be `.. && git getnextcommitmessage`

e.g.

pick c62dfe67 1
pick 63dcd748 2
exec git checkout eea68bb8 four.txt && git commit -m "$(git log -1 eea68bb8 --format="%B")"
reword eea68bb8 3+4
Makes you wonder as well if the expressed genetic traits we can’t see are more are less different than the ones we can.

For example, does evolution have any pressure to produce those who think linguistically, vs healthy hair and skin?
CAD software
And please enlighten me what will happen to countries where people are dependent on farming? Rather creating new varities of crops that are more chemical resistant?
Indeed the arrangement is violent and enforced with terrible violence, and in no way is this incompatible with profits.
That Kaspersky gave the US every imaginable means of ensuring everything was on the up and up, and that the allegations were unjustified. Yet the US seemingly had no interest whatsoever in investigating their own claims.
PS: I cannot buy their test results because I'm in Switzerland, do you know by chance how well the Alnatura one did?
There are a lot of things where being reliable isn’t as important (or it’s easier to be reliable).

For example, we are using it to do meeting summaries and it is remarkably good at it. In fact, in comparison to humans we did A/B testing with - usually better.

Another thing is new employee ramp. It is able to answer questions and guide new employees much faster than we’ve ever seen before.

Another thing I’ve started toying with it with, but have gotten incredible results so far is email prioritization. Basically letting me know which emails I should read most urgently.

Again, these were all things where the state of the art was basically useless 3 years ago.
The first thing that strikes me is the definitions of thoughts and language used on the first page.
I uninstalled onedrive from windows 11 and everything seems to work fine.

Don’t leave us in the dark. Is that option being removed in the future?
Tesla Model X Power Front Doors Are Back with New Features in 2024.20.1 Update
If they're literally at the point of starvation, maybe true - though famines often happen when people simply can't get access to food, even if they have the resources to buy it. So, bringing food to a starving area is unlikely to be bad for business.

However, the more important point is that you can surely make money off of people by becoming their only source of food/money - i.e. they would starve without you, so they accept whatever trickle of resources you deign to assign. This is extraordinarily common throughout history, coupled with a threat of violence that all states use.
Show HN: Patchouli JSON, an ergonomic DSL for Swift JSON Patch
I made this after working on various Swift projects that used JSON Patch and wishing for a way to conveniently patch JSON in code.

Could be useful if your Swift project wants to deliver canned customised JSON payloads, or to shape/modify JSON passing by.

Uses https://github.com/raymccrae/swift-jsonpatch for the actual JSON patching.

Has a tiny generic patching engine at its core, which you could use to write patchers for anything (they get to use the DSL too).
IMO it’s not wrong to want the next improvement (“…but without making up dangerous nonsense”), but it is disingenuous to pretend as if there hasn’t already been a huge leap in capabilities. It’s like being unimpressed with the Wright brothers’ flight because nobody has figured out commercial air travel yet.
> In such an economic system, the need for automation would be obvious and once implemented, all people would receive the benefits of automation. This would include such a wide allowance for leisure and free time that authors would no longer need to restrict access to their books to extract profits from their value their shared knowledge creates. All people would be free to do what they will.

Oh, hello there, dear communism. Same dream, same problems. No, this time around you don’t work either.
I think they mean calculation from the start menu search (on a default installation, it will Bing the calculation and show the search result, which I find absurd since it requires an internet connection to solve x+y). The calculator program still works fine offline, but is often overkill when you just want to quickly solve something

I'll note that Microsoft's PowerToys run solves this properly, just like MacOS's Spotlight and the built in search on most Linux desktops
"Optimisez votre quotidien avec notre bot IA avancé ! Conçu pour simplifier vos tâches, notre bot intelligent est l'outil idéal pour booster votre productivité. Que ce soit pour le support client, la gestion de données ou l'engagement sur les réseaux sociaux, il est programmé pour répondre à vos besoins spécifiques avec une efficacité remarquable. Accédez au futur de la technologie et laissez notre bot IA transformer votre approche du digital. Prêt à faire l'expérience de l'innovation ? Rejoignez-nous maintenant sur https://t.me/Vortec_bot. Ne laissez pas passer la révolution IA !"
A book is knowledge, knowledge can 100% be a family businesss to be continued. I don't see it as any different from a family restaurant protecting their recipes in an otherwise cutthroat industry.

The terms is too long as is, but I see no reason to not have any posthumous transfer period so the family can figure out what they want to do with their knowledge.
The crews of Apollo 1, Challenger, and Columbia might take issue with your implication that glorious American capitalism could never produce similar outcomes.
For anyone who has not tried Linux as a desktop lately i recommend to give it another spin. The last years have progressed a lot, since around Ubuntu 20.04 and later, all the classic things that one should take for granted that used to be trouble on Linux, are now finally sorted out.

Plugging in and out a secondary display - actually works. Fractional scaling per display - actually works. Bluetooth - actually works. Audio - actually works. Screen sharing - actually works. Closing the lid on your laptop and expecting it to wake from sleep again when you open it - actually works. Printers - actually works. Playing 4k youtube videos - ok, it still burns some more battery but otherwise works.

Basically, everything just works. As for the rest of the OS, the article gives a good picture of what it feels like going back to Windows. With Linux, the OS is just there for you, stable as a rock with no interruptions. It's a boring appliance, doing what it is supposed to, nothing else, letting you focus on your applications. Compared with Windows that you constantly have to pet around with updates, installers and keeping the spyware on a leach.
> "I only use Windows as a game launcher (and I’m still on Windows 10), I don’t understand why anyone would need it anymore except games."

Thanks to Valve/Steam and Heroic (Epic Store client), and a few other handy tools including Valve's Proton (WINE fork) I haven't even needed Windows for games for ages now. I can live without the small handful of Linux-hostile Windows-only games that still won't run due to draconian DRM/AntiCheat, as the vast majority of my Steam library is "Click 'Play' and they just work", for Windows games and the many native Linux games I also have. Same for more'n half of the games I have on Epic (all from their freebie giveaways). The ones that don't work I can live without. Every other thing I want to do on my PC I've found native Linux software for that more than handles the task.
Let's do a mental experiment: Put 2 year old Einstein on a remote island, all alone, and come back 30 years later. Assume he survives. Will he impress you with his insights?

They say we don't use language for thought, but language informs our strategies and choices, and collective experience is essential for progress. We only add small increments of insight from our own experiences to the pool, but the experience captured in language is greater than any one of us.

And more interestingly, LLMs trained on this data show amazing capabilities that go beyond mere reproduction. LLMs gain everything Einstein lost in this experiment, what is the language part and what is the pure insight part? Looks to me humans are like LLMs on feet, and with a full social complement surrounding them.
We can agree 95 years is too long and also not want to abolish the whole system and let everyone use knowledge immediately without proper compensation.

Nor encorugae assassinations by having stuff go public domain immediately upon death.
This is correct.

Some of that software, especially for controlling specific hardware, can even be DOS software.

The hardware can be reliable and expensive; software support, long unavailable.
You're hoping a similar situation doesn't develop under capitalism though? Also, your point of view only makes sense if you're on the receiving end of capitalism. I don't think lithium miners would object to collectively owning the means of production.

Disclaimer: I'm a random replyguy dumbass and both of these systems have huge problems. I have no better alternative.
And .NET Framework. You can still run 3.5 applications, and 4.5 will also exist as long as Windows will exist.
How did Michelangelo create his masterpieces? Can one describe the process using any verbal language in sufficient detail such that another master or a robot could create David? That's an example of thought processes beyond language.

I suspect the same happens in many other fields. Even in an abstract field like mathematics, intuition often forms in the mind before verbal description or articulation.
Bob doesn't write a specification, because Bob doesn't know as well what he wants. He will have to explore, try out until he reaches something that he can work with. Nobody is willing to spend time planning and documenting stuff. Everyone feels one youtube away from being expert in software development.
Speaking of losing the plot, here's extra-virgin canola oil:

https://www.woolworths.com.au/shop/productdetails/483501/geo...
How do I read this if I dont use X. Muppet!

It is advisable for all twitter users to check in at a mental health facility every now and then.

Who uses "Mental Hospital"?

What exactly is a "Mental Hospital"?

I thought they closed mental hospitals and Asylums 200 years ago!

Mental Hospitals somehow implies that the hospital has a mental health problem.
I use Blender3D for everything I (as a total non-professional novice) would need 3D graphics-wise, but as I understand it, there are a few CAD options available on Linux, and several more that run fine in WINE for those who need more professional or proprietary options.
While I think this is a really interesting topic, it should also be self evident because of a simple fact. Humans developed language long after our species evolved. The most recent estimates put the development of language at as recently as 40,000 years ago.

It'd be impossible to 'invent' language without thought, so therefore it must be the case that thought exists independently of language.
Physical property is zero-sum. If someone else is driving your car, you can't drive it. If you copy my PDF, I still have my PDF and can use it exactly the same. I'm only deprived of a hypothetical profit I could have made by selling that PDF to you (if you would've paid for it).

Imagine I believe that depriving people of hypothetical profits is morally wrong. By the same logic, libraries are stealing from authors by depriving them of potential sales. Peaceful protesters are stealing from retail businesses by obstructing hypothetical sales. Municipal water suppliers are stealing from bottled water companies by depriving hypothetical sales.

My logic wouldn't have internal consistency with societal norms unless I accepted that creative production is somehow unique and special, and warrants special rules to protect hypothetical profits with the threat of lawyers and state-backed violence.

Still, let's assume I agree. There are many scenarios, illegal under intellectual property law, where the author/creator isn't deprived of anything, even a hypothetical profit. Consider that copyright lasts for 70 years after the death of the author. For 70 years, the author isn't deprived of even hypothetical profit, because they're already dead.
I'm sure you're right in what you say, but this is not the reason modern acrobat is slow. I'm sure you could build a modern and accessible app that starts and loads the requested PDF snappily to show it, but acrobat will also (iirc) have some cloud integration now for storage and a bunch of the features they offer are gated behind some sort of subscription, the status of which I would guess is loaded on startup, probably along with a bunch of other stuff.
My guess is that AC is off because keeping it on increases fuel consumption and that cuts into the driver's tiny profit margins.
I have to admit, I read the article and the comments and can't help but smile a little. Personally, I switched from Windows to macOS & iOS (Linux on my second computer) back in 2013. Even though I am still ridiculed by Windows users for my Apple ecosystem, I have never regretted this step myself. macOS has never felt like it was patronizing me or getting in my way - it just works. While all my colleagues who use Windows are still busy setting up their development environment for every single project, I've been able to work for a long time because I configured the whole thing once many years ago.
In short, my tolerance threshold for poor user experience in software has simply dropped to 0. And I can only encourage everyone to make the switch if you're not happy - sometimes the grass really is greener on the other side.
I mean the goal of GPLv3 and other copyleft licenses is to ensure that innovation building on the licensed work is also made available so others may continue to innovate, no? In my mind reducing copyright terms is aligned to that goal. You can disagree with that goal, but I don’t see anything inconsistent about reducing copyright terms and allowing copyleft to extend for a longer period.

Even so, I think in most cases if a piece of software has been unedited for 10 years it’s either feature-complete or obsolete. If it’s been under development for those 10 years, the original version being released into the public domain probably isn’t a significant threat to innovation by way of closed source improvements being made.
You actually can deep fry in olive oil, you can smell/see when the smoke point has been reached and when I deep fry it seems to be fine.
I'm guessing most those people are just late and came in after the couple "exoduses" of sorts of people jumping ship from Ubuntu to the offshoot projects (Mint, etc.).

As far as my memory and perception of the situation go, there was a time where Ubuntu was #1 on distrowatch and couldn't conceivably be dethroned. Then, they added the spyware in '12 and snaps in '16, neither of which were by any measure without controversy, IMO. (And, spoiler alert -- they have since tumbled down from that position.)
I'm 100% on board with giving publishers and huge boot and making sure their labor is properly compensated. Sadly these discussions here always tend to turn into "copyright as a concept is BS, I want to utilize knowledge immediately with no restraint".

A reverse motte and Bailey, if you will. There's a perfectly objectionable issue that we can band together to solve, ignored in liue of the extreme argument that'd take decades in court to resolve.
How were you able to buy a PC in ~2020 without TPM? I thought that's been built into every PC motherboard since ~2013ish (and ~2008ish for Intel).
> stored in various random places in the filesystem

What config files have you found outside of `/etc` and `~/.config`?
Walk-forward is just back testing with out of sample periods where your parameters are constant. You can emulate it with a backtester by reducing parameter space to one in those periods.
The first thing I install when I get a new mac. Peter ftw.

For everyone recommending Rectangle, for instance... I just have a few Keyboard Maestro macros. KM probably replaces half a dozen other apps for me.
OK, but back to the actual article you're responding to, it isn't a very good one. The author is actually saying "don't worry about which oil you fry stuff in" at one point in it, which is dumb. Like can you technically deep fry stuff in extra virgin olive oil? Yes, but it'll be expensive and EVO has a low smoke point so yes you will need to be careful or you risk burning it, creating carcinogens, it will be more dangerous to use than a proper frying oil etc.

Dumb dumb dumb.

As far as I know there have always been two serious considerations around cooking oils, one is the smoke point for the reasons above, and the other is quantity of saturated/trans fats with less generally being healthier. This article is on to a good general idea that you don't need fancy and exotic oils unless you want to do something fancy and exotic. But the execution is poor. I keep two oils in my kitchen, a light/EVO oil for salads/breads/quick sautees and one with a high smoke point for frying. Haven't seen any evidence in 20 years that this needs to change.

BTW if anyone really wants something to worry about, it's probably going to a restaurant - pro chefs know what sells and are using twice the amount of butter you would if you cooked at home. Love me some butter but the amount being used at restaurants is wild