In my projects, I give them a name but not necessarily a domain. So my package names (and namespaces) are usually just "projectname.libraryname", regardless where the code is hosted.
I am used to .NET where this is handeled quite freely.
It work on two principles:
Detect the browser fingerprint based on 8 parameters
Detect if someone has changed his fingerprint by changing any parameter.
The success of fingerprinting depends ...
Some browsers can also be identified via HSTS Supercookies.
This is where you can embed a page with requests to random sets of secure and non secure resources for each visitor, then monitor the pattern of their requests on a returning visit. If each resource is requested in the same pattern, then you can use that information to identify the user.
These are ...
I can't remember where I've seen it, but I've seen it suggested to use a structure like this:
YourIdentifier can be something like a domain you own, your (fairly unique) internet alias, etc etc. The component name is left off for "core" code of your product. For instance, I have a small MVC framework named BarelyMVC,...
It's only code, doesn't have to mean anything, i.e. no information should be encoded in the code. Since there's no length limitation, why not use words? This is not my original idea, btw, I got it from what3words
It meets the desired properties:
Uniqueness, what3words can map earth in 3x3 square meters space. Even if that's the maximum, you have plenty of ...
I’ve done this before, where data in a third party service needs to be in sync with data stored in my in-house SQL database.
The best way that I could come up with was to start a local database transaction, provisionally insert the local data, reach out to the third-party service and do my data creation / insert there, verify the third-party service call ...
I came across this question on random, but here's how I would do it:
On your users table, create a column called lastActivity and make it a DateTime type.
When connecting via the websocket, have the client authenticate the socket connection, (like sending an authToken or however you like). When authenticating, you set the id of the user as a property on ...
There's no rule that Java package names or .NET namespaces be domain names. There isn't even a requirement that they be unique, although that's certainly a Good Idea. I actually think you were right to use com.googlecode.oldproj, and in your shoes I wouldn't have switched to com.oldproj unless I was trying to get publicity for the new domain name.