Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 2y ago · link · parent

I think standards could be higher while perfectionism could be lower. I'd even go as far as to argue that perfectionism is a contraindicator to quality software and high standards.

Perfectionism doesn't necessarily mean better implementations, good practices, or even doing the right thing. Chasing and stacking needless abstractions to make things appear clean is an example of such perfectionism that actually harms the industry and erodes standards.

comment 2y ago · link · parent

While life has gotten in the way of me going through this course, the way the IR is defined makes it super easy to just define some schemas and automatically have everything parsed and loaded in whatever language you comfortable in.

Personally, I just wrote the types, and then used serde.

comment 2y ago · link · parent

Are cloudflare, azure, and AWS not tech companies?

comment 2y ago · link · parent

That was around 6-7 years ago at this point. Personally, every AMD machine I've had since then was very stable on Linux with an NVDA gpu. My latest one, an intel + NVDA, had issues under virtually all linux distros I had tried.

Now that I don't need CUDA anymore I might consider going full team red.

comment 2y ago · link · parent

Indeed, ensuring that unsafe is isolated and obeys certain semantics is a superpower that few languages have rust+kani is a good and modern way to achieve this.

comment 2y ago · link · parent

Oh absolutely. This is utterly unacceptable. The ease with which CS pushed willy nilly a bad build to prod in what seems to be a monophasic release is absurd.

Something of this nature would have had our entire team fired. The number of phases and the thoroughness and exhaustiveness of the protocols we have to ensure we don't push bad builds would have most engineers taken aback... but we have to. With great power comes great responsibility.

comment 2y ago · link · parent

You can still do unsafe, and you do need unsafe in some cases.

comment 2y ago · link · parent

If that's the case, I don't think you will get any benefits by switching to Typst.

comment 2y ago · link · parent

You have more control over the style and structure. If you use markdown + css, that's a different story.

comment 2y ago · link · parent

Lots of people interested in pulling the ladder. Fearing competition, are we?

comment 2y ago · link · parent

Tbh, I was thinking of SUVs and middle-aged men as they have access to high performing tanks — my father being one of them.

I had an old bmw 320d; it did about 9s; and I think that was too much.

comment 2y ago · link · parent

Cars these days can accelerate to 100 in < 2 seconds. Imho acceleration should also be limited. There’s absolutely no reason for that in cities.

comment 2y ago · link · parent

I’d argue that we should be limiting acceleration as well.

I see no reason why a 2 tonne car should accelerate to 100km in less than 5 seconds, but here we are.

comment 2y ago · link · parent

Not all PRNGs are created equal; eg linear congruent ones take many steps until values of initial seeds that are close to each other become decorrelated.

Eg try java’s random prng library, and generate a few booleans with two seeds very close to each other.

Then try apache common’s merseine twister prng.

comment 2y ago · link · parent

I don’t know much about that specific fuzzer; but all you need is a/ consistent and controlled randomness, b/ combinators, c/ reducers.

What you describe (commands) is commonly used with model based testing and distributed systems.

comment 2y ago · link · parent

About the C++ implementation, instead of BFS, you most likely want to use Uniform search.

In general; search algorithms like BFS, DFS, Uniform, A* and variants have the following structure:

    do
      current_state, cost <- container.pop()
      container <- container.update(expand(current_state))
    while current_state != goal

where container is a datastructure, and this is the key difference. DFS simply prepends all nodes, so every expansion just goes deeper, we use a stack. BFS simply appends, it's a queue (an expensive one too!), uniform uses a priority queue based on the cost. This allows you to blend actions of variable cost, and still reach minimal cost nodes. A* simply augments this with a heuristic when sorting.

comment 2y ago · link · parent

Planning is a really interesting way of solving problems; I used in in a data generation kind of software; the idea is that you provide a struct / type definition — can be recursive or otherwise, and the planner figures out a path to this. It can be further extended with adding conditions on the input, or generalizing this to accept schemas.

comment 2y ago · link · parent

I have talked about this with people, in this forum.

comment 2y ago · link · parent

I think reading code to understand because you forked a project and want to continue it is very different to following tutorials.

comment 2y ago · link · parent

> Did it work well longterm? Unfortunately, no. He stayed relatively short (<2y). His framework deteriorated under the new ownership.

I think the issue is that integ tests are not really a place that sees "development". You write the integ tests, and move on, you are not actively introducing more integ tests.

I think that's a shame that this is the common view of the people that need to fund this. Bad integ tests mean bad dev exp, which then results in increased attrition and dissatisfaction.

comment 2y ago · link · parent

My early childhood is very similar to that of some Field medalists.. and then I went to school and the problems began.. between bullying, isolation, and a host of other issues, adult me feels the burden of "potential".

I don't blame my parents for it, they really didn't have much of a choice in the matter as we were too poor for private schools and homeschooling isn't a thing where I come from.

comment 2y ago · link · parent

Something you should consider is that plenty of people are simply not registered and take money under the table because it is beneficial to them.

comment 2y ago · link · parent

Length of proof perhaps?

comment 2y ago · link · parent

Building onto this comment; Terrence Tao, the famous mathematician and big proponent of computer aided theorem proving believes ML will open new avenues in the realm of theorem provers.

comment 2y ago · link · parent

How does MoE choose an expert?

From the outside and if we squint a bit; this looks a lot like an inverted attention mechanism where the token attends to the experts.

comment 2y ago · link · parent

They = LLMs.

As I’ve interpreted it, they mean that LLMs and similar tech isn’t particularly helpful to theorem provers at the moment.

1
101112
97