HN user

ajfjrbfbf

102 karma
Posts2
Comments57
View on HN

It didn't help that I was rewarded with more money, more respect, and more decision making power. I was even rewarded with more knowledge than everyone else -- you learn a lot working 12 hours a day. And if you screw something up you have plenty of time to fix it.

As an intern this feels like everything I want though. More money, more respect, more decision making power, and most importantly, more knowledge. Fortunately my job is done after 4 months no matter what.

sql.js only allows you to create and read from databases that are fully in memory though - so I implemented a virtual file system that fetches chunks of the database with HTTP Range requests when SQLite tries to read from the filesystem: sql.js-httpvfs. From SQLite’s perspective, it just looks like it’s living on a normal computer with an empty filesystem except for a file called /wdi.sqlite3 that it can read from.

From this paragraph it should be pretty clear that it's actually a great result. The database will obviously need to read more data than it presents, so more is fetched.

How does the code size compare with a traditionnal C approach? The book website mentions using STM32 which usually have plenty of space (64-512kB). How well would it work for say, an ATtiny with 2-8kB of program space?

I have three libraries supporting API 14, one app API 16 and another API 21. There's rarely a reason not to support at least API 21 for general apps. Almost only very specific and niche APIs were added after that. Not supporting at least API 24 is unreasonable and most likely due to ignorance. Java 8 is only supported since API 24, but everybody switched to Kotlin ages ago.

From the article:

everyone seemed to think I was smarter than I believed I was. I feared I might fail miserably and finally prove how wrong they were about me

I can totally relate to that. Once everybody told you you're a genius, the pressure not to fail is incredible.

I started programming at 8. I got next to no help from my parents or my teachers, until the time I entered college, and by that point I felt I knew as much as the professors, sometimes more. I always avoided talking about programming, since that would get a me more genius calls on top of what my grades got me. And it doesn't help with making friends. Over the years I had maybe one or two friends who knew about it. Few would've believe me if I had told them what I could do.

I feel like there's nothing special about the path I took. I feel like anyone would be able to achieve the same knowledge I did given enough work and support. I must have spent thousands of hours programming in my teens. What nobody seem to realize is that the genius label is wrong, what they really should have told me was that I was "passionate". Anyone who is passionate enough can become a master.

It's not like you're supposed to do any memory allocation on a 8-bit embedded system. C is really the right choice for AVR microcontroller.

Please just use text and limit yourself to one or two relevant images, so it doesn't take forever to load. Badges may look cool to some people but they are mostly just useless clutter. And if there's a single emoji in there, chances are I'll think it over before using whatever you're developing.

Let’s just think for a minute about what a 68ft hominin with a fairly large brain, possibly erectus-derived, with stone tools, that fought its way to Java from AfrAsia would have been doing with those insane crocodile jaws.

A 68 ft human sure is scary!

This is totally unrelated to the discussion. What's the point to boast whatever volunteering you do to counter the fact that someone said you were boasting in the first place?

I would agree with you if you replaced every "investing" word with "speculating" or "gambling". Otherwise what else am I suppose to do with my money but invest it? Leave it in the bank so they can profit off of it? There are entire categories of equity with variable degrees of risk, and a lot of them won't make me "lose every cent" in any situation but the end of the world.

Over the last ~9 years I've spent way too much time answering questions on stack overflow. I don't know why. I want to say it's because I like helping people. It's certainly not for "internet points"

I've asked myself the same question and couldn't find a satisfying answer. The best explanation I found was that StackOverflow had become for me a way to procrastinate, and then tell myself I've done something useful. I realized I don't care much about helping people, In fact the awful quality of the majority of the questions is depressing more than anything else. Perhaps I should consider stopping too.

There are less and less general questions because most of them have been answered already. If I see a question like that either I give a link to the docs or mark as duplicate. There's no point in writing such long answers if the information already exists somewhere else.

Todo List for Vim 5 years ago

I know nothing about Vim script, but since they're overhauling it, wouldn't it be a better option to rely on python scripting by providing a plugin API? Of course there's backwards compatibility, but they could always support both for a few years. Having to support your own language always seemed like a waste of time to me.

I started with vimtutor, then installed IdeaVim in all my Jetbrains IDEs, it took me about a week to reach the same level of efficiency I had before.

I don't understand how some people can say the learning curve is too steep. Sure it's a bit annoying at first, but it quickly becomes natural, and you don't have to use all features at first. It has allowed me to improve my touch typing a lot. Learning a programming language is a lot more work but hardly anyone ever complain about it.

It's been maybe two months and I wouldn't think of using anything else than vim for serious code editing.

Now account for recycling that battery after the few thousands charge cycles have been exhausted.

EVs are not a panacea. Instead, we should look more into collective transport, better urban planning, more bike lanes, etc. Cars are a cultural issue, and more cars won't solve the problem, whether electric or not.

Make sure they're bored out of their mind all the time. No Fortnite, no YouTube, no tablet. (steers them clear of ADHD too) Either they go play outside with their friends or they hack what they can on some outdated/underpowered device you give them (Arduino, TI84, Arch linux boot screen, etc). Read them technical books before bed.