Skip to content

Instantly share code, notes, and snippets.

@flpvsk
flpvsk / voltage-current-sources.md
Last active July 3, 2021 13:52
When to think in voltages and when in currents

There's voltage and there's current, like in a pipe/water analogy there is pressure and there is .. current ("amount of water passing through a cross section in a unit of time") in a pipe. Both are important and linked.

There's also voltage sources and current sources (current sink is a source pointing in the opposite direction). Ideal voltage source (think 9V battery) provides whatever current is consumed by the circuit, keeping its own output voltage constant. Ideal current source provides whatever voltage is needed by the circuit, keeping the current constant. Real voltage and current sources have limits, non-linearities and impedances to think about, but that's going one level deeper.

Now what does it all mean practically.

If we want to analyse how for example an inverting amplifier configuration works, we need to look at both voltage and current (see [Aaron Lanterman's video on opamps][opamps]). But once we have analysed it we can simplify the inverting amplifier and say that it's just a **vol

Show Your Pedals: Code of Conduct

All attendees, presenters, sponsors and volunteers at our meetup are required to agree with the following code of conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to help ensure a safe environment for everybody.

The Quick Version

Our meetup is dedicated to providing a harassment-free meetup experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof). We do not tolerate harassment of meetup participants in any form. Sexual language and imagery is not appropriate for any meetup venue, including talks, workshops, parties, Twitter and other online media. Meetup participants violating these rules may be sanctioned or expelled from the meetup without a refund at the discretion of the meetup organisers.

The Less Quick Version

@flpvsk
flpvsk / index.md
Last active September 18, 2018 10:31
"Polyrhythmic animations" lightning talk proposal for ReactiveConf 2018

Polyrhythmic animations

Everything is Rhythm.

  • Air pulsating 440 times per second is note A 🎵
  • Electromagnetic field oscilating 440 trillion times per second is color red 🔴
  • Kick-drum beating 120 times per minute is your friend from Berlin listening to their favorite techno 🔊

We also know for a fact that Javascript is Everything.

Keybase proof

I hereby claim:

  • I am flpvsk on github.
  • I am flpvsk (https://keybase.io/flpvsk) on keybase.
  • I have a public key ASApqP8fBpecC47rMgCc7xMr-4xQL3k-nrW2M8RTByy-8wo

To claim this, I am signing this object:

@flpvsk
flpvsk / recorderWorkletProcessor.js
Last active March 22, 2024 06:28
An example of a recorder based on AudioWorklet API.
/*
A worklet for recording in sync with AudioContext.currentTime.
More info about the API:
https://developers.google.com/web/updates/2017/12/audio-worklet
How to use:
1. Serve this file from your server (e.g. put it in the "public" folder) as is.

Theory of constraints: Using common sense to manage a software startup

Description

We can do more useful work with the same resources. This simple idea changed the way I think about leadership. It will change you too.

I work in a b2b software startup as a product manager. Startups have a lot of limitations. There’s always not quite enough money, people, time. That’s why we use methodologies like Lean to minimise waste. Work smarter, not harder, right?

About a year ago I’ve started using Theory of Constraints (TOC). That management philosophy helped us focus and prioritize work as well as see and patch holes in our strategy as a company. It’s been a huge relief for me personally as a product person.

Hi!

Making an episode of Code is hard and takes a lot of time. By the moment we have a draft we know the tape by heart and don't understand what works what doesn't anymore.

That's why we need your help! Write an email with the subject "Reviews" to me with a couple words about yourself. You'll get the next draft of an episode and can help us shape it in the best way!

What you'll need to do as a reviewer:

  • Listen to a poorly edited 30min-60min version of an episode
  • Find factual errors

Question from @g33konaut

What techniques do the audience know that improve 3d graphics performance for complex 3d application, for complex 3d scenes.

For instance imagine you have a little house in the woods in the mountains and there is a sun shining on the mountains and the forest. The forest is full of trees. It’s the same kind of tree but there're a lot of them. And maybe the also has some lights inside, may be fireplace may be some lamps. There might be a shade from the fire outside.

*Fri.js* is an event, where we share our geeky ideas with the community and
discuss them in a relaxed and informal environment.
This week Omar and Mikhail will be presenting:
- Back to Text UI
Paradoxically that today it is easier to create GUI than Text UI. Developer
has an arsenal of different GUI libraries and layout engines. When one
decides to write Terminal Text UI app he faces obstacles of Text UI DSL
*Fri.js* is an event, where we share our geeky ideas with the community and
discuss them in a relaxed and informal environment.
This week we would like to talk about:
- Asynchronicity and how to handle it in JavaScript
- Logging and reporting services for client-side generated events
Topics are there mostly for reference. If you're interested in anything from
our technology stack, feel free to bring it up. We use