www.flickr.com
https://www.flickr.com/photo.gne?short=KUezAH
Favorite: ckeys summer 2018 meetup, by Technomancy concrete keyboard
Democracy and the Socialist Revival
https://jacobinmag.com/2018/07/socialism-democracy-liberals-conservatives
GitHub - pqml/hotmaterial: Hot shader replacement and in-browser error handling
https://github.com/pqml/hotmaterial
lmorchard starred pqml/hotmaterial
Outreachy internship with Mozilla: First lambda function
https://medium.com/@shruti9520/outreachy-internship-with-mozilla-first-lambda-function-5fe17995367c?source=rss-f9133b07a948------3
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!
Cheers!
Sad Without a SID? This Comes Pretty Close
https://hackaday.com/2018/07/24/sad-without-a-sid-this-comes-pretty-close
Sad Without a SID? This Comes Pretty Close | Hackaday
https://hackaday.com/2018/07/24/sad-without-a-sid-this-comes-pretty-close/
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?
Sad Without a SID? This Comes Pretty Close | Hackaday
https://hackaday.com/2018/07/24/sad-without-a-sid-this-comes-pretty-close
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?
REST was NEVER about CRUD - Tyk API Gateway and API Management - REST was NEVER about CRUD
https://tyk.io/blog/rest-never-crud/
REST was NEVER about CRUD - Tyk API Gateway and API Management - REST was NEVER about CRUD
https://tyk.io/blog/rest-never-crud
Outreachy internship with Mozilla: AWS Lambda – Shruti Singh – Medium
https://medium.com/@shruti9520/outreachy-internship-with-mozilla-aws-lambda-651eb2ac6e81?source=rss-f9133b07a948------3
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!
Cheers!
GitHub - Hywan/gutenberg-parser-rs: An experimental Rust parser for WordPress Gutenberg post format
https://github.com/Hywan/gutenberg-parser-rs
lmorchard starred Hywan/gutenberg-parser-rs
Democrats must embrace their true identity to survive the Trump era — which most Americans strongly support
https://rawstory.com/2018/07/democrats-must-embrace-true-identity-survive-trump-era-americans-strongly-support?bt_alias=eyJ1c2VySWQiOiAiMzdlOTM5OWYtOTYwOC00OGRlLWJkOGMtODI0MDk4MzA1MWQyIn0%3D
Democrats must embrace their true identity to survive the Trump era — which most Americans strongly support
https://rawstory.com/2018/07/democrats-must-embrace-true-identity-survive-trump-era-americans-strongly-support?bt_alias=eyJ1c2VySWQiOiAiMzdlOTM5OWYtOTYwOC00OGRlLWJkOGMtODI0MDk4MzA1MWQyIn0=
The age of heroes is over
https://qz.com/1322079/the-age-of-heroes-is-over
GitHub - NuSkooler/enigma-bbs: ENiGMA½ BBS Software
https://github.com/NuSkooler/enigma-bbs
lmorchard starred NuSkooler/enigma-bbs
Relect - Neo Exdeath [虚無] by wavforme | Free Listening on SoundCloud
https://soundcloud.com/wavforme/relect-neo-exdeath
Comic Market Day1 East Area Z-01ab "wavforme & Compllege" / 2017.12.29 Composer: @relect-jp Mastering: @tomohikotogashi Artwork: SWAV Design: SoU
Behind The Pin: How The Raspberry Pi Gets Its Audio
https://hackaday.com/2018/07/13/behind-the-pin-how-the-raspberry-pi-gets-its-audio
GitHub - JimmyAppelt/Snaz: Snaz v1 ~ Note: REQUESTS ARE CLOSED
https://github.com/JimmyAppelt/Snaz
lmorchard starred JimmyAppelt/Snaz
SFTP Net Drive
https://www.nsoftware.com/netdrive/sftp/
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 Net Drive
https://www.nsoftware.com/netdrive/sftp
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.
GitHub - PhantomBot/PhantomBot: PhantomBot is an actively developed open source interactive Twitch bot with a vibrant community that provides entertainment and moderation for your channel, allowing you to focus on what matters the most to you - your game
https://github.com/PhantomBot/PhantomBot
lmorchard starred PhantomBot/PhantomBot
A web application completely in Rust
https://medium.com/@saschagrunert/a-web-application-completely-in-rust-6f6bdb6c4471
Goodbye Microservices: From 100s of problem children to 1 superstar
https://segment.com/blog/goodbye-microservices
GitHub - amaiorano/vectrexy: A Vectrex emulator written in modern C++
https://github.com/amaiorano/vectrexy
lmorchard starred amaiorano/vectrexy
GitHub - rhysd/vim.wasm: Vim editor ported to WebAssembly
https://github.com/rhysd/vim.wasm
lmorchard starred rhysd/vim.wasm
Will Trump Be Meeting With His Counterpart — Or His Handler?
http://nymag.com/daily/intelligencer/_pages/cjj8r83g1002bp4yejlinaj4s.html
I finally pulled the trigger on a bar cart that I've been eyeing for some time! : Mid_Century
https://www.reddit.com/r/Mid_Century/comments/8xdmpl/i_finally_pulled_the_trigger_on_a_bar_cart_that/
I finally pulled the trigger on a bar cart that I've been eyeing for some time! : Mid_Century
https://www.reddit.com/r/Mid_Century/comments/8xdmpl/i_finally_pulled_the_trigger_on_a_bar_cart_that
reddit.com: over 18?
https://www.reddit.com/over18?dest=https%3A%2F%2Fwww.reddit.com%2Fr%2Fchildfree%2Fcomments%2F8xc1qn%2Fi_destroyed_my_sample_maybe_nsfw%2F
reddit.com: over 18?
https://www.reddit.com/over18?dest=https://www.reddit.com/r/childfree/comments/8xc1qn/i_destroyed_my_sample_maybe_nsfw
Reddit gives you the best of the internet in one place. Get a constantly updating feed of breaking news, fun stories, pics, memes, and videos just for you. Passionate about something niche? Reddit has thousands of vibrant communities with people that share your interests. Alternatively, find out what’s trending across all of Reddit on r/popular. Reddit is also anonymous so you can be yourself, with your Reddit profile and persona disconnected from your real-world identity.
GitHub - retejs/rete: JavaScript framework for visual programming and creating node editor
https://github.com/retejs/rete
lmorchard starred retejs/rete
An adventure in sparse arrays
https://remysharp.com/2018/06/26/an-adventure-in-sparse-arrays
How to set up your own private RTMP server using nginx | Open Broadcaster Software
https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/
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.
How to set up your own private RTMP server using nginx | Open Broadcaster Software
https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50
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.
GitHub - scanlime/robot-odyssey-rewired: Robot Odyssey is a computer game about digital logic from 1984. This version has been ported from DOS to your browser.
https://github.com/scanlime/robot-odyssey-rewired
lmorchard starred scanlime/robot-odyssey-rewired
Survival of the Richest
https://medium.com/s/futurehuman/survival-of-the-richest-9ef6cddd0cc1
The rise of 'pseudo-AI': how tech firms quietly use humans to do bots' work
https://theguardian.com/technology/2018/jul/06/artificial-intelligence-ai-humans-bots-tech-companies?CMP=twt_gu
How White People Handle Diversity Training in the Workplace
https://medium.com/s/story/how-white-people-handle-diversity-training-in-the-workplace-e8408d2519f
GitHub - sasq64/chipmachine: Demoscene/Retro Music Player
https://github.com/sasq64/chipmachine
lmorchard starred sasq64/chipmachine
The inside story of the soccer ball that survived the Challenger explosion
http://espn.com/espn/feature/story/_/id/23902766/nasa-astronaut-ellison-onizuka-soccer-ball-survived-challenger-explosion
As Trump Consolidates Power, Democrats Confront a Rebellion in Their Ranks
https://nytimes.com/2018/06/30/us/politics/midterm-elections-democratic-party.html
How Conservatives Weaponized the First Amendment
https://nytimes.com/2018/06/30/us/politics/first-amendment-conservatives-supreme-court.html