Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

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

Submissions

comment 4y ago · link · parent

> The ad-hominem isn't advancing your cause lol.

There was no ad-hominem. OP pointed out your initial claim contrasts with the facts.

> Rust defaults to the MSVC toolchain. Surely you knew that. (...)

This reads like a non-sequitur. The claim you've replied to was that Odin had poor windows support, and OP pointed out that Rust also supported Windows without msvc toolchains.

> You're the only one here complaining about MSVC.

Sorry, you're clearly speaking while oblivious to the discussion. The message you've replied to includes a link to a ticket asking Odin to shed it's dependency on msvc. It's clearly titled "move away from msvc".

https://github.com/odin-lang/Odin/discussions/2047

I believe you owe OP an apology.

comment 4y ago · link · parent

> The UX is admittedly awful, but once you get familiar with its warts submodules are entirely usable.

The point is not how much effort you need to invest in getting git submodules to eventually or occasionally work.

The point is whether vending the subproject as a prebuild library/package is simpler or not, or whether it requires more work or not.

And it's abundantly clear that submodules are always inferior to vending packages, not to mention they are audit-friendly.

comment 4y ago · link · parent

> Autoconf is just a complicated system for finding and detecting third party libraries. If an application just uses the standard library, the build system can be very simple and reliable.

It's slightly more than that.

Autoconf is a Makefile generator. It was designed to do system introspection and perform sanity checks, and configure projects so that they could be built and installed in multiple platforms.

It's always possible to switch back to Makefiles. You'd be foregoing sanity checks, abstractions that come for free, and you'd have to fill in the blanks left out by missing features such as what compiler I use and how to configure the compiler and how to put together Release and Debug builds and how to consume dependencies and where do I install the project.

Complaining about build systems is like complaining about a high level language: you might focus on the bloat, but you completely miss the extra work you have to reinvent the wheel and have to maintain it forever.

comment 4y ago · link · parent

I worked on projects where rebase was the norm, even for public feature branches.

Not a problem.

Rebase is a tradeoff of handling merge conflicts with achieving a commit history that is far cleaner and audit-friendly.

The point being that some technical choices are not black and white, and people mistake baseless personal opinions with technical truths. There's an awful lot of workable grey areas with tradeoffs.

If a team member insists on pushing his personal opinions as the truth, challenges and opposes each and every proposal that does not match his personal opinion, and drags on personal vendettas in decisions that didn't went their way... I'd say that no matter where their tech skills are, that person is still incompetent and a liability in any team.

comment 4y ago · link · parent

> Some friction in decision making will often yield better decisions.

I agree. The problem starts when this sort of friction continues after all the decision-making is done and starts manifesting as contrarian positions towards how the project is being conducted, always insisting that their idea was better, and even assuming aspects of sabotage.

It's one thing to determine a path forward, but an entirely different thing to assume a "my way or no way" stance.

comment 4y ago · link · parent

>>And this is why skilled people can't find a job. Unless you can kiss a*s you won't get hired.

You're trying too hard to rationalize away personal problems and your inability and/or unwillingness to address them.

The opposite of disagreeable is not "kissing ass". The opposite of disagreeable, to start off, is not being a total asshole. No one's technical prowess is impressive enough to ignore the fact that they are completely insufferable. A project survives extra weeks or even months, but a team does not survive an eggeegious team member who makes everyone around them miserable.

Take a long hard look at yourself before throwing blanket accusations at anyone and everyone around you.

As the saying goes, "if someone is an asshole, they're an asshole, if everyone is an asshole, you're the asshole"

comment 4y ago · link · parent

> (...) but I believe that Syntax 2 is an excuse create a new language and reuse the C++ name.

This. It looks like a blatant attempt to ride the coattails of C++, which oddly enough is not the first case coming from Redmond (see C++/CX).

If the concept is able to fly on its own without these marketing crutches then it would be more credible to just claim it's a successor.

comment 4y ago · link · parent

> (...) so the three of you combined did have income of 8€.

The whole point is that that is not income, but just an aggregate value of all transactions within an economy. Money exchanged hands, which is not the same as someone's income.

comment 4y ago · link · parent

> Kotlin - statically + strongly typed, try making an android app!

Wrestling the frameworks of the moment tend to dominate the cognitive load of developing mobile apps in general, including Android. More often than not, whatever programming language that's used ends up feeling like glue code for life cycles and frameworks, which is suboptimal in terms of the goal of picking up a new language.

My 0.02€

comment 4y ago · link · parent

> You don't agree with the tiny sliver of the NSA mission that you know about.

Strong "trust me bro" vibes.

Hand-waving and baseless assertions don't contradict the fact that it conducts activities against it's country's most basic founding principles and laws.

This regrettable line of argument is in line with blindly defending the police in spite of all the police murders, abuse, and outright corruption.

comment 4y ago · link · parent

> As such, it also measures the income earned from that production, or the total amount spent on final goods and services (less imports).

It's my understanding that the "income" interpretation refers to tax income, because each transaction is taxed.

Take a look at your quote. It says it's also the "total amount spent on final goods and services". If you buy bread for 1€ and ham for 1€ and sell ham sandwiches for 6€, no one had income of 8€. At most, the state charged VAT on your 2€ purchases and 6€ sales.

comment 4y ago · link · parent

> Attributes are better suited for that. #pragma has always just been a grandfathered in hack.

I'm not so sure attributes are better. They have political traction, but that does not mean better. All major compilers use pragmas effectively to implement custom compiler flags. See for instance how Visual C++ uses pragmas extensively to toggle specific compiler warnings, not to mention the infamous #pragma once

comment 4y ago · link · parent

> GitHub is also owned by Microsoft.

GitHub was bought by Microsoft in 2018.

Recently Microsoft announced they were killing off GitHub Atom.

Being able to use the latest release of a dead project is no big reassurance.

This might be an anecdotal case, but it is indeed real world proof that a project being backed by a company the likes of Microsoft does increase the odds of being killed off.

comment 4y ago · link · parent

> personally i would skip straight to kubernetes if you start messing with swarm

I don't know. Docker swarm mode is basically Docker spread over multiple nodes. Consequently it's a very spartan Kubernetes-light, but extremely easy to operate and maintain.

I love microk8s but I still find Docker swarm mode to be the ideal first step for on prem.

comment 4y ago · link · parent

> Pragmas are processed by the pre-processor, so they aren't appropriate for expressing control flow hints.

I don't thing this is remotely true. C++ pragmas were designed with the express purpose of providing additional information to compilers.

comment 4y ago · link · parent

> Some necessary features weren't even supported in the current Docker-Compose file versions.

Why docker-compose?

Have you tried Docker swarm mode?

comment 4y ago · link · parent

> Broadly, maybe. At work, I don't care about being liked by people that can't admit they are wrong.

Why do you presume all outcomes of your eggregious interactions is placing blame on others?

It seems you are totally oblivious to some of the most basic principles of working in a professional environment: if you antagonize and attack your team members, you are not trusted to help out and have their backs. This means you are not an asset but a liability. Working close to you is making them vulnerable to being stabbed in the back by you at the slightest issue. And that's why you are not liked, even if/when you are right.

All the people can be right, but that doesn't justify you insisting on pissing on everyone else's cereals.

comment 4y ago · link · parent

> (...) but let's not trivialize how insanely easy Docked made creating containers become.

So much this. Docker doesn't get the respect it deserves. I'd also mention packaging/installing/deploying applications, which Docker made so trivial and trouble-free.

Docker at it's core is a masterclass of UX.

comment 4y ago · link · parent

> Does this relate to the normal modes or eigenmodes of a system?

Yes. The eigenvalues and eigenvectors of an undamped harmonic oscillator are respectively the vibration frequency and vibration mode.

One major class of structural analysis techniques is modal analysis, which determines the vibration modes and corresponding frequencies of specific structural systems subjected to particular boundary conditions.

comment 4y ago · link · parent

> Sure, if you're developing a SaaS you can stay on top of .NET versions but it's definitely causing friction for enterprise and slow moving regulated software.

You have a point, but I'd call out that migrating to newer releases can and often is trouble-free.

A couple of months ago I worked on a .NET Core 2 web service that was put on cold storage for a few years, and all it took to migrate it to .NET Core 6 was a few version number bumps and a rebuilding the project.

YMMV of course, but LTS shelf life might not be a deal breaker.

comment 4y ago · link · parent

> Does anyone know of an example of a simple physical system where eigenvalues have a physical interpretation?

Yep, vibration modes. Vibration frequencies represent their eigenvalues while the shape that the structural system exhibits when subjected to said vibration corresponds to it's eigenvector.

If a structural system is modelled as a linear elastic system it's possible to apply an eigendecomposition of that system and represent it in terms of linear combinations of it's vibration modes/eigenvector, and consequently we can get very accurate representations by using only a hand-full of these eigenvectors.

You know swing sets? We would start to swing back and forth just by moving our legs in a particular frwquencey, and without much effort we could move more and more? It turns out the frequency we moved our legs was the system's vibration frequency/eigenvalue for the vibration modes/eigenvector representing the we swinging back and forth.

comment 4y ago · link · parent

> I don't get the complaint, there are flaws, it could have been much MUCH worse.

I find it amusing that after half a century of existence and powering the world's IT infrastructure, suddenly some illuminated individual felt entitled to claim they alone found problems that they alone can fix.

comment 4y ago · link · parent

> This applies very much to C as the universal ABI. It's common to see programs written in a combination of languages who interface with each other using a C ABI even though none of those languages is itself C. And, for better worse, it's really hard to change this because while components are easily swapped out, moving an interface is hard because you have to simultaneously fix every component that uses that interface.

I'd go with the glass half full point of view. This has to do with fixing stuff that ain't broken. This has everything to do with developers not wanting to go the Java route and reinvent the wheel and have to reimplements all basic functionalities under the sun. They just target C in particular or in some cases POSIX and they are up and running in no time, reusing everything under the sun with minimal work.

comment 4y ago · link · parent

> Ironic that Steve Klabnik jumped in on the ridiculing, when he a) Complains all the time about people mocking Rust, and b) supported the various "rewrite in Rust for no good reason" projects.

To be fair, this tweet was close to a decade ago, and Steve Klabnik posted an apology at the time.

People do make mistakes from time to time, and Twitter is prone to post unfiltered brainfarts.

comment 4y ago · link · parent

> I know it's not a simple answer, but how would you embed checks to flag or highlight potentially incorrect results to the user?

For starters, some problems do have analytical solutions. Yo can compare a FEM model of these problems with the known analytical solution and see if it's close enough or not. One of them is the elasto-plastic plate with a hole.

You can also run unit tests at the element level.

comment 4y ago · link · parent

Sorry but all you say in you post is a bunch of baseless personal assertions pushing a specific personal political take that has no substance or credibility.

The Ford F150 is no niche product. It's the most popular car in all US states except in 5 or 6 states. According to some sources , "the vast majority of these new trucks are [sold] in large and medium-sized cities."

https://hedgescompany.com/blog/2018/10/pickup-truck-owner-de...

So unless you want to claim that white males living in large urban centers from all corners o the US are not Twitter's demographics, your view is baseless and completely detached from reality.

But be my guest and point out the best source you used to source your claim.

And lastly:

https://marketing.twitter.com/en/success-stories/ford-f150-l...

Hard to explain, isn't it?

comment 4y ago · link · parent

> This is a very funny way of thinking which gets reality backwards. Corporate brands go where user eyeballs are.

This is a rather naive and uninformed take. Here's yesterday's tweet of the day, where a top marketer called Elon Musk on his bullshit conspiracy theory.

https://twitter.com/LouPas/status/1588599808587345921

comment 4y ago · link · parent

> Would you share some insight on why Intel failed at making EUV work? Gelsinger said on a podcast (Decoder) recently that in fact they fought it.

A cursory Google search results in multiple search hits from recent news pieces announcing Intel buying their EUV kits from ASML.

If Intel is handing out small fortunes to ASML to deliver a machine that in the past Intel was expected to develop in-house, that does not sound like a success story.

Here's a Reddit thread on the topic:

https://www.reddit.com/r/AMD_Stock/comments/miar30/why_is_in...

comment 4y ago · link · parent

> So because some idiot somewhere wrote a 100 assertion unit test we should ban anyone from writing even 2 assertions in one test?

You're falling prey to slippery slope fallacy, which at best is specious reasoning.

The rationale is easy to understand. Running 100 assertions in a single test renders tests unusable. Running 10 assertions suffers from the same problem. Test sets are user-friendly if they dump a single specific error message for a single specific failed assertion, thus allowing developers to quickly pinpoint root causes by simply glancing through the test logs.

Arguing whether two or three or five assertions should be banned misses the whole point and completely ignores the root cause that led to this guideline.

1
2324252627