Top "Base" questions

A number whose powers are used to represent other numbers (e.g. base 10 = decimal representation)

How to convert a decimal base (10) to a negabinary base (-2)?

I want to write a program to convert from decimal to negabinary. I cannot figure out how to convert from …

algorithm base base-conversion
Why explicit conversion required to assign base class to derived class? But not required to do the reverse

I have a base class and a derived class as bellow public class animal { public string name { get; set; } } public …

c# types variable-assignment base derived
C# Hiding, overriding and calling function from base class

I'm learning C# and I encountered the following problem. I have two classes: base and derived: class MyBase { public void …

c# inheritance overriding base member-hiding
Make sure base method gets called in C#

Can I somehow force a derived class to always call the overridden methods base? public class BaseClass { public virtual void …

c# inheritance overriding base
invalid literal for int() with base 10 - django - updated

I am a django beginner, and I am trying to make a child-parent like combo box, (bars depends on city …

django models base migrate
Calling base constructor in perl

What is the correct way to call the base constructor from the class constructor in Perl ? I have seen syntax …

perl oop constructor base
What's your best trick to break out of an unbalanced quote condition in BASE SAS?

As a base SAS programmer, you know the drill: You submit your SAS code, which contains an unbalanced quote, so …

sas base quotes
How do I pass variables to all templates in django?

I am trying to pass variables (browser variable) to all my templates in my app. Any advice on how to …

python django templates view base
AngularJS + Base Href Case Sensitive?

I'm struggling to understand why my base href seems to be case sensitive. I have a page with a base …

routing angularjs href base
Fastest way to find the largest power of 10 smaller than x

Is there any fast way to find the largest power of 10 smaller than a given number? I'm using this algorithm, …

algorithm language-agnostic base digits