enesimo

u/enesimo


r/learndjango•

I will be building a (hobby) django application that'll crawl a couple of sites and use a few APIs (including reddit) in search for good auto deals.

A user will be able to sign up and enter and create an alert with certain specifics, like brand, year, color, etc...

Once the crawler finds a match, the user is emailed.

That's the basic functionality and although it'll eventually have more options and features, I want to start with that base.

So this is what I have now:

  • user app/model with an abstract model to add more options to the model in the future.
  • finder app, which will take care of the crawling features.
  • alert model: the user created alerts.
    • alert properties: mak
10

r/cosmosnetwork•

I synced the cosmos chain on my local node about 1-2 weeks ago- but now I want to update the client

My current version is:

cosmos-sdk: 0.33.2-2-gf6985c87
build tags: netgo ledger
go version: go1.10.4 linux/amd64

Do I just have to pull the latest version?

Also, same question for gaiad.

11

r/vosfinances•

Ma compagne travail dans le médical publique et on a la chance d'ouvrir un compte d'épargne casden.

Sachant que ça va nous prendre pas mal du temps changer de compte d'épargne et que je pige rien de tout ca, Je voulais savoir si quelqu'un connaissait les avantages comparatifs aux autres épargnes classiques, notamment pour un futur proche d'achat immo.

PD. Le seul post à ce sujet que j'ai trouvé date d'il y a 4 ans...

(excusez moi les fautes, je ne suis pas français)

53



r/learnpython•

Hello!

I am trying to parse some websites for gathering job search results yet the results are super slow because, well because it does all requests synchronously. I can't seem to thread it efficiently. I am only getting about 3 seconds of timeit deltas- which seems very low to me. If I launch this with my complete list or urls, it'll take way too much time.

Link to same code as following: https://dpaste.de/rnUZ

#!/usr/bin/env python3

from bs4 import BeautifulSoup
import requests
import time
import threading
import pdb
import timeit


# list of websites to scrape
urls = [
    'https://google.com',
    'http://yahoo.com',
    ]
15

r/LineageOS•

I'm a noob at this- so I was wondering if I could get some help after intensive googling without avail.

I currently have an S6 G920i and I'm trying to install anything < 7.0 without the bloat. But whenever I install lineageOS (7.0, 7.1, 8.1) everything works fine but I get a SIM card error when booting up and it asks me to restart in a loop.

  • How do I resolve it?
  • Do I install the modem firmware or the g920i (instead of the g920f)? how so and where do I get that, and do I do so after installing the ROM or before?

In case it makes any difference, I'm on dual boot linux / windows so any solution will do.

*also, in case it's relevant, I have the g920i (bought in Chile) but I am in

23

r/opensource•

During these holidays, I spent some time with my father in law. He had never heard of the term "open source" (although already kind of knowing what Linux is). He seemed very interested, and he is a very well read, politically engaged socialist*, yet I had trouble going more into details about how open source changes our current paradigm- both in terms of development and in term of ethos (as in proprietorship, privacy, etc). But I'm sure a book can do a better job at it than me.

So, I've decided to read up more on this subject myself as well as giving him some resources to inform himself.

I'm having some trouble finding stuff. Any recommendations?

* We are not in the US. So this is ref

73