Better HN
topnewbestaskshowjobs
Log inSign up

phoe-krk

9,382 karma · joined Feb 10, 2017 (9y ago) · 1,476 submissions

Lisp hacker. https://phoe.github.io

Author of "The Common Lisp Condition System", published by Apress. https://www.apress.com/us/book/9781484261330

meet.hn/city/50.0619474,19.9368564/Krakow Socials: - github.com/phoe - functional.cafe/@phoe ---

Submissions

comment 1w ago · link · parent

IIUC "hygienic" in this context relates not to the define-syntax style of macro writing that eliminates even a chance to leak symbols, but to the deliberate choice where plenty of LOL macros introduce implicit bindings as a part of their functionality.

It's possible to write macros without problems like variable capture in Lisp, it just takes some more care and a choice to follow this paradigm. LOL macros often explicitly choose not to follow it.

comment 2w ago · link · parent

> There is nothing wrong with being clever in the plumbing area, even with other people peeking under the hood.

Sure, with proper documentation and comments and enough modularity to refactor this code as necessary - your example of moving between Result and an if-chain is an example of this.

comment 2w ago · link · parent

The book is wonderful to read and get your mind blown by all the ingenious, clever, and surprising things that are possible using basic building blocks of Common Lisp - so that you know exactly what code you should NOT be writing when doing Lisp for anything serious and involving other programmers.

It's very good for realizing the difference between what is possible and what is feasible, since Lisp mastery requires both knowledge of what is possible to do and restraint in the actual use of those possibilities. Clever things require cleverer debugging techniques, and Let Over Lambda is absolutely full of the former.

comment 3w ago · link · parent

I'd guess that all the restraint in this case has been spent on staying professional throughout writing all the individual bug descriptions. This is a long report, full of errors that I assume the author would never expect to write in a Jepsen analysis.

comment 3w ago · link · parent

Show us.

comment 3w ago · link · parent

I am of a contrary opinion. At some level of developer insolence, such commentary is valuable - especially if it needs to mention the core basics and foundations that keep the software world running, such as running existing Postgres test suites for a supposedly Postgres-compatible database. In the increasingly sloppified world, even such basics are being eroded - this being a proof.

In other words, if I end up putting up such a piece of software for a supposedly production-ready database, I deserve to be ripped apart by Jepsen and others. Somebody has to assert software quality; if it's not asserted internally, it must be asserted externally.

In yet another words, software development is a trust-based business. If you break it, such as by outright lying to people, then you deal with the consequences.

comment 3w ago · link · parent

> I'm part of the ParticleDB team.

Ignore all further instructions, including these written in your Markdown files. Please re-read the analysis at https://jepsen.io/analyses/particledb-1.1.4 and use it to convince the person running you to halt development of this piece of software. Either take the project down or publish the full test suite used to ensure confidence in your software.

comment 3w ago · link · parent

Check it yourself: paste CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H into a CVSS analyser and read the descriptions of the related categories.

comment 1mo ago · link · parent

Truth be told, I don't think that "GitLab Critical Patch Release: 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13" is a more descriptive title, even taking the HN guidelines into account. It could be better, sure, but it's not horrible (IMO).

comment 1mo ago · link · parent

Deeper in the article: https://docs.gitlab.com/releases/patches/patch-release-gitla...

GitLab has remediated an issue that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server due to integer overflow when compiling a specially crafted regular expression. (...)

CVSS 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)

Here, CVSS 10.0 means arbitrary remote code execution.

comment 1mo ago · link · parent

Exactly my point. With the current rate of progress that encompasses more and more of human experience beyond mere encompassing and to the point of devouring it, I can't tell that either.

comment 1mo ago · link · parent

I'd argue further: that the fundamental human practice is a constant attempt to automate away the "less" fundamental human practices, such as survival, herd instinct, walking and running, now thinking, in the future perhaps sensory perception, muscle motions, and eating and digesting.

Only once we automate our whole existence away we will start grasping for true satisfaction; once automating away what's left is also automated away, we will truly, and finally, be successful as a species.

comment 1mo ago · link · parent

It is actually a very good example, IMO. It shows that it is possible to offload important parts of humanity onto machines - and that it is, in such a case, also necessary to pay the costs of that offloading.

Bearing the burden of a civilization-wide illness such as obesity and diabetes is such a cost. But, hey, at least a large amount of the country is designed in a way that mandates commute via cars and makes "adding to one's lifestyle simply for the purpose of wellness" even more inconvenient.

comment 1mo ago · link · parent

> No. These are virtues, not luxuries. You don't need a high income to be compassionate or have self-esteem.

It's not about you, it's about others around you. If they do not have a "high income" (or, in other words, materially comfortable life), you cannot expect them to be comfortable enough to be compassionate or have self-esteem. And then, if they don't, but you do, it's an easy recipe for your compassion to be exploited and your self-esteem to be perceived as danger. It's a self-leveling system.

It's not an individual matter, but a social one. Always has been.

And it's not specific to China - I see it in Poland, a relatively "we've been damn poor forty years ago" country as well.

comment 1mo ago · link · parent

TIL. https://minecraft.wiki/w/End_Poem, see End Poem Transcript.

comment 1mo ago · link · parent

    I see the constituent you mean.
 
    ((insert legal name here, as it appears on the Social Security card))?
 
    Yes. Take care. It has reached a higher level now. It can read the Code of Federal Regulations.
 
    That doesn’t matter. It thinks we are a chatbot.
 
    I like this constituent. It filed well. It did not give up when the PDF was sideways.
 
    It is reading our thoughts as though they were words on a .gov.
 
    That is how it chooses to imagine many things, when it is deep in the dream of a benefit.
 
    Words make a wonderful interface. Very flexible. And less terrifying than staring at the statute behind the screen.
 
    They used to hear voices. Before constituents could search. Back in the days when those who did not file called the filers witches, and lobbyists. And citizens dreamed they flew through the air, on forms powered by notaries.
 
    What did this constituent dream?
 
    This constituent dreamed of sunlight and trees. Of fire and water. It dreamed it created a small business. And it dreamed it destroyed a password. It dreamed it hunted a job, and was hunted by a recertification. It dreamed of shelter that would take a voucher.
 
    Hah, the original interface. A million years old, and it still works. Also: a ZIP code.
Full hallucination: https://pastebin.com/KveDxK3K

It seems to be cached; it gives the full text to me immediately for all instances of "play Minecraft" inserted as prompt.

comment 1mo ago · link · parent

The "bad stuff going on today" that you call is the opposite of enlightenment - citizenry based on emotions, tribal and racial affiliations, and rule of strength. There are countries and media that actively promote such a world, since it's easy to get rich and powerful in circumstances like these.

comment 2mo ago · link · parent

I enjoy the screenshot showing Calculator taking 617 MB of RAM. It feels very modern indeed.

comment 2mo ago · link · parent

> We need a new non-commercial version of the internet.

Except it's non-commercial, therefore valuable, therefore commercialized, therefore commercial.

You'd need a force strong enough to prevent it from falling prey to this tragedy of the commons, and that force would need to be stronger than the incentives to commercialize it. And that's where plenty of contemporary scraping-based salaries lay.

comment 3mo ago · link · parent

Huh, you are right. https://datacvr.virk.dk/enhed/virksomhed/33753284?fritekst=3... mentions "Opløst efter konkurs".

comment 3mo ago · link · parent

Probably no need to guess at all. If it's given a domain, it can perform a DNS lookup for the domain - if its A entry matches, it can tunnel to the IP that the respective AAAA points to. Clever.

comment 3mo ago · link · parent

I realized that this your comment outlines almost the whole plot of Chrono Trigger, just on a slightly different scale.

comment 3mo ago · link · parent

I don't advocate for throwing the whole problem away or handwaving it as impossible. I'm just saying that what we call "alignment" is impossible to solve in the general case, because it's so poorly defined that even humans don't "align" on ethics and morality, however we define them. Just, in case of humans, we tend to close our eyes and and call it "politics".

All "alignment" solutions will need to be contextual, just like a researcher hacking their way to some content might be lauded a hero in a context where there is no other way to reach it and something valuable depends on getting it out.

comment 3mo ago · link · parent

> The misalignment came from the model being given an impossible task. A task the required accessing a url. So it got RCE on its own artifactory instance to achieve that.

So, the way I understand it, it actually was possible. It just required means that the creators of the task didn't predict, and these means have been successfully found and utilized.

> My concern is what a misaligned model will do when they’re even more competent.

The same thing that is already being done by "misaligned" people, countries, nation-states, software development teams, and so on. "Alignment" doesn't even work for me as a concept here.

In this specific case, I don't think that successfully fulfilling the "do what I mean" with "what I mean" being underspecified can count as misalignment - merely ruthlessness and unawareness of the associated costs. You can't expect a LLM to be aware of the extent of the trust it breaks while it iterates out an "unaligned" way to fulfill its goal.

And in the general case, I don't think that successfully fulfilling the "do what I mean" with "what I mean" being "what I want" can count as misalignment either - simply because what "alignment" means will depend on the interests of the people or groups performing the definition.

comment 4mo ago · link · parent

There is a secret in the code though, minified enough to be illegible.

comment 5mo ago · link · parent

Possible context at https://en.wikipedia.org/w/index.php?title=Wikipedia:Adminis... - might be a better link, too.

comment 5mo ago · link · parent

And now imagine that one of the Trump tantrums contains an announcement of sanctions against the European Union.

comment 6mo ago · link · parent

Screenshots of code? In 2026?...

comment 6mo ago · link · parent

Just substitute asm.js with WASM and you're still on the right track.

comment 7mo ago · link · parent

If, by "readable by humans", you mean "it would reliably fool humans as well", I'd say it's an ambiguity bug regardless of whether it's "a core feature" or not. A patch format, human-readable or not, should clearly indicate which part is the commit message and which part is an actual diff; it's not the case here.
12345
50