• 0

[C#] Drawing outline text


Question

Recommended Posts

  • 0
I don't know. You could effectively inline the GetStringPath code or change the method name. It's MS's API, not his. How many ways can you use AddString? This is why copyrighting code is stupid.

585288455[/snapback]

I wasn't supporting his demands I was just pointing out that clause 2 explicitly prohibits the case of giving out the source code. I would say that the small snippet used to GetString isn't worthy of even a mention - just read the book, understand the code and type it in yourself!

As for copyrighting code being stupid - I would far rather companies be able to copyright their code than patent it! I don't mind having to understand the problem and then write my own code to avoid the copyright, but not actually being able to produce code because it violates a patent is truly a horrific scenario...in the end you will not be able to code at all without falling foul of a patent. By that measure, copyrights are a delightfully benign measure of protection for companies to profit from their code.

  • 0
I wasn't supporting his demands I was just pointing out that clause 2 explicitly prohibits the case of giving out the source code. I would say that the small snippet used to GetString isn't worthy of even a mention - just read the book, understand the code and type it in yourself!

As for copyrighting code being stupid - I would far rather companies be able to copyright their code than patent it! I don't mind having to understand the problem and then write my own code to avoid the copyright, but not actually being able to produce code because it violates a patent is truly a horrific scenario...in the end you will not be able to code at all without falling foul of a patent. By that measure, copyrights are a delightfully benign measure of protection for companies to profit from their code.

585288849[/snapback]

Sorry if my tone came off as harsh. I know you were just pointing it out.

I agree with you on the patent thing. Copyright is much easier to circumvent. I just can't understand why people would even try to protect an abstract idea, especially using someone else's API. I can understand him trying to protect the rest of the work, but not a code example. To me, it's as absurd as a college professor telling you that you can't use the code he gives you in class without his written permission.

  • 0

Exactly - how can somebody teach you how to do something and then tell you "don't use it" !? :blink: At least he allows me to use it without exposing the source code but it still sounds stupid. As weenur said - one can always change the code a bit and say the it's his code. I think that those books shouldn't copyright code at all.

Thanks weenur, at least I know I can use the code now :D

  • 0
Exactly - how can somebody teach you how to do something and then tell you "don't use it" !? :blink: At least he allows me to use it without exposing the source code but it still sounds stupid. As weenur said - one can always change the code a bit and say the it's his code. I think that those books shouldn't copyright code at all.

Thanks weenur, at least I know I can use the code now  :D

585289213[/snapback]

Well the author has had to write the code, and if there were no copyright then a lazy author could just copy these examples verbartim and profit from someone elses work. I am pretty sure that it's not the authors intent to stop people from using the code in their own projects, especially tiny snippets such as the one you are interested in - he's just stopping the resale of his examples by a third party.

But copyright isn't a problem, if you know how to write the piece of code you write it - so long as you don't simply copy it you are free from copyright. I would just say that if you just want to copy the code then as the author for his permission as requested, if only as a common courtesy.

  • 0
But copyright isn't a problem, if you know how to write the piece of code you write it - so long as you don't simply copy it you are free from copyright. I would just say that if you just want to copy the code then as the author for his permission as requested, if only as a common courtesy.

585289350[/snapback]

I'd ask anyway. Chris is a very nice person.

  • 0

That's OK weenur 0 you don't need to ask, you did enough for me :laugh: Using the code is enough but I think that the copyright should be written this way:

2. No substantial portion of this source code may be used in order to create another educational resource (such as a book)? >without the express written permission of the copyright holders, where "substantial" is defined as enough code to be recognizably from this code.

The only worry of the author should be that no one else would copy his work in order to create another book, for example. Using some of the information to create another one is OK but copying all of it's content or most of it exactly as it appears in the book should be illegal.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The actual download size is ~130–180 MB, not 100 MB.
    • Slight change of pace for me! Gunnar & the Grizzly Boys - Standard American (Official)  
    • draw.io Desktop 30.2.4 by Razvan Serea draw.io desktop is a downloadable security-first diagramming application that runs on Windows, MacOS and Linux. Creating diagrams in the desktop app doesn’t need an internet connection. This is useful when you are disconnected or when you must create diagrams in a highly secure environment, where data protection is of the utmost importance. When you use the draw.io desktop app, your diagrams will be stored on your local device. Because this is a stand-alone application, also designed to run offline, there are no interfaces to cloud storage platforms available. Of course, you can still store your diagrams in folders that are synchronised to your cloud storage if you wish. Easy-to-use diagram editor The draw.io apps work just like the office and drawing tools you are used to using. Drag and drop shapes from the shape libraries and drag to draw connectors between them. Drag connectors to add waypoints and set a precise shape and position, or let them reroute automatically. Double click and start typing to add a label to anything. Create tables and swimlane flows with a familiar tool. Style shapes and connectors with customisable palettes, sketch options, fonts and text formatting tools. Search for shapes, including in open-source icon libraries. Use our vast libraries of shapes and templates, organised into logical categories, to create a range of diagrams and infographics. Generate diagrams from text descriptions using our smart templates. Diagram faster with keyboard shortcuts. draw.io Desktop 30.2.4 changelog: Uses electron 42.4.1 Updates to draw.io core 30.2.4. Download: draw.io 64-bit | Standalone ~100.0 MB (Open Source) Download: draw.io 32-bit | ARM64 | ARM64 Standalone Links: draw.io Home Page | Project page @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Microsoft will soon allow some users to block Copilot from analyzing their Office files by Usama Jawad Microsoft Purview is a pretty useful data governance, security, and management service that allows customers to gain enhanced visibility and control over their content. It's meant for commercial customers, such as organizations that are storing data at scale. As AI continues to expand and infiltrate every corner of a firm, many are a bit conscious about the technology gaining access to their confidential data. Microsoft is now making a configuration change that will allow such customers to rest easy. Right now, users within an organization have the option to apply Purview sensitivity labels (when available) to secure certain files and label them as such. For example, if you apply the "Confidential" label on an Excel file, the file will be encrypted, and a "confidential" watermark will be applied to it. So, if this file is shared with anyone, they are aware that its access is supposed to be restricted. Up until now, Microsoft was allowing some connected experiences, like its AI services, to analyze files, regardless of their sensitivity label. This is of major concern to most organizations, as a recent example highlighted how confidential emails with data loss prevention (DLP) policies like privacy labels were being uploaded to Copilot for analysis. As such, Microsoft is updating an existing Purview data label sensitivity setting that prevents "some connected experiences that analyze content", from being blocked completely from doing this. The label isn't changing, but the blocking is now being enforced across all connected services (including Copilot and other AI tools), and now extends to Microsoft Word, Excel, and PowerPoint. Files with the label applied already will get this enhancement automatically too once it becomes available. Microsoft has urged IT admins to inform their respective helpdesk and compliance teams, update internal documentation, and review sensitivity labels to ensure that they meet their respective compliance needs. This change is tagged as MC1297982 in the Message Center. General availability is scheduled to begin in a phased manner soon and will complete by the end of next month. That said, it is important to note that this only applies to commercial customers who have a license that allows them to use Purview.
    • llamas are unruly going haywire in New Guinea.
  • Recent Achievements

    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
    • First Post
      BizSAR earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      590
    2. 2
      +Edouard
      191
    3. 3
      PsYcHoKiLLa
      78
    4. 4
      Michael Scrip
      76
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!