HNHacker News
TopNewBestAskShowJobs

Gaelan

2,595 karma · joined May 4, 2016

[ my public key: https://keybase.io/gaelan; my proof: https://keybase.io/gaelan/sigs/_8scLuddlnin3n7WEWudnzDROREeNEEYYEaN-cEvn5U ]
submissionscomments
Gaelan··on One Bad Apple
> They want to move to e2e for photos so they don't have to keep those keys.

That's my suspicion too, but has it actually been confirmed?

Gaelan··on Looking into Zig
This is Rust's approach, too: realistically recoverable errors are handled with Result<T, E>, and other are handled through panics. (Panics are generally implemented as exceptions, i.e. they unwind the stack, but the compiler can also be configured to make them just abort.)
Gaelan··on Our lawsuit against ChessBase
It depends on jurisdiction. Some places (I think the US is one of these) do allow you to put works in the public domain, and CC0 does that where possible. The “as if” license is a fallback.
Gaelan··on Our lawsuit against ChessBase
Defendant, for the record, but your term is way better.
Gaelan··on “We're Shutting Down Our 3G Network”
> local laws (in the country you roam in) might restrict the ability to do [IPSec]

Is there a way to find out which countries do this?

Gaelan··on iOS 14.6 device hacked with a zero-click iMessage exploit to install Pegasus
I'd expect so, but the exploits we're talking about are post-BlastDoor, so something clearly isn't working.
Gaelan··on Goodbye, Fleets
I wonder if there are technical issues here? It wouldn't be too surprising if "tweets are immutable" (and therefore safe to aggressively cache) is an assumption baked into a lot of their code.
Gaelan··on macOS Nix setup: an alternative to Homebrew (2020)
Looks like VMWare from the tweet they linked.
Gaelan··on Audacity: Clarification of Privacy Policy
Yep. In particular, any version of audacity from a Linux distro's package manager is likely already built with telemetry off.
Gaelan··on The Good and the Limitations of Github Copilot
If it’s anything but public domain, there’s probably at least a requirement for credit.
Gaelan··on Copilot regurgitating Quake code, including sweary comments
> I can’t fathom why SO won’t fix the license.

They tried to relicense code snippets to MIT a while back, it was a big mess.

Gaelan··on GitHub scraped your code. And they plan to charge you
Copilot spitting out fast inverse square root, verbatim: https://twitter.com/mitsuhiko/status/1410886329924194309

HN discussion: https://news.ycombinator.com/item?id=27710287

Gaelan··on AlpineJS – Lightweight JavaScript Framework
It is, that’s the joke.
Gaelan··on Purelymail – cheap, no-nonsense email
AWS us-east-1, it looks like:

    $ dig mx purelymail.com 
    ;; ANSWER SECTION:
    purelymail.com.  86400 IN MX 50 mailserver.purelymail.com.
    
    $ dig mailserver.purelymail.com
    ;; ANSWER SECTION:
    mailserver.purelymail.com. 60 IN A 18.204.123.63
    
    $ whois 18.204.123.63  
    OrgName:        Amazon Technologies Inc.
https://awsips.co for the region information
Gaelan··on Hackers exploited 0-day, not 2018 bug, to mass-wipe My Book Live devices
Here's the snippet from the article:

  function get($urlPath, $queryParams=null, $ouputFormat='xml'){
  // if(!authenticateAsOwner($queryParams))
  // {
  // header("HTTP/1.0 401 Unauthorized");
  // return;
  // }
The closing brace there corresponds to the if. The rest of the body of the function, and its closing brace, are outside the snippet included in the article.
Gaelan··on User Inyerface – A worst-practice UI experiment
Reminds me of the USPS vending machines in the post office, which helpfully obfuscate my email address, xyz@example.com, to xyz***@example.com
Gaelan··on User Inyerface – A worst-practice UI experiment
They're in alphabetical order, which helps a bit.
Gaelan··on No, the Other One
I guess he’s only doing places that are confused with another place within the US.

Edit: nope, there’s a North Pole, NY

Gaelan··on Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
I have to imagine it's been done, at least with some stripped-down kernel+busybox situation. Not sure, though.
Gaelan··on A specific network name can completely disable Wi-Fi on your iPhone
I think printf has a %n specifier that writes the number of characters so far to a pointer passed in.
Gaelan··on Goodbye Freenode
Not a sentence I expected to see on HN today. Thank you.
Gaelan··on Hackers used Slack to break into EA Games
Even just having your face recorded (after which, if it turned out you were a hacker, it could go on wanted posters or whatever) might be a significant deterrent.
Gaelan··on macOS Monterey Preview
My understanding (from the work of marcan et al) is that the hardware's there, macOS just doesn't have the drivers. Is there something in the announcement that made you think this will never happen, or just a "if they were planning on doing it any time soon, they'd have announced it by now" situation?
Gaelan··on NixOS 21.05
Each NixOS machine has a current configuration, symlinked from /run/current-system. For example, my NixOS laptop currently has this:

    /run/current-system -> /nix/store/95n5xr5n8bw6xbab8fiz6cqc6mydryg8-nixos-system-Sweetpea-21.11pre291991.ea7d4aa9b82
My $PATH contains /run/current-system/sw/bin, so all of my machine's (globally-installed) software comes from whatever the current configuration is. There's also some other stuff in there, like /run/current-system/kernel and /run/current-system/etc, which contain what you'd expect.

Let's say I want to change something. I edit /etc/nixos/configuration.nix, then run "nixos-rebuild build", which produces this:

    /nix/store/0fhxjqbv20psbkjvw70wni9ww2cxfqgm-nixos-system-Sweetpea-21.11pre292748.6933d068c5d
That step does all of the downloading, etc, but it doesn't actually change anything on my system—the /run/current-system symlink hasn't changed, so I'm still running on the old configuration.

When I'm ready to change, I run "/nix/store/0fhxj.../bin/switch-to-configuration". This step actually changes the /run/current-system symlink, updates /etc, restarts any daemons that were updated, etc. Obviously, if your configuration has a new kernel, that won't be applied until you reboot.

In practice, we almost always just run "nixos-rebuild switch", which does the build and switch in one go.

This whole process is entirely idempotent and reversible; I can switch back to any configuration I've ever built (unless I've since removed them to save space, of course). GRUB also displays a list of every configuration you've ever built, so you can always boot into a stable configuration even if you've somehow made a royal mess of things.

Gaelan··on GCC drops its copyright-assignment requirement
Also, GPLv3 allows linking to AGPLv3 code; the AGPLv3, in the eyes of some, is a EULA.
Gaelan··on GCC drops its copyright-assignment requirement
> proprietary bitcode format Apple never documented and only supports in their proprietary fork

IIRC, the bitcode format isn't proprietary—it's part of the open-source LLVM. The only issue is that it's not a stable format, so they need to use Apple's LLVM version and not an earlier or later open-source one.

Gaelan··on GCC drops its copyright-assignment requirement
For what its worth, the GPL (both 2 and 3) says this:

> The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

> Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

(The GPLv3 goes on to support some stuff about naming a "proxy" to approve new versions in addition to the FSF.)

I'm no lawyer, but I imagine that would prevent glaringly-evil GPLv4 from being upgradable-to.

Gaelan··on Windows 10 nagging users with Bing advertisements (push alerts)
That seems, for better or for worse, paved with good intentions.
Gaelan··on V8 Sparkplug – A non-optimizing JavaScript compiler
More recent source: https://webkit.org/blog/10308/speculation-in-javascriptcore/

The exact tiers have changed, but it’s still 4 of them: an interpreter (LLInt), the Baseline JIT, and two optimizing JITs

Gaelan··on Temptation of the Apple: Dolphin on macOS M1
Right, but the scammers aren't going to tell you to go there to install your Important Software Update, they're gonna point you towards the store with no restrictions at all, possibly one they run.
← PreviousPage 2 of 30Next →