Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language
- starlightsparker
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
That’s the point. too long
- Redstone1080
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I propose .obs3 as a file extension /j
Maybe .obsp (Obscure Project) could work? If that's taken, what about .obc (Obscure)?
Maybe .obsp (Obscure Project) could work? If that's taken, what about .obc (Obscure)?
Last edited by Redstone1080 (Sept. 29, 2024 11:39:24)
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
.obsp reminds me of nbsp; which is basically the space bar in html I propose .obs3 as a file extension /j
Maybe .obsp (Obscure Project) could work? If that's taken, what about .obc (Obscure)?
i like it
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#360)isn't it supposed to be obscure? i don't see .obscureproject being used for anything else, ever
too long
Last edited by breakfast_for_dinner (Sept. 29, 2024 12:54:24)
- 8to16
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
File extension?
.oproj
(Obscure Project)
.oproj
(Obscure Project)
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#364)ermm actually it's a NON-BREAKING space which is DIFFERENT because it DOESN'T BREAK the WORDS /j
.obsp reminds me of nbsp; which is basically the space bar in html
- Catzcute4
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
guys, stop warring over file types. just use .txt
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#368)Noooooooooooooooooo noooooooo noooooo
guys, stop warring over file types. just use .txt
TXT opens in notepad. Do we want notepad?
Answer: no
You could use .fileextensionforaprogramminglanguagecalledobscure (if you want an obscure file extension)
Last edited by 50_scratch_tabs (Sept. 29, 2024 16:26:37)
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
As I mentioned (at some point) earlier in this topic, why not just ignore file type (for now), because it seems everyone here can't come to a consensus on it, and just look at MIME type?
I don't think there would be any dispute over application/obscure (although also accept text/plain), because as far as MIME types go, that's about medium sized. In addition, application/* is specifically for program and executable files, and application/octet-stream (binary and unknown).
Also, regardless of people's objections to .obscure being too long for regular use, it should be a valid file extension for application/obscure files. Kind of like how .htm is a valid file extension for a HTML file- it's just slightly shorter.
I don't think there would be any dispute over application/obscure (although also accept text/plain), because as far as MIME types go, that's about medium sized. In addition, application/* is specifically for program and executable files, and application/octet-stream (binary and unknown).
Also, regardless of people's objections to .obscure being too long for regular use, it should be a valid file extension for application/obscure files. Kind of like how .htm is a valid file extension for a HTML file- it's just slightly shorter.
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#370)And how would this be stored for a file on your computer? I'm not entirely sure how mimetypes work with local files, and plus, there are many other scenarios where the server determines the mimetype by the file extension.
As I mentioned (at some point) earlier in this topic, why not just ignore file type (for now), because it seems everyone here can't come to a consensus on it, and just look at MIME type?
I don't think there would be any dispute over application/obscure (although also accept text/plain), because as far as MIME types go, that's about medium sized. In addition, application/* is specifically for program and executable files, and application/octet-stream (binary and unknown).
Also, regardless of people's objections to .obscure being too long for regular use, it should be a valid file extension for application/obscure files. Kind of like how .htm is a valid file extension for a HTML file- it's just slightly shorter.
Could you please explain how mimetypes relate to this? I'm having trouble following.
- starlightsparker
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I would suggest either .obscure, .obsp, or .obsc (My personal favorite).
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
All files have a MIME type; what it is tells you the true type of the file. MIME type is not inherently linked to file extension.(#370)And how would this be stored for a file on your computer? I'm not entirely sure how mimetypes work with local files, and plus, there are many other scenarios where the server determines the mimetype by the file extension.
As I mentioned (at some point) earlier in this topic, why not just ignore file type (for now), because it seems everyone here can't come to a consensus on it, and just look at MIME type?
I don't think there would be any dispute over application/obscure (although also accept text/plain), because as far as MIME types go, that's about medium sized. In addition, application/* is specifically for program and executable files, and application/octet-stream (binary and unknown).
Also, regardless of people's objections to .obscure being too long for regular use, it should be a valid file extension for application/obscure files. Kind of like how .htm is a valid file extension for a HTML file- it's just slightly shorter.
Could you please explain how mimetypes relate to this? I'm having trouble following.
Computers as a general rule don't care what a MIME type is, only that a file has one, and if it is familiar with it. Most computer would just say something along the lines of “this file is not supported” to any file with applications/obscure, but like most program files, changing the extension to .txt should let you open it. Also, Linux ignores file extension in general and only looks at MIME type to determine file type.
- Redstone1080
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Common Linux W Also, Linux ignores file extension in general and only looks at MIME type to determine file type.
Looking only at file extensions can be dangerous, as in the case of LMG (Linus Media Group, owner of Linus Tech Tips and related channels) vs EXE-disguised-as-PDF
- davidtheplatform
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
MIME types are generally not stored at all in a filesystem, they have to be guessed based on other things. Windows does this purely based on the file extension. Linux looks at other filesystem metadata and the content of the file to determine what type it is, but it still doesn't know the MIME type for sure because it isn't actually stored anywhere.All files have a MIME type; what it is tells you the true type of the file. MIME type is not inherently linked to file extension.(#370)And how would this be stored for a file on your computer? I'm not entirely sure how mimetypes work with local files, and plus, there are many other scenarios where the server determines the mimetype by the file extension.
As I mentioned (at some point) earlier in this topic, why not just ignore file type (for now), because it seems everyone here can't come to a consensus on it, and just look at MIME type?
I don't think there would be any dispute over application/obscure (although also accept text/plain), because as far as MIME types go, that's about medium sized. In addition, application/* is specifically for program and executable files, and application/octet-stream (binary and unknown).
Also, regardless of people's objections to .obscure being too long for regular use, it should be a valid file extension for application/obscure files. Kind of like how .htm is a valid file extension for a HTML file- it's just slightly shorter.
Could you please explain how mimetypes relate to this? I'm having trouble following.
Computers as a general rule don't care what a MIME type is, only that a file has one, and if it is familiar with it. Most computer would just say something along the lines of “this file is not supported” to any file with applications/obscure, but like most program files, changing the extension to .txt should let you open it. Also, Linux ignores file extension in general and only looks at MIME type to determine file type.
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
MIME types are generally not stored at all in a filesystem, they have to be guessed based on other things. Windows does this purely based on the file extension. Linux looks at other filesystem metadata and the content of the file to determine what type it is, but it still doesn't know the MIME type for sure because it isn't actually stored anywhere.
So do we have to convince Microsoft to add detection for Obscure scripts? Could you possibly clarify on how mimetypes are guessed?
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
There's usually a lookup table somewhere in the OS that's used.MIME types are generally not stored at all in a filesystem, they have to be guessed based on other things. Windows does this purely based on the file extension. Linux looks at other filesystem metadata and the content of the file to determine what type it is, but it still doesn't know the MIME type for sure because it isn't actually stored anywhere.
So do we have to convince Microsoft to add detection for Obscure scripts? Could you possibly clarify on how mimetypes are guessed?
There's also usually a way for native apps to add entries to this.
And none of this actually matters on a browser (Obscure's editor is a webpage) where the server sends the MIME type with the file for the browser to easily identify it.
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#377)Right but what about opening local files in the editor?
And none of this actually matters on a browser (Obscure's editor is a webpage) where the server sends the MIME type with the file for the browser to easily identify it.
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
what should I add to the editor other than the AI assistant and syntax highlighting?
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#379)Sidepanel with docs
what should I add to the editor other than the AI assistant and syntax highlighting?
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Again, irrelevant. Any file can be read (on the web) as binary or text- regardless of file extension or MIME type.(#377)Right but what about opening local files in the editor?
And none of this actually matters on a browser (Obscure's editor is a webpage) where the server sends the MIME type with the file for the browser to easily identify it.
Last edited by BigNate469 (Sept. 30, 2024 21:28:02)
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language