HNHacker News
TopNewBestAskShowJobs

andrewmackrodt

251 karma · joined April 1, 2018

submissionscomments
andrewmackrodt··on Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux
Sadly no, my Ryzen doesn't have an iGPU and I only have the one dedicated GPU. VMware's software? acceleration is partially useful however, there are some bugs requiring disabling transparency in Windows but various Direct X programs run mostly acceptably. I find it the best performing of the 3 setups when using GPU passthrough is not available.
andrewmackrodt··on Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux
If anyone tries running Photoshop under Windows using this and has good performance please tag me in a comment. I've migrated several times from Qemu, VirtualBox and settled on VMware player (for non commercial usage).

I found that to be the "best" performing, although still leaves a lot to be desired and having to open the application, manually sign kernel drivers and then reboot after every kernel upgrade is a little tiresome.

andrewmackrodt··on “A calorie is a calorie” violates the second law of thermodynamics (2004)
In my personal experience, consuming a deficit below TDEE without concerning macros isn't enough to consistently achieve my weight loss goals.

I track everything using myfitnesspal and there's a strong correlation in my weightless during periods where I make an effort to consume around 30% of calories from protein. During less strict periods, my protein intake is usually around 20%. While my calories consumed remains the same, the higher protein diet is far more effective for weight/fatloss.

andrewmackrodt··on Mozilla has defeated Microsoft’s default browser protections in Windows
This used to happen to me with the quarterly? version increments but hasn't been the case for a couple of years now. I even upgraded from W10 to W11 and was pleasantly surprised that grub was left intact, i.e. as the default boot manager.
andrewmackrodt··on Improve Docker performance on macOS by 20x
From looking over your Vagrantfile it looks like the project files are mounted from the host into the VM so ssh would only be required for tunneling to the db connection? (Although that can also be avoided by exposing a port or using bridged networking).

The biggest issue I've found with this kind of setup is that file change events from the host don't cascade to the virtual machine using VirtualBox's shared folders. NFS handles this better (still seconds delay based on cache values) but that is then a problem for Windows users.

It's been a few years since I switched to using Linux natively so my knowledge on Docker for Desktop Mac mount strategies may be out of date, but at one point docker introduced options such as :cached and :delegated which can have a considerable improvement to container file access speeds. Additionally, I've heard of people using mutagen and nfs for significant improvements, but I've never tried that setup. Here's a long discussion about it: https://github.com/docker/for-mac/issues/1592#issuecomment-6...

andrewmackrodt··on Windows 11 available on October 5
I think they want a vertical bar versus horizontal, I prefer this setup for laptops too, e.g. I have the dock on macOS on the left and Ubuntu/Gnome it is the default. It makes a huge difference when vertical screen estate is at a premium, as is the case with many laptops.
andrewmackrodt··on I switched from macOS to Linux after 15 years of Apple
> Do you know if access to Docker volumes is faster or slower on WSL2

If your files are stored within the VM itself, WSL2's access to them is effectively native. However accessing the files from Windows requires going through the \\wsl$ (P9) network share. This presents problems as Windows isn't going to receive file notification events if you do something like `git checkout`. Additionally, if your project utilizes symlinks, Windows only sees them as an empty file.

Users of VS Code largely will not encounter these problems as running `code` from within the WSL layer will start a remote server, it's seamless, that's genuinely very cool. However, if you use anything else, I've found it to be problematic.

The "best" solution I arrived at (other than dual-booting Linux, which is totally worth it!) is to install `xorg-server` from cygwin, install my IDE of choice in WSL2 (IDEA) and use X11 forwarding. This way the IDE has a relatively real-time view of the filesystem, receives notification events, symlinks work, chmod is preserved if using safe-writes etc.

If you need to use bash (and other tools not provided by Git Bash), cygwin is a useful addition. You can also use `mklink` from cmd/powershell to create a directory hardlink to the \\wsl$ folder if you need to copy things into WSL (although it's easier to access /mnt/drive from WSL2). Either way, I've found any direction of crossing Host/VM filesystem boundaries to be slower than WSL1's approach.

andrewmackrodt··on I switched from macOS to Linux after 15 years of Apple
This is true if you put your code in the Hyper-V managed WSL2 VM but now you have the reverse problem of WSL1, i.e. access via Windows P9 is slow and things like symlinks do not resolve whatsoever (on the Windows side).

In WSL1, access to files on the Windows host is far quicker than WSL2 and symlinks work everywhere.

To try to counteract this, I opted in to the insiders dev channel recently to try the upcoming X11 support, i.e. run IDEA inside WSL. While the performance is quite good, it's broken, e.g. try using find in project, the window disappears immediately 9 times out of 10.

In many ways, I found WSL1 more useable as I could use one shell for both the Windows and WSL filesystems with reasonable performance. I now use cygwin if I want to use gnu linux type tools on Windows.

Once the X11 support matures it will be a pretty good experience overall if people are willing to install things like IDEA in WSL, I'm looking forward to that.

andrewmackrodt··on The time Pepsi got sued for a $33M fighter jet
Oops, I did indeed, 70m cents.
andrewmackrodt··on The time Pepsi got sued for a $33M fighter jet
Something about the article is off. If purchasing a point costs 10 cents and the jet requires 7 million points, his cheque would need to be for $70,000,000, not $700,000.
andrewmackrodt··on Screw You, Microsoft Edge
Same as experience here, i.e. it's not a popup but an icon in the address bar which needs manual user action to trigger (it also supports voucher codes).

I do not like the feature, but it's not as UI intrusive as the article suggests; it is however privacy invasive. Despite disabling multiple edge features related to telemetry, this is a new default-on option.

I like Edge enough that it's my default browser on Windows, Android and secondary to Firefox on Linux. However, one or two more features like this and I may use something else.

andrewmackrodt··on I went to the office for the first time. I fucking hated it
Throughout my career I've found Thursday is consistently "the day" when work people are most likely to go out together. In some places it may have been because the last Thursday of the month is payday, but largely I believe it's because the majority of people are likely to have commitments with other friends, partners, children etc on a Friday.

I'm also in favour of Thursday as the mandatory day if I need to be in the office as the last day of the week to do release management, e.g. minimise the risk of a bad deployment on a Friday affecting someone's weekend.

andrewmackrodt··on Windows Hello bypassed using infrared image
Windows Hello does require an IR camera AFAIKA, so a "basic webcam" is not enough. However, it's not clear if this exploit would still work if the custom USB device presented a moving IR video as opposed to a static image.
andrewmackrodt··on IndexedDB is completely broken in latest Safari
Apple have 13" models so it's fair to include in comparison IMO.

Maybe things are better when comparing the 15" XPS vs 16" MBP but I believe the WiFi chip and precision touchpad hardware/drivers are the same. The shipping of "incomplete" BIOS(es) and coil whine are also applicable AFAIK.

andrewmackrodt··on IndexedDB is completely broken in latest Safari
Thanks, I've updated the comment to have extra new lines for readability.
andrewmackrodt··on IndexedDB is completely broken in latest Safari
I have an XPS 13 2-in-1 (late 2019) which is hardware wise very similar to the XPS (standard) and the issues have been numerous:

(on mobile and list formatting seems to have single lined, sorry if hard to read)

- Coil whine when connected to AC and IO happens

- Shipped with only S2 (connected standby) support. Battery in sleep would not last more than a day.

- Battery discharge even when fully powered off, do not expect to leave it unplugged for a weekend and it be usable

- Ill thought out microSD card slot, I ended up getting a card wedged between the chassis and bottom of the card reader, scratched the card pins and made the card inoperable

- Buggy Killer WiFi drivers, requiring toggling the adapter off and on

- Poor thermal performance, after seconds of my i7 running turbo(ing), base clocks reduce to 1.3GHz resulting in compilation or any heavy workload taking 3x as long to complete as my 2014 MBP with and i5

- Fan noise, it is almost always on and very audible, even in office conditions

- Lack of care from Dell around their Windows precision pad, e.g. small scroll movements do not scroll in non-"modern" apps such as task manager, or just about anything that is not Edge

Those are just a few points I've picked. I previously had an XPS 13 (standard) in 2015 and issues such as coil whine still existed then.

Additionally, the configuration options are unnecessarily restrictive, at least in the UK. I wanted 32GB memory so had to get the i7 model which is only available with the 4K panel option. Battery life is less than 4 hours.

My specification cost £2200 which is MBP territory but it doesn't feel on the same premium level as a MBP (or now, the incredibly attractively priced M1 MacBook Air).

On the positive side, I mainly run Ubuntu and aside from non functional camera and fingerprint reader that works pretty well, including thunderbolt docking. Although it took about a year for the Ice Lake GPU drivers to become stable and S3 eventually found support, although closing the lid does not always put the system to sleep.

andrewmackrodt··on Framework Laptop – pre-orders are now open
This looks very impressive, high specification available, 3:2 high resolution screen, but with a "sensible" resolution where it should be comfortable to run at 100% scaling and the customisability of the IO ports is very unique.

Depending on the Linux compatibility of these I will definitely be interested once there are GB keyboard layouts available.

andrewmackrodt··on The brain ‘rotates’ memories to save them from new sensations
I had trouble at first too until I noticed the ear looking a little suspicious. If you create a diagonal obstruction from the top of the hat, to the nose, you are left will only the mother-in-law; the ear has now become an eye.

Once I'd seen it once, the mother-in-law is now prominent. I can still see the wife if I concisely choose to, but the mother-in-law is now the default, strange huh?

andrewmackrodt··on Onboarding with an M1
I have the XPS 13 2-in-1 and the thermals under Windows leave a lot to be desired. It's possible to apply a small undervolt and increase the Intel turbo limits which significantly improves performance while being able to run with the balanced fan profile. If anyone wants my ThrottleStop config I can upload it to pastebin.

I run Ubuntu day to day and it has much better performance and less fan noise (presumed better thermals) than Windows.

andrewmackrodt··on Man who thought opening a TXT file is fine thought wrong
Firefox under Linux works fine for me too. I was able to reproduce in Chrome and Edge (Preview).
andrewmackrodt··on Valve's Proton Has Enabled 7000 Windows Games on Linux
I've experienced similar in Windows, where the remote controller does show up but both players become Player 1. However, the stream itself always works and doesn't with proton, although it's been months since I've tried.

True though, this functionality could do with fixing on the Windows side before we can expect it to work via proton.

andrewmackrodt··on Valve's Proton Has Enabled 7000 Windows Games on Linux
Proton is a very impressive project and works with many titles that I've tried. For anyone not well acquainted with it and wanting to try games not part of Steams official compatibility list, look at https://www.protondb.com/, think of it as similar to Wine DB. For unsupported games, I usually use GloriousEggroll's custom build: https://github.com/GloriousEggroll/proton-ge-custom. This "fixes" many games, especially if they use videos in cutscenes and many other things.

There are some features that I was never able to get working correctly, e.g. remote Steam Play with Streets of Rage 4 where my friends stream would not load up or controllers would not map, but for single player gaming, this would not be an issue.

Performance is (to be expected) less than Windows and games can exhibit graphical artifacts or crashes but it is not bad enough really complain about given how amazing it is that this exists in the first place. I will often put up with these (imo) minor defects than boot to my Windows install. Steam cloud sync even works correctly for keeping your save data between OS'!

One thing to be aware of that I don't see people mention (maybe because it's a niche setup and game dependent), is that using fractional scaling can completely mess up some games display, I believe due to how fractional scaling uses a framebuffer larger than your real resolution. Make sure to set your scaling to 100% before launching games which have this behaviour, e.g. Tekken 7.

andrewmackrodt··on WSL Hello Sudo: Face Recognition of Windows Hello on Windows Subsystem for Linux
I used Windows Hello for about a year with a Razer Stargazer (IR Camera) and was always impressed with how quickly it was able to auth me, no matter if I was wearing glasses or not. Less than a second for me too, and that camera does not have the fastest start time, from camera init to capturing from both RGB and IR cameras.

At first I was skeptical about the usefulness of such a feature given my password doesn't take long to type, but it turned it to be a feature I really enjoyed.

andrewmackrodt··on Spotify announces HiFi, a lossless streaming tier coming later this year
As someone who mainly consumes Spotify using Bluetooth headphones supporting AAC (and one pair LDAC) but none Vorbis, I may end up subscribing to this.

While it's arguable that there'll be no perceptible difference listening to 320kbps Vorbis versus "HiFi" on a dedicated device, I imagine there could be a difference when transcoding to AAC. Time will tell.

andrewmackrodt··on Linux touchpad like a Mac update: Firefox gesture support live in nightly
If you run Gnome and Wayland it's possible to configure universal 3 finger gestures using an extension, e.g. I have back and forward configured via extended gestures, this works in Nautilus, Firefox and any other apps that have bindings for back and forward.
andrewmackrodt··on Viral 'I'm not a cat' filter is decades-old software
I found this out with my ASUS motherboard on my desktop. There's a UEFI option which bootstraps an automatic installation of their own software called Armory Crate which then invokes itself to install a load of "junk".
andrewmackrodt··on Is it better to use cat, dd, pv or another procedure to copy a CD/DVD? (2015)
Do any of the tools mentioned in the title support audio and/or multi-session disc formats? AFAIK dd is not suitable for these purposes (although the original author mentions they wish to create ISO images so presumably they only care about single session data).

Windows had a lot of great disc software in the 90s/00s which would handle just about any disc format one would encounter, e.g. Alcohol 120%, CloneCD, Disc Juggler. Some of these were capable of backing up the various protections of the time such as SecureROM and Starforce.

dd is a powerful tool but I often find it the "wrong" tool, e.g. is it desired to clone a 2GB partition layout to a 128GB usb stick for a live CD and have to manually edit my partition tables myself?

andrewmackrodt··on Rust for Windows
You can still accomplish this with the cygwin packages xorg-server and xinit. You can then export DISPLAY=:0 in your bash shell and have working OpenGL, e.g. glxgears assuming you have the necessary packages available in your "remote" session/WSL. Here's a GitHub gist I use for this: https://gist.github.com/andrewmackrodt/b53943185bbbd804ef4b0...
andrewmackrodt··on Signal AppImage for Linux
It can be possible, JetBrains Toolbox seamlessly auto updates but I'm not sure how they achieved it. On the other hand, maybe it is not so easy, I wish use the rpcs3 AppImage and have never had success with it's built-in update feature.

The AppImage documentation mentions auto updating an electron-builder image is possible: https://docs.appimage.org/packaging-guide/optional/updates.h...

andrewmackrodt··on Cyberpunk 2077 – Our Commitment to Quality (Apology and Retrospective)
In my experience, a 3080 and PCI-E 4 NVMe is not enough to mitigate all bugs, it's certainly better than console videos I've seen on YouTube but many bugs seem to stem from the game engine itself.

In no particular order: - cars drive on rails with no AI, this leads to an amusing bug on one of the highways where cars clip through a railing and destroy themselves, repeatedly - NPC's often get stuck in t-pose, the game either cannot work out what to do with them or animations were not completed - the game rarely maintains state of cars and NPC's if they're not visible (e.g. turn around 180 degrees), this can result in cars spawning where your car is while in motion - unbalanced perks such as the body perk which stops enemies from knocking you over has the unintended side affect that a minimal hit and run by an NPC vehicle on the player character results in instant death because you cannot be knocked over - enemy characters path finding failing and clipping through walls, I had to restart a section of the Panam ending 3 times because of this - delayed physics calculations resulting in the player either moving at superhuman speeds or being catapulted through the environment - the number of times my player became naked

There are many more bugs I encountered which I do not imagine to be related to loading times. In addition to the bugs, the game is simply incomplete, the lack of police AI (they instantly spawn behind you and are never seen driving vehicles) being the easiest example to provide.

This is not to say the game cannot be fun, I've put nearly 100 hours into it, but even after the 1.06 patch, I feel cheated by CDPR. The game is so full of bugs, glitches and missing game mechanics (compare what we got compared to their 2018 45 minute gameplay teaser) that it should have been delayed.

As it is, I feel that I've paid £50 to be an alpha tester for what I believed to be a completed retail game.

← PreviousPage 3 of 5Next →