News for hackers. Stuff that matters.

clessg

Re:Let me GPT that for you on Sunday March 02, 2025 @02:39PM (#43234154)
> Today, everyone's dad work at Nintendo. ¯\_(ツ)_/¯

I just so happen to run an old online fan made Pokemon game where people can be banned for misbehavior (e.g. cheating). Let's just say I can confirm this sentiment.

Inspectors General have a special provision in the law regarding removal or relocation:

> The removal procedure for presidentially appointed IGs is found in Title 5, Section 403(b), which reads in part An Inspector General may be removed from office by the President. If an Inspector General is removed from office or is transferred to another position or location within an establishment, the President shall communicate in writing the substantive rationale, including detailed and case-specific reasons for any such removal or transfer to both Houses of Congress (including the appropriate congressional committees), not later than 30 days before the removal or transfer. Nothing in this subsection shall prohibit a personnel action otherwise authorized by law, other than transfer or removal.

So it's illegal because he didn't notify Congress in advance. That statute was enacted in 2022 specifically to prevent abuses of power such as this.

Good point! It's always fascinating when the sergeant at arms is actually employed since it's so seldom used. I'm sure Congress wouldn't go down that path with Trump for many many reasons, but perhaps it could be used against lower-level minions in extreme situations. Probably not, but fascinating to consider :)
> But at that mechanistic level, so does the President. He isn’t personally escorting her out of the office.

Fair enough, I strongly hope a good number of folks within the government show a backbone and resist unlawful or abusive orders however they can. Unfortunately those same people can easily be fired and replaced with somebody appropriately loyal (as is already happening). So, unfortunately, I'm not terribly optimistic.

Popular backlash seems to be fairly effective so far at least, so there is some hope. (For example the federal funding freeze which ended almost immediately after a flurry of confusion and outrage. Allegedly ended, anyway - it's not exactly clear in reality.)

Correct me if I'm wrong, but aren't the courts essentially powerless to enforce? If memory serves, the judicial branch merely interprets the law and Constitution, but they lack an enforcement mechanism - it is up to the Executive Branch (the president) to administer and enforce the law. If they decide they don't feel like listening to the courts, it's unclear anybody could actually do anything. (Other than impeachment perhaps? But of course that isn't going to happen anytime soon.)

Besides, even if they did have the power to enforce the law, I can't say I exactly trust the Supreme Court to even try reining in Trump (except in minor ways) based on their recent track record. But who knows.

Re:Svelte 5 Released on Saturday October 19, 2024 @08:03PM (#41891815)
Oh, okay. Thanks.
Re:Svelte 5 Released on Saturday October 19, 2024 @03:31PM (#41890088)
Exciting, I love Svelte! Does anybody have experience with both Vue and Svelte? It's been a while since I used Vue but it seems like both frameworks have converged quite a bit over the years. With this release I'm particularly curious now: why would somebody pick one over the other?
Re:Secure Custom Fields by WordPress.org on Saturday October 12, 2024 @03:54PM (#41821956)
I'd normally never say something like this, but: seek therapy, man. Seriously. This is not normal. It will end badly for so many people, including yourself. It may not be too late.
Yeah, the LSP situation remains a sore point, which is deeply unfortunate. One of the big reasons I like Gleam! Luckily, there are new contenders popping up to hopefully solve the issues with elixir-ls: try https://github.com/elixir-tools/next-ls or https://github.com/lexical-lsp/lexical. They might give a better experience. In fact, the creator of Elixir recently started directly sponsoring next-ls, so it's probably a safe enough bet.

> By the way, the official Elixir website recommends using Homebrew to install it. But almost everyone in the Github issues and comments says ASDF is the way to go.

The Elixir website is right. Just use Homebrew until you find a real need for asdf or similar tools. It's far simpler.

asdf (or mise[0]) is merely a way to manage different runtime versions between various projects, you would use it the same way as one might use rbenv/rvm, nvm/n, pyenv, or even Docker/nix, and so on. You don't need it until you have several ongoing projects requiring different runtime versions. If you reach that point, great! It'll be worth the effort then, and it isn't difficult.

Personally, I just use Homebrew Elixir for easy ad-hoc access to iex/livebook. If I truly need reproducible environments, devbox[1] (a sort of nix wrapper) is nice and extremely straightforward.

Tl;dr: Just use Homebrew. If your requirements expand beyond that, you probably have far more challenging problems than installing asdf (or whatever).

[0] https://mise.jdx.dev/dev-tools/comparison-to-asdf.html

[1] https://www.jetify.com/devbox

Older »