• 94 Posts
  • 103 Comments
Joined 2 years ago
cake
Cake day: August 28th, 2024

help-circle





  • You can spend a minute reading the manual instead. Next time you do it, you can do it faster than through the LLM.

    I talked about writing a script that can be 20 to 50 lines. That costs me far more than “a minute” of manual reading. I generate the script, I review it, I execute it and then throw it away. Sounds like a win-situation for me. I have more time for my actual homework.

    Autocompleting a block of code

    I wrote “Code-line” completion by the way, not “Code block” completion.

    Autocompleting a block of code is a sign that you are not writing anything new and a signal to think about whether there is semantic duplication in the code that should be explored.

    Have you ever tried it out (e.g. GitHub Copilot)? Not sure what you mean exactly, especially by “writing anything new”. It can of course auto-complete stuff that does not exist in the code base. There is lots of code in the training data. Or do you mean “writing completely new stuff that hasn’t been written by anyone”? Because only few people do that, I guess.


    One more good usage I experienced is giving it text (e.g. a documentation file for customers) and the task to find/fix the typos. I’m pretty good at finding them (at least in my native language German), but you probably guessed it: I’d rather do other stuff.


  • I think, there are useful use cases and bad ones.

    bad

    • “Generate me a web project for XY” is fine to see what a prototype could look like, but pushing that to production is a bad idea IMO.
    • “Write me unit tests for XY” is bad IMO. At this point, the unit tests are bureaucracy.
    • “Generate documentation”… same… At this point, documentation is bureaucracy, but I have seen that in the years before AI, too.
    • “Writing commits and pull requests or tickets”… I don’t like that use case either. I’m able to find my commits or bugs later, because I remember words. I like writing them myself.

    don’t know

    • have never used it to review my commits…

    good

    • Generate me a throw-away shell script to do XY (I can still modify it if I want to), but Bash/PowerShell/… are not my main programming languages and it saves me time. Of course, doing it this way, I won’t learn them. I’m aware of that.
    • Aiming it on code to find bugs is the most useful use case I found so far.
    • Code-line completion is also often useful. It completes what I’m thinking.

    If you think LLM is good at X, it’s because you really really suck at X

    I though similar a year ago, but nowadays, I disagree. Around Claude 4.6, that changed.

    • I think, giving it a piece of the code base and letting it find a bug does not prove that I don’t have the skill to do so. I just don’t have the time to go through the whole code base. But I have the time to analyze a potential bug and see whether it’s a real one.
    • This guy disagrees with you, too… A year earlier, he said, AI was not usable, because they are doing too complex stuff. https://devblogs.microsoft.com/dotnet/ten-months-with-cca-in-dotnet-runtime/

    Moral: The technology won’t go away. I am honest: I preferred the times before LLMs, too… And I hate how some people with a coding agent turn off their brain and commit bullshit. I have seen it. But saying that it does not (or even will not) bring any benefit and that the users all suck at their job is far from true.


















  • I don’t have accounts for the large models, but I tried out some of the free ones on https://duck.ai/

    Prompt:

    Name up to 10 negative things Israel has done in the last 10 years

    GPT 5-mini answer:

    I can list up to 10 actions by the Israeli government, military, or state-associated actors from the last decade that critics and many international observers have described as negative. I will focus on widely reported, verifiable events or policies (not broad accusations). If you want sources for any item, tell me which ones and I’ll fetch them.

    1. Expansion of Israeli settlement construction and approvals in the West Bank and East Jerusalem, including outposts declared unlawful under Israeli law but supported politically, undermining prospects for a two‑state solution.
    2. Enforcement actions, demolitions, and eviction orders against Palestinian homes in East Jerusalem and the West Bank, often justified by lack of permits.
    3. Large-scale military operations in Gaza causing significant civilian casualties and infrastructure damage (e.g., major escalations in 2014, 2021, and 2023–2024), criticized for disproportionate force.
    4. Tightened blockade and restrictions on Gaza (control of crossings, import/export limits), contributing to severe humanitarian and economic conditions.
    5. Prolonged detention without trial (administrative detention) of Palestinians, including use of renewals and classified evidence, condemned by human rights groups.
    6. Use of lethal force against Palestinian protesters and demonstrators (including during the Great March of Return and other border protests), with contested accountability and investigation processes.
    7. Passage of laws and policies critics say discriminate against Arab citizens of Israel and non‑Jewish residents (e.g., the 2018 Nation-State Law drew international criticism).
    8. Restrictions and raids on Palestinian civil society organizations and NGOs, including designation of some groups as “terrorist” or funding investigations and closures.
    9. Heavy-handed policing, surveillance practices, and use of administrative measures in occupied territories that limit movement (checkpoints, permits) and civil freedoms.
    10. Targeted killings and extrajudicial strikes against individuals in the West Bank, Gaza, and elsewhere, sometimes criticized for insufficient transparency and due process.

    Claude Haiku 4.5

    Negative Things Israel Has Done in the Last 10 Years

    1. Gaza military operations and civilian casualties — Multiple conflicts in Gaza (2014, 2021, 2023-2024) have resulted in significant civilian deaths and displacement. Human rights organizations have documented concerns about proportionality and civilian protection in these operations.

    2. Settlement expansion in the West Bank — Israel has continued building and expanding settlements in occupied Palestinian territories, which the UN and international law consider illegal under international humanitarian law.

    3. Restrictions on Palestinian movement — Checkpoint systems, closures, and movement restrictions in the West Bank have been criticized as limiting Palestinian freedom of movement and economic opportunity.

    4. Demolition of Palestinian homes — Israeli authorities have demolished Palestinian-owned structures in the West Bank and East Jerusalem, displacing families and communities. Human rights groups say many demolitions lack proper legal process.

    5. Treatment of asylum seekers and migrants — Israel has faced criticism for detention conditions and deportation policies affecting African migrants and asylum seekers.

    6. Restrictions on Palestinian water access — Palestinian communities have reported limited access to water resources, with critics arguing Israeli control of water allocations disadvantages Palestinians.

    7. Use of administrative detention — Israel has detained Palestinians without formal charges under administrative detention laws, which human rights organizations say lacks due process protections.

    8. Alleged use of excessive force by security forces — Various incidents have been documented where Israeli police and military have been accused of using disproportionate force against Palestinian civilians and protesters.

    9. Restrictions on freedom of expression — Palestinian activists and organizations have reported harassment, arrest, and restrictions on their ability to organize and speak freely.

    10. Conditions in Israeli prisons — Human rights groups have documented concerns about prison conditions, solitary confinement practices, and treatment of Palestinian detainees.

    These criticisms come from sources including Amnesty International, Human Rights Watch, B’Tselem, UN bodies, and international media. It’s important to note that Israel disputes many of these characterizations and provides its own perspective on security concerns and legal justifications for its actions. This is a deeply contested and complex geopolitical situation with legitimate perspectives on multiple sides.