Questions tagged [alternate]

177 questions
67
votes
1 answer

What is the alternate of HttpRequest.EnableRewind() in ASP.NET Core 3.0?

BufferingHelper.EnableRewind(); Above is an extension method for HttpRequest object in ASP.NET Core 2.2. It is no more there in ASP.NET Core 3.0 (atleast with this name). I want to know it's alternate in ASP.NET Core 3.0. I am not sure…
22
votes
3 answers

Alternative to HIGHLY FLAWED SPINNER CLASS in Android

in my current project i have dealt with spinner class which has been customized from almost every aspect possible. Thus i have gained some detailed aspects as i deal with it . So i will start with the part it shows why it is flawed. 1_There is no…
Mert Serimer
  • 1,115
  • 1
  • 13
  • 34
17
votes
2 answers

Alternating row color for JasperReports

I want to get color to alternate for the rows in a JasperReports subreport. I have all rows with the same background color but I want it to alternate. Can this be done?
user726478
16
votes
1 answer

How to display only files that have alternate data streams in Command Prompt

I know that to display alternate data streams of all the files (if any) in command prompt, this is the command dir /R. But, how do I do it if I only want to display files that have alternate data streams?
csharpnewbie
  • 401
  • 1
  • 7
  • 18
10
votes
4 answers

Python: Alternating functions every x minutes

Say if I have four functions as below: def foo(): subprocess.Popen('start /B someprogramA.exe', shell=True) def bar(): subprocess.Popen('start /B someprogramB.exe', shell=True) def foo_kill(): subprocess.Popen('taskkill /IM…
siva
  • 1,813
  • 4
  • 19
  • 33
10
votes
5 answers

Strange PHP syntax

I've been working on PHP for some time but today when I saw this it came as new to me: if(preg_match('/foo.*bar/','foo is a bar')): echo 'success '; echo 'foo comes before bar'; endif; To my surprise it also runs without error. Can…
Joseph
  • 241
  • 2
  • 9
8
votes
2 answers

break / stop execution in UML sequence diagram mid-way inside alt / opt

In a UML Sequence Diagram - If a flow should stop if a condition is met midway, how would it be best represented with alternate / optional fragments? i.e. - If the stop condition is not met then the flow is continued for several more steps.…
Ron Kuper
  • 83
  • 1
  • 1
  • 3
6
votes
3 answers

Column Alias in a WHERE Clause

Problem I am using alternate column name (alias) in a Query, I can use the alias "given_name" as part of the ORDER BY but am unable to use it as part of the WHERE clause. The WHERE "given_name" is passed in as the result of a request out of my…
Levi Putna
  • 2,601
  • 5
  • 25
  • 43
6
votes
1 answer

Alternatives to StarCluster?

StarCluster is a well known toolkit for Amazon EC2. However, it was developed based on Python 2, which is going out if date. And it is not compatible with Python 3.x. So I'd like to know is there any alternative to StarCluster? I have searched in…
6
votes
2 answers

How to use "JSR-353: Java API for JSON Processing," without Method Chaining

I wanted to share my question/answer with using the new JSR-353 which is the Java API for JSON Processing. Specifically you can manipulate JSON data in 2 different "API" the Streaming and the Object API. If you type in "jsr-353 tutorial" into…
XaolingBao
  • 984
  • 14
  • 33
6
votes
0 answers

Google multilingual sitemap issue

I have a sitemap issue. I am working on a multilingual website and I'm trying to use the Google method to indicate alternate language pages, as it is described here : https://support.google.com/webmasters/answer/2620865?hl=en. You can see my sitemap…
Okipa
  • 482
  • 4
  • 16
6
votes
6 answers

What's the alternate character combination for the double quote character in C/C++?

I've not had the Kernighan and Ritchie C reference in years, but I remember that there was a page in there that talked about how to enter characters that were unavailable to you. (WAY back in the day, some keyboards lacked characters like ", ~,…
Sniggerfardimungus
  • 10,708
  • 10
  • 46
  • 91
5
votes
1 answer

Making a Ruby project that is not a gem (or some other kind)

I'm working on a project currently that I don't want to be a gem (or some other kind of project). How would I go about setting it up so that I can still have the same compatibility requirement abilities as a gem (e.g. Gemfile dependencies) but…
T145
  • 1,118
  • 1
  • 9
  • 28
4
votes
4 answers

AHK Alternative key on long press

I have a keyboard with these arrow (less/greater than) characters as alternate keys on Y and X. Let's focus on the key X for this example. By default the alternate character > is triggered with AltGr + X of course. But I would like to trigger it by…
DanielM
  • 189
  • 8
4
votes
2 answers

Why would I want a USB alternate interface with no endpoints?

The example code that Atmel gives for USB devices has an interface with two alternate settings. The first one has no endpoints, the second has 6 endpoints. Is there any reason for this - why not just have one alternate setting with all the…
Timmmm
  • 68,359
  • 51
  • 283
  • 367
1
2 3
11 12