You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware that this is a tool that allows anonymous users to compile and run code, but I think that a more appropriate method would be to generate random IDs rather than sequential to prevent visitors from browsing the code submitted by others.
If one-in-a-billion IDs was valid, it would make submissions functionally private even if they're still technically public.
The text was updated successfully, but these errors were encountered:
Perhaps using PostGres' gen_random_uuid() function? It would guarantee uniqueness, but it would make the URL a lot longer. Some increase is inevitable if switching from sequential to random. It's almost certainly the approach that would require the least work.
I'm aware that this is a tool that allows anonymous users to compile and run code, but I think that a more appropriate method would be to generate random IDs rather than sequential to prevent visitors from browsing the code submitted by others.
If one-in-a-billion IDs was valid, it would make submissions functionally private even if they're still technically public.
The text was updated successfully, but these errors were encountered: