Discover and read the best of Twitter Threads about #programming

Most recents (7)

When you have two systems that need to communicate, the default for 90+% of companies is to use a shared database. (thread) #dev #programming #architecture #softwarearchitecture
Most never move off of this model, but it has disadvantages that go along with the ease of sharing data. Applications lack encapsulation and cannot adapt their data designs to suit their unique requirements.
Usually the next approach is to treat applications just like components, with exposed public APIs. However, this can result in increased down time since direct API communication between applications means if any is down, the whole thing is down.
Read 7 tweets
As I've noticed that "threads" on Twitter are the "thing" right now, I've decided to start my own 😆

So, this one will be about learning.

Many of us have trouble finding time to learn new #hacking or/and #bugbounty stuff.
Here's how I deal with this problem on daily basis:

1/8
I have a lot of books about #itsecurity and #programming on my shelf. Like 60? 70? :D

I love books. I love to learn from them, put them in front of me, play with examples on my computer as I go through the book page by page.

2/8
So, I've split my learning process into three "tracks": Commute track, Workday track and Home track. In every track, I cover different domain, but together they complement each other. Makes me better as programmer as well as a #bugbounty hunter.

3/8
Read 8 tweets
Сегодня пятница, а значит самое врёмя, чтобы запустить 1 фав=1 факт о моём компьютерном детстве середины 90х, о первых программах, победах и поражениях. Ретроностальгии вам нанесу. Буду стараться, поэтому не жалейте ретвитов.
1. Начать нужно с начала. Жил я себе без компьютеров и жизнь была кайфовая - жуков ловить, на велике гонять. Пока в году так ~95м не пришёл к своему однокласснику домой и не увидев впервые компьютер. ГОСПОДИ! До этого я же как-то жил без компьютеров, а теперь без них ЖИТЬ НЕ МОГ.
2. Справедливо упомянуть, что со школы я не помню ни одного стихотворения. Зато технические детали, спецификацию и характеристики моего первого компьютера я, наверное, запомню на всю жизнь. И на смертном одре правнукам ради хохмы зачитаю, а они такие ВО ДЕДА ГОНИТ ВАЩЕ ПОЕХАЛ.
Read 100 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

My app is Online!
It took me ~4 weeks, maybe 35 hours/week, to make. However! I spent 2 weeks just watching courses, so 2 weeks of solid work, I think is fair to say.

It's made with #angular, #ngrx, #express, #mongodb, #mongoose, & #love.
Here's the story. (cont'd) #programming
The goal was to make a recipe/grocery list app. We have a weekly menu, and I'd want to select recipes and just get a grocery list automatically.
Sketching things initially helped a lot. Layout was never a problem, because I love #materialdesign and I'm stuck in the 90's...
#ngrx was definitely the trickiest part. @DeborahKurata & @dunchunter's course on #pluralsight is amazing, and everyone should watch it (if they need to work with ngrx, obvs).

Did I need ngrx? No. This could have been solved with services. But, I wanted to learn.
Read 20 tweets
[Thread #RStats #Programming ]
Some important points taken from "Object-Oriented Programming, Functional Programming and R", by John M. Chambers
arxiv.org/pdf/1409.3531.…
An article about what is Functional Programming (FP), and how does it differ from Object Oriented Programming (OOP) ?
Note that both these paradigms are used in R, and interact with each others.
Here’s the definition of what FP is :
- Programming == creating function
- Functions returns values computed from arguments (and only these)
- A function has no side effect
Read 20 tweets
(1/5) I grew up in the Programming Languages research community and have recently begun attending Machine Learning conferences. One perspective that I don't see much in either community is that #MachineLearning is a form of #programming.
(2/5) PL/formal methods researchers tend to think of programs as engineered objects, and study abstractions/tools for principled engineering. But the big assumption here is that you can formalize your goals and the world in which your programs run. That's not always realistic.
(3/5) In contrast, #MachineLearning lets programs be "found" objects. "I don't have a full spec for my program and can't write the code myself, but here's some data on what it does. Discover it!" This is still #programming, albeit done inductively rather than deductively.
Read 5 tweets
High level #python #tutorial thread:
Python is a high level language that runs bytecode in its virtual machine.
Everything is an object.
It supports OOP up to multiple inheritance and functional programming.
Typing is polymorphic - duck typing is preferred
A Python script is a file with a name like name.py - we indent at four spaces (it matters), comments (after #) don't execute - and is typically written like:

def main(): # function
print("Hello world")

if __name__ == '__main__': # then entry point
main()
A module is a reusable script:

"""this is a docstring at the top of the module - gives help on the module"""

import this # do imports at the top

def main(): # main at top or bottom
"""functions get docstrings too"""

if __name__... always at the bottom, assumed from now on
Read 68 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!