instruction stringlengths 27 22.5k | chosen stringlengths 27 28.2k | rejected stringlengths 19 24.9k | __index_level_0__ int64 0 10k |
|---|---|---|---|
<p>Well the subject is the question basically. Are there any version control systems out there for 3d models. An open source approach would be preferred of course.</p>
<p>I am looking for functionality along the lines of subversion however more basic systems would be of interest as well. Basic operations like branchin... | <p>This is going to be difficult since most 3D CAD programs do not take into account the possibility of revision, so when you load something and then save it again it may completely re-order the points (there are reasons for this, usually done for performance).</p>
<p>Further, large models represented in a text format... | <p>I was under the impression that SVN is perfect for any kind of project that uses text files. So if your model is made up of text files, then it would be fine. </p>
<p>I don't see how binary data would work, as all version control that I know of makes use of diff management, which uses text comparisons.</p>
| 6,337 |
<p>What is the best technique to improve removing PETG from the print bed?</p>
<p>PETG is known for sticking well to the bed; so well that it does not need a heated bed. If it weren’t for printing other materials, I would try printing directly on the glass bed instead of a build surface. However, the build surface may... | <p>Playing around with the nozzle height will help: back it off until just before you have first layer adhesion issues. Don't jam the filament into the bed as you might for ABS. This helps with small prints. However, my experience has been that if you have a large enough continuous contact area (i.e. more than a few... | <p>Correctly level your bed. Seriously, that's the answer. PETG does stick well, but it only gets difficult to remove if you're smashing the first layer against the bed with a nozzle that's way too close. With the bed leveled properly - using feeler gauges or test prints and a sub-0.1-mm-precision caliper - I have no t... | 1,776 |
<p>My CR-10 is starting prints, BUT then makes weird spiral pattern, layers go up vertically with large gaps. Hollow infill.</p>
<p><img src="https://i.stack.imgur.com/cQynM.jpg" alt="wierd vertical spiral layering pattern">
<img src="https://i.stack.imgur.com/bEbhg.jpg" alt="printed fine at base then randomly happene... | <p><sub>This is partial answer and comment as it was too big to fit the comment section, it will be a proper answer once the question is updated by the OP.</sub></p>
<p>What you call a weird spiral pattern is the result of under-extrusion. When there is under-extrusion, the resulting print is sparsely filled. The reaso... | <p>While uncommon, this issue could be caused by having no minimum layer time set. This could lead to printing on a still very hot surface, which in turn ripples and moves, creating a little wave pattern. The wave pattern then can grow into this diagonal pattern.</p>
<p>You might manage to reduce the issue by setting ... | 1,191 |
<p>Is there a list of 3D cards available that provide full scene antialiasing as well as which are able to do it in hardware (decent performance)?</p>
| <p>Pretty much all cards since DX7-level technology (GeForce 2 / Radeon 7000) can do it. Most notable exceptions are Intel cards (Intel 945 aka GMA 950 and earlier can't do it; I think Intel 965 aka GMA X3100 can't do it either).</p>
<p>Older cards (GeForce 2 / 4MX, Radeon 7000-9250) were using supersampling (render e... | <p>Having seen a pile of machines recently that don't do it, I don't think that's quite true. The GMA 950 integrated ones don't do it to start with, and I don't think that the 3100/X3100 do either (at least not in hardware... the 3100 was enormously slow in a demo). Also, I don't believe that the GeForce MX5200 suppo... | 4,896 |
<p>I have a development vm which is running sql server as well as some other apps for my stack, and I found that the other apps are performing awfully. After doing some digging, SQL Server was hogging the memory. After a quick web search I discovered that by default, it will consume as much memory as it can in order ... | <p>Since this is a development environment, I agree with Greg, just use trial and error. It's not that crucial to get it perfectly right.</p>
<p>But if you do a lot of work in the VM, why not give it at least half of the 2GB?</p>
| <blockquote>
<p>so id like to be able to run the vm on
768 mb or less if possible.</p>
</blockquote>
<p>That will depend on your data and the size of your database. But I usually like to give SQL server at least a GB</p>
| 4,805 |
<p>I feel like I’ve tried everything. I’ve had an Ender 3 for seven months now printing in PLA. </p>
<p>I’ve modded it plenty including BLTouch. I’m now doing a project that really requires ABS so I have the white hatch box ABS. It wasn’t sticking at first but I got that well under control with glue tape and proper le... | <p>Welcome Fox_89 to the SE 3D Printing site. Thank you for bringing your question, and I hope you contribute both questions and answers in the years ahead.</p>
<p>I understand that you've tried everything, so I have nothing new to suggest.</p>
<p>Never the less, I would suggest some possibilities, perhaps one of wh... | <p>I'd second printing slow and near as hot as your filament can stand and still hold shapes in test runs.</p>
<p>Extruding thin has worked well for me in cases with ABS pull/shrinkage. I've also had luck heating up the environment my printer is in. ABS stays gummy above 105C (its Tg is around there), so I've had good... | 1,367 |
<p>I've never used a printer with auto bed leveling, but my understanding is that most or all of them don't actually level anything, but rather compensate for the unlevel bed in firmware by transforming the coordinates. It seems to me this would necessarily introduce aliasing artifacts in all your prints by making it s... | <p>Automatic bed levelling is not magic; it still requires you to level the bed properly (as level as possible). The upside of automatic bed levelling is that it compensates for small deviations like a slightly slanted surface or a (somewhat large) dent in the surface (as long it is probed and can be digitized by the f... | <p>The only 'consumer' approach to this would be providing adjustment feedback to the user, after the bed has been probed to determine an optimal position so that most of the bed is in the same plane.</p>
<p>This seems to me like a 'free' enhancement, but users don't seem to be overly worried by the distortions introd... | 1,381 |
<p>Hey so theres a product we have been prototyping.
We cant do FDM. The item has a ball valve.
and the ball ~ 1.6-1.9mm
I cant seem to prototype it. I have tried SLS, SLA, Polyjet.
Anybody knows what could be wrong, or what should be the dimension i should be using?
I thought I would post this at engineering secti... | <p>Hey why to make it soooo sophisticated and poor?
Air valve cannot be designed with 2 stiff elements - it will never work.</p>
<p>Make the air your friend but not the enemy. Use old good rubber (silicone) "flake" instead. Especially when you have such small design.</p>
<p>Take a look on the picture.</p>
<p><a href... | <p>As mentioned above in the comments, this really isn't a good application of 3D Printing. At least, not with expectation that it functions. I'd suggest using 3D printing to verify other dimensions and having the part machined traditionally. That ball and "seal" needs to be precision ground or honed to fit in order to... | 268 |
<p><a href="https://3dprinting.stackexchange.com/questions/12153/updating-marlin-firmware-step-by-step-guide">Updating Marlin Firmware - Step by Step Guide</a></p>
<p>Page asks for step by step updates, but is locked for comments, answers, or edits. How does one help?</p>
| <p>Users with a high enough reputation were able to edit the question and the answer, it has been locked for lower reputation users to prevent adding other answers while we were establishing a framework for the answer. Once the answer is visible the whole community will be able to add to the answer within the framework... | <p>The question was locked when several of the vets [0scar and me mainly] were working on the infancy of the answer - it was 2 days of a hot mess as we went through the source code to find all the essential settings we usually forget after we have set them for our own machine distributions - if we even do our own distr... | 75 |
<p>Using C# and WPF under .NET (rather than <a href="http://en.wikipedia.org/wiki/Windows_Forms" rel="noreferrer">Windows Forms</a> or console), what is the correct way to create an application that can only be run as a single instance?</p>
<p>I know it has something to do with some mythical thing called a mutex, rare... | <p>Here is a very good <a href="http://sanity-free.org/143/csharp_dotnet_single_instance_application.html" rel="noreferrer">article</a> regarding the Mutex solution. The approach described by the article is advantageous for two reasons.</p>
<p>First, it does not require a dependency on the Microsoft.VisualBasic assem... | <p>Based Matt Davis' answer, wrapped into a class for convenience.</p>
<pre><code>public static class SingleAppInstanceChecker
{
/// <summary>
/// Arbitrary unique string
/// </summary>
private static Mutex _mutex = new Mutex(true, "0d12ad74-026f-40c3-bdae-e178ddee8602");
publ... | 3,963 |
<p>Let's say I want to represent <code>\q</code> (or any other particular "backslash-escaped character"). That is, I want to match <code>\q</code> but not <code>\\q</code>, since the latter is a backslash-escaped backslash followed by a <code>q</code>. Yet <code>\\\q</code> would match, since it's a backslash-escaped... | <p>Updated:
My new and improved Perl regex, supporting more than 3 backslashes:</p>
<pre>/(?<!\\) # Not preceded by a single backslash
(?>\\\\)* # an even number of backslashes
\\q # Followed by a \q
/x;</pre>
<p>or if your regex library doesn't support extended syntax.</p>
<pre>/(?<!\\)(?>\\\\)... | <p>The best solution to this is to do your own string parsing as Regular Expressions don't really support what you are trying to do. (rep @Frank Krueger if you go this way, I'm just repeating his advice)</p>
<p>I did however take a shot at a exclusionary regex. This will match all strings that do not fit your criteria... | 8,051 |
<p>I've noticed that a few Wordpress blogs have query statistics present in their footer that simply state the number of queries and the total time required to process them for the particular page, reading something like:</p>
<blockquote>
<p>23 queries. 0.448 seconds</p>
</blockquote>
<p>I was wondering how this is... | <p>Try adding this to the bottom of the footer in your template:</p>
<pre><code><?php echo $wpdb->num_queries; ?> <?php _e('queries'); ?>. <?php timer_stop(1); ?> <?php _e('seconds'); ?>
</code></pre>
| <p>wordpress has a easy solution now</p>
<p>There is a function called <a href="http://codex.wordpress.org/Function_Reference/get_num_queries" rel="nofollow"><code>get_num_queries()</code></a> and as specified in other answers <a href="http://codex.wordpress.org/Function_Reference/timer_stop" rel="nofollow"><code>time... | 3,565 |
<p>I am about to build a piece of a project that will need to construct and post an XML document to a web service and I'd like to do it in Python, as a means to expand my skills in it. </p>
<p>Unfortunately, whilst I know the XML model fairly well in .NET, I'm uncertain what the pros and cons are of the XML models in... | <p>Personally, I've played with several of the built-in options on an XML-heavy project and have settled on <a href="http://docs.python.org/lib/module-xml.dom.pulldom.html" rel="noreferrer">pulldom</a> as the best choice for less complex documents.</p>
<p>Especially for small simple stuff, I like the event-driven theo... | <p>I assume that the .NET way of processing XML builds on some version of MSXML and in that case I assume that using, for example, minidom would make you feel somewhat at home. However, if it is simple processing you are doing, any library will probably do.</p>
<p>I also prefer working with ElementTree when dealing wit... | 2,284 |
<p>I have two arrays of <code>System.Data.DataRow</code> objects which I want to compare. </p>
<p>The rows have two columns A and B. Column A is a key and I want to find out which rows have had their B column changed and which rows have been added or deleted. </p>
<p><strong>How do I do this in PowerShell?</strong></... | <p>I wrote a script to do this a little while back. The script (Compare-QueryResults.ps1) is available <a href="http://podcast.acoupleofadmins.com/media/Scripts/Compare-QueryResults.ps1" rel="nofollow noreferrer">here</a> and you will also need my Run-SQLQuery script (available <a href="http://podcast.acoupleofadmins.... | <p>Do you need two arrays of DataRows? the DataRow object has a RowState property which will give you what you require. See the MSDN Docs: <a href="http://msdn.microsoft.com/en-us/library/system.data.datarow.rowstate.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/</a></p>
| 4,196 |
<p>What materials, available as filaments for use in FDM printing, are known to be the most physically and chemically inert? In particular, stability (not necessarily simultaneously) in the presence of the following should be assumed:</p>
<ul>
<li>pH 0-14</li>
<li>oxidizing agents (ozone, permanganates, dichromates, a... | <p>PEEK, a plastic known for its superior chemical and physical resilience (<a href="http://www.zeusinc.com/materials/peek/chemical-resistance-chart-peek" rel="nofollow">http://www.zeusinc.com/materials/peek/chemical-resistance-chart-peek</a>), has been successfully used for filament-based printing (<a href="https://3d... | <p>PEEK, a plastic known for its superior chemical and physical resilience (<a href="http://www.zeusinc.com/materials/peek/chemical-resistance-chart-peek" rel="nofollow">http://www.zeusinc.com/materials/peek/chemical-resistance-chart-peek</a>), has been successfully used for filament-based printing (<a href="https://3d... | 398 |
<p>I am aware of several "clear" filaments for a ABS or PLA printer. They, however, have a cloudy or frosted glass appearance. I do not believe this is possible to eliminate but I believe it can be reduced.</p>
<p>Are there effective ways to make a print have a more transparent appearance?</p>
| <p>It depends on a lot of factors, type of plastic, whether the parts need to be strong, can you use a vase print, etc. Here's a few thoughts.</p>
<p>PLA - The brand of PLA makes a big difference, some can be printed very clear, some can't. Most of the transparent PLAs I've used print much more clear at around 240°C... | <p>Use Taulman t-glase and after a light sanding with really fine paper (optional really, but go for it if you can), spray it with polyurethane varnish or something similar. Check out the article <a href="http://3dprint.com/29292/taulman-hacks-clear-t-glase-3d-printing-material/">here</a>.</p>
| 92 |
<p>As part of our product release we ship Apache HTTP Server binaries that we have compiled on our (UNIX) development machine.</p>
<p>We tell our clients to install the binaries (on their UNIX servers) under the same directory structure that we compiled it under. For some clients this is not appropriate, e.g. where th... | <p>I think the way to do(get around) this problem is to develop a "./configure && make" script that your client uses to install, specify and compile the binaries. That would offcourse require that the client has all the source-code installed on his server or you can make it available on an NFS share.</p>
| <blockquote>
<p>I think the way to do(get around) this problem is to develop a "./configure && make" script that your client uses to install, specify and compile the binaries. That would offcourse require that the client has all the source-code installed on his server or you can make it available on an NFS sh... | 4,213 |
<p>For those of us that like to use the graphical version of Vim or Emacs, instead of the console version, which version do you recommend?</p>
<p>For Vim, there's <a href="http://sourceforge.net/projects/macosxvim/" rel="nofollow noreferrer">Mac OS X Vim</a>, <a href="http://code.google.com/p/macvim/" rel="nofollow no... | <p><strong>MacVim</strong> works well and certainly looks more mature than Vim-Cocoa, moreover there is a Cocoa plugin architecture in the pipeline for MacVim (and someone is already working on a TextMate style file browser tray plugin which is a huge ++ IMHO).</p>
<p>There was also a Carbon version of Vim, but this d... | <p>I love CarbonEmacs because it sticks very close to the standard GNU Emacs distribution, while still fitting in nicely with the Mac desktop. To me, it "felt" like Emacs on my Ubuntu desktop even if it looked like a Mac application.</p>
| 2,386 |
<p>Java has a convenient split method:</p>
<pre><code>String str = "The quick brown fox";
String[] results = str.split(" ");
</code></pre>
<p>Is there an easy way to do this in C++?</p>
| <p>C++ standard library algorithms are pretty universally based around iterators rather than concrete containers. Unfortunately this makes it hard to provide a Java-like <code>split</code> function in the C++ standard library, even though nobody argues that this would be convenient. But what would its return type be? <... | <p>This a simple loop to tokenise with only standard library files</p>
<pre><code>#include <iostream.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <conio.h>
class word
{
public:
char w[20];
word()
{
for(int j=0;j<=20;j++)
... | 7,745 |
<p>I have a strange problem when I publish my website. I inherited this project and the problem started before I arrived so I don't know what conditions lead to the creation of the problem.</p>
<p>Basically, 3 folders below the website project fail to publish properly. When the PrecompiledWeb is transferred to the hos... | <p>I would try cleaning the bin\ folder.
In any case our shop completely dropped websites in favour of web form applications, which are arguably far better.</p>
<p>EDIT: <a href="http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx" rel="nofollow noreferrer">Migration HOW TO here</a></p>
| <p>I had a similar problem a while back, where the publish would say it was successful, but the publish folder remained empty.</p>
<p>Besides looking at the <a href="http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx" rel="nofollow noreferrer">Web Deployment Projects</a> you should also set the verbosity to Diagnos... | 8,955 |
<p>Visual Basic code does not render correctly with <a href="https://code.google.com/archive/p/google-code-prettify" rel="nofollow noreferrer">prettify.js</a> from Google.</p>
<p>on Stack Overflow:</p>
<pre><code>Partial Public Class WebForm1
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As ... | <p>/EDIT: I've rewritten the whole posting.</p>
<p>Below is a pretty complete solution to the VB highlighting problem. If SO has got nothing better, <em>please</em> use it. VB syntax highlighting is definitely wanted.</p>
<p>I've also added a code example with some complex code literals that gets highlighted correctl... | <p>In the meantime, you can put an extra comment character at the end of your comments to get it to look okay. For example:</p>
<pre><code>Sub TestMethod()
'Method body goes here'
End Sub
</code></pre>
<p>You also need to escape internal comment characters in the normal vb-fashion:</p>
<pre><code>Sub TestMethod... | 5,100 |
<p>We are planning to use the jQuery library to augment our client side JavaScript needs. </p>
<p>Are there any major issues in trying to use both ASP.Net AJAX and jQuery? Both libraries seem to use $ for special purposes. Are there any conflicts that we need to be aware of? </p>
<p>We also use Telerik controls that ... | <p>We have used ASP.NET Ajax, jQuery and Telerik components on a large project for quite a while and haven't had any issues</p>
<p>I would definitely recommend using jQuery</p>
| <p>I have been using ext which is another javascript framework with .net. It is far easier to use than old fashioned HTML form controls</p>
<pre><code><input type="text" id="whatever" />
</code></pre>
<p>Than using ASP.net form controls. You probably want to use the cool javascript framework form validation as ... | 9,089 |
<p>We are working on designing an application that is typically OLTP (think: purchasing system). However, this one in particular has the need that some users will be offline, so they need to be able to download the DB to their machine, work on it, and then sync back once they're on the LAN.</p>
<p>I would like to note... | <p>Using Guids as primary keys is acceptable and is considered a fairly standard practice for the same reasons that you are considering them. They can be overused which can make things a bit tedious to debug and manage, so try to keep them out of code tables and other reference data if at all possible.</p>
<p>The thi... | <p>Guids will certainly be slower (and use more memory) than standard integer keys, but whether or not that is an issue will depend on the type of load your system will see. Depending on your backend DB there may be issues with indexing guid fields.</p>
<p>Using guids simplifies a whole class of problems, but you pay... | 6,144 |
<p>I've been thinking about the number of projects we have in-house that are still being developed using visual studio 6 and how best to migrate them forward onto visual studio 2008. The projects range in flavours of C/C++ and VB.</p>
<p>Is it better to let VS2008 convert the work-spaces into solutions, fix any compil... | <p>The Microsoft p&p team has recommended some <a href="http://msdn.microsoft.com/en-us/library/ms978506.aspx" rel="nofollow noreferrer">strategies</a> that answers this. Basically they recommend something like the project by project approach you mention. Of course, they're assuming a neatly architected application... | <p>When I had to convert a VB6 app to VS2003 several years ago, I ran the converter and it produced something that basically compiled, but wasn't very good at all. I ended up having to modify a big chunk of the code it generated.</p>
<p>I would start with a clean solution, then run the converter on a project and copy ... | 7,922 |
<p>I recently upgraded to <a href="https://www.creality3donline.com/creality-polypropylene-build-plate-for-ender-3-ender-5-cr20_p0124.html" rel="nofollow noreferrer">a Polypropylene</a> print bed, but I haven't actually been able to complete a print. </p>
<p>Adhesion seems incredibly inconsistent, even on the same spo... | <p>When you updated the print bed, you may have affected either the manual or auto calibration of the bed height and bed leveling.</p>
<p>First layer adhesion is depends critically on an accurate first layer thickness, which depends on the bed height calibration. Adding or, perhaps more critically, removing any bed s... | <p>If you are using PLA, 200 for the extruder sticks the best for me. The other issue with adhesion is the greater the difference between the extruder temperature and the bed the poorer adhesion. There are other things can help with this. Using a higher bed temperature for the first layer can help. A slower extrusio... | 1,285 |
<p>In Windows, in any windows form or web browser, you can use the tab button to switch focus through all of the form fields. </p>
<p>It will stop on textboxes, radiobuttons, checkboxes, dropdown menus, etc. </p>
<p>However, in Mac OSX, tab skips dropdown menus. Is there anyway to change this behavior, or access the ... | <p>Go to System Preferences > Keyboard and Mouse, then choose Keyboard Shortcuts. At the bottom, ensure Full Keyboard Access is set to "All controls". It's a long time since I turned it on but I think that's all you need to do</p>
| <p>It's in the System Preferences - <a href="http://www.howtogeek.com/howto/apple/why-doesnt-tab-work-for-drop-down-controls-in-firefox-on-os-x/" rel="nofollow noreferrer">this blog post</a> shows where the setting is.</p>
| 2,451 |
<p>I am using the function below to match URLs inside a given text and replace them for HTML links. The regular expression is working great, but currently I am only replacing the first match.</p>
<p>How I can replace all the URL? I guess I should be using the <em>exec</em> command, but I did not really figure how to d... | <p>First off, rolling your own regexp to parse URLs is a <em>terrible idea</em>. You must imagine this is a common enough problem that someone has written, debugged and <a href="http://benalman.com/code/test/js-linkify/" rel="noreferrer">tested</a> a library for it, according to <a href="https://metacpan.org/pod/Regexp... | <p>Replace URLs in text with HTML links, ignore the URLs within a href/pre tag.
<a href="https://github.com/JimLiu/auto-link" rel="nofollow">https://github.com/JimLiu/auto-link</a></p>
| 5,848 |
<p>What's the best way to make a linked list in Java?</p>
| <p>The obvious solution to developers familiar to Java is to use the <strong>LinkedList</strong> class already provided in <strong>java.util</strong>. Say, however, you wanted to make your own implementation for some reason. Here is a quick example of a linked list that inserts a new link at the beginning of the list, ... | <p>Its much better to use java.util.LinkedList, because it's probably much more optimized, than the one that you will write.</p>
| 3,131 |
<p>I'm creating an ASP.NET web site where all pages hang off a database-driven tree-hierarchy. Pages typically present HTML content. But, some will execute programming.</p>
<p><em>Examples:</em> <br></p>
<ol>
<li>a "contact us" form </li>
<li>a report generator</li>
</ol>
<p>How should I represent/reference the pr... | <p>You might consider inserting placeholders like <code><my:contact-us-form/></code> in the database on specific pages; that way the database can describe all the static text content instead of completely replacing that database-driven content with an <code>.ascx</code> control.</p>
| <p>Our development team has had success with defining the name of a Web User Control in the database. Upon page load it checks too see what controls to dynamically load from the database. </p>
<p>We use Web User Controls instead of Web Forms in order to ensure we can use the control on any page.</p>
<p>You can also d... | 8,087 |
<p>I have an iframe. The content is wider than the width I am setting so the iframe gets a horizontal scroll bar. I can't increase the width of the iframe so I want to just remove the scroll bar. I tried setting the scroll property to "no" but that kills both scroll bars and I want the vertical one. I tried setting... | <pre><code>scrolling="yes" horizontalscrolling="no" verticalscrolling="yes"
</code></pre>
<p>Put that in your iFrame tag.</p>
<p>You don't need to mess around with trying to format this in CSS.</p>
| <pre><code><iframe style="overflow:hidden;" src="about:blank"/>
</code></pre>
<p>should work in IE. IE6 had issues supporting overflow-x and overflow-y.</p>
<p>One other thing to note is that IE's border on the iframe can only be removed if you set the "frameborder" attribute in camelCase.</p>
<pre><code><... | 9,290 |
<p>If a customer sends me a non-commercial 3D model to print, am I allowed to charge money for the 3D printing process? I understand I cannot charge anything for the model nor offer it as a part of my business.</p>
<p>I cannot download the model myself, print and sell it, but if the customer downloads it and sends it ... | <p><em>I would have liked to answer linking to credible official sources, but I cannot add references either on direct B-spline printing. So I'm writing down my thoughts. I've familiarized myself in B-splines to understand what they are and read into the 2 references given by the OP.</em></p>
<hr />
<p>Basically, the p... | <p>In more practical terms, you could design the part so that the corners are rounded (also known as fillets). This will help keep the print head moving and would prevent the sudden stop and start effect that causes "jerking". Further 8 bit controllers tend to get saturated when reading large amounts of g-code from the... | 1,402 |
<p>I am a complete beginner so I apologise ahead for probably an obvious question. From what I understand up to now, slicer software basically takes a 3D model and turns it into instructions that say move your print head to this and this position and extrude up to this position and so forth. If that is correct then eac... | <p>Your printer will stop printing. So no.</p>
| <p>Disconnecting the USB or connecting it triggers a reboot in the printer. As a result, you can not disconnect or turn off the print server running OctoPrint.</p>
| 1,817 |
<p>This question is overflow from the following question:</p>
<p><a href="https://stackoverflow.com/questions/70096/how-do-i-programmatically-convert-mp3-to-an-itunes-playable-aacm4a-file">How do I programmatically convert mp3 to an itunes-playable aac/m4a file?</a></p>
<p>Anyway, I learned how to create an aac file ... | <p><code>ffmpeg</code> is a general purpose (de)muxer/transcoder. <code>MP4Box</code> is a (de)muxer/transcoder from <a href="http://gpac.wp.institut-telecom.fr/mp4box/" rel="nofollow noreferrer">GPAC</a>, a package dedicated to MP4 related software tech. Right now it seems wiser to use MP4Box because it writes the moo... | <p>Just use any mp4-Muxer like Yamb to create an <code>mp4</code>-file with only the <code>aac</code> audio track in it, then change the file extension to <code>m4a</code>.</p>
| 9,591 |
<p>I'm writing a string containing some XML via System.Xml.XmlWriter. I'm stuck using WriteString(), and from the documentation:</p>
<blockquote>
<p>WriteString does the following:
The characters &, <, and > are replaced with &amp;, &lt;, and &gt;, respectively.</p>
</blockquote>
<p>I'd like t... | <p>Try wrapping your real content between the CDATA tags:</p>
<p><![CDATA[ <strong>it's my content</strong> ]]></p>
| <blockquote>
<p>I'm stuck using WriteString(),</p>
</blockquote>
<p>I think that's the root of your problem. Can you explain more about your reason you're stuck using WriteString? My gut is you're using the wrong method for what you want to do</p>
| 9,199 |
<p>I have a file which is an XML representation of some data that is taken from a Web service and cached locally within a Web Application. The idea being is that this data is <em>very</em> static, but just <em>might</em> change. So I have set it up to cache to a file, and stuck a monitor against it to check if it has b... | <p>Here is the code that I use to make sure a file is not locked by another process. It's not 100% foolproof, but it gets the job done most of the time:</p>
<pre><code> /// <summary>
/// Blocks until the file is not locked any more.
/// </summary>
/// <param name="fullPath"></param... | <p>How about using <code>AutoResetEvent</code> to communicate between threads? I created a console app which creates roughly 8 GB file in <code>createfile</code> method and then copy that file in <code>main</code> method</p>
<pre><code> static AutoResetEvent waitHandle = new AutoResetEvent(false);
static string fi... | 6,258 |
<p>How do I save a jpg image to database and then load it in Delphi using FIBplus and TImage?</p>
| <pre><code>var
S : TMemoryStream;
begin
S := TMemoryStream.Create;
try
TBlobField(AdoQuery1.FieldByName('ImageField')).SaveToStream(S);
S.Position := 0;
Image1.Picture.Graphic.LoadFromStream(S);
finally
S.Free;
end;
end;
</code></pre>
<p>if you are using JPEG images, add JPG unit to <strong>u... | <p><a href="http://delphi.about.com/od/database/l/aa030601a.htm" rel="nofollow noreferrer">Take a look here.</a>
I think you have to convert it to a stream, store it and vice versa.</p>
| 8,759 |
<p>We used to use SourceSafe, and one thing I liked about it was that when you checked out a file, it automatically got you its latest version.</p>
<p>Now we work with Team System 2005, and it doesn't work that way - you have to "get latest version" before you start working on a file that you've checked out.</p>
<p>I... | <p>There's a Visual Studio Add-in for this that someone wrote: </p>
<p><a href="http://blogs.microsoft.co.il/blogs/srlteam/archive/2007/03/24/TFS-GetLatest-version-on-check_2D00_out-Add_2D00_In.aspx" rel="nofollow noreferrer">http://blogs.microsoft.co.il/blogs/srlteam/archive/2007/03/24/TFS-GetLatest-version-on-check_... | <p>Are you sure you want that?</p>
<p>It means that when you check out a file, it will be out of sync with the rest of your files. Your project may not build or function properly until you update all files.</p>
| 8,022 |
<p>I'm thinking about making a networked game. I'm a little new to this, and have already run into a lot of issues trying to put together a good plan for dead reckoning and network latency, so I'd love to see some good literature on the topic. I'll describe the methods I've considered.</p>
<p>Originally, I just sent... | <p>Check out how Valve does it in the Source Engine: <a href="http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking" rel="noreferrer">http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking</a></p>
<p>If it's for a first person shooter you'll probably have to delve into some of the topics... | <p>Check out Networking education topics at the XNA Creator's Club website. It delves into topics such as network architecture (peer to peer or client/server), Network Prediction, and a few other things (in the context of XNA of course). This may help you find the answers you're looking for.</p>
<p><a href="http://c... | 6,404 |
<p>From the Displays pane in System Preferences, I can manually change the main monitor by dragging the menu bar from one display to the other. I'd like to automate this and make it part of an AppleScript.</p>
| <p>The tool I wrote, <a href="https://github.com/jakehilborn/displayplacer" rel="noreferrer">displayplacer</a>, does this.</p>
<p>Configure your screens how you like, drag the "white bar" to your primary screen in the macOS system settings, and then execute <code>displayplacer list</code>. It will output the command t... | <p>Much like you can tell System Events.app to sleep your Mac, you can tell Image Events.app to mess with your displays. The Image Events application provides a "displays" collection. Each display has a "profile" with lots of goodies. However, everything I just mentioned is read-only, so I don't have a good way to d... | 9,392 |
<p>I have a question about Slic3r software.</p>
<p>I would like to subtract two parts. For example, I have an STL model, when I right click on the part, I can select <strong>Settings...</strong>, and in the <strong>Settings</strong> window, I can select modifier and I can select slab.with selecting proper thickness. N... | <p>Given my limited familiarity with all the CAD tools that exist, I would fall back to something that I know does binary operations on volumes -- openScad.</p>
<p>One can create two objects, one from each of the two STL files, and subtract one from the other. One can also compute intersections, unions, and other ope... | <p>I am assuming your trying to perforate, hollow or cut your design in a specific shape that is the same as the inner 3D object or vice versa? </p>
<p>Do this with 3Ds max its just really easy there for such operations.</p>
<p>Please load into Autodesk 3Ds max and perform Boolean.</p>
<p>This is the link on how to ... | 937 |
<p>I finished the mount of my Anet A8, tested everything and apparently it was ok. I installed the driver that came with it, <code>CH341SER_MAC</code>, turned on the printer, connect USB cable, but nothing happened. </p>
<p>In Cura, I tried to add a printer many times and this message always appears</p>
<blockquote>
... | <p>There are a lot of problems with the CH340 chipset drivers to be found on 3D SE and various forums on the internet. To use this cheap CH340 chip that is used by a number of Arduino compatible (clone) boards to provide USB connectivity (a USB bus converter chip that converts USB bus signals to serial interface) you n... | <p>What Cura version do you have?
Cura only works with the Anet A8 via USB on versions 2.3 and lower according to this <a href="https://www.thingiverse.com/groups/anet-a8-prusa-i3/forums/general/topic:12212" rel="nofollow noreferrer">page</a>. The page is from thingiverse(A 3d printing forum + print files page)</p>
| 939 |
<p>I know about the "cooperative" threading of ruby using <a href="http://en.wikipedia.org/wiki/Green_threads" rel="noreferrer">green threads</a>. How can I create real "OS-level" threads in my application in order to make use of multiple cpu cores for processing?</p>
| <p><strong>Updated with Jörg's Sept 2011 comment</strong></p>
<p>You seem to be confusing two <em>very</em> different things here: the
Ruby Programming Language and the specific threading model of one
specific implementation of the Ruby Programming Language. There
are currently around 11 different implementations o... | <p>If you are using MRI, then you can write the threaded code in C either as an extension or using the ruby-inline gem. </p>
| 7,996 |
<p>What are your opinions on developing for the command line first, then adding a GUI on after the fact by simply calling the command line methods?</p>
<p>eg.</p>
<blockquote>
<p>W:\ todo AddTask "meeting with John, re: login peer review" "John's office" "2008-08-22" "14:00" </p>
</blockquote>
<p>loads <code>tod... | <p>I would go with building a library with a command line application that links to it. Afterwards, you can create a GUI that links to the same library. Calling a command line from a GUI spawns external processes for each command and is more disruptive to the OS.</p>
<p>Also, with a library you can easily do unit test... | <p><strike>Command line tools generate less events then GUI apps and usually check all the params before starting. This will limit your gui because for a gui, it could make more sense to ask for the params as your program works or afterwards. </p>
<p>If you don't care about the GUI then don't worry about it. If the en... | 3,949 |
<p>Yesterday evening i have been trying to print a few upgrades but after coming home after an hour, it is printing in the air because there is to much filament dust inside the extruder. Is this because the filament that is being extruded is getting to soft so the gear grinds parts off? I never had this problem before.... | <p>If you are using Repetier the code to test the endstops is m119 I think. If your z stop is triggered, you may have to invert it in the config.h file. I had this same issue for days before i figured out the control board was reading the switch as normal close instead of normal open. Hope that helps!</p>
| <p>Try sending a motion command manually, such as G1 X20 Z10, to eliminate any bugginess from the software interface as a reason for the Z not moving properly when commanded to. Next you could check the park location in Pronterface, perhaps the extruder head is sitting there waiting for the next command.</p>
| 683 |
<p>As a novice developer who is getting into the rhythm of my first professional project, I'm trying to develop good habits as soon as possible. However, I've found that I often forget to test, put it off, or do a whole bunch of tests at the end of a build instead of one at a time.</p>
<p>My question is what rhythm do... | <p>Well, if you want to follow the TDD guys, <strong>before you start to code</strong> ;)</p>
<p>I am very much in the same position as you. I want to get more into testing, but I am currently in a position where we are working to "get the code out" rather than "get the code out right" which scares ... | <p>When hacking something together for myself, I test at the end. Bad practice, but these are usually small things that I'll use a few times and that's it.</p>
<p>On a larger project, I write tests before I write a class and I run the tests after every change to that class.</p>
| 4,303 |
<p>Does anyone know of a good way to compress or decompress files and folders in C# quickly? Handling large files might be necessary.</p>
| <p>I've always used the SharpZip Library.</p>
<p><a href="http://sharpdevelop.net/OpenSource/SharpZipLib/Download.aspx" rel="noreferrer">Here's a link</a></p>
| <p>You can create zip file with this method:</p>
<pre class="lang-cs prettyprint-override"><code>public async Task<string> CreateZipFile(string sourceDirectoryPath, string name)
{
var path = HostingEnvironment.MapPath(TempPath) + name;
await Task.Run(() =>
{
if (File.Exists(path)) File.Del... | 2,260 |
<p>I'm an Information Architect and JavaScript developer by trade nowadays, but recently I've been getting back into back-end coding again. And, whilst trying to get an HTML prototype integrated and working with our C#-based CMS, I've come to blows with our programmers over the HTML ID attributes being arbitrarily rew... | <p>The short answer is no, with webforms the id can always be rewritten depending on the nesting of the element. You can get access to the id through the ClientID property, so you could set the ids into variables in a script at the end of the page/control then put them into jQuery. </p>
<p>something like this:</p>
... | <p>If you're using jQuery then you have loads of <a href="http://docs.jquery.com/Selectors" rel="nofollow noreferrer">CSS selectors and jQuery custome selectors</a> at your disposal to target elements on your page. So rather than picking out a submit button by it's id, you could do something like:</p>
<pre><code>$('fi... | 6,001 |
<p>Well behaved windows programs need to allow users to save their work when they are shutting the PC down.</p>
<p>How can I make my app detect the shutdown event? Any solution should allow the user to abort the shutdown if user selects, say "Cancel".</p>
<p>The normal Swing window closing hook doesn't work, nor does... | <p>Write some JNI code to WM_QUERYENDSESSION message. You can get details for this from the MSDN documentation or by googling it.</p>
<p>If you don't want to write too much C++ code to do this I can recommend the JNA library <a href="https://jna.dev.java.net/" rel="nofollow noreferrer">click here</a>. Which gives you ... | <p>The above seems to be the better answer.</p>
<p>I can't find any good information on detecting window shutdown events. I guess the best possible method would be to detect weather your application is trying to close, using a window closing event or the like then ask the question.</p>
<p><a href="http://www.javalobb... | 9,740 |
<p>I am trying to <strong>replace the current selection in Word (2003/2007)</strong> by some <strong>RTF string</strong> stored in a variable.</p>
<p>Here is the current code:</p>
<pre><code>Clipboard.SetText(strRTFString, TextDataFormat.Rtf)
oWord.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(0)
</code></pre>... | <p>Put the RTF in a file instead of the clipboard, then insert from the file, e.g.</p>
<blockquote>
<p><code>Selection.InsertFile FileName:="myfile.rtf", Range :="", _
ConfirmConversions:=False, Link:=False, Attachment:=False</code></p>
</blockquote>
| <p>You can use a RichTextbox to convert RTF to text or vice versa.</p>
<pre><code>RichTextBox r = new RichTextBox();
r.Rtf = strRTFString;
Console.WriteLine(r.Text);
</code></pre>
| 4,233 |
<p>Anyone else seeing this issue? Anyone know a solution?</p>
<p>While editing a part on TinkerCad.com (<a href="https://www.tinkercad.com/things/hrsKxOk1Xc7" rel="nofollow noreferrer">this part</a>, to be specific), I click the "Send To" button in the top-right --> click Thingiverse --> I see this scre... | <h2>the 3D Benchy isn't a specific calibration test</h2>
<p>With the Benchy you don't see if your printer is calibrated in any axis, but it is a general use-case test for a model that can show you many of the issues you might face in a normal print. For all intents and purposes, it is more a general Benchmark item than... | <p>Benchy is cute. That goes a long way in attracting attention.</p>
<p>The benchy is one of the earlier STLs that was freely available to download, dating from April 2015, and was released under the Creative Commons Sharealike licence, which clearly states the requirements and limitations/requirements.</p>
<p>Curious... | 2,079 |
<p>Over the last two days I have tried everything I could come up with to fix the following issues.</p>
<p>It all started with bad bed adhesion.(pic.1) Solutions for these problems are readily available, so I calibrated my Z-axis (did the whole wizard from start to finish again) and started a calibration print over th... | <p>If you repeat a test and the problem occurs in the same location, then you probably have a problem with your bed or build plate. However, picture 3 suggests to me that you may have a partially clogged nozzle. Manually extrude some filament. It should fall straight down. If it curls as it comes out of the nozzle, the... | <p>The Prusa i3 is coated with a PEI sheet. PEI and other build plates stick to the build but don't like to be dirty. Fingerprints can build up and create an interference layer of fats that lessen the adhesion to a point the pieces spontaneously pop off.</p>
<p>A good cleaning is often needed. For PEI Isopropylic Alco... | 1,244 |
<p>Why does the Ender 3 only have 3 limit switches instead of 6?</p>
<p>How does it handle crashes on other sides?
Is it worth adding them with a new mainboard?</p>
| <p>While better fitted to our friends at <a href="https://law.stackexchange.com/questions/tagged/copyright">law.SE</a>, the general gist is: <strong>No.</strong></p>
<p>Art is protected by copyright, and any adaption (<em>derivative work</em>) requires the OK from the right holders <em>per se</em>. Only 70-75 years aft... | <p>This is something that might have a precedent, where the line is blurry, someone might have already tried, and in that case the judge's decision in that court case is the official interpretation of the law towards that specific scenario.</p>
<p>There might also be definitive laws regarding "derived works".... | 1,795 |
<p>I know that this should be easy but how do I export/save a DataGridView to excel?</p>
| <p>You can use this library for more detailed formatting<br>
<a href="http://www.carlosag.net/Tools/ExcelXmlWriter/" rel="nofollow noreferrer">http://www.carlosag.net/Tools/ExcelXmlWriter/</a></p>
<p>There are samples in the page.</p>
| <p>Here some code we use to do it across lots of our apps. We have a special method to clean up "not exportable" column. Additionally, we don't export cols without headers but you can adjust that logic to your needs.</p>
<p>Edit: The code formatter doesn't love vb.net - you can copy/paste into visual studio and it ... | 4,694 |
<p>In <a href="https://stackoverflow.com/questions/32404/can-i-run-a-python-script-as-a-service-in-windows-how" title="Python scripts as Windows service">another question</a> I posted yesterday, I got very good advice on how a Python script could be run as a service in Windows. What I'm left wondering is: How is Window... | <p>Here is code to install a python-script as a service, written in python :)</p>
<p><a href="http://code.activestate.com/recipes/551780/" rel="noreferrer">http://code.activestate.com/recipes/551780/</a></p>
<p>This post could also help you out:</p>
<p><a href="http://essiene.blogspot.com/2005/04/python-windows-serv... | <p>You can use srvany.exe from Windows NT Resource Kit to create a user defined service that will show up in the admin tools...</p>
<p><a href="http://support.microsoft.com/kb/137890" rel="nofollow noreferrer">http://support.microsoft.com/kb/137890</a></p>
<p>I am using this method to run tracd (a python script / ser... | 5,455 |
<p>I have a couple of pet projects where I'm the sole designer/programmer and I spend too much time changing the user interface to make it easier to use <strong>by real users</strong> and avoiding <strong>bright yellow and green</strong> that is so common on "programmer" designs.</p>
<p>Do you have tips to choose a co... | <p><a href="http://kuler.adobe.com/" rel="noreferrer">kuler</a> has a lot of user submitted colour schemes</p>
<p>edit: just remembered... also try <a href="http://www.colourlovers.com/" rel="noreferrer">colorlovers</a></p>
| <p>Adobe's <a href="http://kuler.adobe.com" rel="nofollow noreferrer">Kuler</a> website has a lot of user-created color schemes uploaded by designers. I normally search for higher ranked schemes first. </p>
| 5,305 |
<p>How much should one DataSet represent? Using the example of an ordering system: While showing your order I also show a list of items similar to one of yours as well as a list of our most popular items.
While your items are tangled in a web of relationships involving you and your past orders, preferred suppliers, an... | <p>The DataSet is vastly overrated and overused. Use strongly-typed collections (thank you, generics and automatic properties!). As icing on the cake, you can now even do cool query things against your custom objects with LINQ. </p>
<p>Good Esposito article on datasets versus custom objects:</p>
<p><a href="http://ms... | <p>The DataSet is vastly overrated and overused. Use strongly-typed collections (thank you, generics and automatic properties!). As icing on the cake, you can now even do cool query things against your custom objects with LINQ. </p>
<p>Good Esposito article on datasets versus custom objects:</p>
<p><a href="http://ms... | 5,692 |
<p>What's a quick and easy way to view and edit ID3 tags (artist, album, etc.) using C#?</p>
| <p>Thirding <a href="https://github.com/mono/taglib-sharp" rel="noreferrer">TagLib Sharp</a>.</p>
<pre><code>TagLib.File f = TagLib.File.Create(path);
f.Tag.Album = "New Album Title";
f.Save();
</code></pre>
| <p>I wrapped mp3 decoder library and made it available for .net developers. You can find it here:</p>
<p><a href="http://sourceforge.net/projects/mpg123net/" rel="nofollow noreferrer">http://sourceforge.net/projects/mpg123net/</a></p>
<p>Included are the samples to convert mp3 file to PCM, and read ID3 tags.</p>
| 9,378 |
<p>I am working with fixtures on rails and I want one of the fixture fields to be blank.</p>
<p>Example:</p>
<pre><code>two:
name: test
path: - I want this blank but not to act as a group heading.
test: 4
</code></pre>
<p>But, I do not know how to leave <code>path:</code> blank without it acting as a group title. D... | <p>YAML files are based on indentation. Once you actually have correct indentation it will read everything at the same level as siblings.</p>
<pre><code>
two:
name: test
path:
test: 4
</code></pre>
| <p>Google <a href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/f8b1635528665a85" rel="nofollow noreferrer">says</a> the following should work:</p>
<pre><code>path: \"\"
</code></pre>
| 7,990 |
<p>Does anyone have any experience getting MSTest to copy hibernate.cfg.xml properly to the output directory? All my MSTests fail with a cannot find hibernate.cfg.xml error (I have it set to Copy Always), but my MBUnit tests pass.</p>
| <p>You can try adding the DeploymentItemAttribute to one of your tests, or edit your .testrunconfig file and add the file to the Deployment list.</p>
| <p>a workaround rather than an answer: NHibernate supports <a href="http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/session-configuration.html#configuration-programmatic" rel="nofollow noreferrer">programmatic configuration</a>. so you can write your own native properties/config file and parse it int... | 4,052 |
<p>I have an Elegoo Mars.</p>
<p>I have printed a figure in Resin, but after some months I found this - the figure is as if it is not completely cured. The base is open (see picture below). it wasn't open before!</p>
<p>It was printed a month ago, I am not precisely sure. I think I only machine cured and sunlight.</p>
... | <p>Those are cracks as a result of overstressing due internal stresses to further curing of the print over the course of time (stress cracks).</p>
<p>Most probably the print wasn't cured properly or slicing wasn't optimal.</p>
| <p>You should probably cure more, but curing should not be complete during print, or the layer will not stick properly.</p>
<p>Also, when you cure with UV light or the sun after the print is completed, you can cure only up to a certain depth, <a href="https://3dprinting.stackexchange.com/questions/13660/can-uv-cure-ins... | 2,228 |
<p>I have a question on the best way of exposing an asynchronous remote interface.</p>
<p>The conditions are as follows:</p>
<ul>
<li>The protocol is asynchronous</li>
<li>A third party can modify the data at any time</li>
<li>The command round-trip can be significant</li>
<li>The model should be well suited for UI i... | <p>For the asynchronous bit, I would suggest checking into <code>java.util.concurrent</code>, and especially the <code>Future<T></code> interface. The future interface is used to represent objects which are not ready yet, but are being created in a separate thread. You say that objects can be modified at any time... | <p>@<a href="https://stackoverflow.com/questions/37041/exposing-a-remote-interface-or-object-model#37093">Staale</a>: Thanks a bunch!</p>
<p>Using Future for the async operations is interesting. The only drawback being that it is doesn't provide callbacks. But then again, I tried that approach, and look where that got... | 5,767 |
<p>The problem: Loading an excel spreadsheet template. Using the Save command with a different filename and then quitting the interop object. This ends up saving the original template file. Not the result that is liked.</p>
<pre><code>public void saveAndExit(string filename)
{
excelApplication.Save(filen... | <p>Excel interop is pretty painful. I dug up an old project I had, did a little fiddling, and I think this is what you're looking for. The other commenters are right, but, at least in my experience, there's a lot more to calling SaveAs() than you'd expect if you've used the same objects (without the interop wrapper) ... | <p>Have you tried the SaveAs from the Worksheet?</p>
| 4,880 |
<p>I run quite a few Ender 3 Pro's using the same slicer settings (Simplify3D), and just recently I have noticed a very odd extrusion problem. </p>
<p>I find that at about the same height on several printers the printer under extrudes by quite a margin. After that, it either continues to under extrude for the rest of ... | <p>It seems I misread your question. </p>
<h2>3D Printed Mold</h2>
<p>You were asking about (or the question now states) use of a mold release compound to prevent a molded part from sticking to a 3d print mold.</p>
<p>Yes. It is always beneficial for the molded part to not stick to the mold. Easy separation and p... | <p>Welcome to the 3D Printing Stack Exchange site.</p>
<h2>Used in Casting</h2>
<p>A mold release agent is commonly used when a part is cast. The release agent is placed on the inside of the mold before the liquid object is added. As the object becomes solid, the release agent prevents the object from adhering to t... | 1,460 |
<p>I am Attempting to print this, from Blender
<a href="https://i.stack.imgur.com/kKdun.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kKdun.jpg" alt="enter image description here"></a>
But Cura decides to fill in the middle part of the model.
<a href="https://i.stack.imgur.com/1fj3T.png" rel="nofo... | <p>Try disabling the "Union Overlapping Volumes" option on Mesh Fixes section. Worked for me.</p>
| <p>I would recommend using an actual CAD/CAM program, such as Autodesk Fusion 360, instead of using a 3d model program. Not only will this be able to directly export you finished model to Cura, and the models are made in a way that works with a 3d printing slicer, there will be more help around 3D printing for it.</p>
... | 1,593 |
<p>I'm working on porting a Visual C++ application to GCC (should build on MingW and Linux).</p>
<p>The existing code uses <code>__try { ... } __except(1) { ... }</code> blocks in a few places so that almost nothing (short of maybe out of memory type errors?) would make the program exit without doing some minimal logg... | <p>try { xxx } catch(...) { xxx } would be more portable but might not catch as much. It depends on compiler settings and environments.</p>
<p>Using the default VC++ settings, asynchronous (SEH) errors are not delivered to the C++ EH infrastructure; to catch them you need to use SEH handlers (__try/__except) instead.... | <p>One way that is easy to use, portable, and barely use any resources would be to catch empty classes. I know this may sound odd at first, but it can be very useful.</p>
<p>Here is an example I made for another question that applies for your question too: <a href="https://stackoverflow.com/questions/556255/how-to-thr... | 6,027 |
<p>I would like to print fancy plastic cutlery sets or plastic glasses.</p>
<p>Is it safe to do it? Or bad for your health, if so, why?</p>
| <p>As others have pointed out, PLA isn't specifically not food safe, but materials that have been printed previously can contaminate the PLA.</p>
<p>Additionally, anything 3D printed is extremely porous. Once a part is used for food, moisture and bacteria will accumulate in the pores, and can never be completely clean... | <p>Having performed a quick search through all the resources at the FDA Food Contact Substance resource, I cannot find PLA in any list except an occasional notification that a specific manufacturer has obtained approval for use in specific circumstances, with the notice that such notifications are only valid for that m... | 120 |
<p>Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch of files into the editor that I may... | <p>Simply delete the .suo file.
It contains the list of open files.</p>
| <p>The only way works for me is : change the project location and again reopen the solutions form there. :)</p>
| 3,679 |
<p>Not storing left-over photopolymer resin back with pristine resin in its original shipping can seems to be a common recommendation.</p>
<p>What is the best practice here? Store in a separate bottle and pour this "once around the block" resin first for the next print?</p>
| <h2>Safety first</h2>
<p>I suggest the following handling of resins, some basic stuff first:</p>
<ul>
<li><strong>ALWAYS</strong> wear disposable, one-use gloves when handling resin.</li>
<li>Respirators are highly advised to be worn.</li>
<li>Work in a well-ventilated area.</li>
<li>Tools dedicated to resin handling a... | <p>Considerations for storing resin include using a light-tight bottle, preventing stray ultraviolet radiation from prematurely curing the resin.</p>
<p>You'll also note that users will filter the resin through a fine mesh filter. I've seen some videos in which the user pours through coffee filters to remove as many pa... | 1,752 |
<p>Please, now that I've re-written the question, and before it suffers from further <a href="https://stackoverflow.com/questions/56103/fastest-gun-in-the-west-problem">fast-gun answers</a> or premature closure by <a href="https://stackoverflow.com/users/905/keith">eager editors</a> let me point out that this is not a ... | <p>Here's C# app i wrote that solves this problem.</p>
<p><strong>takes</strong><br>
aabccacdcd </p>
<p><strong>outputs</strong><br>
abcacd </p>
<p>Probably looks pretty messy, took me a bit to get my head around the dynamic pattern length bit.</p>
<pre><code>class Program
{
private static List<string> ... | <p>I agree that if you can just dump the strings into a Set, then that might be the easiest solution. </p>
<p>If you don't have access to a Set implementation for some reason, I would just sort the strings alphabetically and then go through once and remove the duplicates. How to sort them and remove duplicates from th... | 8,121 |
<p>I have built a basic data entry application allowing users to browse external content in iframe and enter data quickly from the same page. One of the data variables is the URL.
Ideally I would like to be able to load the iframes current url into a textbox with javascript. I realize now that this is not going to happ... | <p>I did some tests in Firefox 3 comparing the value of <code>.src</code> and <code>.documentWindow.location.href</code> in an <code>iframe</code>. (Note: The <code>documentWindow</code> is called <code>contentDocument</code> in Chrome, so instead of <code>.documentWindow.location.href</code> in Chrome it will be <code... | <p>Does this help? </p>
<p><a href="http://www.quirksmode.org/js/iframe.html" rel="nofollow noreferrer">http://www.quirksmode.org/js/iframe.html</a></p>
<p>I only tested this in firefox, but if you have something like this:</p>
<pre><code><iframe name='myframe' id='myframe' src='http://www.google.com'></ifr... | 6,610 |
<p>I am having some trouble with the <a href="http://code.google.com/apis/maps/documentation/reference.html" rel="nofollow noreferrer">Google Maps API</a>. I have an array which holds a ojbect I created to store points.</p>
<p>My array and class:</p>
<pre><code>var tPoints = [];
function tPoint(name) {
va... | <p>Maybe a CLR stored procedure is what you are looking for. These are generally used when you need to interact with the system in some way.</p>
| <p>I still believe that a CLR procedure might be the best bet. So, I'm accepting that answer. However, either I'm not that bright or it's extremely difficult to implement. Our SQL Server service is running under a local account because, according to Mircosoft, that's the only way to get an iSeries linked server working... | 3,736 |
<p>I am building a custom win32 control/widget and would like to change the cursor to a horizontal "splitter" symbol when hovering over a particular vertical line in the control. IE: I want to drag this vertical line (splitter bar) left and right (WEST and EAST).</p>
<p>Of the the system cursors (OCR_*), the only curs... | <p>There are all sorts of icons, cursors, and images in use throughout the Windows UI which are not publicly available to 3rd-party software. Of course, you could still load up the module in which they reside and use them, but there's really no guarantee your program will keep working after a system update / upgrade. <... | <p>I had this exact problem. When I looked back over some old code for a vertical splitter thinking I had an easy answer, it turned out that I had build and loaded my own resource:</p>
<pre>
SetCursor( LoadCursor( ghInstance, "IDC_SPLITVERT" ));
</pre>
<p>I vaguely remember investing some considerable time and effor... | 6,983 |
<p>I get an Access is Denied error message when I use the strong name tool to create a new key to sign a .NET assembly. This works just fine on a Windows XP machine but it does not work on my Vista machine.</p>
<pre><code>PS C:\users\brian\Dev\Projects\BELib\BELib> sn -k keypair.snk
Microsoft (R) .NET Framework S... | <blockquote>
<p>Yes I have tried running PS and the
regular command prompt as
administrator. The same error message
comes up.</p>
</blockquote>
<p>Another possible solution could be that you need to give your user account access to the key container located at C:\Documents and Settings\All Users\Application Da... | <p>Are you running your PowerShell or Command Prompt as an Administrator? I found this to be the first place to look until you get used to User Access Control or by turning User Access Control off.</p>
| 3,300 |
<p>We have, now, assertained that <em>inlined videos</em> (for want of a better description) are currently turned off (disabled) for SE 3D Printing, but can be turned on at any time, and there is no need to wait for the site to exit Beta, see <a href="https://3dprinting.meta.stackexchange.com/questions/226/is-the-inlin... | <p>Per answer to <a href="https://meta.stackexchange.com/questions/296832/what-are-the-limitations-in-beta">What are the limitations in Beta</a></p>
<p>"Inline videos is a feature that is off by default on all sites and only turned on if the community thinks it's necessary to improve the quality of a good portion of t... | <p>A note of caution, <a href="https://stackoverflow.com/c/moderators/questions/257#answer-261">this post</a> on the Stack Moderators site, Pᴀᴜʟsᴛᴇʀ2's post, <a href="https://stackoverflow.com/c/moderators/questions/257">How do you request embedded video for your site?</a> - As mods can only follow these links I've inc... | 42 |
<p>How does one start development in Silverlight?</p>
<p>Does one need a new IDE? or Visual studio will support?</p>
| <p>Yes there is tooling support for Visual Studio. It is still in Beta though.</p>
<p><a href="http://silverlight.net/GetStarted/" rel="nofollow noreferrer">Get Started Building Silverlight 2 Applications</a></p>
<p>1) Install Visual Studio 2008 then Install Silverlight Tools Beta 2 for Visual Studio 2008
This add-on... | <p>Dan Wahlin has some good Silverlight 2 videos at:</p>
<p><a href="http://weblogs.asp.net/dwahlin/archive/2008/03/07/silverlight-2-0-video-tutorials.aspx" rel="nofollow noreferrer">http://weblogs.asp.net/dwahlin/archive/2008/03/07/silverlight-2-0-video-tutorials.aspx</a></p>
<p>They are quite helpful.</p>
<p>rp</p... | 8,554 |
<p>I'm aware of <a href="http://www.fusioncharts.com/" rel="noreferrer">FusionCharts</a>, are there other good solutions, or APIs, for creating charts in Adobe Flash?</p>
| <p>Is there a reason that you want it in Flash? If a plain, old PNG will work, try the <a href="http://code.google.com/apis/chart/" rel="noreferrer">Google Chart API</a>.</p>
| <p>Adobe's data visualization package is now free after the release of Flash Builder 4.</p>
<p>Charting and other libraries are on this site - <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" rel="nofollow noreferrer">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a></p>
| 2,468 |
<p>With the <em>Visual Studio 2005 C++ compiler</em>, I get the following warning when my code uses the <code>fopen()</code> and such calls:</p>
<pre class="lang-none prettyprint-override"><code>1>foo.cpp(5) : warning C4996: 'fopen' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\i... | <p>It looks like Microsoft has deprecated lots of calls which use buffers to improve code security. However, the solutions they're providing aren't portable. Anyway, if you aren't interested in using the secure version of their calls (like <strong>fopen_s</strong>), you need to place a definition of <strong>_CRT_SECURE... | <p>I also got the same problem. When I try to add the opencv library</p>
<pre><code>#include <opencv\cv.h>
</code></pre>
<p>I got not a warning but an error.</p>
<pre><code>error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_... | 3,516 |
<p>I want to catch all unhandled exceptions thrown in a remote object on <em>the server</em> and log them there before I translate them into some custom exception so that specific exceptions do not cross the client/server boundary.</p>
<p>I think I have to use a custom channel sync, but can anyone confirm this and/or ... | <p>I would use the Microsoft Enterprise Library Exception Handling app block -- it lets you handle errors and convert specific types of exception to a different type of exception before rethrowing to the client.</p>
| <p>I would use the Microsoft Enterprise Library Exception Handling app block -- it lets you handle errors and convert specific types of exception to a different type of exception before rethrowing to the client.</p>
| 6,429 |
<p>Did you ever have to choose between WISA or LAMP at the beginning of a web project?</p>
<p>While pros and cons are littered around the net, it would be helpful to know about your real experience in coming up w/ criteria, evaluating, deciding, and reflecting upon your decision to go w/ either platform.</p>
| <p>I think the first part is your Application. If you decide to go PHP, you almost automatically end up with LAMP, as WIMP or WISP stacks are quite rare (I think blog.stackoverflow.com runs on WIMP), and with .net you definitely want to go WISA.</p>
<p>So normally, it boils down to .net vs. PHP. (Ignoring Ruby, Python... | <p>I think the team is the biggest issue. WISA isn't universally worse or better than LAMP for any particular job. My expertize is in LAMP. I have very little experience with WISA, so I would never pick it. </p>
<p>It's more along the lines of photography -- if all your lenses were Canon's, why would you buy a Nikon b... | 4,306 |
<p>I want to enable an user to be able to communicate with other users through a site. I know that ASP.net is stateless, but what can I use for this synced communication? Java servlets?</p>
| <p>I don't think you need to set up Java just to use a servlet for this. I would use AJAX and the database. I don't know ASP.NET but I PHP is similar in this case, being also basically "stateless". If you want to display some kind of asynchronous communication between two different users, say, from two different sessio... | <p>ASP.NET is "stateless" but it maintains state using Sessions. You can use them by default just using the Session[] keyword. </p>
<p>Look at <a href="http://msdn.microsoft.com/en-us/library/ms972429.aspx" rel="nofollow noreferrer">ASP.NET Session State</a> for some details from Microsoft.</p>
| 5,754 |
<p>I'd like to have a python program alert me when it has completed its task by making a beep noise. Currently, I use <code>import os</code> and then use a command line speech program to say "Process complete". I much rather it be a simple "bell."</p>
<p>I know that there's a function that can be... | <p>Have you tried :</p>
<pre><code>import sys
sys.stdout.write('\a')
sys.stdout.flush()
</code></pre>
<p>That works for me here on Mac OS 10.5</p>
<p>Actually, I think your original attempt works also with a little modification:</p>
<pre><code>print('\a')
</code></pre>
<p>(You just need the single quotes around th... | <p>By the way: there is a module for that. ;-)</p>
<p>Just install via pip:</p>
<pre class="lang-py prettyprint-override"><code>pip3 install mac_alerts
</code></pre>
<p>run your sound:</p>
<pre class="lang-py prettyprint-override"><code>from mac_alerts import alerts
alerts.play_error() # plays an error sound
</code></p... | 3,485 |
<p>Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? </p>
<p>I think a similar pattern could be used for taking an XML or tab-delimited file and parse it into their representative objects.</p>
<p>A common data struc... | <ol>
<li>Just write your file parser, using whatever techniques come to mind</li>
<li>Write lots of unit tests for it to make sure all your edge cases are covered</li>
</ol>
<p>Once you've done this, you will actually have a reasonable idea of the problem/solution.</p>
<p>Right now you just have theories floating aro... | <p>The Strategy pattern is maybe one you want to look at. The strategy being the file parsing algorithm.</p>
<p>Then you want a separate strategy for database insertion.</p>
| 3,276 |
<p>During a print a lot of plastic ended up ripping the nozzle's yellow insulation strap. </p>
<p>Can printing without this insulation around the fusion chamber damage the printer?</p>
<p>If there is no chance of damaging the printer, how likely is it that the prints will be affected by the absence of this insulation... | <p>Removing the insulation will not damage the printer, although it may affect the quality of the prints. The insulation is, after all, there for a purpose.</p>
<p>Allowing too much heat to escape radiatively from the heater block will reduce the maximum flow rate, since less energy will be available to heat the filam... | <p>Insulation of the nozzle is crucial. I removed it and put a silicon sock on a CR-10. I constantly got heat creeps even at 10C lower temp. Then I removed the sock and printed a 12 hour part with significant quality loss. It did finish the job. With silicon it stopped after 5-6 hours. I suppose that with the sock the ... | 1,314 |
<p>How to encode video on the fly and send it trough the network from C#?</p>
<p>Can't find a suitable library. I need to encode in WMV and don't mind if the actual encoding is made in C++ as long as the library has a .NET assembly available.</p>
<p>Thanks</p>
| <p>I'm aware of <a href="http://ffmpeg.mplayerhq.hu/" rel="nofollow noreferrer">ffmpeg</a>, but it is native C code only. If you're ok with interoperability this may be your ticket.</p>
<p>Edit: It turns out someone already wrapped this in a .NET assembly. It's called <a href="http://www.intuitive.sk/fflib/" rel="no... | <p>Depending on what you are encoding (size, framerate, hardware, etc) real-time encoding may not even be possible. Video encoding is VERY CPU intensive.</p>
| 6,585 |
<p>Is there an efficient method of converting an integer into the written numbers, for example:</p>
<pre><code>string Written = IntegerToWritten(21);
</code></pre>
<p>would return "Twenty One".</p>
<p>Is there any way of doing this that doesn't involve a massive look-up table?</p>
| <p>This should work reasonably well:</p>
<pre><code>public static class HumanFriendlyInteger
{
static string[] ones = new string[] { "", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine" };
static string[] teens = new string[] { "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen",... | <p>Here is a <a href="http://forums.exchangecore.com/topic/684-convert-number-to-words-c-console-application/" rel="nofollow">C# Console Application</a> that will return whole numbers as well as decimals.</p>
| 2,538 |
<p>I’m new to 3D printing and have the Creality Ender 3 Pro. I work a lot with clay for earrings and wanted to design my own cutters with a sharp edge to create clean shapes.</p>
<p>I use PLA and have been using the speed and nozzle (0.4 mm) that was already set when I bought it. It’s been creating fine edges but I’d l... | <p>An extrusion width of 0.5 mm is too wide for making a sharp outline, I do use this sometimes for extrusion width for the infill.</p>
<p>Note that you can sand plastic (e.g. PLA or ABS) to sharpen the edge.</p>
| <p>To build in 0scar's answer, standard nozzle width is 0.4 mm, so using a width of 0.5 mm will likely make the slicer extrude the edge as <em>two extrusion lines</em>, either with one of them very thin (which is hard to print precisely), or overextruded so that the total width is closer to 0.8 mm. You should probably ... | 1,650 |
<p>How would one configurably set http-headers to cache files in IIS >= 6?</p>
<p>Example:</p>
<ul>
<li><code>*.cache.*</code> => cache nearly forever</li>
<li><code>*.nocache.*</code> => never cache</li>
</ul>
<p>An example framework using this naming would be the GWT framework.</p>
| <p>I think you're referring to setting the cache-control header.</p>
<p>See here <a href="http://support.microsoft.com/kb/247404" rel="nofollow noreferrer">http://support.microsoft.com/kb/247404</a></p>
| <p><a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/23ea6f24-4b44-4fa0-a275-a1b907e1afb6.mspx?mfr=true" rel="nofollow noreferrer">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/23ea6f24-4b44-4fa0-a275-a1b907e1afb6.mspx?mfr=true</a></p>
<p>Explains the diff... | 9,933 |
<p>I wrote a quick program in python to add a gtk GUI to a cli program. I was wondering how I can create an installer using distutils. Since it's just a GUI frontend for a command line app it only works in *nix anyway so I'm not worried about it being cross platform.</p>
<p>my main goal is to create a .deb package for... | <p>See the <a href="http://docs.python.org/dist/simple-example.html" rel="noreferrer">distutils simple example</a>. That's basically what it is like, except real install scripts usually contain a bit more information. I have not seen any that are fundamentally more complicated, though. In essence, you just give it a li... | <p>distutils really isn't all that difficult once you get the hang of it. It's really just a matter of putting in some meta-information (program name, author, version, etc) and then selecting what files you want to include. For example, here's a sample distutils setup.py module from a decently complex python library:... | 4,924 |
<p>This is pretty simple, I come from a swing/awt background.</p>
<p>I'm just wondering what the proper way to set the background color for a SWT widget is?</p>
<p>I've been trying:</p>
<pre><code>widget.setBackground( );
</code></pre>
<p>Except I have no idea how to create the color Object in SWT?</p>
| <p>To create a color, try this:</p>
<pre><code>Device device = Display.getCurrent ();
Color red = new Color (device, 255, 0, 0);
</code></pre>
| <p>Remember that in SWT you must explicitly dispose any resources that you create when you are done with them. This includes widgets, fonts, colors, images, displays, printers, and GCs. If you do not dispose these resources, eventually your application will reach the resource limit of your operating system and the ap... | 7,267 |
<p>I have the following code in a web.config file of the default IIS site.</p>
<pre><code><httpModules>
<add type="MDL.BexWebControls.Charts.ChartStreamHandler,Charts" name="ChartStreamHandler"/>
</httpModules>
</code></pre>
<p>Then when I setup and browse to a virtual directory I get this error... | <p>I've found the answer. Wrap the HttpModule section in location tags and set the inheritInChildApplications attribute to false.</p>
<pre><code><location path="." inheritInChildApplications="false">
<system.web>
<httpModules>
<add type="MDL.BexWebControls.Charts.ChartStreamHandler,Ch... | <p><a href="http://msdn.microsoft.com/en-us/library/ms178685.aspx" rel="nofollow noreferrer">According to Microsoft</a>, other websites do not inherit settings from the Default Website. Do you mean you are editing the default web.config which is located in the same folder as the machine.config?</p>
| 5,854 |
<p>What is the quickest way to come up to speed on OpenGL ES 1.x?</p>
<p>Let's assume I know nothing about OpenGL (which is not entirely true, but it's been a while since I last used OpenGL). I am most interested in learning this for iPhone-related development, but I'm interested in learning how it works on other pla... | <p>There is some documentation in iPhone SDK itself.</p>
<p>Other than that, just take what you know about OpenGL (or learn that via other means), and forget about all things that are "old cruft" (display lists, immediate mode, things that are in OpenGL but are not directly related to just drawing triangles). Basicall... | <p>May I also suggest Android - it's easy to get and you can have a working simulator really quickly. Also, it uses v1.0 as far as I know. <br/>
There could be more tutorials, but even the APIDemos provided by Google has introduction to OpenGL ES. I certainly found it helpful.</p>
| 9,793 |
<p>What is the best way to measure exception handling overhead/performance in C++?</p>
<p>Please give standalone code samples.</p>
<p>I'm targeting Microsoft Visual C++ 2008 and gcc.</p>
<p>I need to get results from the following cases:</p>
<ol>
<li>Overhead when there are no try/catch blocks</li>
<li>Overhead whe... | <p>Section 5.4 of the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/TR18015.pdf" rel="noreferrer">draft Technical Report on C++ Performance</a> is entirely devoted to the overhead of exceptions. </p>
| <p>Won't the answer depend on what cleanup has to happen as a result of a throw? If an excpetion is thrown that causes a whole load of objects to go out of scope up the stack, then that will add to the overhead.</p>
<p>In other words, I'm not sure if there is a an answer to the 3rd question that is independent of the ... | 6,485 |
<p>For a given class I would like to have tracing functionality i.e. I would like to log every method call (method signature and actual parameter values) and every method exit (just the method signature). </p>
<p>How do I accomplish this assuming that: </p>
<ul>
<li>I don't want to use any 3rd party
AOP libraries... | <p>C# is not an AOP oriented language. It has some AOP features and you can emulate some others but making AOP with C# is painful.</p>
<p>I looked up for ways to do exactly what you wanted to do and I found no easy way to do it.</p>
<p>As I understand it, this is what you want to do:</p>
<pre><code>[Log()]
public vo... | <ol>
<li>Write your own AOP library.</li>
<li>Use reflection to generate a logging proxy over your instances (not sure if you can do it without changing some part of your existing code).</li>
<li>Rewrite the assembly and inject your logging code (basically the same as 1).</li>
<li>Host the CLR and add logging at this l... | 4,540 |
<p>Another SSRS question here: <br />
We have a development, a QA, a Prod-Backup and a Production SSRS set of servers. <br />
On our production and prod-backup, SSRS will go to sleep if not used for a period of time. <br /><br />
This does not occur on our development or QA server.
<br />In the corporate environme... | <p>For anybody using the integrated webserver that is built into SQL Reporting Services (and hence IIS may not even be installed on the box), the setting to control this actually lives in:</p>
<pre><code>C:\Program Files\Microsoft SQL Server\
MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserve... | <p>I vaguely recall having problems with SSRS on one machine when we changed the "Enable HTTP Keep-Alives" setting in IIS. Try toggling that checkbox (I don't remember whether it was checked or unchecked when it caused us problems).</p>
| 3,642 |
<p>I'm wondering if it's a good idea to make <strong>verifications</strong> in <strong>getters</strong> and <strong>setters</strong>, or elsewhere in the code.</p>
<p>This might surprise you be when it comes to <strong>optimizations</strong> and <strong>speeding</strong> up the code, I think you should not make verifi... | <p>Well, one of the reasons why classes usually contain private members with public getters/setters is exactly because they can verify data.</p>
<p>If you have a Number than can be between 1 and 100, i would definitely put something in the setter that validates that and then maybe throw an exception that is being caugh... | <p>Validation should be captured separately from getters or setters in a validation method. That way if the validation needs to be reused across multiple components, it is available.</p>
<p>When the setter is called, such a validation service should be utilized to sanitize input into the object. That way you know al... | 2,485 |
<p>I want to paint my ABS parts. But I foresee a problem that will arise from 0.16mm layer - those layers will be perfectly visible, even with primer. Sanding them wouldn't be a good idea, because walls are just 0.8-1mm thick, and probably acetone bath isn't right thing too. I want to use some sort of cement or paste, ... | <p>The Prusha I3 design uses two rods to guide the Y axis, which moves along the rods on linear bearings. If the rods are not strictly planar, there will be movement of the bed as it moves to and fro. You would not be able to correct this with the leveling screws.</p>
<p>Be sure that the rods are planar, and that th... | <p>The Prusha I3 design uses two rods to guide the Y axis, which moves along the rods on linear bearings. If the rods are not strictly planar, there will be movement of the bed as it moves to and fro. You would not be able to correct this with the leveling screws.</p>
<p>Be sure that the rods are planar, and that th... | 738 |
<p>Our security manager dynamically inserts a bit of javascript at the top of every html page when a page is requested by the client. It is inserted above the DOCTYPE statement. I think this might be the cause of the layout problems I am having.</p>
<p>Ideas anyone?</p>
| <p>Yes, the DOCTYPE must come first.</p>
<p>The definition is here: <a href="http://www.w3.org/TR/REC-html40/struct/global.html" rel="noreferrer">http://www.w3.org/TR/REC-html40/struct/global.html</a>. Note that it says a document consists of three parts, and the DTD must be first.</p>
| <p>It’s not a tag, but yup. Mainly because that’s the only way to get Internet Explorer (pre-version 8, I think) into standards mode.</p>
| 9,520 |
<p>Why isn't there a Team Foundation Server Express Edition?</p>
| <p>Almost 3 years and 16 answers later,<a href="http://www.visualstudio.com/en-us/products/visual-studio-express-vs" rel="nofollow"><strong>TFS Express</strong></a> is now a fact.</p>
| <p>No, from memory anything Team Foundation based costs a few times more than the professional versions. That's where Microsoft really makes its money.</p>
| 9,294 |
<p>I'm trying to upload an application to the iPhone App Store, but I get this error message from iTunes Connect:</p>
<blockquote>
<p>The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate.</p>
</blockquote>
<hr>
<p>Note: The details of original qu... | <p>It's been my experience that Xcode occasionally gets confused about which signing certificate to use. I got into the habit of quitting and restarting Xcode after any change to the code signing settings (and doing a clean build) to work around this problem.</p>
| <p>Just had this problem today but the answers here didn't help. I finally found the problem.</p>
<p>Make sure using pull down menu: <strong>Project>Edit Active Target</strong> "<em>ProjectName</em>" to change Code Signing to Distribution - I was selecting the Project in the Groups & Files pane and using the Info ... | 7,028 |
<p>I just saw a really cool WPF twitter client that I think is developed by the Herding Code podcast guys <a href="http://www.herdingcode.com/" rel="noreferrer">HerdingCode</a> called <a href="http://code.google.com/p/wittytwitter/" rel="noreferrer">Witty</a>. (or at least, I see a lot of those guys using this client)... | <p>After you install Tortoise (separate SVN client not required), create a new empty folder for the project somewhere and right click it in Windows. There should be an option for <code>SVN Checkout</code>. Choosing that option will open a dialog box. Paste the URL you posted above in the first textbox of that dialog bo... | <p>The manual explains how to checkout code: </p>
<p><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html" rel="nofollow noreferrer">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html</a></p>
| 6,315 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.