Discover and read the best of Twitter Threads about #programming

Most recents (16)

I didn't know that the distribution of heads is approximately a normal one. Didn't even think it that way previously.

Found it while playing with random walk approximated with coin toss, by with transition probability of 1/2. Interesting...

#Mathematics #Statistics #Probability
On a side note, the original random walk problem was:
- n nodes arranged linearly
- start with the mid node
- try to go to the extreme node (1 or n)
- transition probability of 1/2 ( being on ith node, there's equal probability of going to i-1 or i+1)

#Mathematics
The result is interesting:
If given a long-run, the total number of steps reaching to the extreme node (1 or n) is approximately equal to n^2 (n-squared).

This can, in fact, be derived from the distribution of the very coin toss I mentioned.

#Mathematics #Programming
Read 5 tweets
Pic of me 1975; pic of Greta Thunberg 2019.
Luciferian/satanic/MKultra Programming Evidence spanning 44 years, worldwide.
No, I am NOT signalling the no.44; it is simply the math at present. Consider SRA programming for me began at age 2yrs. (Illum. Family Lines age 2-3yrs)...
I'd like to point out both the subtle and overt body language. Long hair parted in the middle is demanded of teen girls if "Lilith" goddess is to be honored. Check.
Head tilt slightly downward, tight, half smile. Check. Obedience to Master.
Locked arm position. "In the presence..
of my Master". THEY demand RESPECT and OBEDIENCE. You do or you die.
This body language is taught through trauma-based operant conditioning.
Luciferian Language is based on body language, signs, symbols, colors, numbers, Gematria, etc...
Their children MUST learn this language.
Read 11 tweets
#SOULWAR EPISODE 3 = SPIRITUAL INERTIA
Director David Lynch & Co-author Mark Frost carefully crafted Laura Palmer as a hauntingly tragic, beautiful soul the audience would slowly come to know through the eyes of those who'd known & cared for her.
The Series begins with the discovery of Laura's body, then moves to show the reactions of the Twin Peaks Community, her Schoolmates & Friends as they struggle to grasp that she is gone.
Weeping, lashing out or just silent in shock the emotions are raw & real.
Then, as the haunting & beautiful Laura's Theme plays, the camera focuses on the High School's Trophy Case & as the view pans forward we see for the first time the Iconic Photo of Laura Palmer as Twin Peaks's Homecoming Queen.
Read 41 tweets
@bonniea @goldsmithaaron @AllDayDevOps @nnja @oscon @MaggieFero I'd love for you to hear @appsecjosh 's experiences working with dev teams reviewing, merging, and deploying code...
@bonniea @goldsmithaaron @AllDayDevOps @nnja @oscon @MaggieFero @appsecjosh If you're interested in #automation around pull requests, I know some devs like @github 's #security vulnerability remediation #opensource
help.github.com/en/articles/co…
@bonniea @goldsmithaaron @AllDayDevOps @nnja @oscon @MaggieFero @appsecjosh @github For a non-dev-centric perspective, you might try
@mheusser 's How a tester can contribute to the code review process searchsoftwarequality.techtarget.com/tip/How-a-test… #testing #whitebox
Read 15 tweets
Hi #development Twitter & #GCDigital. I'm thinking of creating a gentle #Python-based learning session on how applications work for senior executives. I need your help. Yellow sign -
My hypothesis == w/ hands-on practice of some simple programming fundamentals, senior folks can better understand modern applications, how they are developed & work + the value of #opensource. Maybe some agile.
This, in turn, leads to understanding the art of the possible, better questions on work being done, potentially practical support for building broader #programming & #DataScience capacity in their organizations & more open access to #opensource tools.
Read 8 tweets
Good code and resistance to change:

Thread: ⤵️

#cleancode #programming #coding
One way or another ever since we started writing code, some rules have been imposed on us.
Whether that's "indent your code properly", or "name your variables correctly", these rules changed the mindset of today's developers away from the "write - compile - done" flow.
Read 12 tweets
Let’s do this:

One Like, One Undefined Behavior.

I plan on running this through the weekend at least.

#Cplusplus
#Programming
Signed integer overflow/underflow is undefined behavior

int x1=std::numeric_limits<int>::max()+1;
int x2=std::numeric_limits<int>::min()-1;

[expr.pre]p4 eel.is/c++draft/expr#…

godbolt: godbolt.org/z/Ga-fbb
#2 Signed integer overflow/underflow is undefined behavior 2

int x3=std::numeric_limits<int>::min() / -1;

[expr.pre]p4 eel.is/c++draft/expr#…

godbolt: godbolt.org/z/ytC8oi
Read 65 tweets
Welcome to the 270th #CodeNewbie Twitter Chat!

We are the most supportive community of programmers and people learning to code and we’re so excited to chat with you!
Before we kick off the chat, a few ground rules:

1. Be supportive
2. Be honest
3. Be nice

#CodeNewbie
How does it work? We will post a question, discuss with you, then post a new question.

All questions will be labeled (ex: Q1) so please include the label in your answer (ex: A1) and the #CodeNewbie hashtag
Read 12 tweets
Folks:
Quick tips for those who want to pursue a good career in Computer Science:
Don't:
1. Get dragged away by ML, Data Science, AI and hype around it.
2. Blindly "ctrl+c" your codes --> (Understand, code, rinse, repeat)
3. Follow others

#programming
Do:
1. Focus on Data Structures, Algos, Operating Systems and DBMS throughout 4 years.(ML and AI you can do once you are in your dream company)
2, Two decent projects and two academic research papers (IEEE is preferred)
3. One handy internship
4. Ignore college shit
#programming
Somehow get into a decent product based company or focus on getting a dream masters in CS admit.
Google/Amaz/MSFT etc..
MIT/Stanford/TAMU/UPenn etc..

#programming #technology #Careers
Read 4 tweets
I'm teaching a "data science for economists" course this semester.

If you're interested in learning more about #rstats, Git(Hub), programming, databases, cloud computation, ML, etc., I'll be making all of my course material publicly available here: github.com/uo-ec607
As I say in the syllabus, this course basically covers all of the things I wish I'd been taught in grad school. At the same time, I've benefited immensely from so many people making their teaching materials (and software!) publicly available. This is me trying to pay it forward.
Here's a short-cut to the lecture slides and notes: github.com/uo-ec607/lectu…
Read 16 tweets
🤔 Who was Ann Dunham really? 🤔

Did you know she's tied to the #JFK assassination?

Here are some interesting facts about:

#ObamasMama
#ArthurYoung
#RuthForbesYoung
#LeeHarveyOswald

Looks like we have a mini circus here!

Let's take a quick look, and y'all can go from there:
Ann Dunham's uncle was Charles Paine. Related to Ruth Forbes Paine - a CIA operative potential #MotherOfDarkness

You can't write this sh*t.

Also known as Ruth Young since was married conveniently to several key players involved in clown ops that led to the cabal hit on JFK.
Let's take a look at who Arthur M. Young was:

en.wikipedia.org/wiki/Arthur_M.…

NOTE: "Their son Michael Paine married Ruth Hyde Paine, a friend of Lee Harvey Oswald's wife Marina, who was living with her at the time of the JFK assassination.[4]"

Getting the picture?
...
Read 15 tweets
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
Сегодня пятница, а значит самое врёмя, чтобы запустить 1 фав=1 факт о моём компьютерном детстве середины 90х, о первых программах, победах и поражениях. Ретроностальгии вам нанесу. Буду стараться, поэтому не жалейте ретвитов.
1. Начать нужно с начала. Жил я себе без компьютеров и жизнь была кайфовая - жуков ловить, на велике гонять. Пока в году так ~95м не пришёл к своему однокласснику домой и не увидев впервые компьютер. ГОСПОДИ! До этого я же как-то жил без компьютеров, а теперь без них ЖИТЬ НЕ МОГ.
2. Справедливо упомянуть, что со школы я не помню ни одного стихотворения. Зато технические детали, спецификацию и характеристики моего первого компьютера я, наверное, запомню на всю жизнь. И на смертном одре правнукам ради хохмы зачитаю, а они такие ВО ДЕДА ГОНИТ ВАЩЕ ПОЕХАЛ.
Read 100 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 ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

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!