HNHacker News
TopNewBestAskShowJobs

mm007emko

240 karma · joined June 13, 2021

A random nerd who likes to discuss nerdy stuff with other nerds.
submissionscomments
mm007emko··on Writing Portable ARM64 Assembly
Or the result their boss wants and pays for.
mm007emko··on Rust: State of GUI, December 2022
Exactly. Haters gonna hate me but I really liked Windows.Forms (and C#) for development line-of-business desktop apps.
mm007emko··on C23 Implications for C Libraries
I write C every now and then and couldn't care less about C++. So the question is why, what would be the benefit? Do you really think that everyone who use C uses C++ as well?
mm007emko··on Why your REPL experience sucks
I always preferred Matlab to R Studio, TBH.
mm007emko··on Why your REPL experience sucks
I upvoted your comment but I only partially agree. PHP is great in some ways and totally atrocious in other ways. It put bread on my table in the 2000s but I am not looking back. The language is horribly designed. Writing AJAX calls before Google Chrome was even released (let alone its V8 Engine which made JavaScript fast) was no fun either. Any non-trivial web app we developed was slow (everything had to start from scratch with each request) and flooded with a couple of layers of caching which often didn't get invalidated properly.

Now I am a purely backend&desktop developer, I leave web frontends to people who are willing to live in the JavaScript world where if no big framework is released every 5 minutes you have an impression that the Earth stopped spinning. I learnt the basics of React.js the other year and it's a far cry from what we had 20 years ago. ClojureScript+React even with its difficulties must be an ivory tower of modern web frontend development. I want to remember the good parts of PHP, frameworks Nette and Symfony with nostalgia. But I never want to re-live it again.

I mean Request/Response websites with a bit of AJAX still work today, I even develop one as a side project since I am part-time involved in academia (neural networks & nature-inspired algorithms simulator, in Common Lisp with cl-who, Parenscript and a couple of custom components based on HTML5 Canvas). But modern development? When you need to keep up with the latest trends? No way it can work.

mm007emko··on 81% of IT teams directed to reduce or halt cloud spending
As a SW Engineer I have to say that this would not really work without some healthy dose of abuse.

Mangers at one of my previous workplaces were very vocal with "everything is running with slacks" so whenever I gave them an estimate on how long a feature would take to implement or a bug to be fixed (bugfix estimates are BS to begin with but...) they took it and multiplied it by 0.75 at most. Then bitched about it when it was over the time they assigned. Guess what happened.

Exactly this would happen with a cost-cutting incentive as well - if managers told us "reduce cost by 30% to the end of the year" then the cost would creep up to begin with. Incompetent management making stupid rules and stupid incentives is what drives me nuts :) .

The devil really is in the detail: "you need to give the agent some of the incentive so their interests are aligned with yours". The vast majority of employers don't pay SW Engineers enough and don't incentivise them enough so they give a shit. This really has to be a company culture, not forced but lived especially by managers, then it would work with engineers as well.

mm007emko··on Welcome to Královec
omfg, the number of people who take seriously this originally innocent looking joke really haunts me. Originally it was a joke about referendums in Ukraine regions about joining Russian Federation which is viewed as an illegal annexation by most of us, Czechs. So the joke is "they can illegally annex part of other countries so let's illegally annex Königsberg which was established in 1255 in honour of our king, Ottokar 2nd of Bohemia".

dpč, fakt mě děsí to, kolik lidí bere vážně tento původně nevinný vtípek. :-D

mm007emko··on Ask HN: Best book to learn C in 2022?
As other mentioned, The C Programming Language (2nd Edition - ANSI C)" by Brian Kernighan & Dennis Ritchie (K&R).

I learnt from this book. It's still good for the basics.

mm007emko··on Cloud desktops aren't as good as you'd think
Not my experience. 300ms is noticeable and very annoying. 120ms does not feel instant to me.
mm007emko··on Stadia died because no one trusts Google
I happily used GeForce Now when I couldn't get a new GPU (and later could get but couldn't afford it).

It made sense because the games were bought through Steam and GoG and I paid just for the streaming service. Now I don't have to re-buy the games and even kept saves.

mm007emko··on X-Plane 12 Early Access
PilotEdge is IMHO better option than Vatsim, although it is paid for.
mm007emko··on Rocky Linux 9.0
I want to tell you that you are incorrect even I upvoted your comment :). There are industries which cannot use rolling distros for whatever reason. I switched jobs at the beginning of this year from a cloud-application development where everything could work on rolling releases and more or less lived on the bleeding edge to developing and provisioning a cloud platform (not everything can work on a public cloud: energy companies, essential telecommunication, many healthcare providers don't want to do that etc). Two worlds so close together physically but totally different philosophies.

We don't use CentOS or Rocky. Our customers pay for RedHat or SLES. But I can see that someone wants RHEL and don't want to pay for the license and don't want to switch to Ubuntu/Debian or OpenSUSE either. I don't understand that, they are not that expensive for what they are but ... I am a software developer by profession, not an accountant. (I even saw industries paying for Windows Servers or HP UX, the prices were pretty eye-watering; the Linux-based options are either cheaper or at the same level as MS Win which for multi-million Euro company is not THAT much and even can pay off when you need to call support.)

mm007emko··on Lockheed Martin Prepar 3D
Maybe I should give it a try again, then.
mm007emko··on Lockheed Martin Prepar 3D
Well, I honestly put flight modelling over graphics every single day. X-Plane 11 might not be as good as MSFS in terms of graphics but everything else (i.e. the really important things) is.
mm007emko··on Lockheed Martin Prepar 3D
Until Prepar3D version 3 it was somewhat true. Since V4 it is 64-bit and it broke the compatibility with most older plug-ins.
mm007emko··on Microsoft's Growing Control of Linux
Comments like these seriously haunt me. How many people there are who really think that?
mm007emko··on Watching an acquirer ruin your company
Gosh... can't imagine paying for my pilot training (even in the USA it's usually half of what's here) and be paid $52k.
mm007emko··on Watching an acquirer ruin your company
Well, depends on the country you live in.

My country: https://www.platy.cz/platy/doprava-spedice-logistika/pilot https://www.platy.cz/platy/informacni-technologie/programato...

Average is CZK per calendar month gross (which is some 25-30% higher than net).

Pilots 38k - 132k Programmers 36k - 86k

as employees. If you work as a freelancer programmer (i.e. you have your own trade license) you can easily earn twice as much but if you count-in all the employee benefits granted by the Work law it's usually not worth it if you already have a family (which I have, therefore I switched from freelancing to being an employee).

And of course, Ryanair/EasyJet pilots are not counted in the statistics. The same goes to students - programmers which kludge together a Wordpress site and "sell" it.

mm007emko··on Watching an acquirer ruin your company
Generally yes and that's the reason I've been reluctant to switch jobs for small gains. I stayed with my previous employer for 6 years (plus 2 calendar months because here you have to file in a letter of resignation 2 months in advance, that's by the law).

But software development can be stressful on its own: you have endless pointless meetings which serve no purpose but you have to attend them, you have mandatory corporate team-building shite which you must attend or you lose the "software engineer SENIOR" job title and you have to show leadership skills to HR people and your managers during pointless "funny" "games" during the team-buildings, you can't be involved in illegal activities (e.g. rage-type murder of your manager is a major no-no which can ruin your career for good). You also have to learn new things constantly in your free time because your employer is reluctant to pay for courses. The list goes on. My previous job was applied research and especially the university professors who did the actual research treated us like a piece of shite. I can't even count the number of times I heard something like "you can't understand anything because you have only Master's".

The stress-level of switching to a new job is generally comparable to normal activities. You need to grow some thick skin.

mm007emko··on Watching an acquirer ruin your company
Loyalty is demanded by employers from employees, especially when unpaid overtimes are demanded. However when it's employers turn to reciprocally show loyalty to the employees it usually doesn't work. You aren't getting bonuses for your last year's unpaid overtimes when the company starts getting profit from your job. You need to beg for unpaid time off when you need to do anything at your home despite working many unpaid overtimes. You aren't getting salary rise for your hard work. You are being treated as disloyal replaceable resource. You need to be on a job hunt constantly.
mm007emko··on Watching an acquirer ruin your company
Well, question is which part of the world you live in, of course. But I don't need to unionize. If I am not satisfied in my job I can switch. Each consecutive job hop past 15 years got me better pay, better benefits and sometimes a better job (sometimes it was equaly shitty as the prevous one but for better money). This does not happen for unionized workers.

Maybe in the future we will have to unionize. Definitely not now and not in Europe. And this is not a matter of pay, e.g. airline pilots are paid more than programmers here yet they are heavily unionized.

mm007emko··on Fear and Loathing in FreeBSD
Just wait until the author needs to use Bluetooth. Or set up audio so it automatically switches between the front and back output when headphones are connected. Or CUDA. Or 3d acceleration with official drivers.

I find FreeBSD to be a technically better operating system than contemporary Lunux-based OSes but hardware support and usability really resembles Linux space before "dumbed down" dostros like Ubuntu where everything worked out of the box, generally.

Pretty unfortunate to say the least.

mm007emko··on I fucking hate Jira
After spending some time with Trac, Redmine and IBM ClearCase, I have to say that Jira and MS AzureDevOps are not THAT tragic. However it's a tool targeted at managers, not us, developers. At my previous company one of the KPIs was a number of closed Jira issues. Total BS, needless to say.
mm007emko··on Internet Explorer 11 has retired and is officially out of support
Well, VSCode is a bad example. It's open source so if Microsoft decides to ditch it, it can be community maintained until people move to something else. Or another foundation can take over or another company can fork it. Come on, VSCode is a "lightweight" IDE ("lightweight" in terms of features, not in terms of resource demands) and it's one of the better ones.

I remember its first version and my first impression was "WTF". Nowadays it's pretty usable. IE of its era really wasn't. You can switch to anything else if you don't want to use VSCode. IE ... you either couldn't (on a company-issued computer) or you didn't know how (at home). Nadella's Microsoft is a far cry from Ballmer's.

mm007emko··on OCaml 5.0 Alpha Release
In this case, yes.
mm007emko··on OCaml 5.0 Alpha Release
Thanks. English is not my native language.
mm007emko··on OCaml 5.0 Alpha Release
I dare to disagree - I still think that functional programming is a FAD of the day right now. Like object oriented was the FAD of the day in the 1990s and many then procedural languages saw OOP extensions on top of them (Perl where you need a bless() to work with an object? :-D ) and some even were like "yeah everything is an object so let's wrap every procedure into a class and use Command Pattern instead of closures and build a Kingdom of Nouns where people will name their classes after design patterns and everything will be perfect with a cup of hot Java").

Nowadays C++ has closures. What will become the FAD of the day in 10 years? Will wee see embedded Prolog in C# 12 or C++31? Who knows? Like OOP has been with us since 1968? and hasn't disappeared anywhere, functional programming features will not disappear from mainstream languages. But the "cool new shiny silver bullet" will be something else. Like Simula-68 and Smalltalk-80 paved way for OOP, Haskell and OCaml (et. al.) have been paving way for functional programming and Prolog and Datalog have been paving way for logical programming. They won't become mainstream when logical programming becomes the FAD of the day.

BTW you mentioned you taught a couple of junior programmers an ML-ish language. That's awesome! We all (programming community) need more legends like you.

mm007emko··on OCaml 5.0 Alpha Release
Exactly. Functional programming has been around for quite a while, it just recently became the FAD of the day, just search youtube for "functional programming in javascript". This will fade away in just a couple of years.

F# is an interesting language and yes, I used it at work a couple of times. However finding a programmer who is into that is hard and the HR "partners" will kill you because people like these can't be treated as cheap replaceable resources. So it was F# prototype -> C# production. Attempts to introduce a new language or a tech stack usually failed because the decision makers (managers) were concerned about "how many people can I hire within a month" than anything else - nobody was fired for picking Java, C# or JavaScript (TypeScript) for the next project and staffing accordingly.

Languages like OCaml, Haskell, Lisp (whatever flavour you pick) or Prolog will never become mainstream. Should they even? My favourite is one of them for my general hacking or research projects; not sure I'd like to use it in a corporate job (which I have right now). Small efficient team in a tech start-up? Hell yeah! Mainstream mundane programming? OMG NO! Horses for courses. Hearses are not mainstream vehicles yet all of us will need a ride in one occasionally. Does it mean they should become popular and mainstream? :-D

mm007emko··on Always Own Your Platform (2019)
I don't think you need to own your own platform. It's a trade-off decision between total cost of ownership and your time. You can buy a new server with enough power to be able to serve everybody even during huge spikes but it's expensive, however relatively maintenance-free. You can have and old PC with low upfront costs but old consumer-grade hardware breaks down and you have to maintain it (sometimes we have to speak about "preventive maintenance"). Or you can put your things into a VPS or cloud for the price of electricity and a good internet connection alone (at least in my country, prices really are THAT low).

If you don't vendor-lock yourself in you can then move your things from one VPS/cloud to another. And you don't even have to start with Kubernetes cluster upfront. You can start with "old-school" "bare metal + operating system with root access" server, then move your application behind a load balancer, then to Docker/K8s when it grows. I see so many projects suffocating to death by "thinking big". I even encountered an e-commerce site which didn't even had a proper payment gateways, well, Cash on Delivery services still exist today. Not ideal but it worked (and the goods arrived OK).

But I'm not telling to "own your platform", that's BS nowadays. "Always have a way out" is much better. Start small and right-size often.

mm007emko··on What FreeBSD can offer compared to other operating systems (2020)
> Why do I need to rebuild without Bluetooth support?

Have you tried Bluetooth on FreeBSD? It's an unstable mess which does not support any newer device. Bluetooth always worked for me out-of-the box on any reasonable Linux-based OS. FreeBSD was like 20 years old memories of Linux Wi-Fi Cards. Remember 'ndiswrapper'? That's how bad Bluetooth on FreeBSD is. So the author probably assumes that Bluetooth is a piece of shite everywhere and want even Linux programs without a support or so.

← PreviousPage 2 of 3Next →