HNHacker News
TopNewBestAskShowJobs

bubblebeard

149 karma · joined March 2, 2024

submissionscomments
bubblebeard··on How to avoid losing items? Holding pens
Quite so. It’s always an adventure when sorting through these stacks. Never know what one might find.
bubblebeard··on How to avoid losing items? Holding pens
I see your point, I’m a neat freak who cares about most things I possess. Trouble is, we don’t always have time to be this neat. For example, I’m standing in my laundry room rolling up socks when suddenly someone calls from upstairs. I go into my hallway, still working on a pair of socks, and discover it’s my partner calling me because our son just defecated on the floor of the tiny bathroom upstairs. I throw the socks on the first available surface and run to help, focusing on the new problem at hand, and now the socks are lost. This exact situation is on the extreme side of course. It’s more common for me personally to put down a glass/cup to assist someone with a minor yet to them seemingly important task and then proceed to search for my lost bevrage.
bubblebeard··on How to avoid losing items? Holding pens
I might just steal this idea from you. Having a partner who ”organize through chaos” (which I maintain is not an actual system) there are constantly treasure troves of knick-knacks everywhere, usually hiding important items. No matter how often I try to organize it’s always messy, I think this might be the answer. Thank you!
bubblebeard··on Show HN: Rust GUI Library via Flutter
Thanks for the info! I will keep an eye on this for future projects, keen to try it out. I’m currently working on a project being converted from Electron to Rust/Tauri. I recall Flutter being discussed, but our frontend dev was more comfortable with React.
bubblebeard··on Show HN: Rust GUI Library via Flutter
Commendable effort! I’m currently using Tauri for a project myself and was wondering if anyone has any pros/cons between the two?
bubblebeard··on On-Demand VPN
This is very cool. Almost completely useless, but very cool all the same.

One thing I’m wondering about though. I’m not an expert, but I cannot really see how a VPN is any protection from sketchy public wifis? If they wanted to own you it would be enough for you to connect to the wifi in question.

I guess it would protect against packet sniffers while you are browsing etc. But then, the packet sniffer should pick up on your login to your VPN, and now they own that instead.

I don’t know, when travelling I only use my mobile Internet, seems safer.

bubblebeard··on Ask HN: Changing my mind about JavaScript
Certainly! Now, I’m no expert and may get some things wrong here, if anyone else knows better I’d be happy to be corrected.

Every browser implements a version of ECMAScript (this is a specification declaring what features of the JS language will be available for the JS engine included with the browser).

This means that every browser on the planet, and every version of them, support different JS features.

For example, let and const are commonly used to define variables, but if someone happens to use an old browser version the use of these would cause an error, which in turn may cause all the rest of JS code to stop executing, resulting in (worst case scenario) your website being rendered useless to that particular person.

On top of that different browsers may use different engines. So even if they define the same ES version the code may still execute differently (this was for example a very big issue with Microsoft browsers in the past).

This may seem trivial, but new JS features emerge all the time. Granted, this was a much bigger problem before ~2015 something, but it’s by no means none existent today.

Thus, you cannot be sure the code you write locally will actually function the same everywhere, and you are unlikely to know how often failures even occur since it all happens client side.

bubblebeard··on Ask HN: Changing my mind about JavaScript
I have been using JS for more than 20 years, and I do not like it. There are parts of it I find useful, but I avoid using it as much as I can in any project.

The biggest reason for this being that the execution of JS code it down to the browser rendering the page where it’s deployed. As such it’s practically impossible to get any code to run consistently. This is of course only relevant in my day to day work as a web dev.

That aside, JS has some funny behavior. If you wish toninderstand JS better you could read up on how null and undefined works.

You could also read up on how functions work, they are objects actually.

bubblebeard··on The News Is Information Junk Food (2022)
This is right on the money. I never really used social media, and I started disregarding mainstream news about 8 years ago, relapsing every once in a while when I’m boored only to be reminded the only things reported makes me feel horrible.
bubblebeard··on Ask HN: Best AI Code Assistant?
I’ve looked at several alternatives over the past year and Copilot is the best I’ve seen so far overall when you factor in ease of use, price to performance etc.

There may be services which generates code better, but at the end of the day you still need to review and touch up anything that is generated.

Copilots chat integration in Jetbrain IDE’s has also been great at helping me discover language features/functions, especially when learning new languages.

bubblebeard··on The mysteries of Monkey Island (eBook)
Not obsessed quite enough to buy this, but really cool all the same. Maybe, if I can find a physical copy. Thanks for sharing this!
bubblebeard··on 10 Free AI Tools to Improve Your Productivity
This was a bit of a mixed bag. The tool I found to be the most useful was the ”Todo List Creator”, in my tests it listed my tasks in a sensible fashion.

The ”Project Report Creator” link is broken.

The ”Product Idea Generator” has some value, and the ”Regex Expression Generator” seems to function properly.

Overall a good set of tools to help devs/project managers.

bubblebeard··on Exploiting authorization by nonce in WordPress plugins
To me it’s needless exposure for admin accounts. I can see the value for frontend, client, accounts. However, only if such a service use usernames and not email addresses for logins. Otherwise it would be a great way for attackers to accumelate email addresses related to certain types of services.
bubblebeard··on Exploiting authorization by nonce in WordPress plugins
That’s true and I see your point. Personally I do not understand this choice in contrast to an admin panel though.
bubblebeard··on Exploiting authorization by nonce in WordPress plugins
I think this is a valid point. At least for frontend usage I can see how less generic messages might make sense. I would still opt for generic messages, but I’m also a little paranoid ;)
bubblebeard··on Exploiting authorization by nonce in WordPress plugins
This reminds me of an article in which brute forcing the WP admin panel was discussed. The problem was that when supplying inaccurate user credentials you would get an error message telling you which was wrong. Their dev stated this was a design choice, that you needed to balance security and user friendlyness.

Security in WP seems more like an afterthought to me, which is a shame to say the least.

bubblebeard··on How East Germany invented 'unbreakable' drinking glasses
This was both a fun read an raised a real problem with products in general, avoiding quality to assert more sales.

I like to imagine a secret meeting between glass manufacturers plotting how to shut this startup down xD

The name of the original glass is also fantastic, ”Superfest” meaning ”Super party” in my language :D

bubblebeard··on Ask HN: What are the best books you've ever read?
”The Count of Monte Cristo”, one of my favorites. It’s a classic the general story being jailbreak/revenge. A little slow paced at times but the writing is fantastic.

If you enjoy fantasy novels I would recommend ”The Wee Free Men” by Terry Pratchett, it’s outstanding.

bubblebeard··on I created an app to help you find your next favourite book
No problem! Hope it helps :)
bubblebeard··on I created an app to help you find your next favourite book
It took me a couple of minutes to understand what service was provided. The title says ”Discover new Book Excerpts”, but the point of the service is to find new books through preview snippets of their content. Maybe the language could be changed to make it clearer what the service actually provides?

Other than that I think this is a great idea and I’m considering a subscription!

bubblebeard··on How to make GitHub repo more visible?
The best way to increase your visibility will likely be to post your project in communities relating to that project. I don’t know of any magic shortcuts for this, except for paid ads.
bubblebeard··on How the music industry learned to love piracy
I can relate, and I think this is a great sentiment. Buying a Spotify subscription was enough to ease my personal feelings of guilt though (and subscriptions to some video streaming services like Prime). This way I give back to the artist community as a whole rather then a specific artist I may have cheated in the past. Plus, I get a ton of new content.
bubblebeard··on How I Program in 2024
Very well put! Couldn’t have said it better myself
bubblebeard··on How I Program in 2024
Yeah exactly
bubblebeard··on How I Program in 2024
Yes I think so too, I was just trying to inject a little comic relief :)
bubblebeard··on How I Program in 2024
On the one hand this may be an article from a developer experimenting with different tools and techniques to advance themselves in life.

On the other hand it may just be the author wanted to gaslight ppl into a debate xD

bubblebeard··on How I Program in 2024
I think it’s just an alternative way of thinking. It’t not one I agree with, but I can see where the author is coming from. Think he’s just tired of spending time on useless tasks around his projects. For all we know they may be, but I do have hard time viewing testing and version control as overhead xD
bubblebeard··on How I Program in 2024
For me at least, designing a test will usually let me discover problems with my code which may otherwise gone unnoticed.

Leaving the tests there once written to help us in future refactoring costs nothing.

Granted, in some languages tests are more complicated to write compared to others. In PHP it’s a nightmare, in Rust it’s so easy it’s hard to avoid doing.

I hear what you are saying though, sometimes writing tests consume more time then is necessary.

bubblebeard··on How I Program in 2024
Types are there to ensure against human error and reduce the amount of code we need to write.

Tests exist to guarantee functionality and increase productivity (by ensuring intended functionality remains as we refactor/change our code/UI).

There may be cases where some tests are too expensive to write, but I have never come across this myself. For example, in functional tests you would attempt to find a secure way to distinguish elements regardless of future changes to that UI. If your UI changes so much between iterations that this is impossible it sounds like you need to consider the layout a little more before building anything. I’m saying that based on experience, having been involved in several projects where this was a problem.

Having said that, I’m myself horrible at writing tests for UI, an area I’m trying to improve myself, it really bothers me :)

bubblebeard··on Ask HN: How to guesstimate the needed resources of a server?
Man I just keep getting more jelaous xD

1gps/1gps is my wet dream. The house I live in is tied into a pretty shitty ISP, didn’t know that though until after I bought the place. You live and you learn, someday I too will have a setup this beautiful.

Sorry I couldn’t be of any real help :)

← PreviousPage 3 of 4Next →