HNHacker News
TopNewBestAskShowJobs

mdtusz

571 karma · joined August 1, 2014

[ my public key: https://keybase.io/mdtusz; my proof: https://keybase.io/mdtusz/sigs/FAD2AvtLKbt5IeNmKeXTCV-CJhFYm-csNwRK7Ewlz7w ]
submissionscomments
mdtusz··on Generating a Java program with 90% less code
Why are people still flying 737's? Why cling to 1970's airliners?

Just because something was created long ago does not mean it hasn't improved. Vim and Emacs are both extremely featureful and powerful editors and many people prefer to be able to pick and choose specific tools that do their jobs extremely well.

It's not about using "old" technology - it's about using a tool that excels at its targeted task, and letting you choose the best tool for ancillary tasks like searching, formatting, testing, debugging etc.

mdtusz··on Generating a Java program with 90% less code
I am a big fan of rust, but I am starting to feel like this is a thing with it too. Not to the same extent at all, but I often find myself writing what feels like scaffolding boilerplate code.

That said, the code is usually there for a good reason and I'm extremely thankful for it in the instances where things are refactored and the compiler catches it, or some deviation from the norm comes up and the scaffold allows for doing things the way you need.

mdtusz··on Moxie: Incremental Declarative UI in Rust
Also yew. It's more web focussed, but it works great running in a WebView for a local application with RPC to a background server running locally.

https://github.com/yewstack/yew

mdtusz··on Drive drunk twice in Quebec, get ignition breathalyzer for life
That seems like a weak excuse. The capability needs to exist for SAAQ staff regardless, and something like this can either be implemented as a human service where it's an email request (low volume) or a form on the website.

I could be mistaken but I believe it was the SAAQ that had "business hours" for one of their online services where you could only submit a form between 9 and 4 or something ridiculous like that.

mdtusz··on Etcher tracks user data without consent
As others have indicated, this is just an auto-update check.

https://github.com/balena-io/etcher/blob/master/lib/gui/etch...

This makes me very curious as to the motivation behind such an inflammatory issue report. Does this individual work for a competitor, or have some other issue with balena?

mdtusz··on How does a video codec work?
> easy engineering math

I felt a great disturbance in the Force, as if millions of engineers suddenly cried out in outrage and were suddenly offended.

mdtusz··on The importance of decentralisation
This isn't a very good comparison though for looking at technology. The problem of washing dishes, cleaning a kitchen, vacuuming, making a bed etc. Is O(n) in _economic_ complexity. Managing data and technology services is somewhere around O(log(n)). Managing 100 servers is much more difficult than managing 1, but managing 200 is not much more difficult than 100.
mdtusz··on GitHub for Mobile
Email notifications.
mdtusz··on Developing open-source FPGA tools
The non-software engineering world is laughably behind the times when it comes to computer technology and software. SolidWorks is one of the defacto industry standard CAD packages, and their version control software essentially just creates copies of the files and increments the versions. There's no real concept of change management on the content level.
mdtusz··on For Quebec, a French Woman May Not Be French Enough
> They were conquered by military force.

This will no doubt come across poorly, but it's important to keep in mind when it happened. Quebec was allowed to keep their language, despite being conquered.

The current government is downright hostile towards Anglophones and immigrants.

mdtusz··on It took 12 weeks to ship an MVP I thought would take 3
I think most software falls into this category these days. The majority of software based companies are automating processes that humans can or could do manually - they're just being integrators, linking things and tasks together in useful ways.

I don't have a statistic, but I'd be willing to bet the majority of code in existence is not algorithmic in nature.

mdtusz··on Show HN: A Simple LocalStorage Hook in React
Mirroring other comments, this seems a bit trivial to be its own package and looking at the source, it seems to not cover cases where the local storage value can't be parsed.

https://usehooks.com/useLocalStorage/ has a safer implementation and is free to copy (Unlicense).

mdtusz··on When XML Beats JSON: UI Layouts
There's a beautiful symmetry between s-expressions and XML which is why it's not really all that annoying to work with once you approach it as an s-expression.
mdtusz··on Ask HN: Feasible Alternative to the MacBook Pro?
Learn to love the trackpoint and when you go back to a MacBook you'll be sad it's not there.
mdtusz··on Four kinds of documentation
I'm sure you know because you're Steve Klabnik, but for other readers: you can enforce documentation for public items in a crate by adding `#![deny(missing_docs)]` to the `lib.rs` file.

Then it just takes some self-control and gold code reviews to make sure you're writing good documentation rather than just short stubs to silence the error.

mdtusz··on A uBlock Origin update was rejected from the Chrome Web Store
If you're a vim user, try qutebrowser. It has some quirks, but with the ability to customize keyboard shortcuts and call upon scripts it's hard to move back to a "normal" browser.
mdtusz··on 99% of the Git commands you'll need at work, demonstrated in a single script
`git add -p`

I use Tig as well, but more often than not the git cli is sufficient.

mdtusz··on Conventional Commits: A specification for structured commit messages
I typically go with "Linting". "Formatting" could mean something different in some contexts.
mdtusz··on Tesla Software Version 10.0
You have to acknowledge that there's some selection bias in a sampling from a forum for a particular car brand though.
mdtusz··on Ask HN: How do you handle/maintain local Python environments?
You'd think, but it's not always the case. I've recently encountered an issue with eventlet that is only present in 3.7, for example.
mdtusz··on MacBook Pro Keyboard Drives Me Crazy
But then where do you map your Ctrl key if Capsloc is Esc?
mdtusz··on Japanese anime studio Khara moving to Blender
"I love $PROFESSIONAL_SOFTWARE_TOOL, but knowing how to use it is a real profession. So many functionalities ... Even reading a book on $PROFESSIONAL_SOFTWARE_TOOL is not enough."

In our current age of endless SaaS tools that bill themselves as being made for professional use, it's somewhat frustrating encountering this attitude that things are too complex or "overkill" to be worth learning.

I understand that isn't the intention of your comment, but it's something I've struggled with at my work where co-workers seem to have no interest in learning new and powerful tools if it might take them more than a day to master.

mdtusz··on All the best engineering advice I stole from non-technical people
The issue that many developers have with time tracking is that it requires you to either translate your work into management speak in order to appease the management, or write what you're actually doing and have tons and tons of small blocks in your time tracker that make you look like you're being unproductive and trying to obscure something. Both options add unnecessary mental overhead and interrupt any possibility of having a "flow state".

Writing code and working on software is not a linear process, so writing "worked on feature X" for your entire morning may be accurate, but it's not fine grained enough for what the managers want to see and it doesn't really serve any purpose at that point when you already have daily stand-ups and sprint meetings every week.

This likely isn't the case at all companies and with all managers, but I suspect many have the same experience I've described.

mdtusz··on A problem worse than Zoom?
I knew that localhost could be accessed, but the fact that local IP addresses on the LAN can be accessed is actually quite surprising to me. I suppose it makes sense, but it definitely makes me much more concerned with the security of local devices on my home and office networks now.

Are there any best-practices for keeping things locally safe (i.e. LAN devices like printers, testing boxes, tvs etc.) , beyond just treating them the same way you would an external facing machine?

mdtusz··on Write HTML Like It's 1999
* { box-sizing: border-box; }

I have never wanted anything other than this behaviour, so I pretty much always include it when starting on a fresh project.

mdtusz··on Actix-web 1.0 – A small, pragmatic, and fast web framework for Rust
This syntax makes it look almost like [warp's](https://github.com/seanmonstar/warp) "filters".
mdtusz··on Ask HN: Who is hiring? (June 2019)
AON3D | Montreal | Full Stack / Front End, Senior Developer | Onsite

https://www.aon3d.com/careers/full-stack-developer/

AON3D makes affordable industrial 3D printers designed for printing high performance thermoplastics. We're dedicated to ensuring designers and engineers have greater access to cutting edge materials and affordable 3D printers so they can drive tomorrow's innovation today.

We're looking for an experienced developer to join our team and work on just about all areas of code to develop new features for our machines and the tooling that supports them. This includes low level C++ firmware, python tooling, as well as frontend web development - being comfortable working on all layers of a stack is a big requirement!

We're a small but rapidly growing team and as such, there's a lot of room to be making a big impact on the direction of both the product and company as a whole.

Contact: miklos@aon3d.com

mdtusz··on Show HN: Sauron – A web framework in Rust that adheres to the Elm architecture
Look into the framework Yew. It sits somewhere between elm and react in how it's designed, and makes use of an html macro that allows for jsx-like markup.
mdtusz··on Vim.wasm
Try out qutebrowser. Still some shortcomings, but I've switched to it for daily use.
mdtusz··on A touchpad is not a mouse, or at least not a good one
I imagine that part of the reason there are so many diehard trackpoint enthusiasts out there is because trackpad support in Linux is so frustrating. It's the one thing that I have never managed to make work and feel "right" on a Linux laptop (with the exception of fingerprint readers).
← PreviousPage 6 of 7Next →