HNHacker News
TopNewBestAskShowJobs

grawp

82 karma · joined December 28, 2020

submissionscomments
grawp··on What's New in Python 3.11?
This!
grawp··on Doom on a chip from a IKEA LED smart lamp
The interesting thing is that the microcontroller in the Nano - Atmega328P - is really a massive overkill but for a wholy different reason: price.

Even back in 2015 the AVR based Atmega328P was more expensive than quite a few Cortex M0 based STM32 offerings (when comparing price for same quantities of course). And those MCUs had literaly by an order of magnitude bigger SRAM and the ARM core and STM32 peripheries vere obscenly more capable and I cannot stress this enough. Now the difference is even bigger and AVR based MCU are expensive almost-unobtanium for legacy designs.

Calling AVR MCUs cheap is my trigger since 2015 when I and my collegues were browsing Farnell eshop looking for a cheap MCUs for various gizmos we were working on.

grawp··on The Comprehensive List of Window Managers for Unix
Your arguments have persuaded me to give it a try. Though I'll go for dwl - a wayland alternative based on wlroots to dwm.
grawp··on The Comprehensive List of Window Managers for Unix
The main feature that you've described is called (usually) 'tags' (windows have one or more tags and workspaces/viewports also have tags and a viewport displays all windows which have at least one of the viewport's tags). It is concept not specific to DWM at all and is much much older than it. Actually i3 and Sway feel like a big big regression in not suporting this concept even though they are so called manual tillers.

Biggest disadwantages of DWM are: That it does not have any normal plugin/extension/IPC mechansim. Applying patches to add features is not sustainable and yield conflicts. So much for flexibility. Also it is not a wayland compositor.

grawp··on Gitea – a painless self-hosted Git service
I sorely lack subscriptions/watches managment in Gitea.

I'd like to be able to get a list what i'm watching and filter it on repo, author, type (issue/pr), and reason like I very often do in github.

There is also no session managment accessible from user side :(

grawp··on SolveSpace – Parametric 2D/3D CAD
OpenSCAD is just a generator.

You cannot query generated or imported geometry in any way. Not even calculate bounding box which can come handy if you want to place something on top of your model etc..

Equally big problem is schizma between modules and functions. Functions can't draw anything but can return values. Modules can draw but can't return anything. So you cannot even calculate the bounding box (or anything similar) yourself even without STL import.

CadQuery on the other can do queries.. give me bounding box. give me a second face parallel with XY from this point in direction of +Z.

Btw. FreeCAD bugginess realy varies. I have had a much better experience with a package built from master on Gentoo and Nix than with the stable appimage.

grawp··on SolveSpace – Parametric 2D/3D CAD
CadQuery is very nice except for its DevOps side. Its whole build system for producing Conda packages (some may consider Conda problem in itself) is super-dependent on Azure pipelines. Even bigger problem is that it's riddled with hardcoded paths, redundant copies of files, disregarding recommended usage notes of its 3rd party libraries.. basically it contains every DevOps related anti-pattern you can think of.

There seems to be just one maintainer dealing with build related things and he is of a very different opinion what is anti-pattern or just don't want absolutely anybody to touch his code into which he poured his hours.

https://github.com/CadQuery/OCP/pull/61 https://github.com/CadQuery/pywrap/pull/38

Yeah. I'm salty about it.

grawp··on SolveSpace – Parametric 2D/3D CAD
It's not about reusing values. It's about reusing whole complex designs. I know that there is some very very new feature called Variant link but I haven't managed to comprehend it yet.
grawp··on SolveSpace – Parametric 2D/3D CAD
I have a big conceptual problem with these interactive editors: I'm a programmer and am very used to splitting things into functions and objects which can be then called with / have different parameters and be composed into another functions and objects.

So far my experience with both SolveSpace and FreeCAD have been: Even if you can reuse a part of your design multiple times (and even this is a nontrivial problem), you surely can't do that with different parameters!

My brain hurts from how it goes against all programming principles about DNRY, modularity, and composability.

grawp··on Operating systems battle: OpenBSD vs. NixOS
Heavy Nix user here. Since month two I've been using flakes for everything: In projects to holds packages and devshells together with inputs locked via lock files, for holding system configuration, raspberry pi images, nixpkgs overlays etc..

Does GUIX have some similiar thing which can provide a standard formal structure and lock resouces? Thx.

grawp··on AdaCore and Ferrous Systems Joining Forces to Support Rust
https://github.com/jonas-schievink/rubble

Their whole training is situated around BLE! https://embedded-trainings.ferrous-systems.com/beginner-work...

Edit: wrong link

grawp··on America's Favorite Pickup Truck Goes Electric
175 miles seem to be a huge distance for me and I can't imagine not passing by at least one big city with standardized charging infrastructure.
grawp··on Aphantasia
Heh, I was contemplating this HN post and thinking how would I explain visual fantasy to an aphantasic person when a tought came to my mind: What about dreams?!

I had to quickly open the post and search for a word 'dream' and found your comment.

Btw. for me visual imagination during pre-sleep even when very sleep deprived is same as when being wide awake. Dreams themselfs are a little more vivid perhaps, I'm not completely sure. Which reminds me a phrase 'lucid dreaming'.. a supposed state where can you volountarily control your dream to utilize it as some kind of matrix/construct.

grawp··on How to Learn Nix
Thisss! I'm very disappointed that most people seriously misunderstand what Nix is. Some calls it just another package manager and others dare to call it another Docker... while i'm screaming in horror internally.
grawp··on Air cargo is suddenly affordable relative to ocean shipping
To carry fuel you need more fuel.
grawp··on Python interpreter written in rust reaches 10000 commits
Why document something they have not implemented?
grawp··on Fedora 35
My experience with Arch from 2015 to 2018 was too rock solid on Thinkpad. (I gave up on Arch for completely different reasons than stability.)
grawp··on Nix 2.4 Released
Hm... the flakes are still experimental. I wonder when they are going to be finally not marked as such.

I switched to them exclusively (removed all nix channels) and haven't had any troubles yet.

grawp··on Code CAD – Use code to create CAD models
Oh no. Somebody has already created flakes for CQ :( But also oh yeah, somebody has crated flakes for CQ! (and it seems I was only 1/2 ~ 2/3 way there anyway)
grawp··on Code CAD – Use code to create CAD models
I feel you. (Un)fortunately for me CQ is important enough because OpenSCAD and similar are not CADs... they are just simple generators without an ability to reference, use already drawn things. Whereas CadQuery has the main feature which is missing from OpenSCAD directly in its name: "Query".

I'm actively working on bringing CadQuery and all its dependencies to Nix because *Conda is an abomination of highest order.

Moreover the pywrap and OCP which are CadQuery's dependencies are even much worse. They are like galleries of every DevOps anti-pattern ever invented. The more you dive into them the more horrible it gets.

CQ is actually nice though.

grawp··on Nix-GUI: Make NixOS usable for non-technical users through settings / GUI
Nix(OS) purely with Flakes i.e. without channels is so f good that I'm not using it just as my daily driver on a PC and to package software and create development environments...

I also replaced Buildroot with it for building embedded images for SBCs. Lifechanging experience.

grawp··on Best RealSense replacements?
I thought that RealSense cameras were just ordinary global synchronized shutter cameras with some stereophotogrammetry processor.
grawp··on Best RealSense replacements?
Is there some GPU or FPGA opensource implementation of depth camera comparable to RealSense in quality of its output?

I've seen many projects that call themself opensource while utilizing RealSense and I always scream internally how can they call themself opensource when absolute most of the work is being done by nongeneric and essential/irreplacable piece of proprietary technology.

grawp··on The Framework Laptop
Wake me up when/if they do AMD version with verified ECC support.
grawp··on A Poetic Apology: Or Why Should You Use Poetry to Manage Python Dependencies
Poetry is for Python kinda what Cargo is for Rust.
grawp··on Open Source Smartwatch
Exactly!
grawp··on Show HN: Cygnus-X1 – A Thrust Vectoring Model Rocket Flight Computer
Many many orders of magnitude longer and thousands of km further on hydrocarbon fuels ;)

https://en.m.wikipedia.org/wiki/The_Spirit_of_Butts%27_Farm

← PreviousPage 2 of 2