Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

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

Submissions

comment 3y ago · link · parent

> At least that is the only thing that keeps the EU Commission from going full police state.

Such an extraordinary claim.

Are you able to provide any evidence that supports your claim that at any time the EU Commission tried to go "full police state", and that courts kept that from happening?

comment 3y ago · link · parent

> When people comment internally and there is even a hint of cynicism in what they say, they are frequently called out on it.

Correct me if I'm wrong, but it sounds like whenever people presented valid criticism, the standard approach to silence it would be to criticise the tone with a holier-than-thou attitude. Sounds like a cynical ploy to shield yourself from criticism.

comment 3y ago · link · parent

> But nothing goes directly into main.

That's not a reasonable argument. The problem is pushing confidential info into a repository. It matters nothing what the branch you push it is called.

comment 3y ago · link · parent

> No, that's not a fair characterisation

Prove me wrong and provide the single best example of objective evidence you are able to produce.

Go on.

comment 3y ago · link · parent

> There's a mountain of circumstantial evidence (...)

In other words, there is no evidence. Right?

On the flip side, these conspiracy theories sound more like fabrications from loons caught in their little world.

comment 3y ago · link · parent

> I don’t understand what you mean by JSON was not invented. It was invented by Douglas Crockford.

Douglas Crockford took his time to write up a specification for the JavaScript Object Notation (JSON).

That specification is, quite literally, "based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999."

It's in the name. There is no way around this.

MDN's doc on JavaScript's eval() vs JSON.parse() refer to JSON as "a subset of JavaScript syntax to represent data."

Claiming that someone discovered JSON makes as much sense as reading the C standard section on struct initialization and proceed to claim you discovered the C struct notation (CSN).

https://en.cppreference.com/w/c/language/struct_initializati...

comment 3y ago · link · parent

> What’s the conspiracy?

Don't underestimate the ability of these conspiracy loons to fabricate more and more stories. I expect them to react to tasting a big nothing sandwich with more conspiracy theories on how shady imaginary organizations edited out all the smoking guns.

comment 3y ago · link · parent

> How many of these would you need to update in the direction of "maybe some of them do know some of what they're talking about"?

None of them knows anything at all about anything whatsoever. You're talking about morons who abuse conjectures to build up their personal fictional stories with the goal of fooling themselves into believing they are special and smarter than everyone around them.

Listening to conspiracy nuts regarding their pet conspiracies makes as much sense as taking investment advice from lottery winners: even if they are right once in their life,their whole rationalization is deeply wrong and has no bearing in reality.

comment 3y ago · link · parent

> I always find it interesting how when these things get revealed, nobody seems to update their priors on "conspiracy theories" going forward.

The problem with this blend of specious reasoning is that to start off these conspiracy theories do not have any prior whatsoever. These conspiracy loons build their system of belief at best around flimsy conjectures, and reinforce their baseless beliefs on any noise that they manage to overfit around those.

A broken clock being right twice a day does not vindicate conspiracies around broken clocks.

comment 3y ago · link · parent

> My guess is that XML is good for situations where text and data is mixed.

I don't agree. My take is that HTML/XML-like syntaxes benefit from familiarity from front-end developers, and a DSL to express document/component trees ends up simplifying the job of expressing document/component trees.

comment 3y ago · link · parent

> I agree, mostly. But since when isn’t it obvious that posting data with a browser will send that data somewhere?

I'd be surprised if anyone at all, specially developers, expects a browser to do anything other than transfer data to/from the internet.

comment 3y ago · link · parent

Either you do not know what's the meaning of "red herring" or you're failing to understand the problem. Personal data is the reddest of data, even and specially in a corporate context.

You can also have more data that is red, but if your infosec policies fail to prevent or stop personal information being sent, which is the lowest of low-hanging fruits to spot, then you will assuredly be leaking more red data that is harder to spot.

It makes no sense to try to downplay the problem if leaking personal data. It's the most serious offense in any context, not only for the data but specially for what it says about the security policies in place.

comment 3y ago · link · parent

> I mean it the other way: I see the problems routinely downplayed with excuses like "it's not collecting personal data".

You claimed that personal data was a red herring. It is not. Shipping personal data is the worst possible scenario. It's unthinkable to try to make the case that a data leak is not serious because it's just personal data.

comment 3y ago · link · parent

> It's always strange to think that we went through formats like XML (and even earlier, XDR) before inventing something as seemingly simple and obvious as JSON.

It's my understanding that JSON was not invented. It's just the necessary and sufficient parts of JavaScript to define data structures, and could be parsed/imported in a browser with a call to eval().

People who complain about JSON completely miss the whole point. It's not that it's great or trouble-free, it's that it solved the need to exchange data with a browser without requiring any library or framework.

comment 3y ago · link · parent

> Personal data is a red herring. It's not the only thing that matters. For starters, using this at work with anything not explicitly public is likely a violation of your contract. (...)

"Personal data" means the reddest of data. If a system collects and tracks personal information then it will be expected to collect highly sensitive information that is not personal. It makes absolutely no sense at all to try to downplay security problems by coming up with excuses such as "oh it's only leaking personal data".

comment 3y ago · link · parent

> Processing multi-GB files in the browser is... fun. Doing that kind of thing on a server is easier.

This sounds like a strawman. Not everyone wrangles multi-GB files, let alone JSON documents. Those who do are already readily aware of the implications. I mean,some popular text editors even struggle with multi-GB of plain text files.

You don't need a server to handle JSON. There is no excuse.

comment 3y ago · link · parent

> That's only for the telemetry that happens during the install process (if I've read the link correctly).

Wrong. That's for the dotnet cli tool to phone home each and every time you run a command.

https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr...

Microsoft even provides a page which showcases summaries of some of the metrics they collect from you if you don't disable this feature. These metrics even include MAC addresses.

https://dotnet.microsoft.com/en-us/platform/telemetry

> Seems quite reasonable as long as we accept them sending telemetry during install.

There is nothing reasonable about this. You should not be required to have tribal knowledge on how to use arcane tricks prior to running an application just to avoid being spied upon. It's a dark pattern, and one that conveys a motivation to spy upon unsuspecting users whether they approve it or not.

comment 4y ago · link · parent

> Looks to me like he might recognize the scope of the problem (...)

I find it very unlikely that search, of all features, has problems where UI development is remotely relevant, let alone the solution. UI-wise, search consists of firing dumb requests to the backend and just update the UI with the results.

comment 4y ago · link · parent

> Good lord. I can't imagine bragging, taking a job, then immediately asking other people how to do it.

This. What a public announcement of incompetence.

comment 4y ago · link · parent

> It's sort of like modern art. Maybe you could have done it, but you didn't.

This makes zero sense. Changing a screen in a page is not a technical challenge. It is a Product Management call. Things are the way they are because the product owner sat with one or more UX designer and determined that that's exactly how they want the screen to be and to stay like that for all users. The only input developers have is to get the product vision to become a reality, and bolt a bunch of tests.

comment 4y ago · link · parent

> But, most importantly, the fundamental issue is that all classes are optional by default in Java (indeed, that's the problem at hand). Adding an Optional class doesn't really mean you can make any non-nullability assumptions about other classes, especially when using different libraries.

Perhaps it's just me, but I don't equate optional with nullable. An optional value is just the designer specifying that you may or many not specify that value, while nullable are objects which may or may not have been initialized yet.

Even though nullables have been used and abused to represent optional values, I'm not sure it's a good idea to conflate both. It would be like in C++ equating shared pointers with optional types.

comment 4y ago · link · parent

> Assert usually throws an exception in most environments.

Not really. In C and C++, an assert() calls std:abort. In custom implementations it does whatever you'd like it to do. I've seen assert() call asm('int13;') out of convenience. I never see an exception once.

comment 4y ago · link · parent

> I see stuff on HN and other tech boards about how terrible it is to work with C++ and how memory management will clothesline all novice and intermediate programmers. However, the Stroustrup book makes it seem like it's pretty manageable.

Plenty of people around here desperately want to vindicate their personal bets regarding other languages and framworks, and consequently you see a multitude of poorly thought-through strawmen put up to try to denigrate the other choice and, by process if elimination, leave their personal choice as the one true choice.

It's tiring. This obsession some Rust fanatics have regarding C++ drags on for over a decade, and it never changes. If they think it's so great, why waste so much time trying to drag down pseudo-rivals?

comment 4y ago · link · parent

> Using these kinds of static analysis tools is pretty much essential in any professional C++ role. Could you argue that it would be better if this was a language feature instead of something that you need a static analyzer for?

Isn't Rust's shtick basically a language built around a static code analyzer? It would be weird if Rust fanatics complained about static code analysis in other languages.

comment 4y ago · link · parent

> To me this looks like a deliberate leak from Amazon.

That was what I thought as well. Whether to sugarcoat propr or upcoming layoffs, this niewspiece sounds like a justification in the public's eye of why everyone at Amazon is getting the axe.

comment 4y ago · link · parent

> No ... not like these. I can control any communication through these.

How do you control what other people say to you through emails they send you to your Gmail account?

I get the point you tried to make: Alexa is a listening device customers intentionally plant in their home. But if you do care about corporations listening in, you're missing the forest for the trees. Gmail alone is far more incidious and has the potential to reach far more personal information than Alexa.

comment 4y ago · link · parent

> You could do "TODO fix the foobar because flange see Ticket 1234"

No, you should create Ticket 1235 - fix foobar, add additional info such as rationale and the definition of done, and add Ticket 1234 as related/blocks.

comment 4y ago · link · parent

> I write TODO for something that would be too disruptive to do as part of the current change but nice to have done.

One more reason to not have a TODO item and instead track work on a ticket. Sneaking fixes/changes as part of other tickets mixes up the rationale for tickets and makes changes harder to track. If all you're doing is a cleanup then all the more reason why it should be in an independent PR tracked accordingly.

comment 4y ago · link · parent

> Really? My company is on its third ticketing system.

Your company should get it's shit together, unless it's in the business of switching ticketing systems.

comment 4y ago · link · parent

> If you’re regularly encountering or writing code that only works by accident or doesn’t handle important use cases, it isn’t the fault of a TODO.

You're confusing a symptom with the root cause.

TODO items are symptoms of a problem, one which can and does often manifest in code that is brittle and only works by coincidence.

> A TODO should document something that has been considered and would potentially be an improvement, but is not currently necessary.

Not really. A TODO is just a comment someone decided to add because at the moment they spotted something that might require some work, but couldn't be bothered to track it as a work item. Just that, nothing more.

> It isn’t supposed to be a flag that says “warning: I’m checking in broken code.” I

Except it actually is supposed to be a flag that states "yeah I know this is broken code but trust me I'll get around to really fix it at some time between not now and never"

I've lost count of the age-old TODO items I stumble upon on projects I've worked on that served no purpose other than either stating "I think this needs fixing but I can't be bothered to track work items in a ticket" or "I just need my PR to go through, trust me bro I'll do this right once I remember to fix my shit"

1
212223
27