HN user

samiv

1,271 karma
Posts5
Comments362
View on HN

I'm afraid to trust technology coming from companies operating under the jurisdiction of a rogue aggressive nation that is continuously attacking other nations both (so called) ally and foe using economic and military actions.

The western countries deindustrialized themselves though. That's just capitalism chasing ever increasing profits and moving production to where it's cheaper, i.e.from west to China. In fact this was cherished because it increased share holder profits.

Yep. I'm not an economist but my social democratic common sense would tell me to look at the bottom 10% income bracket and see how they're doing.

Incidentally these people are the best economic citizens because if you give them money they'll spend every cent of it because they need to buy food and energy, use health care and pay rent.

In other words if a rich person gets a million they (if they're sane) spend a fraction of it and put the rest in assets, stock market, property, etc. If you give 1000 poor people each 1000e every cent will go into local economy immediately.

This and plenty of other problems that plague the society now and over the past centuries could be solved by eliminating the distinction and gap between "rich" and "poor".

You can call JS in which you can manipulate the DOM.

Of course architecturally (also regarding your file access) it's better to use the wasm for logic as much as possible where the web (HTML/JS) provides the UI and IO, data flows into wasm for work and results flow back to the web.

This also has the benefit that you can keep your original C/C++ source code much more platform agnostic which helps reusability and testing.

Why would they need to be any more worried about those now than before?

The same holes exists and have existed for some time already. If he was not worried about them before why be worried about them now? And if you're worried about security holes why not be worried about the ones that exist now?

In general I find it funny that some people think that system is "secure" when it's on the latest version. At time t0 version N is considered "secure" then an update is made at t1 with version N1 and suddenly N is no longer secure. But it didn't change... it's the same version it was before.

Fact is a computer system is never going to be 100% secure.

Yeah and it took about 150 years until industrial revolution started to actually benefit the common people and the workers started to have their working conditions improved.

What it took was social democracy and unions and other social movements.

Saying that "it's happened before, it'll be alright" is a bit naive and short-sighted.

User entering wrong input is a logical condition and typically handling a logical condition (point being it's not an error from the software's operational point of view) using tools that allow easier logic flow (i.e. error codes) etc.

Out of memory error can happen in many environments because for example in C++ it's about the allocator. You might have a custom allocator with some limit that has no bearing whatsoever what the OS does.

  * Use asserts/panics for bugs.
  * Use "error codes/values/enums" for logical conditions (that are errors to the user, not errors to the software)
  * Use exceptions for unexpected errors in the execution of the software (normally more or less just resource allocation failures)
Leaving Mozilla 1 month ago

Why can't people just leave? What compels them to write these lengthy self grandiosing posts "zomg I'm leaving company X".

Gstreamer is a multimedia framework where the user creates media DAGs by placing video/audio/multimedia elements such as demuxers, decoders etc in a pipeline. The framework then takes care of running the media pipeline and handles the data buffering etc.

Within the framework there are multitudes of plugin packages that contain said elements and many of them are built on top of ffmpeg.

Sorry but how exactly does the sandboxing help? You download and run an app that you expect to be useful and that you need. The app needs permission to access your data. If you want to use the application what choice do you have except to grant it access?

Point being you wouldn't run untrusted code in the first place and for "trusted code" you end up accepting it's access requirements anyway.

So logically I'd think that the malware would just get piggy bagged into actual non-obvious utility apps and nothing is gained.

Second problem is that the security model hoops make for terrible APIs and user experiences. Just look at the current filesystem browser APIs. It must be mentally challenging to design APIs to Be usable and the nerf them for security purposes to make them "not too usable".

Finally one must note that at least right now the webasm ecosystem is rather immature and the de-facto only tool (emscripten) is an amateur hour hobby project. So it's going to take some decades still before the tooling is really getting there.

Was it "financial gravity" that made the decision at VW to install emission cheat devices?

Was it "financial gravity" that made the decision at Google to cheat at the ad exchange?

Was it "financial gravity" that made the decision at DuPont to dump toxic sludge in the environment and make unsafe products?

Or perhaps was it just a group of immoral people chasing more personal gain and wealth?

Humans are too weak and too easily corrupted by wealth, power and shiny things and our political and economic systems place way too much power in the hands of fallible individuals. I expect it to be our downfall.

Yes I don't disagree that sometimes a specific container or a data structure is great for the problem. Problem is that most of the game code and related code (so tooling,editor, auxiliary engine code) does need a typical STL type functionality and then when the org has "omg no STL" blanket rule someone ends up implementing STL and that's almost always worse than the STL that ships with the tool chain. Even worse..it'll be missing features and data structures and then people have to write sub-optimal code to work around it's limitations.

You're right that C++ has a lot of features. But like mentioned elsewhere most projects define their own conventions and the subset of features that they use.

Also the nice thing about having a large set of features is that C,++ allows you to write very nice abstractions (or not) at both very low or at very high level. In other words you can be very low level with online ASM and bit operations and bit and direct memory manipulation or very high level almost like a script language. Whatever the problem domain needs C++ has got you covered.

Leave Me Behind 2 months ago

It's not about removing meaning. A normal thoughtful person can surely come up with things to do and occopy their lives with. In fact for most of people work just gets in the way of that.

What's it about is once you remove the paycheck that all proletariats need when things get "interesting".

Leave Me Behind 2 months ago

Because most of the poor people in the world (majority of the population of the planet actually) have no access to clean water, food or medical care or education and that is the same as it was hundreds of years ago.

Leave Me Behind 2 months ago

The automation at least built unimaginable amounts of wealth for the rich people while the poor people are essentially just as poor they were hundreds of years ago.

This genai is going to bring about huge quality drop in software across the stack and across the domains. I already see orgs that had reasonable software processes transform into orgs where the only metric is how much generated code you can slap and slop together and how fast. There's no success here for anyone.

And this is not a dink on the ai tooling itself but on the organizationan processes that provide the context in which the AI code generation is being used.

Bad processes will always produce bad low quality outcomes regardless of tbe technology.

Most employees have absolutely Zero leverage. Ask any Amazon warehouse worker how much liberties they have and how much in practice they can negotiate. Just because some employees have had some leverage doesn't change the underlying power dynamics between employers and employees. In fact we're now seeing this play out in software as well with the AI hype train and I expect a reality check to hit many people previously in their cushy office jobs.

The fact that some countries (mostly the political west) developed a wealthy middle class post WW2 was not due to capitalism but due to social democracy.

Capitalism by itself does not produce egalitarian wealthy society. The system divides the populace into "capital owners" and "workers" who are in direct conflict.

There are plenty of capitalistic countries where most people are poor. In fact many of the as said Western countries has also high levels of poverty while running capitalism in the 1800 etc until post WW2 social democratic movements.

Once you dismantle those social democratic constructs such as labor unions and start shifting more power to the capital holders you'll see how the society splits apart to rich and poor. The rich use their wealth and power to rig the system to benefit themselves even more and become richer at the expense of everyone else. Ultimately they will remove democracy because functional real democracy is a threat to their wealth.

Unfortunately this is all true. I have also been using Clion to program C++ on Linux for almost a decade and the past 5 years the product has been in a free fall.

- every new release breaks something

  - the syntax highlight and auto completion engine has glaring bugs when using multiple file splits.  Bugs are open for a decade already.

  - performance is complete dog shit. Typing a characters spins up several cores at 100%. 

  - QA plays the "test the bug on the latest and report back or it doesn't exist" game. 
Overall they seem to be more interested in shuffling the UI around and adding useless AI features nobody asked for while the core product is eroding fast. It really looks like they don't have tbe engineering capacity/talent to keep the product in shape and whatever capacity they have is misspent on wrong stuff.

Sorry but Clion is over.