Better HN
topnewbestaskshowjobs
Log inSign up

mircerlancerous

109 karma · joined Sep 12, 2024 (2y ago) · 58 submissions

Website: https://www.offthebricks.com
Submissions

comment 1w ago · link · parent

Just to make sure it's clear, this is not a fully in-browser solution; unfortunately an external STUN server is still required. Would be great if the browser gave us a way to discover peers fully in-browser, even just on a local network

comment 3w ago · link · parent

Better insulation makes cost savings sense regardless of what type of energy is used for heat

comment 1mo ago · link · parent

There are regular security patches for basically everything these days, including OSs. Why does this notice stand out to you? The post suggests that they're being proactive, and discovered and patched these before they were exploited. Rather they take this transparent approach, as opposed to being silent and/or doing nothing.

comment 1mo ago · link · parent

Circuit Maker 2000, for designing descrete circuits. I've tried to move to LTSpice a number of times, but it's interface is less intuitive. CM200 has a really clean UI for design and simulation. Doesn't run as well on Windows as it used to, but still good enough

comment 1mo ago · link · parent

I don't feel like the OP makes a compelling argument for NOT running your own mailserver, but instead lists some good things to watch out for. Seems to me that some alternative solutions or design decisions, could mitigate a number of the points made

comment 1mo ago · link · parent

This is a neat idea. It opens up a whole new way to make a web app into a native app, while also adding native features not available in web views

comment 1mo ago · link · parent

A local web server would be fine for me; save yourself the time of creating another version of the same thing

comment 2mo ago · link · parent

Love this. +1 to the explaining part

comment 2mo ago · link · parent

You would be foolish to completely avoid AI, but you are also right to be careful. AI is best used for boring stuff that's non-critical, and for stopping you from having to reinvent the wheel.

For example for a game, you could use AI to finish a sprite sheet based on a couple frames you provide, or to give you a pathfinding algorithm.

AI is a resource, and a startup has a better chance of success the better it leverages the few resources it has.

comment 3mo ago · link · parent

I've used GOGS for years (Go Git Service). https://gogs.io/getting-started/introduction

comment 3mo ago · link · parent

Frankly I think serving dynamic HTML at all is a problem in an SPA. Use a service worker to cache structure, control, and styling, then use an API to fetch dynamic data in a more efficient manner.

comment 3mo ago · link · parent

Attention to details that matter and knowing what to pass on, is what's important. If they did poorly on the important stuff but then point out the typo, clearly they were putting their efforts in the wrong places

comment 3mo ago · link · parent

Sadly I've seen this kind of interviewing from lots of places; maybe it's a technique they teach in college or something.

Interview questions like this are useless as they are not an accurate approximation of a real work scenario. I've frozen up at a whiteboard in an interview before, and then figured it out on the drive home.

The best approach I've found is to do a send home quiz, and then ask them questions about the quiz to test understanding. The test also shows coding habits, which tells you a lot right there.

Bonus: put some typos in the quiz that don't matter. Red flag for the people that get hung up on that.

comment 3mo ago · link · parent

Very cool. Probably pointless but it's so neat I feel compelled to try to find a use for it :)

comment 4mo ago · link · parent

Any framework that requires me to learn custom syntax, is a problem in my opinion. I agree with the author that the browser is already the framework, and a powerful one at that. I don't really struggle with views and dom thanks to my own libraries, so maybe those without appreciate thw guilded gardens of these frameworks. Problem is that if these frameworks fall out of favour or stray from their original quality, you're stuck with worthless knowledge and maybe code as well

comment 5mo ago · link · parent

Interesting; good to know.

comment 5mo ago · link · parent

I've been running this web server for over a year with no stability issues like that. The app itself shutting off was the biggest issue, but the alarm plugin reboots it whenever that happens. Perhaps you had a bad batch of phones but in my case, it's been very reliable.

comment 5mo ago · link · parent

Glad you like it! The phone serves everything. In this case Cloudflare will be helping with some caching, but it's not required.

Edit: actually looking at the logs, it looks like Cloudflare caching is off or isn't working; everything you see is served up by the phone.

comment 5mo ago · link · parent

Author here. What boiling water doesn't take care of all that ;)

comment 5mo ago · link · parent

Author here. I'll admit that I have made limited use of AI for helping in areas that I'm less familiar with (like FTP protocols), but I haven't paid a dime; all free plan. I'll use AI to help make the project possible, but it's not trustworthy enough to make things readable and maintainable.

If you want help getting this setup for yourself, let me know; happy to help.

comment 5mo ago · link · parent

Author here. Qik is the name I've given to the project. It's pretty clear on all the pages that it will always be free, and that there's no reference anywhere to any crypto services. Give specifics if you think otherwise; there's lots of noise these days, so I'm not offended you figured this was another one.

comment 5mo ago · link · parent

Author here. All good points from this point and its replies, which to me says best to me that not all products and experiences are equal, so proceed based on your comfort level.

Note that the app is capable of monitoring both battery charge percentage and temperature. If one was inclined a USB to serial adapter with some simple circuitry could be used to monitor and control the state of charge. Good idea for a follow-up project and article!

23.

Smashed Toilet Phone Web Server(offthebricks.com ↗)

54 points · by mircerlancerous · 5mo ago · 24 comments

comment 6mo ago · link · parent

Hold the submitter to a higher standard by introducing penalties for errors, and/or incentives for clean PRs. In my opinion a PR should be flawless once submitted, as the dev should have tested thoroughly. QA should only catch errors in a small percentage of cases

comment 7mo ago · link · parent

If you want to buikd and distribute something B2B or just to friends or colleagues outside of the app stores, it's a nightmare on iOS. Sideloading isn't as simple anymore for Android, but it's way easier. It's for that reason and for more open hardware and software that I exclusively work on Android now. Too bad about iOS as generally I like Apple hardware, just not interested in the hassle with everything else.

comment 7mo ago · link · parent

Personally if I see a PR that's not readable, I send it back immediately without much of a read-through. AI or not, the code should be readable or it's not maintainable by people or AI

comment 7mo ago · link · parent

Yes, very familiar. I think it might be ok though, as it's similar to a web search where you maybe need to refine it a few times. Just assume that the first answer may not be fully correct or complete, until the AI has more context. It would be a nice change if it would ask the follow-up questions automatically.

comment 8mo ago · link · parent

You may want to offer a page credits option instead, as "50 pdfs" for the free tier is a little vague. Is that 50 1-page pdfs, or 50 100 page pdfs? We generate our pdfs one page at a time, and then stitch them together into one at the end; I'm unsure whether your solution would be practical for us. Self-hosting is maybe the other option

comment 9mo ago · link · parent

Totally agree that creating something to reproduce the issue is a big turn off when it comes to reporting bugs; what else can one do though? In your case though, I guess it was a pretty simple thing

comment 9mo ago · link · parent

Well-written and valuable for insight whether you have similar personal experience or not. As someone who does hardware and software as well, I relate to the challenges of making something you can hold; it's very easy to underestimate the challenge difference between the two. Your Murphy's law references are spot on; I feel comforted reading I'm not the only one this happens to! Misery does love company, and it's important to hang on that I think, so that you don't lose hope :)
12