by jsendak | Jan 12, 2024 | DS Articles
The year of Generative AI – let’s go through what happened in the past 12 months.
Dissecting the Year of Generative AI
Without a doubt, the past year marked a significant period in the realm of artificial intelligence. In particular, we witnessed the steep upward trajectory of Generative AI in both its development and adoption. Let’s unravel the major happenings and speculate on potential future avenues for this promising technology.
Past Year Developments
The past 12 months have seen a snowballing interest in Generative AI – a subset of artificial intelligence that focuses on generating something new from training set data.
Whether it’s creating intriguing art pieces or concocting exciting music, Generative AI demonstrated its versatile capacity to produce new, unique, and valuable content unlike any other existing AI technology.
Long-term Implications
Given its boisterous debut year, the long-term implications of Generative AI are manifold: strong potential in various industries, increased demand for AI-specialized professionals, and a probable driving force for the next technology revolution.
Potentially, we are looking at an era where AI doesn’t just automate tasks but generates ideas and content – effectively making generative AI a part of the creation and idea-formulation process. This means businesses might find novel ways of leveraging AI-technology, thereby redefining their operations on a whole new scale.
Future Developments
In terms of future developments, Generative AI is expected not to be restrained only to art and entertainment. We foresee its application extending into fields like research & development, customer service, and more. For instance, Generative AI could advance scientific research by formulating new hypotheses or it could enhance customer service by crafting personalized responses.
Actionable Advice
We advise businesses in all industries to stay updated with the latest developments in Generative AI, and think innovatively about how this technology could be integrated into their operations.
- Start by identifying processes that could potentially be enhanced by this technology – are there areas where generating new content or ideas could boost your overall productivity?
- Consider an investment in AI-skilled manpower or partnering with AI-service providers to tap into the potential of Generative AI. Not only will this give your business a competitive edge but it can also lead to innovative growth strategies.
- Participate in AI-related seminars and workshops. This will help gain firsthand knowledge from the experts in the field and provide opportunity to network with like-minded people and entities.
As evident from the trends, the usage of Generative AI is a growing field set to reshape various industries in the coming years. Act promptly, adapt intelligently, and your business could be on the leading edge of this exciting frontier.
Read the original article
by jsendak | Jan 12, 2024 | DS Articles
[This article was first published on
R-posts.com, and kindly contributed to
R-bloggers]. (You can report issue about the content on this page
here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.
Excitement is building as we approach ShinyConf 2024, organized by Appsilon. We are thrilled to announce the Call for Speakers. This is a unique opportunity for experts, industry leaders, and enthusiasts to disseminate their knowledge, insights, and expertise to a diverse and engaged audience.
Why Speak at ShinyConf?
Becoming a speaker at ShinyConf is not just about sharing your expertise; it’s about enriching the community, networking with peers, and contributing to the growth and innovation in your field. It’s an experience that extends beyond the conference, fostering a sense of camaraderie and collaboration among professionals.
Conference Tracks
ShinyConf 2024 features several tracks, each tailored to different aspects of our industry. Our track chairs, experts in their respective fields, will guide these sessions.
- Shiny Innovation Hub – Led by Jakub Nowicki, Lab Lead at Appsilon, this track focuses on the latest developments and creative applications within the R Shiny framework. We’re looking for talks on advanced Shiny programming techniques, case studies, and how Shiny drives data communication advancements.
- Shiny in Enterprise – Chaired by Maria Grycuk, Senior Delivery Manager at Appsilon. This track delves into R Shiny’s role in shaping business outcomes, including case studies, benefits and challenges in enterprise environments, and integration strategies.
- Shiny in Life Sciences – Guided by Eric Nantz, a Statistician/Developer/Podcaster. This track focuses on R Shiny’s application in data science and life sciences, including interactive visualization, drug discovery, and clinical research.
- Shiny for Good – Overseen by Jon Harmon, Data Science Leader and Expert R Programmer. This track highlights R Shiny’s impact on social good, community initiatives, and strategies for engaging diverse communities.
Submission Guidelines
- Topics of Interest: Tailored to each track, ranging from advanced programming techniques to real-world applications in life sciences, social good and enterprise.
- Submission Types:
- Talks (20 min)
- Shiny app showcases (5 min)
- Tutorials (40 min)
- Who Can Apply: Open to both seasoned and new speakers. Unsure about your idea Submit it anyway!
Looking for inspiration? Check out these sessions from ShinyConf 2023.
Important Dates
- Submission Deadline: February 4
- Speaker Selection Notification: March 1
- Event Dates: April 17-19, all virtual
How to Apply
Submit your proposal on the Shiny Conf website: https://www.shinyconf.com/call-for-speakers
Conclusion
Join us at the Shiny Conf as a speaker and shine! We look forward to receiving your submissions and creating an inspiring and educational event together.
Follow us on social media (LinkedIn and Twitter) for updates. Registration opens this month! Contact us at shinyconf@appsilon.com for any queries.
Useful Links
Call for Speakers: ShinyConf 2024 by Appsilon was first posted on January 12, 2024 at 8:05 am.
Continue reading: Call for Speakers: ShinyConf 2024 by Appsilon
Excitement Surrounding ShinyConf 2024 and Future Implications
The forthcoming ShinyConf 2024 organized by Appsilon offers industry experts and enthusiasts a chance to engage with a diverse audience. In addition to sharing individual expertise, the conference aims to foster networking, camaraderie, and collaboration, thereby enriching the community of professionals.
Long Term Implications
Fostering a platform such as ShinyConf has long-standing implications. Besides enabling an exchange of knowledge and ideas, it also potentially nudges innovation in various industry areas. Such practices could encourage adoption of advanced Shiny programming techniques, case studies, and data communication advancements in general.
Significantly, the versatile application areas of R Shiny being explored at the conference in tracks like ‘Shiny in Enterprise’, ‘Shiny in Life Sciences’ and ‘Shiny for Good’, indicate the wide scope of this technology’s impact. Business outcomes, drug discovery, clinical research, community initiatives – each of these fields could integrate R Shiny-based techniques for improved outputs.
Further, applications presented at ‘Shiny Innovation Hub’ could serve as inspiration and guide for new developmental strides. Progressive developments in life sciences or the business domain triggered by innovative talks could result in therapeutic advancements, better market responses, etc.
Possible Future Developments
Given the track record of past conferences and the promising plans for ShinyConf 2024, it can be inferred that such gatherings can particularly contribute to significant future advancements. These developments could take the form of agile strategies for integration in enterprise environments or pinpoint techniques for interactive visualization in life sciences.
Social good initiatives driven by technology like R Shiny might present data-backed solutions to pertinent societal issues. The cumulative knowledge gained at ShinyConf could power future projects for the welfare of diverse communities.
Actionable Advice
Be it seasoned professionals or emerging entertainers in the field, everyone should consider participating as a speaker at ShinyConf 2024. Even if you’re unsure about your idea, submitting it might lead to constructive feedback or potential development opportunities.
In lieu with the intended spirit of collaboration and networking, participants can also look to engage actively with peers. Instead of just focusing on individual talk or presentation, attending others’ could help gain fresh insights and make invaluable contacts.
Keep a keen eye out for registration updates and deadlines to ensure you don’t miss out on this opportunity. Lastly, follow updates from past conferences to contemplate the kind of content and engagement ShinyConf fosters.
Read the original article
by jsendak | Jan 12, 2024 | DS Articles
This article serves as an introduction to those looking to understanding what prompt engineering is, and to learn more about some of the most important techniques currently used in the discipline.
Understanding Prompt Engineering: Implications and Future Developments
Prompt engineering, a relatively new discipline in the technological realm, holds the potential to revolutionize the process of creating and managing machine learning models. This field primarily focuses on laying the framework for data scientists to fine-tune machine learning algorithms, particularly those involving large language models. Future advancements in prompt engineering, its long-term implications, and potential practical/real-world applications remain exciting arenas of exploration.
Long-term Implications
Prompt engineering as a thriving field presents several long-standing implications. For one, it may significantly streamline the process of creating and refining machine learning models. By providing an efficient framework for prompts, data scientists would be able to optimize model performance with greater ease and efficiency. This also brings down the time and resources involved in model reiterative processes.
On a broader scale, advancements in prompt engineering could drive an increase in the demand for specialized data scientists who are skilled in this avenue. This would likely reshape the landscape of job opportunities and professional development within the data science community.
Additionally, with prompt engineering driving advancements in machine learning and artificial intelligence applications, we can expect a more immersive digital experience in various sectors like marketing, healthcare, education, and others.
Potential Future Developments
Given the nascent stage of prompt engineering, many future developments could occur:
- Automated prompt generation: Machine learning models might eventually be capable of generating their prompts autonomously. This would lessen human inputs drastically, rendering models even more efficient and intelligent.
- Real-time refining of prompts: Future informatics systems could feature the capability to refine the quality of prompts in real-time based on evolving information or circumstances. This would enhance the reliability and functionality of AI-based systems.
- Integration with various sectors: The evolution of prompt engineering might result in its integration in various industrial sectors, such as e-learning, healthcare, marketing, and others. Customized artificial intelligence models could then be developed and utilized based on the specific industry requirements.
Actionable Advice
As prompt engineering continues to evolve and impact the technological world, it is imperative for businesses and individuals alike to stay abreast of the latest developments in the field. Here are some actionable steps that can be taken:
- Upskill and Train: For data professionals, it makes sense to upskill and get trained in the fundamentals of prompt engineering. As the demand for such specialized skills is likely to increase in the future, this will help staying ahead in the professional curve.
- Invest in R&D: Companies looking to leverage AI and machine learning applications should consider earmarked investments towards research and development in prompt engineering. This can be done by hiring specialized experts or collaborating with institutions leading in this field.
- Monitor Developments: Regularly following leading journals and publications focused on artificial intelligence, machine learning, and prompt engineering will ensure you stay updated on the latest trends, breakthroughs, and applications in the field.
Prompt engineering is an exciting, rapidly developing field that is bound to have far-reaching impacts across various industries. By staying informed, upskilling when necessary, and investing resources wisely, businesses and individuals will be well-positioned to take advantage of this upcoming technology.
Read the original article
by jsendak | Jan 12, 2024 | DS Articles
Ever wanted to run an LLM on your computer? You can do so now, with the free and powerful LM studio.
Analyzing the Future of Running LLM on your Computer with LM Studio
The recent advancements in software development have brought about a new wave of opportunities for businesses and individuals alike. One such evolution is the ability to run an LLM on your computer using the free and powerful LM Studio. Understanding the long-term implications and future developments of this software advancement is vital for optimal utilization and staying ahead in the curve.
Long-term implications of Running LLM on Computers
These are some of the potential future implications:
- Increase in Efficiency and Productivity: Having direct access on your personal computer means that workflows can be more streamlined and efficient, increasing productivity.
- Greater Autonomy: The ability to use LLM on one’s computer can give individuals the freedom to experiment and innovate, wakening a stronger sense of ownership.
- Improved Accessibility: The mechanism will be more accessible to a broader audience, therefore democratizing access and enabling more people to benefit from it.
Possible Future Developments
Considering the current trajectory of technological advancements, here are some potential future developments:
- Integration with Other Platforms: There is a possibility for LM Studio to collaborate with other platforms, expanding its usability.
- Advancements in Features: As the software evolves, there’s scope for new features and capabilities to be added, providing even more tools for users.
- Increased Adoption: With ease of use and free availability, we might witness an increased adoption among students, researchers, businesses, etc.
Actionable Advice on Using LLM with LM Studio
Here are some strategies you can adopt to effectively leverage the benefits of running an LLM on your computer:
- Extend Your Skill Set: Make the most of LM Studio’s free availability by learning its functionality and adding a valuable skill to your repertoire.
- Seize Opportunities: Use this technology to innovate and experiment, opening new project avenues or improving existing methods.
- Stay Updated: Keep an eye on future developments to ensure you’re getting the most out of the platform.
In conclusion, the ability to run an LLM on your computer using LM Studio poses exciting developments for the future. By considering the potential long-term implications and keeping up-to-date with the software advancements, you can stay ahead of the curve and fully harness the power of this groundbreaking software.
Read the original article
by jsendak | Jan 12, 2024 | DS Articles
In part 1 of the series “A Different AI Scenario: AI and Justice in a Brave New World,” I outlined some requirements for the role that AI would play in enforcing our laws and regulations in a more just and fair manner and what our human legislators must do to ensure that outcome. In part… Read More »AI and Justice in a Brave New World: Part 3 – AI Governance
Key Points and Long-Term Implications of AI in Law Enforcement
In “AI and Justice in a Brave New World,” the author explicates the potential for artificial intelligence (AI) in enforcing our laws and the expectations from human legislators to safeguard fair and just outcomes. The author highlights the need for effective AI governance as part of this transformation.
Long-Term Implications
AI’s role in law enforcement could revolutionize judicial processes, making them more streamlined and efficient. However, the long-term implications of this shift could be profound, affecting several aspects of justice:
- Transparency: As AI systems become integral to the judicial process, there may be increasing calls for transparency on how decisions are made. This could drive more inclusive legislation.
- Fairness and Bias: AI systems’ potential bias could impact fairness in law enforcement, necessitating strict scrutiny and regulation.
- Privacy: With increasing data analysis for AI-driven law enforcement, privacy concerns may heighten, leading to more robust data protection laws.
- Legislation: Legislators will need to adapt laws to the evolving technology and its applications, which could fundamentally alter legal frameworks.
Possible Future Developments
Technology continues to evolve relentlessly, and with it, the potential implications of AI in law enforcement broaden:
- Data Analysis: Future developments could include using AI technologies for predictive policing and traffic violation detection, improving overall safety.
- Digitization of Legal Processes: AI technology could automate several legal processes, reducing backlog and increasing efficiency.
- Regulations Around AI Use: Strict regulations may be enacted around AI use in law enforcement to ensure fair practices and protect user data.
Actionable Advice
To realize AI’s potential in law enforcement and safeguard against potential pitfalls, the following steps should be considered:
- Create Transparent AI Systems: Develop AI systems that explain how decisions are made to maintain public trust.
- Review and Regulate: Regular review and stringent regulation of AI systems can help ensure fairness and minimize bias.
- Enhance Data Protection: Protecting privacy must be a priority. Strict data protection and privacy laws need to be in place.
- Continual Legislative Adaptation: Legislators should continually adapt laws and regulations to keep pace with advancing AI technology.
Conclusion
In conclusion, while the integration of AI into law enforcement presents an exciting opportunity for increased efficiency and possibly a higher degree of fairness, it also raises significant concerns. These include transparency, bias, privacy, and the need for new legislation. As technology advances, it is essential to stay vigilant, adapting our systems and laws to ensure that AI’s use in justice serves all of society’s interests.
Read the original article
by jsendak | Jan 12, 2024 | DS Articles
Over the last few years, we have been performing audits on Posit
set-ups, Shiny Applications and general R set-ups. One of our standard
checks is to examine the server headers of a Shiny Server. Numerous
websites do this check for you, but as we have an R-based/Quarto
workflow, it was helpful to write a quick R
package.
The package isn’t on CRAN, but is on the R-universe, so installing is
straightforward
install.packages("serverHeaders",
repos = c("https://jumpingrivers.r-universe.dev",
"https://cloud.r-project.org"))
There are only a couple of exported functions. The core function is
check()
. As an example, let’s use
jumpingrivers.com.
# check returns an invisible data frame of results
serverHeaders::check("jumpingrivers.com")
##
## ── Checking Server ──
##
## ✔ Status code: 301 → 301 → 200
## ✔ SSL available
## ✔ SSL redirection successful: http -> https
## ✔ content-security-policy: Policy present but not parsed
## ✔ content-type: charset set
## ✔ permissions-policy: Value present but not verified
## ✔ referrer-policy: Acceptable setting found
## ✔ strict-transport-security: max_age = 365 days and is greater than 1 year
## ✔ x-content-type-options: Acceptable setting found
## ✔ x-frame-options: Acceptable setting found
The output to the console highlights key server headers that we are
interested in. Of course, the definition of key is open to a lot of
discussion, but we just used
securityheaders.com for guidance.
Before we go further, it’s worth noting that a few years ago we decided
to move from WordPress to a static site generator – Hugo. We made this
decision based on
- static sites are faster;
- static sites are easier to maintain;
- our previous site (WordPress) had to be constantly updated; dealing
with numerous WordPress plugins always worried us – too much much for
what is essentially a simple site.
One of the significant consequences of having a static site is the
attack surface is significantly reduced.
Status codes
The first header is the status code. You’re probably familiar with a
status code of 200 indicating a successful request, and the dreaded 404
indicating a missing page. However, when we look at
jumpingrivers.com, we actually got
three status codes: 301
, 301
, and then the magical 200
. This is
fairly standard. What happens is that jumpingrivers.com is actually the
same as http://jumpingrivers.com
. This redirects (code 301
) to
https://jumpingrivers.com
which redirects to
https://www.jumpingrivers.com
A “bad” site, wouldn’t redirect to the “https” version.
Content security policy
We’ve covered Content Security
Policies
(or CSP) in previous blog posts. By being explicit about where external
resources are loaded from, e.g. Javascript, it gives applications an
extra layer of security.
For example, we can state that Javascript can only be loaded from
jumpingrivers.com and example.com. Any JavaScript resource that is
loaded from another site is automatically blocked by the browser. This
safeguards against attacks such as cross-site scripting.
As jumpingrivers.com is a static site (we use Hugo), we don’t need to
worry about cross-site scripting quite as much; it’s probably overkill.
However, adding CSP to our site has highlighted exactly where we load
external resources from and has encouraged us to keep resources local
where possible.
Permissions policy
Permissions policy is similar to CSPs. Essentially, we specify the
resources we would load on our website. For example, would we expect to
use a camera or microphone? Again, for our static site this is overkill,
but for a Shiny application it’s certainly something you should
consider.
Want to ensure that your application or dashboard follows the latest standards? You might benefit from our Shiny health check.
Referrer policy
When someone clicks a link on a site that takes them to another domain,
the destination site receives information about where that user came
from. This is how we get website analytics about our site traffic.
This isn’t too important for a site like jumpingrivers.com as we don’t
have anything private on our site – everything is open to the world!
However, if your URL contains potentially private information that you
don’t want to be leaked, e.g. example.com/private-info then you should
set the Referrer Policy.
For jumpingrivers.com, we set it to no-referrer-when-downgrade
. This
means when going from https to http, we won’t send the referrer header.
Other than that, we’ll send the full path.
Strict transport security
This header informs browsers that a site should only be accessed using
HTTPS. Once set, any future visits will automatically convert http to
https. Remember, from the status code, that typing jumpingrivers.com
into a browser, the URL automatically resolves to
http://jumpingrivers.com, so this (after the first visit) tightens up
this issue.
X content type options
This stops a browser from trying to MIME-sniff the content type. This
should be set to x-content-type-options: nosniff
.
X frame options
This tells the browser whether or not you want to allow your site to be
framed. At jumpingrivers.com this is set to DENY
.
Shiny servers
The {serverHeaders} package checks common security related headers.
There are certainly others, but the headers described above are
certainly the important one. Many Shiny applications we work with
contain sensitive data, help make business critical decisions and/or are
fundamental to a business process. As such, spending some time securing
your server is to be recommended (a little bit of understatement here).
Acknowlegements
This package is based
on a package originally created by Bob Rudis –
hdrs.
For updates and revisions to this article, see the original post
Continue reading: Security Headers for Shiny Applications
Long-term Implications and Future Developments of Security Headers for Shiny Applications
In recent years, there has been a series of audits being performed on Posit set-ups, Shiny Applications, and general R set-ups. This analysis hinges on the examination of server headers of a Shiny Server, facilitated by an R-based/Quarto workflow. The importance of server headers in the context mentioned cannot be underestimated as they present numerous security benefits.
Potential Future Developments
Looking ahead, it’s likely that we’ll see several changes. The audit of server headers may become more necessary due to their effectiveness in securing information stored in servers. Further improvements are expected to be made on the R package used to examine these headers, contributing to a more efficient auditing process. This will trigger the need for future R packages to include more functionalities to better cater to diverse server configurations and security needs.
The Implications of the Security Headers
Security headers play an essential role in safeguarding servers from potential cyber-attacks. Headers manipulate how your content is rendered and can prevent various malicious attacks traditionally affecting web applications.
Well-secured static sites like Jumping Rivers have demonstrated that successfully audited servers can significantly reduce potential attack surfaces, leading to lower incidences of cybersecurity threats.
Recommendations
- For organizations using static sites, consider an audit on your Shiny Applications and general R set-ups. An audit can expose any vulnerabilities and offer solutions to reduce potential attack surfaces. Even if you consider your site to be low risk, such as Jumping Rivers, regular audits can provide insights into where external resources are loaded from, encouraging keeping resources local where possible.
- The implementation of Content Security Policies (CSPs) and Permission Policies is recommended. This approach is especially important for dynamic sites running Shiny applications, helping to ensure that your site blocks resources loaded from untrusted or unknown sources.
- Review your referrer policy. Any URL that may contain potentially private information should have referrer policies to prevent the leakage of sensitive data when users are directed to another domain.
- Ensure that the ‘strict transport security’ header is set on your website to maintain a secure connection by automatically converting http to https on all future website visits.
- To prevent MIME sniffing attacks, always set the ‘x content type options’ header to ‘nosniff’.
- For businesses dealing with sensitive data or making business-critical decisions on their platform, spending time securing your server is not an option but a necessity in today’s cyber world. Be proactive and consider running a Shiny health check to ensure your application dashboard follows the latest standards.
In conclusion, organizations and businesses should prioritize server audits and security headers implementation. Apart from safeguarding their platforms from possible cyber-attacks, these practices also position them as trustworthy entities among their clients.
Read the original article