Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment O(n) solve (Score 1) 65

At first I thought it would be some form of BFS, but it's really simple, cause if you have a matrix, where you want to see if all the numbers pair up, and each can pair with any other eligible, it doesn't matter which cells pair together.

They don't ask if the puzzle is solvable but it seems like this should be solvable in O(n) time if the sum of all elements is the same as the sum of foreach(10-element).

e.g.

1 2
1 2

= 6

9 8
9 8

= 34

1 2
9 8

= 20

4 4
2 0

= 10

6 6
8 10
= 30

Comment Re:Eventually need a language with pointers (Score 1) 65

References are not pointers, they CAN be implemented using a memory pointer (into raw memory) or as an offset into a base memory block, and they can also be reference counted or not. References are in general much SAFER than pointers, as they can actually check if the thing they are referencing still exists.

Pointers are just a number, with no guarantees that that number refers to memory which is even still allocated to the process.
Pointers can be incremented while references cannot.

When you de-reference a pointer, the memory there may have been corrupted by another part of your process, while references (assuming you are only using references in most languages all bets are off with unsafe access in rust for example) have the guarantee that the memory you are accessing is not corrupt.

Since pointers are just a number, they are faster to use cause you don't need to do any extra checks at runtime to ensure they are valid.

Java for example has multiple types of References (normal 'Hard' references, soft, weak and phantom). C++ has 'smart pointers' which are a weaker version of references and I think that the many half-way implementation of references that are really just pointers with weak guarantees of safety have muddled the definition. Same goes for objC style ARC references, they are a very good implementation of a pointer with reference features but even Apple changed that when they moved to swift, even if the main way to interact with them (Reference Counting) is the same.

While at the core concept, they both refer to memory, they are very different. References simply have more features everywhere they are implemented (Java, JavaScript, Go, C#, etc.)

Comment Re:Jesus fuck everything wrong with the world here (Score 3, Insightful) 81

Grifters every last one of them man. That game is some serious dog shit too. I feel bad if they had to vibe code it is as it seems like something that could easily be cobbled together from any number of free sample games in a few hours at most.

I had forgotten that people were still trying to use NFTs to scam people out of money by making you pay for jpgs. That is so 2010s.

Comment Buried the lead... (Score 1) 41

deep in this article is a reminder that this is Microsoft which is driving this AI madness. King, purchased by Activision-Blizzard, then Microsoft as part of the consolidation. This is driving completely by MS and their AI push to automate all the things with AI.

Personally I have no love for King's games they are all clones of some other game IMO. I'm not actually aware of their current level of lootbox/gambling type mechanics but that was my impression of their games.

We definitely have reached the stage where companies are banking on AI instead of outsourcing to fulfill their need for labor.

Hope that all of these people can find their feet quickly.

Comment Re:Maybe Apple Is waiting for AI stability (Score 1) 24

Hate to break it to you but all of Apple's products were not the first one, they were just the most usable/best one. Vision was not the first VR, Watch was not the first smart watch, iPod was not the first mp3 player, PowerBook was not the first laptop, Lisa/Macintosh was not the first WIMP computer, and Apple I/II was not the first Home Personal Computer (or homebrew computer).

They don't have to be first, they just have to make one that is better. Usually they have been buying the competition if they are small enough and making it if they can.

Comment Re:The hype (Score 1) 157

I don't think any of those technolgies you mentioned had nearly the investment or interest of such a wide variety of people. From health care, to government, to coding, to any company with a terrible chatbot, all of them have people interested in trying to replace system X with a LLM guessing machine.

The crash from this hype train will be large indeed. Even if it does 1/10th of what they say it can (which I doubt since people are claiming that it will replace most workers and do all the thinking for us, thank you AGI boosters), it will have a profound impact on how we do information work.

Comment I guess all lotto is theft then... (Score 2) 74

if someone winning the lotto is theft, then all wins are theft cause it's not like a 'normal' winner is taking the lotto jackpot and spending it ONLY in Texas (or wherever the lotto is for) and on Texas goods and services. All lottos do (in the best case) is consolidate wealth to a single individual.

Comment This is what happens when you overclock your CPU. (Score 2, Informative) 19

They just sold them over-clocked out of the box. I sure hope they can recover from this scandal. Like all the top end CPUs are being pushed as far as they can go to be as fast as possible, but they're not supposed to be sold in a state where they will damage themselves.

Slashdot Top Deals

grep me no patterns and I'll tell you no lines.

Working...