Live data from Hacker News

My server is a phone now

seg6.space

81–90 of 277 posts

Re: My server is a phone now

#81
post #57

I thought about this a few times but the flash storage is a bit sketchy for running a database, I am worried it can die. Tho android does have sqlite built in and works fine.

Any storage device can die, that's why you have a robust backup system, right? Right...? :)

But the flash storage in a phone is going to be the eMMC variety which typically means a proper controller and TLC NAND. Not as robust probably as a "proper" SSD/NVME, but a lot more durable than most micro SD cards. And it'll have health indicators.

Re: My server is a phone now

#82

"My phone is a server now" would've been better -- > built in battery backup Isn't it always recommended to remove battery if you plan to use a phone or a laptop as a server? ( Fire hazard ) or is it fine to just limit the charging to 80%?

That's what I thought when I read this. It will probably destroy this battery very quickly. But in other hand, it is probably a pain in the ass to remove the battery and do some workarounds to make sure the phone correctly behaves without it.

What you can do, with some extra steps, is have Home Assistant installed (and have a Home Assistant server, I guess!) on the phone and use a smart power switch that's also associated with Home Assistant.

The phone's battery can be reported to Home Assistant, where an automation can be triggered to turn off power to the phone when the battery gets above a certain percentage and turned back on when it goes below.

Not the best solution, but certainly an alternative from messing around with trying to get the phone to work without a battery.

Re: My server is a phone now

#84

"My phone is a server now" would've been better -- > built in battery backup Isn't it always recommended to remove battery if you plan to use a phone or a laptop as a server? ( Fire hazard ) or is it fine to just limit the charging to 80%?

I thought the article would be about something VoIP-related.

Re: My server is a phone now

#85
post #27

I thought this was going to be a rant about QR code menus.

Can you please tell me more? I'm trying to build a self hosted application (with Claude) so people can scan a QR code and place orders / send messages to the kitchen without having to flag down a server / waiter. It is supposed to save time and money for the restaurant and for the patrons and customers it is supposed to be more convenient. Do you not like this option?

I don't think anyone over 30 around me likes that. At that point it's very close to door dashing but less convenient.

Re: My server is a phone now

#86
post #71
post #36

Earlier quoted context omitted.

"My phone is a server now" - OP's choice is a subtle one. By saying "my server is now ..." implies a change of server platform to a phone but not where it came from. Your offering: "my phone is a server now" implies a change of phone usage but does not indicate where the server came from. The article itself tells all.

To me, "my server is now..." implies there was some server, it used to do server things, but now it has been repurposed to do something else. When I read the title, I literally thought "wow, I've seen a lot of people make servers out of old unused phones, but this is the first time I've heard someone make a phone out of an old unused server!"

Agreed, a more appropriate title might be “my server now runs on a phone”

Re: My server is a phone now

#87
post #27

I thought this was going to be a rant about QR code menus.

Can you please tell me more? I'm trying to build a self hosted application (with Claude) so people can scan a QR code and place orders / send messages to the kitchen without having to flag down a server / waiter. It is supposed to save time and money for the restaurant and for the patrons and customers it is supposed to be more convenient. Do you not like this option?

For whatever random reason, all the QR code menus where I live are implemented in a really, really shitty way: unresponsive, with huge latency, making it unnecessarily hard to make a choice. And good luck asking for a modification, like no mashed potatoes please or anything like that.

Re: My server is a phone now

#88
post #45

Earlier quoted context omitted.

> but it's a lot less annoying to just accept a small risk of a house fire. Agree! But do get one or two of those "small automatic fire extinguisher" or whatever they are, that you can attach on stuff, for electrical panels and what not, and put right next to it together with a traditional fire alarm, and you're good to go :)

No extinguisher can stop a lithium battery fire. Putting the phone into a metal box, and the box, onto something not flammable, would help.

Suspend metal box in larger metal box?
Post reply on HN