Swinsian alfred workflow5/18/2023 ![]() ![]() We can symlink our project with code to an actual Alfred workflow and then build our code into a single binary file that we can then call from our Alfred launcher. ![]() Now here comes the most awesome part and what makes developing workflows in Go pure joy. I usually put all my Alfred workflows I am working on inside ~/src/alfred directory. Create a directory with name alfred-web-searches and in there we can create our first file main.go. So that it can be curated and extended by the community of people. In our case we want to create a simple workflow that would replace Alfred's native Web Search that can be found here: Now that you have the library, let’s make our first workflow. Once you do that, you can install AwGo library using this command:Īwesome. If you never tried writing Go, you can complete Go Tour and read through How to Write Go Code and Effective Go. To install the library, you first have to have Go installed on your system which you can do here. Here I will try to describe how you can get started developing workflows in Go using this library and what my workflow is like using it. To ease my time in developing these workflows, I use a really awesome library called AwGo. Many times you might not even need a programming language at all as Alfred provides many objects that you can use already to glue things together such as opening URLs, filtering through a list of items, opening files and a lot more. I personally really love developing workflows with Go language and that is what I will focus on in this article but you can create workflows in any language. Where you can both ask questions or share the workflows which you will soon be able to create. If you ever wish to get help with whatever you are trying to make and searching it online or going through the Alfred documentation does not help, feel free to ask your question on the Alfred Forum. In order for you to install these workflows you will need to buy the powerpack upgrade, which in my opinion is well worth the money for what you will get out of it.Īssuming you have done that, you can take a look at the official Alfred resources on how to get started with Alfred. And you can extend it with workflows which other users have made and some of which they have shared. I have mentioned that Alfred is an extendable launcher. The limit to what you can do is your imagination and what it is you are trying to achieve. You can also issue commands to it such as opening a specific application, quitting an app, uploading images to Imgur and again, a lot lot more. Be it files, your Safari or Chrome bookmarks, documentation, notes and a lot lot more. In short, Alfred is an extendable launcher that can search through almost anything you want it to search through. It’s super fun programming things that you immediately use yourself and can later iterate on at your own will. Recently I’ve been really enjoying programming and especially programming Alfred workflows in Go language.
0 Comments
Who was isaac newton5/18/2023 ![]() "As a personality, Newton was unattractive-solitary and reclusive when young, vain and vindictive in his later years, when he tyrannized the Royal Society and vigorously sabotaged his rivals," the Royal Society's Rees said. Isaac Newton's "Unattractive Personality" Despite his wealth of discoveries, Isaac Newton wasn't well liked, particularly in old age, when he served as the head of Britain's Royal Mint, served in Parliament, and wrote on religion, among other things. "Newton's Principia made him famous-few people read it, and even fewer understood it, but everyone knew that it was a great work, rather like Einstein's Theory of Relativity over two hundred years later," writes mathematician Robert Wilson of the Open University in an article on a university website. Newton published his findings in 1687 in a book called Philosophiae Naturalis Principia Mathematica (Mathematical Principles of Natural Philosophy) commonly known as the Principia. Newton's Law of Action and Reaction: For every action, there is an equal and opposite reaction.For a constant mass, force equals mass times acceleration. Newton's Law of Acceleration: Force is equal to the change in momentum (mV) per change in time.Newton's Law of Inertia: Every object persists in its state of rest or uniform motion in a straight line unless it is compelled to change that state by forces impressed upon it.Following his apple insight, Newton developed the three laws of motion, which are, in his own words: To this day, reflecting telescopes, including the Hubble Space Telescope, are mainstays of astronomy. To solve the problem, Newton designed a telescope that used mirrors rather than just glass lenses, which allowed the new apparatus to focus all the colors on a single point-resulting in a crisper, more accurate image. This, in turn, made plain the cause of chromatic aberration-inaccurate color reproduction-in the telescopes of the day. Meanwhile, his interest in optics led him to propose, correctly, that white light is actually the combination of light of all the colors of the rainbow. His other major mathematical preoccupation was calculus, and along with German mathematician Gottfried Leibniz, Newton developed differentiation and integration-techniques that remain fundamental to mathematicians and scientists. Isaac Newton: More than Master of Gravity Decoding gravity was only part of Newton's contribution to mathematics and science. It was then that the apple-falling brainstorm occurred, and he described his years on hiatus as "the prime of my age for invention." Despite his apparent affinity for private study, Newton returned to Cambridge in 1667 and served as a mathematics professor and in other capacities until 1696. In 1665 the school temporarily closed because of a bubonic plague epidemic and Newton returned home to Lincolnshire for two years. Admitted to the University of Cambridge on 1661, Newton at first failed to shine as a student. ![]() A practical child, he enjoyed constructing models, including a tiny mill that actually ground flour-powered by a mouse running in a wheel. "But it was enough to develop space travel." Isaac Newton, Underachiever? Born two to three months prematurely on January 4, 1643, in a hamlet in Lincolnshire, England, Isaac Newton was a tiny baby who, according to his mother, could have fit inside a quart mug. "His theory of gravity wouldn't have got us global positioning satellites," said Jeremy Gray, a mathematical historian at the Milton Keynes, U.K.-based Open University. "He showed that the force that makes the apple fall and that holds us on the ground is the same as the force that keeps the moon and planets in their orbits," said Martin Rees, a former president of Britain's Royal Society, the United Kingdom's national academy of science, which was once headed by Newton himself. Legend has it that Isaac Newton formulated gravitational theory in 1665 or 1666 after watching an apple fall and asking why the apple fell straight down, rather than sideways or even upward. Torchat messenger5/18/2023 In 2015 security analysis of TorChat protocol and its Python implementation was conducted. Prof7bit has switched to working on torchat2, which is a rewrite from scratch, using Lazarus and Free Pascal. In February 2012, developer Prof7bit moved TorChat to GitHub, as a protest against Google selectively censoring access to TorChat download to certain countries. The project is actively seeking Java contributors, especially to help debug the GUI interface. At this stage jTorChat is designed to work effectively on Windows without any configuration, however since its written in Java, it can run on any platform supported by both, Tor and Java itself, making it very portable. Also buddy request mode is implemented, which allows a user to request a random user in the jTorChat network to add them. A new capability in jTorChat is the broadcast mode, which allows a user to send messages to everybody in the network, even if they are not in their buddylist. Filesharing, while implemented in the original TorChat, is not yet implemented in jTorChat. Containing the latest Tor.exe, it is meant to emulate all the features of the original TorChat protocol, as well as extending the protocols for jTorChat-specific features. The binary (a Cocoa application) and source-code (Objective-C) bundled in a Xcode 7 project can be downloaded on SourceMac.Ī rewrite of the TorChat protocol in Java was created in the beginning of 2012, called jTorChat on Google Code. Īfter 2014, all development activity stopped and TorChat has not received any further updates.Ī fork was released for OS X in the summer of 2010 by a French developer. In December 2010, an official update finally became available that, among some minor bugfixes, also again included an up-to-date Tor.exe. The older Windows versions of TorChat were built with py2exe (since 0.9.9.292 replaced with pyinstaller) and came bundled with a copy of Tor readily configured so that it could be run as a portable application right off a USB flash drive without any installation, configuration or account creation.īetween 20 weren't any updated packages, resulting in the bundled version of Tor becoming obsolete and unable to connect to the Tor network, which was the reason for the appearance of forks that basically just replaced the bundled Tor.exe with a current one. It is written in Python and used the cross-platform widget toolkit wxPython which made it possible to support a wide range of platforms and operating systems. The first public version of TorChat was released in November 2007 by Bernd Kreuss (prof7bit). Since onion services can receive incoming connections even if they are behind a router doing network address translation (NAT), TorChat does not need any port forwarding to work. TorChat clients communicate with each other by using Tor to contact the other's onion service (derived from their ID) and exchanging status information, chat messages and other data over this connection. This ID will be randomly created by Tor when the client is started the first time, it is basically the. In TorChat every user has a unique alphanumeric ID consisting of 16 characters. ![]() ![]() ![]() TorChat is free software licensed under the terms of the GNU General Public License (GPL). ![]() The characteristics of Tor's onion services ensure that all traffic between the clients is encrypted and that it is very difficult to tell who is communicating with whom and where a given client is physically located. It provided cryptographically secure text messaging and file transfers. TorChat was a peer-to-peer anonymous instant messenger that used Tor onion services as its underlying network. |