Better HN
topnewbestaskshowjobs
Log inSign up

patrec

2,760 karma · joined Jun 11, 2016 (10y ago) · 1,135 submissions

email: replace_vowels_with_leetspeak_version("patrec") + "@gmail.com"
Submissions

comment 1w ago · link · parent

So, I generally like Jon, but he can be an ignorant blowhard and this typically does not diminish his supreme self-confidence or rudeness (see e.g. https://x.com/stylewarning/status/2028976562544988476). I don't think this is the only instance where he blocked someone who politely pointed out a technical error either.

comment 1w ago · link · parent

What's distasteful is your gaslighting attempt. It's pretty clear from Tim's own writing that he did care.

> While I've since adopted a tedious posting style to avoid triggering newer people, I haven't really changed. I'm not a grim person, and still find humor (sometimes dark) in almost everything. I just keep all sense of joy bottled up now. "Joy is not professional, supportive, welcoming, or inclusive - unless it's joy at the humiliation of perceived enemies of our new Mandatory Utopia" ;-) [..] > I would like an apology from the PSF, but don't expect one, and don't insist on one. What I demand is that they improve the broken _processes_ that led to this. My case wasn't the first one of trumped-up fantasy charges, and won't be the last

comment 1w ago · link · parent

Ah, yes who more fitting to give a eulogy than Guido, who so bravely spoke up when the woke crazies tried to defenestrate (the unfailingly polite, kind and patient) Tim not even 2 years before his death.

comment 2mo ago · link · parent

Ultra-endurance definitely seems to have one of the thinnest sex differentials in sports.

Still, when I ask Google to provide a list of top 10 ultra endurance runners in terms of absolute performance across sexes, it lists not a single woman and elaborates: "While female athletes like Courtney Dauwalter have occasionally won mid-tier ultramarathons outright over the entire field, in highly competitive, top-tier international events, the absolute raw times and physical performance indexes lean heavily toward the elite male field."

comment 2mo ago · link · parent

Can you name any fields from the top of your head that have a) objective scoring b) no gender split rankings b) women in the top 10, consistently?

comment 3mo ago · link · parent

> Dependencies on the body of a runtime function are impossible (at least in the simplified view I’m presenting here)

How does this work given that e.g. a constant can be computed by a comptime function?

comment 4mo ago · link · parent

Sounds interesting, have you put it online somewhere?

comment 4mo ago · link · parent

https://www.tamaspapp.eu/post/common-lisp-to-julia/

comment 6mo ago · link · parent

The policies I mentioned (just as nepo-baby Mamdani's programs to abolish programs for gifted children) have, of course, precisely and deliberately the effect of cementing an existing parasitic elite and screwing over talented and hardworking people from a non-privileged background.

Which part of this do you fail to understand? Who do you think will be more inconvenienced by the removal of gifted programs, some intellectual mediocrity who goes to a $70'000/year private school anyway, or a smart child from a family with a yearly total income that's a fraction of that schooling cost? Who do you think is going to be more likely to find themselves financially ruined by being hit with enormous taxes on illiquid assets (such as equity in a pre-IPO startup they founded or where an early employee in) -- someone entirely self-made or your "oligarch"?

comment 6mo ago · link · parent

And of course the reason that there is a lot VC capital in Europe has absolutely nothing to do with the fact that you'd be crazy to do a startup in e.g. Denmark (because doing so will likely be personally ruinous even in the unlikely case that you get some traction, due to unrealized gains tax) or to directly invest in one in e.g. Germany (where you'd be expected to physically sit through, on location, a few hours of a notary reading stuff out to you)? Do you actually have any idea how much additional legal risks, costs and time wasting bureaucracy are associated with even just forming a company in a typical EU country?

Miami, and Florida in general, have basically zero universities anyone has ever heard off, and still boast a higher number of unicorns per capita than Germany, despite the latter having at least one world-class technical university.

comment 8mo ago · link · parent

What do you mean by this?

comment 8mo ago · link · parent

Is there some more concise and ideally written summary of Thiel's lectures? One that doesn't require sitting through 3h of video?

I've only got some superficial acquaintance with Thiel's ideas, but he's been objectively correct on enough contrarian stuff (Thiel fellowships) that I'd like to at least have some rough, non-distorted understanding of what the anti-christ stuff is about even if it sounds a bit crazy.

comment 1y ago · link · parent

And using Google Firefox instead of Google Chrome is more than a temporary bag aid?

comment 1y ago · link · parent

Nordic countries have essentially exactly the same 1/3 two year recidivism rate as the US, the one exception being Norway at 1/5, and mostly not for rehabilitation policy reasons.

https://inquisitivebird.xyz/p/the-myth-of-the-nordic-rehabil...

comment 1y ago · link · parent

Thanks!

> they are better for most use cases of string templating where what you really want, is just a string.

I think use cases where you want to unconditionally bash a string together are rare. I'd bet that in > 80% of cases the "just a string" really is just a terrible representation for what really is either some tree (html, sql, python, ...) structure or at least requires lazy processing (logging, where you only want to pay for the expensive string formatting and generation if you run at the log level or higher that the relevant logging line is meant to operate).

comment 1y ago · link · parent

The problem with f-strings is that they make an extremely limited use case convenient (bashing unstructured text) and thus people people invariably use them for the less limited use case for which no such covenient mechanism exists. Constructing ASTs (including html and SQL). Or logging (where you want to avoid unconditionally computing some expensive string represenation).

I do this myself. I basically always use the subtl wrong log.warning(f"Unexpected {response=} encountered") and not the correct, and depending on the loglevel cheaper log.warning("Unexpected respone=%s encountered", repsonse). The extra visual noise is typically not worth the extra correctness and performance (I'd obviously not do this in some publically exposed service receiving untrusted inputs).

I'd argue these use cases are in fact more prevalent then the bashing unstructured text use case.

Encouraging people to write injection vulnerabilities or performance and correcness bugs isn't great language design.

comment 1y ago · link · parent

My memory is that ES6's template strings preceded f-strings. If that is correct, do you happen to know why python was saddled with f-strings, which seem like an obviously inferior design, in the first place? We are now at five largely redundant string interpolation systems (%, .format, string.Template, f-string, t-string).

comment 1y ago · link · parent

Great point – I should definitely have mentioned Julia as your best bet for playing around with multi-methods. I think it's basically the only language with any eco-system to speak of that has them. Julia also happens to be the only extant language I'm aware of that has a well designed shell interpolation syntax. For resumable exceptions, however, playing around with Dylan or CL remains your best bet, as far as I'm aware of (and Common Lisp at least also integrates them into the interactive development experience).

comment 1y ago · link · parent

Dylan is simply a historical curio, so there are no situations in which anyone should use it apart to study programming language history and to take inspiration from roads not taken. It's basically Common Lisp, with Algol-like syntax, less historical baggage (everything is a class, no weird stuff like prog and so and so forth) and more emphasis on efficient implementation. Unfortunately, it didn't catch on, but it's IMO a nicer language than python (which modelled inheritance rules on Dylan), Java, Javascript or C++.

Here are some interesting things about it:

1. It has an simple but nice trick for avoiding ugly_underscores: a-b is a single symbol, a - b is subtraction.

2. IIRC it was the first non-sexp language with a sophisticated macro system.

3. Like Common Lisp it has multi-methods and resumable exceptions (but unlikely Common Lisp all exceptions are resumable). If you want to play around with either multi methods and resumable exceptions, Common Lisp or Dylan are probably your best bets and Dylan has the advantage of being probably simpler to pick up.

comment 2y ago · link · parent

When you are prepared to die in a plane crash because of your decrepitude, how much risk to others is entailed in a case like this? If the plausible answer is “not that much” I am with you. But nonagenarian self-actualization at the cost of other people’s lives and limbs is a different story.

comment 2y ago · link · parent

Personally, I think the butterfly keyboard is great. Assuming, of course, that you got one that does not suffer mechanical reliability issues. This opinion is hardly universal but seems to be shared by quite a few good typists. I'm typing this on a fancy mechanical keyboard, because I care quite a bit about keyboard quality (and consequently hate most laptop keyboards). So it's not that I just don't know better.

comment 3y ago · link · parent

> he's basically saying Sam is the best in the world at being a ruthless mofo in these situations and obliterating those who oppose him

Exactly, it's not all that subtle, so I find it hard to even come up with an alternative interpretation.

comment 3y ago · link · parent

> I thought (and could be wrong) that all of these concerns are based on a very low probability of a very bad outcome.

Among knowledgeable people who have concerns in the first place, I'd say giving the probability of a very bad outcome of cumulative advances as "very low" is a fringe position. It seems to vary more between "significant" and "close to unity".

There are some knowledgeable people like Yann LeCun who have no concerns whatsoever but they seem singularly bad at communicating why this would be a rational position to take.

comment 3y ago · link · parent

What is bewildering is that you expect that the world has turn around in the blink of an eye to humor the Japanese, who are now suddenly having second thoughts after telling everyone else to use Firstname Lastname for Japanese names in an international context for most of the last 150 years or so (as the article correctly notes).

Given the amount of work and confusion entailed this is a completely unreasonable expectation.

comment 3y ago · link · parent

Unless there is a quoted comma or an empty column beforehand (nl “helpfully” skips empty lines for numbering purposes).

comment 3y ago · link · parent

I don't doubt you, but maybe your usage was never much memory constrained on either macOS or linux? What sort of software are you running? For what it's worth, I've got an even lower spec machine (4GiB), which works fine for light browsing and similar. But the minimum I need to run smoothly and simultaneously for a work machine is a browser (with plenty of tabs) and some mix of editors and IDEs. Linux craps for me with amounts of RAM that are way beyond what on a mac would still work fine. I don't think there's one single cause for that (e.g. safari is less of a resource hog than what's available on linux, zfs, which I happen to use, is better than apfs but probably also a bit more memory hungry, apple has virtual memory compression by default etc.).

Purely out of curiosity, what do

     ps -A -osize,cmd | awk '/[g]nome/{t+=$1}END{print t/1024^2 "GiB"}'
and awk '$1 == "Pss:" {t+=$2}END{print t*1024^-2 "GiB"}' $(ps -A -opid,cmd | awk '/[g]nome/{print "/proc/" $1 "/smaps"}')

print on your machine?

comment 3y ago · link · parent

Of course -- thanks!

comment 3y ago · link · parent

Apple's computers appear to have working memory management, whilst Linux doesn't. Anecdotally, an old 8GiB intel mac feels fine, an enormously more powerful 16 GiB linux laptop with Gnome is basically unusable (but runs great once you seriously bump up the RAM).

comment 3y ago · link · parent

Are you using cloudflare's DNS? https://jarv.is/notes/cloudflare-dns-archive-is-blocked/

comment 3y ago · link · parent

Of course it changes much. AIs can synthesize information in increasingly non-trivial ways.

In particular:

> If a language model spits something out it was already available and indexable on the internet,

Is patently false.

12345
38