Conrad

1

votes
3

answer
723

views

Does airflow have something like `yesterday_ds` / `tomorrow_ds` but for `@monthly` jobs?

I have a job that's using the ds variable to coordinate the amount of work that it processes, and it is scheduled to run daily with @daily. select * from events where date = '{{ ds }}'; However, I'd like to write a new version of it to be @monthly. I don't have to change much, but I need access t...
Conrad.Dean
0

votes
0

answer
22

views

Visual Studio 2019 fails to add a new file to my project

I have a functions app project called Gorge.FunctionApp with the file path D:\Kernelgen\Platform\Gorge\gorge-products-catalog\Gorge.FunctionApp. However, when I try to add a new function, the dialog box just does not show up. When hit Ctrl+Shift+A to add a new file, I get the error as shown in the p...
Conrad
1

votes
1

answer
70

views

Python matplotlib - Large Window on Linux

Simple Question, how do I set matplotlib to display a fullscreen window? Here is the code for doing it on Windows... mng = plt.get_current_fig_manager() mng.window.state('zoomed') Which works fantastic... on Windows. I'm using Linux, and it does not work there, only allowing the following window.sta...
Conrad Selig
1

votes
1

answer
83

views

IT Hit WebDav protocol installer fails with Firefox

I am using the latest version of Firefox (57.0.4) to test my IT Hit WebDav server implementation. When I attempt to open a file other than MS Office I expect to be prompted to install the protocol installer. Rather than being prompted I get a dialog that says I need to install something from the Win...
Matt Conrad
1

votes
1

answer
88

views

How to keep the selected row always visible in a HTML table which is periodically changing?

I have cobbled together some Javascript and HTML that will enable me to select a table row. It will also add some rows at the top periodically via a timer. This is just a placeholder for an ajax call that will go in later. I want the table to be scrollable, so there is a table inside of a scrollab...
Ev Conrad
1

votes
0

answer
284

views

Official Imgur python API library?

According to the Imgur documentation at https://apidocs.imgur.com/, the 'official Python Library' is at https://github.com/Imgur/imgurpython. That repository specifically says 'The imgurpython project is no longer supported.' The version of imgurpython that gets installed when I do 'pip3 install im...
Conrad
1

votes
2

answer
31

views

View not moving with finger with onTouchListener

I'm trying to make a View's x value move along with a finger as it drags across the screen. Although the view moving is smooth, it only moves ~1/3 of the distance that the finger does. The View in my case happens to be a RecyclerView, but I think this is irrelevant to the problem. What am I doing wr...
Gregory Conrad
1

votes
1

answer
177

views

How to add JavaScript code to Laravel for BackPack?

I'm using Laravel BackPack to expedite my CRUD webapp. I have a form with a dropdown list of users. When a user is selected from this list, I want to populate a text box on the same form with the username of the selected user. I normally use JavaScript to query the table and return the JSON result....
Conrad Lawes
1

votes
0

answer
41

views

laravel backpack select2 placeholder

How do I get dropdown list with placeholder saying 'Select Category' as the default selection? The following code did not render the placeholder $this->crud->addField([ // Select2 'label' => 'Category', 'type' => 'select2', 'name' => 'category_id', // the db column for the foreign key...
Conrad Lawes
1

votes
1

answer
56

views

Despite triggers, how do azure function apps and webjobs vary in operation and scaling?

I currently use Azure webjobs for processing requests from the Azure queue. On a day, a single webjob can process upto 5,000 messages from the queue. Each message is processed for a maximum 20 seconds. The webjob keeps listening to the queue for a new message. On arrival, picks the message and proce...
Conrad
1

votes
1

answer
34

views

Retaining svn copy history when converting to git using kde svn2git tool

My question is very similar to Retaining svn copy history when converting to git except that I am using the free kde svn2git tool To summarize: I'm trying to convert a single SVN repo over to a single git repo. After migration of the svn repository to git I have noticed that git does not seem to fo...
conrad
1

votes
0

answer
30

views

allow only QWidget sizes divisible by a specific value

I am drawing a grid in my QWidget derived widget, i would like to ensure that the widget only gets resized to a height that is divisible by the height of a cell in the grid, in this case 5, but for the purposes of the question any arbitrary value will do. The widget exists as a child control of a QB...
Conrad Jones
1

votes
1

answer
33

views

How to send data from one window to another

I think There is answer for my qestion but it is for pyqt4 and I can't figure out what is wrong. I made 2 windows on qt desiger. Bothe of them are Ui type files. The 'nadrzedny' is main window and 'dodaj' is second window. 'nadrzedny' has QlistWidget which supposed to listed item added by 'dodaj'...
Conrad Niepodam
1

votes
1

answer
84

views

Access server certificate from ASP.NET (C#)

Using server variables(Request.ServerVariables['CERT_SERVER_ISSUER']), I can get a string representing the Server Certificate Issuer used in the connection. I would like to access the actual certificate (X509Certificate if possible), so that I can further inspect the certificate. I want to validate...
Conrad
1

votes
1

answer
2.3k

views

C# - Finding the Boundaries of an Image (not the size)

I'm developing an application to split an image grid equally and center the images (based on their similarity). So far, I could manage to fix a grid of images with small sizes, but whenever I try a larger 'sprite' size (100x100, for instance), I get Stack Overflow error. Yes I'm using recursion, bu...
Conrad Clark
2

votes
0

answer
9

views

Mutual SSL using: Mono,C#, and Self-Signed Certificates

Here is the project: I'm creating a TcpListener in C#, that will host on a Linux box using Mono. Then I will have a TcpClient (also Mono on Linux) that will connect to it, and because I can't have a username/password auth, I would like it that clients connect with a 'client certificate', that I wi...
Conrad
1

votes
1

answer
374

views

About Team Build and building Web Sites, custom code activity problem

I'm trying to Publish a Web Site using Team Build 2010, but I didn't see any easy options out there. So I tried to create a custom activity which calls a process in the agent ('aspnet_compiler.exe') with my parameters and publish my site. I can delete folders, create folders, compile and build proje...
Conrad Clark
1

votes
1

answer
1.4k

views

Is it possible to manually set Work Item ID in Team Foundation Server 2010?

Is it possible to manually set Work Item IDs in Team Foundation Server 2010? When I put the id field on the work item layout it's automatically set as readonly.
Conrad Clark
1

votes
1

answer
161

views

Is it wise to replace the trunk for shelvesets?

We're currently migrating from SVN to TFS; Today there are Trunks, Branches and Tags to track and organize our development. But we are questioning the need of a trunk while we have shelvesets, and could just shelve the pending activities and unshelve & merge them as necessary into the main branch....
Conrad Clark
1

votes
1

answer
102

views

VSX - Is it possible to edit a already defined command/toolbar/functionality?

Is it possible to extend visual studio 2008/2010 to add extra options to the 'Pending Window' toolwindow for Team Foundation Server? as in Check-In | Shelve Unshelve | My Feature | Workspace: foobar
Conrad Clark
1

votes
1

answer
287

views

Is there a way to parametrize 'Workspace' in Team Build 2010 for different branches?

Good morning' Team Foundation Server 2010 question. Do I need to create a Build Definition for every branch I have ? Is there a way to parametrize 'Workspace' in Team Build 2010 for different branches, so we could just queue a new build specifying the workspace paths? I tried finding out how TFS ret...
Conrad Clark
1

votes
1

answer
555

views

Create new Linked Work Item in TFS2010 - can I set default values?

When we create a new linked work item New Linked Work Item... or Ctrl+Shift+L, is there a way to copy the title and other data from the original work item ? Here's the scenario: I have a custom Work Item Type called Code Review which needs to be created for every task. Not every one, but most ones....
Conrad Clark
1

votes
2

answer
1.4k

views

SQL Server : SSIS - Package Issue not inserting data

If I run my package in Visual Studio it successfully inserts all the records in table but when I scheduled it as a JOB, it shows its running but doesn't insert any record in table. Can anyone please advise Regards
Conrad Jagger
1

votes
3

answer
469

views

Prevent stack overflow while crawling inside objects via reflection in c#

I have this method called MatchNodes: IEnumerable MatchNodes(T n1, T n2) Which basically gets every property and field from both T objects (via reflection, and not including properties/fields from base classes) and compares them, returning the result as a IEnumerable of bools. When it finds a primi...
Conrad Clark
1

votes
3

answer
3.5k

views

wsDualHttpBinding always timeout, while other services work as expected

I currently develop several services (WCF) to work with TFS 2010. Some of them use the event subscription tool, while others are consumed through the sharepoint portal, small wpf applications, etc. I'm working on an application to administer some stuff in another server, such as send an IIS Reset re...
Conrad Clark
1

votes
1

answer
2.3k

views

asp:UpdateProgress never goes away after clicking on downloadable content inside a repeater

I have a ASP.NET 3.5 page which has a repeater containing lines of information and custom buttons to change their status. Suppose it's like this btn1 btn2 btn3 Id Title Description Status1 Status2 btn1 and btn2 are used to change the status1 and 2 respectively. btn3 redirects to a custom handler wh...
Conrad Clark
1

votes
1

answer
660

views

How do I emulate objdump --dwarf=decodedline in .bundle files?

I've been successfully using objdump --dwarf=decodedline to find the source location of each offset in a .so file on Linux. Unfortunately on Mac-OS X. It seems that .bundle files (used as shared libraries) are not queriable in this manner. I'm optimistic that there's something I can do, because gdb...
Conrad Irwin
1

votes
3

answer
7.3k

views

Create a cache for android application

I am developing an android application which aim is to send some datas to the server. However, sometimes there may not have wifi connection, so I would like to ask if it is possible to create a cache to store multiple sets of data, say maybe 3 sets, and then the app will send those datas automatical...
Conrad
1

votes
1

answer
1.8k

views

Android NFC Phone Automatic Emulation of Multiple Tags

So I understand that, in Android, a smart phone can be configured in emulation mode to emulate a given NFC tag. What I'm curious about is whether there is a way to identify an NFC reader through some sort of unique id during the NFC handshake. For example, let's say I use a few NFC-compatible tags o...
Liam Conrad
1

votes
2

answer
177

views

Can't create log file from hook program call

My hook post-commit template calls my postcommitlog.exe to create a MyFile_LOG.txt and write to it the 3 arguments. The repository and the transaction is passed from the postcommit template. The problem is that, after committing a file in TurtoiseSVN, there is no log created. It looks like either I...
Conrad C
1

votes
1

answer
48

views

SVNNotifier Source File errors

I would like to add an automatic/constant checkout in SVNNotifier and I downloaded their Open Source Code to change it. It is the first time that I try to modify an open source code. I want to add a checkbox called 'AutoCheckout' in the update section, but I get this error message which I don't unde...
Conrad C
1

votes
1

answer
61

views

Is there a way to use the new plugins without updating to Redmine 2.0?

I want to update plugins on redmine but I keep receiving this error message after updating the file: The server is temporarily unable to service your request due to mainenance downtime or capacity problems. Please try again later. I believe that there is a compatibility problem with the new plugins...
Conrad C
1

votes
2

answer
80

views

Not able to get this link alligned properly

Edit: I'm not an Html pro. I want to add this text : AIM -> Historian AIM -> AIM AIM -> PI Historian -> PI Perfectly aligned like the ones above in the picture. It is one link with all this text. I have tried HistorianAIM -> AIMAIM -> PIHistorian -> PI Custom Windows Application         SOE...
Conrad C
1

votes
1

answer
346

views

Dll does not seem to be read, why?

I am creating a application form to view/change a tag from a software called InTouch. I added the dll as a reference and I would like to use the Read(string tagName) fct in the IOM.InTouchDataAccess. VS does not see the fct Read when I write InTouchWrapper TagType = new read(). It only sees InTouch...
Conrad C
1

votes
1

answer
259

views

Did Mongrel restart? [closed]

This is the log code , but I have no idea if it restarted or not, How Am I supposed to know? What language is this? Log file Wed Oct 10 11:41:38 -0400 2012: REQUEST DATA: '\r\n\r\n' --- PARAMS: {} --- ** INT signal received. ** Starting Mongrel listening at 0.0.0.0:3001 ** Starting Rails with produc...
Conrad C
1

votes
1

answer
77

views

Separating WPF dialogs from data class

I have a small .NET 4 program using WPF, which heavily uses ADO.NET. I am having to refactor the code now to separate the SQL data access/processing from the 'main window' WPF window. Currently, there is a lot of data integrity checking in the DataSet-building code, which (potentially) throws up qu...
Conrad
1

votes
1

answer
2k

views

Ado.Net - Execute Scalar : capture return as integer or string or boolean

Below was recommended to use in case string is returned from scalar Dim lJobName as String = String.Empty Dim oJobName as object = SqlCommand.ExecuteScalar() If oJobName Is Nothing Then 'Do something with the error condition Else lJobName = oJobName.ToString End If How can I make a generic function...
Conrad Jagger
1

votes
2

answer
3.4k

views

Cannot PUT/POST using Rest Sharp using XML

I want to create/modify an issue on redmine using the PUT/POST methods of restSharp. I cannot find valuable information about xml PUT/POST using Rest sharp. I tried various methods from restsharp.org like Addbody('test', 'subject'); , IRestResponse response = client.Execute(request); but there is n...
Conrad C
1

votes
1

answer
710

views

SQL Server 2005: SSIS - Import macro enabled spreadsheet into database

SQL Server 2005 doesn't allow to import macro enabled spreadsheet, when we select excel as provider and give this macro enabled spreadsheet then it gives file type error. Can anyone advise if they have tried to import macro enabled spreadsheet using SSIS in sql server. Regards
Conrad Jagger
1

votes
1

answer
164

views

Modifying DataView thread safety

I am parallelizing some of my code, and in this section, I have DataViews accessing a common DataTable. There are places where I modify the DataViews, but in necessarily discrete records among the threads. Do I still need to institute Semaphores for these modifications (not row addition/deletions, b...
Conrad

View additional