HNHacker News
TopNewBestAskShowJobs

godot

2,378 karma · joined February 1, 2015

Hi, I'm not related to the Godot game engine. I picked this username before Godot engine was as popular as it is now (or at least I hadn't heard of it in early 2015. Sorry!). The name is a reference to the Phoenix Wright character prosecutor Godot, which is a favorite character of mine.
submissionscomments
godot··on NewPipe – ad-free, open-source Android YouTube client
I used this a bit on a previous Android phone I had. (I still use Android, but am on a newer one now) It sounds good in theory but had a lot of rough edges that made me just go back to regular Youtube. I remember running into a lot of hiccups going full screen and not full screen, or rotating screens, or moving forward or backward on a video. Nothing was completely breaking but it was all minor issues like switching between full screen and not either stops a video or throws you back etc. Maybe I never got used to it.

And most of all, and this is weird to admit on HN, I kind of enjoy Youtube's algorithm of recommending videos -- it actually presents content that I would be interested in. Every time I opened Newpipe it was just a random mishmash of stuff, maybe it's what's on the default Youtube homepage or something, but it's never something I'm interested in. It's nice for when I want to explicitly search for something to watch, but not if I want to just open up the app and tap some random video to start watching.

I'll just add a side note that I don't watch political videos or anything and it's not about echo chamber or bubbles. I just watch videos about old video games (think AVGN etc.) or listen to music by artists I enjoy, and those are the videos that show up on my Youtube which is nice.

godot··on How is everyone's mental health at the moment?
You mentioned you end up working after they go to bed, and before they get up; and then left it at that. Is that necessarily a bad thing?

I ask since I do something similar semi-regularly now, and I don't find it to be a negative thing for myself. I was always remote even before COVID (and it sounds like you are too). There are parts of my job that aren't time-flexible (meetings) and parts that are (coding). I just tend to code before kid wakes up, when kid is napping, or after her bed time. For meetings, they have to happen in the morning of the work day and that's fine. Overall, I don't really mind the whole bending of my coding hours to work with my family's schedule. I actually kind of enjoy it this way because I know that when I'm coding, I'm undisturbed.

godot··on Ask HN: Is “No Code” the future of web/app dev?
I think one of my favorite HN comment from this past year [1] addresses this a bit:

> Software has really interesting economics where as the cost/feature decreases by a factor, say 1x, then the set of features that can be profitably worked on expands by like 10x, so paradoxically, as cost/feature decreases, it makes sense to hire more engineers and expand R&D budgets.

"No code" is part of this, IMO. If a "no code" tool made certain things easier (e.g. building a landing site with some functionality), then the business starts to see the next set of features that can/should now be built because that previous problem was solved, that can't be done with a "no code" solution and needs some R&D effort to build out. The cycle continues as "no code" tools get more advanced to cover those use cases, and then more new business use cases will come out as a result of having those new tools in place.

1: https://news.ycombinator.com/item?id=23298080

godot··on Cradle of Cantonese cuisine welcomes "robot restaurant complex"
The GP mentioned Cafe de Coral, which has a menu size similar to any other fast food restaurant [1]. The thing is, this is a trend of a geographical region, not just a specific fast food restaurant. McDonald's in HK are always able to serve you your order way, way faster than any American or European McDonald's I've been to. Quite literally, most of the time once you've finished paying, the food is ready. In America, it's common to wait on average of 5 minutes for your order, standing around the order pick-up area.

https://static.hkej.com/eji/images/2017/11/21/1707152_eb3877...

godot··on New system76 laptop: Oryx Pro
Good idea but agreed that it would never happen given the trends.

What I'm really disappointed by is laptop manufactures pretty much only go two routes now on laptop keyboard layouts: 1. The one with numpad on wider laptops like this one, 2. The compact one with smaller arrow keys and no nav keys (Home/End/Pgup/Pgdown) in a reasonable place. (typically hidden behind Fn+arrows)

I used to have this old laptop, Dell Latitude E6410, that had pretty much the perfect laptop keyboard for me to write code with. It looks like this [1]. I use Home/End keys extensively while coding and it's part of muscle memory to reach for them directly vertically above arrow keys. This is the only laptop with a keyboard layout like this that I know of. (the full size arrow keys also help)

1: https://miro.medium.com/max/1400/1*pDN_eHnop3QdkRbjkxRSFQ.jp...

godot··on Let them paste passwords (2017)
On this point:

> write passwords down in places that are easy to find (like post-it notes next to the screen)

Writing passwords on post-it notes is often used as a ridicule of non-tech-savvy folks behavior. I'd like to pose this question: If you're doing this not at an office, but at home, is this really so bad?

Say you run a web site on AWS and write your really long AWS password on a piece of paper at home. It would take a hacker finding out where you live and breaking into your house to find the piece of paper to access it. On the other hand, your ordinary neighborhood burglars typically care about cash and jewelry in your house, not post-it notes with passwords. It seems those two categories of intruders rarely overlap, unless you're a world famous target.

godot··on Ask HN: How to care about work again?
I noticed that both of the examples you mentioned being sick or tired of is building a next.js app app for a pdf based product and assembling react apps for arbitrary companies.

Have you thought about doing something other than frontend web dev? I know that's the hotness right now and that's the easiest path to get you jobs/money, but there's a variety of roles in software eng like web backend, data engineering, and even to other related disciplines like data science (with some learning curve), dev ops, embedded systems, etc. If you feel burned out from software engineering altogether, try using your expertise in other types of projects. For example if you enjoy making videos and teaching, make some Youtube videos to teach code or app building. Likewise if you enjoy music, you can do that instead.

godot··on Ask HN: Why don't more apps use OTP as the first factor?
Maybe I misunderstood the OP or the standard usage of the acronym OTP/TOTP is only for referring to 2FA tokens?

I interpreted his question to mean a one-time-password, not necessarily a numeric 2FA token, but a string password with ascii characters, with any length (or a reasonably long one at least), emailed or SMS'd to the user.

I don't have a great answer for OP other than, I've seen some big sites do it. For example, I never remember the password of my rarely-used Twitter account. Every time I have to log in, I use the OTP feature and get emailed a login link.

godot··on How-to normalize home volume levels with Node-RED
I know this article is about Alexa/Echo, but I wish a feature like this is built into TVs :)

I have a young kid now and she's in bed by 8:30. I'd like to watch TV in the living room in the evening after her bed time. I want to watch a movie like say, Avengers. I want to listen to the dialogue instead of/in addition to reading subtitles. The problem is in most movies, you have low volume dialogues, and then there's explosions and stuff with high volume (intended effect; which is nice at the theater, but not nice with a kid sleeping in the next room). I don't want to wear headphones. So I end up with a remote in hand, keep adjusting the volume high or low on reaction as quickly as my reflex allows me to.

godot··on Deno Is a Browser for Code
Before the age of React, when I used to work on decent-sized web sites' frontend, there would typically be maybe a handful of external dependencies; usually just jquery; and later on perhaps a few other powered-by-jquery utility that gives you maybe a carousel or other UI elements. Most of the rest of the JS code is written in-house.

Working with node backend in the past few years, most of my backend services typically list a dozen dependencies or so in package.json, and those in turn have a bunch of other dependencies of their own. Among these there's probably lodash, some schema validator (ajv/joi/etc.), maybe an xml parsing/building lib, some unit testing framework, db query builder, and so on.

I'm not saying this to be pro-node and attack deno or anything; I just feel like the statement of "websites/browsers have been doing this forever" isn't exactly an apples to apples comparison.

godot··on Idea Generation
> (By the way, it’s useful to get good at differentiating between real trends and fake trends. A key differentiator is if the new platform is used a lot by a small number of people, or used a little by a lot of people.)

As a one-time founder, I feel embarrassed to have to ask this; but in the spirit of no-stupid-question and also that there's gotta be someone else wondering the same -- which one is the real trend and which one is the fake trend?

By way of interpreting sentences in a normal way, I would assume "used a lot by a small number of people" is the real trend and "used a little by a lot of people" is the fake trend (going by order of mentions in both sentences).

However, I struggle with this a bit. Dapps were used a lot by a small number of people as of a few years ago (think the cryptokitties trend), but it didn't exactly pan out as a real trend IMO. In other cases, yes, when early adopters love a product and use it a lot, that tends to become a real trend. On the other hand, Facebook apps in 2008 (when they were smaller apps like Superwall and such, before games took over) were somewhat "used a little by a lot of people" at the beginning. I think it wasn't until games took over where the "used a lot" (by a large number of people in that case) really took off.

godot··on Rediscovering the Small Web
I think writing some basic HTML is not hard, what's hard is everything else around hosting a web site properly nowadays. (and is where Wordpress wins users, I think)

I have non-tech-savvy family who has started content web sites over 20 years ago, by writing some basic HTML, and uses FTP to upload HTML files. It's a mental model that's easily understood by someone who can operate Windows. He went on to maintain the site for the next 20 years and it worked fine.

In the last couple of years I did a big migration for his site and moved it to a markdown based CMS (PicoCMS in PHP) and he's been happy with it -- having a web editor (and learning markdown, which was easy) and not have to FTP.

The thing is, it took work to set all that up (on my end, that he doesn't see). I got a Digital Ocean server, installed a bunch of stuff around PHP, wrote some custom plugins for the CMS, etc.

After having done that 3-4 years ago, I realized the more modern, ideal, alternative is to have a Git repo of markdown files, and a Netlify setup (or another similar service to Netlify) where check-ins are automatically deployed.

The problem then is this -- Git workflows are way, way too difficult for non-tech folks to understand. We're not even talking about command line or desktop git clients; even asking someone to use Github (or Gitlab) to edit markdown files to update their site is not an easy mental model to wrap around (if you're not a coder).

I think the most ideal setup, this "better Wordpress" you mention, would be to have a web UI to edit markdown files, backed by a git repo, hooked up with a Netlify-like service. I thought about working on that as a project; but it would be one that relies on using Github and Netlify as key pieces and I'm not even sure Netlify allows a 3rd party to develop apps that end up creating Netlify sites on behalf of other customers, which means I'd have to build out the full Netlify deploy flow and I'm really not in the business of doing that.

godot··on A Monday Is a Tuesday Is a Sunday as Covid-19 Disrupts Internal Clocks
IMO, when I really think about the phrase "days are long, years are short", it seems like what it's saying, or maybe it's a more depressing way to interpret it, is that "you're not doing anything special/memorable in your days" -- hence the days feel long, but after they've passed, it feels short because there wasn't anything in particular that was memorable to the parents. However, do keep in mind that a lot of everyday experience like walks in the parks that are nothing special to the parents, are very special for the kids.

We have a two year old as well, and it certainly feels tough -- it's not like you can travel the world with a toddler (at least, it's out of our abilities range, haha. Some people can do it, I'm sure.), so it's all about living the everyday life (for now, until they're older) and making the most of it. SIP doesn't make it any easier too. Try to at least make the weekends interesting! Park walks are always possible, and a lot of outdoorsy nature type places are possible to go to also, just don't go to the super crowded places.

godot··on Show HN: Bear – Minimal blogging platform
Fun anecdote -- in the late 90s I maintained several web sites (personal/hobby ones) and by far the best source of traffic for them was Yahoo directory pages. I didn't know the SEO game (if there was even one at the time) and while search engines brought a small amount of traffic, majority of visitors came from Yahoo. When I launched a new hobby site, the goto marketing plan was to apply to add it to Yahoo. Granted, we're talking about the range of dozens to maybe a hundred or two visitors a day, so it's not web scale :)
godot··on Ask HN: Do you remove UTM parameters from links when including them in messages?
I do it for this reason too. I use IM apps with my friends, and links that take up an entire screen are difficult to read for the recipient.
godot··on Ask HN: If you could work remote where would you live?
I moved to Elk Grove a few months ago and wrote an article on this topic and touched on most of the points you mentioned! :) https://medium.com/@bigilui/moving-from-the-bay-area-to-the-...
godot··on 402 Payment Required, and why micropayments are doomed
I was a cofounder of a micropayments paywall / subscription startup that operated for about 3.5 years, several years ago. (We shut down due to lack of growth and running out of money)

We mostly tried to sell to news/magazines publishers. The points that the article author brought up are all good points; but what we kept seeing was that it wasn't the consumers who were unwilling to pay, it was the publishers who were unwilling to try a new model. Whenever a site with quality content integrated with us, the percentage of visitors who paid was more decent than you'd imagine. What we couldn't do was convincing a sizable national-level publisher to use us. We had various niche content sites and some local region newspapers integrate with us and they actually saw a pretty good payers to visitors ratio. Some niche content sites even made pretty good revenue using our paywall product.

godot··on Ask HN: Do kids drag your career down?
Thank you for this post -- this is one of the best, most succinct, accurate commentary on parenting + work life I've read. This echoes my experience as a parent of a 2-year-old now, as someone who had been quite career-focused all my life before that; and it also serves as a good reminder of traits I should continue to strive to have.
godot··on The logging framework isn't a bottleneck, and other lies your laptop tells you
The article talks about the difference between laptop vs server, but no other comments here so far have really touched on that topic. I think this post isn't about how good or bad cloud/VPS servers are, but really about difference between running on laptop vs servers.

It seems starting around maybe 2012~13, devs in the tech industry started moving from Windows laptops to Macbooks in large scale, and this was when it became much more common to run your server stack locally on the laptop. This was really strange to me at first; since prior to this, I was very used to having "dev servers". I came from LAMP world where we'd write code on Windows, upload code to a dev server, run the app on it and test. This seems very amateur in retrospect, but I also worked in a relatively large unicorn at the time (from 2008 to 2013) and I don't think we were even the only company doing that -- from what I knew, this was pretty much standard practice, especially if you run LAMP stack. Which is to say, it was way more common back in the days to dev on a dev server than on their own laptop. (Maybe that's a point against Windows at the time; about how difficult it was to have a reasonable local dev environment on Windows.)

So when I joined a startup later, and found out how everyone on the team had Macbooks (with no option of going Windows), and everyone ran the entire server app on their laptops (and this was the nodejs world, no longer LAMP), I was almost in disbelief -- are we not to worry about any difference between developing, testing and running this server code on a Mac laptop, vs when deploying it and have it actually run on a Linux server later? After a short while it seemed like it was not really a concern; it seems perhaps either macOS linux is close enough to servers, or node is compatible/high-level enough between mac and linux.

Reading this article is kind of a wake-up call -- no, it's really not exactly the same.

godot··on Twitter Will Allow Employees to Work at Home Forever
I think there is merit to the point that the "forced" social interaction (of the office) is what makes (a lot of) people even have social interactions at all. For example, it was easier to make friends in school and college because of forced interaction; similarly, anecdotally I see a lot of friendships made among coworkers of mine, some of them became groomsmen/bridesmaids for each other at their weddings.

Having said that, I'm not one of those folks, and I actually agree with your points and I am 100% for remote. I am at a remote role right now and could not be happier.

godot··on Ask HN: If you had unlimited money for 30 minutes, what would you do?
It's a bit curious that most (only 5 so far) answers mention things like daily limits to each of your own bank accounts, when the question specifically stated you are allowed to utilize your existing personal connections (friends and coworkers).

Why would you not tell as many friends and family as possible about transferring the max daily limit to all of their accounts? Several ways to spin / think about this:

- "Can you send me back some of that money later?"

- Most friends/coworkers who are decent people will probably send you back half of it. For those that don't:

- They are probably really in need, in which case you did a good deed helping them out, or;

- They are bad people. Cheap price to pay (actually, free to you) to see their real side.

Depending on how many people respond to your mass sms/IMs quickly enough, you can probably send the daily limit to anywhere from 100 to 500 people. This is probably more impactful than giving yourself X amount of money.

And then if you have time left, there's donations to charity which you can typically use credit cards / bank transfers for (instantly usually?). Donate maximum limit to every charity you can think of. Maybe you'll even contribute to the development of a COVID vaccine?

godot··on Principles and priorities
Quoting this paragraph by the author:

> First and foremost, there’s the end user. If a technology choice harms the end user, avoid it. I’m thinking here of the kind of performance tax that a user has to pay when developers choose to use megabytes of JavaScript.

I believe the author is indeed talking about React (and other frameworks), SPA, big JS bundles. The developer efficiency being alluded to here is for tech startups to scale a team. A component-based frontend is valuable in providing that efficiency. The efficient is not about building a form in a few hours vs 2 days with React, but about code maintenance and scaling a team so many developers can work on the frontend at once in a sensible way.

However, having said that, I am not an advocate for a React frontend. I actually recently wrote an article, on a different topic, but with a very similar theme [1]. I think component-based frontend framework solves a real problem in an organization, but it does not have the best UX in mind.

[1]: https://dev.to/bigi/dev-to-is-the-perfect-demonstration-of-h...

godot··on Rome: An experimental JavaScript toolchain
It looks like Rome is a Facebook Open Source project, so there's reasons to believe a huge amount of resources is being put into it (probably the only way something like this is feasible).

(This is not a statement either pro or against FB, just a neutral one :)

godot··on Ask HN: Advancing career without working over-hours?
This is a complicated topic with no single right answer because the situation involves so many factors. Here's a few things to keep in mind. First, if the company truly only values those who overwork, it may be signs of a somewhat toxic environment and may be a reason to look around. Not saying it must be, there's a lot of other factors. Even a company that values overworking could be a good place to stay for other reasons too. I wanted to state this early and get this out of the way first (just so I can clarify that I don't discount the possibility that the company can be bad).

Then, you can also try to understand what the company leadership truly values. In my experience, most company leaderships truly value impact, not working hours, but it's easy to conflate or even confuse the two; it's even possible that leadership values impact but to other regular employees it may look like they value hours.

In my own experience, companies and leadership that I worked for usually value impact; and over the years, what I've gathered is that the best way to make good impact to the business is to truly understand the business and domain knowledge deeply and communicate effectively, as an engineer. I'm nearing my late 30s with a young kid now and had similar thoughts as you a few years ago. It turns out ultimately what employers care about isn't the amount of hours I put in; but rather if I understand the business and domain deeply, I can correctly spend my time on the most impactful things; and can communicate these things effectively. I have hardly ever worked over hours in my past 2 years at my current company; and am still highly valued.

On a totally different note though, it is also worth considering taking up a less intense role (if that truly is a problem at your current place) during the first year or two of your fatherhood. It's well worth the break time from developing your career to spend much needed time with family instead -- not just the baby, but your spouse who'll no doubt need you to be there for very much. Part of my reasoning to switch away from my last job was for this; and it just so happened that I also ended up at a good (remote) company that isn't all about working hours but good impact.

godot··on Take-home vs. whiteboard coding: The problem is bad interviews
I really enjoyed this article. It's probably one of the most fair, unbiased, and insightful articles written on tech interviews and may be the best one I've read.

Over the past 15 years, I have interviewed with many different companies. I once read that when you're a good fit for the company, the interview will feel suspiciously easy. This has been the case for all the times I've gotten offers.

Reading this article, a lot of the good points remind me of a particular interview I had though. It was at relatively large tier-2 tech firm a few years ago (not the FAANG tier); one where I didn't get an offer, but the interview process and experience was memorably good. I remember specifically telling the recruiter even after the rejection that I really enjoyed the interview there.

One of the rounds was with the principal engineer at the company, who was the most senior engineer at the company at the time if I recall correctly. It was the system architecture interview. I was asked to prepare by thinking of a system I had designed and architected in my past experience, and present it as if the principal engineer was my coworker and we would hold tech discussions. It's the closest thing I've ever gotten to the "Present code they wrote" idea that Andrew mentions here.

For the coding round of this interview, I was asked to bring my own laptop (another point that Andrew mentioned here; this was also the only company of all the interviews I've had in 15 years that asked me to do this.). I was then given a problem at the beginning of that interview, and given 45 minutes or so to write code on my own (the interviewer actually walked out of the room and left me alone while I did). It was a reasonable problem to code for the allotted time, and had reasonable complexity but not overly difficult. When time's up, the interview came back and we discussed my code.

Both of those rounds were something that was so well done that I think it was the most fair way a company could have assessed me correctly. I did well on the coding round, but my experience in system architecture was not a good match for the type of work they did, and in retrospect I could tell. Since I was interviewing at the Staff Engineer level, I think they correctly evaluated me and turned me down for the role. (Although I would point out that after that day of interview, they ended up being undecided, and asked me to come back one more time to have one more interview round, with one of the first engineers of the company there. I did poorly in that round for a variety of reasons, and that was ultimately what got me the rejection.)

godot··on ICQ New
I hadn't used ICQ since the 90s and maybe early 2000s. The screenshots of ICQ New on the site certainly look quite similar to Whatsapp Web. I'm kind of surprised that there's active development in ICQ all these years even though I don't know of anyone personally who still uses it. Maybe ICQ is active in other parts of the world?
godot··on Dev.to is a good demonstration of how content-based web apps should be developed
OP note: The original article title was modified as this post's title because it was a few characters too long.
godot··on How to manage HTML DOM with vanilla JavaScript only?
The GP was saying VB-classic, implying that he's talking about windows desktop apps. I think that's what he's saying about layout engine stuff; layout engine is only a thing on web apps. Everything you're talking about is re: web apps, just older style web apps with JS+CSS in the past 10 years. For old school windows desktop apps you don't have to worry about client rendering, client's browser size, responsive (mobile vs desktop), etc. I believe GP is making an argument that most of these business-use web apps could've been windows desktop apps where the frontend takes half the time and team to build.
godot··on A curious phishing attempt
If you hover over links on the post, you would notice that the author recently changed jobs, from Google to Microsoft. It seems reasonable for a Microsoft employee to use Bing as primary search ;)

Anyhow, I'm disappointed that Bing also has the practice of styling ads the same was search results, as Google has normalized.

godot··on Ask HN: Devs now working remotely, how productive have you been recently?
It sounds like the main issue for you might not be actual work but might be about childcare. This is a completely reasonable problem to have, with kids that otherwise would be in school/daycare but are now not. I don't know about your local city's situation, but is there any hired nanny help you might be able to get? Re: groceries, try using one of the grocery delivery services to help with it, even if it costs a bit more.
← PreviousPage 8 of 19Next →