HNHacker News
TopNewBestAskShowJobs

nomemory

1,333 karma · joined December 31, 2016

www.andreinc.net
submissionscomments
nomemory··on The Hare programming language
Guess is not the language for me. I am not going to switch to a Linux Desktop to be able to use a general purpose programming language.
nomemory··on The Hare programming language
Yes, Rust is quite posh nowadays.

Just like Scala and F# a decade ago.

Or like ruby 15 years ago, or like Java in the 90s.

nomemory··on Ask HN: What are you using for a RSS Reader?
I am using Feeder (downloaded it from Fdroid). Nothing fancy, gets job done.
nomemory··on A cautionary tale from the decline of SourceForge
As an Eastern European I don't understand what's wrong with Eastern European forums.
nomemory··on A blog that is a single executable binary
You are not executing data. You are just wrapping it up in your binary and "force it" in memory. Video games used to this in the old times. I remember Deltaforce exe to be tens of megs. Is this a good approach ? Probably not for a bigger site, but it can theoretically work for a small blog that is mostly text. Is C the right language to do this ? It sure is a little bit masochistics to work with c strings.

In the end of the article I've told this should be taken lightly, as an exercise in minimalism and a joke.

nomemory··on Ask HN: What technologies have come and gone in your lifetime
Teletext. When I was a kid, there were TV channels with hundreds of pages having news, horoscopes, articles, even erotic adverts.
nomemory··on A blog that is a single executable binary
I didn't get the last part. What's wrong with the article ?
nomemory··on A blog that is a single executable binary
Thank you for posting my article. It surprised me to see it here.
nomemory··on Elden Ring Has Outlasted Its Critics, and So Will Bitcoin
The world deserves better than Bitcoin.
nomemory··on Back to India
Why do you think he is not capable of showing empathy to the people different than him.
nomemory··on Ask HN: Why Blog at All?
My friends called this disease tutorialitis. It's when people explain "for loops" and hope to sell some adds or course on something that is virtually free nowadays. The influencer culture leaks into our programming world.
nomemory··on Ask HN: Why Blog at All?
I blog from time to time, a few articles a year, and I don't care how many visitors I have.

When I am curious about something, I read as much materials as I can, and I use the blog as a tool to document my findings and put my thoughts in order. It's rather a last test for me to see if I can make sense, and an opportunity to practice my English.

3 of my articles so far went to this front-page and it was a nice feeling of appreciation. But that's not the point of blogging, internet points don't matter.

nomemory··on Golang CSV parser – dependency free
How is this row parsed:

> "Mary", "Smith", 10, Test, "Some long string with, comma" ?

nomemory··on Ask HN: Do you believe in GNU's Free Software?
That's unfortunate... and I recognize myself in the programmer you've mentioned. I've written software that i am not proud of ... from an ethical perspective. In the last months I've become a little bit more concerned of the things I am building.
nomemory··on In defense of simple architectures
Some people don't even realise how much traffic a simple web app with server side rendering (decently written), hosted on an average dedicated server can hold... They dont need cloud, autoscaling, microservices, kafka, event driven architectures, etc.

We've lost our way in the masked marketing the cloud providers are creating to help us solve problems we will never encounter, unless we are building the next Netflix or Facebook.

nomemory··on Ask HN: Do you believe in GNU's Free Software?
I believe that Stallman is correct in most of what he says. When he started his movements the threats were lower than there are now. But looking at the current state of the industry things are scarier than I ever imagined to be 10 years ago. People cannot even imagine how much data is collected from them each day. And the simplest way to collect data is to sell people phones, and make them install apps instead of letting them use the site (with potential ad blockers).

I've made some experiments on my phones (bot Android and IOS), and you would surprise how many of the apps are "calling home". Because those apps are closed source, God knows what information they are sending back to their servers.

nomemory··on Mariupol computer retro museum has been destroyed
This is unfortunate, but, let's be honest it pales in comparison to the tragedy of the people living there.
nomemory··on A statically typed scripting language that transpiles to Posix sh
Back in the day i had a similar idea, and i even started implementing it, but never had the resilience to finish. It waa too difficult for me at that time (probably even now). I am glad that finally someone had the courage to do it.
nomemory··on Ask HN: Any weird tips for weight loss?
I've lost 20kg in 1 year and a half just by eating less and walking more.

When I was hungry I was taking an apple instead of eating biscuits.

nomemory··on How to make (almost) anything (2020)
If i am allowed to joke, I was expecting to read an article on Rust.
nomemory··on What gambling firms don’t want you to know – and how they keep you hooked
For a short period of time, I've worked for a company that was writing software for Slot Machines. The mathematics was quite interesting, but somehow my morality compass kicked in,and I've decided to quit after 6 months. I couldn't do it.
nomemory··on “We removed the RSS feed since this technology became obsolete”
This hurts.

RSS is the only way I know, without having to scrap things by hand, to get an aggregate of "news/articles" from the sites and blogs I follow, and I consider to be of good quality.

I prefer to filter my information like this, instead of having to rely on some algorithm, or endlessly scrolling in a "social medial wall" full or clickbait articles, immortal/vintage memes or exuberant rants.

If RSS dies, what is the alternative then? I understand that technically speaking it's not a good solution, but let's have something else before killing this.

PS: I've clicked on this link from a RSS reader (just a simple browser extension... that keeps me posted every morning).

nomemory··on Ask HN: I'm looking for a good book on the fundamentals of CS
I had a good relantionship with Segdewick's books, before being turned off by Cormen a few times. They are less math focused, and overall have a beginner friendliness to them. They won't take you by the hand an explain things like you are 5, but nevertheless they are more easy to digest.

Also as a non-popular opinion in this current age, I recommend you to learn how to implement your algorithms in C, rather than an easier to grasp programming language. Even if you are probably not not going to program in C in your future career, understanding how memory management works will give you an edge later.

Also given C's loose style, you will also get some skills in organizing your code in a language that doesn't impose a lot of obvious constraints to the way you write your code. You will be able to build your own conventions, and evolve them once you get more skilled. Seeing what others are doing is also important.

Good luck!

PS: Don't fall into the macro trap, you will never get out. (inside joke).

nomemory··on Writing a register based VM in less than 125 lines of C code
Thanks for spotting this. I will fix it as soon as I am back to my personal computer.
nomemory··on Writing a register based VM in less than 125 lines of C code
This was exactly my reason to shorten the name, even if most of the feedback I've received is related to the "weird" naming conventions.

Initially mw was mem_write and mr was mem_read, and reg was registers, etc. But because I wanted to keep the functions as short as possible (to put them on the single line without making them totally unreadable), I've comeup with those names, which are confusing at first.

nomemory··on Writing a register based VM in less than 125 lines of C code
I've thought of that, and to be honest I think it's worth mentioning in the article. But having set this arbitrary limit to 125 lines, before even starting to sketch things down, made me use the function tables. As a plus, article is intended for beginners, and it would be cool if they learn about function pointers from a practical example.

But from a performance perspective, you are right!

nomemory··on Writing a register based VM in less than 125 lines of C code
Thanks for the feedback, I appreciate it.

You are right about the TOC, my other long articles have them, but for this one I simply forgot to generate one. I will generate it tomorrow.

There's no compiler, and yes you are right managing a limited set of registers is hard when compiling from higher level languages. But there are a few compilers for LC3, so it's not impossible to write them even for such a limiting number of registers. But this is not my area of expertise, so someone more knowledgeable can comment on that.

nomemory··on Writing a register based VM in less than 125 lines of C code
Next step is to compile brainfuck to this.
nomemory··on Writing a register based VM in less than 125 lines of C code
The article is in early draft, so there might be some errors and/or bugs.
nomemory··on Ask HN: What is your preferred/most commonly used stack and why?
Kotlin with Vert.x or Spring Boot depending how complicated things are in the backend. Spring can boost your productivity if you really need it. Vert.x gives you more control, but you will have to write more code. Java is also an option, but Kotlin is simply nicer.

When it comes to FE, I don't touch that anymore. I did some react and old angular in the past, but it was more like an obligation... I don't "feel" the community, or how complicated things have become.

For programs that are closer to the hardware or operating system, I feel quite comfortable in C (not C++).

For scripting, data visualization, and anything math related I use python. I usually end up having one big script, terrible written that works.

When it comes to databases, I pick mariadb because I have the biggest experience with it and it didn't disappoint me. From the NoSQL land I've tried the most popular ones, and I had good interreactions with redis, and the elk stack.

I've tried to love Go and Rust... I still try, because some companies I follow and have interesting projects are using them. But it's more like a long term goal to learn rust.

I believe my stack is boring, if not boring conservatory.

← PreviousPage 4 of 5Next →