HNHacker News
TopNewBestAskShowJobs

rhencke

1,368 karma · joined July 9, 2013

alias ip='ip -brief -color'
submissionscomments
rhencke··on What If OpenDocument Used SQLite? (2014)
XML has been a source of countless vulnerabilities, yet we continue to use it as a standard.
rhencke··on 51% of 4M Docker images have critical vulnerabilities
This was all achingly true well before Docker, though. (That's why Docker got popular, after all!)

Docker isn't the disease, its use in such manner is just a symptom.

rhencke··on Facebook criticizes Apple’s iOS privacy changes with full-page newspaper ads
Alas, this is not true:

https://nakedsecurity.sophos.com/2020/01/20/facebook-and-ins...

rhencke··on The science of addiction: Do you always like the things you want?
Learning to learn is a critical skill to hone in and of itself, regardless of if what you're learning is 'wasted'.
rhencke··on Minimal safe Bash script template

    $ help set
    
    ...
          -e  Exit immediately if a command exits with a non-zero status.
          -E  If set, the ERR trap is inherited by shell functions.
          -u  Treat unset variables as an error when substituting.
          -o option-name
              Set the variable corresponding to option-name:
                           pipefail     the return value of a pipeline is the status of
                           the last command to exit with a non-zero status,
                           or zero if no command exited with a non-zero status
rhencke··on Minimal safe Bash script template
If you like that, you'll love working with PowerShell's exit codes. [1] [2] [3]

[1] https://weblogs.asp.net/soever/returning-an-exit-code-from-a...

[2] https://octopus.com/blog/powershell-exit-codes

[3] https://community.idera.com/database-tools/powershell/powert...

rhencke··on Reddit user fixes Cyberpunk 2077 steam controller input bug through decompiling
Try replacing 'www' with 'old' in the URL.
rhencke··on Chrome Is Bad
Yes, since the cron script automatically runs as root on a repeating schedule.

If you want to see what it does:

    mkdir junk
    cd junk
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    ar x google-chrome-stable_current_amd64.deb
    tar xf data.tar.xz
    cat opt/google/chrome/cron/google-chrome
It's not nefarious - it's well-documented and explained.

It's just making a decision for me that, as an administrator, I need to be the one deciding instead.

rhencke··on Chrome Is Bad
You are thinking of Rosetta.
rhencke··on Chrome Is Bad
Yes... except the Chrome package adds updating itself to your cron scripts without telling you. :/
rhencke··on Finding Critical Open Source Projects
Your last sentence nails it:

> What’s the smallest, hardest to notice malicious change I can make in the supply chain of software development to enact the most disruptive change?

rhencke··on Finding Critical Open Source Projects
I would like to see a measure of criticality that takes the following into account:

* Critical projects may have very little activity/maintenance. For example, Bash 4.0 to Bash 5.0 was only 123 commits over 8 years. But, Bash is a absolutely a critical project (ask any org about how much work they had to do when affected by https://en.wikipedia.org/wiki/Shellshock_(software_bug) ).

* A measure of criticality should understand _as many of the various forms of dependence on software_ that may occur that it can. Dependencies can take many forms, such as:

a package manager resolving a dependency

a user purchasing a mobile phone with software pre-installed

a user visiting a website (react/jquery/etc)

etc.

* Criticality should understand if, how, and when dependencies are updated. For example, fixing a bug in Chrome and distributing that fix to 80% of users in 1 week is feasible. Fixing a bug in Bash and distributing that fix to 80% of users in 1 week is not so feasible.

rhencke··on Finding Critical Open Source Projects
I strongly recommend you use the packages maintained in Linux distributions as a means for discovery. They're well-organized and maintained and easily accessible programmatically - you can even parse the package dependencies programmatically, as well as have full access to the original source code.
rhencke··on Finding Critical Open Source Projects
Please consider allowing scanning tarball/zip distributions of source directly as well. It is a SCM-agnostic method that is also well-supported by GitHub, Gitiles, hgweb, and many old but still-in-use projects that pre-date Git.
rhencke··on Debugging WebAssembly with Modern Tools
I never that the tools I used for tracing (chrome://tracing) and now debugging C/C++ code would be my web browser itself.
rhencke··on The CentOS Project Just Committed Suicide
Being incredibly boring and old ends up being a beautifully stable foundation to build on. The idea is to pay the debt as an organization on a fixed schedule that allows for years of stability in between. For larger organizations, this can be far less work and less strife than a rolling upgrade would, as the resources to test such upgrades are often unfortunately limited and expensive.
rhencke··on The CentOS Project Just Committed Suicide
Yes. CentOS 8 EOL is now the end of 2021: https://centos.org/distro-faq/#q2-what-about-the-other-relea...
rhencke··on Manifest V3 now available on M88 Beta
What about users who own Chromebooks?
rhencke··on Why is the Google Cloud UI so slow?
What about web apps like https://sr.ht which are fully loaded and usable from a cold visit in under half a second with only 2 network requests?
rhencke··on Expanding Fuchsia's open source model
I agree with you. I don't think any Chromium distributions are at risk of their keys being revoked - I don't believe Google will take any action here.

But, I also don't see anyone ever talk about this, and I think it's worth people being aware.

rhencke··on Expanding Fuchsia's open source model
Can you elaborate on what you mean by "doesn't count"?
rhencke··on Expanding Fuchsia's open source model
Let's say this is true.

If I fork one of the aforementioned Chromium packages, is my fork covered under that agreement? Is my right to build and produce my own binaries from the original unmodified source still intact?

rhencke··on Expanding Fuchsia's open source model
To elaborate, the following distributions of Chromium are violating the Google API terms of service [1] [2] by publishing the API secret key publicly in the build source code responsible for building Chromium:

* Alpine Linux (community port) - https://git.alpinelinux.org/aports/tree/community/chromium/A...

* Arch Linux (svntogit, AUR) - https://github.com/archlinux/svntogit-packages/blob/1e8f3fe7... - https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=chrom...

* Fedora Linux - https://src.fedoraproject.org/rpms/chromium/blob/e78656ce58d...

* Gentoo - https://github.com/gentoo/gentoo/blob/9acf51b665b6f4b5b97edb...

* OpenSuSE - https://build.opensuse.org/package/view_file/openSUSE:Factor...

* Slackware - http://www.slackware.com/~alien/slackbuilds/chromium/build/c...

* Ubuntu, Linux Mint (Canonincal Chromium Snap) - https://git.launchpad.net/~chromium-team/chromium-browser/+g...

[1] https://developers.google.com/terms (specifically: "You will only access (or attempt to access) an API by the means described in the documentation of that API. If Google assigns you developer credentials (e.g. client IDs), you must use them with the applicable APIs. You will not misrepresent or mask either your identity or your API Client's identity when using the APIs or developer accounts." and "Developer credentials (such as passwords, keys, and client IDs) are intended to be used by you and identify your API Client. You will keep your credentials confidential and make reasonable efforts to prevent and discourage other API Clients from using your credentials. Developer credentials may not be embedded in open source projects.")

[2] https://www.chromium.org/developers/how-tos/api-keys (specifically: "Note that the keys you have now acquired are not for distribution purposes and must not be shared with other users.")

rhencke··on Expanding Fuchsia's open source model
Chromium, as built in many open-source distributions, uses a per-distribution Google API key for service access. [1] [2] [3]

If built without API keys, Chromium warns 'Google API keys are missing. Some functionality of Google Chrome will be disabled.' [4] [5]

The APIs used include [6]:

* Calendar API

* Contacts API

* Drive API (Optional)

* Chrome Remote Desktop API

* Chrome Spelling API

* Chrome Suggest API

* Chrome Sync API

* Chrome Translate Element

* Chrome Web Store API

* Chrome OS Hardware ID API (Optional, Chrome OS)

* Device Registration API (Optional, Chrome OS)

* Google Cloud DNS API

* Google Cloud Storage

* Google Cloud Storage JSON API

* Google Maps Geolocation API (Optional)

* Google Maps Time Zone API

* Google Now For Chrome API (Optional)

* Nearby Messages API

* Safe Browsing API

* Speech API

[1] https://git.alpinelinux.org/aports/tree/community/chromium/A...

[2] https://github.com/archlinux/svntogit-packages/blob/packages...

[3] https://git.launchpad.net/~chromium-team/chromium-browser/+g...

[4] https://chromium.googlesource.com/chromium/src/+/9a11dadde80...

[5] https://sources.debian.org/patches/chromium/83.0.4103.116-1~...

[6] https://www.chromium.org/developers/how-tos/api-keys

rhencke··on Qt 6.0
Yes [1] and yes [2].

[1] https://flutter.dev/docs/resources/faq#what-technology-is-fl...

[2] https://flutter.dev/docs/resources/architectural-overview#la...

rhencke··on Qt 6.0
The Flutter engine API has no platform specific dependencies, has a stable ABI and is available in its entirety in a single C header file [1]. It's ideal for embedding.

[1] https://github.com/flutter/engine/blob/080fbcb1759e5916f0d6c...

rhencke··on Qt 6.0
Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

Dichotomous was chosen because it was the correct word, not for any other reason.

rhencke··on Qt 6.0
What is Flutter missing, in your opinion, for it to be a viable competitor?
rhencke··on Qt 6.0
This is not a dichotomous choice.
rhencke··on CLI Guidelines – A guide to help you write better command-line programs
It is your choice, in Git:

    git config --global help.format man
← PreviousPage 2 of 9Next →