Better HN
topnewbestaskshowjobs
Log inSign up

thayne

10,745 karma · joined Mar 3, 2015 (11y ago) · 3,854 submissions

Submissions

comment 3h ago · link · parent

As a software engineer, there are legal protections, both in explicit contracts with my employer and things like trade secret and copyright law that prohibit me from, selling proprietary information I have access to to competitors, or using it to start my own company, etc. There are also contractual terms prohibiting various conflicts of interest, such as owning a significant amount of shares in a competitor.

comment 2d ago · link · parent

With a monopoly or oligopoly, you don't have a choice of who you can "vote" for with your wallet. It's like a "democracy" with only one name on the ballet.

comment 2d ago · link · parent

> Normal people work together

That requires getting a job in the first place. For someone looking for an entry level job, there isn't any existing experience for this.

Also, it only helps if those coworkers happen to end up at companies you want to work for. And those companies happen to have openings when you need them.

> and ones they like they friend

But some people are better at making friends than others. And that skill may not have much correlation with how good someone is at their job, especially for more technical positions.

>Is calling a friend “hey we have opening for software dev, send me CV if you are available I will pass it to our HR” - nepotism

No. But if that CV gets preferential treatment during the application process that is, maybe not nepotism exactly, but an unfair advantage.

comment 2d ago · link · parent

States, counties, and cities can have their own laws and regulations.

comment 2d ago · link · parent

A lot of these 4shell vulns are only theoretical RCE. That's not to say they aren't serious, but I think the severity is exaggerated a fair amount.

comment 2d ago · link · parent

> We follow the air permitting process everywhere we operate

That doesn't mean much if they build in places with loose regulations.

comment 3d ago · link · parent

OK, but suppose there is another candidate who would be a much better hire, but they don't have a connection. They have a CV or resume that is comparable or even a little bit better than your friends. But your friend is the one who gets hired, because they had the advantage of being your friend. A big part of the problem is that actually evaluating the merit of candidates is very difficult. The job market is effectively a lemon market where the employer doesn't have enough information to know the quality of a candidate, and a referral or connection is a way to establish more trust in an applicants credentials. But it's still an unfair system.

comment 3d ago · link · parent

Even if you can't have high quality support for the front lines, you should still have them trained how to escalate when simple troubleshooting fails, or if the customer provides detailed technical diagnosis. In the OP, even if support didn't have the necessary technical expertise (which is understandable), they should have involved someone who did.

comment 3d ago · link · parent

Not bothering to read the users report or previous interaction is just disrespectful, regardless of the technical abilities.

comment 5d ago · link · parent

And if you care about something like "is this a good experience for the user," "does this respect the users privacy," etc. Then what you care about can be in conflict with "business value" and or what your boss wants.

comment 6d ago · link · parent

It isn't perfect. But it is still way better than c.

comment 6d ago · link · parent

Upgrade your JVM version.

comment 6d ago · link · parent

Does the JIT compiler not do a good enough job at optimizing code that can take advantage of SIMD to just use java code for base64?

comment 1w ago · link · parent

The Elastic license is also somewhat hostile to community forks. In particular:

> You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.

So a fork would have to keep any code related to or protected by a license key, even if it is no longer possible to obtain a license key (say because the copyright owner went out of business).

One of the big advantages of using open source software is that you are much less dependent on continuity of service from the vendor. If the software maker goes out of business it is possible for the project to continue life in a fork made by a community or another business, foundation, etc. However, the limitations in the Elastic license make that less likely to happen, and limit what you can do with your own fork.

comment 1w ago · link · parent

Well, and you also want it to be able to inject the credentials into the request so that the agent doesn't have direct access to the credentials themselves.

I believe that gondolin (by the same people who make pi) can do this. But it requires quite a bit of effort to configure it for everything.

comment 1w ago · link · parent

I would certainly prefer having separate credentials with permissions limited to what I want to allow the agent to do. However I have run into two problems with that.

The first, and bigger, issue is that some services either don't have have suffiently fine control over permissions, so in order to grant permission to do useful things, I also have to allow it to do dangerous things, or I don't have a way to create a more limited access token at all. I wish that it was more common to allow creating short-lived, limited accces personal access tokens for services.

The smaller issue is that sometimes I do want the agent to do something more risky with my approval, and provide me with sufficient context to make an informed decision. That can sort of be worked around though by telling it to just give me the command to run, then I can audit and run it myself.

comment 1w ago · link · parent

I think it is a mirror. The github repo still exists, and I assume is where CI is run.

comment 1w ago · link · parent

They don't necessarily need a large number of people though. If there was full automation (which I am not convinced we will), then it is possible we would end up with the wealthy capital owners exclusively selling to other wealthy capital owners, while the masses that previously dependent on earning wages for their labor lose their place in the economy and either become dependent on "welfare" of some form, or die off.

comment 1w ago · link · parent

And even that outcome is probably an unfavorable outcome for most people.

comment 1w ago · link · parent

Well part of the problem is that while waging a war that increased oil prices, the US government has simultaneously been systematically dismantling existing projects to use and incentivise alternative energy sources.

Reducing our reliance on oil would be a very sensible response. Unfortunately, I don't think it is one our current government would consider.

comment 1w ago · link · parent

It reduces the attractiveness of a lot of investments, some that require oil, some that don't, and many that require labor, and that last thing means less jobs.

comment 1w ago · link · parent

I think this has a lot more to do with musicians with money to spend on this software are more likely to have iPhones than the closed platform.

comment 1w ago · link · parent

If you have a (&mut) reference it would actually be x = !x. Also toggle is a function that can be passed to higher order functions without needing a lambda. For example, if you have a boolean in an option you can do opt.iter_mut().for_each(book::toggle). Or similar if you had a collection of booleans.

comment 1w ago · link · parent

And that is also weaponized, because paying for the legal costs of disputing a frivolous or invalid claim may be prohibitively expensive, especially for individuals.

comment 2w ago · link · parent

It isn't really a wayland DE. It's a shell that can be used with niri, hyprland, sway, etc. And is also built on top of quickshell.

comment 2w ago · link · parent

There will always be people who miss the satire

comment 2w ago · link · parent

> These fuel haulers think they got a bomb in their back, while this guy had a nuclear warhead,

Transporting a nuclear warhead is probably safer. I'm sure there are tons of safeguards to prevent an accidental detonation, and with a military escort people are more likely to be drive carefully around you.

comment 2w ago · link · parent

Native often means "not a wrapper around a webview".

If you define it as "using the widgets provided by the operating system", then "native" is by definition incompatible with "cross-platform." And what does that mean on Linux, where the operating system doesn't provide widgets? Are gtk and Qt not native?

comment 2w ago · link · parent

I'm not sure how you are getting that from "otherwise it is the recursively JSON-encoded representation of the underlying value", but here is a playground example, where using a non-nil pointer to a channel produces an error: https://go.dev/play/p/JXYuGUQ0TLQ

comment 2w ago · link · parent

> But the point you keep missing is that the function signature needs to be encoder agnostic for it to work as an interface.

It's a function, not a method. So it can't be part of an interface.

I suppose you could make an argument for passing it as a function argument to a higher ordered function. But that is kind of an unusual way to use such a function. And isn't a common pattern in go.

> My point here was: if you know you’re creating a struct to pass to the mashaller at compile time, then you’re already going to use JSONAble fields. So it’s not an issue.

Maybe. Maybe not. For a simple struct where all the fields are primitive types sure. But if you have a complicated hierarchy, you might miss that some strict in the hierarchy has a field that can't be marshaled.

Say you are marshaling a struct that contains a struct from a third party library, and it works fine. Then you update to a new version of that library, and that added a new field for a type that doesn't work, say a map[A]string where A is a struct. Your program still compiles fine, but then you get an error at runtime when you try to serialize something that worked before. Hopefully you have tests that catch it.

12345
129