Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions

Submissions

comment 3y ago · link · parent

> No, it's robotic, and pathetic.

Which way do you feel its the best way to be notified you're being fired?

comment 3y ago · link · parent

> Falling on your sword is literally exactly what accountability used to be.

I wonder if you hold this level of rigour towards your own failings and shortcomings, or if this desire is directed exclusively at everyone besides yourself.

comment 3y ago · link · parent

> Whatever you do, it will never be enough.

To be fair, it's only a pair of random internet forum posters who are complaining that this is not enough. There are plenty of people in this discussion arguing otherwise.

comment 3y ago · link · parent

> So?

It doesn't make sense to accuse someone of not feeling the economic impact of a downturn at all while downplaying the fact that they actually lost $5billion.

comment 3y ago · link · parent

> * that so many people think crypto is either perfect or totally evil and admit no middle ground.

Such a strawman right in the leading hypothesis. What makes it so hard for you to face the actual criticism directed at crypto? Do you find it so indefensible that you prefer to avoid it altogether?

comment 3y ago · link · parent

> Yeah, but I didn't use it (because I think it's a scam) therefore it's not money nor currency.

This blend of arguments is either terribly ignorant or disingenuous.

The definition of money is not "something that might have value to someone". Money has a very concrete definition, which lies in three key traits.

https://en.wikipedia.org/wiki/Money

Point out exactly which of these key functions do you believe any crypto thing complies with.

comment 3y ago · link · parent

> I've exchanged crypto for goods and services, it's money for all my purposes.

I can go to the local market and exchange a bag of potatoes for some lettuce.

A potato is still not money.

comment 3y ago · link · parent

> Whoever wanted to be convinced that is a scam should be convinced by now, everyone else just want to hold some coins.

In other words, "please don't scare away the remaining suckers."

comment 3y ago · link · parent

> It must be nice to be able to just state something is thoroughly debunked and not have to give any evidence (...)

That's quite the amusing comment, given the fact that crypto-bros reiterate that crypto is somehow money in spite of if repeatedly failing each and every single trait that makes something a currency.

Now, when someone points out that fact, here we are with a newfound passion for argumentative formalities as if you can make this fact go away by petitioning the ref.

comment 3y ago · link · parent

> I'm gonna call bullshit on all of this. The time tax on not leaking layers in an application that doesn't already leak layers is nearly zero.

The time tax is paid by not delivering a feature. Architecture is supposed to be there to help you, not fail deadlines.

Also, it seems you completely failed to read or get what I wrote. My point was that if a PR delivers a feature without defects then your team is far better off if you accept the PR and refactor later when you can spare the time then it is if you throw a hissy fit and refuse to get the feature done if you don't get your way. You are paid to create value which is in delivering features and fixing bugs. Architecture is supposed to be there to help you.

Think about it for a second. If your architectural purity demands a hefty refactor, is that a good justification to postpone a bug fix or delivering a feature? No, it isn't.

> The problem is people don't want to expend the very minor extra amount of effort.

Except that most time it isn't minor.

You have to pass interfaces throughout a bunch of components, which require updating all sorts of tests, and result in a large code footprint.

> After a while you have a giant festering pile of shit (...)

That only happens if you're incompetent at your job and fail to do the most basic maintenance tasks in your code base.

Look at what you're trying to claim. It's supposedly easy and trouble-free to put together a PR that respects your personal notion of what the software architecture should be. Yet, the work to refactor code that breaks it is so insurmountable that you're no longer able to refactor it back to shape?

Which one is it then?

It looks like the FANG engineer you tried to badmouth had a firmer grasp on things and on what it matters the most than you do.

comment 3y ago · link · parent

> I feel like this is one of the under-appreciated reasons why the web is taking over desktop apps. It's so much easier to build a web app that runs with native extensions than it is to build a native app with almost any toolkit.

I disagree. Microsoft's WPF to me feels like GUI development done right. Designing UI components is a first-class citizen and even has WYSIWYG support, rendering data with observers is also a first class citizen with it's data binding feature, styling is also supported right out of the box, etc.

In theory frameworks like React sound nice, but once developers start to pour hooks left and right and add conditionals and move service client calls into trees then at least to me it quickly becomes an unreadable and unmaintainable mess.

Qt is pretty good to setup a widget tree, but it's model-view implementation feels broken and not thought through, specially with tables and trees.

comment 3y ago · link · parent

> Side note, but the "browser dev tools but for Qt" exists, it is called Gammaray.

Also, accessibility tools like Microsoft's inspect[1] already allow people to see an app's widget tree.

With Qt it's also trivial to put together a tree view that renders your app's widget tree.

Qt also provides infrastructure to unit test widgets.[2]

Qt also uses UI form files to allow WYSIWYG access to their UI components.

From reading the article, I was left with the impression that the author's struggles with a Qt codebase was that he had little to no experience with desktop development in general and Qt in particular, and experienced issues trying to get his bearings.

[1] https://learn.microsoft.com/en-us/windows/win32/winauto/insp...

[2] https://doc.qt.io/qt-6/qttestlib-tutorial3-example.html

comment 3y ago · link · parent

> Clear, actionable, refutable

That's wisdom, and a clear way to make everyone around you better.

I'd add that being humble should also play a role. We have tastes and insights and preferences, and it's not productive to block PRs because of subjective, non-critical aspects. A working CICD pipeline lowers the cost of pushing a change, this we can always revisit things. It's far more important to have a team that trusts each other and feels confident to push changes fast than it is to have gatekeepers whose role ends up being one of needlessly putting breaks on a team for no justifiable reason.

comment 3y ago · link · parent

> Any tips for giving feedback to senior people here? A lot of the complexity from abstraction is very hard to quantify and experienced people can have arguments that sound reasonable.

Perhaps a starting point for this discussion is to point out that the DRY principle is nice and all, but there is also WET. Premature abstractions are bad code, a liability and hinder development. It's always better to have two independent but mostly similar codepaths than a strategy pattern with two concrete implementations. If it's cleaner to copy/paste a method and do some tweaks, do that instead. It's not like you can't refactor it when additional use cases emerge, and if they don't emerge then the abstraction wasn't needed to begin with.

Plenty of people believe that being senior is being clever with complex stuff. It isn't. Being senior is to know you don't need complex stuff, and be able to keep as simple as possible. Abstractions go against that.

comment 3y ago · link · parent

> They are aware of things like the separation of concerns, but as soon as they run into a situation wheres its easier for them to leak one layer's concern into another they will do so.

That says nothing without context.

If you want to move fast then it's ok to break things, and leaking layers is far from a non-negotiating tradeoff. Software is soft, and you can always revisit a piece of code to refactor it to suit someone's architectural tastes.

It makes no sense to criticize someone for focusing where it matters the most and actually deliver critical features without delay if the tradeoff is some legacy debt, and that by no mean implies they're junior.

One important skill of a senior is being able to keep their eyes on the prize and be smart about tradeoffs. Prioritizing subjective opinions over software architecture over delivering value is more in line with a junior way of thinking about software than not, and to me doesn't sound like a position to criticize others.

comment 3y ago · link · parent

> The Socratic method for teaching is actually quite good, and it can be employed without condescension.

I seriously doubt a PR is the right medium for the Socratic method, or that trying to employ it in that venue can sound anything other than condescending.

PRs are the end result of the developer's work to address an issue. Communication through a PR is asynchronous and inefficient wrt time. Engaging in gratuitous chatter in PRs actively blocks the developer from delivering his work. Pushing for needless iterations with cryptic open-ended questions where you force a developer to be on the defensive reads as if you're standing in the way while gratuitously questioning someone's ability in a very public way through a medium designed to persist discussions til the end of time.

If a PR has an issue just do the right thing and go straight to the point. If you feel the need to get into what you feel are teachable moments, reach out to the developer through your choice of direct chat.

comment 3y ago · link · parent

> The Egyptians built a wonder of the world before the invention of the wheel

You might find this link interesting

https://journals.uair.arizona.edu/index.php/jaei/article/vie...

comment 3y ago · link · parent

> I don't believe in collective guilt. If 10 or 20 or 200 assholes out of group of 30000 do something stupid, do you sentence the 30000 or the assholes, even if the rest of community has distanced from it?

You mentioned Reddit. Rust's subreddit had at the time over 80k subscribers. The subreddit massively piled on the maintainer of Actix. This harassment campaign was so massive that core Rust members felt obligated to write public declarations how Rust should invest in community building and, with the Actix case as an example, whether they could actually reject contempt culture.

It was not an isolated bad apple. Rust's community is renowned for being toxic, hostile and abbrasive. This topic is underlined time and again even in HN. It's not possible to hide this fact.

comment 3y ago · link · parent

> There is a huge gap between something like boost that is designed to be reused and internal libraries that are subject to the usual corporate constraints (the least amount of work is done if even that)

You're somehow trying to imply that libraries are not reusable if they are not widely shared, which makes no sense at all.

The best argument you could make is regarding stability, but you simply cannot lay any such claim just from the library's licensing.

Accusing internal libraries of being half-baked, badly designed, or bug-riddled is just a cheap blanket putdown.

comment 3y ago · link · parent

> Even the author mentions that he intends to rewrite everything he ever writes in some memory safe language he's building.

It's a framework. It's a set of C macros and C code. It's not a new language. Please stop.

comment 3y ago · link · parent

> Arguments like this sound like old arguments that were re-told to me by my father where people argued that C couldn't replace the use case for Algol at the University of Michigan MTS system.

The problem with those comments is that they are intellectually lazy, and use age as a proxy for "better". Language X can be designed with specific features in mind that offer interesting features that Language Y fails to offer, but that is not ensured by the release date, nor might that be an acceptable tradeoff when considering other factors.

comment 3y ago · link · parent

> Which is stupid since undefined and unspecified behaviors are hugely important to how C and C++ are used in the field.

Is it really that fundamental if you can setup your project to throw warnings/errors, and even use static code analysis tools to flag those?

I'd argue that it's far worse to work on a project that's not setup to detect those errors than to expect that sort of issue to be handled at the recruiting level.

comment 3y ago · link · parent

> Null was a trillion dollar mistake.

I don't agree. Null is just a tombstone value. If you're dealing with specifying memory addresses, you either specify the address or point a value that tells you the variable is not pointing to an address.

If anything, conflating arrays with pointers was a bad idea. The language would be far better equiped to deal with memory safety issues if an array data type included info like total size, used size, and perhaps also stride length. Relying on tombstone values to delimit strings or arrays was just prone to blow up on everyone's face.

comment 3y ago · link · parent

> I don't limit my statement to just C. The topic was C however so I mentioned C.

Your comment reads like a red herring though. You're not actually trying to argue that C makes thing easier or hard. Your red herring only means that hard problems affecting all languages aren't magically turned into non-issues in C. You can still write a C program that uses threading and is as safe as any other language and end up being a far simpler project, but that means nothing because the subject is still hard. And what would that actually say about C, let alone refute?

comment 3y ago · link · parent

> I think these people are just not very good managers and they don't care much about the people they hire.

The diktat to fire people didn't sprung from the same org level that was tasked to do the firing.

Those who ordered X% to be fired didn't even bothered with freezing hiring.

In cases like Amazon, apparently they even forbade internal transfers.

comment 3y ago · link · parent

> But some people just do it out of curiosity and wanting to know how things work from the ground up.

And that is perfectly fine.

Some people also get a kick out of learning Esperanto or Klingon, but that doesn't mean those are critical subject areas that you need to to excel in any professional domain.

comment 3y ago · link · parent

> Don't judge community (especially one you don't know) by their worst member.

The community was massively represented in that harassment campaign targeting Actix. We can still read the threads and the bug reports that fueled that shit show. Things got so bad that distinguished members of Rust's core team felt compelled to put on their PR hat to work on salvaging Rust's reputation and do limitation.

It was not bad apples. It was a hallmark of Rust's community.

comment 3y ago · link · parent

> (...) big shops that did some programming would have their own languages, which continued into the 00's in the form of everyone rolling their own C++ standard library.

It sounds like you're talking about using libraries as if it was a bad thing.

> had the "pleasure" to work with both. Invariably, this stuff was so much worse than off-the-shelf stuff (...)

Where do you think "off-the-shelf" stuff comes from? It sounds like you're trying to mistepresent the adoption of subjectively sub-optimal libraries as somehow the issue caused by using libraries and frameworks.

> mean, there's a chance this guy did something outstanding and actually improved something about C, but so far I've seen so many fail to do that in such a predictable patterned way I just don't want to see any more of that.

You're showing a tremendously naive and misguided belief that libraries are somehow bad.

Languages such as Rust flourish with the adoption of third party libraries,some of them euphemistically described as "not stable". Languages such as C++ flourish with third-party components like Boost and POCO. But applying the same principle to a language like C warrants an automatic and mindless putdown like blindly accusing anything of being bad? It makes no sense.

comment 3y ago · link · parent

> People threw a fit, and it got patched.

By "people threw a fit" you mean the Rust community put up a relentless harrasment campaign targeting the project author, even to the point where they involved their employer, and ultimately forced the maintainer to give up on FLOSS and abandoned the project altogether.

comment 3y ago · link · parent

> This means you have some guarantees about the whole ecosystem.

Sure, you are free to make this sort of claims. But they are besides the point, aren't they?

The cliche being discussed here is C's hypothetical ties with memory safety issues, and here we are commenting on a discussion on how someone writes C using a framework focused on memory safety and thus providing "some guarantees" about their whole ecosystem. Yet, we're still seeing comments mindlessly parotting myths in spite of the facts that are being dangled right in front of their nose.

1
131415
27