News Aggregator


Virtual Machine Gaming: Setup and Performance Boost

Aggregated on: Wed May 24 2023 17:15:39 GMT+0000 (Coordinated Universal Time)

Virtualization creates many opportunities to optimize the use of hardware resources. That works not only for organizations that build high-performance servers to run complex environments. Individuals can also benefit from the functions and features that workload virtualization provides. But what if you want to use a virtual machine for gaming? In short: that’s possible. A gamer can use a virtual machine (VM) to run games with reasonable benefits over traditional PC gaming approaches. Virtual machines were designed to make hardware usage more convenient and flexible along with the boost in security. However, when you consider VM gaming, things become more complicated. The performance issue arises especially urgently when you want to run a resource-intensive game on a virtual machine. 

View more...

Identify and Fix XSS Vulnerabilities in Your Web App

Aggregated on: Wed May 24 2023 16:45:39 GMT+0000 (Coordinated Universal Time)

What Is Cross-Site Scripting? Cross-Site Scripting (XSS) is a code-injection vulnerability that occurs in applications that process HTML when developers do not sanitize user input well enough before inserting it into an HTML template. It allows an attacker to insert arbitrary JavaScript code into a template and execute it in the user’s context: In the image above, the developer failed to sanitize the content of the "last-name" div, which resulted in users being able to include malicious scripts by manipulating their last name.

View more...

Why You Should Consider Using React Router V6: An Overview of Changes

Aggregated on: Wed May 24 2023 16:00:39 GMT+0000 (Coordinated Universal Time)

React Router is a widely used routing library for React applications due to its API, which simplifies integration. The latest version of React-router (v6) was released in November 2021 and marked a significant API change. Version 5 of React-router was released in March 2019, but it faced some problems with its routing algorithm and configuration defaults. In version 6, React hooks are the driving force behind the new release, resulting in more efficient and compact code. The article discusses the major problems with version 5, as well as changes to routing logic, bundle size reduction, route protection, and redirection, new features for forms in version 6.4, and also the features that are no longer available in the new version.

View more...

What Is End-To-End Testing? E2E Testing Tutorial With Examples and Best Practices

Aggregated on: Wed May 24 2023 15:45:39 GMT+0000 (Coordinated Universal Time)

End-to-end testing, or E2E testing, as the name suggests, is the testing methodology that validates a software workflow from start to end. The primary goal of E2E testing is to simulate an end user's application journey and ensure that all integrated components, dependencies, and other integrated pieces work as expected. While this looks obvious that the testing has to be done with all components attached, end-to-end testing is the last stage of testing and is usually done infrequently. This is especially so if the application under test is extensive, i.e., it has hundreds of components and thousands of dependencies.

View more...

Using OpenAI Embeddings Search With SingleStoreDB

Aggregated on: Wed May 24 2023 15:30:39 GMT+0000 (Coordinated Universal Time)

In this article, we'll test the ability of SingleStoreDB to store and query the OpenAI Wikipedia Vector Database dataset. We'll see that SingleStoreDB can manage this dataset with ease. SingleStoreDB has supported a range of vector functions for some time, and these functions are ideally suited for modern applications using GPT technology. The notebook file used in this article is available on GitHub.

View more...

Extending Java APIs: Add Missing Features Without the Hassle

Aggregated on: Wed May 24 2023 15:30:39 GMT+0000 (Coordinated Universal Time)

The Java API is vast. That’s great, but sometimes a missing method or capability can be frustrating. With Manifold, developers can solve this problem without having to wait for Java to add a feature in a later version. Even more importantly, Manifold provides many such extensions out of the box, making Java better for developers. In this post, we will discuss the extension capability. It lets us change classes in the Java API in a compatible way without risk. If Java adds these APIs later, then we can seamlessly switch to them. Before I proceed, the code for this tutorial and the previous tutorials in the series is available here. I will skip setting up as it was covered in the previous installments of the series. You can see the specific pom file settings for this time in the project directly.

View more...

How To Become a 10x Dev: An Essential Guide

Aggregated on: Wed May 24 2023 15:30:39 GMT+0000 (Coordinated Universal Time)

In a Nutshell Software development is a team sport. Your individual performance doesn't matter as much as the performance of your whole team and company. By improving how you work, you only ADD to your team's performance. By improving how everyone works, you MULTIPLY your team's performance. Multiplying the whole team's performance will put you on a much faster lane for being noticed and promoted than being a crazy efficient individual contributor. Boosting other people's performance requires a different mindset and approach than boosting your individual performance. In this article, I'll show you 16 proven ways to multiply your team's performance (or even the whole company). The Common Misconception of 10x Dev If you google the term "10x developer", you'll get many results related to individual performance. Check out the quotes from a few of the top results that I've got:

View more...

Auditing Tools for Kubernetes

Aggregated on: Wed May 24 2023 13:45:39 GMT+0000 (Coordinated Universal Time)

Kubernetes is an open-source container orchestration platform that has revolutionized the way applications are deployed and managed. With Kubernetes, developers can easily deploy and manage containerized applications at scale and in a consistent and predictable manner. However, managing Kubernetes environments can be challenging, and security risks are always a concern. Therefore, it's important to have the right auditing tools in place to ensure that the Kubernetes environment is secure, compliant, and free of vulnerabilities. In this article, we will discuss some of the top auditing tools that can be used to help secure Kubernetes and ensure compliance with best practices. 1. Kubernetes Audit Kubernetes Audit is a native Kubernetes tool that provides an audit log of all changes made to the Kubernetes API server. In addition, it captures events related to requests made to the Kubernetes API server and the responses generated by the server. This audit information can be used to troubleshoot issues and verify compliance with best practices.

View more...

Observability Architecture: Financial Payments Introduction

Aggregated on: Wed May 24 2023 11:15:38 GMT+0000 (Coordinated Universal Time)

Back in September 2020, I was researching open-source architectures - meaning looking at several customer solutions from my employer at the time - and developing a generic view of these solutions for certain use cases. One of the use cases is known as financial payments. Back in 2020, I kicked off a series covering this architecture with the article Payments Architecture - An Introduction. The series consisted of six articles and covered architectural diagrams from logical and schematic to detailed views of the various use cases we uncovered.

View more...

8 Data Anonymization Techniques to Safeguard User PII Data

Aggregated on: Tue May 23 2023 22:45:38 GMT+0000 (Coordinated Universal Time)

In today's data-driven market, data translates to more power and opportunity for businesses. But as it is said, “With great power comes greater responsibility.” As more personal information is being collected and analyzed by organizations, the need to protect an individual's privacy and prevent the misuse or unauthorized access of the personal data comes with it. The Netflix Prize, a dataset released in 2006 to improve and innovate Netflix's recommendation algorithm, containing a large amount of user data from Netflix's movie recommendation service, including user ratings and rental histories, spurred the need for data anonymization.  According to the DLA Piper’s latest annual General Data Protection Regulation (GDPR) Fines and Data Breach Survey, Europe have issued a total of EUR1.64bn (USD1.74bn/GBP1.43bn) in fines since 28 January 2022 under GDPR. A year-over-year increase in aggregate reported GDPR fines of 50%.

View more...

Building Resilient Systems With Chaos Engineering

Aggregated on: Tue May 23 2023 22:15:38 GMT+0000 (Coordinated Universal Time)

In today’s digital age, the reliability and availability of software systems are critical to the success of businesses. Downtime or performance issues can have serious consequences, including financial loss and reputational damage. Therefore, it is essential for organizations to ensure that their systems are resilient and can withstand unexpected failures or disruptions. One approach to achieving this is through chaos engineering. What Is Chaos Engineering? Chaos engineering is a practice that involves intentionally introducing failures or disruptions to a system to test its resilience and identify weaknesses. By simulating real-world scenarios, chaos engineering helps organizations proactively identify and address potential issues before they occur in production. This approach can help organizations build more resilient systems, reduce downtime, and improve overall performance.

View more...

Auto-Scaling Kinesis Data Streams Applications on Kubernetes

Aggregated on: Tue May 23 2023 20:30:38 GMT+0000 (Coordinated Universal Time)

Want to learn how to auto-scale your Kinesis Data Streams consumer applications on Kubernetes so you can save on costs and improve resource efficiency? This blog offers a step-by-step guide on how to do just that. By leveraging Kubernetes for auto-scaling Kinesis consumer applications, you can benefit from its built-in features such as the Horizontal Pod Autoscaler.

View more...

Security Challenges for Microservice Applications in Multi-Cloud Environments

Aggregated on: Tue May 23 2023 20:15:38 GMT+0000 (Coordinated Universal Time)

As more organizations expand their cloud strategy into a mix of private cloud, public cloud, on-prem data centers, and edge sites, thus embracing multi-cloud as part of their digital transformation initiatives, new security challenges emerge and must be considered at every stage of security initiatives. Operating in the cloud offers multiple benefits, and any organization, whether public, private, or governmental, currently uses a cloud of some kind to accomplish at least part of its business functions. 

View more...

A Complete Guide to AWS File Handling and How It Is Revolutionizing Cloud Storage

Aggregated on: Tue May 23 2023 20:15:38 GMT+0000 (Coordinated Universal Time)

File handling in AWS is essentially a cloud storage solution that enables corporations to store, manage, and access their data in the cloud. AWS provides a wide range of cloud storage solutions to handle files effectively.  Among these, Amazon S3 is the most popular and widely used service for object storage in the cloud. It offers highly scalable, durable, and secure storage for any kind of data, such as images, videos, documents, and backups, at a low cost. 

View more...

Understanding the Deployment of Deep Learning Algorithms on Embedded Platforms

Aggregated on: Tue May 23 2023 19:00:38 GMT+0000 (Coordinated Universal Time)

Embedded platforms have become an integral part of our daily lives, revolutionizing our technological interaction. These platforms, equipped with deep learning algorithms, have opened a world of possibilities, enabling smart devices, autonomous systems, and intelligent applications. Therefore, the deployment of deep learning algorithms on embedded platforms is crucial. It involves the process of optimizing and adapting deep learning models to run efficiently on resource-constrained embedded systems such as microcontrollers, FPGAs, and CPUs. This deployment process often requires model compression, quantization, and other techniques to reduce the model size and computational requirements without sacrificing performance. The global market for embedded systems has experienced rapid expansion, expected to reach USD 170.04 billion in 2023. As per the precedence research survey, it is expected to continue its upward trajectory, with estimates projecting it to reach approximately USD 258.6 billion by 2032. The forecasted Compound Annual Growth Rate (CAGR) during the period from 2023 to 2032 is around 4.77%. Several key insights emerge from the market analysis. In 2022, North America emerged as the dominant region, accounting for 51% of the total revenue share, while Asia Pacific held a considerable share of 24%. In terms of hardware platforms, the ASIC segment had a substantial market share of 31.5%, and the microprocessor segment captured 22.3% of the revenue share in 2022.

View more...

Redefining DevOps: The Transformative Power of Containerization

Aggregated on: Tue May 23 2023 17:30:38 GMT+0000 (Coordinated Universal Time)

In the rapidly evolving digital age, DevOps has emerged as a crucial paradigm reshaping the software development landscape. DevOps, a term derived from 'Development' and 'Operations,' integrates these two historically siloed functions into a unified approach focused on shortening the software development life cycle. As a result, DevOps practices promote faster, more reliable software releases and facilitate continuous integration, continuous delivery, and high availability, enhancing business competitiveness and agility. However, the ceaseless quest for increased efficiency and more robust delivery processes has led us to an innovation that is having a profound impact on the way we develop and deliver software: containerization. Containerization involves encapsulating or packaging up software code and all its dependencies to run uniformly and consistently on any infrastructure. This remarkable technology is not merely an incremental improvement in the DevOps world; it is a significant leap forward, transforming the operational effectiveness of software development and deployment.

View more...

Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing

Aggregated on: Tue May 23 2023 15:45:38 GMT+0000 (Coordinated Universal Time)

In the rapidly evolving landscape of technology, the role of cloud computing is more significant than ever. This revolutionary paradigm continues to reshape the way businesses operate, fostering an environment ripe for unprecedented innovation. In this in-depth exploration, we take a journey into the future of cloud computing, discussing emerging trends such as autonomous and distributed cloud, generative AI tools, multi-cloud strategies, and Kubernetes – the cloud’s operating system. We will also delve into the increasing integration of data, AI, and machine learning, which promises to unlock new levels of efficiency, insight, and functionality in the cloud. Let’s explore these fascinating developments and their implications for developer productivity and the broader industry. Autonomous Cloud: The Self-Managing Future One of the most anticipated trends is the autonomous cloud, where the management of cloud services is largely automated. Leveraging advanced AI and machine learning algorithms, autonomous clouds are capable of self-healing, self-configuring, and self-optimizing. They can predict and preemptively address potential issues, reducing the workload on IT teams and improving the reliability of services. As cloud infrastructure complexity grows, the value of such autonomous features will be increasingly critical in maintaining optimal performance and availability.

View more...

Beginner Intro to Real-Time Debugging for Mobile Apps: Tools and Techniques

Aggregated on: Tue May 23 2023 14:45:38 GMT+0000 (Coordinated Universal Time)

Do you often spend hours hunting down bugs in your mobile app only to discover a missed debugging step? You're not alone. Debugging can be a frustrating and time-consuming aspect of mobile app development. What if you could troubleshoot and resolve issues in your mobile app as they arise without the hassle of prolonged and intricate debugging sessions? Enter real-time debugging - the solution that enables developers to enhance the speed and efficiency of the debugging process.

View more...

MongoDB: 5 Syntactic Weirdnesses to Keep in Mind

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

People like to complain about MongoDB. For instance, maybe they feel that it ruined their social network, or any number of other less recent complaints. The debate gets so heated, though, that sometimes valid criticisms - and nothing is above criticism - are dismissed as bandwagon hatred. It's a problem that Slava Kim seems very aware of in this recent blog post on some of the syntactic weirdnesses of MongoDB. It's not bashing, Kim stresses. For developers to effectively use any technology, they need to understand the "sharp edges." Kim goes into detail for each warning, covering five general areas:

View more...

A Modern Alternative to Abstract Factory Filtered Dependencies

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

I've mentioned before that I really don’t like the Abstract Factory pattern, and in particular, code like this: static IGUIFactory CreateOsSpecificFactory() { string sysType = ConfigurationSettings.AppSettings["OS_TYPE"]; if (sysType == "Win") { return new WindowsFactory(); } else { return new MacFactory(); } } One of the comments mentioned that this might not be ideal, but it is still better than:

View more...

Monetizing Mods: What we Learned from Valve and 'Skyrim'

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

There’s an old adage, “the best things in life aren’t free.” However, in the gaming community, this notion is completely upended. Mods are incredibly prevalent in the gaming world, and usually come at no cost. These normally free downloads change the original and unaltered, or vanilla, game in various capacities. Mods can present minor tweaks, like “Half-Life 2: Update,” or major overhauls such as “Half-Life 2: Cinematic Mod.” Whether a mod manifests as simply improved eye candy, or an entirely different experience, there’s usually one constant: it’s free. Well, aside from the cost of the base game. However, the modding dynamic was poised for upheaval when the always-innovative Valve added a paid mods feature  to its signature Steam Workshop recently. An early paid mod for “Skyrim,” a fishing mod, was removed quickly because it apparently employed assets from another mod. This coupled with an internet outrage prompted Valve to nix the idea entirely. 

View more...

Microsoft Aims to Take Over IoT with Windows 10

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

Everybody's trying to get in on the big-money future of IoT, and now "everybody" includes Microsoft with Windows 10. Larry Dignan at ZDNet put together a look at Windows 10's role in IoT - as it's been described by Microsoft CEO Satya Nadella at the Gartner Symposium ITXpo, at least - which suggests that the new OS will be a central platform for IoT systems of all types. Specifically: Windows will be able to run on everything from sensors to wearables to whatever computing shift emerges.

View more...

Microsoft Releases Pricing Info for Surface Tablets, Taking Pre-Orders

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

Earlier today, the Microsoft Store updated with pricing information and details about the new Microsoft Surface tablets running Windows RT. We haven't yet seen pricing information about the Surface Pro, but today's update shows us details about three versions of the Surface running Windows RT, which is the low-end version of the upcoming Windows 8 operating system. Options There will be three options for the Surface tablet with Windows RT:

View more...

Microsoft Information Leaker 'Exiting the Game', But Not Without Spilling More Beans

Aggregated on: Tue May 23 2023 11:30:38 GMT+0000 (Coordinated Universal Time)

A reliable source of Microsoft-centric information leaks, MSnerd has announced he is exiting the arena.  But before he goes, he's decided to answer any and all questions related to Microsoft and their place in the industry in a Q&A session on Reddit.  Of particular interest are the topics of Silverlight and potential Windows Phone 'Apollo' upgrades for 1st and 2nd generation Windows Phone users. Silverlight Rumors have been swirling for some time now that Silverlight might be on its way out of the Microsoft product line.  However, MSnerd says that Silverlight will continue to be utilized in three areas:

View more...

MaxScale for the Rest of Us, Part 3: Install and Configure MaxScale

Aggregated on: Tue May 23 2023 11:00:38 GMT+0000 (Coordinated Universal Time)

This third post in this series of blogs about MaxScale is finally getting where you want to go: Install and configure MaxScale. The first blog in this series was an overview of what MaxScale is and the second about how to set up a Cluster of MariaDB servers, using MariaDB Replication, for MaxScale to access. But now it's time to introduce MaxScale. If you skipped the second post as you already know how to set up MariaDB with Replication and all that, be remineded that I will use the same Linux server setup as outlined there even for the MaxScale server and for a client to do some testing, and I recommend you stick with that for now (for MariaDB itself you can use any relevant setup you want, MaxSCale doesn't really care, but MaxScale is pretty new and has still not been tested on that many platforms, so try to stick to the CentOS 6.5 setup I propose.

View more...

MapReduce Algorithms: Understanding Data Joins, Part II

Aggregated on: Tue May 23 2023 11:00:38 GMT+0000 (Coordinated Universal Time)

It’s been awhile since I last posted, and like last time I took a big break, I was taking some classes on Coursera. This time it was Functional Programming Principals in Scala and Principles of Reactive Programming. I found both of them to be great courses and would recommend taking either one if you have the time. In this post we resume our series on implementing the algorithms found in Data-Intensive Text Processing with MapReduce, this time covering map-side joins. As we can guess from the name, map-side joins join data exclusively during the mapping phase and completely skip the reducing phase. In the last post on data joins we covered reduce side joins. Reduce-side joins are easy to implement, but have the drawback that all data is sent across the network to the reducers. Map-side joins offer substantial gains in performance since we are avoiding the cost of sending data across the network. However, unlike reduce-side joins, map-side joins require very specific criteria be met. Today we will discuss the requirements for map-side joins and how we can implement them. Map-Side Join Conditions To take advantage of map-side joins our data must meet one of following criteria:

View more...

Meet This Year's Top Committers

Aggregated on: Tue May 23 2023 11:00:38 GMT+0000 (Coordinated Universal Time)

Today we complete our trilogy of interviews with the Individual Eclipse Community Awards nominees with the Top Committer nominees.  The award is to recognize an Eclipse committer who best exemplifies support for the community through newsgroups, Bugzilla, white papers, conference presentations, blogs and other forums. This year's Top Committer nominees are:

View more...

Easy Microdata in WordPress

Aggregated on: Tue May 23 2023 11:00:38 GMT+0000 (Coordinated Universal Time)

HTML5 is making huge strides toward the semantic web -- and the semantic standards defined by the Google/Bing/Yahoo-backed schema.org are probably prudent standards to follow. But if we're talking prudence, practicality, and semantics, then we're probably talking CMS too -- not that coding isn't unremitting joy, of course, but there isn't really much point to coding semantics when you're using a CMS to manage content anyway.

View more...

[LIVESTREAM] Day 2 of Google I/O, Channel 3

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Google I/O got off to a great start yesterday with some incredible insights on what Google has in store for its developers. Here's the live stream of Google I/O for Channel 3. Check out Channel 1 and 2, and get the full schedule here. All times are in PDT.

View more...

Live-updated Apple Announcement Coverage

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

 Apple is expected to make a big announcement today, holding a special press event that has generated a lot of buzz in the past few weeks. Rumors abound about what Apple will announce, with popular speculation that two new iPhones will be revealed -- the iPhone 5S, the successor to the current-gen iPhone, and the cheaper iPhone 5C, an economical version of the iPhone meant to compete with Samsung in emerging markets.

View more...

Leave us a Comment: What Are You Working On?

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Developers have a tendency to work a lot. Maybe your job is a grueling nine-to-five torture that you can't wait to quit, or maybe it's a dream come true, just the best day ever, every day. Either way, there's a good chance that you go home and keep working on something of your own. You know, like: A weird IoT device that texts you when your dog is asleep A load testing tool for Kafka clusters hosted on AWS A clock that lets you know when you're going to die. Some other productive and creative endeavor:

View more...

Interviews from the ALM Forum: Like SETI@home, but For Your Builds

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Check out John's interview with Dave West at the ALM Forum as well Remember SETI@home -- the screensaver that uses your idle CPU cycles to find an extraterrestrial needle in a radio-noise haystack?

View more...

Lock free message passing algorithms with Groovy++

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Last time we talked about implementation of functional queues with Groovy++ Today we will use these queues to implement several algorithms for processing of asynchronious messages. You can find source code and more examples in the Groovy++ distro What we want to do is to implement simplified actor, the object which sequentially process asynchroniously coming messages. There are two types of actors

View more...

[LIVESTREAM] Day 2 of Google I/O, Channel 2

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Google I/O got off to a great start yesterday with some incredible insights on what Google has in store for its developers. Here's the live stream of Google I/O for Channel 2. Check out Channel 1 and 3, and get the full schedule here. All times are in PDT.

View more...

[LIVESTREAM] Day 2 of Google I/O, Channel 1

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Google I/O got off to a great start yesterday with some incredible insights on what Google has in store for its developers. Here's the live stream of Google I/O for Channel 1. Check out Channel 2 and 3, and get the full schedule here. All times are in PDT.

View more...

The Magic Testing Challenge: Part 2

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

My last article raised an interesting discussion whether you should see tests more as documentation or more as specification. I agree that they can contribute to both of them, but I still think tests are just - tests... There were also complaints about my statement that testing often becomes tedious work which nobody likes. Also here I agree, that techniques like TDD can help you to structure your code and make sure you code exactly what is needed by writing the tests, but the result of the process will still be a class which needs to be tested somehow.

View more...

Making A Good Thing Even Better: Google Open Source WindowBuilder and CodePro Profiler

Aggregated on: Tue May 23 2023 10:30:38 GMT+0000 (Coordinated Universal Time)

Back in September, when Google announced they were to make the Instantiations tool suite free for all, I thought things couldn't get better than this for Java developers. Well I was wrong, today Google trumped that announcement with their latest plan to open source both WindowBuilder and CodePro Profiler. Google is donating the source and the IP for both of these former products to the open source community through the Eclipse Foundation, and creating two new Eclipse projects. All in all, this is a value of more than $5 million dollars worth of code and IP. For those unfamiliar with the products, WindowBuilder provides the best available Java GUI Designer available, integrated into Eclipse allowing you to build Swing, SWT, RCP and GWT interfaces. CodePro Profiler helps you to identify performance issues in your Java code. 

View more...

JXSE and Equinox Tutorial, Part 3: Introducing the JP2P Container

Aggregated on: Tue May 23 2023 09:45:38 GMT+0000 (Coordinated Universal Time)

 Abstract It has been a while since the first and second posts of this series, but a lot has happened in the past few months, most notably the fact that the code from eclipselabs is going to be ported to Project Chaupal which will (eventually) be(come) the OSGI implementation of the JXTA specs. As a result, I decided to rename the packages and make the architecture as clean as possible prior to the change. This tutorial will cover some of the features which are already available, and can help to make the development of JXTA applications in Eclipse/Equinox a bit easier.

View more...

Keeping in Touch With EclipseCon 2009

Aggregated on: Tue May 23 2023 09:45:38 GMT+0000 (Coordinated Universal Time)

 There's only one weekend left until we get to EclipseCon 2009 - and I can't wait! You'll have already seen what talks I'm looking forward to. We'll have lots of coverage of the conference here at EclipseZone. Another really easy way to follow the conference is by using Twitter to follow EclipseCon people. All you need to do to find these people is head over to the EclipseCon Birds Nest.  There's four different ways to partipate - as a standardfollower, as a speaker, an exhibitor or an attendee. There's going to be a Twitter monitor in the lounge area for people to watch what people are saying about the conference. Twittervision - how cool is that?! Ian Skerrett is also planning a tweetup on Sunday night.Over the last few weeks I've become a Twitter addict myself - it's a great way to keep in touch with the latest goings on. (If you want to follow me, just go to my profile as dzonejames.)In other EclipseCon news, Sun Microsystems have become a Gold Sponsor for the conference. They will be showing their Eclipse support for JavaFX, GlassFish and Solaris. It's good to see Sun there. If you haven't registered yet, there's still time for advance registration, ending today. Make sure to use your DZone coupon to get 10% off, using the DZONE10 code. Otherwise you can register on site. So, if you want to stay in the loop for EclipseCon, become part of the Birds Nest , follow me around on Twitter and keep visiting EclipseZone.

View more...

Kinect SDK - resources for developers

Aggregated on: Tue May 23 2023 09:45:38 GMT+0000 (Coordinated Universal Time)

The official Kinect SDK is here, so there shouldn’t be any problems with incompatible frameworks and libraries on Windows systems. That being said, there are already a couple of interesting resources that I would say are important for developers who just start Kinect development, and for those that were already working with it (e.g. with OpenNI or OpenKinect).   Binaries/Toolkits/Samples Download the SDK Microsoft Speech SDK 5.1 Coding4Fun Kinect Toolkit Kinect for Windows SDK Quickstarts samples and slides KinectContrib (with Visual Studio 2010 Templates for Kinect SDK) Documentation Kinect SDK – Programming Guide Kinect SDK FAQ Kinect SDK Forums Skeletal Viewer Walkthrough—Rendering Data with the NUI API (C++ and C#) AudioCaptureRaw Walkthrough—Capturing the Raw Audio Stream (C++) MFAudioFilter Walkthrough—Capturing Audio Streams with a Media Foundation Audio Filter (C++) MicArrayEchoCancellation Walkthrough—Capturing Audio Streams with Acoustic Echo Cancellation and Beam Forming (C++) RecordAudio Walkthrough—Recording an Audio Stream and Monitoring Direction (C#) Speech Walkthrough—Recognizing Voice Commands (C#) Drawing joints in XNA Kinect SDK and F# – a standard library in a non-standard language Kinect Fundamentals #1: Installation & Setup Kinect Fundamentals #2: Basic programming Kinect Fundamentals #3: Getting distance-data from the Depth Sensor Intro to the Kinect SDK–Adding Speech Recognition Videos Installing and Using the Kinect Sensor Setting Up Your Development Environment Skeletal Tracking Fundamentals Camera Fundamentals Working with Depth Data Audio Fundamentals Projects Jellybean, the Kinect Drivable Lounge Chair Kinect Lightsaber Kinductor Kinect + WP7 Interop Kinect Paint Kinect Mouse Cursor NOTE: More resources/links will be added as those appear. If you have something to add, leave a link in the comments section below.

View more...

JXSE and Equinox Tutorial, Part 2

Aggregated on: Tue May 23 2023 09:45:38 GMT+0000 (Coordinated Universal Time)

JXSE and Equinox Tutorial, Part 2 NOTE: As of January 2015, you can integrate JXTA in OSGI through an update site. The WIKI  At chaupal.org  gives detailed instructions on how to use the new 2.8.x JXSE bundles for OSGI.Many of the features covered here are implemented by default. Abstract In the first post of this series, we covered the quickest way to get JXSE 2.7x working in Equinox and, with some considerations, probably other OSGI frameworks as well. The approach aimed to get the same functionality as you would get by using the jar file in a regular JAVA setting, but as I demonstrated, Equinox does have the benefit of allowing multiple JXSE instances to run simultaneously, which is a great benefit when developing JXSE applications. In this second tutorial, we will cover some ways of improving the functionality by severing the dependency on the 4.2x version of Jetty (which has just released it's 9.0 version!) and we will introduce some basic tools to visualize the properties and functions of JXSE. This will improve the development cycle of JXSE applications even more.

View more...

JXSE and Equinox Tutorial, Part 1

Aggregated on: Tue May 23 2023 09:45:38 GMT+0000 (Coordinated Universal Time)

Abstract NOTE: As of January 2015, you can integrate JXTA in OSGI through an update site. The WIKI  At chaupal.org  gives detailed instructions on how to use the new 2.8.x JXSE bundles for OSGI. This extended series of tutorials will cover the various ways that the JAVA P2P framework JXSE (formerly popularly known as JXTA, and currently the most up-to-date JAVA implementation of the JXTA specifications) can be made to work with Equinox (the engine on which Eclipse runs). It would be tempting to replace Equinox with OSGI, and indeed many of the issues covered here will work fine with alternative OSGI implementations such as Apache Felix or Knopflerfish, but I will concentrate on Equinox because it will allow us to do a few things with JXSE that requires a bit more handwork on other OSGI platforms. Besides this, I have tested the code on Equinox alone, so I don't want to get ahead of myself. This tutorial is work in progress, so the document will be re-edited a few times. This tutorial not meant to cover the principles behind P2P in general, and JXTA/JXSE in particular. If you are interested in this, I'd recommend the (free) book Practical Jxta II by Jérôme Verstrynge, or to go through the online manuals for JXTA 2.5, JXSE 2.6 and 2.7. This first tutorial is aimed to get you started with JXSE 2.7x in an Equinox environment. The reader is expected to have a good understanding on developing plugins with the Eclipse IDE. If you are new to Eclipse I would advise you to read the excellent articles on developing plugins by Lars Vogel and brush up on OSGI and Equinox while you're at it.

View more...

JavaScript Kinetic Scrolling: Part 5 (Cover Flow Effect)

Aggregated on: Tue May 23 2023 09:15:38 GMT+0000 (Coordinated Universal Time)

 [editor's note: be sure to check out  part 1  ,  part 2  ,  part 3  , and  part 4  ]  in the fifth part of this  javascript kinetic scrolling  tutorial, a demo of the attractive  cover flow  effect (commonly found in some apple products) using the deadly combination of  kinetic scrolling  and  css 3-d  will be shown. the entire logic is implemented in ~200 lines of javascript code.

View more...

JFXtras RadialMenu for NetBeans RCP (Part 2)

Aggregated on: Tue May 23 2023 09:15:38 GMT+0000 (Coordinated Universal Time)

this article is part 2 of a tutorial that will walk through adapting an open source javafx radialmenu (  http://jfxtras.org/  ) to replace the netbeans platform system menu.  it will build upon both previous tutorials and  part 1  that demonstrate complete replacements for the default netbeans swing components using javafx.  code examples will feature netbeans platform, javafx and css. part 1  of the article walks through some of the code upgrades necessary for the task.  as of this article’s writing the open-source jfxtras radialmenu needed a few upgrades to act as a system menu replacement for a netbeans platform rcp.  part 2 will show the specific algorithm and code to then utilize the upgraded radialmenu as described.  when complete you should be able to produce a slick radial system menu like this:

View more...

JetBrains Releases YouTrack 1.0

Aggregated on: Tue May 23 2023 09:15:38 GMT+0000 (Coordinated Universal Time)

Keyboard-centric bug and issue tracker YouTrack 1.0 that we have previously announced has been finally released to the general public! You can download YouTrack as a JAR or WAR distribution, evaluate it for 60 days, and choose between two editions:

View more...

A Java Programmer’s Guide to Random Numbers. Part 2: Not just coins and dice

Aggregated on: Tue May 23 2023 05:45:38 GMT+0000 (Coordinated Universal Time)

This is the second in a series of articles about random numbers in Java programs. The series covers the following topics and also serves as an introduction to the random numbers package of the Uncommons Maths library: True Random Numbers and Pseudorandom Numbers Statistical Quality (making sure the dice are not loaded) Performance (because sometimes you really do need half a million random numbers a second) Different kinds of randomness (because not everything can be modelled by tossing a coin) Degrees of Freedom (is every possible outcome actually possible?) Security and Integrity (when not losing money depends on nobody knowing what happens next) Part 1 of this series discussed different kinds of random number generators (RNGs), highlighted the issues with using the default Java RNGs (java.util.Random and java.security.SecureRandom) and introduced the Uncommons Maths library, which provides three fast, high-quality alternative Java RNGs.

View more...

JavaFX Goes Mobile

Aggregated on: Tue May 23 2023 05:45:38 GMT+0000 (Coordinated Universal Time)

Today sees the release of JavaFX 1.1, allowing developers to put their JavaFX RIA applications on mobile phones, as well as the desktop. I talked with a few of the folks at Sun, including Param Singh, Senior Director of JavaFX at Sun, John Burkey, JavaFX Architect and Mandini Romani, who runs the JavaFX platform. In this article I'll go through what's included in this release, as well as ask find out a little more about the things in JavaFX that I've wondered about - mostly the integration between Swing, or SWT, and JavaFX.

View more...

JavaFX Gets Video Capabilities

Aggregated on: Tue May 23 2023 05:45:38 GMT+0000 (Coordinated Universal Time)

Get ready for high quality video on the screens of your life. Sun has entered into a multi-year agreement with On2 Technologies, to provide immersive media and content on your JavaFX applications. "The JavaFX runtime environment is designed from the ground up to support high fidelity media, empowering content authors to deliver media-rich content and applications across all the screens of your life. On2 shares Sun's vision of driving video convergence across desktops and mobile devices and we look forward to working with On2 to deliver this capability as part of the JavaFX family of products," said Rich Green, executive vice president, Software at Sun. RIAs written in JavaFX will be able to use the On2 video codecs from Fall 2008, at the same time as the 1.0 release of JavaFX desktop (an early access release is expected in July). We'll need to wait until Spring 2009 for JavaFX Mobile and JavaFX TV.  The same high resolution video will run across all of these platforms.

View more...

IoT's Security Nightmare: Unpatched Devices that Never Die

Aggregated on: Tue May 23 2023 05:15:38 GMT+0000 (Coordinated Universal Time)

As the Internet of Things becomes a ubiquitous idea and a fact of life, what happens to all the aging and increasingly insecure Things? According to Wired's Robert Mcmillan, responding to a recent question on the security of IoT from Dan Geer, this may be a serious problem [1][2]. The solution, Mcmillan suggests, is to design these devices with an expiration date. In other words: they need to be programmed to die. The problem may not be too severe now, but the future of the Internet of Things will look different than it does now. Security will likely loosen, because software will be a part of everything, and it tends to be the case that things mass produced to that degree experience a bit of a drop in quality. That, Mcmillan argues, presents a problem:

View more...

Java Enterprise and Desktop: Spot The Difference

Aggregated on: Tue May 23 2023 05:15:38 GMT+0000 (Coordinated Universal Time)

The two main branches of Java development, Enterpise and Desktop, have traditionally been seen as separate skill sets. But some current trends are contributing to blurring the line between the desktop and the web.For years I've been working on desktop Java with Swing and with the Eclipse platform. I've regarded JEE development as a separate activity, targeting the web market.  Some changes in the industry have led me to question this assumption. What is an Enterprise Application Anyway? Before we discuss why desktop and enterprise Java aren’t all that different, we should look at what defines an application as an enterprise application 

View more...