HNHacker News
TopNewBestAskShowJobs

beanaroo

91 karma · joined December 18, 2019

submissionscomments
beanaroo··on Ten lines of code that changed my world
Another fun one for a bit of shenanigans:

  #define true ((rand()&15)!=15)
beanaroo··on Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
We have tried reaching out to their sales multiple times but never get a response.
beanaroo··on Nyxt: The Hacker's Browser
Surfingkeys is my preferred extension
beanaroo··on Crystal 1.11.0 Is Released
Not exactly the same but various basic HTTP server implementations are presented at https://rosettacode.org/wiki/Hello_world/Web_server
beanaroo··on Apache Open Office as an unmaintained project?
Additionally, there is https://github.com/ONLYOFFICE/DesktopEditors

I personally find it a bit easier to use with better docx support.

beanaroo··on So You've Decided to Move from Unity to Unreal Engine
What happens when your business has a portfolio of products/services over multiple departments, spanning various platforms, and only one consumer mobile app uses Unity for an augmented reality component that's not a core offering (premium feature)?

Should Unity still be entitled to the same cut?

beanaroo··on JSON Schema Store
I like to use zod for Typescript and Pydantic for python.

https://github.com/StefanTerdell/zod-to-json-schema

https://docs.pydantic.dev/latest/usage/json_schema/

beanaroo··on Making Figma better for developers with Dev Mode
This looks really awesome. Are there any plans to support teams that do not use VS Code or GitHub?
beanaroo··on Reddit Strike Has Started
I can no longer access subreddits I have been subscribed to. They are also no longer listed in my subscriptions.

Private subreddits are indeed invitation only

beanaroo··on Kanboard: free and open source Kanban project management software
I can also recommend https://www.focalboard.com/
beanaroo··on “Don Knuth Plays with ChatGPT” but with ChatGPT-4
The most elegant is certainly sleepsort. Maybe not the most efficient, but definitely elegant.
beanaroo··on Advertise on DuckDuckGo Search
For coding problems that DDG can't answer, I've been falling back on phind.com instead with reasonably good results.
beanaroo··on Ask HN: What's on your home server?
I use Cloudflare to proxy a number of self-hosted HTTPS services, which is great.

I still haven't found a solution to obscure, geo-filter and WAF arbitrary TCP/UDP.

Spectrum Enterprise seems like it is capable but not really the answer for a personal server that handles megabytes of traffic a day.

beanaroo··on Ncdu – NCurses Disk Usage
btop instead of htop instead of top
beanaroo··on Thunderbird Supernova Preview: The New Calendar Design
This looks great!

One minor thing I'd like to see, and I don't know if this is to do with the underlying calendaring spec, is the differentiation of physical location and online meeting.

Some events may have both and I have found the "Join" buttons on desktop notifications for Outlook/Teams to be pretty convenient.

beanaroo··on JetBrains – Addressing the New UI Comments
I really prefer the new look. I don't need or want labels in my field of view all day for buttons that I learned the purposes of years ago. If there's a new icon I don't understand, I can simply hover over it for a second.

I tend to rely on keyboard shortcuts and fall back to Search Everywhere (double shift), so the first thing I do on a new install is hide the menu bar.

I find the extra bit of whitespace helps with less travel and accuracy when switching to mouse.

The new UI has been a net positive in my personal experience.

beanaroo··on Dear JetBrains, Don't mess with your UI
I haven't really used VSCode, so I can't really compare, but as a long time user of JetBrains IDEs I too really enjoy the new interface.

I mostly use keyboard shortcuts and when I don't know the combination, I rely on the Search Anywhere (double shift) and Run Anything (double ctrl) functionalities.

I find the new UI less distracting and the new VCS menu is a nice addition.

I also wonder how much technical debt has accumulated in the previous UI that is being addressed by a refresh.

beanaroo··on Codeberg: A GitHub alternative from Europe
Also proprietary and relatively new on the scene:

https://www.jetbrains.com/space/

beanaroo··on New XPS 13 Shows the Price of Going Too Thin
I have a 9550 and I remember the battery recall.

They called me, explained the issue, and offered to either pay for shipping them my laptop or to ship me a battery with instructions on how to swap it it out myself, warranty preserved.

Maybe it's because I purchased it from their site and they had my contact details.

I was hoping this would eliminate the coil whine and random ticking I had since day one which they claimed was to be expected. Sadly, I still live with it.

The soft touch coating on the palm rest has now also started to degrade and go tacky.

beanaroo··on Take Part in the New UI Preview for Your JetBrains IDE
This is interesting. It looks a lot like the experimental UI I've been using via the Material Theme plugin for about a year.

https://imgur.com/hiCRTFd.png

https://plugins.jetbrains.com/plugin/8006-material-theme-ui

beanaroo··on How to write a Git commit message (2014)
After working on a number of projects that tried to apply conventional commits properly, I found something like this to be more effective and sustainable.

Specifically, I'm quite fond of https://gitmoji.dev

- Commit messages are shorter, even with ticket IDs.

- Commit log is easy to read

- Less prone to typos (chroe vs chore)

- Easy to enforce with push rules

- Easy to generate changelogs/release notes

- Easy to measure (metrics)

- Helpful IDE integrations

- It's a bit more fun than conventional commits

See https://github.com/tiangolo/fastapi for an example

beanaroo··on When hiring developers, have the candidate read existing code
Gitflow, and its various flavours, has been a popular alternative. Though it seems trunk-based is considered the preferred standard due to emphasis on achieving a stable main branch, simplified pipelines and faster cycle times. This requires a bit more maturity to get right if I'm not mistaken as you need good automation, test coverage and code review practices.
beanaroo··on Show HN: tmux.nvim – turning Neovim into a terminal multiplexer
You can set wshada|rshada to occur on FocusLost|FocusGained.

https://neovim.io/doc/user/starting.html#shada-read-write

beanaroo··on Show HN: Clone your voice and speak a foreign language
I don't think so. At ANZ bank, you authorise every call to the bank by saying the phrase: "My voice confirms my identity". (You repeat this multiple times when registering)
beanaroo··on LastPass stores passwords so securely, not even its users can access them
Another open-source, open-pgp based password manager worth mentioning is https://www.passbolt.com/
beanaroo··on LastPass stores passwords so securely, not even its users can access them
I assume this approach doesn't auto-fill forms?
beanaroo··on Now using Zstandard instead of xz for package compression
This isn't a function of an AUR helper but rather makepkg itself.

In makepkg.conf, ommit compression by specifying:

    PKGEXT='.pkg.tar'
More information can be found at https://wiki.archlinux.org/index.php/Makepkg#Tips_and_tricks
beanaroo··on Switching from Chrome to Firefox
The difference is quite noticeable for me when using Atlassian's Cloud products. May their framework is simply optimised for Chrome.

I also really do hope Firefox gains hardware video acceleration on Linux some day.

beanaroo··on Guide to Software Defined Radio
I recommend getting one from here: https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/

Great hardware with driver/software compatibility

beanaroo··on Guide to Software Defined Radio
I either had a terrible antenna, interference or reception at my apartment and so my dongle gathered dust for a few years until I camr across an Android SDR Touch app. Using a USB-OTG I could easily listen in on the go for cheap.
Page 1 of 2Next →