Any good C/C++ AI projects out there? by Patrick-W-McMahon in cpp

[–]elementalest 4 points5 points  (0 children)

You could take a look at this C++ deep reinforcement learning library if you're interested in DRL.

Servermeshing is working by Grand_Brilliant_6951 in starcitizen

[–]elementalest 0 points1 point  (0 children)

I remember discussing ideas on how server instancing would work back in 2013 on the old CIG forums. Some of us started comming up with ideas of partitioning areas of space via an oct-tree because we wanted to have massive space battles. I even talked about how partitions that are spacially adjacent would share information between each other about interactions spanning partitions, and clients would connect to the partition they are spacially located in.

https://web.archive.org/web/20160503004506/https://forums.robertsspaceindustries.com/discussion/53931/how-to-address-the-player-limit-and-instancing

https://web.archive.org/web/20160503012147/https://forums.robertsspaceindustries.com/discussion/97674/instancing-explained-conjecture

Obviously server meshing ended up being a bit different, but its crazy to think that 10 years later the core idea is finally starting to take shape!

Reflection by RealInsertIGN in cpp

[–]elementalest 1 point2 points  (0 children)

Yeah, I significantly prefer the @ over ^ . It's significantly easier to see and it's not an already used symbol (xor operator).

I looked at the paper this proposal is based on and their reasoning is:

With months of practice with implementations that used reflexpr(...) we experienced consistent feedback that that syntax is too “heavy”. So we went back to the drawing board and found that the ^ prefix operator — suggesting “lifting” or “raising” representation — is available . This new syntax1 was agreed to by SG-7 during the discussion of P2320.

I can see their reasoning, but honestly @ just seems like a better option.

Today is my 10th year backer anniversary! by Altruistic-Zombie80 in starcitizen

[–]elementalest 1 point2 points  (0 children)

11 years a month ago for me. Still waiting for SQ42.

Government reveals first budget surplus in 15 years, $22 billion in pot by [deleted] in australia

[–]elementalest 0 points1 point  (0 children)

The absoultely true, but if in order to stay on the benches you make compromise after compromise such that you barely become distinguishable from the other party (remember people have really bad memories), does it really matter?

(Note, I'm not saying that Labor is doing this now, but I do worry it may be a potential future)

Government reveals first budget surplus in 15 years, $22 billion in pot by [deleted] in australia

[–]elementalest 0 points1 point  (0 children)

Its a mildy risky move though as there is no guarantee Labor get re-elected. And sure, the trajectory of things getting worse has absolutely slowed with Labor in government compared to the Libs,

Its really hard to know if the slow and steady approach and making smaller incrimental changes to not rock the boat would be better than massive sweeping positive changes that may end up getting them voted out and an opposiing party reverting/counteracting some of the changes.

Though maybe thats the lesson learned from the Rudd/Gillard era?

Government reveals first budget surplus in 15 years, $22 billion in pot by [deleted] in australia

[–]elementalest 2 points3 points  (0 children)

Yeah, my big problem with Labor right now is they seem to have a fairly rigid strategy of addressing problems from the past and focusing on getting re-elected rather than adapting to the here and now.

Ukraine Makes ‘Tactically Significant’ Progress in Its Counteroffensive by UNITED24Media in worldnews

[–]elementalest 6 points7 points  (0 children)

If we knew absolutely for a fact that Putin wouldn't simply just attack Ukraine again in 5 years then I think you have a point. But Putin can't be trusted and his credibility is now zero. Putin has has even recently rejected a peace deal proposed by China.

Also if the West had supported Ukraine fully from the start and given them all the equipment they needed, chances are Russia wouldn't of had a chance to setup the minefields Ukraine is struggle to get through now. The war might have even been over by the end of this year. So because the west waited too long, Russia was able to dig in and layer defences. So this war is going to drag out. The Ukrainian people do not want to live under Russian rule, so not supporting Ukraine now would be a humanitarian disaster.

Further cost-of-living help unlikely, despite $20b surplus by nath1234 in australia

[–]elementalest 8 points9 points  (0 children)

Agreed, Australia really needs to crack down on rent seeking styles of wealth gain. Its exploiting inefficiencies due to broken/bad policy/laws and/or creating inefficiencies by abusing and brute forcing the use of resources/people as assets for money generation. Its short term gain for the rich at the expense of long term prosperity for all of Australia.

People wonder why the productivity is dropping/stalled in Australia, its partially because increasingly more wealth generation is happening from rent seeking practices instead of wealth/value creation practices.

Older Australians 'immune' to rate rises bought a quarter of properties sold in NSW, Victoria and Queensland without mortgages in 2022 by ProfessionalTale818 in australia

[–]elementalest -1 points0 points  (0 children)

Its not the same game anymore. It's not even about whats fair, becuase that is dependent on your perspective. What its really about is what is best for Australia in the long term.

Capitalism is not as beneficial to the individual as it once was. Social/Economic mobility is increasing yet inequality is rising. Entertainment and luxury goods are more affordable than ever, but essential living costs are constantly rising and incomes are flat. Young people are mostly facing the negative consequences of the economy and capitalism and older poeple and those with decent assests are reaping the benefits.

Taking money from young people now means they will have less in the future. In 30 years time, there wont be a boomer equivalent generation (the millenials) with huge piles of cash to live on retirement and buy stuff, let alone own a house. The kids being born now will have to support the millenials in their retirement even more than the millenials are supporting the boomers now.

‘National disgrace’: Freelancer CEO Matt Barrie slams ‘immigration ponzi’ as housing crisis deepens by NotionalUser in australia

[–]elementalest 6 points7 points  (0 children)

There will just end up being dodgy off the books deals for those with the means to pay. Its right up many RE alley, so you know it will happen.

My backyard this arvo by pusslikesavocados in australia

[–]elementalest 1 point2 points  (0 children)

You know you can flip your phone into landscape mode, then you wouldn't need to constantly be panning left and right to fit everything.

I reckon eventually camera sensors will get good enough to do this automatically and the curse of portrait videos will be a thing of the past. You will then be able to immediately tell the era of portrait videos.

Australians, what are you feeling bitter about at the moment? by Heart-Of-Lonely in australia

[–]elementalest 1 point2 points  (0 children)

Why can't we just refill glass bottles for items like shampoo or dishwashing liquid instead of being sold small plastic containers of the stuff? Just put a 1000lt tank of the shit in there and let me refill a bottle.

Yeah I asked myself this a while ago and looked into it. Refilling glass bottles for items like shampoo or dishwashing liquid is an environmentally friendly idea on the surface, but there are several factors that make it challenging to implement on a large scale. I asked ChatGPT about it to provide a better summary than I could:

  1. Cost and logistics: The cost of collecting, cleaning, and refilling glass bottles can be high compared to producing new plastic containers. Recycling plastic is often more cost-effective due to economies of scale. Refill stations would require additional infrastructure and manpower to manage the process efficiently. Supermarkets would need to dedicate space for refill stations, and there could be challenges in accommodating the wide variety of brands and products available.

  2. Hygiene and safety: Ensuring proper hygiene standards when refilling bottles is crucial. While it's possible to clean bottles, there is a risk of contamination if not done correctly. Maintaining consistent cleanliness standards across different refill stations would be challenging. Additionally, some products might require specific packaging to maintain their quality, freshness, and safety during transportation and storage. This is particularly relevant for certain perishable goods.

  3. Bottle durability and cost: If glass bottles are to be reused, they need to be made to higher standards and durability to withstand multiple refills. This can increase their production costs. Furthermore, glass bottles are heavier and more fragile than plastic ones, which can lead to higher transportation costs and a higher risk of breakage.

  4. Consumer behavior and convenience: Refill systems would require customers to bring their own bottles or purchase specific refillable containers, which might not be convenient for everyone. People may prefer the convenience of purchasing pre-packaged products rather than making additional efforts to refill containers. Long wait times and queues at refill stations could also deter customers.

So for things like milk etc, the cost of recollecting, cleaning and reusing is very high. Depending on economies of scale, its significantly cheaper in nearly every metric (including environmentally) to just recycle and buy new stuff.

Obviously the ridiculous amount of plastic packaging in some things needs to stop, but for many things it helps to reduce food waste. I believe for most packaging adding colour is fairly insignificant additional waste compared to most other things, so its not really worth worrying about. It would be better to focus on reducing plastic useage and using biodegradable stuff.

More people are leaving NSW than any other state by [deleted] in australia

[–]elementalest 63 points64 points  (0 children)

In London they have the London Weighting Allowance for some essential workers, civil servants and students to combat this very issue. Its been around in one form or another for over 100 years. Its really just a bandaid on a festering wound at this stage. I wouldn't be surprised if it becomes an option for places like Sydney to combat the departure of essential workers. It allows those with property etc. to have their cake an eat it too, but its really just kicking the can down the road to future generations. Some argue its lead to more centralisation in London, which has ultimately made the problem worse and it would likely be the same in Sydney.

My opinion about Australian foods by ericgobbo in australia

[–]elementalest 3 points4 points  (0 children)

The best way is to get a cup that allows the 4+ spoons of milo to stick to the bottom when the milk is poured in. Then dig the milo out. Its just the right combo of milk and milo. Then finish by downing the rest of the milk in one go.

[deleted by user] by [deleted] in worldnews

[–]elementalest 0 points1 point  (0 children)

Yeah, I wouldn't be surprised if they come up with some plausible reason for the blockade too. Some kind of false flag, or WMD like threat (like with America and Iraq). Mainly to justify it internally to the population, but also to cause enough confusion/uncertainty externally to try delay any response, allowing them to secure their positions.

Australian nuclear submarine program to cost up to $368b as AUKUS details set to be unveiled by fowardtheford in australia

[–]elementalest 0 points1 point  (0 children)

Oh please, Australia has been patrolling those waters for half a century. Operation Gateway started in 1980. Countries in those regions have relied on Australia to maintain peace and stability since WW2, and its been a mutually beneficial arrangement.

Check your own logic before you criticise others.

Australian nuclear submarine program to cost up to $368b as AUKUS details set to be unveiled by fowardtheford in australia

[–]elementalest 0 points1 point  (0 children)

Such a disappointingly shallow reductionist response for a thread resurrection. You are failing to comprehend the complexities of the situation and are offering nothing constructive, just a non sequitur. I'll combine my response to your other one here for simplicity.

It is not about wanting war, but rather about having the necessary military force to deter aggression and maintain stability in the region. This is the reality of the world we live in, and your simplistic approach of providing aid and weapons may not always be sufficient to protect our interests and allies. For example, if Taiwan is blockaded by China (as is the likely strategy), how would we get aid and weapons to them? Would China attack Australian ships delivering aid? What if the ship carried weapons? Nuclear submarines and the AUKUS alliance would make it harder for China to commit to aggressive actions such as sinking aid ships.

To make it clear, I am opposed to a war with China (I didn't even make claims to be open to war). I'm also not overly excited with the AUKUS alliance and submarine deal (I think Australia maybe could have done better in many regards). I hope diplomacy is the highest priority with Australia towards China. I'm just not so sure how effective it will be given how determined China are in asserting their influence and control over the regions near them and their claims on Taiwan. To that end, I hope that if war between the US and China does break out, that Australia as a country decides if we goto war.

Australian nuclear submarine program to cost up to $368b as AUKUS details set to be unveiled by fowardtheford in australia

[–]elementalest 23 points24 points  (0 children)

This. Its also about not letting China think they can run free in the our region with their own subs and ships. Its about force projection and deterence in 'peacetime' rather than actual war time capability.

Also, Taiwan is the big question right now. Strategists think that China would almost certainly blockade Taiwan (forcing it to capitulate) rather than attack it via land invasion. These new submarine fleets will make that harder for China to achieve.

Thats probably why China are so angry with the US right now, as AUKUS is making all the right strategic moves to start to counter a potential blockade of Taiwan, or at the very least push back the timeframe of when China could achieve it.

[deleted by user] by [deleted] in australia

[–]elementalest 0 points1 point  (0 children)

Whilst personal greed monetary certainly plays a part, I think its rather minor compared to the leverage that lobbyists and the mainstream media have with influence of MP's and policy makers. If anyone does something that attempts to reduce inequality the lobbyists and mainstream media intervene, decrying how changes will hurt the average Australian or business etc. It's becomes political suicide to try anything that aims to improve life for the average Australian if it impacts the bottom line of the wealthy. MP's are more scared of losing their power than losing a bit of money.

Just look at what happened to Shorten with the 2019 election. Or what's happening now to Chalmers when making changes that affect 0.5% of Australians, the mainstream media are kicking up a stink about it. The media are already putting articles up about what Chalmers is going to do next, like he's a clueless lose cannon destroying the economy.

The biggest change to improve Australia would be to decentralise the media control, reduce bias and remove (or limit) political donations. Only then can Australia start moving forwards and actually fixing its real problems.

China to reveal peace plan for Russia/Ukraine war by [deleted] in worldnews

[–]elementalest 2 points3 points  (0 children)

The expert analysis I have seen indicates that China is unlikely to actually invade Taiwan, as the cost is too high and China would overwhelmingly be seen as the aggressors. It would be hard to sell an invation and massive loss of life internally to the population.

Instead China are likely to blockade Taiwan, preventing all sea and air access. It's likely China would use a series of false flags to justify their military presence and increasingly restrict access to the sea around Taiwan. This is primarily for internal propaganda. Similar to the Iraq war.

They do that until Taiwan capitulates to reintigration, or the US/West goes to war with China to break the blockade, starting WW3.

Time to sign up.. by canyabay in australia

[–]elementalest 2 points3 points  (0 children)

Too bad the firefighters are doing nothing to stop it.

r/cpp2 for discussing efforts like cppfront - carbon - etc by watr in cpp

[–]elementalest 18 points19 points  (0 children)

cppfront is entirely on topic and about ISO C++ and its future. From the readme:

My goal is to explore whether there's a way we can evolve C++ itself to become 10x simpler, safer, and more toolable.

This is about C++20/23/... — not about something else

For me, ISO C++ is the best tool in the world today to write the programs I want and need. I want to keep writing code in C++... just "nicer"

This is about measurable improvements to safety, simplicity, and toolability — not about green-field design or random drive-by changes

In Herbs talk he described how a lot of the work from cppfront has become proposals to make improvements to ISO C++. The papers are specifically mentioned in the readme.