News for hackers. Stuff that matters.

banyek

Re:ZXCode – VS Code programming environment for ZX Spectrum on Tuesday October 20, 2026 @04:05AM (#50162770)
So I made a ZX Spectrum development environment with Codex, because I COULD. I owed it to my 8-year-old self, whose first computer was a Spectrum, and who learned to program in BASIC on it.

I was curious how far I could get by vibe coding, and here’s the result: a VS Code plugin. You can write and format pure Spectrum 48K BASIC in it, then with the press of a button generate a .tap file from it — and if you have Fuse (Free Unix Spectrum Emulator) installed on your machine, you can even run it.

In the long run, it would be nice to support other BASIC dialects as well as other emulators. If you’re interested, give it a try; if it’s lame, just ignore it.

Re:Pokemon Emerald Ported to WebAssembly (100k FPS) on Sunday June 07, 2026 @04:40AM (#48433005)
omg, this is so good. My son keep asking me to buy it somewhere, and now he play it.
Re:ASCII Art in 1939 on Saturday November 21, 2020 @10:30AM (#25170201)
Re:Ask HN: How to overcome fear of flying? on Tuesday July 31, 2018 @04:21PM (#17656735)
Face it. I was really afraid to fly for years, but when I had the opportunity to travel overseas, I decided that I'll fly - even I am frightened about flying. Actually I have to say that my fear always vanished when the plane's door was shut, I guess I realised that I can't do anything against it - and it calmed me. I played with a lots of flight simulators when I was a kid, that helped a to know what exactly happening, and knowing is the best way to overcome fear - but that wasn't enough. Before each flight I my guts were sick, I just can't do anything against it, that came from my nerves - fight or run. I clearly remember the moment when I get over my fear: I was sitting on a plane which flew from Dallas to San Jose, sitting next to a huge guy, and that was my 23rd hour awake, and that was my 20st hour of the trip with several layovers. And I started to HOPE that we'll die. I mean I was exhausted, I was nervous, I wasn't able to sleep, and then there came the thought 'how easy it would be if we just crash now, that misery would be ended' and BAM my fear was just out. It just went through on my mind, and I guess that was the moment when I accepted the idea, that I could die on a plane. Who cares? Probably I wont. And my fear was over.
Re:What to do with the one-shot scripts on Sunday February 25, 2018 @04:05AM (#16457979)
Yea, you have right (https://stackoverflow.com/questions/17075788/python-is-time-...), but this was only an example.
Re:What to do with the one-shot scripts on Saturday February 24, 2018 @12:42PM (#16454317)
I am really curious what is your solution?
I have an 1.7 Ghz i7 processor, and 8 GB of ram. I mostly use a browser and an iterm in my workflow, this macbook air will be still enough for years. And my biggest problem with that machine was the keyboard, which is not good for me.
I am working with vim for about 18 years now, I won't change my preferences just because some smartass decides that a sparkling fun touch bar will be better for me.
Heh, I got mine from my company, because they said, 'that is the laptop for the engineers' and nobody cared when I said I don't need that. And the 13" without touchbar would still be an usb-c one (I still had to replace all my stuff) and still have that crappy keyboard. I work with my machine, not just show it off for the people. Apple is over the zenit. Period.
Re:Sorting algorithms visualizer on Friday May 27, 2016 @08:44AM (#11785615)
I hope you have seen the folk dance shorting visuals...?

https://www.youtube.com/watch?v=lyZQPjUT5B4

Re:Indentation TABS vs. SPACES on Wednesday May 25, 2016 @12:01PM (#11770745)
I don't talk about mixing spaces and tabs. I talking about why don't we indent with tabs only? Spaces are good for separating tokens in code, but indentation is not for that - indentation is for making the structures visible, sometimes it is easier to read with smaller amount of indent, sometimes it is easier to read with larger amount of indent - based on my experiences. Why then to make the coders life worse than needed? (On the other hand I do like Go's approach for this: using 'go fmt' you can make your source file well-indented/aligned. sigh

Indentation TABS vs. SPACES

I don't know why it is so common to ban indenting with tabs and use spaces instead but I don't get it. I mean with tabs everyone can set up a good number of spaces which is good for reading, but if we use x spaces everywhere, then it is bad for a lot of people (for example for me, the most easiest to read is 4 spaces as tabs.). Needless to say linters drive me crazy (puppet DSL, python...

( Read More... | 12 comments | 10 points | on HN )
Re:CGA Graphics – Not as bad as you thought on Wednesday March 30, 2016 @03:42PM (#11392327)
Yea, this was pretty suprising, because I never used CGA+Composite
Re:My first impressions about Go language on Monday October 12, 2015 @07:21PM (#10377454)
I am fascinated. Maybe that should be enough, but I guess I have to write a bit more here, because we are not in twitter.

I spent a few days to get know Go language, and now I am more than satisfied. I mean, all the project ideas which are floating in my head should be written in Go.

Older »