skysight-inc/HackerNews huggingface dataset:
> But there is a lot of pure Python code out there that is not written that way. Removal of the GIL would allow such code to be naively run in multiple threads using, for example, Python's support for thread pools.

I guess this is what I don't understand. This code could already be run in multiple threads today, with a GIL. And it would be broken - in all the same ways it would be broken without a GIL, correct?

> Anyone under the impression that removing the GIL was intended to allow this sort of thing without any further checking of the code is mistaken. That is the kind of thing my comment was intended to exclude.

Ah, so, is your point that removing the GIL will cause people to take non-multithread code and run it in multiple threads without realizing that it is broken in that context? That its not so much a technical change, but a change of perception that will lead to issues?
would love to see examples
Which is why feds need to allow crypto derivatives securities to be sold in tradfi to hedge this volatility. They claim crypto is an unstable asset but then make it harder to stabilize your crypto wealth, it is maddening.
Sure! I tried pybind11, and some other things. cppyy was the first I tried that didn't give me any trouble. I've been using it pretty heavily for about a year, and still no trouble.
https://simpleflying.com/sukohi-superjet-100-crash-russia/
@kosolam I haven't extensively used aider.chat to compare. One option that exists in Dravid would be "dev server monitor" part, which listens to the errors as the dev server is starting and then autofixing it. But aider.chat is definitely feature rich with docker, playwright and several things. This (Dravid) tool is a minimal terminal specific coding framework.
I’ve been seriously considering using Logseq for this reason.

When I first started with Obsidian I used it that way, but the more I put in it the more I started organizing everything. It became less of a journal and more of a repository for long form stuff.

I’m thinking about using both just so I have a dedicated tool just for the journaling side of things.
I am going to be the token programming language researcher and say that what you really want is a dependently typed assembly language that your dependently typed higher level language lowers to. One school of thought that has yet to bear fruit in “mainstream“ programming, but gives tantalizing hints of what is possible, is expressing increasing amounts of your programs constraints in the type system, thereby informing the compiler precisely about your intent.
A venv per project is a very sane way.
Put them into the ignore file. Hopefully they also could live elsewhere in the tree.
Who says it is a flex? It is simply reality, he who holds the central bank will tilt it and insuring institutions to favor powerful depositors, it's almost an axiom of governance and another reason why founders hated and warned against central banks.
Oh, I love C. [1] But yes, unforgiving.

And a lot of magic, with special variables, macros, and functions that you must know. And unclear scoping.

[1]: https://gavinhoward.com/2023/02/why-i-use-c-when-i-believe-i...
Have you ever lost someone close?

I have friends of all religions although I'm personally an atheist. Religion has very little to do with this deep sorrow. It's not about them, it's about the personal loss. It's about the suffering prior to death. It's a deep visceral human emotion that separates out psychopaths.

Based on that logic Hamas should welcome Israeli bombs and consider that a favor. But they sacrifice others rather than themselves. Their terrorists hide in tunnels away from bombings and send child couriers to do the dirty work for them. They find the poor suicidal soles and instead of getting them help, put them in a suicide vest and send them to kill innocent people. That's insanity.
I enjoyed the original Final Fantasy 7. Are you sure that your non-enjoyment of remake is not due to rose-coloured glasses of nostalgia?
Introducing PCSX2 2.0!
> Most businesses don’t even accept cash anymore.

Really? I've been using cash almost exclusively for the past several months and haven't had any real problems. Sure, the overpriced hipster vegan Thai place in the McMall district may not take cash, but the family-owned ramen restaurant a couple miles down the road is more than happy to do so. Personally I find the "won't take cash" attribute to be a strong indicator that the business isn't worth supporting.
Looks great to me and even does what I want when I turn my phone sideways: increase the size of the text.
Saudi Arabia to get first alcohol shop in more than 70 years
Setup may be a one time sunk cost of opaque misery for you, but it's a lifetime of never getting any closer to truth understanding or enlightenment, upon a difficult opaque system that doesn't respect you & won't show you whats happening & has an array of barely supported weird add-on tools to accomplish the most basic software installs & setups.

It'll be a one time cost for your setup. Then a one time cost for the next setup as the student tries to do something else. Then another cost for the next effort. And the student will never gain any skill understanding or comprehension for any of these barely related steps.

Wsl2 is indeed savings Microsoft's bacon, by being some place where there are clear rules & patterns & behaviors, & where there's some kind of coherent underlying substrate. WSL2 is saving MS's ass. By not being Microsoft and by especially not being Windows. By being something social, with layers of accepted communal tools & platform.
F/OSS: SilverBullet for note taking
I’ve found a lot of success going one step further giving up on retrieval all together. I use either a new text file every time (which I never open again) or a physical notebook page (which I never refer back to). I get so much value from the act of writing itself.
But requires handing over your app signing keys, right?
I trust that you're correct, but I'm glad that this is the case. There are books designed to be introductory, and there are books that serve as reference for advanced topics and state-of-the-art techniques. The first type can often serve as an enabler for the second type.
I write a lot of notes in fact I write more than I read. It helps. However I have some issues:

1. How much commentary should I write? I try to write not too many notes because I write code, and some say code should be self-documenting. So it's the same old question of how many comments should there be along the code.

2. How do I retrieve a note I've written earlier? I can use tags and search for them but it is not easy to come up with a perfect tag which I would remember later.

3. I have so many notes and by now many of them are out-of-date. I don't want to spend time updating my notes. But if I don't they can become misleading.

There needs to be a balance between "Just do it" and "Write about it". I'm not sure I have the correct balance between those two.

I can see an alternate approach which would be a FORUM where co-workers discuss what they are doing or plan to, or have done . But there too the retrieval might be a problem. However the FORUM-tool would automatically keep track of when something was written and by whom. NOTE: You might benefit from other people's notes just as you can from your own.
There was another project which did something like that to "Russians" after the invasion of Ukraine.

I also found the author's conduct shocking, people's memories are fickle and making this implication once was bad enough, but insisting on repeating it? Feels like the author _wants_ people to misremember and erroneously believe that Notepad++ was the software package in question.
The cooling associated with the Little Ice Age started in the 13th Century (per https://en.wikipedia.org/wiki/Little_Ice_Age#Dating), though, while the Black Death was in the 14th.
The most USELESS commit messages are "Fixes #12345 (#23456)".
It tells the git log reviewer NOTHING.
You shouldn't have to rely on github to understand your project.
State the intent of the bug fix in the commit message.
Python is indeed the BASIC of today. I stoked my nephew's interest in programming by doing exactly what you said -- using Python with the pyturtle library. One flourish I'm particularly fond of is, we worked through the commands to draw a repeated object in the picture he was designing, and I said: "Now here's something programmers do, it's called refactoring. We're going to take this wheel here and make a function called 'wheel' that draws a wheel wherever you say. And then we're going to take the location and turn it into parameters for the 'wheel' function..." And on and on. He seemed really engaged.

The ubiquity of microcomputer BASIC in the 80s -- often as the first thing users see, or the only thing they see absent a cartridge or disk or something loaded into the machine to run something else -- seemed to suggest that computers are meant to be programmed, the way pens are meant to be written with. It was a complete accident, of course, a side effect of market realities at the time: no one at the computer companies could think of what someone would want a microcomputer for, aside from video games. The devices were solutions still in search of problems. So the microcomputer manufacturers encouraged customers to invent their own uses and bundled a programming language that would let them do that. Once word processing, spreadsheets, and especially the internet took root, it became obvious what consumers would want a computer for, so the idea that they would be expected to program them fell by the wayside and programming tools became no longer easily accessible or even available except as a separate purchase. As a consequence we may not see the efflorescence of programmers among Xers to early millennials repeat itself the same way again. I don't even think it happened in the USA to the same degree that it did in the UK, thanks to Sir Clive Sinclair's ability to deliver cheap but serviceable and completely hackable units to even modest British homes; as a result, British computing, like British pop in the 80s, hit way different and became a source of endless fascination and influence.
Recognize this from my youth (as a player) -- awesome that this project is still going, and this is a MASSIVE update.

Wonder how many young people are getting their introduction to CS/compilers/systems via hacking on pcsx2.
This is useful! Someone else mentioned PineTime which is pretty similar to the P8 and writing custom firmware in Python definitely sounds less daunting. I'll buy one since it's pretty cheap and see if Yuri can tolerate it on his collar. Thanks a lot!
I've never heard of this, and cursory web searches don't seem to be turning up anything relevant (although that's admittedly not saying much with the state of search lately). Can you explain how the law requires this level of data retention?
Discussions

(57 points, 3 days ago, 7 comments) https://news.ycombinator.com/item?id=40923905

(20 points, 3 days ago) https://news.ycombinator.com/item?id=40919644
This does feel like a big release:

* Big picture mode

* Per-game settings and a built-in database of fixes that are applied automatically for know games

* Switch to Qt

* No more plugins, it's all a single codebase now

* Translation process improvements

And more!
Lol - replaced by even bigger megacorps. Google, Microsoft, Nvidia.
Yeah, security checkboxes don't necessarily result in good security. One option is to still make companies liable for security breaches, regardless of what meaningless checkboxes they may have checked, and then trust that they'll figure it out. Real liability would shift things from theater to weighing actual risks and costs.

Another option is we can empower red teams (security researchers) to test the security of all systems even without permission, so long as they report their findings responsibly.

It's currently quite convenient for companies. They get to deny security researchers from testing their security, and they also have no liability if a security breach does happen. Or, to make it personal, if I want to investigate the security of a company by trying to hack their system, I risk going to jail, but if they lose my data in a breach I have no recompense.
Check out obsidian.

It is just folders and markdown so it is ultra portable, but the obsidian editor has tons of useful features like a graph view, autolinking, and a plugin in for anything you can think of.

There are tons of YouTube videos and articles describing different organizing systems and ways to use it.
The way I've been telling it:

- It's statistics if the goal is to figure out why it works

- It's data science if nobody cares why it works

- It's ML if nobody knows why it works

- It's AI if it's actually impossible to figure out why it works

The definitions are not quite mutually exclusive.
An accident waiting to happen.

I'd be happy to start with a draft bill "it shall be illegal to walk on a public street while distracted by an electronic device" and amend from there, as reasonable objections get brought up. I'm sick of yelling "Hello!" at people who are about to walk right into me.

It would be easy to treat it like a parking ticket: a fine and no possibility of jail time.
> statements that should be separated by a sequence point in the C memory model can interfere with each other,

That also doesn't exist on x86 since it is a TSO platform.

The other thing is that even in the extremely unlikely case that some new behavior in 13th/14th gen Intel CPUs is exposing a bug in either code or compiler that has just been lurking there for who knows long, and doesn't affect any other CPU at all…

… with the way the world works, it'd still be a CPU bug, even if there was a document somewhere that says the CPU is right. x86 is shoved down the compatibility road so far, it just doesn't matter what some paper says if you break compat. (For user space at least, kernel is not quite there.)
"Overall, meaningless work commits a Spiritual Violence against a person. It's an attack on something not just physical, not just mental, but on something that is the essence of being. It wears away our sense of self."

The author was unto something big, but didn't expand this idea.

I'll try to explain it this way. The only true reason we live at all is we desire self expression. Iirc, the eastern literature calls it tanha - the desire for material existence. However if this outlet is clogged, the desire for self expression doesn't go away. Like a stream of water, when it encounters an obstacle, it takes a different path or overflows in a disorganised manner. The latter corresponds to spiritual self-destruction.
> I mean - it's more than a sellable product, the reason we're doing this is to be able to advance medicine

I get this approach for trauma care, but that's not really what we're talking about here. With medicine, how do we know we aren't making things worse without knowing how and why it works? We can focus on immediate symptom relief, but that's a very narrow window with regards to unintended harm.

> Alright and what if this is also a lot quicker to solve with AI?

Can we really call it solved if we don't know how or why it works, or what the limitations are?

Its extremely important to remember that we don't have Artificial Intelligence today, we have LLMs and similar tools designed to mimic human behaviors. An LLM will never invent a medical treatment or medication, or more precisely it may invent one by complete accident and it will look exactly like all the wrong answers it gave along the way. LLMs are tasked with answering questions in a way that statistically matches what humans might say, with variance based on randomness factors and a few other control knobs.

If we do get to actual AI that's a different story. It takes intelligence to invent these new miracle cures we hope they will invent. The AI has to reason about how the human body works, complex interactions between the body, environment, and any interventions, and it had to reason through the necessary mechanisms for a novel treatment. It would also need to understand how to model these complex systems in ways that humans have yet to figure out, if we already could model the human body in a computer algorithm we wouldn't need AI to do it for us.

Even at that point, let's say an AI invents a cure for cancer. Is that really worth all the potential downsides of all the dangerous things such a powerful AI could do? Is a cure for cancer worth knowing that the same AI could also be used to create bioweapons on a level that no human would be able to create? And that doesn't even get into the unknown risks of what an AI would want to do for itself, what its motivations would be, or what emotions and consciousness would look like when they emerge in am entirely new evolutionary system separate from biological life.
Why even bother lobbying? How hard could it be to set up a clandestine smelting operation?
Is your data safe from Google Docs AI scraping?
> In SVG, all shapes are absolutely positioned. Text does not wrap automatically.

This is not really true — you can position elements inside the SVG coordinate system using percentages and you can mix absolute coordinates and percentages. This allows you to have elements grow and shrink in reaction to width and height without distortion.

Wrapping text is possible with <foreignObject>, simply let HTML/CSS do the text layout wherever you need text within the SVG.

However it is still true that you usually want to do a bunch of calculations in JS based on the width to know how many chart ticks you want, how many labels, etc. But that is pretty easy to compute with the helpers from D3.
That T-Mobile is out here slapping spam mitigation blocks on phone numbers who received SHAFT content from numbers on T-Mobile's network is pretty ridiculous, but silently blocking and providing no appeal or escalation path is just how we let companies operate these days.
The author's repeated expression of "concern" that the Notepad++ author might erase people's files borders on libellous in my opinion. It suggests that such an event might have happened in the past, and especially in the context of a separate piece of software having done that previously, it's almost like the author _wants_ people to misremember and think it must have been Notepad++. If it were only once I wouldn't have made my opening statement in such strong language, but twice?

Ironically the whole thing just damages my trust in the author. People who see other people's forthrightness about their own beliefs as a negative are people who should not be trusted, they are people who view a kind of dishonesty as being a virtue, and honesty with suspicion, consider what that means for somebody's trustworthiness.
Is the process of writing not for reading it but to solidfy memory? Of course the bonus is you could read it, but you really won’t
Pretty much what you said, yeah. I thought that a git repo of text files was easier to work with then storing them as blobs inside sqlite.

I do insert completed tasks into a "completed task" append-only table when I pop them off the stack, so I do have a record of completed tasks in sqlite. (I find that useful for remembering what I did recently for standups and 1:1's)
ey features of Laptop0 include:

1. User-Friendly Interface: The site offers a clean, ad-free design with fast filtering options, making it easy for users to navigate and find the information they need quickly.

2. AI Recommendations: Our tool provides personalized laptop suggestions based on user preferences and requirements, helping both tech enthusiasts and casual buyers make informed decisions.

3. Comprehensive Database: As of July 2024, our site features over 11,250 laptops with detailed specifications and pricing information.

4. Regular Updates: We consistently update our database to ensure users have access to the most current laptop models and prices.
No idea, that's your particular moot hypothetical.

Meanwhile, in the world we all live in, X under Musk isn't a free speech platform (so free speech hypotheticals are fully in the fantasy football domain).
Everyone also forgets that JLG was a horrible manager and his decision to keep Macs obscenely high priced was what ultimately almost killed Mac.

And Steve Jobs as the founder of Apple had a political capital than JLG would have ever had.

While I know that the measly $250 million that Microsoft invested in Apple didn’t “save it”, only SJ could make peace with MS (only Nixon could go to China) and make the tough choices.

Founders are given a lot more leeway to make huge changes than any other manager.
The problem with writing too much is that it becomes a chore to read, there could be a lot of fluf and a few gems, but you couldn’t tell anyways.
I really think that's the answer. Blog traffic fell off when Reader was killed and a lot of bloggers stopped blogging and moved to Twitter.
I can’t wait to hear that engine scream. 15k rpm from cosworth oh lawdy it’s gonna be nice!
`git reflog`, which the article prominently mentions, really should be the VERY FIRST thing to teach everyone who is learning git.

If you don't know about it, it is well worth checking it out now.

It is your one ticket to getting to whatever previous, good (or bad!) state you were at any point before[1]. The only thing it cannot help you recover is locally made changes that you never committed to anything at any point, and have since locally deleted. This is surprisingly rare, at least for me, as I just tend to `git stash` stuff I don't want anymore.

With `git reflog` in your backpocket, you can rebase, merge, branch, delete branches, cherry-pick, rewrite history, whatever, all to your heart's content. `git reflog` keeps a journal of every single action, and tells you the HEAD before and after each action, which you can then simply checkout or `reset --hard` your branch to.

I never even use any arguments with it, I literally just `git reflog`.

[1] Unless garbage collection has deleted the commit you were pointing to, I guess, but I've never had to use `git reflog` that far in the future.
Show HN: Happen Make Customer Feedback Easy
Smelt is build system agnostic, but it seeks to be the "invoker" so to speak -- we've used it with a many build systems including make, cmake and bazel.

There are a few reasons to separate build and test systems:

build systems struggle to express constrained random testing, and some build systems even struggle to express directed testing sweeps, which are common patterns in design verification.

The other reason is that testing is often treated as a "leaf node" in a build graph, and it's not possible to describe tests depending on other tests.

Overall, testing is a different problem than building, and circuit design often requires complex testing flows that build systems aren't designed for.
I did that too, not sure why the extra husk was so effective.
I'm currently working on a PhD dissertation part time, and this concept has been very helpful since I'm not working full days and therefore have more context switching. I end up drawing a lot of graphs and figures to think things through, so a big notebook of graph paper ends up working the best for me. Every couple of days or so I write out a list of the next few tasks as I currently see them, then think on paper to figure out how to implement the code for each task.

Funny thing is, writing it down helps it stick in my brain, so I need the write up less than I would if I didn't write it. That's got to be some kind of contrapositive of Murphy's law or something.