skysight-inc/HackerNews huggingface dataset:
Your arguments completely miss my main point. Before I get to it briefly, bear in mind that i'm not opposed to tax collection or government spending on public works, social services and etc. I generally, with certain conditions, reservations and strong criticisms do support the modern liberal social democratic state as something close to the pinnacle of socioeconomic development so far.

On the other hand using the word "neoliberal" reveals little more than a cheap, all too human love of simplistic, idiotic ideological labels with little substance. Go ahead and define whatever the hell a neoliberal is. Name a few examples and exactly how their administrations were in any marked way different from any other modern western state. Here's a hint of the silliness inherent in that, via example: Under the Bush years, the fundamental structure of government and its obligatory spending was little different from how it was under any number of leaders previous to or following that time. Let's look beyond cheap labels and at the actual structure of how governments, markets, taxes and social systems work.

As for my main point: It's simply this (and related to what I just mentioned above) in the modern world, speaking particularly in the context of the developed countries, government budgets and tax receipts from economic activity are so enormous as they stand that losses from tax evasion are far more of a boogeyman than a reality as a meaningful hindrance to resources. The average budget of the average western developed country has so many avenues for allocating funds that using lost tax revenue from evasion as an excuse for why it doesn't do so for a better future is absurd.

The numbers simply don't back it up. To take the U.S. as an example, it's estimated that losses due to illegal tax dodging were something over 600 billion in 2021. Those are losses to both state and federal tax revenues. In the same year, the federal budget alone was over 6.8 trillion. If you add in state budgets, the number gets an extra 3.8 trillion added to it. That makes the total over 10 trillion in government spending. 680 billion is a lot, no doubt, but as an excuse for why government "doesn't have enough money" for better things, it's a pallid excuse.
In retrospect, our datacenter partner in the old datacenter was unreliable. But, we had been there from the start, since I was just hosting a personal server there pre-SourceHut, and during the incident they egregiously violated their SLA with us -- we had reason to expect better from them.

We're much more confident in our AMS partner, though.
Uncommon Sense Teaching, it's about how we learn from a neuroscience perspective, and how these insights can be applied to teaching kids (and ourselves).
Just spent two hours on this. Would happily spend the time again (and probably will soon!). Awesome work.
https://archive.ph/fz2Gt
types are just an example. structure (modules/classes/keywords/constructs) is also a big win for organization and assisted code navigation. even with dynamic types, i find it far easier to grep a python codebase than a lisp one. is it code? is it data? python syntax makes it fairly clear.
That’s around the time he says we should build 1200 shale wells in Pennsylvania.
> And if you agree with me that grammar above in intuitive sense is ambiguous, i. e. if you agree that A :: B ==> C allows two parse trees, then your brain thinks in terms of CFG, too! CFGs are simply more natural.

Count me as my brain being on team PEG then, so also a data point against CFGs being more natural. In fact, I think this example proves that author of TFA does not think in CFG, otherwise they wouldn't have accidentally written an ambiguous grammar!

In my experience, it's an extraordinarily tiny fraction of people who actually want parse forests instead of parse trees in the languages they are constructing (TFA specifically excludes pre-existing languages). A PEG will be unambiguous. People want unambiguous. There's a chance it disambiguates against the intent of the author, but a CFG won't disambiguate at all, which will nearly always be against the intent of the author.
PrivateTmp in systemd does this.
Oh man, I have been looking for that website since 2012, when I first encountered it while learning about context-free grammars during my studies. Thank you very much!
Exactly. You go to the customer, they don't come to you.

It can take time, and consistency, but persistence in a good way) builds up trust.

Equally it acts as a view into you. Are uou generally helpful when interacting, or just pushing you product. I became an "industry expert" - helping whoever and however I can. Regardless of whether it pushed my product or not. Equally where I had a product that solved an issue I didn't hesitate to mention that as a solution.
The claim was that some external entity was communicating with the people taking DMT. However, others in the room did not detect that entity, so it can't be made up of normal matter, or at least not at normal sizes. It is possible that the entity detected the person taking DMT somehow and started contacting them from far away, but then an instrument could detect the change after the DMT is consumed.

The alternative is that the entity is communicating in some way that is neither electromagnetic nor gravitational nor the weak or strong interactions, which would require new physics, and it would also require some explanation of why our brains would have evolved to capture this fifth force of nature that somehow doesn't have any measurable effects outside of DMT.
This seems like a temporary problem as AI models improve. If we can figure out how to extract meaning from distorted images, AI will be able to as well.

OCR for distorted text is a solved problem. Relatively simple math based on normalizing text size and shape can be used to calculate how to reverse distortion.
Show HN: Open-source tool that records screen and webcam
The url: https://chromewebstore.google.com/detail/voicer/bjmpceolmcff...
Mental Models for Ruby Enumerators
Apple M4 iPad Pro OS Has New Security Exclave for Camera and Microphone Activity
I cut my programmer teeth on Koha years and years ago. Still one of the warmest open-source communities I've ever been involved in, especially to a shy teenager with a lot of opinions.

Great to see new faces in the community, sad to see the sheer insanity of MARC21 still causing chaos. MARCXML is gonna make it obsolete Any Day Now!
With mount namespaces, you can create an anonymous tmpfs mount that gets detached and deleted once nothing refers to it any more, and add whatever files you want to that. It can be accessed using the *at() syscalls, or alternatively using an initial fchdir() to make it the current directory.

Too bad that unprivileged namespaces have been buried by the big-name distros, though.
that's the thing tho, today grades aren't much of relevance since skills are more favoured but there's a lot of competetion as well
Greenspan's tenth law is that every language ends up with a half baked Common Lisp implementation. This is apparently true, with the stipulo that these implementations end up fully baked over time. This is true since functional programming languages are commonly research languages which mean industry languages catch up.
A working definition for some apps could be: The user's data should not be available to the system if there isn't an active user session, such that the user's privacy interests are cryptographically protected in event of a breach or data leak occurring when the user is not actively using the system.

I wasn't thinking of manual approval of any cryptographic steps. Just that when you log in to work on your data stored in the system, the system can only then decrypt the data, and when you log out, the system forgets the keys until next time.

It all depends on the type of app of course.
Show HN: MacCopilot – Freely interactive with your screen
Hi everyone

I realized how natural it feels to interact directly with your screen, but couldn't find an app that did it without extra steps(most via taking screenshot first, then submit it). So, I built MacCopilot for macOS.

With MacCopilot, you can capture screenshots of anything on your screen and chat directly with advanced AI models. It supports OpenAI's GPT-4o, Google Gemini, and Claude models like Opus, so you can choose the one that fits you best.

Some use cases: summarizing articles, explaining social media conversations, drafting emails, performing OCR, and more. All visually.

Would love to hear your thoughts and feedback.
I think it all depends on the language, but I found it (usually) easier to implement the recursive-descending parsers just manually. This may include combination approach too, but using my own combinatorial and domain-specific functions.

In a nutshell such a parser is PEG in a sense that the choice is ordered, but with little to no test expressions. In other words, I try to stick to lookahead-1 most of the time. Left recursion quite often could be resolved by lifting the branches to their siblings rather than re-parsing the same things many times using the cache (packrat). In fact both approaches, the packrat and the nodes lifting, are the same in a nutshell, but nodes lifting is usually easier to maintain (again, it all depends).

Writing the parser manually, or in other words a set of relatively simple mutually recursive functions, in my opinion, is not the hardest problem in practical engineering. At least it's not so hard when you have a mental model of the language's syntax upfront.

If the language fits specific class of formal grammars very well, perhaps it would be not so hard to implement it using the parsers generator tool. But it is likely there will be edge cases that are hard to express properly using the formal grammar, and fighting with the tool specifics will waste a lot of your time rather than benefit you.
I’ve heard this argument:

If RH is unprovable one way or another, then certainly no counterexample can exist to the RH otherwise you could find it and prove the RH to be false.

Hence if RH is unprovable, it must be true. I suppose this uses logic outside the logical system that RH operates in.
Documentary and drama about John Romero in the works
You're flatly wrong and should read more about how tax evasion works. I assure you that if someone manages to skim an extra X millions of dollars away from the tax man, they certainly won't let it sit dead and being eaten by inflation after that effort and expense. They might as well have simply paid taxes on it otherwise.

Through an assortment of vehicles and mechanisms, that money does indeed get shifted, moved and invested in all sorts of sophisticated and fully diverse ways, just like assets that were legitimately declared. I mean, what do you think they keep it in? Giant vaults as stacks of cash, like Scrooge McDuck? Absurd, the kinds of childish ideas about tax evasion that appear here.
If I am understanding you correctly, you are having trouble with the "double tap" of the Touch ID models right? This operation was much easier on the smaller iphone SE. They probably designed it for that design(iphone 4-5S) due to its smaller size that allowed one handed operation and then carrying it over to the current SE design(iphone 6-11) is probably not ideal for that form factor(thinner and rounder).

I believe the FaceID models solve this by having you slide the app up slightly to then select between it and any other open apps or go back to the home screen. Maybe that would work better for you?

Also, this is just my opinion but like I mentioned, the iPhone SE Gen 2+ uses the last gen design language which started back in 2014(iphone 6) and has been gone from the main line for years now. It always felt super slippery and prone to dropping(too thin and those rounded edges are difficult to grip) which is why I held onto my iPhone SE Gen 1 until the new iPhone 12 came out.

This is just my opinion but maybe you should go to a store and check out their other models.
If calibration is a temporary problem, it's because the people building those AI models understand imaging really deeply, and engage with some of the ideas in the linked post. To put it another way: if you want to build AI models that understand the world in 3D via 2D images, you should probably understand projective geometry, camera calibration, etc, extremely well.
> places like RenTech don't specifically look for the top <1% cognitive ability

There is no way more than 1 out of 100 arbitrarily sampled humans can win Putnam or get tenure in pure math/physics/etc. at an Ivy.
I feel that it's really hard to get an intuition on where all this is going. on the one hand you've got sci-fi like openai demos, and for sure their tool is definitely a productivity booster which i use often, on the other hand it still fails mysteriously at some elementary tasks.

And this has been a reccuring observations of neural networks for the past 40 years, which makes me think there's some inherently problematic blockers with the fundamentals of the tech we haven't solved yet.
Further reading:

* https://hoytech.github.io/truncate-presentation/ / https://metacpan.org/pod/Unicode::Truncate

* https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundarie...

Truncating at codepoint boundaries at least avoids generating invalid (non-UTF-8) strings, but can still result in confusing or incorrect displays for human readers, so for best results the truncation algorithm should take extended grapheme clusters into account, which are probably the closest thing that Unicode has to what most people think of as "characters".
> I wonder… if people whose phones get stolen start tracking the locations they see it travel to using Find My, and a site were available to report these to, could enough evidence be collected to motivate a police/FBI visit to the location of fences in the US who are shipping these to China?

Probably not. Below their pay grade to stop petty crime. There's also the chain of custody on evidence that becomes questionable for the prosecution. They need to collect it using their own methods and reality is they have easier or larger crime to go after.

My observation on this is that it needs to be more of an 'institutional' level of crime to get them motivated if it doesn't happen in their own investigation. Ultimately this is 'helpful' crime for Apple's bottom line, unlike parts smuggled in to legitimately repair devices.

Other example of what I mean: I've witnessed a craigslist deal go south on a purchased motorcycle when the seller never titled it from previous owner. Cops were called, and told the two parties to stop arguing and file a claim in court else disorderly persons charges would be brought. (thankfully the seller was able to contact the former owner, and drive with the purchaser to have the title transferred properly) If however this was a situation like a bank calling about forged checks, the police would move to arrest and prosecute the forger immediately. There wouldn't be this onus on the bank's part to file a civil claim.
> mac and windows have this least powerful equivalent

For mac if you're referring to ukulele, it has a bunch of limitation and hard to handle cases. This is kinda normal as it can't handle all the known cases in the universe, but it's also a software targeted at niche users by definition.

I couldn't remember what exact case was blocking for me, but I'm definitely not the only one who struggled:
https://groups.google.com/g/ukelele-users/c/yeL0OUpR6Gs/m/Wd...

I don't know of any windows tool of remapping a layout for win11, I'd love to hear about it please.

> How would you achieve the same with editing a keymap file which has no delays?

Sorry for the misleading. I don't want delays, I'm just remapping a key to have a specific action when pressed alone, and other actions when pressed in a combo. Except Karabiner Elements uses/needs delays to split these two cases (at least for the Cmd key for me)

You don't have these limitations with remapping the keyboard at a lower level + remapping the shortcuts. It also was enough of a pain that I moved to keyboards with more keys in the first place.
How long have your shop been using CL ?

I understand the value of mainstream languages at the group level (ability to distribute work through simple layers), but my brain doesn't like this way of working. I used to churn a lot on my own and I miss some of that (the speed and the ability to find creative / novel ways to solve problems).
seems like a problem, you should get that czeched out
Natural keys have a tendency to change over time in what is considered unique.

For example, you have a company, and every employee has a unique employee number generated by HR... until the company merges with another, that also has unique employee numbers, and suddenly the identifier becomes the tuple (organization, employee number) that becomes unique. If you've used the employee number as a foreign key in other tables, you have to change those too.

This is a somewhat contrived example, but I've had enough real, annoying examples happen to me in my career that I avoid natural keys.
[dupe]

Discussion: https://news.ycombinator.com/item?id=40562834
> HETERO-iconicity, boilerplate, structure... helps the new hires find their bearings in the codebase.

But only in theory. The shit that I keep seeing of incomprehensible spaghetti code in C and C++ disproves that theory on a daily basis.
My favorite programming problem to teach: Digit length (2019)
We make software for streaming/realtime data analysis; our clients are, by first mover/network, mostly banks. We have been building for 20 years next to our ‘consultancy’ (no one else gets a peek; we are not investors like PG so I rather have the competitors slowly bleed Java and Python). We are not 100% cl yet (we started out with c# and Java), but all things that change a lot are.
Guys! I made a search engine! Hey it just uses a Google search API.. Yep!
It's really refreshing and heartening to see the criticism on Microsoft in the comments there on ars.

I work in a typical MS shop and as usual their evangelism is really strong. Everyone in the admin team is a hardcore Microsoft promoter, everywhere from internally on Yammer and externally on socials. They're probably fishing to get made MVP. But still, I have more self-respect. While they're all eagerly piling on Copilot studio I'm making my own bots with ollama. I don't like having my knowledge and experience locked behind someone else's brand and interests.

I'm very critical and feel they are a mediocre company which mainly floats on being "just good enough to not pass over" because of their marketshare. The old "nobody got fired for buying IBM" thing. I don't think they're actually leaders in anything. They're just big so they're hard to get around. Every third party solution we've replaced with a MS alternative was more capable, more ethical and easier to use. It was always a step back to settle for the MS solution.

Now again with the whole Copilot war they can do nothing wrong in the eyes of my colleagues. I'm glad to see I'm not the only one seeing this.
This is one of those cases where examples of natural keys failing are so ubiquitous that they are almost redundant.

For the group who have forged a career with natural keys, and never regretted it, more power to you. Great.

However to the rest of us, myself included, where ill-considered natural keys have caused endless opinions and suffering, my commiserations.

If I could send back one piece of advice to junior-me it would be to avoid natural primary keys. (Ideally with the corollary to avoid sequences, but that's another thread for another day.)
I've seen instruction pamphlets for these guys that measure the current draw as a particular iPhone model boots, from that they show places in the boot process where particular chips fail and how it changes

Remember they are removing chips from old boards, reballing them and soldering them onto new ones - they can pull a chip, fix a short and drop it back down pretty easily
and /home/.aws/, /home/.config/, /home/.docker/, /home/.dotnet/, /home/.dropbox/, /home/.mplayer/, /home/.vscode/, ...
In Spain we have the DNI number, that a lot of people asume is unique, even database designers that use is as a natural key.

Turns out the DNI can have, and actually have, a lot of duplicates. The police has a page explaining it (https://citapreviadnipasaporte.es/dni/dni-duplicados-espana/), and how it's not a primary key in their databases, but a number entered manually from a pool of possible numbers. And number re-using is a possibility. They estimate the number of duplicates in 200,000 for a population of 50,000,000.

The point is that if you asume DNIs are unique and use them as PK your database is exposed to the bad design of the DNI database. There are some stores that use the DNI as the "unique" identifier for fidelity cards.
Rust hasn't swept the world yet and it helps prevent real bugs and security issues. A better query language may make it fractionally easier to write database queries but you have to toss out a half-century of experience. It's not worth it for marginal gains. This isn't even opinion, this is the reason it has never happened.

I think I agree that SQL is like JavaScript. If JavaScript wasn't as expressively powerful as it is, it would have been replaced a long time ago. But it's actually good enough, despite it's quirks, that there doesn't exist a language better enough to make it worth replacement. It's possible such a language might never exist. And both SQL and JavaScript continue to improve sometimes directly stealing ideas from potential competitors.
> You think your surrogate key will save you? It will not. The world has an external reality that needs to be reflected in your database.

Yes, it will. It is precisely because of a messy external reality that you need an unchanging internal ID that is unaffected by changes to the external ID. If the software designer in the article had followed your advice, changing the chassis number would have likely resulted in broken car ownership records.

Whoever is reading this in the future, please don't follow the parent comment's advice. Use surrogate/synthetic keys for your primary key.
> generic framework

Yet at some point, the template is instantiated--in the text!--and you can fill-in-the-blank by reading instead of having to do a runtime probe. For large systems that have a lot of preconditions, the "runtime probe" approach can be a thick fat time-waster (i.e. caressing the program into a state where something is even in the tube).
Here's how this works:

Illegal collusion and price fixing happens when owners of competing companies communicate to set prices.

Apartments prices were historically a highly volatile compared to their lease lengths. One would have to own a majority of the apartments in a market to gain the data necessary to know things like upcoming tenant renewals, apartment renter influx/outflow, etc to combat things like mass-tenant exodus to a nearby apartment complex offering $100 less rent per month. This industry has been historically very competitive.

Realpage does the colluding for them inside a database and whispers back "here's our number".

How are non-participating properties punished? Debt Servicing. Try getting business loans for these properties without running Realpage's tools.

Look at the investors and board members of RealPage, InvesTran, etc. and those in the property management companies. They are a very small circle hiding normally illegal activity behind algorithms.

Encrypting or obfuscating illegal communications doesn't suddenly make them legal. Neither does charging money for the privilege.
> But automatically deleting files - in either of those - while the system is running is going to break all sorts of things.

Detect the process that created a file and delete it 24 hours after the process ends.