HNHacker News
TopNewBestAskShowJobs

babayega2

489 karma · joined January 11, 2016

Python developer in sub-Saharan Africa.
submissionscomments
babayega2··on My Python Development Environment, 2020 Edition
I have been doing this starting Ubuntu 14.04. it's been stable even when I upgraded now to 18.04 which has python 3 as default. The only downside compared with tool such as pipenv is the automatic update of packages that pipenv can offer and it's ability to be integrated into CI/CD pipelines.
babayega2··on PostgREST
Any equivalent in MySQL? I have a legacy project in MySQL 5.1 I need to keep up. I have been using Peewee to generate the structure of the DB but would like to do some direct API call like Postgrest
babayega2··on NordVPN confirms it was hacked
Absolutely. Look for project Streisand.
babayega2··on Saudi Aramco Is the WeWork of Energy with Pulled IPO
Indeed. That idea that they can manipulate the market easily is based on some data they have only access. I forgot a paper I saw one month ago speculating on the true capacity of SA production... The 11 billion baril per day is not a truly verified number. Beside, Aramco "is thought" to be financing all the rich life of the more than 4k princes in SA. So imagine the finances and budgeting of Aramco. It's though to be a hellish of...
babayega2··on Where you are born is more predictive of your future than any other factor
The article speaks about Chad. A country where the birth rate is around 6 children / woman. I am a developer who comes from a similar country (5.7 c / w) or we are the second poorest country. One thing we have in common with the people who grew up in gethos/projets is violence. It pushes us to stop thinking about what we need beyond surviving... We are wasting time fighting against diseases, addictions, wars (gethos gangs are small compared to the war in Chad, Yemen, Middle East!) or peoples who bicker for $ 10 ... because 10 dollars in our countries is about life or death!

Nobody would ever thought that I will be one day (I who was a refugee for 4 years) an experienced developer working internationally... And the funny thing about all this is that it's UNICEF who gave me this chance [0].

[0]: https://blogs.unicef.org/innovation/open-source-tech-in-the-...

babayega2··on Women make up 54% of new students entering Iranian universities
I wish it was the same in my African country. Among the things that can make our population slow down a little (5.70 births per woman in 2016), higher education for women is the efficient one. In high school, girls where the majority but in after that ... they are in a drastic minority.
babayega2··on ORMs Are Backwards
Indeed. I recently worked on a legacy project where I don't have the luxury to modify the old database. I ended up using Peewee [0] to access the old database, in conjunction with the normal Django based database and even wrote a simple model that use Peewee [1]. Everything works, even Django Rest Framework associated with the model.

[0]: http://docs.peewee-orm.com/en/latest/ [1]: https://stackoverflow.com/questions/57602206/mysql-gone-away...

babayega2··on ORMs Are Backwards
Years ago I had the same discussion [0] on Medium and here is my take on that: You will end up reinventing "an ORM" because your SQL won't handle all the edges cases. At least with eg. Django ORM we know it helps avoid some security flaws.

[0]: https://medium.com/@iMitwe/been-working-with-django-for-over...

babayega2··on Nigerian Teens Are Making Sci-Fi Shorts with Slick Visual Effects
They use Techno Phones [0]. It's really the leading telephone in my country back in Africa to the point my wife refused me to buy her a Samsung one. :D

You find those phone have really nice camera, and most importantly power consumption that can span at least 2 days...

Peoples complaining that China is just copycat-ing stuff do not know how China is influencing peoples in developing countries.

[0]: https://techcrunch.com/2019/08/07/africas-top-mobile-phone-s...

babayega2··on U.S. Farmers Stung by Tariffs Now Face a $3.5B Corn Loss
Not necessarily starving children... but I have seen in the 1990's the USA distributing corn oil, and other surplus of the farming industry through the UN/USAID in Africa. A way of buying influence...

(P.S. I work for one UN food organization especially funded for that purpose :D)

babayega2··on Show HN: Stein – Use Google Sheets as a No-Setup Database
I see you're enjoying Tom Clancy like I did back then in 2005. Good read bro.
babayega2··on English speakers should learn math instead of a second language
From my experience (and I emphasize on that) I can tell you from us (I'm from East Africa, speaking English, Swahili, French and two other natives languages) being proficient in at least English/French is an existential question. I really understand why a US citizen may think twice before starting learning a new language. For us, if you want a "normal" life, you do have to learn other 2 languages. We do not have that luxury.
babayega2··on China Prepares to Drop Microsoft Windows, Blames U.S. Hacking Threat
Irony.
babayega2··on Ask HN: How would you build a Excel file uploader with inline preview?
Openrefine is for data wrangling. I want js library like filepond [1].

[1]: https://pqina.nl/filepond/

babayega2··on Uppy 1.0: Your best friend in file uploading
Great job guys. I want to ask: does it handle Excel upload and basic editing of the Excel file ? The examples on display only show images upload. Do you guys know such library? Like, the one used by Dataiku for Excel upload.
babayega2··on Uganda’s Tarantino and his $200 action movies (2015)
It's really funny. Even in my country where there aren't enough literate peoples, you find a hobo telling you what happened in movies such as Matrix, Avengers, Inception from what he heard the translator (VJs, video Jokers) saying.

But you know where all of this started ? In 90's with movies of Jackie Chan and Jet Li. We grew up not understanding what those "Chinese" were talking about but we (still) enjoyed it. We didn't know why they would start fighting ( unless it's about saving a girl, revenging a murdered parent...) but we enjoyed. At that time some cool guys started translating those movies to us with their "knowledge" of Chinese ... Lol.

babayega2··on GNU Octave 5.1.0
Specifically, the one "equivalent" to Mathematica is Maxima [0], I remember using it for symbolic computation on my linux machine. Especialy coupled with Wx GUI [1].

[0]: http://maxima.sourceforge.net/ [1]: https://wxmaxima-developers.github.io/wxmaxima/

babayega2··on Best Django Blogs and Talks
Simple is better than complex explains a lot of Django stuff even for beginners https://simpleisbetterthancomplex.com/
babayega2··on France Enters the Matrix
My first use case of FOSS was with Framasoft. Back in 2009. I had my first USB key, and downloaded all the needed softwares on my key[0] , notably SumatraPdf, OpenOfice and Mozzilla.

[0] https://framakey.org/

babayega2··on Open-Sourcing ClusterFuzz
Last time I tested https://github.com/s0md3v/XSStrike whith some quite interesting results. It's important to note that it's not a fizzbuzz tool, but just a pentest one.
babayega2··on In France, Comic Books Are Serious Business
French, and Belgian. I have a big collection of French comics I enjoyed in my childhood and other new ones.
babayega2··on Apple's China Warning “Deflects Deeper Problems” for Firm
I would really like all those post on the subject to focuss on what features the Chinese ( or third world guys like me like) like.

Relatives who have baugth Huawei or Xiaomi phones have shown me that they have more interesting features than my Moto G phone or even the iPhone X of my cousin.

For example the jack port, and the fact that the Huawei phone takes better night pictures. And more importantly the Chinese brands last longer in term of power management. I have seen it with my eyes. A single charger of Huawei/Techno/Xiaomi/Samsung can work perfectly on each one of them. Fact is, it's customary in my country to by a genuine Samsung chargerso you can charge all those phones. You can't do that with the iPhone.

And the same way Chinese don't have insensitive to use Apple ecosystem since they have WeChat, we in Africa do not have any compelling reason to switch to Apple because we have more versatile mobile money. Plus the two sim card option! A must have. And since some contents are blocked in some countries, the ability to install VPN and "unregistered" apps is a must. You can't do that with the iPhone...!

So at the end, I don't see how peoples blame the economic war on the decline of Apple, but I think it's a natural evolution for Apple because now competition are coming to us showing what we can have that iPhone doesn't offer.

I've previously had the best iPhone ever: 5S.

[Edited for typo]

babayega2··on Arabic, a great language, has a low profile
"In english for example you have : Book, Author, Library In Arabic (kitaab, kaatib, maktaba) which is the same root (k,t,b)"

I see might not be difficult for me to learn it since I know Swahili (the most commonly spoken language in East Africa, which has Arab influence) since those words are pronounced respectively: Kitabu(book), Katibu(secretary), Maktaba(library).

Arab is not really complicated. Trust me, I'm accustomed to more troublesome dialects in Africa.

babayega2··on Europe Finally Has an Excuse to Challenge the Dollar
A very insightful videos is [0] by Peter Zeihan, presents he read on the US's role in near future of global geopolitics: the shale revolution

[0]: https://www.youtube.com/watch?v=feU7HT0x_qU

babayega2··on Ask HN: Best alternative to Gmail?
Well. Since all their servers are US based, talking about privacy like talking about Gmail : none knows what's going behind ...!
babayega2··on Dynamic Django Models with Model Models
> You may even be able to have referential consistency using a ForeignKey field

Since you say "you may" ... , do you happen to see any problem that may arise with this implementation ?

babayega2··on Sending and Receiving SMS on Linux (2015)
The same project using an SMS modem , kannel and Django https://hackernoon.com/build-an-sms-center-with-python-kanne...

Edit: and a repository of modems that can send SMS on Linux is here :P https://wammu.eu/phones/

babayega2··on My favorite apps on F-Droid
NewPipe is the best. By the way, is there any app that can mask the IP of my hotspot either through a VPN?
babayega2··on China Slaps Tariffs on U.S. Products
I think China is aware of that. Let's be spectators of this battle.
babayega2··on Ask HN: As a data scientist, what should be in my toolkit in 2018?
OpenRefine has helped me a lot in data cleaning tasks.
← PreviousPage 3 of 6Next →