HNHacker News
TopNewBestAskShowJobs

johnramsden

449 karma · joined January 22, 2017

submissionscomments
johnramsden··on My NixOS Desktop Flow
I've used NixOS, it's a great project and has some benefits that can't be overstated, however if you're going to give it a try completely you kind of have to go down the rabbit hole. You will basically be learning a programming language that will let you configure your system. It took quite a bit of getting used to to understand how the language nix works, as it wasn't familiar to something I had used before. One might not have as much difficulty getting used to it as I did if they are experienced with functional programming, which I've only dipped my hands into before.

I'd recommend giving it a try if you have some time on your hands to get used to it, but you shouldn't be expecting a quick switch.

johnramsden··on Show HN: Zectl – ZFS Boot Environment Manager for Linux
I used to use NixOS, and I do have some of the best ZFS support out of the box I've seen on Linux. I'm not sure if the approach of using zfs boot environments would play well with NixOS considering how they manage the configuration and rollbacks separately. They also manage the bootloader, so I don't know if the changes would survive. Something could probably be set up to work, but it would probably feel as though you were working against the intended way the system should work.
johnramsden··on Show HN: Zectl – ZFS Boot Environment Manager for Linux
loader ZFS integration is really great on FreeBSD, do people occasionally want to use something else? Is that why you would consider looking to support other options? Really would be nice to see loader ported to Linux - I know it was recently brought over to Solaris. Maybe a project for another day...

Thanks for the tip, the temporary mounting seems a bit like a hack so that's good to know there's a better option.

johnramsden··on Show HN: Zectl – ZFS Boot Environment Manager for Linux
Looks to be that's what they have done. They've developed a new tool called `zsys` https://github.com/ubuntu/zsys which will help with system administration, rollbacks, auto snapshots before and after package changes. I believe it will also support boot environments.
johnramsden··on Show HN: Zectl – ZFS Boot Environment Manager for Linux
I haven't tried it myself with encryption, but I can't see it making a difference. The bootloader, and initial ZFS setup will be what needs to be changed to facilitate encryption.
johnramsden··on Show HN: Zectl – ZFS Boot Environment Manager for Linux
In 20.04 they will have ZFS on root with BEs as an install option, looking forward to seeing the first major Linux distro making it available as a default.
johnramsden··on Toddler Password – Get a secure password generated by a toddler
Child labor, contacting Social Services.
johnramsden··on Syncthing: An open source Dropbox replacement
I've been using the syncthing for years, and in my opinion it's so much better than a solution like Dropbox. If you want, everything can be done on your lan, it offers encryption, compression, and the ton of customizability. You can synchronize directories individually, and ignore certain files. It's from a centralized option like Dropbox, since it's not using a single location to store your files, but if you want a "centralized" set up you can still make it work by using a server which all your clients connect to instead of connecting them individually.

Great project and I would highly recommend giving it a try.

johnramsden··on HAProxy 2.0
I've always used Nginx as a proxy, but I've seen HAProxy mentioned, what are some of the benefits of using HAProxy over nginx as a proxy or load balancer?
johnramsden··on Day of the Tentacle
Also one of my favorite games. Such interesting characters and puzzles.

Another gem from this era is Grim Fandango, which also has a recently remastered version.

johnramsden··on Ask HN: What made you change your mind about a programming language/paradigm?
I used to dislike Java, then recently I discovered java streams, and some of the nice features with newer versions like more immutable types. After that I found Java a whole lot more enjoyable to use.
johnramsden··on A chemical so hot it destroys nerve endings – in a good way
As someone with chronic neuropathic pain, there are some times where pain does need to be eliminated in order for you to live a fulfilling life. Not all pain is necessarily related to direct communication, sometimes it's just there for what seems like no apparent reason.

I'm curious as to whether or not there could be applications for people with spinal cord injuries

johnramsden··on Bash Infinity: Standard library and boilerplate framework for Bash
Pretty amazing what can be done with bash, and it looks very impressive. I can't believe all the features that were able to be put together to make using the library essentially give bash all the features of a full-featured language.

However, at the same time I kind of wonder what the use case would be for this. With all the extra syntax it would basically be equivalent to learning a new programming language, at which point it just seems to make more sense to use languages that have these features baked in.

While it looks like a really cool project, I could never see myself using it, as usually when I want to use a shell scripting language I want full portability, and end up writing in sh. When I want to write something more advanced I use real programming language.

johnramsden··on Double Faults
Interesting article about how multiple faults can be handled.

Name should probably be "Double Faults", the website is "Writing an OS in Rust ", but the post is about double faults.

johnramsden··on Pop_OS 18.04: the state of the art in GNU/Linux on desktop
Agreed, after getting halfway through I couldn't finish it as it turned into a mindless rant.
johnramsden··on Keeping a plaintext “did” file
Isn't this effectively what code commits are for? If you've done something worth noting, it should probably be in a commit anyway.
johnramsden··on Python 3 at Facebook
I guess because of a moderator updating the post. As you can see it was posted 17 hours ago https://news.ycombinator.com/submitted?id=johnramsden
johnramsden··on Python 3 at Facebook
Repost of https://news.ycombinator.com/item?id=17413350
johnramsden··on Python 3 at Facebook
I posted this yesterday. Prior to https://news.ycombinator.com/item?id=17417201.
johnramsden··on Python 3.7 released
I love python typing, and have been using it extensively in 3.6. Great to see it in the CPython core!

I've been looking forward to trying data classes, should be nice to avoid unnecessary code.

johnramsden··on NixOS 18.03 “Impala” Released
I was hoping to see declarative user profiles [1] merged into this release, which is the next big future I'm really looking forward to. Too bad it didn't make it in. Looks like it should be another great release though, good to see Nix defaulting to 2.0.

1: https://github.com/NixOS/nixpkgs/pull/9250

johnramsden··on Packaging Wine Application 'Path of Exile' with Flatpak for Linux
I enjoy gaming and occasionally there’s an application I want to run that is unavailable on Linux. Up until now my primary way of dealing with this was to use multiple wine bottles, one for each game. While this provides a little bit of segmentation for applications, it is not a sandbox.

I figured this would be a good opportunity to test out flatpak, and figure out how to package and build a wine application with it.

I'm not actually distributing Path of Exile, or technically even packaging Path of Exile. This package really just contains everything necessary to install Path of Exile.

Path of Exile is not installed until the user runs the flatpak for the first time at which point it downloads the installer directly from their website and runs it. Everything distributed in the flatpak is open source.

Path of Exile is also free to play.

Let me know what you think of the post and if you try the flatpak and have any criticism feel free to leave me a pull request on GitHub.

johnramsden··on Linux Raw Sockets
I'm not sure if you've ever visited https://lobste.rs, but it actually has this built-in - it caches every post. It's kind of like Hacker News except they've made some changes and added a bit more functionality.
johnramsden··on Private Internet Access Goes Open Source
I've been using their service with OpenVPN for years and I've always been very impressed. Them going open source, and ultimately being auditable, makes them that much more recommendable.
johnramsden··on Virtual private networks with WireGuard
Includes a nice description of how WireGuard works on Linux, and how it's different from other VPN implementations.
johnramsden··on Supporting virtual reality displays in Linux
Some interesting ideas for better support for VR under Linux. Looks like there has been a bit of work done related to Wayland as the author mentions, but but the development mentioned in this article was related to X.

I'd love to see Linux be a first class citizen in the VR arena, so it's good to see some people paying attention to it.

johnramsden··on What is Debian all about, really? Or: friction, packaging complex applications
I also use arch.
johnramsden··on Open-source clone of the Age of Empires II engine
Watching the video sure brings back memories. I spent many an hour as a young lad playing Age of Empires, I always loved the sounds. It looks like they did a good job of recreating AOE audio.
johnramsden··on Tar and Curl Come to Windows
Got to love their naming scheme, Invoke-WebRequest url just flows off your fingers.
johnramsden··on Ubuntu 17.10: Return of the Gnome
KDE Plasma 5 is actually at a great state right now. It works well and you can customize it to me whatever kind of desktop you like. Canonical could have made it into whatever they wanted it to be.

It's built on top of a Qt, that works everywhere instead of GTK that just focuses on being there for GNOME. In addition to that canonical has already been using Qt for the past few years and could have just continued on with it. Alas, the decision has been made and they're not going to be changing their mind anytime soon.

Page 1 of 2Next →