Favorite: ckeys summer 2018 meetup, by Technomancy concrete keyboard
flickr  to:tumblr  needs-tags 
20 days ago
Outreachy internship with Mozilla: First lambda function
Hi there!

In this blog post, I will be talking about generating AWS lambda functions. Let’s go ahead. :)

First things first- You should have an Amazon Web Services account. I got mine through Mozilla dev account. Awesome! :D

So, here I am logged into my AWS console. It looks like this-

As we have already seen in my last blog post that AWS Lamda is a part of compute domain. You can certainly see “Lambda” under “Compute” heading in the above image. Now, click on “Lambda” to create a new lambda function. As an example, I will be writing a function to calculate volume of cone in NodeJs.

Now you can create a function code all by yourself or you can use some of the blueprints that amazon gives you. In the image below, you will see a number of blue prints ( some basic codes that amazon gives you).

In order to create a new lambda function, you should provide a name, choose a role ( if you don’t have any previous created role then create a new role and provide a role name to it), runtime etc.

Now, let’s talk about how a basic AWS lambda function looks like. AWS Lambda invokes your Lambda function via a handler object. A handler represents the name of your Lambda function. For example-

Here, in order to invoke our function, we should write the name of the file along with the name of the function in Handler section ( as you can see in above image i.e index.handler). Now, let’s take a look on parameters of the function. Here you can see three parameters- event, context and callback. Callback is something that is used when you want to return something back to the user. The general syntax is- Callback(error, success). Here success can be a string message or the object you want to return. I will talk about event and context in my next blog(API Gateway).

In AWS, each lambda function is executed in a container and you can explicitly specify the memory, time etc settings of each container as shown below-

Once you are done with writing function, you can create a lambda function by clicking on “create button”. After that you can see a success message on your console- “Congratulations! your lambda function ‘xyz’ has been created successfully”. After that you can test your code and the test results would be somelike like this-

Here you can see the response object, response ID, execution time, memory size etc. Well, this is the basic example of generating lambda functions. A lot more things like including triggers etc will be discussed in my next blog ( API gateway). So, stay tuned. :)

Thanks for reading!

medium  recommended 
24 days ago
Sad Without a SID? This Comes Pretty Close | Hackaday
The MOS Technologies 6851, popularly known as the SID, is a legendary sound synthesiser integrated circuit from the early 1980s that is most famous for providing the Commodore 54 home computer with its ability to make noise. At the time it was significantly better than what could be found in competitor machines, making it a popular choice for today’s chiptune and demo scene artists.

There’s a snag for a modern-day SID-jockey though, the chip has been out of production for a quarter century and is thus in short supply. Emulation is a choice, but of little use for owners of original hardware so it’s fortunate that [Petros Kokotis] has produced a SID replacement using a Teensy 3.6.

The operation is simple enough, the Teensy provides all the requisite SID data lines via some level shifters for the host microcomputer, and uses [Frank Boesing]’s ReSID library to do the heavy lifting part of being a SID. You can download the code from a GitHub repository, and he’s posted a video we’ve put below the break showing a prototype in action with a real Commodore 64. The audio quality isn’t brilliant due to a phone camera recording from a very tinny speaker, but notwithstanding that it has the air of the real thing.

This isn’t the first SID we’ve seen here. How about a MIDI synth using one?
ttrss  shared  needs-tags 
27 days ago
Outreachy internship with Mozilla: AWS Lambda – Shruti Singh – Medium
Hi there!

In this blog post, I will be talking about AWS Lamda. Let’s start with a little introduction.

AWS ( Amazon Web Services ) is a cloud services platform that offers services like database storage, content delivery, compute power/domain etc. AWS Lamda is a part of compute domain. Basically, there are three main services in compute domain-

EC2 — It is like a raw server. We can also say that it is like a personal computer that we are working on remotely. It can install any kind of operating system which is supported by AWS infrastructure and then you can use it in any manner i.e one can configure it to become a server etc.

Elastic Beanstalk- This is an automated version of EC2. Here, you don’t get the access to the operating system but you still have control over the configuration. Here, you can directly upload the code and then application is deployed on AWS infrastructure.

AWS Lambda- This is also an automated version of EC2. But here, you son’t have neither have access to the operating system nor you have any control over the configuration. All you do is to upload your code and it executes.

AWS Lambda is not used to deploy applications. It is used to execute background tasks. So, we can say that- “AWS lambda is a serverless compute service ( i.e you are not choosing the kind of configuation you want). The developers don’t have to worry about which AWS resource to launch or how to manage them. Just put the code on Lambda and it runs”.

Once you upload the code, your code will be executed on your behalf using Amazon’s infrastructure. Each piece of your code is called a function on Lambda platform. All of the functions that you upload has to be stateless. Now, the question is- How to trigger a Lambda function? Lambda funnctions can be triggered by events ( events from AWS services i.e S3 is also allowed), https calls etc.

In order to use AWS Services, you have to set up an AWS account. I got mine through mozilla. Next is to learn and implement some practical examples. I will write my experience with AWS lambda along with examples in my next blog.

Thanks for reading!

medium  recommended 
4 weeks ago
Relect - Neo Exdeath [虚無] by wavforme | Free Listening on SoundCloud
Comic Market Day1 East Area Z-01ab "wavforme & Compllege" / 2017.12.29 Composer: @relect-jp Mastering: @tomohikotogashi Artwork: SWAV Design: SoU
ifttt  soundcloud  favorites 
5 weeks ago
SFTP Net Drive
An easy-to-use utility that mounts remote file systems as Windows drives via SFTP. Once connected, you can browse and work with files as if they were stored on your local machine.
sftp  windows  tools 
5 weeks ago
How to set up your own private RTMP server using nginx | Open Broadcaster Software
Most people who stream enjoy using services such as Twitch.tv or Ustream to deliver video to viewers, and that works well enough. But sometimes you want some more control over your stream, or you want other people to be able to stream to you, or you want to stream to multiple places, or any number of things that requires you to have access to an actual RTMP stream from an RTMP server. This guide will cover the very basics of setting up a simple RTMP server on a Linux computer. Don't worry, it's not too complicated, but having familiarity with Linux will certainly help.
rtmp  streaming  nginx  video  server 
6 weeks ago
Salvation Code by Scandroid | Free Listening on SoundCloud
https://ift.tt/1TYszcN Red and Raven have scoured the depths of the ancient wasteland they call home for something lost and buried, something revolutionary. What they unearthed was the New Retro sound of a forgotten era. Together, they formed Scandroid to bring that sound into their world. Based in an abandoned warehouse in Old Tokyo, they are surrounded by ancient technology and sound from the era of the 1980s. Beneath the shadow of the elite and unreachable Neo-Tokyo, they plan their revolution… https://ift.tt/2K1EP0o https://ift.tt/2Ik7OXp http://www.twitter.com/ScandroidMusic http://www.youtube.com/ScandroidOfficial https://ift.tt/2K02ONm Listen to Scandroid on Spotify! - http://spoti.fi/11Mpl2h
ifttt  soundcloud  favorites  "Indie  Dance  /  Nu  Disco" 
8 weeks ago
About ZynAddSubFX
ZynAddSubFX is a fully featured open source software synthesizer
music  synths  diy 
8 weeks ago
Machines | xandernaut
An album of things I made about computers. Please listen to it while using your computer to make things.
music  cc  stream 
8 weeks ago
Introducing Firefox Color and Side View – Firefox Test Pilot – Medium
We’re excited to launch two new Test Pilot experiments that add power and style to Firefox.

Side View enables you to multitask with Firefox like never before by letting you keep two websites open side by side in the same window.

Firefox Color makes it easy to customize the look and feel of your Firefox browser. With just a few clicks you can create beautiful Firefox themes all your own.

Both experiments are available today from Firefox Test Pilot. Try them out, and don’t forget to give us feedback. You’re helping to shape the future of Firefox!

Introducing Firefox Color and Side View was originally published in Firefox Test Pilot on Medium, where people are continuing the conversation by highlighting and responding to this story.
medium  recommended 
10 weeks ago
Outreachy Internship with Mozilla:Week-2 – Shruti Singh – Medium
Hello folks!

This week was good. Last week I learnt about building themes and this week I actually implement these. In this blog I’ll explain about building dynamic themes.


A theme and browser extension functionality cannot be defined in one package. One can, however, programmatically include a theme in an extension using the Theme API and those themes are called dynamic themes.

I made one dynamic theme where themes are changing according to the time of day. After that I added an additional functionality using browser action. So, a user can add an alarm to it’s forefox page using browser action button.After setting alarm( in hours), whenever the hour matches with the alram time hour, the page produces a sound and theme is changed for one minute. After one minute the theme is again resumed with the particular day time theme. It was fun making this. :-)

Getting Started

First you need to create a manifest.json file within your main folder. This file specify basic metadata and theme components. My manifest.json file looks as follows-
Here “permissions” is necessary to request “theme” for building Dynamic themes. For including browser action, we add “browser_action” in manifest.json. But what is browser action? A browser action is a button that your extension adds to the browser’s toolbar. The button has an icon, and may optionally have a popup whose content is specified using HTML, CSS, and JavaScript. Here the popup content is specified in “alarm.html”. In this pop up you can set alarm ( in hours).

Next, you need to build a JSON object containing the information about your theme. See the example below-

Theme that appears when alarm hours matches with the current time( written in alarm.js file).

Day, night themes ( written in background.js file)-

Lastly, pass the JSON object in a theme.update() call as shown below-

So, building a dynamic theme is fun. All you need is to keep some points in mind and tada~ theme is built. :-D

I would like to attach a GIF of the dynamic theme. Note that I am writing this blog during day time, so the GIF has day theme along with an alarm theme which user can set at any hour.

At the end, I would like to thank my awesome mentor Les Orchard. :-) He is assigning some cool stuffs to me and answers all my doubts. :-D

Thanks for reading. If you are having any suggestions or thoughts on this, be sure to leave a comment. :-)

Bye Bye :-D
medium  recommended 
12 weeks ago
Outreachy Internship with Mozilla: Week-1 – Shruti Singh – Medium
Hi there!

My first week of Outreachy internship with mozilla was as good as expected. I got LDAP credentials. But wait, what does that mean? It means you get mozilla specific email address, own profile at mozilla Phonebook, access to all mozilla websites, access to their slack/ircCloud account and what not? You get to take part in their team meetings too which is pretty cool. :-)

So, the first day of my internship started with a warm welcom from the community and my mentor Les Orchard. My mentor is an awesome person. :) He gave me an outline of what work he expects me to do. So, I started with learning about building themes ( both static and dynamic). I would like to give a rough idea about what I leant.

Theme is something that enables you to change the look of the browser. You should have a little idea about WebExtension API before building a theme. So, theme can be static or dynamic.


We can’t share static themes with other users. Creating a static theme is simple. You need to include image inside a folder ( same folder where manifest.json [Web extension] file is present).In manifest.json file “theme” is the main object which consist of “images,”color” etc. Static image themes can consist of single or multiple images.We can also build static animated images.


We can share static themes with other users. Dynamic theme uses theme API for controlling theme using JS code. For including theme API fiirst you need to request “theme” permission in the extension’s manifest.json file. Then you build a JSON object same as static theme and lastly you pass the JSON object in a theme.update() call.

Whatever I have written above might be a confusing to you. Don’t worry! My next week work is based on implementing “building themes” and I will write an elaborated blog with some code snippet. :-)

Lastly, I would like to thank Les Orchard for guiding me and also for inviting me to attend weekly Firefox Color meeting on Vidyo. It was very nice meeting Wil, John, Marnie and all members of FireFox Color team. It feels grate when cool people like them acknowledge your presence even when you have nothing much to say. :-)

Thank you! :-D
medium  recommended 
12 weeks ago
Old Pal Recipe | SAVEUR
2 oz. rye whiskey
1 oz. Campari
1 oz. dry vermouth
Lemon twist, for garnish
recipes  cocktails  booze  campari  rye 
may 2018
How to set up a custom domain name for Lambda & API Gateway with Serverless
With Serverless, it's easier than ever to deploy production-ready API endpoints. However, using AWS API Gateway results in odd hostnames for your endpoints. Further, these hostnames will change if you remove and redeploy your service, which can cause problems for existing clients.

In this guide, I'll show you how to map a custom domain name to your endpoints.
serverless  aws  dns 
april 2018
FamiTracker is a free windows tracker for producing music for the NES/Famicom-systems. The interface is based on MadTracker and should be easy to use if you've been using trackers before.
music  retro  famicom  chiptunes  8bit 
april 2018
Whizzo Software - SIO2Arduino
SIO2Arduino is an Atari 8-bit (800/XL/XE) device emulator that runs on the Arduino platform. It currently emulates a single Atari 1050 disk drive (D1:) but there are plans to extend it to support multiple drives as well as other devices.
sio  atari  retro  arduino  hardware  diy 
march 2018
The PiModem Project - Retro BBS and dialup fun!
Connect to BBS's (via telnet) and the Internet (via PPP) from your old computer!
retro  raspi  raspberrypi  diy  hardware 
february 2018
The SIO stands for the "Serial Input/Output". It is a data transfer protocol used by the Atari 8-bit machines to communicate with a printer, disk drive, modem etc. via the SIO connector. These transfers are controlled by the POKEY chip.
pokey  atari  sio 
february 2018
Self-Driving Cars Have a Secret Weapon: Remote Control | WIRED
If a car gets in trouble, a human can use the car’s cameras and microphone to grok what’s going on.
cars  selfdriving  ai 
february 2018
Grant's MULTICOMP pick and mix computer
Pick-and-mix to create your own custom computer on a low-cost FPGA board
diy  hardware  fpga 
february 2018
OSH Park ~ Atari SIO23v3
The board fits like an edge connector in between the two rows of pins in the Atari SIO port and is modeled after the Atari8Warez “Poor Mans SIO Cable”. The side labeled “SIO23V3” is the top/up side.
atari  diy  hacks  hardware  sio 
january 2018
SIO2PI -> Raspberry Pi as a floppy - Atari 8-Bit Computers - AtariAge Forums
The Raspberry Pi is a small and inexpensive computer that can also emulate ATARI floppies.
atari  diy  hacks  raspi  hardware 
january 2018
ESP8266 WiFi Modem Working! - TI-99/4A Computers - AtariAge Forums
I am using a HUZZAH ESP8266 that i purchased for $10

A DB9 Male Serial to TTL converter that I purchased for $10
wifi  esp8266  diy  hardware  retro 
january 2018
Instant Pot Chicken Pho | Platings & Pairings
This Instant Pot Chicken Pho makes the traditional Vietnamese chicken noodle soup easy to make at home in around 30 minutes with the help of your pressure cooker.
pho  instantpot  recipes  soup 
january 2018
A rust password generator on wasm
This is the useful app, which is a bit more complex than “Hello, World!”. This app can help to generate different passwords for every service. You need to remember your keyword and the length of password only.
rust  dev  wasm 
january 2018
« earlier      
advertising aggregators ajax alcohol amazon animals animgifs annarbor apis apple arduino art atari atheism atom audio awesome beer books bush business c64 caffeine california cats christianity clothing cocktails cocoa coffee cogsci comics compsci computers cooking copyfight copyright css culture data delicious design detroit dev diy django drm ds economy education electronics entertainment evolution extensions facebook favorites feeds fiction firefox flash flickr food funny future gadgets games gaming geotagged git github gluecon google googlereader graphics hacking hackingfeeds hacks hardware health history homebrew html html5 http ifiction ifttt images internet iphone ipod iraq irc jabber java javascript jobs jquery js json law linux mac mccain media medicine medium metablogging michigan microformats microsoft mobile morons movies mozilla mp3 msft music needs-tags networking news nifty nintendo node obama occupy occupywallstreet odd oldschool opensource opml osx ows palm perl photos php pocket podcasting podcasts politics productivity programming psychology publishing python raspberrypi rdf recipes recommended reddit religion republicans rest retro rss s3 sanfrancisco science scifi security semweb shared social socialsoftware software space startrek syndication tech television terror terrorism theonion tinderbox tips to:fb to:tumblr tools tovisit toys tshirts ttrss tv twitter unix usb utilities video videos want war web web20 webdev webservices weird wiki windows wishlist wordpress work wow writing wtf xbox xml yahoo youtube

Copy this bookmark: