Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions

Submissions

comment 1y ago · link · parent

I'm reminded of the Gervais Principle. Doing the work is not the way to "win," but not winning might be the better lifestyle. Depends on your motivations, aspirations, and ethics. It's easy to chase the total compensation number, because it's just _there_ and like what are we doing anyway? But then what are you doing, anyway?

comment 1y ago · link · parent

Instagram is ad matching machine. Meta is not in the business to care about people.

comment 1y ago · link · parent

I went looking for old Microsoft Word EULAs but didn't find any on google. I did find this fun tidbit, though:

> Performance or Benchmark Testing. You may not disclose the results of any benchmark test of either of the Windows 95 Software Components to any third party without Microsoft’s prior written approval.

Wasn't that an Oracle sin? I guess Microsoft didn't want to miss out on the dickery.

comment 1y ago · link · parent

When I open Slack, to which servers am I explicitly requesting a connection?

I see your point, but my point is that implementing this is either impossible or would require changing how networks are used by programs at a fundamental level.

A middle ground might be to create a distro that uses something like SELinux to prevent all network access to non-system processes. Then each package would have to be audited to determine which addresses it can bind to, and/or which name lookups it can do, and how those capabilities are connected to actions performed by the user. Then there is still the question of what to do about software that accesses the network independent of the user, but maybe you can argue that shouldn't exist. How do updates work? Besides, if I allow Slack to connect to mychats.slack.com, nothing prevents the software from sending telemetry to that endpoint. You would need an army of manual enforcers, and that's not to mention non-free software.

comment 1y ago · link · parent

Either you control the software, or the software controls you, yadda yadda...

comment 1y ago · link · parent

There's no such thing as a corporate promise. There are such things as legal contracts and lawsuits, neither of which likely apply to anything Mozilla says about their browser.

comment 1y ago · link · parent

Which network access is telemetry?

comment 1y ago · link · parent

Yes, though I've never used it: https://librewolf.net/

comment 1y ago · link · parent

I like the author's original example the best, but:

    while ((message = map.get(key)) == null) {
      long now = System.currentTimeMillis();
      if (now >= timeoutTime) {
        break;
      }
      wait(timeoutTime - now);
    }
If I had my way, then all "sleep" APIs would take a deadline time point, not a time duration. Also have the API do nothing if the deadline is passed. This way, getting the subtraction right need only happen in the lowest shared part of the library. Then it's a lot like the original example:

    while ((message = map.get(key)) == null) {
      waitUntil(timeoutTime);
    }
edit: Oops, my last example has a pretty bad bug. The author's point stands, and I need coffee.

You could have waitUntil return true or false to indicate whether the wait occurred or not, but then that loses the opportunity to convey whether the thread was awakened due to an operation on the map.

    do {
      message = map.get(key);
    } while (message == null && waitUntil(timeoutTime));
Author's original example still wins.

comment 1y ago · link · parent

I did this for a tool that checks relative links in markdown files, e.g. readmes in a repo.

markdown -> xhtml -> sxml -> logic (racket)

comment 1y ago · link · parent

Perhaps the private sector and their bilking of the government is what we are witnessing.

comment 1y ago · link · parent

It's politics, same as ever. We're not talking about the best way to balance the books of America LLC, we're talking about "who gets what, when." That's politics.

comment 1y ago · link · parent

Electrons are blue and oxygen is red. Don't be ridiculous.

comment 1y ago · link · parent

It's as if that's not what it's about at all.

comment 1y ago · link · parent

AIs are probably good at answering such questions.

comment 1y ago · link · parent

Interviewing fads are set by these large companies that have the problem of systematically evaluating many thousands of candidates. A standardized test is all they want. Then they could do the rest like college admissions, and at a fraction of the cost.

comment 1y ago · link · parent

But what if I bring my AI butt plug?

comment 1y ago · link · parent

A rule of thumb is that if you paid sales tax for it, it's probably not food.

Of course "not food" is mostly fine.

comment 1y ago · link · parent

That's a theme in the novel "Neuromancer".

comment 1y ago · link · parent

I was impressed by how efficient both metro and car metrics are.

comment 1y ago · link · parent

Nice work! It's a good write-up, too.

Hygienic macro expansion is one of the things I still haven't implemented before. I remember a [talk][1] where Matthew Flatt illustrates the idea of sets of scopes, and choosing the largest intersection. I see in your implementation there are sets of "marks" in syntax objects, is that what's going on there?

I haven't played with rust, but when I do I'll be able to play with this scheme too.

[1]: https://www.youtube.com/watch?v=Or_yKiI3Ha4

comment 1y ago · link · parent

I don't benefit from being plugged into any of that. Do you?

comment 1y ago · link · parent

You have nothing to hide until somebody in power doesn't like you.

comment 1y ago · link · parent

The Minkowski metric is time reversal symmetric. The bigger question in particle physics is "what are the symmetries of the action?"

It's not time reversal symmetric, but it's probably [CPT][1] (charge-parity-time reversal) symmetric.

If you forget about quantum field theory and consider classical physics in Minkowski space (or Cartesian space), then t -> -t indeed doesn't change the physical laws. You could tell the two apart, though, provided that the system is far from thermal equilibrium (e.g. "why is this egg uncracking spontaneously?").

[1]: https://en.wikipedia.org/wiki/CPT_symmetry

comment 1y ago · link · parent

It helps if the search is integrated into the torrent client (qbittorrent) and if the computer is plugged into the tv (long hdmi cable).

The UX benefit is that I figure out what I want to watch by browsing the web, then pick a download (lots of seeds, decent size), and before long I can start watching. Usually I queue up a few options in case my mood changes.

It doesn't matter which service owns the rights, or which devices I'm using, or anything. I can watch the downloaded content whenever I want, forever. No trailers or unskippable notices. I'd pay money for this flexibility if I could.

comment 1y ago · link · parent

Nginx's configuration is the most flexible I've ever seen. When writing an nginx module, you have a handle to the config file being read, and you can do whatever you want. Conventions of syntax really are just conventions. There's no grammar.

I'd prefer a formal language with a parse tree and all that, but I think the spirit of the nginx code is "just what you need and nothing more."

comment 1y ago · link · parent

`Day_type + Day_type` is also defined, and it overflows. That's like normal integers, and unlike enums.

comment 1y ago · link · parent

Similar story with Ubuntu's software app and Snap, though to be fair snap is mostly fine these days.

I still uninstall it and use apt instead (and "downgrade" packages that are wrappers around snaps, and block snapd from being able to install...).

comment 1y ago · link · parent

The dealer's users at least have addiction keeping them engaged. Ads in a car is more like drawing blood from an animal that's trapped in a cage.

comment 1y ago · link · parent

The danger with a widely spread asymptomatic infection is that it might become symptomatic, or might be for some portion of the population. Or chickens.
1
121314
38