Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

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

Submissions

comment 2y ago · link · parent

I have `alias s='git status'` and I feel like I'm missing a finger when it's not there.

comment 2y ago · link · parent

Putting a real person in jail prevents them from going to work, so jailing a company might be sanctioning it.

The thing is, companies are composed of people, and those people can just go to another company. Real people are composed of organs, but those organs can't just move to other bodies and commit the same crimes.

So, companies are just not people and the whole idea is stupid.

comment 2y ago · link · parent

The trick is to not work at Boeing.

comment 2y ago · link · parent

Sorry to be that guy, but nonplussed means something like "so taken aback, you're dumbstruck." Maybe you meant this, but more often people mean the opposite because of the "non" suffix [edit: prefix].

Anyway, you can smell the bad chemicals in plastics? I've never thought about it, but you're right there is a certain smell.

comment 2y ago · link · parent

I finally found something that worked with my fingerprint scanner, only to learn that the scan can't unlock the keyring or something -- it's a password but not actually a password. So I'd unlock the desktop with the fingerprint scanner, and then an indeterminate number of seconds later something would pop up asking me to type a password for my keyring.

So now, instead, I just type my password to begin with, and it's all gravy. I'd have to type it anyway.

comment 2y ago · link · parent

Fair points. I've had some frustrations with bluetooth; but, to be fair, same things happen for me on my Windows box (can't use high quality playback and mic at the same time).

Gaming I don't even attempt on Linux, though I've met two or three people now who are convinced you can 100% do it these days with Wine-based platforms and the right drivers.

Docks, in my limited experience, are a shit show on any system. I use Lenovo's thunderbolt dock (the expensive one) with my X1 Carbon Gen 6. It mostly works. I've been having problems with HDMI lately, no idea why.

FWIW, I used to have a super duper high end MacBook from work. It had similar problems. :shrug:

comment 2y ago · link · parent

I've met people who believe that there are good guys and bad guys, that they are the good guys, and that there should be no protections for the bad guys.

You can't convince them that to others, or in the future, they might be seen as the bad guys. Because that just isn't true -- they're the good guys.

comment 2y ago · link · parent

Buy a ThinkPad. Install Ubuntu. Don't think about it again for 6-10 years.

comment 2y ago · link · parent

I think that it became their data as soon as you uploaded it to Facebook. That's probably what the terms of service says, not that I've read it. Ultimately the lawyers decide whose is what.

comment 2y ago · link · parent

I've heard that the issues with the "swap the battery" model are:

1. The battery is one of the most expensive parts of the car. People won't want to swap it for some random battery, and you risk an illicit market for swapped out "good" batteries. Sure, if swapping is very common, then batteries are fungible and maybe it all evens out. I doubt it, though.

2. Batteries are large, heavy, and not necessarily centrally placed. You'd need some sort of winch/harness/crane system, which is dangerous and expensive to automate. Even if you figure it out, swappable batteries might be a negative design constraint for electric cars (e.g. "what if we want to put battery cells throughout the body of the car?").

I also like the model, but how could it be made to work well?

comment 2y ago · link · parent

There are many obstacles to receiving an offer from a potential employer. Some of them reflect your likelihood to be successful in the role, and some don't. Fooling an automated screening eliminates one obstacle, which might have fallen into either category.

comment 2y ago · link · parent

> He dare not come in company, for fear he should be misused, disgraced, overshoot himself in gesture or speeches, or be sick; he thinks every man observes him, aims at him derides him, owes hint malice.

- Hippocrates?[1]

[1]: https://old.reddit.com/r/AskLiteraryStudies/comments/68zg38/...

comment 2y ago · link · parent

To be fair, he might have just liked the voice. This scandal aside, I don't think there's any doubt that the guy just wants all the money.

comment 2y ago · link · parent

Save energy except when you definitely need it.

comment 2y ago · link · parent

Just make sure you're accumulating integers and not doubles!

comment 2y ago · link · parent

Crockford makes it work in his toy language in <https://www.amazon.com/How-JavaScript-Works-Douglas-Crockfor...>.

comment 2y ago · link · parent

> [...] thanks to Meta’s outright abusive approach to social media where the customer is not only wrong, but should ideally have little control over what they see.

It's trite at this point, and yet worth reiterating: You are not the customer.

comment 2y ago · link · parent

He more recently espoused what he calls "class-free object oriented programming," where you use closures for everything instead of prototypes. This uses more memory, but he says that it doesn't matter.

I do like writing Javascript that way, though:

    function Thing(otherThing) {
      const self = otherThing || {};
      self.method1 = function () { /* ... */ };
      // self. [...]
      return self;
    }

    function main() {
      // no `new`, no `this`
      const thing = Thing();
      // ...
    }

comment 2y ago · link · parent

I don't know whether it makes physical sense. There are other fundamental constants, too. Changing just "c" might lead to stuff like "atoms can't exist" or "the universe as we understand it would not evolve," etc. Or, not.

Changing "c" is different from just changing your units.

comment 2y ago · link · parent

If you're doing capitalism correctly, there is no competition. You control pricing, and quality is irrelevant. It's all about the power of money.

Businesses hate markets, because it's sink or swim and almost everybody sinks.

comment 2y ago · link · parent

I don't know, but germination has probably been studied a lot: <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7824603/>

comment 2y ago · link · parent

Why do black and hispanic students score worse?

comment 2y ago · link · parent

I wonder what the distribution looks like. I hardly read at all, and then will binge 3-5 books. So, fewer than 10 per year.

A friend of mine reads two books per week.

Maybe most are between. Or maybe not.

comment 2y ago · link · parent

I never noticed that, though "doesn't require a closing tag" and "requires that there is no closing tag" ought to have been hints for me.

comment 2y ago · link · parent

Fair enough. Tracing is a pretty heavy tool, though in a dynamic runtime you can get it automagically.

comment 2y ago · link · parent

I'd go further and say that the only level you need is ERROR.

DEBUG/TRACE is better handled by tracing. INFO is noise. WARN is INFO with emphasis.

comment 2y ago · link · parent

panic/recover/error?

comment 2y ago · link · parent

Does somebody using my "class Foo" really need to know everything about its "std::unordered_map<std::string, std::unique_ptr<NetBeanFactory<RageMixin, DefaultBowelEvictionPolicy>>>" data member?

No, they need know only the size and alignment of "class Foo". Unfortunately, in C++, either a client has to see every type definition recursively down to the primitives, or you give them an opaque pointer and hide all of the internals in the implementation (all they know about "sizeof(Foo)" is "it contains a pointer to something on the heap, probably").

edit: Ok, there's also the copy constructors and other possibly auto-generated value semantic operations, but pretend you've defined those explicitly, too.

comment 2y ago · link · parent

It might be cheaper to help people than to imprison them. What else is there?

comment 2y ago · link · parent

She's got some chompers on her.
1
222324
38