News for hackers. Stuff that matters.

tmerse

Try the book: Bad Blood: Secrets and Lies in a Silicon Valley Startup
Re:What's Happening Inside the NIH and NSF on Monday February 10, 2025 @07:54AM (#42999668)
I'd like to make the point that private and public are coupled, in a way that if you dismantle everything public/tax funded, there is effectively nothing left except private by definition (with all it's upsides and downsides where the latter will be amplified in the absence of public oversight bodies funded by public money based on public law).

Now I (as a non US citizen, but one of a country that has it's fair share of needless bureaucracy) wholeheartedly agree that there is waste, a lack of oversight/transparency and probably a need for more say of the common taxpayer on how their money is spent.

But as someone who learnt the meaning of the Terms "Gleichschaltung" and "Ermächtigungsgesetz" in school, I wholeheartedly disagree with the current measures and how they unfold right in front of our eyes.

Re:What's Happening Inside the NIH and NSF on Wednesday February 05, 2025 @03:53AM (#42945838)
Luckily those things never happen in the private sector. Theranos?
Re:What's Happening Inside the NIH and NSF on Wednesday February 05, 2025 @02:33AM (#42945162)
Trump won his first term in 2016 because Americans were fed up with the Bush+Obama status quo of endless wars and wast

Does this include threatening Greenland with military action or does it not count as war if there is little resistance to be expected?

- https://github.com/olimorris/codecompanion.nvim

- https://github.com/yetone/avante.nvim

Did not have the time to test them yet and there are probably more.

Re:Stripe's Monorepo Developer Environment on Monday August 19, 2024 @06:32AM (#41289704)
Can I also get the security/isolation benefits that a duly configured docker/podman can provide (container can only act on mounted volume, non-root user, other seccomp settings?).

I feel better doing my "npm install"s in such an environment (of course it's still not a VM – but that's another topic).

When I read about nix, reproducibility is a goal, but security/isolation is a non-goal.

https://github.com/zeroxoneafour/polonium

This certainly looks interesting. Cannot comment on it's current state, as I still use bismuth on x11

Re:Phytomining – Extracting Minerals via Plants on Monday April 08, 2024 @02:39AM (#39966856)
And then there is nano bionic, explosives detecting spinach.

https://news.mit.edu/2016/nanobionic-spinach-plants-detect-e...

Re:Neorg – organize your life in Neovim on Tuesday March 26, 2024 @01:29PM (#39830503)
There also is obsidian.nvim [1] if you want to mix and match obsidian and neovim for using/editing obsidian vaults.

1: https://github.com/epwalsh/obsidian.nvim

Ah just saw rjzzleep posted an updated version here. Happy to steal this one again :)
I also used the very same script until I stumbled upon this on hn [0].

    #!/usr/bin/env bash
    langs=(eng ara fas chi_sim chi_tra deu ell fin heb hun jpn kor nld rus tur)
    lang=$(printf '%s\n' "${langs[@]}" | dmenu "$@")
    maim -us | tesseract --dpi 145 -l eng+${lang} - - | xsel -bi

[0]: https://news.ycombinator.com/item?id=33704483#33705272
I like how easy zellij was to set up and it's capabilities to define new layouts as well as the default way of displaying contextual shortcuts that one can disable after one memorized the most important shortcuts.

What I would still like to see is support for kitty image protocol [1] so I could use e.g. image.nvim [2] which currently works in tmux (which I migrated away from in favor of zellij).

[1] https://github.com/zellij-org/zellij/issues/2814

[2] https://github.com/3rd/image.nvim

Re:Amon Tobin – Foley Room site (2007) on Friday January 26, 2024 @02:02PM (#39146571)
Love that someone signed up for this comment :). Seeing them performing the polymer album at a small venue (where some instrumental parts where performed live) right after Nils Frahm is a fond memory of mine, and I agree that there is not really much out there that compares to their unique sound.

Next to their usual stuff/albums there is a plethora of remixes out there. Can recommend this fan-driven youtube channel for an overview:

https://www.youtube.com/@ThePlaided

Re:ChatGPT for Teams on Thursday January 11, 2024 @02:08AM (#38948796)
Are you sure about that? Parent was not referring to the "APP -> Data controls -> Chat History & Training" Radio Button which would delete your history older than 30 days, but rather to a specific form you can use to opt out.

Coincidentally I just used this form yesterday and got the confirmation about opting out.

Re:550 of 700 Employees OpenAI tell the board to resign on Monday November 20, 2023 @10:43AM (#38349601)
You mean the GNU Linux Foundation?
Re:Show HN: Autotab – Boring AI Agents for real world tasks on Thursday October 19, 2023 @07:49PM (#37950365)
It is, but the selector issues are the same

I disagree. Playwright's locators are pretty powerful compared to standard css/xpath selectors.

For example it includes layout based selectors.

https://playwright.dev/docs/other-locators#css-matching-elem...

Looks like the extension uses idb which is a wrapper around IndexedDB.

Did not check if there is any sync to the outside world though.

1: https://github.com/navorite/sessionic/blob/main/src/lib/util...

2: https://www.npmjs.com/package/idb

Re:A Clutter-Free Life: Going Paperless with Paperless-Ngx on Saturday October 07, 2023 @04:23PM (#37805205)
The project would be much more approachable if there was a simple native installer

Actually the very first example on https://docs.paperless-ngx.com/setup lists an interactive installer which asks the user some question and eventually arrives at a working docker-compose setup.

    $ bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"
If you ask me, this is already pretty user friendly. Although I agree that if your needs are more involved, there is some reading you'll have to do.

I am currently in the process of migrating from mayan-edms to paperless-ngx and it feels pretty approachable to me if you know your way around docker (compose).

Re:Automate Your Network on Monday July 03, 2023 @02:37PM (#36577125)
This sounds interesting, but I am not sure I fully understand. Could an analogy be the object model to loosely correspond to sth like Amazon cdk and the Ansible part being the derived Cloudformation (any other analogy should do, but those are things I understand a bit more although I use quite a bit of ansible, but I am no network Person)? I still don't fully understand the database part. Is it a better way to manage env variables/allows for more flexible input?

Thank you

It may not help grandma as much as someone who maintains some popular opensource library that you may happen to use or someone that puts parts of their savings into crypto.

Who is more likely to visit this page (and use tools like pass) is up for you to decide.

The point still stands. Storing passwords and 2fa secrets inside in the same box will weaken the 2 in 2fa.

(Gmail's main target is not devs, or even computer literate people. And owning a smart phone =! literate.)

Grandma can always print the 2fa seed or write down the alphanumeric value and store it not next to the sheet with her passwords – same principle (I think she won't use pass anyway as opposed to the person I was originally replying to which tells me they are most likely technically literate).

This article helped me to understand how totp works and how it can be implemented [1]

[1]: https://digitalbunker.dev/how-do-time-based-one-time-passwor...

But be careful. If you access the passwords and 2fa secrets via the same credentials you are back to one factor authentication if secret + pass store ever get compromised.

Imho it's a different story if you use a separate gpg-key/secret to access the 2fa secrets (which should also only happen in emergency cases).

This can easily be done with pass.

Re:Emperor Charles V's code cracked after five centuries on Saturday November 26, 2022 @01:47AM (#33750539)
Should have used vim
Re:Frog: OCR Tool for Linux on Tuesday November 22, 2022 @08:44AM (#33705667)
Nice! Didn't know about maim. This looks better than what I currently use (found it somewhere on the internet).

  #!/bin/bash
  SRC_IMG=$(mktemp -u /tmp/ocr_XXXXXXXXX.png)
  scrot --select "$SRC_IMG" -q 100
  mogrify -modulate 100,0 -resize 400% "$SRC_IMG"
  tesseract "$SRC_IMG" "$SRC_IMG" &> /dev/null
  OCR_RESULT=$(cat "$SRC_IMG.txt")
  echo "$OCR_RESULT"
  notify-send "$OCR_RESULT"
  xsel -bi < "$SRC_IMG.txt"
This may be interesting for you: https://www.modos.tech/

I just heard about them recently and am curious how the final result will look like.

Re:Ultra-minimal JSON schemas with TypeScript inference on Thursday July 28, 2022 @08:29AM (#32263392)
You happen to know if there are libs/utils to achieve the reverse (JSON-schema -> zod)? Could be useful for one of my usecases (form validation via rules recievd as JSON)
Re:Neovim 0.7: What's new? [video] on Sunday April 24, 2022 @05:00AM (#31142334)
Thank you for those short video snippets. Loved the ones on vim-dap.

May I ask how you enable the dynamic syntax highlighting as seen in the video? Is this based on treesitter?

Re:Finland and Sweden move closer to joining NATO on Wednesday April 13, 2022 @09:57AM (#31014710)
Write sth. about programming and you shall be forgiven
Re:Finland and Sweden move closer to joining NATO on Wednesday April 13, 2022 @09:01AM (#31014098)
..Account created 20 days ago with a comment history that feels somewhat tendentious to me. Anyhow:

> You know who really wants them to join NATO and poke the russian bear? The USA. It seems to me the USA wants war with Russia but wants to be seen as defenders.

Or maybe they are acting in their best self-interest looking at current and past affairs?

Older »