Better HN
topnewbestaskshowjobs
Log inSign up

James-Livesey

208 karma · joined Jul 3, 2021 (5y ago) · 83 submissions

Basically, just check me out on GitHub (it tells much more of a story than an about box would): https://github.com/James-Livesey
Submissions

comment 1y ago · link · parent

If anyone's in need of a hexadecimal version... https://jamesl.me/hexle/

I similarly made a binary one before this version, but unsurprisingly, a lot of people said they found it too easy!

comment 1y ago · link · parent

Very neat — been looking for something like this! I've just signed up. Feels great to be part of this little social space!

Just a few questions:

1. Have you thought about adding an API? I can see myself submitting things to this site more if I could somehow integrate it with VSCode so that I can create a new post after having pushed a commit.

2. Have you also thought about adding a comments system, much like we have here on HN? I think that could be useful to allow people to ask questions about projects others are working on. I can see this site almost being like Show HN, but without the expectation that projects are in a finished state. Just wondering what your take is on that though!

3. Would it be useful to have some sort of categorisation functionality (like hashtags)? That way, smaller communities around specific niches (such as game dev, frontend, systems dev) can form and would allow you to see more posts that you're interested in.

These are just a few ideas I have — don't feel that you're obliged to take them onboard as I understand that there might be a certain direction you want to take this site!

comment 2y ago · link · parent

When faced with a similar situation and come up with multiple potential solutions — such as settling for older Adobe software versus creating your own resource-efficient graphics application, I'd definitely take the more creative and fun solution over the quick and simple one! Interesting how people's approaches vary in this way.

(That does change somewhat when doing paid work though...)

comment 2y ago · link · parent

Potato (which uses Uxn) is even more similar to Picotron in that it's like a little desktop environment:

https://wiki.xxiivv.com/site/potato.html

comment 2y ago · link · parent

True, but any competing operating system could just falsely report that it is running x86-64 and therefore trick YouTube into serving high-res content.

Disclosure: currently (as a personal project) slowly building an alternative to Android

comment 3y ago · link · parent

Such an excellent coincidence that it happens to be on my birthday! In fact to celebrate, I did set up the only livestream in existence on YouTube (afaik) to capture this: https://www.youtube.com/live/DN1SZ6X7Vfo

comment 3y ago · link · parent

With mentioning that while I was still interested in programming and even had a Pi before I got my micro:bit, I'd say that the micro:bit did introduce me to microcontroller development.

comment 3y ago · link · parent

As much as the Raspberry Pi is really great for computing education, in my personal opinion, I think the micro:bit does well in terms of setting it up and getting started with it, especially in a school environment when there'll be around 20-or-so of these devices all being used by students.

With the Pi, you have to format the SD card and flash an OS to it, then plug in the peripherals such as the display, keyboard and mouse. While schools will likely have this equipment, having to reconnect all these devices from a school PC can be a chore, especially when it comes to the end of the lesson. Schools would likely also have to issue a lot of these peripherals alongside Pis for kids to use them as their only computer in the house, and that can get expensive.

With the micro:bit, all you need is a computer (which most schools will have), a USB cable (supplied with micro:bits) and a connection to the internet to access the online IDEs. Granted, that does place some barriers to their use at home when kids don't have a companion computing device for coding on.

Despite the micro:bit being limited as a microcontroller with a 5x5 pixel display and 2 user buttons, it does have a lot of on-board sensors that can bring a lot of potential opportunities to students in terms of creating physical projects that Raspberry Pis don't have built-in (you have to purchase external sensors, such as accelerometers, to match the functionality).

That being said, the micro:bit does require a special connector to use its GPIO pins in a DIP format that can be connected to a breadboard (the Pi is better at this due to its GPIO header). And, while the Pi does give a full-blown Linux environment that would have been great for all learners to interact with, the immediacy and portability of the micro:bit does have some advantages for new learners.

I was in fact in Year 5 back when the micro:bit was launched and given out to Year 5 school children, and now I'm an apprentice at the BBC (similar stories exist for the original BBC Micro); so I'd say in that respect that it was overall a good investment from the BBC :)

That's my thoughts, anyway!

comment 3y ago · link · parent

[Disclaimer: I work at the BBC.]

...later on, the BBC made[0] the micro:bit[1], another £15 (well, around £15 back then for the V1) computer to inspire young programmers. Funny to think that little did the BBC know that they'd be creating their own cheap computer.

[0]: Well, the BBC didn't _make_ it exactly — rather, the development and manufacturing was subcontracted to third-party companies (though some people at the BBC were involved in designing the prototypes — I've had a chat with one such person who did some prototype PCB fabrication in his own kitchen). The BBC came up with the initiative, though.

[1]: https://microbit.org

comment 3y ago · link · parent

Of course, yeah Discord is a bit of a closed-source walled garden, but we're considering setting up a Matrix.org server some point soon as an open replacement for our current community.

We currently release all Alpha versions onto our site at https://liveg.tech/os/get, so there's no need to 'wait' as such to try out the system in its current state! As for being notified as to when we'll release the next version, we normally let everyone know through Mastodon, as well as on other social networks such as YouTube and even (dare I say it) Twitter — sorry, I mean X.

But it might be worth us setting up some sort of email-based notifier to let people know when new releases are available, so I'll take your advice onboard!

comment 3y ago · link · parent

We don't have Telegram, but we do have a Discord community — the link to it is at the bottom of the website at https://liveg.tech!

comment 3y ago · link · parent

This is what I've been working on with LiveG OS, whose desktop environment, gShell, is written in HTML/CSS/JS: https://liveg.tech/os

The OS is also designed to run on mobile devices, so there's some cross-platform consistency between the system on desktop and mobile devices.

It's currently designed to run web apps, but the hope is to also include support for typical Linux GTK and Qt apps (or any app that uses Xwindows) soon to aid daily driveability.

The current release can't do much yet, but we'll be releasing our next Alpha version in about a week or two which include a few more useful features on top of what's already available on our site!

comment 4y ago · link · parent

Not to mention Show HN: Atto – BASIC computer that runs in the browser - https://news.ycombinator.com/item?id=27724236 - July 2021 (71 comments) (shameless plug ;D)

comment 4y ago · link · parent

Yeah I understand, there are certainly a lot of interfaces out there that are built on the web and because of all the JS they use, they can feel really clunky. The reason why using the web as a platform for this system is because it is — in my opinion — the most viable tool we have at the moment to build cross-platform apps and services that work on all modern desktop computers and mobile devices from the same codebase (that is, without having to go down the React Native or Flutter route).

I do consider performance issues with the web to be quite serious, which is why I've avoided large JS frameworks such as React, Angular, Vue etc. and have gone for a lightweight one that was made specifically for the project (mainly as an experiment). The results do show: the system is rather responsive on an original PinePhone (and I should imagine is really smooth on a PinePhone Pro due to its much better specs), and you can get to the LiveG OS lock screen within 10 seconds of booting the system in VirtualBox.

But yeah, I do see what you mean by the web being... clunky in general. You say about the web being "fragile" and "a house of cards built on shifting sands", and yeah, the culture around developing web services has largely been to use waaay too many dependencies to achieve simple tasks.

comment 4y ago · link · parent

Oh wow, didn't know that dahliaOS had this! The only barrier that I can see would prevent this from happening for gShell is that web browsers don't support the `webview` element that Electron lets you use (it's basically an iframe but without all the CORS restrictions and the likes, so you can see why browsers don't support it). I suppose one cool side-project would be to set up a service similar to Microsoft's Windows 365 that would stream a desktop environment to something like a `canvas` element — that way, we could get around all the CORS stuff.

Also, yeah what Canonical did with Ubuntu and Ubuntu Touch is pretty cool in terms of convergence (apparently it's really stable, too). I do find having the sidebar UI on mobile a bit odd, but I should imagine that it'd be something to get used to. Phosh and KDE Mobile I think are both convergent, too.

comment 4y ago · link · parent

Ahh yeah I can see how people might think that with the name "LiveG"! The previous name was historically "LiveseyGadget" (my surname + "gadget") a long time ago when I came up with some of the ideas, but for all intents and purposes, this got shortened to the now-official name "LiveG" and the meaning behind the name essentially dropped to be more of an open project.

comment 4y ago · link · parent

<!-- Bit of a plug but is related and might interest people -->

Firefox OS inspired me to build my own Debian-based operating system that uses web technologies for its UI and apps. It uses Electron as the runtime[0] and works both on desktop (AMD64 arch) and mobile (on the PinePhone). It's very much a work-in-progress project and is by no means complete, but it's progressing nicely over the past few months and I'm sure will become quite a complete OS functionality-wise in no time.

Feel free to check it out here if it piques your interest: https://liveg.tech/os

(There's also plenty of videos that I've previously made that showcase some of the key moments in its development: [1])

Capyloon IMO is also an awesome OS platform that achieves very similar goals to this project, and it'll be great to see what they build next within the world of non-mainstream web-centric operating systems!

--

[0]: A tad controversial, I know — but the rationale is that using one Electron app as the desktop environment means that you don't have to run Slack/Discord/Spotify etc. in their own Electron apps; instead, they can run as web apps that share the same Chromium instance. That way, you don't have completely separate Chromium instances/processes running at once, where they'd otherwise all be consuming lots of RAM due to their startup overhead.

[1]: Playlist: https://www.youtube.com/watch?v=pmOR2J9fDZM&list=PL3aAeH1lqy... — Prism is a prototype smartphone that runs LiveG OS, and gShell is the desktop environment.

comment 4y ago · link · parent

Wouldn't it be better for Google to have a "mark as spam and delete future emails" option? That way, your inbox stays clean, spammers have wasted some credit for whatever email marketing service they use on an email that will never be read, and eventually spamming would become futile since emails will be deleted on reception.

comment 4y ago · link · parent

"Tax-payers' money" is often used in the UK as an equivalent

comment 4y ago · link · parent

The SerenityOS browser has tabs (they're hidden when only one tab is open). Ladybird doesn't seem to have them yet (considering it also doesn't have all the other buttons), but I should imagine it's something that would be added.

21.

Assembling a Commodore 64 Program's Machine Code, One Byte at a Time(jamesl.me ↗)

3 points · by James-Livesey · 4y ago · discuss

comment 4y ago · link · parent

This is something I used for the "tweet your BASIC code" functionality in atto (https://jamesl.me/atto)... Trying to fit an advanced BASIC program in a single Tweet isn't too easy, but at least encoding it in Base 2048 beforehand is!

Example: https://twitter.com/jthecoder/status/1412848719737851905

comment 4y ago · link · parent

It's only a requirement for content served inside the UK though; international content (such as BBC.com) is allowed to (and sometimes does) show ads because it's technically not covered by the licensing agreement for the UK.

comment 4y ago · link · parent

Same, but with PowerPoint! It's amazing how versatile the Microsoft Office suite is for purposes other than productivity...

comment 4y ago · link · parent

That's handy, thanks for letting me know! I assume that applications that are resumed from suspension can then continue checking for incoming phone calls and alert the user when necessary, much like how (from my 'experiments' with the PinePhone) pressing the power button to wake the phone will still allow applications to capture the keypress event.

comment 4y ago · link · parent

How can one make the PinePhone detect incoming calls on a regular basis using this method? It looks like the code sleeps for minutes at a time, which is ideal for fetching notifications for IM apps etc. but not for detecting incoming calls (which usually last about 30 seconds iirc before timing out/going to voicemail).

I would assume that suspending and waking, say, every 10 seconds could allow for detecting incoming calls but not be as energy efficient (or in the worst case, more detrimental than just keeping the phone on)?

imo I'd implement this by not suspending (except for some kind of 'battery saver' mode) and just keeping the screen at 0% brightness (which I assume is one of the primary consumers of energy from the battery cell)...

comment 4y ago · link · parent

math/other/idk exactly tbh:

- [bytle](https://jamesl.me/bytle)

- [hexle](https://jamesl.me/hexle)

28.

Show HN: Hexle ­- A Wordle-like game where you guess a 16-bit hex int(jamesl.me ↗)

4 points · by James-Livesey · 4y ago · discuss

comment 4y ago · link · parent

Try tapping on the area where it says "Enter a number" — typically your browser should focus the input there on first load, but if you click off, the placeholder text will be shown instead.

comment 4y ago · link · parent

Thanks! That's partly one of my ideas for the target audience, but of course to get the game's popularity rolling, it's not as easy pitching to CS educators/students as it is posting on Hacker News; so to get the game out there, I decided to post it here for now. Seems Bytle (and the newer Hexle I made about an hour ago) is doing the rounds on Twitter now, so it might become noticed by non-HNers soon!
123