Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
page 35 / 155
Creating user, database and adding access on PostgreSQL https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e
Mon Feb 25 11:43:46 2019 archive.org
QRCode
thumbnail

sudo -u postgres psql
postgres=# create database mydb;
postgres=# create user myuser with encrypted password 'mypass';
postgres=# grant all privileges on database mydb to myuser;

postgre
Pour Linus Torvalds, ARM ne gagnera pas la concurrence sur le marché des serveurs à cause du niveau de fragmentation élevé et d'autres raisons https://www.developpez.com/actu/248270/Pour-Linus-Torvalds-ARM-ne-gagnera-pas-la-concurrence-sur-le-marche-des-serveurs-a-cause-du-niveau-de-fragmentation-eleve-et-d-autres-raisons/
Sun Feb 24 17:07:54 2019 archive.org
QRCode
thumbnail

Il l’avait déjà dit une fois en octobre 2016, lors de la conférence Linaro Connect, qu’il préférait l’architecture x86 à l'architecture ARM. Il y a un peu plus de deux ans, Torvalds disait que l’ouverture et l’étendue de l’écosystème matériel (PC) formé autour de x86 sont inégalées, alors que l’écosystème ARM reste fragmenté. « Le jeu d’instructions et le noyau du CPU ne sont pas très importants », a déclaré Torvalds. « C’est un facteur sur lequel les gens ont tendance à se fixer, mais […] ce qu...

Pleroma's First Release! 0.9.9 | Lainblog https://blog.soykaf.com/post/pleroma-release-0.9.9/
Sat Feb 23 17:36:37 2019 archive.org
QRCode
thumbnail

We are doing a release! Finally! Stable, too!

plemora fediverse mastodont
6 formations en ligne pour apprendre Python - Le Monde Informatique https://www.lemondeinformatique.fr/actualites/lire-6-formations-en-ligne-pour-apprendre-python-74349.html
Sat Feb 23 16:20:19 2019 archive.org
QRCode
thumbnail

De plus en plus apprécié par les développeurs, Python est souvent considéré comme un langage simple et aux mises en application multiples. Zoom sur...

BATTLETECH is having a free weekend on Steam, plus a look at other good Linux game deals | GamingOnLinux https://www.gamingonlinux.com/articles/battletech-is-having-a-free-weekend-on-steam-plus-a-look-at-other-good-linux-game-deals.13623
Sat Feb 23 16:18:58 2019 archive.org
QRCode
thumbnail

The weekend is about to crash into our lives once again, you're sat staring at your screen wondering what to play and we're here to help.

linux game
OmniDB - Open Source Web Tool For Database Management https://www.omnidb.org/en/
Fri Feb 22 23:44:49 2019 archive.org
QRCode

Support Status

PostgreSQL 11
PostgreSQL 10
PostgreSQL 9.6
PostgreSQL 9.5
PostgreSQL 9.4
PostgreSQL 9.3

Oracle
MySQL
MariaDB

Firebird
SQLite
SQL Server
IBM DB2
database management tool open source
BookStack https://www.bookstackapp.com/
Fri Feb 22 23:30:59 2019 archive.org
QRCode
thumbnail

#Simple & Free Wiki Software

BookStack is a simple, self-hosted, easy-to-use platform for organising and storing information.

Wiki Software storing information
Python: Call Functions by String | Open Source Kitty https://arithxu.com/2017/10/14/Python-Call-Functions-by-String/
Fri Feb 22 17:20:30 2019 archive.org
QRCode
thumbnail

Approach 3: Synbol Tables

Built-in function locals() and globals() return a dictionary of current local and global symbol table respectively. So you could call a function just like:

def my_func(arg1, arg2):
print(arg1, arg2)
return arg1 + arg2

r = locals()['my_func'](http://1, 2)
print(r)

The output is:

1 2
3

This approach is just like the examples provided in the very beginning of this post, in which, I maintained a symbol table by myself and called the function by its string-typed name.

python dynamic call function
L'histoire secrète des femmes dans le codage informatique – The New York Times | histoire lyonel kaufmann.ch https://lyonelkaufmann.ch/histoire/2019/02/20/lhistoire-secrete-des-femmes-dans-le-codage-informatique-the-new-york-times/
Fri Feb 22 16:39:17 2019 archive.org
QRCode
thumbnail

Qui sait que dès années 1940 aux années 1980, la place des femmes dans la programmation des ordinateurs était bien meilleure qu’aujourd’hui ? Qu’est ce qui s’est mal passé ? Le New York Times Magaz…

femme informatique
La bataille entre vrai open source et faux open source s'intensifie - ZDNet https://www.zdnet.fr/actualites/la-bataille-entre-vrai-open-source-et-faux-open-source-s-intensifie-39881007.htm
Fri Feb 22 15:54:05 2019 archive.org
QRCode
thumbnail

L'open source tel que nous l'avons connu est-il désormais obsolète ? Faut-il le remplacer ? Certaines entreprises affirment que oui, alors que d'autres dénoncent un non-sens !

redis opensource
Practical Go: Real world advice for writing maintainable Go programs https://dave.cheney.net/practical-go/presentations/qcon-china.html
Fri Feb 22 05:44:21 2019 archive.org
QRCode
thumbnail
go
readability-lxml · PyPI https://pypi.org/project/readability-lxml/
Fri Feb 22 01:48:31 2019 archive.org
QRCode
thumbnail

readability en python... humm ça me fait envie...

python readability
Quelle est la différence entre Flexbox et Grid ? - Zen Devs https://www.zendevs.xyz/quelle-est-la-difference-entre-flexbox-et-grid/
Thu Feb 21 18:02:16 2019 archive.org
QRCode
thumbnail

Essayons de répondre à cette question avec des points rapides plutôt que de longues explications. Il y a beaucoup de similitudes entre flexbox et grid, à

css flexbox grid
Sécurité sur le Cloud (2) : solutions et cas concrets D2SI Blog https://blog.d2si.io/2019/02/19/solutions-securite-cloud/
Wed Feb 20 16:37:40 2019 archive.org
QRCode
thumbnail

Filtrage réseau, gestion des comptes et des accès, chiffrement et clé, conformité... retour d'expérience sur la sécurité dans le Cloud à travers des cas concrets.

Skeleton: A minimal example generating HTML with Python Jinja https://code-maven.com/minimal-example-generating-html-with-python-jinja
Wed Feb 20 00:19:23 2019 archive.org
QRCode
thumbnail
python template jinja
Working With JSON Data in Python – Real Python https://realpython.com/python-json/
Tue Feb 19 19:02:49 2019 archive.org
QRCode
thumbnail
python serialize json
Researchers Find Further Evidence That Schizophrenia is Connected to Our Guts - D-brief http://blogs.discovermagazine.com/d-brief/2019/02/07/gut-bugs-may-shape-schizophrenia/#.XGtu1KSIaaO
Tue Feb 19 14:33:02 2019 archive.org
QRCode

Giving healthy mice gut bacteria from schizophrenic patients caused them to display symptoms of the disease.

estomac schyzophrenie
Bulk inserting on table with foreign key field - Stack Overflow https://stackoverflow.com/questions/48599465/bulk-inserting-on-table-with-foreign-key-field
Tue Feb 19 05:01:26 2019 archive.org
QRCode
thumbnail

Well, if you don't know ahead of time which servers are present in the DB it seems like your problem is the data-structure you're using. Keeping server_name -> member_names in a dict like that and trying to insert it all in one go is not how relational databases work.

Try this:

server_to_id = {}
for server_name in data:
if server_name not in server_to_id:
server = Server.create(name=server_name)
server_to_id[server_name] = server.id

for server_name, member_names in data.items():
server_id = server_to_id[server_name]
member_data = [{'name': name, 'server': server_id} for name in member_names]
Member.insert_many(member_data).execute()

Note: don't forget to call .execute() when using insert() or insert_many().

peewee python bulk insert foreign keys
Veille technologique : Rester à jour sans devenir taré(e) - Je suis un dev https://www.jesuisundev.com/veille-technologique-rester-a-jour-sans-devenir-tare/
Mon Feb 18 18:54:45 2019 archive.org
QRCode
thumbnail

La veille technologique c'est une question de vie ou de mort. Tu le sais que si tu restes pas à jour t'es foutu ? En tous cas y'a plein de gens pénibles comme moi qui te le répètent en permanence.

veille technologique blog
Caches: LRU v. random http://danluu.com/2choices-eviction/
Mon Feb 18 17:11:29 2019 archive.org
QRCode
thumbnail

Très intéressant... Je m'en servirais en archi microservice. On a tjrs besoin de cache...

2 random lru > lru simple.

page 35 / 155
4933 links, including 1839 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn