sim642

joined 1 year ago
MODERATOR OF
[–] [email protected] 2 points 7 months ago

Assuming that it's just that person, that it's their actual name and that they're in the US...

[–] [email protected] 3 points 7 months ago

Except there are no free lunches, literally.

Parents still have to pay for part of the lunch.

[–] [email protected] 2 points 7 months ago (1 children)

Title gore: if we find a way, then what?

[–] [email protected] 4 points 7 months ago

That was fast.

 

cross-posted from: https://lemmy.ml/post/13378780

More than 1,200 Palestinians across the occupied West Bank have been forced from their homes since the conflict started, according to rights groups and the United Nations.

Data gathered by activists and verified with satellite images by Al Jazeera's verification unit, Sanad, show that between October 2023 and January 2024, settlers in the occupied West Bank have built at least 15 outposts and 18 roads - illegal under both Israeli and international law. In addition, settlers built hundreds of metres of fences and multiple roadblocks, further limiting Palestinians' movement.

The unprecedented uprooting has led to the disintegration of at least 15 Palestinian communities so far, with Israeli settlers fast expanding their presence. Their goal, experts say, is to reshape the demography of the West Bank while breaking the backbone of the territory earmarked for a future Palestinian state.

[–] [email protected] 5 points 7 months ago

ANTLR is for writing parsers. You don't need a new custom parser, just use an existing XML parser.

[–] [email protected] 25 points 7 months ago

That's an odd definition of non-public if the information is available to everyone. More like annoyingly public.

[–] [email protected] 2 points 8 months ago

There are IDE extensions that show the diff of the entire PR locally without having to squash anything. So yes, it's weird to reinvent a square wheel.

[–] [email protected] 1 points 8 months ago (1 children)

I am currently writing a C compiler, with my own backend (and hopefully, frontend) in OCaml.

But why write your own C frontend? It's much more of a pain than people imagine. I maintain a C frontend implemented in OCaml (the project itself goes back 25 years) and it's still not on par with GCC or Clang.

For any other language, sure, but C has so many "wonderful" features, starting with the lexer hack. Your grammar conveniently overlooks this issue but it's something you'll have to deal with to actually implement it. So it simply won't be as nice as theory suggests.

[–] [email protected] 1 points 8 months ago

Yes, but with things like syscalls it's easier to do this than require every high-level thing building on the syscall to be modified and recompiled. Very few people need to use such low-level APIs.

[–] [email protected] 1 points 8 months ago

These include semgrep, ast-grep, LLMs, and one-off scripts. After running these tools on a large code-base, you usually end up with lots of additional unintended changes. These range from formatting/whitespace to unrequested modifications by LLMs.

Maybe LLMs do, but why would semgrep or your one-off script be making unrelated changes? This is like using sed to replace something and using grep to filter out the very things you just specifically modified. It should be unnecessary if you commit frequently enough and don't do 10 different refactorings before starting to commit each one.

[–] [email protected] 2 points 8 months ago (1 children)

Isn't that just drafts for that comment's reply?

Because I just saved a comment draft, went looking at something else and wanted to go back. The problem was that I couldn't find the right post/comment where I saved the draft.

I thought Boost saved that because going to reply to the same comment would automatically bring up the draft.

 

Am I blind or is there no way to view comment drafts? I recall this being possible in Boost for Reddit.

If I search settings for "draft" two things come up:

  1. The "Save drafts" option that I have enabled.
  2. Some "Drafts" under Lateral menu. But when I look there, there's no "Drafts" option anywhere to be found.
view more: next ›