The document discusses best practices for using the command line interface (CLI) efficiently. It provides examples of using common UNIX commands like grep, find, awk, sort, uniq, and xargs to analyze command history, filter output, run commands in parallel, and handle encoding. The document emphasizes building small, focused tools according to the UNIX philosophy and provides tips for common tasks like capturing command output, checking exit statuses, running subprocesses, and handling different operating systems. Recommendations are made for CLI productivity tools and the linter ShellCheck.
Your Hive honeymoon can be cut short if you don't take the necessary precautions. In this talk I'll share my experience with Hive in the last 3 years (in Elastic MapReduce and Cloudera CDH3), describing what I got wrong the first time around, and what eventually saved the day. I've used Hive in environments with a number of events ranging from a few million to a few billion a day, so hopefully there'll be something for everyone.
Your Hive honeymoon can be cut short if you don't take the necessary precautions. In this talk I'll share my experience with Hive in the last 3 years (in Elastic MapReduce and Cloudera CDH3), describing what I got wrong the first time around, and what eventually saved the day. I've used Hive in environments with a number of events ranging from a few million to a few billion a day, so hopefully there'll be something for everyone.
Fast and cost effective geospatial analysis pipeline with AWS lambdaMila Frerichs
The need for fast and cost effective geospatial analysis pipelines is always present. With the new serverless services out there it is getting more easy and accessible to create an analysis pipeline that is cost effective and fast.
This talk will show how to use the power of serverless infrastructure and AWS to get fast results at a low cost.
It will show how to use geospatial analysis both in python and node environments. How to install the important libraries that you need for your daily analysis. And how to test out your Lambda functions locally to save even more money.
The Lesser Known Features of ECMAScript 6Bryan Hughes
ECMAScript 6 has a lot of awesome new features coming. Everyone knows about classes, modules, promises, and generators, but what about the rest? This talk will cover a few of the new features that you may not have heard about, including destructuring assignment, computed property names, the “for…of” statement, and the rest and spread operators.
Abstract:
This talk will introduce you to the concept of Kubernetes Volume plugins. We will not only help you understand the basic concepts, but more importantly, using practical examples, we will show how you can develop your own volume plugins and contribute them back to the community of the OSS project as large as Kubernetes.
We will conclude the talk by discussing various challenges one can come across when contributing to a high velocity OSS project of Kubernetes' size which can help you avoid the pain and enjoy the path.
Sched Link: http://sched.co/6BYB
Sebastian Pożoga
Z komputerami miałem styczność, odkąd pamiętam. Od początku moje zainteresowania podzielone były między elektronikę a programowanie. Poświęciłem się drugiemu. Jednak rozwój mikrokomputerów pozwolił mi przypomnieć sobie o starej pasji. Jestem organizatorem HardGroup, Poznańskiej społeczności osób hobbystycznie i zawodowo się elektroniką i majsterkowaniem. Organizujemy darmowe spotkania i warsztaty, na które serdecznie zapraszam. Po pracy rozwijam własne projekt. Odwiedzam liczne imprezy edukacyjne i konferencje. Prowadzę bloga. Jestem dumny, że pomagam rozwijać pasję innym.
Temat prelekcji: GOLang & GoatCore
GOLang to nowy język Google. Już prawie od 10-lecia rozwijany i promowany przez firmę. Podczas prezentacji opowiem, jakie ma mocne strony. Ile nauczyłem się, rozwijając projekt Open Source w GO i dlaczego mi się tak podoba. Podczas prezentacji omówię, dlaczego powstał GoatCore, jak działa i kiedy nam pomaga. Omówię różne elementy języka. Poruszę temat współbieżności, optymalizacji pamięci, dependency injection, optymalizacji. Prezentacja jest przeznaczona dla doświadczonych programistów, którzy w stopniu co najmniej dobrym znają inny język programowania, narzędzia i wzorce projektowe. Omówię specyfikę języka i charakterystyczne cechy. Jednak skupiać się będę na konkretnych problemach i rozwiązaniach.
GoatCore źródło: github.com/goatcms/goatcore
In this talk we will discover the "new" version of the standard of the most hated|used|loved programming language: JavaScript. We're going to see how it evolved and how it got better, making our developers' life definitely better.
We will also see how it allows us to pick our favourite paradigm: Functional or Object Oriented.
This talks covers some of the basic aspects of the JIP pipeline system (http://pyjip.readthedocs.org) and it's command line interface.
JIP is a system to manage jobs on a Cluster system and simplify the process of building computational pipelines. JIP can interact with Slurm, SGE, PBS/Torque, or LSF clusters and comes with a small local scheduler to run without any remote grid engine.
Workshop on command line tools - day 2Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
2nd day
Fast and cost effective geospatial analysis pipeline with AWS lambdaMila Frerichs
The need for fast and cost effective geospatial analysis pipelines is always present. With the new serverless services out there it is getting more easy and accessible to create an analysis pipeline that is cost effective and fast.
This talk will show how to use the power of serverless infrastructure and AWS to get fast results at a low cost.
It will show how to use geospatial analysis both in python and node environments. How to install the important libraries that you need for your daily analysis. And how to test out your Lambda functions locally to save even more money.
The Lesser Known Features of ECMAScript 6Bryan Hughes
ECMAScript 6 has a lot of awesome new features coming. Everyone knows about classes, modules, promises, and generators, but what about the rest? This talk will cover a few of the new features that you may not have heard about, including destructuring assignment, computed property names, the “for…of” statement, and the rest and spread operators.
Abstract:
This talk will introduce you to the concept of Kubernetes Volume plugins. We will not only help you understand the basic concepts, but more importantly, using practical examples, we will show how you can develop your own volume plugins and contribute them back to the community of the OSS project as large as Kubernetes.
We will conclude the talk by discussing various challenges one can come across when contributing to a high velocity OSS project of Kubernetes' size which can help you avoid the pain and enjoy the path.
Sched Link: http://sched.co/6BYB
Sebastian Pożoga
Z komputerami miałem styczność, odkąd pamiętam. Od początku moje zainteresowania podzielone były między elektronikę a programowanie. Poświęciłem się drugiemu. Jednak rozwój mikrokomputerów pozwolił mi przypomnieć sobie o starej pasji. Jestem organizatorem HardGroup, Poznańskiej społeczności osób hobbystycznie i zawodowo się elektroniką i majsterkowaniem. Organizujemy darmowe spotkania i warsztaty, na które serdecznie zapraszam. Po pracy rozwijam własne projekt. Odwiedzam liczne imprezy edukacyjne i konferencje. Prowadzę bloga. Jestem dumny, że pomagam rozwijać pasję innym.
Temat prelekcji: GOLang & GoatCore
GOLang to nowy język Google. Już prawie od 10-lecia rozwijany i promowany przez firmę. Podczas prezentacji opowiem, jakie ma mocne strony. Ile nauczyłem się, rozwijając projekt Open Source w GO i dlaczego mi się tak podoba. Podczas prezentacji omówię, dlaczego powstał GoatCore, jak działa i kiedy nam pomaga. Omówię różne elementy języka. Poruszę temat współbieżności, optymalizacji pamięci, dependency injection, optymalizacji. Prezentacja jest przeznaczona dla doświadczonych programistów, którzy w stopniu co najmniej dobrym znają inny język programowania, narzędzia i wzorce projektowe. Omówię specyfikę języka i charakterystyczne cechy. Jednak skupiać się będę na konkretnych problemach i rozwiązaniach.
GoatCore źródło: github.com/goatcms/goatcore
In this talk we will discover the "new" version of the standard of the most hated|used|loved programming language: JavaScript. We're going to see how it evolved and how it got better, making our developers' life definitely better.
We will also see how it allows us to pick our favourite paradigm: Functional or Object Oriented.
This talks covers some of the basic aspects of the JIP pipeline system (http://pyjip.readthedocs.org) and it's command line interface.
JIP is a system to manage jobs on a Cluster system and simplify the process of building computational pipelines. JIP can interact with Slurm, SGE, PBS/Torque, or LSF clusters and comes with a small local scheduler to run without any remote grid engine.
Workshop on command line tools - day 2Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
2nd day
This is a slightly updated draft of a talk I was planning on giving at Hadoop Summit in 2015. However the abstract was rejected. Rather than toss it, I'm going to share it with all of you on the (almost) 1 year anniversary of the first big commit of this feature!
Keep in mind that this is (currently) locked away in trunk. If you ever want to see this see the light of day, bug your vendors....
Introduction to Unix - POS420Unix Lab Exercise Week 3 BTo.docxmariuse18nolet
Introduction to Unix - POS420
Unix Lab Exercise Week 3 B
Topics :
find
grep
sort
uniq
diff
awk
1. find command
1. To find all files havingan extension of .h in the directory /usr/include
$ find /usr/include -name *.h -print
2. To find all directories recursively (all sub directories also)
$ find . -type d -print
3. To print all the files in the current directory and its subdirectories
$ find . -print
4. To show files that have not been modified in the last day in /tmp directory
$ find /tmp -type f -mtime +1
5. To remove the above files
$ find /tmp -type f -mtime +1 -exec rm -f {} \;
or
$ find /tmp -type f -mtime +1 -ok rm -f {} \;
6. When you come out of vacation and If you forget where the file you were editing, find is very handy (like windows find). Let us search for the file "first.c" from root directory.
$ find / -name first.c -print
2. grep command
1. Get all the lines with the string -Smith” from the phonebook:
$ grep Smith phonebook
2. Get all the lines with the string “ Tom Smith” from the phonebook:
$ grep “Tom Smith” phonebook
3. Get the number of times the string “ksh” occurs in the file /etc/passwd :
$ grep -c ksh /etc/passwd
4. Get the all the lines having the string “Ken” in all the files in the directory :
$ grep Ken *
5. Search whether your friend tom has logged in :
$ who | grep tom
6. Get all the lines in the file intro not having the word “Unix” :
$ grep -v Unix intro
7. Search lower case or upper case pattern "Unix".
$ grep -i Unix intro
8. The -l option gives a list of files having the pattern "Unix".
$ grep -l Unix intro
9. Search for the characters the or The:
$ grep ' [tT]he intro
10. '^' character denotes the beginning of a line and '$' is the end of a line. Search for lines that start with the word 'The'.
$ grep ^The Unix intro
11. Search for lines that end in .pic
$ grep '\.pic$' filename --The escape sequence \ is used for the dot as . is a wild character.
12. Search for containing five-character patterns that start with a capital letter and end with a digit
$ grep '[A-Z]...[0-9]' filename
13. Th e-n option is used to display the line number that matched the pattern.
$ grep -n Unix filename
3. sort command
You might have created the file phonebook from Item No 1 above.
1. Sort the file phonebook:
$ sort phonebook
2. Sort the file phonebook by second column :
$ sort +1 phonebook
3. Sort the file by second column but distinct names:
$ sort +1 phonebook | uniq
4. Sort the file and redirect the output to another file called “sortedusers” :
$ sort phonebook > sortedusers
5. Display the file on the screen , sort and count lines
$ cat phone.
I’ve been keeping a collection of Linux commands that are particularly useful; some are from websites I’ve visited, others from experience
I hope you find these are useful as I have. I’ll periodically add to the list, so check back occasionally.
The plumbing metaphor goes back 40 years to the beginning of Unix/Linux and still works today.
In this session the fundamentals of shell scripting will be illustrated through a cumulative example built on pipes, filters, valves, and screens. Environmentally friendly waste cleanup will also be covered.
Variable interpolation is a standard way to BASH your head. This talk looks at interpolation, eval, ${} handling and "set -vx" to debug basic variable handling.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
Data privacy is one of the most critical issues that businesses face. This presentation shares insights on the principles and best practices for ensuring the resilience and security of your workload.
Drawing on a real-life project from the HR industry, the various challenges will be demonstrated: data protection, self-healing, business continuity, security, and transparency of data processing. This systematized approach allowed to create a secure AWS cloud infrastructure that not only met strict compliance rules but also exceeded the client's expectations.
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Accelerate Enterprise Software Engineering with PlatformlessWSO2
Key takeaways:
Challenges of building platforms and the benefits of platformless.
Key principles of platformless, including API-first, cloud-native middleware, platform engineering, and developer experience.
How Choreo enables the platformless experience.
How key concepts like application architecture, domain-driven design, zero trust, and cell-based architecture are inherently a part of Choreo.
Demo of an end-to-end app built and deployed on Choreo.
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
3. $ history | awk '{ print $2 }' | sort | uniq -c | awk '$1>1' | sort -r | head
791 g
172 cat
115 git
83 echo
71 brew
70 yarn
68 ll
50 dig
49 gcloud
43 jj
Make each program do one thing well. To do a new job, build
afresh rather than complicate old programs by adding new
features.
“
“
3
4. For example, you have to sort the output before uniq because they
only do one thing:
$ history | awk '{ print $2 }' | sort | uniq -c | awk '$1>1' | sort -r | head
4
5. Execute a shell script:
#!/usr/bin/env bash
# command-ranking.sh
set -euo pipefail
history | awk '{ print $2 }' | sort | uniq -c | awk '$1>1' | sort -r
$ chmod u+x ./command-ranking.sh
$ bash ./command-ranking.sh | head
5
6. Interface - standard streams:
STDIN
STDOUT
STDERR
$ time curl -IL https://example.com/ 2>&1 > file.txt
$ time curl -IL https://example.com/
...
curl -IL https://example.com/ 0.02s user 0.01s system 5% cpu 0.467 total
6
17. Release your brain resource:
Easily navigate directories - go with fewer cd s!
rupa/z, or
wting/autojump
Remote repository management - let the tool decide where to
locate the cloning repositories
x-motemen/ghq
17