HNHacker News
TopNewBestAskShowJobs

thrwawy283

231 karma · joined August 27, 2021

submissionscomments
thrwawy283··on Write plain text files
Admittedly, if there's any chance to this I think it will start with tech-savvy assistants helping to preserve documents on the backend of things. When a process takes hold budgets usually get restructured and a dedicated application is contracted around the existing process or data. I'm at minimum trying to prove the value of strict version control in my space :)
thrwawy283··on Write plain text files
Thank you for sharing this. I had no idea it existed! I was getting pandoc cleared at my work, but for the Windows environment that it is, this is another solution :)
thrwawy283··on Write plain text files
Okay. Agree entirely.

I love some of the collaborative nature of Microsoft Teams and CRDT editing Word/Excel, but I'm usually pretty remote. Text over a tenuous WAN connection is ideal.

I work at a government agency and I was /just today/ getting them to review and approve Git and VS Code for our staff use - and pandoc. A couple years ago we never would have gotten open-source software approved. I wish I knew of an equivalent to SELinux or AppArmor for Windows so they could lock down things a semi-trusted application can do. VS Code will be used in a few different departments, but I mostly want it to help those unfamiliar with Git and its CLI (Git Graph is nice).

There's a trick out there to first convert things like Word documents to Markdown, and then do a diff of that intermediate output: https://hrishioa.github.io/tracking-word-documents-with-git/

Pandoc can only do so much. I'm trying to convince my part of the gov to put policy documents we disseminate to staff in a git repo, so we can track who did what and why (based on commit messages). This will be a big step, but thankfully one part of our org is already moving toward version control for IT and data analytics so I'm proposing this and suggesting we hop on their bandwagon. Momentum.

There's a Word template that we commonly use for legal purposes where it gives you line numbers and you write text to align with the numbers. When reviewing it's easy to say "change line 23 to read ....". This - for example - will not translate well through pandoc because the numbers and the text are separate text elements.

There's a market for making pandoc better. Visually translating how elements "flow" from 1 format to another, instead of simply transpiling XML to Markdown.

I'm still excited thinking in a year I might be able to git-blame the legal department for things. Or see a diff from 1 administration to the next.

thrwawy283··on Google Tag Manager, the new anti-adblock weapon (2020)
I think it's going to be important to recognize and block javascript/wasm by the bytecode it compiles down to. As far as I know we don't have this ability to "jump into" the process. ublock or umatrix can't be extended to do this currently. You could send the scripts the browser downloads to an outside service for fingerprinting, but doing this in the same browser isn't possible right now.

This wouldn't completely stop a server from generating code that compiles to slightly different bytecode. Then the move would be to identify side effects of the execution?

Cat and mouse...

thrwawy283··on SpaceX’s monstrous, dirt-cheap Starship may transform space travel
We tend to think investors love to chase clouds. These ideas have existed for a long time, and making them a reality - of course - isn't easy. I tend to believe an investor is looking at how good a company can sell the idea to consumers, even if the tech isn't there yet. The company tricks the consumer - not the investor. People buy the half-finished tech, the company appreciates in value, and the investor very likely planned for this. Maybe the investor is more interested in snake oil than full self-driving automation.

There are stupid investors out there, but they won't be investors for long.

thrwawy283··on Ask HN: Why is Firefox losing marketshare and how would you save it?
I will continue using Firefox because of tab containers, and the Temporary Containers extension. Nothing in Chrome comes close to that, even with extensions like it. It's not total privacy, but it's something every browser should support. I think Chrome has the ability to run separate user profiles from the command line, which is something I hope Firefox can do. I'd love to run "default settings" as one user profile, and my own settings as "here's this paranoid dude". Usually I jump to Chrome or Edge when my privacy extensions get in the way of using a banking website, and I don't want to tune umatrix.

There are 3 things I think Firefox needs to support: CEF, Rust, Dev Tools

Something that gets brought up over-and-over is the Chrome Embedding Framework (CEF?) or the API designed to embed Chrome. Firefox isn't as easy to embed as Chrome, and would benefit greatly if it could be oriented to interface with this API. https://en.wikipedia.org/wiki/Chromium_Embedded_Framework Firefox needs to support being a fast and light applet. Forgive me for saying the words we do not use.

The 2nd is Rust. Rust was the best thing Mozilla could have supported, but instead they axed the dev team and gave it to the Linux Foundation. That's probably a good thing in the long-run. Rust is a really innovative paradigm shift in language design, and it will be so much bigger than Firefox. However, the development of Firefox technologies with Rust should have continued. We were so looking forward to Servo. Chrome is perceptibly faster, but we were on track to wipe the board with memory safety. I personally would use a "correct" browser over a fast one.

The 3rd is dev tools. People develop with Chrome for amazing dev tools. As an easy example, if you look in the Firefox Network dev tool/tab you can add a column to show the value returned with a common response header. In Firefox you can only choose to show these 6-8 headers. In Chrome you can add additional (custom) response headers, for things like X-Application-Whatever. It's very nice to show your application's custom headers in the dev tool window like that. I've been asking for it for a while on Mozilla's bugtracker. I don't know where to jump in and add it myself.

thrwawy283··on Who keeps an eye on clipboard access?
I've always wanted an application dedicated to managing the clipboard. It would provide security and even offer interchange conversion that existing apps do not implement. For example: Copying HTML in Windows it has an associated mime type that receiving applications can recognize and choose to convert from.

I've always wanted a clipboard/paste manager - with history - like this, that would allow me to copy, manipulate, and paste or share that data to another application.

I don't know how this would look, but even the ability to pop open my paste manager and look at the copied contents, filter it, or split the text, or (silly stuff) convert text to emoji'fied content, or take a screenshot of that (text to bitmap), and create a new entry within the paste manager. For some of my friends it would be awesome to have a hex editor in there.

Perhaps there are 2 focuses: Isolating what is copied from applications until the user chooses to expose it, and the history function. Being able to send it to another app for manipulation and pulling it back is a 2nd responsibility. It would be /suave/ to have this all in the same GUI brought up by the compositor, though.

thrwawy283··on Analysis of Magic Leap 2 at SPIE AR/VR/Mr 2022
Just added myself for notification when their kickstarter begins (Simula). I wish they went with an AMD APU, instead of Intel Xe graphics. The youtube gameplay comparisons seem to give AMD a big edge in well... everything. I'll definitely be backing this. I want to play Tabletop Simulator on all of my walls and ceilings. :-)

(Thanks for telling me!)

thrwawy283··on Treasury reconsiders IRS’s use of ID.me face recognition for web
That makes me incredibly optimistic. Thanks for sharing that. :-)
thrwawy283··on Treasury reconsiders IRS’s use of ID.me face recognition for web
Navigate to id.me's homepage, scroll all the way down, click on: "Do Not Sell My Personal Information (CA Residents Only)"

Here's the link target: https://account.id.me/ccpa

ID.me doesn't even have to be loyal to our government. There's no requirement for that.

thrwawy283··on Treasury reconsiders IRS’s use of ID.me face recognition for web
Occasionally I see websites take issue with a odd number of ' because it's creating a SQL statement, and inserting my message/posting in a table within a database.
thrwawy283··on Treasury reconsiders IRS’s use of ID.me face recognition for web
New conspiracy theory: Do all authentication through a private, 3rd party company that isn't beholden to the same restrictions of a government agency. Things like creating a video for facial recognition. Create databases that shouldn't exist for government entity, that the government can then freely tap into with things like the Patriot Act. There would be less restrictions and oversight on who this company can share data with, compared to an agency.
thrwawy283··on Treasury reconsiders IRS’s use of ID.me face recognition for web
In Denmark they actually issue their citizens little RSA tokens for use authenticating into government websites. Of course, there are issues sometimes with desynced tokens but I wish our government took things that seriously.
thrwawy283··on New data shows Americans more miserable than we've been in half a century
The economy did look good under Trump, except when he got on Twitter and started commenting. Did we forget he flirted with a war in Syria? Each time he mouthed off it caused market uncertainty and this was before we even got to covid. He approved oil drilling in protected wetlands that impacted the oil market - and not in a good way - it was thought that this would immediately be reversed by the next administration. Business can't build infrastructure against 4-year opportunities. I hold him entirely responsible for the massive inflation: If we had taken our response seriously from the beginning, and not undermined the CDC's messaging in his press conferences, it wouldn't have cost us so much now. He joked that he wouldn't wear a mask in their first press conference on the virus.

You lost me entirely at the end when you said we should privatize healthcare, protection, justice, law-making... I don't know if you're saying this should be privatised to a company, or a small organization within a township. Either way people have done stupid, hideous things by being sheltered from other communities and with limited resources. I don't want to go back to the days of labor strikes that resulted in company security shooting workers. I look forward to the day my healthcare isn't tied to my employer. I certainly don't want my home owners association deciding on case law.

thrwawy283··on New data shows Americans more miserable than we've been in half a century
I think in normal times this is true.

Bare with me, this is all disorganized:

The last President, and the comments he made, have 3 times lost me over $100k in value from the investments I hold. It's like just waiting to recover from it, and that takes half a year to a year if I'm lucky. I don't sell, I just wait out the dip/depression. It has seriously delayed my ability to buy a house and start the next step of my life. We just saw the stock market dive and I attribute all of it as a delayed penalty to our terrible response to the pandemic and the inflation it caused. I work in emergency management and we waited for a year to begin things like contact tracing because we weren't directed to do it. We have to be explicitly directed by the President. It's purely frustrating that this person who shouldn't have as much direct influence on our lives so directly changed mine. My financial future is another 5 years out. Working so directly for a part of the government that should have helped, and wasn't invited to... well I feel so disgusted with myself. I feel like I let it happen.

My grandpa died this last year. He was vaccinated by the government and it's campaign to roll out Pfizer/Johnson/Moderna. We finally convinced him to go get it, and not 2 months later he died anyway (pneumonia from covid). The last 5 years I'd come home, and much of that I'd visit family. From my grandparents i'd hear nothing but conspiracies. How I'm a "deep state actor" trying to destroy America. My grandfather was 1 of the 1st graduates from Texas A&M and a master Electrician. He was a genius once. He died in a warped reality of conspiracy theories.

My father is the most wonderful father I have ever known. Compared to other dads I've been sure my whole life I have one of - if not - the best dad in the world. He's my moral compass. My mom taught me to be smart and my dad taught me to be kind. My dad isn't racist. Except we routinely have arguments where I'm trying to tell him how there are modern efforts to rewrite history, and make it palatable for people who come from bad times/lineage. No one in the South wants to reminisce. I argue with my dad that the President is an elected leader, and expected to lead by example while not undermining other parts of the same government. My father shoots back that people have to have "personal responsibility" and think for themselves in regards to things like mask mandates and not ingesting bleach. There was very real harm being done by a very public figure. I remember I kept asking my good dad: Do you blame him for 1 death? It was only after the election of Biden that my father began to see some of the harm from Trump. I tell my dad it's not the same, both parties are not the same. I'm employed in a humanitarian agency and even our budget is being attacked by 1 party who would rather put the individual states at risk. They'll cut our budget to make it impossible to operate, then point to us and say "look, it doesn't work!". My dad says both parties are monsters, and the Democrats were the ones to hold slaves. Republicans ended it. It's still a debate - with my dad - if the civil war was about slavery or "states rights". It's impossible to get him to look at the harm being done right now. What is happening now and who is doing it.

This was a disorganized commentary, but I'm so damn tired. Most of my adult life has been spent in wartime. Social services are inching toward something better, but people are dying right now. I have 3 nurses in my family. 2 of them think the vaccines are poison. I was happy to celebrate with the 3rd aunt that hospitals are now required to transparently publish the cost of services and commodities. Another friend of mine has an extreme allergy to nuts. There's now a $35 cap on epipens thanks to the last President. We're making some progress, it's just too slow to help all of us. Everything from social services to education to being overworked to the cost of living to... it's the slowest burn, and there's less oxygen in the room every year.

There's too much power in the hands of the perceived figure head.

thrwawy283··on Rancher Desktop 1.0
I understand what you're saying, but I'm seeking a very particular setup. Currently you cannot get a VM/guest to exclusively control the display panel of a laptop. You can get it to take exclusive control of a GPU, even an integrated GPU, but not the display controller and laptop panel itself. Usually the laptop user is left running an external monitor for their "main display". I did see myself administering pfsense and the separate "services" VM from the web browser.

The best you can do is have the host/hypervisor own the laptop display, and then remote desktop to or "stream out" the guest framebuffer.

thrwawy283··on Rancher Desktop 1.0
I have never heard of this (until now). Thank you! I've been loving NixOS so I hope it's easy to build the world like that. :-)
thrwawy283··on Rancher Desktop 1.0
I have never heard of this (until now). Thank you! I've been loving NixOS so I hope it's easy to build the world like that. :-)
thrwawy283··on Rancher Desktop 1.0
Yes, but I don't consider that easier to maintain. The appeal of a dockerfile or k8s manifest means I can expect some degree of isolation, and easily distribute that experience to others. Getting something to run in Cube OS is more of the VM experience, than container experience. I do like both.
thrwawy283··on Rancher Desktop 1.0
It feels like we're late to create the desktop experience where most things run in containers. My wish is to run something like Proxmox as a "stable base", and within it have a VM for my firewall (pfsense), my primary Linux OS (Fedora/Arch), a VM for services (Docker & k8s), and a VM for Windows gaming. I like the separation of concerns. I've wanted to do all of this on a laptop but I can't get a VM to exclusively take control of the GPU & display controller (overtake the laptop display panel).

For a long while now I've wanted a stable, slim base OS. I actually thought Rancher Desktop was a rebirth of RancherOS: https://rancher.com/docs/os/

I really liked the concept of a "system docker" and a "user docker". I thought Fedora CoreOS had potential to be the first Linux "Desktop" container distro.

Oh well, maybe a desktop distro that aims to containerize all apps is a 2023 thing. Still remember that Steam bug?

thrwawy283··on Graphviz: Open-source graph visualization software
You're handing graphviz a list of relationships. Sometimes you know the ideal way to visualize this is a tree, or something with right angles, but graphviz isn't laying it out that neatly. So you create extra nodes, and edges to those nodes, so that graphviz considers it a "balanced" tree or grid. Then you use styling to turn those nodes invisible (showing just the nodes/edges you want). Once I have this correct I usually contain it within a "cluster", and then link that cluster to the larger diagram.
thrwawy283··on The FSF’s relationship with firmware is harmful to free software users
I just wanted to say I appreciated this comment. You clearly condensed what the problem is, and now I feel like I better understand the situation. It does sound like hypocrisy but in an unworkable, non-starting situation for the FSF.

(Bravo.)

thrwawy283··on Graphviz: Open-source graph visualization software
My graphviz-fu got so much better when I started using invisible objects for the grid-like layouts. At that point you're just using graphviz for positioning/spacing/styling instead of creating the overall topology.
thrwawy283··on Proxmox VE 7.0 Released
I did contradict myself there.

Running some games in a VM within VMware or Virtualbox is detected as such. Running a game in a qemu VM there are some options available to hide that the hardware is within a VM - like how the CPU identifies itself. I'm aiming for the setup where the GPU is passed through from the host for exclusive control by the VM. I honestly don't need this RTX2060 except for games - the Intel iGPU is excellent for webdev.

thrwawy283··on Guide to Firefox Containers (2018)
The real gem is this extension: Temporary Containers

https://addons.mozilla.org/en-US/firefox/addon/temporary-con...

Basically every new tab is a new temporary container. Isolation all the time, by default. It's an added exercise for the reader, but you have to go into the settings of the extension and modify some of the mouse behavior. Basically if I want a link I click to share the same container as the parent, I Ctrl + Click. Left-clicking or middle-clicking is always a new temporary container.

Containers are so much more than cookie isolation.

thrwawy283··on Proxmox VE 7.0 Released
My absolute wish is to run Proxmox on a laptop and have a VM drive the laptop display.

Currently this is not possible.

There are many guides on passing through the integrated or dedicated GPU, but NOT using the laptop display in a guest VM. The host/Proxmox doesn't need the display. I want the guest to own it. No looking glass no spice no gl window no virt-gpu. The VM should directly own and exclusively operate the gpu and laptop display.

My dream setup is Proxmox being very minorly configured - a stable base that's easy to restore. Within it 5 VMs: firewall, primary-linux, rescue-linux, linux-for-containers, and Windows 10.

I recognize most folks are running Proxmox on a desktop but I have a very nice laptop. I want to isolate my firewall into a guest VM (opnsense). I want to run my primary Linux in another guest VM - with the Intel iGPU passed through and using the laptop display. I want to run Windows - when I need it - for games that intentionally disallow VMs. I want to run a separate Linux (Rancher) for containers/development. Finally I want a rescue-linux so if the primary fails for whatever reason, Proxmox would fail over by starting the rescue VM - just something with enough for me to remote into the host/proxmox and fix things. Windows would be viewable from RDP or looking glass. The container Linux would be ssh-administered. Same as firewall or web admin.

I LOVE the idea of Proxmox making it easy to backup/transfer/experiment with different OS's.

Because I can't get Proxmox to drive the laptop display - something not possible on AMD or Intel afaik - I settled on NixOS as the host with explicitly configured everything. Windows in a VM. Docker available on the host. It's the best I can do :(

Someday I hope hypervisors-against-metal on laptops is commonplace.

Seriously: If someone can get the laptop display to work from a guest VM on any laptop I would be so happy. I hope AMD gets this because I am so done paying for baby steps with Intel.

EDIT: Looks like I'm trying this again tonight: https://github.com/patmagauran/i915ovmfPkg

(purportedly a romfile for the igpu that _will_ drive the laptop display)

I've tried it before about a month ago but it looks like I was using the "2.1" release from last year. A few things have been updated in June/July.

← PreviousPage 2 of 2