HNHacker News
TopNewBestAskShowJobs

_odey

885 karma · joined November 27, 2019

submissionscomments
_odey··on What's New in Neovim 0.10
"Nvim 0.10 can now use the OSC 52 escape sequence to write to (or read from) the system clipboard."

This is a big deal! (it shouldn't be, but it is)

My main complaints about vim/emacs in the past was at the sheer complexity of getting something that should not even be a concern (clipboard integration) working properly, when other text/code editors did not have this problem at all.

Searching online, it seems like tmux has some nice documentation related to OSC 52 usage:

https://github.com/tmux/tmux/wiki/Clipboard

I will be playing around with this for a bit to understand it more. But honestly, this is the sort of thing that should "Just Work TM".

"VTE terminals (GNOME terminal, XFCE terminal, Terminator) do not support the OSC 52 escape sequence."

https://gitlab.gnome.org/GNOME/vte/-/issues/2495

That's a shame, but I'm not against using a different terminal emulator. Up until now I did not really have a good reason to.

_odey··on Framework Laptop 16 Review
Yes, you are right, no bundling would be best across the board. But Microsoft is doubling down on this, with mandatory TPM requirements and keyboard changes for vendors.

Unfortunately, in practice it's the case that the vendor's advertised support matters.

_odey··on Framework Laptop 16 Review
Framework 13 has an "U" CPU comparat to the Tuxedo's "HS", which is the same as the Framework 16 one.

The Framework 13 laptop is still significantly more expensive than Tuxedo Pulse considering the difference in hardware specs.

I understand the difference is from the customizability features, but don't consider it worth it. I'm happy for people to disagree with me.

_odey··on Framework Laptop 16 Review
It's not about using the preinstalled one, it's about putting your reputation on the line that you are cofnident enough to preistall it and support it officially.

Tuxedo is a Linux laptop, Framework is "just another" windows laptop that happens to work with Linux as well.

_odey··on Framework Laptop 16 Review
Maybe, for my personal purposes it does not. Considering how I use, and intend to use a laptop, I wound not purchase the GPU module.

I'm judging the two as a replacement for my current laptop, and the GPU does not really affect that. The soldered RAM on the Tuxedo Pulse 14 laptop does indeed give me doubts, I'm not saying it's flawless, only that, at least to me, it provides a better overall justification for the purchase.

_odey··on Framework Laptop 16 Review
Honestly, this article ended up being more of an endorsement for the Tuxedo Pulse 14 laptop than for Framework, at least to me.

The price difference between the two is noticeable (more than the 5% geometric mean result) and Tuxedo as a company officially supports Linux in their machines, as opposed to Framework which don't. Yes I know about Framework laptops working with Linux installed, and about Framework drivers existing in fwupd, but Tuxedo actually sell laptops with Linux pre-installed and Framework doesn't; yes that distinction actually matters, it means the company itself is willing to put their name on the line with Linux support.

Sorry @nrp, I did not want to be so negative about the Framework 16, but I do think you have tough competition from Tuxedo in particular and the customizability might not be enough to justify the price difference (at least it is not for me).

Back to the benchmarks themselves, I'd assume the Framework 16 would perform a bit better (at least more than 5%) compared to the Framework 13, I'm guessing there might be some optimisations that could come in the future to improve the results? Maybe it's strength is in longer lived benchmarks because of (supposedly) better thermals, or in performance per watt?

_odey··on HashiCorp adopts Business Source License
Considering this change I want to remove consul from my adoption strategy but I would still like to know of a replacement.

Does anyone know of a similar tool?

I'm interested only in the ability to manage environment variables with a web UI, and have processes restart gracefully on change, everything else consul provides is not of use to me.

Any suggestions?

_odey··on Ask HN: What's the coolest physical thing you've made?
I've drilled a hole in a fridge to put inside temperature and humidity probes, a fan, and a dehumidifier to turn it into a meat curing chamber.

EDIT: if you're in London and you want it, I'm giving it away as I'm moving to a smaller flat. Just message me and come pick it up.

_odey··on Firefox 115 Now Available with Intel GPU Video Decoding on Linux
"Certain Firefox users may come across a message in the extensions panel indicating that their add-ons are not allowed on the site currently open. We have introduced a new back-end feature to only allow some extensions monitored by Mozilla to run on specific websites for various reasons, including security concerns."

https://support.mozilla.org/en-US/kb/quarantined-domains

Tin foil hat on

This will be used by Google to force Mozilla into disabling ad blockers on YouTube (dare I say: SponsorBlock as well).

Tin foil hat off

_odey··on GPT-Migrate converts repos from one lang/framework to another
This is great to hear but I don't fully know how far reaching are openai's claws (since it does require an openai api key).

If it runs 100% locally then yes, it would be safe to use.

_odey··on GPT-Migrate converts repos from one lang/framework to another
Who/what is the:

1. Author

2. Copyright holder

3. Copyright license

...of the code generated by this tool?

Unless the answer to all of these is unambiguously "the original", then you shouldn't be using such tool on any code, especially on your employer's intelectual property.

Sorry to be so negative about it but this is something that I see skipped over in all discussions related to AI. Just because it's AI does not make it immune to copyright law. You're giving away your code to a 3rd party company under their terms and conditions, and receivig some new code back, again under their terms and conditions. The fact that it uses AI under the hood is irrelevant, you're dealing with a business that produces you an output and you should know the terms before submitting anything to them, especially if you don't own that thing.

_odey··on Why Do ML on the Erlang VM?
Not really as I've shifted my focus over the years to other areas of software/business development and left ML behind.
_odey··on Why Do ML on the Erlang VM?
Many years ago I was studying deep learning using this resource:

* http://neuralnetworksanddeeplearning.com/

I decided to try to implement everything from scratch in Elixir (after initially doing all the math with pen and paper on a trivial example to get the feel of it). Obviously pure elixir was extremely slow, so I started creating NIFs to pass over matrix multiplication to OpenBLAS. Then I was thinking more and more of what things I can pass to C code and just have Elixir as a "frontend" for it. My enthusiasm died down when I realised I was simply implementing things in C with the pretext of "doing elixir", a nice learning experience but I could see I was not doing the things that initially got me pumped up.

Don't get me wrong, I loved the discovery part of it, reading research and trying to understand so I can implement the different new (at the time) deep learning techniques, like convolutions, LSTM, and the different nuances of it. I think it gave me a better understanding of how things work and why it works. But it deviated from the initial scope and I lost interest once the learning phase was over and I knew I could simply use tensorflow or pytoorch as I did not actually need the advantages BEAM offers for this type of workload.

Code is still available here:

* https://gitlab.com/sdwolfz/experimental/-/tree/master/exlear...

_odey··on Ruby “Ractor” reconsidered: 2nd progress report of MaNy projects by Ko1 [pdf]
These is another reason Ractor is not used: it's an experimental feature that logs a warning the first time it's called. If core developers desire gems to start adopting it, then they have to at least advertise it as stable enough and remove warnings.

I've tried to implement some functionality around it and reported issues. In my care it's just the lack of time that keeps me from completing the work.

_odey··on Fish Folk – open-source Bevy game
I suggest to take the same approach as https://shatteredpixel.com/ and sell it on Steam et al. while still having it FOSS and available in a git repository.
_odey··on Employees at Apple’s first unionized store want tips from customers, 10% raise
My guess would be between 6 months and 2 years.
_odey··on Pixies keep switching off my morning alarm, says Google Pixel owner
I think you can delete it by connecting with adb and uninstalling the apk.
_odey··on Scrcpy: Display and control your Android devices connected over USB or TCP/IP
You can also use this tool to take a screenshot of an app that normally does not allow you to.

Useful if the app has QR Codes that you want to have on hand even if there is no internet connection (like Tesco Clubcard)

_odey··on Brit cops rapped over app that recorded 200k phone calls
This one?

* https://gitlab.com/axet/android-call-recorder

I tested it a few months ago, but since I don't do phone calls any more I don't know what today's status is, if it's still working or not.

_odey··on Ubuntu stops shipping Flatpak by default
Another snap failure story:

    You install chromium-browser through apt

    Chromium gets installed through snap

    You go to a PWA to install locally (like M$ Teams)

    The desktop entry is saved with a path hardcoded to /snap/chromium/1234/... (1234 is the id)

    You update chromium, either intentionally or automatically, the ID changes

    Now you can't access your PWA anymore unless you edit the desktop entry and change the id or replace it with `current`.
Such horrible user experience for no positive gain. And this is not a Linux problem, but an Ubuntu problem. Yet there is no difference in the eyes of people because "it's their Linux that broke...".

Bad user experience, bad implementation, bad decisions, and bad reputation to the wrong target, just because Canonical's Ubuntu is the "default" Linux.

_odey··on Ask HN: What is the good open source test case management tool?
In the distant past I've worked on a fork of a Redmine plugin for such an use-case:

* Redmine: https://www.redmine.org/

* Plugin: https://github.com/marius-balteanu/redmine_redcaser

My opinion: It's not worth it to try to stick all possible functionality into one tool. And the plugin architecture in general is horrible if the plugin is not maintained by the same group as the core since support will end quickly when the plugin maintainer goes away, or the core having too many breaking changes between major versions.

Advice: get a dedicated tool. Whether paid or self hosted it should be made specifically for test case management, and stay away from any tool that has a community plugin architecture

_odey··on Firefox Android now supports Tampermonkey
More importantly for me at least, ClearURLs. Now I can share nice stripped down Amazon links.

Never used Tampermonkey before.

_odey··on Rails on Docker
I have my own local development Rails setup and template files that could be dropped in any project with minimal changes (mostly around configuring the db connection)

- https://gitlab.com/sdwolfz/docker-projects/-/tree/master/rai...

Haven't spent the time to document it. But the general idea is to have a `make` target that orchestrates everything so `docker-compose` can just spin things up.

I've used this sort of thing for multiple types of projects, not just Rails, it can work with any framework granted you have the right docker images.

For deployment I have something similar, builds upon the same concepts (with ansible instead of make, and focused on multi-server deploys, terraform for setting up the cloud resources), but not open sourced yet.

Maybe I'll get to document it and post my own "Show HN" with this soon.

_odey··on Apple is no longer part of Glassdoor’s 100 Best Places to Work ranking
> if you want to look at their data, you have to put in some details about your own employer

You can bypass this by selecting a random company, Glassdoor even ;), typing in a random sequence with some spaces sprinkled in as your "review", and that's it. They will dismiss your review but that won't matter anyway; you got in, you can see all data, and you gave them nothing back (or did not dox yourself).

_odey··on Firefox lost ~16M users since last year
And I have a bunch of friends that say it's because it lacks the profile functionality and they can tolerate the speed.

It's not the only issue Firefox has, but it's the highest impact, lowest effort one they have. Performance improvements are hard, PWA is hard to implement. Putting a better UI on existing functionality is simple by comparison. They could score an easy win here, but they choose not to.

_odey··on Firefox lost ~16M users since last year
Having separate accounts, bookmarks, history, state, and extensions for:

* My personal usage.

* My professional usage.

* Each individual client I contract for.

* Testing out extensions.

* Local development playground.

It's extremely convenient to have all of this be just 2 clicks away the way Chrome has it, simple and intuitive to use.

I have all of this in Firefox as well, but it's not as easy to set up and use, difficult to navigate and hard to look at. Plus links always open in the default profile instead of the last active one so I always have to copy things around and shuffle windows. I can deal with this, other people don't and won't. It has to Just Work™ like it does in Chrome. They use Chrome because that's where it's easy. And because of that Firefox looses potential users.

_odey··on Firefox lost ~16M users since last year
Neither did I for 10 years until I discovered the concept. Then I started making use of it and liked it. Same for everybody else around me, they either already knew of profiles and used them, or started using them once they learned about them.

Thing is, they used them in Chrome, because that's where it was easy and obvious to do. And since Firefox does not have an equivalently easy and obvious workflow, they keep using Chrome, and teach others as well to use Chrome. Reason why the drop in numbers happen.

_odey··on Firefox lost ~16M users since last year
I think we're discussing different things here.

Profiles are entire separate namespaces at the browser level. The login functionality Chrome has is an extra piece on top, that ties your profile to your Google Login.

I too obviously hate that functionality, but it's unrelated.

_odey··on Firefox lost ~16M users since last year
Yes, obviously they did! they keep denying the importance of implementing things like this:

https://bugzilla.mozilla.org/show_bug.cgi?id=1542189

https://connect.mozilla.org/t5/ideas/shortcut-for-different-...

Even if it's a highly requested feature, minimal effort, high impact, and something users expect to Just Work™, just like it does in Chrome; it's still getting ignored.

And all they have to do is copy what Chrome does 100% exactly the same, no effort to design something new. They have all the functionality already in place, under about:profiles, it just needs a nice UI on top, and to open new links in the "last active profile".

When a user sees this does not work like it does in Chrome, and they have to struggle to achieve the same functionality with a worse workflow and a hideous UI, they will simply claim the functionality does not exist and carry on with their life using Chrome. They will not bother to search and install the extension that does this for them, that's simply not a realistic expectation to have.

I can work around this because I appreciate the other things Firefox has more than the effort I put into profile management. But I'm tech, and highly tolerant of things like this. Normal users aren't, the simplest inconvenience will throw them off for good.

If something Just Work™ in Chrome then it has to Just Work™ in Firefox as well.

This was just one example, probably the most obvious example of them all.

_odey··on System76 AMD-Only Laptop Returns
This user in another post here has encountered issues. It looks like you were the lucky one.

https://news.ycombinator.com/item?id=34363615

← PreviousPage 2 of 8Next →