HNHacker News
TopNewBestAskShowJobs

newman314

3,900 karma · joined February 20, 2010

<username> at gmail.

Explorer.

submissionscomments
newman314··on GitHub Actions Pitfalls
I generally like Actions but occasionally run into limitations (possibly my own).

For example, I'd like to build an action that triggers a documentation update based on the path and filename that is changed.

  on:
    push:
      branches: 
        - main
      paths:
        - */README.md
But there does not appear to be a way to pass a list of changed paths to the job.
newman314··on Whois: Fragile, Unparseable, Obsolete
I've been using https://github.com/likexian/whois This is a Go WHOIS client that is able to emit JSON.

I would like to use RDAP instead but RDAP coverage is even spottier than WHOIS.

BTW, if anyone knows of a WHOIS server able to handle the .de TLD, please let me know as all I get right now is "The DENIC whois service on port 43 doesn't disclose any information"

newman314··on Cloudflare's abuse policies and approach
This reeks of "both-siding" which is insanely frustrating for me. Look, I get opening a can of worms and "stay out of my business" but at the same time, we need to be able as a society be able to and be unafraid to say when things are clearly bad.

"Nazism is bad" EOM

That wasn't so hard, was it?

newman314··on Uacme: ACMEv2 client written in plain C with minimal dependencies
I use https://github.com/go-acme/lego, single Go binary.
newman314··on Docker Compose best practices for dev and prod
Is there a "proper" way to have per host configs? I have a setup where I need to set "hostname: <HOSTNAME>" depending on the system I'm on and right now I'm having to resort to using "docker compose -f compose.<hostname>.yml up -d" where compose.<hostname>.yml extends compose.yml
newman314··on My network home setup v3.0
I was just waiting for a comment like this as I anticipate getting the 10G at some point.

From what I've been able to tell, at 10G speeds, you pretty much have to build your own. Currently, I'm planning to get a SFFPC, stick a quad port 10G card in it, maybe run ESXi, router OS TBD: VyOS, DANOS, OpenWRT?

newman314··on How fast is 12th Gen Intel Core?
Recently discovered that Infosec has now mandated that all laptops have sleep disabled (the reason given is to be able to do endpoint patching). ¯\_(ツ)_/¯

So I'm faced with having to log out and power off every day or suck up the cost of keeping the laptop on. /r/maliciouscompliance, here I come I suppose.

Tempted to get one of these: https://us.amazon.com/Vegamax-Button-Ethernet-Internet-Netwo...

newman314··on Open AirPlay 2 Receiver
FWIW, a number of other AirPlay 2 repos that I have been tracking:

* https://github.com/openairplay/goplay2

* https://github.com/openairplay/airplay2-receiver

newman314··on DreamWorks Animation to release MoonRay as open source
I was curious, did a quick search and found this OLD deck. Would be interesting to see how it has evolved since.

https://www.usenix.org/legacy/event/lisa10/tech/slides/kamat...

newman314··on Soon, life for 40M people who depend on the Colorado River will change
There are also perverse incentives in play here. For example, "use it or lose it" water rights.

See https://www.youtube.com/watch?v=jtxew5XUVbQ @ around 8:30 mark.

newman314··on Extreme heat, drought will permanently scar California and its social fabric
John Oliver just had a segment on water: https://www.youtube.com/watch?v=jtxew5XUVbQ

In the episode, there's literally a farmer that says that he grows a water inefficient crop deliberately in order to hold on to water rights (@ 8:38). "Use it or lose it" water rights are ass backwards to put it mildly.

Make agriculture figure how to use less water or face penalties. That's the way forward.

newman314··on NextDNS API
There are also the following:

* dnscontrol - https://stackexchange.github.io/dnscontrol/

* octodns - https://github.com/octodns/octodns

newman314··on Gitsign
I'm excited to see this roll out but note the IMO important caveat here that GitHub does not currently show a gitsigned commit as "Verified".

Also, this is challenging to get working on a remote VM due to the auth process. My understanding is there is work under way to sort this out.

newman314··on Installing a payphone in my house
I want to do this but with a real British phone booth.
newman314··on Remembering Apple’s Newton, 30 years on
I was just thinking about my MessagePad over the weekend.

Does anyone have good links for modernizing a MP in 2022? Up to date/usable networking etc.

newman314··on Building a threat intelligence feed using the Twitter API and a bit of code
It appears that some URLs are cut off by Twitter. You might have to add some code to expand those URLs.

For example: https://xunmaus.xn--rvg

In the meantime, I'm using a modified command like so: `curl https://twitter.threatintel.rocks/ --silent | jq -r '.malicious_urls | .[]' | sort -u | grep -v …`

newman314··on We use Dependabot to secure GitHub
This plus the fact that Dependabot is not able to update Docker Compose files at this time.

The other problem that I have is there is no easy way (probably for good reason due to potential abuse) to manually trigger Dependabot. So Dependabot might run once a day or not do so for quite a while.

I have found a workaround for this since it appears that Dependabot does reliably trigger when .github/dependabot.yml is updated. One quick hack to insert a commented timestamp later... I now have a way to make sure Dependabot runs when I do want it to.

newman314··on Unofficial firmware upgrade for Dyson V6/V7 vacuum battery management system
I happened to see a recent video where there apparently are adapters to utilize power tool batteries for these Dyson. https://www.amazon.com/s?k=dyson+battery+adapter

I suppose they work mostly like the Power Wheels hacks but have no personal experience with the vacuum variant. YMMV.

newman314··on OPNsense DEC740 Ryzen Embedded Fanless Firewall Review (2021)
I started looking at these upon learning that Sonic might be bringing (10G!) service to my location soon.

If anyone has any experience running 10G on these, I would love to hear more about it as my current ER4 is not going to be able to keep up.

The alternative would be to build a small x64 system with 10G but I'd like to find a solution that has low power consumption.

newman314··on 460M Indian Internet Users Are Now on IPv6
There was a podcast a while ago discussing with Jio the reasons for going IPv6.

https://blog.apnic.net/2022/03/03/podcast-taking-ipv6-by-the...

newman314··on Jepsen: Redpanda 21.10.1
Redpanda (back when they were VectorizedIO) spammed my work email after I starred one of their repos, denied it after I called them out on it and I just noticed that they had deleted their response to me.

Pretty sneaky to go back and delete the tweets first denying and then apologizing.

Receipts: https://twitter.com/d11cc3s/status/1447573471152656389 https://twitter.com/d11cc3s/status/1450906855115354116

newman314··on Best practices to keep your projects secure on GitHub
Not naming names but certainly I've encountered open source projects that reject updating until the last possible second (end of life, security vulnerability etc.)
newman314··on Best practices to keep your projects secure on GitHub
So if you are concerned about this, I'd suggest looking at the following:

* OpenSSF Scorecard Action - https://github.com/ossf/scorecard#scorecards-github-action

* Step Security Harden Action - https://github.com/step-security/harden-runner

I realize that this means trusting these providers but they seem at least tacitly blessed by GitHub. https://docs.github.com/en/actions/security-guides/security-...

newman314··on Best practices to keep your projects secure on GitHub
From what I can tell, there appears to be two camps.

1) Do not update dependencies (because updating to the latest version just because is silly) 2) Update dependencies (because security)

Personally, I fall into the second group (with caveats). I've found that Dependabot helps with the tedious work of updating versions by hand but at the same time provides a check so that I manually approve. This seems to work out to be a decent balance. I've also moved away from using :latest or @v2 etc. and switched to using commit hashes/image digests. Once again, Dependabot is helpful for tracking changes/updates once you switch over.

The one annoying thing is that Dependabot does not always trigger on a regular basis (once a day) but I've found that bumping .github/dependabot.yml reliably triggers it.

newman314··on twitter/the-algorithm
How does one “tilt heavily woke”?
newman314··on twitter/the-algorithm
The Epoch Times is not a credible source.

“The Epoch Times is a far-right[16] international multi-language newspaper and media company affiliated with the Falun Gong new religious movement”

https://en.m.wikipedia.org/wiki/The_Epoch_Times

newman314··on CNN+ streaming service is shutting down a month after launching
Zucker was trying to spend big to get into the streaming space. For example, poaching Kasie Hunt...

"CNN is trying to hire dozens of people to help fuel its move into the streaming arena, and one person familiar with the matter said Hunt was offered an annual salary of between $1 million and $1.5 million that NBC News felt it simply could not match. This person suggested that Hunt could play a pivotal role in CNN’s streaming efforts, appearing online at moments of great national importance, such as during presidential elections."

https://variety.com/2021/tv/news/kasie-hunt-departure-nbc-ne...

newman314··on We use GitHub Actions to build GitHub
Here's my ask:

* Setting up GHA is still a lot of "commit and hope for the best". I've resorted to having a sandbox repo just for experimentation/testing so that I don't overly pollute repos that I actually care about. It would be great to get more instrumentation to see what is going on.

* I have a monorepo for Dockerfiles. It's quite annoying that I have to have separate invocations for different Dockerfiles in dependabot.yml. I should be able to specify /Dockerfile or /Dockerfile* as patterns for detection. The Dependabot invocation for GitHub Actions is a single entry and it would be great to have that.

* I quite like Step Security's Harden Runner but it does require more work/invocations to get this set up. Maybe GH can work with them to more closely incorporate said functionality?

* Make the cache bigger? I build a fair number of multi-arch containers and starting all of them at once tends to blow out the cache.

* Given the interest around sigstore and SBOMs, maybe incorporate native capabilities to sign artifacts and generate SBOMS?

newman314··on Cat Printer
You would think so but no.
newman314··on Cat Printer
Fun fact: did you know that you can netcat firmware to a Brother printer?

It's both cool and terrifying.

← PreviousPage 5 of 34Next →