HNHacker News
TopNewBestAskShowJobs

lstamour

4,318 karma · joined April 27, 2013

submissionscomments
lstamour··on I asked ChatGPT to write the code to print "Hello, world " as a junior developer
True, but varies by org.

The problem is that you only get out of GPT what you ask of it. For example, it’s likely that more senior developers would write abstractions because they can simplify unit testing. Others might have dived into writing TypeScript types, e.g. meta-programming or generics.

The output ChatGPT actually gave is interesting but not inspiring or relevant. They didn’t even uselessly add Winston for logging. It’s like when you ask GPT for images of “more, even more, work harder, etc.” - you sorta get more of the same, not something new or innovative. You have to ask for what you want, it’s not that creative and doesn’t really understand yet.

lstamour··on Canva has acquired Affinity in an effort to compete with Adobe
Canva slowly built out enterprise features, but it’s not fully there yet. They seem to be aiming for what Sketch was aiming for before Figma overtook it - the ability for teams to publish and use design systems and templates in Canva. Which is a cool niche to start with, but isn’t flexible enough.

Plus Canva doesn’t really have the concept of “local files” so they’re stuck until they evolve to include every feature of Google Drive, at minimum, including local file sync. Canva ignoring traditional apps is like Chrome pretending the OS doesn’t exist and then building ChromeOS. Some concepts are necessary complexity, particularly for power users. Canva is a bit too simple still, and thus frustrating.

lstamour··on Canva has acquired Affinity in an effort to compete with Adobe
Let’s see… they’re so far behind they only recently added pathfinder tools to their illustrator app with v2… initially claimed it wasn’t necessary https://forum.affinity.serif.com/index.php?/topic/68819-bett... but then gave in and basically shipped it https://affinity.help/designer2/en-US.lproj/index.html?page=...

It’s hard to sell an entire industry on replacing tools that “just work” with a new set of tools unless they actually work better. Consider what VS Code has had to do to try and get devs switch to it from other IDEs: they had to offer first-class support for pretty much every other IDE’s method of operating, e.g. plugins to take the keyboard shortcuts from other IDEs, plus offer better support for languages (e.g. LSPs, use of TextMate bundles), and on top of that offer new features not seen elsewhere (e.g. devcontainers, web-based IDEs, first-class GitHub integration…) and even then people will obviously still pick JetBrains products for Java or Python because you can’t actually copy every feature and win.

Likewise it only took me 5-10 minutes with Publisher before I started noticing missing features with text (Adobe has an excellent text rendering engine, go figure) and Designer in v1 was so frustrating that I haven’t used v2 much, though my use cases were pretty specific. I’ve actually found myself putting up with the bugs in OmniGraffle (oh so many bugs) because the infinite canvas there works so well when zooming around. When it works, that is.

Got a bit sidetracked in my answer, but Adobe has a lot going for it. Honestly this is probably great news for Figma, as they have an opportunity now to build better web-based photo and publishing apps before Canva can figure it out.

lstamour··on Canva has acquired Affinity in an effort to compete with Adobe
Have you actually used the products you’re recommending and the Adobe equivalents? I would say that InDesign easily won over then industry-standard Quark nearly two decades ago, and Resolve is okay but not great at most things. Don’t get me wrong, I’m a fan of Resolve and its pricing, but like Affinity, it’s not quite on par with the features of Adobe’s products. I’m routinely frustrated by missing features. I have complaints for Adobe products too, but usually missing features aren’t one of them. (Except if your product is named Captivate or was recently changed from a legacy app to a modern Electron app (or something), then I have a lot of missing features to suggest.)

Heck, I am frustrated that Canva didn’t have a layers panel, and now that they do, that it doesn’t behave the way I expect and I can’t pull it up easily… or that Canva makes it impossible to ensure assets match when searching for a matching sequence or set of templates. Or all the ways I can’t just do the thing I’m thinking of by right clicking or modifying layers or something. Canva itself is an exercise in frustration for power users. Affinity ain’t perfect either. Great matchup, really.

lstamour··on Y Combinator's chief startup whisperer is demoting himself
The dictionary suggests this means they have $100 million. Likewise centibillionaire means $100 billion.
lstamour··on How web bloat impacts users with slow devices
Actually when I hit pages like this, I use the increase font size buttons. I tend to do this on phones too, especially. Yes, reader mode is also an option, but just bumping up the font size works too. You could also go back to the days when we had 800x600 monitors and 16px tended to be just the right size for that. ;-)
lstamour··on Kagi and Wolfram
And the type of tracking they’re referring to is more like selling-your-data-to-third-parties tracking, not Google or New Relic or something. Maybe sales funnel tracking and interstitial popovers. Your average Adblock doesn’t distinguish between tracking methods and goals but trying to block all pages that load Google Analytics would probably lead to an incredibly small pool of websites, which would worsen the results.
lstamour··on Browser extensions are underrated: the promise of hackable software (2019)
Start with ChatGPT or a sample extension.

The unfortunate part of web browser extensions is that, like the treadmill of web frameworks and app development, browsers can’t seem to stop changing and tweaking how extensions work and remove perfectly good functionality. So you end up sometimes having to rewrite an extension or its manifest with very little assistance from browser makers. But at least you don’t need to learn XUL any longer, so not all changes are bad ;-)

lstamour··on In loving memory of square checkbox
I was using punchline to actually mean “point”, as in: I assumed the article would show some examples of toggle buttons, but the _point_ of the article was whether the checkboxes were round or square in shape.

Yes, literally, at the very end there is a punchline on toggles. But it’s more for the laughs - a literal punchline - it doesn’t change the focus of the article.

lstamour··on In loving memory of square checkbox
Yes, but it took awhile. :) Also, I feel like the era when checkboxes were actually filled squares or Xs within square braces were less “checkboxy” in that they filled a box but were not “checkmark” shaped. It’s arguable they were toggles already, just data-constrained design variations of them.
lstamour··on In loving memory of square checkbox
I absolutely agree with this. Especially with buttons that toggle state, you need to be careful to use the right terminology. But I think we can say “Mute on” and be understood: TVs would often display text like “Mute on” while silencing the volume and the status would disappear when the mute button was pressed again. Likewise, adjusting the volume should turn off mute, and doing so would hide the “Mute on” text. It bothers me when a website tells me a video’s sound is off or “click the tiny mute button to unmute and listen to this,” I’d often instead prefer that the video start playing without sound to get my attention but then stop and wait for me to interact with it. And if I interact, just throw up a countdown timer that says “Video starting (with audio) in 10 seconds…” and toss in a cancel button. Alternatively, forget the unmute toggle and show a giant volume slider. Let me drag the volume to the level I want it to be at and I won’t be surprised if it’s suddenly unmuted and too loud. We really need to work on these conventions a bit more…
lstamour··on In loving memory of square checkbox
I’m surprised nobody has mentioned that iOS has had round checkboxes since forever? https://ux.stackexchange.com/questions/116712/apples-round-c...

Likewise I thought the article’s punchline was going to be the increasing use of on-off toggles instead of checkboxes. Like how the settings app on macOS now has more on-off toggles than ever before.

Personally though, my fav pet peeve remains the unclear toggle button. When the icon is white, is it on? Is it off? Does the line through the microphone mean it’s muted? Or that it mutes when tapped? No one knows, tap it a few more times to find out…

lstamour··on A Leaked Memo from Google CEO Sundar Pichai Comes Amidst Employee Discontent
You forgot Ads.

(Fixed that for you…)

lstamour··on Ditching PaaS: Why I Went Back to Self-Hosting
I should add - keep your own backups. I can’t trust that a service this cheap will not lose my data somehow. It hasn’t yet, but with margins this thin I wonder if they’ll ever go out of business on me.
lstamour··on Ditching PaaS: Why I Went Back to Self-Hosting
Try racknerd… they have various Black Friday/new year specials that rarely/never expire and the price can be as low as $25/year for a decent 2-cpu VPS. Not the same hardware as OVH, storage often limited, but still an interesting price point and service. Biggest limitations: no 2FA on the control panel and mounting an ISO requires talking to customer service… oh and no automated backups but they might have recently added snapshots.
lstamour··on Software engineering salaries come from one of three budgets
… and somebody gets the bright idea to replace the sysadmins with “managed cloud” and S3 file storage, leaving the sticker price as a “digital transformation” cost until they can work out the cross-org billing using an app someone built in their spare time to read itemized bills and re-bill internal budget numbers for their fair share of resources?
lstamour··on UK 2022 rail station flow images
Yes, I agree. It was a joy to use contactless payment in Amsterdam, and like in London with the TfL app, I could check my payments via the OVpay app, take bikes on trains, and they have very frequent regional trains too. Actually, the OV app is better than the TfL app - I needed a VPN to pretend to be in London in order to check my payments on the TfL app, I didn’t need this for the OV app. Both apps had weird rules about when it would be possible to “fix” or add a tap-off if I’d forgotten to, though, but at least they both have that option unlike Paris, France or Ontario’s system.

And the worst for payment has to be Berlin’s system because they absolutely hate credit cards and prefer cash over other traceable payment methods. It’s nice for anonymity but as a tourist who has to present a passport anyway, I would prefer to just tap and not think about it. Plus they don’t have one app, they have three different apps each with unique features. Paris has the same problem, with regional and local apps, plus even third-party apps that you can buy tickets from.

Transit… some places you have to be a local to understand it and put up with it. Everyone else, at least there’s Uber most places now. Don’t even get me started on paying to use bathrooms by credit card (actually cash only) at a major train station in Brussels.

lstamour··on UK 2022 rail station flow images
That sums up the complexity better than I ever could, but as a tourist visiting London it was relatively painless to tap my Apple Watch and pay by contactless credit card when I got on and when I got off, as long as you’re travelling through supported stops within the city region. This generally included any routes to and from London airports.

Comparing the process in London to that of, say, Paris, it is night and day better with London’s system. Yes, trips might cost more than a flat rate, but you don’t need to have a special card - contactless payments are charged at the same rates as an Oyster card would get charged, including discounts if you take multiple trips in a day.

Compare to Paris where it’s a flat rate, but you can’t get a normal ticket because your anonymous card is somehow designed only for tourist pricing. Let’s not even bother with how long the lines can be to buy said card. I’ll take a system where you tap on and tap off any day of the week over a flat rate system that doesn’t support easy contactless payment at the same rates as everybody else.

I should clarify though - this only applies to any travel by train that you can do from stations that have contactless to stations that also have contactless. Anywhere else, you’re expected to tap off and pay a normal fare for the rest of your travel to an unsupported station by buying it from a website.

And while it is unusual to have such complexity, I should mention that rail travel between countries often has similar complexity - I bought a ticket once from Copenhagen to Malmo, Sweden, but got on a train operated by a different company and had to buy a second ticket - the trains left at the same time to and from the same stations but from two different operators. The confusing part is that the train ticket I needed to buy wasn’t available from a Denmark regional train travel ticket kiosk, it was timed ticket you had to buy in advance from a website as the train’s origins was in Sweden rather than Denmark. (And the Denmark station didn’t have Swedish kiosks.)

I guess what I’m saying is that trains can make airlines look efficient, at least when it comes to buying and handling tickets. ;-)

Edit: I should also mention if I got any of this wrong, I’m actually from North America and about all I can say in response is “at least you have (express, high speed) trains,” as I look at our preference for highways and buses and how most rail in North America is for cargo...

lstamour··on Sieve is simpler than LRU
I haven't read the original article yet but your excerpt here reminds me strongly of what ChatGPT writes when you ask it to rewrite technical prose in an approachable, non-technical "for dummies" style.

As in, I asked ChatGPT to rewrite some text with metaphors and it kept giving me answers that included the phrase "Think of it like...." And whatever the metaphor it came up with was. It also often used words like "superstar" far more than I would.

lstamour··on Did English ever have a formal version of "you"? (2011)
That’s interesting. As a non-Texan, I’d assumed that since y’all is a contraction that it would signify a more casual tone in the same way that “He’ll” is less formal than “He will”, etc.
lstamour··on Beeper vs. Apple battle intensifies: Lawmakers demand DOJ investigation
It’s not that different from any third-party client though. Remember Trillian? https://web.archive.org/web/20020326174902/http://trillian.c... As they note back in 2002: “ Fixed AOL Connectivity Bug: Yes, again and again and again.”

And they write: > Going forward, Cerulean Studios is committed to maintaining interoperability across all major IM networks. We will continue to work hard and pursue the necessary avenues to keep this a reality. We would also like to express our sincere gratitude to all of you out there supporting us!

We’ve allowed third-party ecosystems to develop elsewhere before. And it’s been said before that the cost to Apple is minimal if you exclude the lock-in effect. Amortized across a global base, running a chat network is barely $1/year/user for the average case is what I’ve seen before on HN.

I’m not saying using a third-party client needs to be completely free - paying Apple in either attention or money makes some sense. But considering that many folks with Android phones might also have Mac laptops or subscribe to Apple Music, it doesn’t seem impossible that Apple could allow for interoperability across devices and clients and that lawmakers could encourage this.

lstamour··on I Love Ruby
It does, but at this point it’s like saying that JavaScript is DOM even though you can use it outside a web browser. Or it’s like blaming Python for TensorFlow. Like, yes, Rails is a use case for Ruby, and a popular one, but not the only one.
lstamour··on Hasbro laying off Wizards of the Coast staff is baffling
Literally, and speaking generally, the stock price might go up due to short term gains? Layoffs are a form of cost-cutting and assuming it doesn’t affect the service or product, this leads to short term increased profits or offsets expected incurred losses? Not everyone playing the stock market is a value investor.

As the fine article notes:

> At time of writing, it’s unclear why Hasbro’s chosen to lay off employees at the single strongest company in its portfolio. This year, Wizards debuted a critically if not commercially successful major motion picture, earned a Game of the Year trophy at the 2023 Game Awards, and was consistently profitable, but Hasbro’s still sacking its employees. It’s the sort of math that only makes sense if you’ve got shareholders to placate.

lstamour··on Ask HN: Best UI design courses for hackers?
In particular, the third edition focuses heavily on desktop while the fourth edition strays into mobile. Love em.

That said, more practical and recent resources include https://www.interaction-design.org/master-classes and https://designcode.io/ for different topics. I’m sure there are others, but these are just off the top of my head.

lstamour··on Apple cuts off Beeper Mini's access
Latest updates from Beeper as of two hours ago:

### Beeper Mini - fix coming soon

Our fix for Beeper Mini is still in the works. It’s very close, and just a matter of a bit more time and effort.

In the meantime, we have deregistered your phone numbers from iMessage so your friends can still text you. Sorry, you’re temporarily a green bubble again. Annoyingly, the iPhone Messages app ‘remembers’ that you were a blue bubble for 6-24 hours before falling back to SMS, so it’s possible that some messages will not be delivered during this period.

Also, we are extending your 7 day trial by one additional week.

I just want to say thank you for bearing with us through this wild day (week!). I feel awful about important messages you may have missed today because our iMessage connection stopped working. My sincere apologies for this.

Tomorrow is a new day. Onwards!

### Beeper Cloud - iMessage works again!

I am very proud to say that iMessage is now working again on Beeper Cloud. After a Herculean effort from my amazing colleagues, our iMessage bridge is back in action. Unfortunately, messages received during the outage are not recoverable.

If you have a Mac or iPhone, you may see an alert that a new device has been added to your account. This due to the bridge update. The update is rolling out over the next hour.

And...it's not working for everyone yet. We're going to call it a night and get back to it tomorrow.

lstamour··on Crush Your Interviews with the Power of Storytelling
If you like the idea behind this advice, have a look at The Job Seeker’s Script by Judith Humphrey.

If you want to read it before buying (or borrowing) it, have a look at some of the articles on fastcompany.com that excerpt parts of the book, particularly the hiring/career articles: https://www.fastcompany.com/user/judith-humphrey

If you want a bit of an “audiobook” version of it, you can hear parts in https://on.soundcloud.com/bAzbHeMJCC8CNhNk7 which is a podcast featuring the author.

lstamour··on Polish trains lock up when serviced in third-party workshops
In case anyone is confused, the problem is that dates loop, such that moy=1, dom=1, year=2023 will not match despite being greater than Sept 1, 2022. Technically, then, if you wanted this logic to work you would have to add a second “or” clause that handles the edges missed, e.g. (moy >= 9 AND year = 2022) OR (year > 2022) though you would need a different edge case if your dom wasn’t 1. The easier approach, of course, is to just compare dates or timestamps directly.
lstamour··on When Google Fiber abandons your city as a failed experiment (2019)
In their defense, I don’t actually know of any municipal-scale outdoor wifi project that was a success, though I’d love to hear about it.
lstamour··on UniFi Express
They seem to have something if you want to give them a call ;-)

> Fixed the issue where WireGuard VPN could not be used through Intune-deployed MSI installation.

Source: https://wiki.ui.com/docs/identity-enterprise-endpoints-0671

lstamour··on "Useless Ruby sugar": Endless (one-line) methods
It’s true that if your goal is something like Cucumber BDD which can be read by non-programmers, then you would want an abstraction layer over the code that hides some of the syntax. This is also where we could get into Ruby being used as a DSL. The only gotcha is that the reason AppleScript is so hard to write while being so easy to read is basically the same reason we use IDEs to write Python and Ruby and generally prefer TypeScript to JavaScript. Namely, the coding assistance.

And let’s not touch the maintainer nightmare of having to keep method names up to date with a complete description of what the method does. You might end up with twenty words or needing multiple methods that are no-ops if you ever call a shared library with any amount of complicated functionality. Alternatively, your description of what is done is so high level that it doesn’t actually describe what’s done in a detail sufficient for non-programmers to understand.

I guess where I’m going with this is that it’s like comments that describe what the method does. We’ve all been there when the comments don’t accurately reflect reality, because someone, maybe through automation, changed how the system works and didn’t update the comment.

It’s hard for me to see as much value in this presentation over an IDE that could auto-inline the function bodies and leave a comment above each with the method name.

← PreviousPage 3 of 34Next →