HNHacker News
TopNewBestAskShowJobs

fork-while-fork

43 karma · joined June 10, 2021

submissionscomments
fork-while-fork··on PFAS in blood are ubiquitous and associated with risk of cardiovascular diseases
Can you define what you consider a "very healthy diet"?
fork-while-fork··on 4-day workweek trial
This is exactly the problem with unlimited PTO. It makes employees to feel guilty about taking time off and allows employers to avoid paying out unused time off when they leave.
fork-while-fork··on How to build a Linux-based wireless router out of spare parts (1998)
I've been running a PC Engines APU2 (https://www.pcengines.ch/apu2.htm) for many years now. It has enough power to route over my gigabit fiber connection. It has mini-PCIE slots for wifi cards. If you want 2.4GHz and 5GHz bands, you'll need two cards and run two instances of hostapd.

The software stack is pretty basic:

- IPtables for routing and firewall

- DNSMasq for DNS cache and DHCP

- Hostapd for wireless

fork-while-fork··on FTC cracks down on companies that impose harmful noncompete restrictions
> so that they could still enforce the non-compete without paying me in accordance with NY state law.

Could you elaborate on that part?

fork-while-fork··on TomTom’s new mapping platform and ecosystem
Google maps with Android Auto does auto-learn popular/regular destinations and suggests them at appropriate times. It works pretty well.
fork-while-fork··on Mitmproxy 8
Check out bettercap
fork-while-fork··on NPM package compromised by author: erases files on RU / BY computers on install
Intent matters. The maintainer very clearly intended to do harm. They abused end user trust which is a common attack vector for many pieces of malware.
fork-while-fork··on NPM package compromised by author: erases files on RU / BY computers on install
I'm curious if you think the same applies to a developer that writes any kind of ransomware when an end user downloads and installs it knowingly. End user trust is a common attack vector for malware and the developer here took advantage of that just like any other malware developer.
fork-while-fork··on Go 1.17 Beta
You can tell http.Client to not redirect:

    client := &http.Client{
        CheckRedirect: func(req *http.Request, via []*http.Request) error {
            return http.ErrUseLastResponse
        },
    }
Then use the client as normal. You can also modify the function for very specific redirect behavior.