Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Yeah ‘old phones’ are pretty capable devices.

    I’ve wondered for a while if they could be used as an extension to your laptop like the old 80s PCs where you would plug in hardware.

    So ‘make it a server’ is the obvious way I guess, and then you could do things like render webpages on there and then stream them as images to your actual computer (like the now shutdown Mighty app), or run ffmpeg on there to convert a video, etc

  • I work in a place where we have about 100 phones in a server room that we use for automated testing of mobile apps. A few phones get chucked out every year due to bloated batteries. We’ve even had one or two explosions. We have them well cooled now and in fireproof containers. We try to do some power management like automatically discharging them every once in a while etc…
  • Nokia went through a phase in around 2006 of seriously believing the future was people liveblogging and serving it over 3G from Symbian based Series 60 devices. This was based on "Apache Raccoon" https://sourceforge.net/projects/raccoon/files/raccoon/PS_1_... which was a port of Apache to Symbian, and a port of Python for scripting, complete with the ability to write multithreaded code (GIL excepted) using Symbian Active Objects.
  • I still think the best bang for your buck is an old desktop PC. Something like an i5 with 8GB RAM and an SSD will suit 99% of home server uses with capacity to spare.

    Even in this environment of inflated hardware prices, you can get one for a reasonable price.

    Although I do see the appeal in getting unconventional hardware to do what you want, just for the love of the game.

  • FYI you can't do this on phones with locked bootloaders as well as the author did. you could use termux but if termux runs on anything lower than android 8 termux will be significantly limited and you will need postmarketos and maybe fix support for it. with termux, at best things will be slow without root, as the author mentioned rooting resulted in a speed increase.

    without root, you also can't bind to ports on any android phone, and rooting often requires an unlocked bootloader and not all android phones support bootloader unlocking. You also need an unlocked bootloader to install postmarket os.

    so without binding to ports you can't run a web server unless you run it through a proxy server which the author did, or containers at native speed on postmarket os because you will not be able to flash the phone with postmarket os if you have missing kernel syscalls on android nor root the phone for the speed increase on android depending on your android kernel version i assume.

    so with android containers may or may not work without emulating x86, and without root chances are it will be slow specially if you are forced to emulate it as x86 because it turns out you have missing syscalls, nor root to make them faster if they exist on android. again no chances to install postmarket os nor rooting to make containers faster, without bootloader unlocking.

    not all android phones can have their bootloaders unlocked unless you find an exploit. https://github.com/zenfyrdev/bootloader-unlock-wall-of-shame

  • In true HN fashion, a surprising amount of the discussion ended up being about the title.

    Turkish is my native language, and its sentence structure is pretty different from English, so that occasionally sneaks into how I phrase things. I can see why “my server runs on a phone now” is less ambiguous.

    Anyway, I’ve enjoyed the accidental linguistics thread :)

    by seg6
  • "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%?

  • Side comment about the difference between “My server is a phone now” and “My phone is a server now.”

    In linguistics, the terms “theme” and “rheme” refer to the status of information in a sentence [1]. The theme of a sentence is something that is known or can be assumed from the context (that is, old information), while the rheme is information that is newly introduced in the sentence, often as a comment on the theme. The tendency in many (most? all?) languages is for the theme to precede the rheme in connected discourse.

    Without context, a reader is therefore likely to assume from “my X is a Y now” that X is something the writer had previously and that Y is something new. Because most people have a phone but few have their own servers, I was initially confused by the title “My server is a phone now.” I had to read the article to realize that the word order is in fact appropriate: for the writer, the server is old information (something he has had for a while) while the phone (as a server, at least) is new.

    In English, theme and rheme might be inferred not only from the position in a sentence but also from how a noun is marked. Possessives like “my” are generally used before nouns referring to things that are previously known or assumed; the definite article “the” is similar. In contrast, the indefinite article “a” (or “an”) usually marks information being newly introduced, so it is more common with rhemes.

    I worked as a Japanese-to-English translator for many years. Because the grammatical structure of Japanese sentences is very different from that of English, sentence-by-sentence translation often ends up with paragraphs where the information flow is awkward and unnatural. I gradually learned that I could produce smoother translations by reorganizing my English sentences into an old-to-new information sequence.

    [1] https://en.wikipedia.org/wiki/Topic_and_comment

Explore Birbla archives