Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 8y ago · link · parent

In what way? I consider this a security win. Instead of a third party delivering unknown, unscreened content (ads), I get a mining script directly from the site that I'm visiting.

comment 8y ago · link · parent

You're reading an article that they provide... you're paying for a service. Ads promote tracking, third parties, uncontrolled CPU usage.

A coin being mined is controlled, handled entirely by first party, provides no incentive for tracking, etc.

This seems like a huge win.

comment 8y ago · link · parent

Awesome. I think it makes a lot of sense to explore new algorithmic approaches before choosing to reimplement in a new language - and thankfully these are not mutually exclusive.

To those saying "these are implementation defined optimizations" etc - you do the same exact thing in rust. I know some rust code is 'fast' and some is 'slow' and I have to understand rust and to some extent the state of llvm + rust. This is simply part of writing fast code, no matter the platform or language.

Nice writeup!

comment 8y ago · link · parent

We already have laws about which animals can be kept as pets. This is hardly an egregious extension of that power.

The law is very plainly there to prevent guinea pigs from being abused. It is not there to extend the government's power.

What an extremely odd thing to argue.

comment 8y ago · link · parent

I often have to zoom into code a lot more than others. This means that I will often want to format my code differently. I change the settings and I can use defaults before committing the code.

Programming causes me a lot of eye strain as it is, a configurable syntax formatter really does help.

I never see anyone discuss syntax the way you're describing. Not at work, not online. Actually the only place I see it is when discussing what the default is, so I think having a default is far more likely to cause those discussions as people will have more reason to complain.

comment 8y ago · link · parent

Microservices encompasses quite a lot, including designing where your module/service boundaries lie. The same ideas exist in many different places (DDD).

comment 8y ago · link · parent

Ohh, I see what you're saying.

comment 8y ago · link · parent

I'm sorry that at your day job you deal with poorly built software, but that doesn't sound like an argument against microservices. Cascading failures are one of the first things you should have dealt with in your design (and eventually they would become a benefit since your failures have nice boundaries, and are explicit in your code).

You sound extremely bitter, and extremely pompous with your "all the other devs are just dumb, I'm the only one who can see through the hype" attitude; especially your comment about younger developers.

> good software design boils down to designers with substantial experience, good judgment, and the authority and respect to see their designs faithfully implemented.

Like this - projecting much?

Microservice architecture is a tool. It isn't a replacement for you or your job. It isn't a replacement for communication. There is a recognition that Conway's law is a serious problem in orgs as they scale - microservices (in part) attempt to deal with this.

There are many other benefits. It makes things like DDD easier, since your domains and services can be tied closely together.

It makes scaling at a finer grained level easier - a problem a lot of companies may run into as they scale from a few customers to many. I've certainly run into this problem at a company that was moving from distributed monoliths to microservices.

It has downsides - a more complicated rollout / deployment structure, less shared knowledge of services, and others.

Acting like it's only hype or just 'those darn young devs' makes you sound really silly, especially as someone who's seen Microservices both fail miserably and turn things around completely (in a positive way) for companies.

You say it comes down to experienced developers making good decisions - can you not see that Microservices are designed to help with that? The way you break apart your services, their domains, the 'bounded context', etc is all a tool to help you build things well.

comment 8y ago · link · parent

Yes, I can definitely attest to this. For all of the people saying "start with a monolith", having started with a Monolith I can tell you to start with microservices. Even if they all live on the same box, even if they live in the same process, build your software from the start with microservice architecture in mind (eg: understand your boundaries, develop against them - if you can't break a component behind a boundary into a separate process trivially, it's a bad component).

comment 8y ago · link · parent

See the post you replied to for the same response.

comment 8y ago · link · parent

What is this argument even?

comment 8y ago · link · parent

I don't think boiling any single political event down to money is going to be meaningful.

I can't imagine anyone denying that lobbyists exist and that large amounts of money can buy you a lot of political power.

comment 8y ago · link · parent

It matters to me personally that a small group of people have such a massive amount of power. It's already completely uneven regarding voting power - I can vote once in an election, but if I had a trillion dollars I could vote once, and then I could pay lobbyists, and fund advertisements, etc. I, as a single person or small group, with a trillion dollars, can have a massive influence.

This is regardless of how poor anyone else is.

No one should have this kind of money, it's really absurd.

comment 8y ago · link · parent

That's not N^2 it's N*k where k is number of devices and is generally very low. Most people will have at most 3 or 4 devices. You could also have a single key and store it on a wearable device, like a phone or watch, and we're back down to a single key per person.

I think the bigger issue with PSK at scale is key generation and distribution.

comment 8y ago · link · parent

All of the complaints in this chain are things I like about the Netflix UX. Just to give some perspective.

I use the Netflix homepage primarily, rarely searching. I've watched those ads they play and then started watching the TV show/ movie they're for.

comment 8y ago · link · parent

It's not really a counterargument so much as another approach. Immutability and purity are still powerful concepts, but you don't need to use them for every single situation in rust.

comment 8y ago · link · parent

Nothing in the article seems to indicate him leaving Mozilla or rust. It ends with "here's to 5 more years".

comment 9y ago · link · parent

Yeah, when you think about Chrome's being selling points - a browser that won't crash just because one tab does, sandboxing, and responsiveness - it's literally all just from their multiproc architecture. It bought them so much to have that from the state.

But, like Firefox, they now have a big codebase to maintain and it's not so easy to get massive perf improvements because changing up architecture is painful.

comment 9y ago · link · parent

Types are good for more than just "int instead of string". What you consider a type related error is likely not the full set of errors a type system can prevent.

comment 9y ago · link · parent

This is it - this is what baffles me, thank you for posting this.

comment 9y ago · link · parent

OK, but there are definitely plenty of clear cut cases and Twitter has historically had issues dealing even with these. This isn't an issue of media in general, we're talking about Twitter, that's what the article is about.

comment 9y ago · link · parent

"Does this user have a racial slur in their username?" would knock out like a really good chunk of the problem, tbh. Or like "Is the user saying they are a nazi" would cover a lot too. Pretty basic stuff would go a long way.

comment 9y ago · link · parent

You can say and think whatever you like. Companies giving platforms to hate is not something that democracy requires.

It's less "that idea is popular" and more "these people are inciting hatred against other people".

I'm baffled that people still repeat this "free speech is important" thing when we're talking about a private service giving an audience to white supremacists.

comment 9y ago · link · parent

If your design allows insecure setups without users understanding the risks in full, I think that's on the providers and not the user. If the user understands the risks fully, then it's on the user.

I think we are way far away from users fully understanding the risks, and we're still mostly dealing with people not realizing they're vulnerable. So I put this primarily on the provider.

comment 9y ago · link · parent

I just use uMatrix.

comment 9y ago · link · parent

That's pretty interesting - JIT's can do a lot of great optimizations with runtime information, but I'm still surprised to hear that Pypy was faster. It would be cool to see the benchmarks, methodology, and Python code.

Personally, Pypy has never been an option due to the nature of the codebases I work on - or at least it wasn't. I was using pandas, numpy, scipy etc and I don't think it was compatible.

comment 9y ago · link · parent

Right, but you don't have to rewrite it at once. There are certain areas of the kernel that have historically had more issues, are at higher risk of attack, etc. Those will make up far less code than 20 million lines, and you can start there.

comment 9y ago · link · parent

> Users won't blame the extension developers. They will blame Firefox.

What's funny to me is that these 'users' you describe are apparently on HN - I thought this place was mostly software devs, but it's striking how many posts seem to fundamentally misunderstand the decisions made by Mozilla.

> This is the mother of all breakages

I would be that somewhere above 90% of FF users will be unaffected. Given Firefox's market share that's still a lot of people, but let's not pretend like they broke everything overnight.

> Mozilla should've tried to smooth this transition, not just simply pull the pin on the web extensions grenade and yell "Catch!".

You're implying that this was an unexpected change that Mozilla was not forthcoming about. It is the opposite. We've all known about this for months.

The value prop of no longer being tied to an extremely old system is significant and you're not giving it any of its due credit.

1
153154155
164