postgresql – Why does PostGIS create an ugly table in my database called "spatial_ref_sys"?

I need to use PostGIS, and I use it, but it bothers me that I created this ugly "spaceial_ref_sys" table in my database, in the main (public) scheme, where I save all my own tables. It looks ugly.

It has also added a billion "functions", which is not a big problem for me, since I don't have any "function" of my own, nor do I use them, but the same principle also supports it.

Why, since it is a kind of "PG library" extension, does it not use at least its own scheme to separate itself from my own things? I guess there is a very good reason, but I can't understand it.

Why is the assembly language called "assembly"?

Why is the assembly language called "assembler"?

I was watching the first video of the "Crockford on JavaScript" series.

In it, Douglas says:

"… the first program that facilitated programming was the assembler,
and using something called assembly language. We do not know why it is
called assembly language. . . ".

Thoughts?

7 – how to be the last hook_page_alter called?

If you implement hook_page_alter in your own module, your hook will be called somewhere among all other modules.

I am trying to undo something that another module is doing in hook_page_alter. Somehow my hook is called before the other.

How can I become the last hook to be called? Or, what is the first hook after hook_page_alter that still uses $ page?

apt – ImportError: no module called error & # 39; _gdbm & # 39; when installing any package through pip / conda

I received the following error when downloading anything with Conda or pip, for example Numpy, Pandas, Pytorch, etc.

Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in 
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in 
    import dbm.gnu as gdbm
  File "/usr/lib/python3.5/dbm/gnu.py", line 6, in 
    raise ImportError(str(msg) + ', please install the python3-gdbm package')
ImportError: No module named '_gdbm', please install the python3-gdbm package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 27, in 
    from CommandNotFound.util import crash_guard
  File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in 
    from CommandNotFound.CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in 
    import gdbm
ImportError: No module named 'gdbm'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in 
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in 
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in 
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in 
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in 
    import apt_pkg
ImportError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in 
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in 
    import dbm.gnu as gdbm
  File "/usr/lib/python3.5/dbm/gnu.py", line 6, in 
    raise ImportError(str(msg) + ', please install the python3-gdbm package')
ImportError: No module named '_gdbm', please install the python3-gdbm package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 27, in 
    from CommandNotFound.util import crash_guard
  File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in 
    from CommandNotFound.CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in 
    import gdbm
ImportError: No module named 'gdbm'

And when I try to install python3-gdbm as suggested in the error, the following error appears:

sudo apt-get install python3.5-gdbm
Reading package lists … Done
Building dependency tree
Reading status information … Done
E: The python3.5-gdbm package cannot be found
E: No package could be found by regex & # 39; python3.5-gdbm & # 39;

Could anyone suggest what I should do to resolve this error?

Brad Pitt the hypocrite. How the hell can he pretend to be worried about a witness whom the House could have called and say nothing about …?

In the first place, what he describes is not an example of hypocrisy. Second, the Bidens literally "did not retain" anything to stop anything. That is a theory of garbage conspiracy that the US intelligence agencies themselves investigated and refuted and even found evidence that Russia began as part of a disinformation campaign. Trump's Attorney General himself, William Barr, who has been Trump's little footman, told him this, that was why Barr gave Trump so that the Justice Department would not open an investigation into the Bidens and why Trump when to Ukraine to try they do and announce it, because he could not get his own lackey head of the Department of Justice to do so, Barr apparently is smarter than Cohen and is not willing to go to prison for Trump, who This is what Barr would be exposed to if he did as Trump asked because opening a criminal investigation with evidence in hand that the accusation is false is a criminal offense that will not only prevent Barr but also throw him into prison.

Actually, now that I think about it, the fact that he didn't mention any of this to spin his false narrative, but accuses and denigrates Brad Pitt of not mentioning something to spin a false narrative, makes him a hypocrite. Now, that is a perfect example of what HYPOCRISY really is.

TO UPDATE:

Ah, doubling your nonsense in the comments, that should make Oscar Meyer. Oh wait, no, that makes you …

https: //answers.yahoo.com/activity/questions? show = …

Only an idiot posts a question like "Anonymous" and then goes and enters comments on the answers, but we already knew you were an idiot, so …

UPDATE 2:

More proof of your idiocy. I did not say that it is criminal to open an investigation into something that has already been investigated, although it is actually illegal to reopen an official investigation that has been closed without sufficient probable cause. But I never said that William Barr or anyone in the United States opened an official investigation. They did not. They did not do so because, as is the procedure, the official investigation carried out found not only insufficient evidence to corroborate the probable cause, but also found evidence that the accusations were false, so moving forward and opening an official investigation would not only be negligence. procedural, but procedural prosecution, a criminal offense, which is why AG William Barr, no other intelligence agency under Trump's rule, would open an official investigation into the Bidens.

But then I said all this. But then you are stupid, so maybe what you need is a second step to explain it. But I doubt it very much. You do not want the truth. You can not handle it. The truth makes you melt like the snowflake in which you find yourself in a salty puddle of your own tears. So you keep relaxing with your lies, just like Trump does.

python – Error – ModuleNotFoundError: No module called & # 39; propfile & # 39;

This is my code:

import sys
import re
import you
import time
import shutil
import socket
Import registration
sys.path.append (os.path.realpath (archive + "/../../tools/python-libs"))
import recorder
import file
import service
import web
import sql

When I run this command from the console:
python blablaa.py

I get this error:
ModuleNotFoundError: no module called & # 39; propfile & # 39;

Has it happened to you? have you fixed it?

wordpress – Personal and CMS-based websites: can they be called "Projects"?

I have several websites:

A – a photo gallery made from scratch by me with HTML, CSS and Bootstrap;

yes – an artistic portfolio made with a CMS (Blogger) platform, I just changed some HTML and added my graphic in the header;

C – a Webcomic based on the WordPress platform and preconstructed template.

However, I bought my own domains for B and C.

In all cases, the content (photos, illustrations and comics) is mine.

Now, I want to include them in a curriculum vitae and let recruiters know that the content is mine and also give them a general idea that I am able to manage CMS platforms and show them that, in some cases, I created the website from scratch completely coding ( A), while my Linkedin profile will specify which one is coded from scratch (A) and which are based on a CMS platform

Given that, I wonder if to call them "Projects" in a resume it is appropriate or not, for the following limitations:

1) Some of them are not coded from scratch, as I said

2) They are personal projects, that is, they are not intended to provide any service.
Also, some of them are not finished (they are in progress)

My question is:

  • Can a personal Website, a CMSbased on a website, or a rudimentary website will be called "Draft"?

  • Would you call them "Projects" in a resume or in Linkedin?

How can I get rid of a strange error category called "smart_label_root_name" in Gmail?

I dragged an email to the games category, but accidentally released the left mouse button. Gmail added that strange category. I tried to delete it, but that in the screenshot happens all the time.

Strange label

sql: the person who called first and the last call went to the same person

I have a phonelog table that contains information about the caller's call history. I would like to know who is calling whose first and last call was to the same person on a given day.

Callerid    Recipientid         Datecalled
1               2         2019-01-01 09:00:00.000
1               3         2019-01-01 17:00:00.000
1               4         2019-01-01 23:00:00.000
2               5         2019-07-05 09:00:00.000
2               3         2019-07-05 17:00:00.000
2               5         2019-07-05 23:00:00.000
2               3         2019-08-01 09:00:00.000
2               3         2019-08-01 17:00:00.000
2               4         2019-08-02 09:00:00.000
2               5         2019-08-02 10:00:00.000
2               4         2019-08-02 11:00:00.000

Expected Output
Callerid   Recipientid     Datecalled
2             5            2019-07-05
2             3            2019-08-01
2             4            2019-08-02

I wrote the query below, but I cannot return the recipient ID. Any help on this will be appreciated!

select pl.callerid,cast(pl.datecalled as date) as datecalled
from phonelog pl inner join (select callerid, cast(datecalled as date) as datecalled, 
                             min(datecalled) as firstcall, max(datecalled) as lastcall
                             from phonelog
                             group by callerid, cast(datecalled as date)) as x
on pl.callerid = x.callerid and cast(pl.datecalled as date) = x.datecalled
and (pl.datecalled = x.firstcall or pl.datecalled = x.lastcall)
group by pl.callerid, cast(pl.datecalled as date) 
having count(distinct recipientid) = 1

c # – Xamarin PostAsync for API is called several times and I just want to call it once

In my xamarin application I have Properties and Expenses, both in the creation make a PostAsync to an API. Although PostAsync Properties is called only once, PostAsync Expenses is called several times and I only want it to be called once.

Here is the PostAsync method for Expenses:

public async Task AddItemAsync(Expense item)
    {           
        StringContent content = new StringContent(JsonConvert.SerializeObject(item), Encoding.UTF8, "application/json");

        HttpResponseMessage response = await client.PostAsync("https://10.0.2.2:5001/api/expenses", content).ConfigureAwait(false);

        string responseContent = response.Content.ReadAsStringAsync().Result;

        item = JsonConvert.DeserializeObject(responseContent);

        items.Add(item);

        return item;
    }

The PostAsync properties are exactly the same, only the type of
argument given to property instead of expense

They are also separated because in the future I can make some differences for them.