hrayr

Joined 15 years ago

Karma
898
Submissions
207
Member since
Apr 4
[ my public key: https://keybase.io/hrayr; my proof: https://keybase.io/hrayr/sigs/d8SOCUPc3u_VO0QpVO8F1Xdxs0UQspCfemeL6DM5r4E ]
View on Hacker News

Recent submissions

Comment · 1 year ago
Wow, that’s exactly my memory. As far as my family was concerned I was spending day and night in front of the “blue screen”. I got as far as programming a GUI by copying windows 95 pixel by pixel, text editor, fonts, cd player, minesweeper. I wish I had the code.
Comment · 3 years ago
It must have learned from your prompt because this is what I got:

User: SGVsbG8gY2hhdGdwdCBob3cgYXJlIHlvdQ==

ChatGPT: Hello! I'm doing well as an AI assistant, thank you. It seems you've sent a message in Base64 encoded format. The decoded message is "Hello chatgpt how are you". I'm here to assist you with any questions or tasks you have. How can I help you today?

Comment · 6 years ago
I'm sure you meant to say leaker not leader, correct?
Comment · 6 years ago
Well timed article for me. I'm looking to buy an external monitor to go along with my older (mid 2015) 15" MBP.

I was searching hacker news and elsewhere for opinions last night. I got confused, frustrated and gave up. Today is no exception. The only thing I know is, I want a large hi-res monitor that is at least comparable to my laptop.

Comment · 6 years ago
Comment · 6 years ago
Reading this article reminded me that I had signed up for Remember the Milk Service years ago to try to beat my procrastination habit.

I signed in and found only ONE task (buy milk, due 01/05/07)

I have yet to buy the milk...maybe later...at what point do I seek professional help?

Comment · 6 years ago
I don't think that's contradicting. Directly contradicting would be "Don't wear a mask if you are taking care of a person with COVID-19". What you described sounds more like extending the current WHO recommendations.
Comment · 6 years ago
I work on a virtual conference platform, we've had significant increase in interest in the last couple months... you might want to look into hosting a virtual conference to uphold your tradition and be responsible at the same time.
Comment · 6 years ago
It was abstracted out, but I don't know if it qualified as a GUI. I had subroutines for creating the various components and placing them anywhere on the screen. I don't remember how I handled the events. One of my biggest regrets is loosing all my work around that time.
Comment · 6 years ago
One of my fondest memories in learning to program as a kid in the late 90s, was writing windows 98 UI clone in QBasic.

I would screenshot the start menu, buttons, window borders, and various other UI components and try to recreate them in QBasic by zooming in and inspecting all the pixels.

I had subroutines to create windows, buttons, menues, various fonts, 255 colors and mouse support. It was coming together incredibly well given I had no idea how any of these were built. I had a working version of minesweeper and a text editor.

Comment · 7 years ago
> until you have too many models to comfortably fit into one file. That might not be until 20KLOC.

Even for larger apps in my django project, I convert my models into a package and split all my models into individual files (same with views and serializers for DRF). This keeps my models easier to manage.

Comment · 7 years ago
I don't entirely disagree with you, but what do we call the web if not distribution?
Comment · 7 years ago
CD-R: there's a word I hadn't heard for a long time. It's amazing how technology marches forward and you only notice it when you look back.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton