Question: Can we sue the major liberal cities of the USA over global warming?

Question: Can we sue the major liberal cities of the USA over global warming?

Question: Can we sue the major liberal cities of the USA over global warming?

They take down the trees, pollute and then dump their trash in the waterways or bury it on the lands occupied by good Republicans.
You don’t see smog in carbon neutral rural areas yet the city slicker liberals want us to pay for and live with the cost of cleaning up their mess.

All topic

Bombardier Global 6000

Bombardier Global 6000

Bombardier Global 6000

All topic

Onde definir um ion-tabs global?

Considerando que terei 3 itens inferior de menu (tabs), é correto ao invés de criar arquivos na estrutura /src/pages/tabs/* para conter os itens, fazer diretamente no src/app/app.html?

Exemplo (app.html):


All topic

Stop Object.keys iterating custom global methods?

I have added a method to the typescript array type that I use often in the code. ie

declare global {
    interface Array {
        extend(other_array : T[]) : void;
    } }

Array.prototype.extend = function (other_array : Array) {
    other_array.forEach(function(v) {this.push(v)}, this);    

However, elsewhere in the code I have a array of 6 elements I wish to loop through but the extend method is returned with the elements.


for(let i in Object.keys(days)) {
      let d = days[i];


I have also tried getOwnPropertyNames with the same issue.

How can I loop just the six elements in typescript ?

All topic

How to use global variables in Vue.js templates?

I’m trying to use language component, described here

But I don’t know, how to use it without mistakes.
I added components

var i18n = require('vue-i18n');

// set plugin
Vue.use(i18n, {
  baseUrl: 'resources/i18n'

in main.js file and then tried to use variables, like $i18n.message.hello
in my template (vue files, which was used as components in router).

My components’ syntax is like

export default {
  data () {
    return {

And when I run code, I don’t see what I need and in console there are error messages, like

Property or method “$i18n” is not defined on the instance but referenced during render

So how I need to set this variable, so I can use it.
Same proplem appears with “store” variable

All topic

Get value of global token register from local group

Given the following sample code:



theglobalfoo  % <-- fails

This fails with

! You can't use `global' after the.

My question simply is, is it possible to get the global value of foo from within a local group? As I guess it's not, what are the suggested alternatives (especially with regard to speed and cleaning up scratch memory after parsing is done)?

Some background information: What I'm trying to do is to write a more complex parser in LaTeX where I use a global token register to store the rest of the input string. For building the final result, I need to maintain a list of sub-expressions for which I wrap my whole parser into a local group to have a list of scratch token registers. The number of used registers grows and shrinks while parsing.

With big inputs it may now happen that the number of used local registers clashes with the number of the global token register used for the input. So the idea was to somehow make sure that whenever I need to access the input string, only the global register is read/written.

All topic

Can’t import global package (opencv) when pipenv shell activated

I’ve installed opencv via brew with the following:

brew install opencv3 --with-contrib --with-python3

and changed bindings:

 echo /usr/local/opt/opencv/lib/python3.7/site-packages >> /usr/local/lib/python3.7/site-packages/opencv.pth

In normal python shell I can import cv2 just fine, but when I’m in a new pipenv shell I can’t seem to import cv2 anymore. Why?

All topic

Global sections of a line bundle with negative self intersection

Let $X$ be a smooth projective surface over complex numbers. Consider a line bundle $L$ on $X$ such that it’s self intersection $Lcdot L$ is negative. I read that it means that $L$ is rigid and cannot be moved. Does the negative intersection number mean $H^0(L)=0$?

All topic

Use 2d array passed from python as internal global array in C function

I am working on a module that uses a function call to retrieve values from a table. In C the table is a global 2d array and I access it as a regular 2d array. I want to pass this array from python by using extensions, but I am not exactly able to figure out how the array can be accessed internally. The look up function is not wrapped but is called by another function called compute_value. I have wrapped this function and can pass the array to it, but how can I replace the internal global 2d array with the argument received from the python module, since the look_up code actually points to myarr? I have this code that exactly shows what I am trying to do:

#include "stdlib.h"
#include "stdio.h"
#include "stdint.h"
#include "stdbool.h"
#include "string.h"

#define ROW 3
#define COL 2

int look_up(void);
void compute_value(void);

int r = 0, c = 0;
int myarr[ROW][COL] = {

void compute_value(void)
    int result = look_up();
    printf("result: %dn", result);

int look_up(void)
    int sample =  myarr[r][c];

    if (c > COL - 1) {
        c = 0;
    return sample;

static PyObject* run(PyObject* self, PyObject* args) 

    for(int i = 0; i < ROW * COL; i++){

    return Py_None;

static PyMethodDef my_methods[] = {
    { "run", run, METH_NOARGS, "Call fn" },
    { NULL, NULL, 0, NULL }

static struct PyModuleDef mytest = {
    "Main Module",

PyMODINIT_FUNC PyInit_mytest(void)
    return PyModule_Create(&mytest);

int main()
    return 0;

My is:

from distutils.core import setup, Extension
setup(name = 'mytest', version = '1.0',  
   ext_modules = [Extension('mytest', ['test.c'])])

All topic

Object rending Blank on DOM and error when assigned to a global variable

I have the object i am iterating through but getting error when i assign it to the global health variable.

This is my global variable

    public health: any;

    constructor(private forumservice: ForumService) {}

      ngOnInit() {
          healths => {
            Object.keys(healths).forEach(function (key) {
              var topics = healths[key];

I am getting all the data i want till this point but when i pass the result to the global variable it giving error.

     = topics.Topics;

Then i try to declare another variable here like const health but it wont render on the DOM just showing blank

          errmess => (this.errMess = errmess)

All topic