Git Product home page Git Product logo

Comments (10)

oziee avatar oziee commented on July 16, 2024

geez.. your a very rude, abusive, demanding person aren't you!!.. two posts in here, and you think this is how you write things??
you have been on github for 20 days.. if you don't know how it works, go and learn. You don't like the ways its been done, then fork it and make your own.
Learn yourself!

from ender-3.

techmach avatar techmach commented on July 16, 2024

The SW files are corrupt. STEP files are not supposed to be handled as TEXT files because they aren't TEXT files. You can't change the reality because you don't like the perceived tone of the message.

from ender-3.

francisalbar avatar francisalbar commented on July 16, 2024

Git repositories are not limited to text files - they work with any files including binaries, images, etc. What you are viewing right now is the Github web interface which attempts to detect mime-types and utilizes an HTML based previewer.

The web interface is not the only way to access these files. If you prefer more granularity or prefer to view these files with your own preferred viewers, please use a different interface such as a GUI Git client like SmartGit, Tortoise, or Github Desktop.

TLDR Learn to Git.

from ender-3.

techmach avatar techmach commented on July 16, 2024

STEP files like DXF or IGES don't require viewers and they were never meant to be handled like simple ASCII text files. These file types are generated via translators from 2D and 3D CAD/CAM systems from the 3 dimensional data resident in the source file on that CAD/CAM system. STEP files are not meant to be edited by hand as are Arduino or Marlin files. At issue here is that Github handles them as if a user needed to use snippets of code for programming devices. The clue is the file extension which is everything in this case. The STEP extension has to mean that your system understands that this file is not a man editable file and doesn't need to be read in an editor unless the user wants to. The end result should be that I can simply right click and save the link as a *.STEP file with the name and the extension intact as I would to with a *.sldprt file that is also hosted here.

Do you understand this concept?

from ender-3.

oziee avatar oziee commented on July 16, 2024

The reality is your tone and attitude is disgusting!! and as such, NO ONE will both helping you.

No matter what YOU think should be happening, if you don't like how GIT works.. it FORK it and make your own.. LEARN TO GIT

Do you understand this concept.. obviously not!

from ender-3.

techmach avatar techmach commented on July 16, 2024

My attitude is irrelevant. What is relevant is performance. You either can or you can't. If this is supposed to be a file handling hub it should learn how to handle files. The Empire will bring order soon enough. At least Microsoft understands the concept of file extensions and their significance.

from ender-3.

techmach avatar techmach commented on July 16, 2024

Github's own definition:

"Git

Git is an open source program for tracking changes in text files, and is the core technology that GitHub, the social and user interface, is built on top of."

As I explained earlier STEP files are not just TEXT files and as such are not meant to be handled as TEXT files. Sounds to me like STEP files just stretch the "Git" to the breaking point. Better Git with it or be left behind. There's a whole wide world out here.

from ender-3.

TLWhite avatar TLWhite commented on July 16, 2024

techmach, you are correct, the STEP files that are uploaded are corrupted, and are of little use.

Naomi is working on getting us a properly exported "Pack and Go" file for the community to work from.

from ender-3.

francisalbar avatar francisalbar commented on July 16, 2024

The Git Version Control Platform handles non text files perfectly fine. The Github WEB INTERFACE is incorrectly treating STEP files as text, and as such, the Github WEB INTERFACE is causing your issue.

If you would like the Github WEB INTERFACE to handle it appropriately, log a defect to Github and NOT this repository. Or better yet, submit a pull request that fixes the issue. You know, the way open source works. Creality has nothing to do with how the files are handled by the interface.

Your other option is to utilize a different interface to handle binary files directly as I've mentioned before. You won't have to worry about an HTML interface or your browser misrepresenting the files.

from ender-3.

d42ohpaz avatar d42ohpaz commented on July 16, 2024

@TLWhite @techmach et al,

It sounds like the repository needs a .gitattributes file that defines the .STEP files as binary files so that a) git won't try to change line endings, and b) won't try to diff them, or c) anything else that happens with text files that would corrupt binary files.

Creating a file at the root of the project called .gitattributes and adding the following line would solve this problem:

*.step binary

Source: https://www.git-scm.com/docs/gitattributes#_using_macro_attributes

PS. @techmach, while you mean well and are technically correct, the way you come across is off-putting and aggressive. This does not encourage others (as you've witnessed) to listen to what you have to say. In fact, it often times will have the reverse effect. It's also worth while to remember that not everybody knows what they don't know, not should they be expected to. We are all here to learn and help, and should approach these kind of situations in that spirit. :)

from ender-3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.