Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

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

Submissions

comment 4y ago · link · parent

Sounds like the guy you hired had a talent. Maybe you, too. More of that.

comment 4y ago · link · parent

Never heard of txr. Thanks for this.

For anyone else wondering: https://www.nongnu.org/txr/

comment 4y ago · link · parent

I agree with Galanwe, but

> [...] are often the mark of wannabe guru mid career engineers that have no clue what they are talking about.

is the "toxic" part.

At least he says "are often," as not to accuse the anonymous mid career Google engineer.

comment 4y ago · link · parent

Dude, $100 million.

comment 4y ago · link · parent

Good enough for JK, good enough for me.

comment 4y ago · link · parent

Physics progresses one funeral at a time.

comment 4y ago · link · parent

Zim should be a Vim clone written in Zig.

This looks like a lightweight improvement on my current one-text-file workflow. Might be worth trying out.

comment 4y ago · link · parent

Because claims need to be backed up by evidence, even if we love to proceed with prejudice.

comment 4y ago · link · parent

I'm no expert, but I'm also not convinced that the device contained malware.

> We sent the file for proper malware analysis which did confirm that it did indeed contain malware. The malware would collect user data and send it to a remote address. Presumably it would be a way to steal company information such as designs, accounts, and so on. Pretty shady stuff!

Or, you know, it might be doing anything at all on the internet. A reasonable question is "why should this device access the internet?" Good point, but my LAN-controlled "smart plug" connects to an NTP server in France. Who knows.

From the report:

> When verifying the [executable] signature, it was identified that the malware did not have any signature assigned to it as shown in the figure below. It means that the file has a malicious activity.

Doesn't that mean that the image is not signed? Again, I'm not an expert, but to say "it means that the file has a malicious activity" smells like "I'll consider almost anything suspicious if it will convince you that this report is valuable." On the other hand, maybe that really is suspicious. I don't do this for a living.

> The process explorer and procmon helped to know that the malware created a child process and then killed the process. It was also identified that the file did not have the signature but had the company name, and the path, confirming that it is a suspicious file from a legitimate organization. The regshot helped in getting the two snapshots of the registry, one before execution and one after malware execution. Therefore, it can be concluded that the file analyzed contains a trojan spyware which creates a child process that kills the original file when run. The malware collects user information and sends it to http://freedns.afraid.org/.

Again, the conclusion does not follow from the premises. Maybe spawning a child and killing the parent is something that you wouldn't normally do unless you were malware. Maybe English is not the author's first language, fine, but it does look like a poorly edited template.

For all I know, it's totally malware built for corporate espionage originating from a country notorious for doing that, but I don't see any compelling evidence.

comment 4y ago · link · parent

> We’ve received and are processing your request to access your personal data. We will provide your information to you as soon as we can. Usually, this should not take more than a month. In exceptional cases, for example if a request is more complex or if we are processing a high volume of requests, it might take longer, but if so we will notify you that there will be a delay.

I wonder what the formats are.

Also, is there a team of poor souls navigating internal bureaucracy to manually fulfill these requests? Is it a black hole?

A nice policy would be to decree "Every [property] in Amazon must provide an internally registered [endpoint] that speaks [protocol] serving requests consistent with [schema]. Request volume will be limited to at most [limit]." Require it for new stuff, and add it to the backlog for existing stuff.

Ah, but it wouldn't increase revenue, and everything is existing stuff. Still, I like the idea.

comment 4y ago · link · parent

True, but relying on the current behavior when it is only one of many behaviors allowed by the contract prevents the author from changing the implementation, or may make porting the function to other platforms more difficult.

comment 4y ago · link · parent

> You're trying to run this small genuine thing yet the world aims to destroy it, every hour of every day.

I feel you. I have a server exposed to the internet, and pretty much the only thing in my access log is PHP/cPanel/MySQL exploit attempts. My guess is that you just port scan the entire internet and go fishing.

Not that this is much consolation, but keep in mind that it's not the world that aims to destroy your small genuine thing, but instead a tiny army of unscrupulous jerks.

comment 4y ago · link · parent

Yes, as the creator of C++ has said [1] before.

Personally, I'd also distinguish between "complicated over time" and "complicated by default." For example, Clojure has a minimal syntax and instead uses a large vocabulary of terse primitive procedures. If you don't know the primitives, it's "complicated." A different example is Rust, which has many features expressed in syntax. If you haven't learned all of the syntax, it's "complicated." Compare these with C++, which began as a small set of extensions to a stronger-typed C, but has gradually grown into a family of sub-languages, each added for a particular purpose, and all interacting with each other (sometimes beautifully, other times horribly -- knowing the difference is "complicated").

[1]: https://blog.codinghorror.com/the-problem-with-c/

comment 4y ago · link · parent

This sounds like semantics.

If I buy a flute, I get a carefully configured bundle of metal, cork, and leather pads.

I didn't pay for the skill.

Likewise, when I buy a novel, I didn't pay for the knowledge.

It's not a second cost, it's two purchases.

comment 4y ago · link · parent

I referred to that when I mentioned "loopholes."

It's a contradiction for sure, but either you have a "libre" device with non-free components isolated over a serial interface, or you have a less capable device.

Disingenuous, maybe.

comment 4y ago · link · parent

> I make really good things, maybe they aren't perfect, but people really like them. Surely, surely Google could have used that.

Google is so large that I'm not certain this is true.

Anyway, the interview is a particular kind of exam with volatile grading, so don't sweat it.

comment 4y ago · link · parent

This is what I missed, well put.

comment 4y ago · link · parent

I'm well out of my realm of expertise here, but I had a gut reaction to:

> Libreboot, being FSF-recommended, also has this policy of disallowing firmware blobs in the source tree, despite it being a source of nothing but problems.

Later the author points out how there isn't any contemporary libre hardware that would satisfy users (vaguely but reasonably described), and so "free" solutions utilize loopholes in the legal language that defines the FSF's "libre."

What I'm reading is that capable libre hardware does not exist, or at least has not existed for many years.

Why accuse the FSF of hypocrisy?

Later,

> At this point, total blob-free computing is a fool’s errand, so there are a lot of AMD Ryzen-based machines that will give you decent performance and GPU acceleration without the need for proprietary drivers.

Indeed, I don't use truly libre hardware either. I buy whatever The Man makes available. Libre hardware is still a worthy goal. There is no harm here on account of the FSF.

comment 4y ago · link · parent

Policing language helps with marketing. I'm not saying I like it, but what is the alternative? "Some randos with domain knowledge and free time made the system do something other than what its designers intended, and now are hoping that distracted or gullible users will get fooled into scams"?

comment 4y ago · link · parent

There's the desire to teach the scientific method, and also the desire to convey the established literature in preparation for the (standardized) exams.

So, you design "labs" where the students "experiment."

This is my experience at a high school in Florida.

comment 4y ago · link · parent

What is "woke"?

comment 4y ago · link · parent

Maybe it's:

    grind:
        ship_quick()
        if (is_market_leader()) {
            hire_maintainer()
        } else if (failed()) {
            abort()
        }
        goto grind

comment 4y ago · link · parent

My grandfather had a pig's heart valve in his chest, worked great.

comment 4y ago · link · parent

I've heard that the main job of a nuclear submarine is to tail another nuclear submarine at a polite distance, so every submarine that could make a first strike is observed by a submarine that could make a retaliatory strike. Then again, wouldn't the defensive side be out of range of the attacking country for a second strike? So maybe it's to be able to launch anti-missile missiles...

Scary stuff, but I guess it gives sailors something to do.

comment 4y ago · link · parent

> > Before the pandemic, nurses would work marathon shifts

>

> We have the same problem here. I don't understand how it's consider to be sane.

I don't know anything about nursing, but I've read elsewhere that the 12 hour shifts are to reduce the number of nurses a patient goes through in a single hospital visit.

Speculation: A patient in a hospital is like a software project -- better not to change ownership before release, if you can avoid it.

comment 4y ago · link · parent

> When a female surgeon operates, patient outcomes are generally better, particularly for women, even after adjusting for differences in chronic health status, age and other factors, when undergoing the same procedures.

There goes my idea of "what about when a woman operates on men?"

Perhaps people are better able to operate on patients of their own sex, and maybe additionally the woman minority of surgeons are better at surgery.

comment 4y ago · link · parent

Douglas Crockford has a sketch of a datetime library in his book, How JavaScript Works.

I like it. Here's a summary.

A datetime has three representations:

- (real) number of milliseconds since the epoch,

- string in some standard format (e.g. ISO 8601),

- plain old object with the following properties: year, month (one-based), day, hour, minute, second (real), zone, week, weekday.

Then there are four functions for generating datetimes and converting among the representations:

- Date.now() -> Number

- Date.object(Number | String, zone info? ...) -> Object

- Date.string(Number | Object, format and/or zone info? ...) -> String

- Date.number(Object | String, format and/or zone info? ...) -> Number

You'd need the tz database under the hood and maybe exceptions for impossible or ambiguous datetimes.

Aside from bundling the tz database, I don't see this library needing to be very large. And if it's small, it's not a big deal if it isn't standard.

comment 4y ago · link · parent

Based on the tone of the marriage section of the article, I suspect that the author thinks that marriage is silly and that people do it only out of willful ignorance.

comment 4y ago · link · parent

Why pay for something that's being offered for free?

I know that there are many good reasons to support valuable open source projects with money. But you can also _not_.

1
3435363738