Better HN
topnewbestaskshowjobs
Log inSign up

Twirrim

11,701 karma · joined Jul 28, 2010 (16y ago) · 2,455 submissions

Submissions

comment 1d ago · link · parent

I'm always amazed that the hiring process survives at Canonical.

https://dustri.org/b/my-experience-with-canonicals-interview...

https://www.reddit.com/r/recruitinghell/comments/1olj7g7/do_...

comment 2d ago · link · parent

Not only is it run by a different company, it's hosted on entirely different architecture that is designed to safeguard US citizen data and prohibit exfiltration.

comment 2d ago · link · parent

What is an Atmosphere in this context?

I'm sure this makes sense to someone in the bluesky world, but as an outsider, I've no clue.

comment 2d ago · link · parent

There's a great talk from Strange Loop from 2019 by Professor Emery Berger called "Performance Matters"[1] where he in part dives into the fact that memory layout can have a huge impact and that you may not have as much control over layout as you think. For example he cites that even the username of the person running the program can be enough to result in some crippling performance impacts (even if the program doesn't pick it up, on *nix systems it's part of the environment variables!)

One of the white papers he references, from 2009, by Mytkowicz et al. is titled "Producing Wrong Data Without Doing Anything Obviously Wrong!" and is worth at least a skim through, if not a full read. The starting abstract:

> This paper presents a surprising result: changing a seemingly innocuous aspect of an experimental setup can cause a systems researcher to draw wrong conclusions from an experiment. What appears to be an innocuous aspect in the experimental setup may in fact introduce a significant bias in an evaluation. This phenomenon is called measurement bias in the natural and social sciences. Our results demonstrate that measurement bias is significant and commonplace in computer system evaluation. By significant we mean that measurement bias can lead to a performance analysis that either over-states an effect or even yields an incorrect conclusion. By commonplace we mean that measurement bias occurs in all architectures that we tried (Pentium 4, Core 2, and m5 O3CPU), both compilers that we tried (gcc and Intel’s C compiler), and most of the SPEC CPU2006 C programs. Thus, we cannot ignore mea surement bias. Nevertheless, in a literature survey of 133 recent papers from ASPLOS, PACT, PLDI, and CGO, we determined that none of the papers with experimental results adequately consider measurement bias.

The relevant passage from the paper in relation to Dr Berger's talk:

> The most important point to take away from this graph is that depending on the shell environment size we may conclude that (i) the O3 optimizations are beneficial (i.e., the y value is greater than 1.0); (ii) the O3 optimizations degrade performance; and (iii) increasing the UNIX environment size does not predict the O3 speedup because as the size increases speedup increases and decreases, ranging from 0.91 to 1.07

[1] https://www.youtube.com/watch?v=r-TLSBdHe1A [2] https://users.cs.northwestern.edu/~robby/courses/322-2013-sp...

comment 6d ago · link · parent

I'd probably agree with them if they'd said "since the 2010s" or something, but the first decade of the 2000s saw significant architectural improvements and design philosophies playing out in the product market. (Anyone else remember Intel's Centrino team embarrassing the main CPU team by shipping a mobile processor based off a modernised Pentium 3, that could often outperform Pentium 4, at significantly less power consumption? That was some fun times!)

comment 1w ago · link · parent

One of the more mature libraries in this space would be diskcache https://pypi.org/project/diskcache/ https://grantjenks.com/docs/diskcache/

Very easy to use, and performant. Uses an sqlite backend. I'll often drop it in to a project temporarily if I'm in a position of feeling my way through a problem just to cut down execution time for things that aren't relevant to what I'm working on.

comment 1w ago · link · parent

Even the US federal government (CISA and NSA) have been strongly advising companies to transition to memory safe languages for a couple of years now. https://www.nsa.gov/Press-Room/Press-Releases-Statements/Pre... (one of the goals of such advisories is it acts as a signal to the industry that in several years this will become a mandatory requirement around purchasing decisions)

We've literally decades of evidence that we cannot write software securely in languages that aren't memory safe, for all sorts of reasons (and it's wrong to look at it as a developer competence issue, even though sometimes that's going to be the case, even extremely experienced and highly competent engineers write memory safety bugs in critical code we rely on day in day out.). Not leaving yourself open to such problems is an entirely logical conclusion. We know a large percentage of vulnerabilities in software are caused by it[1]

Pick a language that doesn't have these risk factors, or pick an enforceable subset of one that makes such impossible.

"Insanity is doing the same thing over and over and expecting different results."

[1] https://www.chromium.org/Home/chromium-security/memory-safet... 70% of Chrome vulnerabilities caused by it. Similar stories for Microsoft products https://github.com/microsoft/MSRC-Security-Research/blob/mas... and Mozilla: https://hacks.mozilla.org/2019/02/rewriting-a-browser-compon.... Curl is at 40%, and dropping because Daniel Stenberg has provided various helpers that avoid it (and I believe they've now migrated almost everything over to them) https://daniel.haxx.se/blog/2023/12/13/making-it-harder-to-d..., so there are definitely ways to do it, we just... don't.

comment 1w ago · link · parent

"There are none so blind as those who will not see" - John Heywood (et al.)

The follow on line from that one is even better: "The most deluded people are those who choose to ignore what they already know". I would probably want to add on things like "because it's not convenient" or similar for particular relevance to some of the stuff I've been dealing with recently at work. Folks know it's dangerous to do something a certain way, and know how to do it a safe way, but it's not as convenient so they delude themselves it'll be fine just this once. And just this once too. And just this once, once more. Slowly but surely normalising the deviance.

In the context of the Optimizely case, people know they're giving it dangerous levels of capabilities, but it's just too darn inconvenient to do it in a safe way so sure, why not. It'll be fine (and it will be, right up until it isn't and you realise your choice has compromised your users)

comment 1w ago · link · parent

Supabase taking a leaf out of Firebase's playbook, I see.

comment 1w ago · link · parent

I might give IceWM a shot.

I keep wanting the impossible. Something minimalist like i3, FVWM etc. but comprehensive, so I can go without what kept feeling like all the hassle of having to write custom utilities for so many operations and spending a lot of time having to configure the damn thing.

comment 2w ago · link · parent

I love the language, but I'm still not convinced by Rust's skinny stdlib approach. I appreciate not wanting to end up like python where they're having to remove stuff from the stdlib because it has too many batteries and bitrot is a problem, but there's surely a happy-medium somewhere along the line.

I don't write much Go but it seems like it has a good balance when I do.

It may be a bad example, but even in rust generating a random number involves pulling in 6ish crates

   └── rand v0.10.3
    ├── chacha20 v0.10.2
    │   ├── cfg-if v1.0.5
    │   └── rand_core v0.10.1
    ├── getrandom v0.4.3
    │   ├── cfg-if v1.0.5
    │   ├── libc v0.2.191
    │   └── rand_core v0.10.1
    └── rand_core v0.10.1

comment 2w ago · link · parent

I had a tech coworker who thought Y2K wasn't really a thing. I started working in tech in the middle of '99 and was dealing with Y2K stuff right out the gate. He started in the industry in 2001, so missed it.

comment 2w ago · link · parent

They are finally starting to. Oracle just announced a week or so ago that they're going to be introducing TPUs to their cloud next year for customers to use.

https://www.msn.com/en-us/technology/tech-companies/oracle-e...

Interesting times ahead with a number of chip makers now vying for this market. TPUs are a mature chip now which gives some strong advantage. At the same time as the TPU announcement, they also mentioned they'll be deploying Cerebras systems as well.

comment 2w ago · link · parent

Ampere's cores are pretty high performing, have been in the ballpark of AWS's Graviton cores, for example.

comment 2w ago · link · parent

There's a lot of inertia. That is leading to various major companies shipping their software for, and only supporting, Ubuntu, and if you're lucky Red Hat.

comment 2w ago · link · parent

Friendly relationship or not, the end user experience is that something that was working, no longer is, because it's not feature compatible. This is despite it being used to replace it under the same name. If it had been `runas` or anything else it'd be fine.

There's a strong principle in upstream Linux kernel about "You don't break userspace"[1], that I really wish more folks would get into their heads, but most especially a variant "You don't subtly break userspace".

If you're going to replace an existing binary, under the same name, you need to be like-for-like in commands, even if your guts are completely different. Very few people give a damn about how it's actually implemented, just does it do what they need it to do.

If you want to do things differently, do it under a different name and have it be an explicit break for an end user by not shipping with the original and let people choose to install it if they really don't want the new thing. Breaking things subtly is completely unacceptable.

[1] espoused really clearly, as part of an infamous rant https://lore.kernel.org/all/CA+55aFy98A+LJK4+GWMcbzaa1zsPBRo...

comment 2w ago · link · parent

You're somewhat assuming there aren't customers lined up wanting capacity.

comment 3w ago · link · parent

For what it's worth, AMD is very actively pushing GPU hardware, particularly towards the hyperscalers. From what I've seen, they're really focusing in on the large quantity end users (your OpenAI, Meta, etc. types), presumably because they'll have the technical expertise and willingness to collaborate with them on issues as long as the GPUs are cheap enough.

comment 3w ago · link · parent

Sorry, yeah, I completely failed to say in my message what I was originally aiming to say. Lost sight of the message part way through writing, after I got pinged at work for something.

The fact that I had to throw an LLM at it to cut down the slop and turn it into something more succinct and comprehensible is nuts. For myself, I'd be embarrassed if I released something with that kind of README on it.

comment 3w ago · link · parent

I ended up throwing the README at an LLM and it gave me a much simpler and clearer explanation. Copying the bits of an explanation that helped me:

> The problem it’s trying to solve is that generating valid SQL doesn’t necessarily produce the right answer. An AI might find a column called revenue, but still choose the wrong dataset or misunderstand whether that figure includes things like refunds. Auto Ontology adds information about what the data means to help it make those decisions.

and then the one paragraph summary at the end:

> My reading: it’s a database chat application built around a reusable catalogue of business meaning. The question worth testing is whether that catalogue makes answers measurably more correct—and how much human work it takes to get the definitions right.

comment 3w ago · link · parent

it's full of AI Slop fingerprints. Clearly hasn't been read or edited by a human before being published, or they're already deep in the brain rot that they can't see just how bad it is.

comment 3w ago · link · parent

My very technical and hands on father used to have us set the VCR clock, the controls were in a tiny compartment under a flap that required either small fingers, or very careful manipulation with the point of a protractor or something.

We went from difficult to manipulate buttons through to multi-function buttons where controls get hidden through some incomprehensible maze of menu options, to now where it sometimes feels lucky if you even get an option to manually set the time at all.

comment 1mo ago · link · parent

Much, much less from what I understand.

comment 1mo ago · link · parent

I've spent most of my career non-FAANG. Health insurance has been fine previously, and mostly I know folks outside of the tech industry having similar coverage. FAANG health insurance isn't that great a thing these days. It has been nickled and dimed about as much as anything else.

comment 1mo ago · link · parent

I've a neighbour who declined, and then got hit by layoffs. It was quite a gamble, and they lost out big time.

Honestly, if work was to come at me with a buy-out offer, and I was in a position to be able to afford to not work for a few years, I'd probably accept. Maybe go find some non-tech work for a little bit to stretch the dollars and ensure I have health insurance.

We're in such a bubble at the moment, things are going to get really rough.

comment 1mo ago · link · parent

I've seen so many "truthy" results coming back that suggest it's not even remotely as smart as you might hope.

I'm mostly starting to have some success telling TPMs and engineers to ask chatgpt to give them appropriate code that generates more accurate answers.

comment 1mo ago · link · parent

The frustrating part about an LLM is at a fundamental level it's designed to do the wrong thing, it's designed to provide an answer for things it can't do, e.g. one argument I've been in recently at work is someone using it to summarise numerical data. They've a raw data spreadsheet they're putting into ChatGPT and asking it to produce a report in a particular style. So the LLM is doing its job, predicting the tokens to emit, and not actually doing mathematical analysis of the underlying data.

I had a team proudly show me how they were feeding their dashboard data into an LLM to predict growth needs, instead of doing basic linear regression or any number of pre-existing basic statistical analysis. The part that depressed me the most on that was it was a bunch of engineers that did it, the people you'd most hope would understand what an LLM is/does.

comment 1mo ago · link · parent

lima uses vz, so it's built on top of hvf, seems perfectly fine and lightweight to me.

comment 1mo ago · link · parent

I haven't gone to network filter and logger yet, but I'm running mine in a VM, using lima (https://lima-vm.io/) to make it painless. Works on Mac and Linux, has an untested Windows version.

comment 1mo ago · link · parent

Where, exactly, does Amazon classify the PHP RCE as Important?

I'm not sure anything says what your editorialised title, and comment link says.

They were calling out that an NGINX CVE that was Important took 20 days. They're saying nothing about what classification Amazon has set on PHP,.

> So, from the CVE publication to an available fixed package it took 20 days, not a month.

They specifically call out that it's not the same as the Nginx case:

> In contrast to the PHP's case, that CVE wasn't Critical, but only Important, that doesn't have the same urgency.

12345
82