Better HN
topnewbestaskshowjobs
Log inSign up

giomasce

1,209 karma · joined Feb 10, 2016 (10y ago) · 426 submissions

Mathematician, computer scientist, programmer. Currently Wine hacker @CodeWeavers and developer @Debian.
Submissions

comment 4y ago · link · parent

What does notarization mean here?

comment 4y ago · link · parent

It also fails on multithdreaded programs, unless you add even more assumptions on the allocator.

comment 4y ago · link · parent

One solution I've sometimes seen or the wild is to mandate that the library allocates just one big malloc chunk and arranges pointers inside that chunk. So the caller has to free just one thing. It's more inconvenient for the library, though.

comment 4y ago · link · parent

This means that you will need another comparison, if any. For other people it totally makes sense to restrict the comparison to products where you can install the operating system you want.

comment 4y ago · link · parent

You mean a USB wifi dongle?

comment 4y ago · link · parent

> When a mathematician says infinity they mean a repeatable process that we can keep doing forever.

I don't think many mathematicians would agree. The real numbers are an infinite set, but I don't think is commonly thought as something generated by a repeated process.

In common mathematics infinite sets exist just as much as finite ones.

In reality I can agree that infinite sets do not exist, but then neither do finite sets. At least, not in the way mathematicians mean.

comment 4y ago · link · parent

That's actually often used as the definition of an infinite set.

comment 4y ago · link · parent

There are manifolds that are flat and compact (i.e., not "infinite"). For example, flat tori.

comment 4y ago · link · parent

Except that developers do not take advantage of that, and here I am reversing UE Blueprint bytecode to make games working on Wine.

comment 4y ago · link · parent

In addition to what has already bern written, notice that children and teenagers often need to test limits to define their own identity and independency. So there are good chances that prohibiting something is going to make it even more appalling to them.

This is not bad on itself, I think it's a fundamental step of becoming young adults. And it doesn't mean parents can never trust children. But neither can they assume that what was discussed can be always given for granted.

comment 4y ago · link · parent

Who do you trust as an authority?

comment 4y ago · link · parent

It paid off: Microsoft's software is well-known to avoid bloat and be transparent to the user. /s

comment 4y ago · link · parent

As someone curious with formal proof systems, I am not sure it's a good idea to start from there if you still need to grasp elementary concepts. They are really technical stuff. It's like working on an advanced optimizing compiler when you still learning how to use a for loop.

comment 4y ago · link · parent

Suppose you have three finite sets A, B and C, each with a, b and c elements.

Let A->B be the set of functions from A to B. Then it has b^a elements.

Let AxB the set of couples with the first element in A and the second on B. Then it has ab elements.

So to prove that (a^b)^c = a^(cb) you have to prove that there is a bijection between C->(B->A) and (CxB)->A.

Ever heard of currying and uncurrying?

(BTW, I didn't really use the hypothesis that the sets are finite, the proof is also valid for transfinites if you care about those)

comment 4y ago · link · parent

The point is not reducing input per se, but reducing entitled input that doesn't give back anything to the community.

comment 4y ago · link · parent

I love this complex-engineering-thing-you-thought-it-was-trivial-but-it-doesn't-even-try-to-be kind of articles!

comment 4y ago · link · parent

Neither would I. Though every now and then I wouldn't dislike to be bound to rules that I can evaluate in advance, without having to bet on what a judge's a posteriori interpretation will be.

comment 4y ago · link · parent

Notice that "Capitalised" and "Proper" are adjectives and "Me" is a pronoun, so they're not capitalised in German.

comment 4y ago · link · parent

Twenty dollars for a transfer? I think my bank is expensive because I pay transfers 0.25 euro...

comment 4y ago · link · parent

Few things give the pure joy that this kind of useless stuff does.

comment 4y ago · link · parent

My government does that: I can have a smart card that, with the appropriate protocols, can issue a cryptographic legally recognized proof that I am who I am.

comment 4y ago · link · parent

So I'm a liar for predicting that eventually it will rain if I can't tell you precisely when?,

comment 4y ago · link · parent

> Emails will not come from the domain of the company that sent them and companies will call you and ask for your SSN, and often you have no choice but to comply with these or not use those services, because they simply offer no other options.

I still can't understand how it's possible that a SSN is used as a sort of password. In Italy and Belgium (the two places where I lived) there is an equivalent thing, of course, but it's not meant to be a password at all. If anything, it's akin to a username. If you want to authenticate against it you need something else (an actual password, a smart card, a 2FA app, it depends). In Italy, specifically, the so called "fiscal code" is essentially a function of you name, surname and place and date of birth.

comment 4y ago · link · parent

In a functional analysis class ("analisi funzionale" in Italian, shortened "anal fun") our professor suggested us to complete an exercise using one of the most relevant theorems in the field: the dominated convergence theorem ("convergenza dominata" in Italian, shortened "con dom").

comment 4y ago · link · parent

Apparently security bugs and privacy violations too.

comment 4y ago · link · parent

Any suggestion on a (possibly self-hosted) web application to manage GTD lists?

comment 4y ago · link · parent

Not sure it is a good idea. It might be more flexible when you issue an invoice and have to modify it, but first it would enable fraud, and second it would mean that you have to monitor incoming invoices to see if anything changed and account for that. I think it's better to ask people to just emit correct invoices: if you need to invoice a bit more you issue another one, if you need to invoice less you issue a credit note. If you can't do that you need to work on your business processes.

comment 4y ago · link · parent

Yes, you do. At least, I do, and if you don't I'll be happy to eat yours too. I love Parmigiano. It's not really the reason why I ended up living in Parma, but it's a great coincidence nonetheless.

comment 4y ago · link · parent

In Italy too. They specifically developed an XML format for that, and each time you issue an invoice you have to (well, with some exceptions, but they are gradually removing all of them) send a copy to the revenue agency, which will forward it to the recipient (and keep a copy).

While it is a bit inconvenient, though, I don't think it is a bad idea. I am pretty sure it helps a lot making the life harder for people evading taxes, and to some extent the availability of a standard machine-readable format makes it easy to do accounting. My wife sells videocourses online and I developed a thing that automatically issues invoices as soon as people buy a product (with some human supervision, mainly to avoid the machine doing havoc is some exceptional situation happens; normally it is just "click a button to send the invoice"). The invoices are then automatically available to the accountant for doing accountant things.

You can find the XSD here: https://www.fatturapa.gov.it/en/norme-e-regole/documentazion...

comment 4y ago · link · parent

A parent working at NASA is a great advantage for entering tech not because they could open a door for you, but because they would help you creating a receptive mindset much before you'd actually start reading books. Or maybe it wasn't the case for you, but it definitely was for me. My father is a programmer, my mother a maths teacher. My mother's parents both were maths teacher, at different school levels. You can guess it was easy for me to have mathematical and computer concepts presented and explained every time I fancied them. I could develop and nurture my love for STEM much before it was a matter of actually reading books on my own.

It's not mechanical, of course; my sister never particularly enjoyed maths and went on to become a nurse. That's fine, of course; but clearly the road would have been harder for me if I wasn't born in an environment which valued maths and science as naturally interesting.

My mother's siblings have all finished the university, and so have my cousins on my mother's side (or are still going to the university). Among my father's siblings, he's the only one who finished the university, and coincidentally of my cousins on my father's side the only who finished university are my siblings and I. Of course I don't pretend this is statistically significant, but I think the real privilege with culture is not the money or somebody who makes it easier for you to get a job, but rather being born in an environment that stimulates your desire for culture.

12345
15