Better HN
topnewbestaskshowjobs
Log inSign up

vkazanov

1,863 karma · joined Aug 18, 2015 (11y ago) · 758 submissions

Submissions

comment 3d ago · link · parent

There are very, very few problems at AoC that go beyond the top 10 algos from your textbook an algos and data structures.

Using python already simplifies solutions through an endless stdlib .

Sometimes, in later days, it makes sense to recogise things unsolveable by default tools and go for, say, smt solvers.

Point being, it is not too bad.

comment 2w ago · link · parent

Valve invested a lot into everything Linux. I've been following their kernel, libsdl, overall ecosystem contributions for a decade.

idsoftware did things as well, and I was always a fan of Carmack's vision, but the scale of effort just pales in comparison to what Valve pulled out.

comment 2w ago · link · parent

And? Does it matter, practically speaking?

Given that the outcome is the same: the code runs in a seamless manner, and people don't have to suffer through whatever closed-source OS vendor pushes onto them? Steam Deck sales speak for themselves, and the overall ecosystem benefits from it massively.

I mean, I barely remember the last time I deployed code into a non-virtualized environment. Binary translation, virtual machines, just-in-time recompilation - all fine with me as long as it works well.

Or, if we speak about games. Some early games made it supereasy to port games and game logic because of using a vm behind the scenes (Another World and Quake 1). Who cares?

Emulation and API translation makes running vintage titles trivial on Linux, and I don't remember my daugther complaining about this, ever. My collegue from sales plays his brutal soulslike on Steam Deck, and he doesn't really know what Linux is.

comment 2w ago · link · parent

Have you used Proton? It is not just an emulator, it is a full Windows API written for linux. And the amount of games that just work is huge. I know you know it.

Also, steam deck became a popular platform studios do optimize for.

I play on my laptop, desktop, the deck, my tv. My kid plays on the deck.

For all practical intents and purposes this IS gaming on linux.

comment 1mo ago · link · parent

Notable, true.

But i dont think the outcome is comarable to the TITANIC amount of investment s Valve have been doing in the last 15 years or so.

comment 1mo ago · link · parent

The article doesnt read like slop. And this is a very clear sentence to anybody who knows any amount of parser theory.

"Production rules" are rules in grammar descriptions for tools like yacc. "Semantic actions" correspond to pieces of code/logic executed whenever a given rule is fully parsed from input.

comment 1mo ago · link · parent

I know idsoftware ported their key 3-4 titles to linux back in the glory days.

What else did they do?

comment 1mo ago · link · parent

You are just too tired this morning (hit with tires)

comment 1mo ago · link · parent

I know i am pedantic, sorry.

The engine was more like a hybrid 2d/3d. Units were 3d, everything else brilliantly faked.

I mean, i played it on really weak machine (high end 486 or a cheap pentium), and it worked like charm, no gpu involved.

comment 2mo ago · link · parent

Interesting is one way of saying this...

I will never recover from debugging ZODB backed by Oracle. Well, somewhat backed.

Who, like, who thought it was cool to have a pickle-based, mostly in-memory, single process, aaalmost transactional database?!

comment 2mo ago · link · parent

Ha! People still remember Zope!

That was my first web kind of framework. The naivette of Zope still amuses me endlessly to this very day.

It tried to be cool, made ALL the wrong choices, and died silently with people just moving on.

comment 2mo ago · link · parent

I grew up in a little post soviet republic, in a small town with a big nuclear power plant.

Coincidently, that's where my father was working as a programmer until the shutdown of the plant.

Anyways, he was maintaining a bunch of systems related to collecting data from environment monitoring sensors around the plant. In mid 2000s or so he showed me some data collecting machines using what looked like DOS text UI that mentioned being written in Leningrad, 1989 or 1988.

The software was running in an emulator on Linux, which my father used to replace original x86-compatible machines runninh dos.

Pretty sure thr whole thing was running for quite a while since my family moved elsewhere.

comment 2mo ago · link · parent

Well...

Around 1998-2000 my dad made a little business out of setting up linux servers on commodity hardware in my hometown. Primitive social networks, LAN provider servers, mail servers all worked just fine. Not without some involved convincing, and tinkering, and kernel patching but they did work.

One or two of the companies later became regional champions, running 100s of linux/x86/dell machines.

None of them would be able to afford a proper Sun server. Sun would never bother itself with these original tiny contracts.

It dont think Sun even stood a chance in this game. They couldnt even realize this happening!

comment 2mo ago · link · parent

By the promise of it, llms should be able to both adhere to grammars, or go free form where necessary. I mean, doing math is supposed to be strict but in practice it's a somewhat educated random walk in the space of correct lean theorems.

Harnesses do correct things, sure.

comment 2mo ago · link · parent

Public transit is not "100 years back". London, uk is not exactly backwards looking in that sense, and the vast majority of people use trains/metto to go to work.

I walk 10k steps a day on a normal day, only drive when necessary to go out of my normal routes. This has an added benefit of keeping me, an aging programmer, in shape (as well as other relevant activities).

Nothing dramatic about it at all.

comment 2mo ago · link · parent

Yeah! Same for finland, the baltic states, or poland, or russia, or any country really where there is any kind of serious winter happening.

comment 2mo ago · link · parent

Reality should never stand in thr way of a good export-oriented myth :-)

comment 2mo ago · link · parent

Most of the west outside of the US takes shoes off or swaps 'em for indoor shoes.

comment 2mo ago · link · parent

Is this how most of the world operates? :-)

comment 2mo ago · link · parent

People in the west tend to overthink spirituality.

Having been to houses/flats across all of eurasia, uk to hong kong, vietnam to lithuania, the majority prefers taking shoes when entering a house, but can be as practical as necessary when the need arises.

comment 3mo ago · link · parent

It will make you stronger period.

There are side effects, problems, long-term consequences...

But testosteron blood levels absolutely do regulate muscle growth.

comment 3mo ago · link · parent

Or maybe we shouldnt call anything "science" until it assumes replication of foundational results.

Physics solved this quite some time ago.

comment 3mo ago · link · parent

Sure, a careful spec is always great.

In xml's they clearly overdid it. all the formats/substandards you listed... there is just not a single library that supports all of the standard.

And because implementations are so different, most users just stick to a single C library. That library, btw, is also incomplete and undermaintained.

So that's the problem with complex standards: they are hard to implement and support. Nobody does this, unless it is a business-critical matter.

comment 3mo ago · link · parent

Yes, true, there is this legendary subset... but parsing even a sane subset of the spec is a nightmare for all parties involved.

comment 3mo ago · link · parent

Yaml streams are just yaml docs separated by "---" withing a single file.

The json spec just doesnt do anything like that but jsonl does.

comment 3mo ago · link · parent

There numerous problems with YAML. It is underdefined, ambiguous, fragile, and is just impossible to write a portable parser for.

JSON is naive, lacks almost everything. But is supereasy to parse and read.

As funny as it sounds, XML is overspecified. Parsing is possible and predictable but supporting the full standard (all of them) is so much work that nobody does it anyway.

So, given the choice above, i'd go for naive simplicity.

comment 3mo ago · link · parent

> random chinese company

Oh i have soooo many news for you!

comment 3mo ago · link · parent

Heh... i wish i'd go for anything other than boxing 20 years ago.

Anyways, yes, weightlifting + something active (tennis, football, etc) is the way to go.

But weightlifting first. It is the only hralth-related hobby that teaches honest body control: muscle, gaining/losing weight, dieting basics, monitoring key body parameters over time.

comment 3mo ago · link · parent

Or the reason is that something is just unfeasible with the existing architecture, or the reason is that building this would break important technical assumptions... All kinds of things.

comment 3mo ago · link · parent

Its the oldest metro in the world. An achieviement, yes, but in old stations ventillation is crap, materials are poisonous, etc.
12345
26