Hacker Newsnew | past | comments | ask | show | jobs | submit | ossworkerrights's commentslogin

next, we need a lightweight node/electron based wm, and we have a nice JS based OS all around


Ah the memories! Had no idea Haiku was an open source implementation of BeOS. Port Electron to it, and I commit to writing tools for this OS in my spare time!


It’s 2020 and the EU still thinks more bureaucracy is the way to go. I am not entirely sure US websites should necessary spend more to accommodate GDPR, which itself should be revised and made less inconvenient.


What do you believe is most inconvenient about GDPR compliance?


For the user, having a pop up on every single site explaining what a cookie is.


You only need those pop-ups if you are using cookies which are not "technical cookies".

If you are using tracking technology based on cookies or anything that collects information specific to a user, you will need to show the cookie banner and give an opt-in. Otherwise tracking/analytics is not allowed.

So... Every site you see this banner on has some dead bodies in their cellar and wants you to move on and not take a closer look. Just click "Accept all" and everything will be fine...


This is technically correct from a legal point of view. But it's a different story when Google threatens to delist your website for a missing cookie popup.


Sooo... the american megacorporation is a bigger problem than the european buerocrats? Who would have guessed (That's a rethoric question; I would have guessed, as well as most people from outside the USA)


If I don't want cookies, "technical" or otherwise, I'll browse incognito mode or block them by some other means. I don't need a European bureaucrat to get involved. Thanks.


If I don't want trichinosis, "medical" or otherwise, I'll just cook my pork extra well or remove parasites by some other means. I don't need a USDA bureaucrat to get involved. Thanks.


Yeah, the Chicago Tribune putting cookies in your browser is just like distributing tainted meat. Got it.


> I don't need a European bureaucrat to get involved. Thanks.

My 70 years old grandma or 12 years old cousin do though. Of course as tech people we know how to bypass most of the tracking happening on the web, that's not the case for the average user.


As others have mentioned these notices are not for "us". "We" are the ones that _love_ to setup their own PiHoles, tunnel everything through some self-hosted VPN spread over the world, running adblockers, script blockers, private mode browsers, do not track-settings and so on. We're just fine. But the others are fucked. And they need laws and notices so they don't get screwed.


Oh wow, cry me a river. If that's the price we have to pay for enforceable privacy laws I'm all in.


This is not due to the GDPR, but the "cookie directive" (2009/136/EC) And there are a lot of ways site operators could avoid those popups or make them non-intrusive, but they choose to ...


This is not a requirement of the GDPR. Please stop spreading misinformation.


The thousands of Euros spent on lawyers and development time to become compliant, plus all the time wasted.

Really a great accomplishment by the EU... in addition to clicking a shitty "I accept cookies" banner on every damn website I visit, I now frequently also have to click another popup for GDPR and multiple checkboxes for GDPR when I signup somewhere. As if anyone ever bothered reading those.

As far as I'm concerned, it's all just a huge waste and the internet was better off before politicians got involved.


I will risk sounding a bit like an american here:

I bother reading those, and it's my fucking right to do so, as well as to stop using a service if I don't think it's worth the data they're taking as payment.

Arguing that I shouldn't have that right, because it bothers some people is like arguing against price tags because "they're annoying" and "Who looks at those before buying something anyway?".

And no, you don't click "I accept cookies", you click something along the lines of "I accept necessary cookies plus everything I've explicitly enabled", otherwise site is not GDPR compliant and you can just report them.


As far as I'm concerned the GDPR is great regulation that puts people before corporations.


What does that even get you concretely? It is marketted nice but ultimately the "GDPR pop up" is a pathological failure case for every party involved.


The GDPR pop up is NOT just a pop up (not if you are following the law). If you are a data controller and you believe that the GDPR is just a pointless pop up you should consult your lawyer and see what they say.


Unless I remember it incorrectly, GDPR doesn't even apply to websites that don't target EU citizens; so it really doesn't affect US websites that are clearly aimed primarily at the USA, just because some EU citizen might use it as well.

And if a foreign website wants to expand into the european market, then yes, no matter its country of origin, it will have to follow EU rules.

So, in conclusion, geoblocking the EU is just plain stupid.


It’s a bit more complex than that. Are they doing business at all in the EU (for a news site, do they have correspondents in the EU?) are they selling extras to the EU (can you pay for no ads, can you buy and they will ship merch to the EU?).


> are they selling extras to the EU

Yes, there's nothing wrong with that. If you take money from EU citizens, then you can be expected to treat at least them in accordance with european standards. If you don't like it, then we don't want your busyness, as simple as that (even though that might not be the position of every citizen, it's essentially what GDPR states)


The clearest explanation of how gpus work for games and how to optimise performance. Can anyone please recommend more articles as detailed and clear as this one on the topic, i am struggling finding them?


ryg's 2011 classic is still as good as ever.

https://fgiesen.wordpress.com/2011/07/09/a-trip-through-the-...


Thanks for this - sent to my printer for a weekend self training session.


D is by far my favourite niche language, due to its clean syntax and ease of use. I am surprised it’s not gaining traction.


D is not different enough from C++.

It's like C# to Java, which has traction only through relentless flogging by Microsoft. There's nobody to flog D.


It used to be that way, but these last 5 years, C# and .Net have grown a lot. If given the choice, i would choose C# every time; Such a pleasant language to program in. All desktops support, native binary compilation, easy (easier?) interop with native code. Lot's of features to promote performance, like structs by reference, explicit stack allocation etc. Well I'm a game developer so for me it's perfect; That said, i remember reading D's specification and really liking it. As it never gained much of a traction with gamedev I looked away. Who knows, maybe in the future.


D today is C++2040.


Nah, because C++40 will just accumulate more and more unpredictable cruft while D is clean.


D is not clean. It already has some cruft. For example, there should be no "@safe" annotation but an "@unsafe" one. Unfortunately, D picked the wrong default back then.

Ok, "in relation to C++" it is clean. :)

Edit: There is a proposal to fix it: https://github.com/dlang/DIPs/blob/master/DIPs/DIP1028.md


Pardon the pun, but @safe is a safe choice. IMHO, for general language it is more productive by having low hanging fruits as the default. The popularity follows consumer->enterprise->military->aerospace, and safety gets more critical up the systems food chain. That's propably the main reason Ada is not a common or popular programming language since it is for higher end of the food chain.


This makes more sense as an argument for dynamic typing or GC by default than a “safe” keyword, imo.

From my experience with Rust, there’s basically _never_ any cost in sticking to safe code. The standard library and crates pretty much always give you enough tools.

Unsafe is really only ever needed if you’re implementing the core of an abstraction, which is probably not something that’s going to deter “casual” users imo.

The borrow checker and and type system definitely can be thorny at times, though. Other times they’re very easy to work with! But having a more ergonomic way to fall back to Java-like behavior, if only for debug builds, would make languages like Rust _much_ more accessible.


D's nascent ownership/borrowing checker will operate at the function level. So you can incrementally use it as it suits your application.


Rust appears to have a strong push on hackernews, and perhaps DLang should push harder in here. I remember first time i used this language on a friday night on my raspebrry pi and it just worked. The learning curve was pretty low for doing basic stuff such as controlling gpios. Wondering if d lang should perhaps target web devs more, as an easy way to extend, say, nodejs or write wasm apps. It really looks promising.


One needs to factor in all costs associated with a source of energy, including environmental impact and health costs, which make coal more expensive than other sources. If population lives in a highly polluted area or country that means more health issues and less productivity, more costs for health care and less money to spend on goods and services.


Would be interesting to describe in more detail what makes it performance oriented.


Performance-oriented implies a type of tradeoff made during design decisions - that tradeoff also means the language is weaker is certain ways than languages such as Javascript, Python, Ruby, etc.

Generally that would mean: - More static, less dynamic - No GC - Lighter abstractions - More directly conforms to hardware (even when it create a 'less clean' interface)


I'm guessing they were asking for some _specific_ features/techniques of Beef that contribute to achieving your design goal. The design goal itself is made very clear.


Not the author but a few I gathered from reading the docs:

- no exceptions

- mutable strings with optional pointer access

- no GC


"The family farmer is going extinct." This is a pretty sad state of affairs. I feel like this is true for other industries as well, including tech. Corporate socialism appears to be eating all forms of free enterprise and while it has some benefits such as scale products, it has far too many drawbacks such as less freedom.


This seems like a recipe for success that can be applied in some east european countries still lagging behind the rest of the eu: take old and run down shop in areas with a good potential, provide kick ass services and improve the look and feel of things.


> in areas with a good potential

You won't have much of these in (South) Eastern Europe. There is a massive brain drain towards Western Europe... every shop needs customers with spare money to go shopping and that's hard for anything that's not absolute necessities when all working-age people from the area went off to greener grasses.

Originally that was the reason why the EU introduced various funds to improve life/economy in the poorer regions... while for some regions it worked out decently, many others had all the money sucked off to corruption. Between 2013 and 2017, for example, at least 1.5 billion € in development funds were wasted (https://kurier.at/politik/ausland/betrug-mit-eu-foerdergelde...).


Yeah having been back to Romania for a while now I think the article is a gross understatement of the amount of fraud and poor investment choices surrounding EU funding. However, the country is undergoing a massive bubble at the moment, and most areas appear to be undeserved or served by low quality services. By following the example of this Egyptian guy, one could really make a difference and turn a nice, clean, profit in here.


Curious how world politics will change once electric vehicles become mainstream and there is little need for oil.


We'll still be dependent on materials like plastic. Entire categories of good production, like corn processing, depend on using parts of processed oil. Ships burn oil and they're not going to switch to electric any time soon.

Our oil dependency isn't just about the cars we drive.


Just about all applications of oil and natural gas have similar features as their use in the transportation sector: other energy sources could be used, but they are more expensive.

There are no circumstances in sight that would make oil/gas extraction uneconomical, especially in light of the rise of demand from developing countries.

So we'll have to arrange for the oil extraction reductions using international agreements.


It's not about oil necessarily. It's about energy source or more generally - a valuable resource. If lithium batteries become the new "oil", then lithium rich countries will become targets and oil countries will be ignored. But I think oil will be valuable for many decades to come. Oil use is projected to increase worldwide by every regulatory body.

As long as oil is valuable, we'll fight over it. If lithium becomes valuable, we'll fight over it. Times change, but sadly people remain the same. Especially the greedy elite.


> If lithium batteries become the new "oil", then lithium rich countries will become targets

Like Afghanistan, for example: https://en.wikipedia.org/wiki/Mining_in_Afghanistan#Lithium


If lithium reaches a certain price point, then it will just be extracted from ocean water.


I suppose asteroid mining would be a next step.


One hope is for more stability. But I can imagine a duality where countries developed enough for EVs will decouple somewhat from countries developing on oil. This assumes oil remains vastly cheaper for under developed regions.


... and we’re dependent instead on rare earth elements and the like


The people of Bolivia have recently learned this to their great misfortune. The USA government hasn't even been shy about its support for that coup against a democratically elected leader who lifted so many out of poverty. The regime who took over celebrated the fact that they are white Christians and not brown natives.


"Democratically elected" is a really odd way to say "defied a referendum on term limits and rigged an election".


Even if that were true (it's not!), the coup plotters evicted him by threatening his sister's life, before his new term started.


The USA issued statements supporting the ousting of Morales. That was the extent of USA's involvement. That does not really make it a "USA backed coup". Unless you believe it just because that's what Morales claimed.


We might strongly suspect it, based only on the fact that CIA has done this in dozens of nations since the episode described in TFA. Or, you know, we could just pay any attention at all to actual journalism [0].

[0] https://thegrayzone.com/2019/11/13/bolivian-coup-plotters-sc...


Indeed, one step at a time tho.


I wish society required manufacturers to provide reclamation of the resources used in their discarded products. Ie when I’m done with my car battery the lithium is reclaimed from it for future use by someone with all the info and resources necessary to do it efficiently. Make the regulation such that recycling is factored into the design process.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: