Better HN
topnewbestaskshowjobs
Log inSign up

MichaelRo

851 karma · joined Mar 4, 2023 (3y ago) · 477 submissions

Submissions

comment 1w ago · link · parent

Went the way of the dinosaurs. I learned about pointers and memory on Hi-Soft Pascal on a ZX Spectrum from this book: https://www.okazii.ro/limbajul-pascal-corina-corici-dorin-ma...

Here's a page from the book I was reading in 1993: https://imgur.com/a/7UWdGgS

For reference, ZX-Spectrum has 48Kb of RAM out of which 8Kb is video memory, so unusable.

Then you have to load the Pascal compiler into the remaining 40k of RAM. Allocate some RAM for stack and environment variables for the editor where you write your program, plus space for the actual program. Then compile your program into the same 40k of space. And run it, using heap and stack memory from which memory space? You guessed right, same 40k.

To recap, on 40k of RAM you had back then:

- The Pascal compiler

- The Pascal source code in text form

- The Pascal executable form in machine code

- The Pascal data/memory. Of which, recently in a "tech demo" of automated tests, one colleague said "unfortunately we only have a very limited amount of RAM to be able to do basically anything [that's why the product is a mess with no tests]. Only 32Gb per [virtual] machine".

One of my first programs was a Tetris clone, because ZX-Spectrum BASIC was slow as molasses. All on top of only having tape for storage so if I fucked up a pointer (I don't think Pascal had the concept of access violation back then but I sure discovered it on my own skin), it would take 5 minutes to load the Pascal compiler + some backup copy of my Tetris game, hopefully not from a month ago and hopefully I remember what I changed. Lots to discover and have "fun" with.

About a year later I did find a compiler for BASIC and it turned the unplayable BASIC code for Tetris I wrote in the 9th grade into a totally playable Tetris game, without the need to learn another language and paradigm (pointers!) but the damage was done. Ignoring a year of databases, in 12th grade of high school computer science class (elite class, found there basically all the Math olympics I was competing with in gymnasium), I got introduced to C and from then on, here I am, 30 years later, doing C++ in finance for an S&P 500 company.

comment 1w ago · link · parent

>> In Spain tons of people bought either NES Chinese clones (even in the early PSX era in ~1997) because they were dirt cheap.

I'll let you know a secret. I bought my console in 1997! :)

1997 was maybe the year of peak hyperinflation in Romania, I've checked my parent's paychecks from the period and while both of them were employed in white collar (better paying) jobs, both their income converted in today's money didn't make $200. Not euro, dollars, although recently that seems to catch in parity. A monthly income for salaried parents of €150, taking care besides them and the household of me and my two brothers, so a family of 5. Therefore "dirt cheap" didn't apply here and I guess, I was fortunate for being to afford even such a console.

On a side note, around that period, my younger brother went with a school exchange in Austria. Thought of a lunch at Mcdonald's as the most luxurious thing one could experience. Today I'm paying some €10 for such a lunch and don't think about it but imagine you'd be paying 6.67% of your net income for a lunch (how much it cost relative to my parent's income in 1997). That'd be €267 in today's money for me, fuck, I ain't going even to a restaurant and paying that, I'm not a millionaire!

comment 1w ago · link · parent

99.98% these were Dendy consoles. Forall I know, these consoles arrived here by Russian way, we even called the market where you could buy these things "the Russians", even though in practice they were Moldovans ( https://en.wikipedia.org/wiki/Moldova ).

I still have my Terminator2 console at home but doesn't power up anymore, otherwise it could fetch some 150 EUR on the flea market: https://www.olx.ro/d/oferta/consola-retro-terminator-2-endin...

But I'm not that attached to it, I bought myself a new Nintendo 8-bit NES clone and a Sega 16-bit Megadrive from Aliexpress along with cartridges which contain hundreds of games, so I'm settled.

The Sega Megadrive console from Aliexpress scratches an itch dating back to the 90s. At the time, in the "Russian" flea market there was a strange exhibit of a console which looked 100% as a Sega Megadrive, it looked like this: https://i.ebayimg.com/images/g/gl4AAOSwqh5h8div/s-l1200.jpg

But worryingly, the "Russians" were telling us that it works with yellow Famicom cartridges. And there were no other cartridges for sale anyway, so no way to verify if it's some unholy bastard between NES and Sega. It cost double or triple of a regular Terminator2 and given that also cost a fortune at the time respective to my allowance money, I could only dream about buying it.

Found a few over the years on the Romanian olx ( https://www.olx.ro ) site but wasn't that curious, they are 100% pure Famicom in a Sega package (a sheep in a wolf's skin). I bought a true Sega clone from Aliexpress and the cartridge is different and the games are in another league compared to 8-bit. If I had that in the 90s, I'd have been the king of the village. We had a Street Fighter arcade in the village pub and the kids would crowd themselves along drunks to wonder at the spectacle when someone felt rich enough to pay for 2 minutes of entertainment.

comment 1w ago · link · parent

Nice games. Wish I would have found those back in the day but no such luck.

Back in the 90's, NES clones were all the rage in Eastern Europe:

With ludicrous names like "Gold Leopard King" https://www.reddit.com/r/crappyoffbrands/comments/1ekwzx5/go...

Or mimicking a Sega Genesis package and console look, this is the one that was most popular in Romania and I had one too : https://gadget.ro/wp-content/uploads/2014/04/terminator2.jpg

There's still a ton of old cartridges for it on sale on the flea market: https://www.olx.ro/d/oferta/jocuri-clona-nes-dischete-casete...

Back in the 90's, buying such a cartridge was a big decision, since a single one would cost the allowance for several months. And with no Internet and YouTube to run a search for "Haunted Haloween 85 NES", the only criteria for evaluating such a game in the physical flea market was the poster on the cartridge. Which, unlike the OPs which at least seem to pose a resemblance to the actual game, it had almost nothing to do with how the game will look.

Consequently I almost never got the good games and was utter disappointed after trying them. Fortunately there were neighbors who also bought and we exchanged cartridges, and so I found the best game I ever remember playing on such a console, Mighty Final Fight: https://www.youtube.com/watch?v=hoUPvwCcUo8

comment 1w ago · link · parent

>> I have a bunch of little utilities like that that work the way I want to work - a pomodoro timer, a task management app, a password manager. Right now, it's mostly tech people who are doing stuff like this, but I don't actually think these hyper personal apps require all that much technical skill to make, especially when they just run locally, so I could imagine a world where all sorts of people make things for themselves using prompts.

I'm baffled at the utter stupidity of people making such extrapolations. Sure, everyone and their cat will start to vibe code themselves pomodoro timers and task managers. The hobos living under bridges are in desperate need of pomodoro timers and custom vibe coded apps to manage their tasks.

Pomodoro timers and task managers are sure worth a trillion quadrillion dollars because everyone needs, wants, and will AI-vibecode them.

comment 1w ago · link · parent

>> If he's waiting around, he should give it bigger chunks of work or work on multiple projects in parallel. Give it larger prompt and go for a walk.

The level of stupidity of this statement is unbelievable.

comment 2w ago · link · parent

"didn't even look at it" is a giveaway of the OP being a liability on top of a boaster and the company who employs him deserves to go out in flames

Wonder if he tells his boss to "I pushed critical code to production without even taking a look at it" or is it just for show on HN

comment 3w ago · link · parent

Yeah. My father, born in 1940, was an agricultural engineer in a state farm throughout the communist period in Romania. He was born in a mountain village in the Carpathians and told me when he was a kid, the wheat they grew was tall, a man's height, far taller than the varieties they adopted for intensive farming. Also told me the yield was much lower, although the "mountain wheat" was more resistant to disease and weather conditions.

Generally, the yield of old wheat varieties was nothing compared to modern versions, required to feed today's population.

comment 1mo ago · link · parent

Glad I'm not alone.

comment 1mo ago · link · parent

>> It got dominated by brogrammers who judged you by whether you used vim or not, teams of 20 people producing the same output as a team of two, designers doing mockups for absolutely everything and trying to boss the programmers, product managers making mountains of useless documents for everything and trying to boss the programmers, some rando had Scrummaster certification (who doesn't) and wanted to boss the programmers.

That's because word got out that the field pays well but most people who had the sociopath desire to make a lot of money didn't also have the skill to get a programmer job. So they did what they always do: attach themselves to a living host and leech it's blood. In a pond of IT field water, for every fish (programmer) there were at least 20 leeches (project managers, product managers, scrum masters, designers, architects, you name it).

I thought several times why I chose to be a fish and not a leech and the answer was not that it's the moral thing to do or that I'm not that bothered as long as they let me with a little blood left. Rather pragmatically that it seemed safer being able to find and make my own food than rely on finding and sucking out the blood of someone who does it already.

For 20+ years they added more and more blood sucking parasites to the poor fish and now, finally, they eliminate the fish altogether. Fine!

I'm just curious where will all the leeches go. What they'll suck on from now on. Can you suck the blood from an AI agent? The future looks exciting if only to see how the parasites adapt (or die).

comment 1mo ago · link · parent

I don't know who the writer is, but I like this part: "It feels a little like that moment before the tsunami in 2004. Remember how, in Thailand and Indonesia, the ocean drew back from the coastline? People ran out to marvel at the miles of pristine new beach that suddenly emerged, not realising that, far out at sea, a wall of water was building up and would come crashing over them. We’re in that moment now. A towering wall of stupidity is about to inundate us."

comment 1mo ago · link · parent

>> Yes exactly. We have been intermingling since before humans existed. There is no one true people who can claim to own any land because of their race.

Noone owns their land because of their race but because they can defend it. The moment you can't defend it anymore, you're conquered and driven out. And conquering is attempted either naively by armed conflict like Russia in Ukraine or insidious like migrants in EU. My bet is that the first will fail and the second will succeed.

Not least because of defeatists like you!

comment 1mo ago · link · parent

>> There are LLM optimists and LLM pessimists.

And then there are LLM realists ( Read realpolitik: https://en.wikipedia.org/wiki/Henry_Kissinger ).

I hate LLMs to the bone and am a master at "people not using the technology can change their behavior to neutralize the impact of the technology". Coupled with an 150+ IQ, I can tell you this technology won't go away. Cynically and pragmatically I use and will use it to the maximum extent of enslaving and eliminating the drone of drones who worship it. Go ahead, replace your mediocrity and lack of critical thinking with something that surely won't spit you out in a ditch a few years from now!

comment 1mo ago · link · parent

>> practically nobody writes code by hand anymore, working with 5-10 agents more common

What bubble are these people living in?

comment 1mo ago · link · parent

>> Accept ‘bad things’ in return for benefits of AI

Morții mătii the ones who downvote. I guess ‘bad things’ for you is an abstract concept rather than a Lubianka cell that can happen to your sorry ass.

comment 1mo ago · link · parent

>> Accept ‘bad things’ in return for benefits of AI, says Sam Altman.

I'll revert to vernacular Latin.

Futu-ți Dumnezeii mătii! So "let them eat cake!" you say.

Anafura, Cristoșii, Biserica, Dumnezeii (și) Evanghelia! (ABCDE!)

comment 1mo ago · link · parent

And heading straight for Idiocracy, both in terms of dollar value and average worth of human IQ post-AI era: https://www.imdb.com/title/tt0387808/

Not only Star Trek were visionaries!

Today's AI is a lot closer to how dumb me was imagining computers back in 1985, when I had my first interaction with a Romanian clone of ZX-Spectrum in the school's newly equipped computer science laboratory: https://retroit.ro/wp-content/uploads/2019/12/IMG-20200707-2...

Must say, I was quite afraid to even press the keys at the time! My brothers, many years later, had an epiphany on why that was. You see, I was a countryside boy. I grew in a world where becoming a tractor driver was a sought of career. Thing is, a tractor is a mechanical contraption. And you know what mechanical contraptions have in common? You can't just pull levers and push pedals at random without knowing what you're doing and expect the thing to work, au contraire! You'll break the expensive damn thing.

So my first interaction with the KEYBOARD of the Home Computer '85 was overly gentle - which probably helped because they were shit.

But beyond that, nobody told me what computers are good for and I could only imagine they could help me solve the numerous math problems that were left as "exercise" in the textbooks that gave two helpful examples "1+1 = 2" and "1-1=0" and then posted the problem without the answer: "now prove the Fermat theorem!"

Fuck math and fuck the educational system! The only purpose of those textbooks, just like AI, is to provide me with WORKING examples from which I can LEARN. That's the whole point of living, learning to solve increasingly harder things so eventually YOU can be the frontier. And no AI will take that from me, they are just glorified textbooks.

comment 1mo ago · link · parent

>> People somehow forget how the Turing test was considered the definitive way of showing something to be "human-level consciousness".

People somehow forget that the original Turing Test was designed to compare two participants chatting through a text-only interface: one AI and one human. The goal was to spot the imposter. Today, the test is simplified from three participants to just two: a human and an LLM. This changes the test from a comparison to a judgment.

Stop spreading misinformation and partial truths!

comment 1mo ago · link · parent

>> How are you preparing your children for an AI-powered world?

Gently introduce them to the realization that death is inevitable.

comment 1mo ago · link · parent

>> They then charge you $1000 for that 10 seconds of work. Given that I have felt ripped off by many lawyers, I’m totally fine with that industry getting disrupted.

Ahh, the salaryman lament against contract workers (plumbers, car mechanics, lawyers etc): he makes $25/hour, why don't they charge similar or less?

Because unlike you, who get a steady stream of money even if only sitting on your ass, these people only make a living if someone calls them and asks a job done. If lawyers would charge per effective time spent as much as you would deem negligible on your side, they'd have to work a construction worker job to make a living and do lawyering on the side./

comment 1mo ago · link · parent

>> The original Turing Test was designed to compare two participants chatting through a text-only interface: one AI and one human. The goal was to spot the imposter. Today, the test is simplified from three participants to just two: a human and an LLM. This changes the test from a comparison to a judgment.

Didn't know that. Good to know.

comment 2mo ago · link · parent

That seems nice. I'm not sure why some guy says on a different comment "People think TX is some libertarian utopia because it has no personal income tax on a W2 salaried person, but do the full cost of living comparison with property taxes and other taxes, vs what you would calculate as a total in states that do have income taxes (such as OR).".

For reference, I pay about 0.1% property tax (live in Romania), while income tax is about 43%. For $100 I make, I get to take home $57, forget all the "you're only paying part of tax, employer pays another. No, I pay everything because without me there's no income, I can't believe some people still fall for "Out of $100 I take home $1 but I live in a tax paradise because I only pay 1% tax although company pays 98%. But that's the company, not me".

So while the level of income tax is definitely nothing I'm happy about, at least once I draw a net salary, it stays on me. At least I don't have to rent my own apartment from the state after I already paid an arm and a leg to the bank for it in real estate mortgage. Same goes for land and I mean arable land, of which I own some 10 hectares (well shared with my 2 brothers). Not only I'm not losing money on it, I actually get subventions for cultivating it (again, outsourced, I'm not working it myself but lending it to someone who does it, while the terrain retains / increases in value - never in the history of humanity has arable land in a viable area decreased in value over time).

"A 10-hectare (about 24.7 acres) piece of land in Texas typically costs between $40,000 and $430,000, depending heavily on the location and region." says Google AI. Well, where I live it's around $100k. At least I wouldn't sell it for less, not that I would sell it. If I sell it, I have money for a day then inflation and bad investment makes it disappear. Not to mention that it's a highly asymmetric market: I can sell the land in no time but even if I have money, A LOT OF MONEY, people won't sell. Maybe for 3x-5x the market value, some might be tempted. Which suddenly raises my non-liquidation value of the land to about how much it values in Texas.

comment 2mo ago · link · parent

This is the part that struck me: "According to the local government’s property records, the building was worth $1.6 million for tax purposes. The tax liability on the property was $46,000 a year."

Do I read this right that the owner of that building would be owing 2.875% tax per year on the market value of the building?

Because that would be in line with what I hear about US property tax and seems insane to me. At that rate you're not owning anything, you're renting. At that rate that's not the land of the free, that's a lifetime of indentured servitude.

comment 2mo ago · link · parent

Main problem was using a corporate card. I don't even know what that is, the concept just doesn't exist here.

Second problem was using a credit card. I know what that is but definitely don't have one, nor has anyone I know around me. Debit card only. You have money, you pay. Don't have money, tough luck. Learn to save.

comment 2mo ago · link · parent

>> "About a year ago I became fascinated by AI-assisted programming. Despite having no formal CS background, with LLMs I managed to build a fairly large TypeScript/JavaScript system [...] At first it felt almost magical: [...]

It's comical how these people claim first person: "I built". Look: having a LLM shit you some code is in no way different than paying some third world country dude on Upwork 5 bucks to build you "a Facebook clone" or whatever preposterous claim of grand software. In fact at this point it's cheaper to pay that third world country team than a LLM.

And yet before the advent of LLMs noone ordering a job on Upwork was delusional enough to claim "I built it". Although it's the same magical process, like the magic ring in fairy stories. You put the ring on your finger, rotate it and make a wish and the ring makes it appear. Well, for 5 bucks or something.

But nowadays every half witted retard with 50 bucks to spend goes to a LLM and has some "Facebook clone" spitted out and claims "I BUILT THIS!". You haven't built shit, and you know nothing!

Fortunately, reality strikes sooner or later but boy am I tired of Lord of The rings claims.

comment 2mo ago · link · parent

I stopped reading at "vibe-coded".

comment 2mo ago · link · parent

On ZX-Spectrum? There was no "MIC" input on ZX-Spectrum, not that I know of. I was in high school at the time with only a rough understanding of the hardware but it was kinda obvious to me that whatever I plugged into the casette input port was only read as "0" or "1" by the IN <port> (forgot which) instruction. So not really possible to record voice at the time (didn't even know of PCM anyway), but I tried to decode Morse transmissions from radio. Never got anywhere with the software but my ear got good enough at some point that I could decode them myself by hearing :)

comment 2mo ago · link · parent

I gotta try this on real hardware, reading the original article it seems it's barely audible without an amplifier, unlike on an emulator.

Will post an update after I get back to my parent's home, where I have these beauties that launched me into computer science: https://imgur.com/a/GKrA0vX

12345
16