HackerTrans
TopNewTrendsCommentsPastAskShowJobs

2bluesc

no profile record

Submissions

MSI PRO B850-P coreboot port: GFX init, Promontory21, and ACPI improvements

blog.3mdeb.com
4 points·by 2bluesc·mese scorso·0 comments

[untitled]

1 points·by 2bluesc·2 mesi fa·0 comments

OpenSecurityTraining2: Learning Paths

ost2.fyi
1 points·by 2bluesc·3 mesi fa·0 comments

Intel Fred Can Yield Greater Performance – Fred Benchmarks on Panther Lake

phoronix.com
3 points·by 2bluesc·4 mesi fa·0 comments

Iran-backed hackers claim wiper attack on medtech firm Stryker

krebsonsecurity.com
281 points·by 2bluesc·4 mesi fa·302 comments

Are AI Datacenters Increasing Electric Bills for American Households?

newsletter.semianalysis.com
10 points·by 2bluesc·4 mesi fa·1 comments

Cloudflare zero-day: Accessing any host globally

fearsoff.org
75 points·by 2bluesc·6 mesi fa·15 comments

The Average Founder Ages 6 Months Each Year

tomtunguz.com
38 points·by 2bluesc·7 mesi fa·20 comments

Canonical Announces Ubuntu Pro for WSL

canonical.com
4 points·by 2bluesc·7 mesi fa·0 comments

'Western Qwen': IBM Wows with Granite 4 LLM Launch and Hybrid Mamba/Transformer

venturebeat.com
83 points·by 2bluesc·9 mesi fa·25 comments

comments

2bluesc
·3 mesi fa·discuss
I read it as they'll invoice me up to $20. Not sure?
2bluesc
·3 mesi fa·discuss
Did you have extra usage enabled before checking? Mine was disabled and I received the $20 credit.
2bluesc
·3 mesi fa·discuss
TBH, it looks to me as a trick to enable extra usage by baiting me with $20 credit by toggling on the feature that lets me burn another $20 without realizing it.

Toggling it again to turn it off immediately after (which I assume most people will miss) seems to guard against this.
2bluesc
·4 mesi fa·discuss
I believe Android Work profile[0] would have limited the damage to the work profile rather than also impact the personal profile on a personal device.

Does anyone know if this is correct?

[0] https://www.android.com/enterprise/work-profile/
2bluesc
·7 mesi fa·discuss
Traditionally, I used Python for personal tools optimizing for quick coding and easy maintenance. These tools commonly feed UI elements like waybar, shell, and tmux, requiring frequent, fast calls.

My approach is evolving due to NixOS and home-manager with vibe coding to do the lifting. I increasing lean on vibe coding to handle simple details to safely write shell scripts (escaping strings, fml) and C/C++ apps. The complexity is minimized, allowing me to almost one-shot small utilities, and Nix handles long-term maintenance.

With NixOS, a simple C/C++ application can often replace a Python one. Nix manages reading the source, pulling dependencies, and effectively eliminating the overhead that used to favor scripting languages while marking marginal power savings during everyday use.
2bluesc
·10 mesi fa·discuss
`HOSTALIASES` lets you alias hostnames, but not map hostnames to IPs.

Docs at `man gethostbyname`

https://man7.org/linux/man-pages/man3/gethostbyname.3.html
2bluesc
·10 mesi fa·discuss
You can use the linker to preload `nss_wrapper`[0] and overwrite anything using `nss`.

Here's an example:

  > cat hosts
  198.51.100.33 test.tld
  2001:db8::33 test.tld
  198.51.100.12 test4.tld
  2001:db8::12 test6.tld

  > LD_PRELOAD=/nix/store/sw2r0gpi9c9rsvqgvi4906yxh948ydsv-nss_wrapper-1.1.16/lib/libnss_wrapper.so NSS_WRAPPER_HOSTS=hosts getent ahosts test.tld
  198.51.100.33   DGRAM  test.tld
  198.51.100.33   STREAM test.tld
  2001:db8::33    DGRAM
  2001:db8::33    STREAM

  > LD_PRELOAD=/nix/store/sw2r0gpi9c9rsvqgvi4906yxh948ydsv-nss_wrapper-1.1.16/lib/libnss_wrapper.so NSS_WRAPPER_HOSTS=hosts getent ahosts test4.tld
  198.51.100.12   DGRAM  test4.tld
  198.51.100.12   STREAM test4.tld

  > LD_PRELOAD=/nix/store/sw2r0gpi9c9rsvqgvi4906yxh948ydsv-nss_wrapper-1.1.16/lib/libnss_wrapper.so NSS_WRAPPER_HOSTS=hosts getent ahosts test6.tld
  2001:db8::12    DGRAM  test6.tld
  2001:db8::12    STREAM test6.tld

  > LD_PRELOAD=/nix/store/sw2r0gpi9c9rsvqgvi4906yxh948ydsv-nss_wrapper-1.1.16/lib/libnss_wrapper.so NSS_WRAPPER_HOSTS=hosts curl -v test.tld
  * Host test.tld:80 was resolved.
  * IPv6: 2001:db8::33
  * IPv4: 198.51.100.33
  *   Trying [2001:db8::33]:80...
  *   Trying 198.51.100.33:80...

[0] https://cwrap.org/nss_wrapper.html
2bluesc
·anno scorso·discuss
Switched to Technitium (from piHole via Docker on amd64 and manual dnsmasq before that) primarily for DNS over HTTPS and never looked back. Used it for DHCP and DNS.
2bluesc
·6 anni fa·discuss
I'm a big fan of cgdb;

https://cgdb.github.io/

Works great for native and cross compiled apps
2bluesc
·9 anni fa·discuss
Authy backs up the 2FA secrets to the could to enable "multi-device support". To restore the backup it's usually a matter of verifying your phone number via SMS. See how this turned bad?

I'd recommend disabling multi-device support which is enabled by default or adding a backup/restore prassphrase to make it more difficult to add new devices without also cracking the prassphrase.