3.5 C
New York
Saturday, February 22, 2025
Home Blog Page 3612

Pondering in SwiftUI · objc.io


Over the past months, we’ve got labored laborious at updating our e-book Pondering in SwiftUI. Over the previous years, we had the possibility to conduct SwiftUI workshops for a lot of corporations. Based mostly on this expertise and the suggestions we obtained, our method to explaining SwiftUI has developed loads. Subsequently, we selected to do a full rewrite of the e-book to be on par with our workshops.

The overall construction nonetheless is similar to the earlier version, however the content material is model new. We put a number of emphasis on explaining view timber (which in actual fact would be the first chapter of the e-book) on this re-creation, in addition to how view timber are interpreted when it comes to state, format, animations, and extra. The e-book contains loads of latest diagrams to visualise these ideas.

After WWDC, we had been a bit torn about what to do. Ought to we put out a e-book with out mentioning all the brand new issues? This might be bizarre for those who can goal iOS 17 / macOS 14. But rewriting all the e-book for iOS 17 solely can be not an possibility, as many people nonetheless must help older platforms. As an alternative, we selected to amend the present chapters with callout containers, mentioning related adjustments. As well as, we’ll have a separate iOS 17 chapter in the interim. For the ultimate launch of the e-book (as soon as the brand new stuff is out of beta) we’ll attempt to combine the contents of that chapter into the remainder of the e-book.

Resulting from this transition section, we have determined to launch the brand new version as a beta model. We plan to place out the chapters one-by-one as we’re integrating new iOS 17 matters. Throughout this prerelease section, we’re additionally internet hosting a weekly Q&A stay stream. The first stay stream will probably be at this time (Friday June sixteenth) at 18:00 GMT+1 (9am PST). You possibly can submit any questions you might have for us over at this Github repository.

Till now we’ve got up to date all of our books without spending a dime ever since we began objc.io (over ten years in the past!). Since this replace of Pondering in SwiftUI isn’t an incremental one, however an entire rewrite from the bottom up, we have determined to launch it as a brand new product – the prelease model is on the market now.

Is Disabling Clickable URL Hyperlinks Sufficient?

0


blog.knowbe4.comhubfssocial-suggested-imagesblog.knowbe4.comhubfsSocial Image RepositoryEvangelist Blog Social GraphicsEvangelists-Roger Grimes-1.Just lately, we had a buyer attain out to ask if disabling clickable uniform useful resource locator (URL) hyperlinks in emails was sufficient safety by itself to doubtlessly not want worker safety consciousness coaching and simulated phishing.

Small smartphone NanoPhone is measurement of bank card

0



Small smartphone NanoPhone is measurement of bank card

Fed up with gigantic smartphones? If even the iPhone mini appeared outsized to you, possibly you’ll admire an extremely small smartphone just like the NanoPhone. Smaller than a bank card, this tiny smartphone proves preferrred for these moments while you want one thing terribly compact, featherweight and fuss-free.

Whether or not you’re touring gentle, hitting the gymnasium or simply getting bored with lugging round a cumbersome machine, the NanoPhone is your streamlined answer to staying linked with out the additional weight. And you will get this teensy smartphone for a small worth: simply $109.99 (marked down from $199.99).

Look how small this smartphone is

When Apple launched the iPhone 6 Plus a decade in the past, the phablet’s overwhelming success just about marked the tip of fairly sized smartphones. A small however vocal group of iPhone homeowners needed one thing extra pocket-friendly, and Apple responded with the iPhone 12 mini. Sadly for followers of small smartphones, the iPhone mini flopped.

Nonetheless, that doesn’t imply the small smartphone ought to go extinct. Typically you simply need the fundamentals: no frills, no big display, only a easy, dependable method to keep linked with out carrying a brick in your pocket. In order for you an enormous display and spectacular processing energy, you possibly can at all times spring for an iPhone 15 Professional Max. However if you’d like one thing compact, you need to take a look at the NanoPhone. It actually lives as much as the identify.

The NanoPhone measures 3.5 inches lengthy and fewer than 2 inches huge. However don’t let its remarkably small measurement idiot you. This tiny smartphone is totally useful and doesn’t skimp on efficiency.

Due to 4G and Wi-Fi connectivity, you’ll zip by means of searching, streaming and staying linked on social apps like WhatsApp and Instagram, all whereas having fun with easy, dependable efficiency. Plus, you possibly can snap a selfie or seize video with the NanoPhone’s front- and rear-facing cameras.

Sorry, iPhone loyalists, this telephone runs on Android 10. Nonetheless, the general feel and look of the NanoPhone is all iPhone — even when it’s in regards to the measurement of a enterprise card.

An incredible possibility for vacationers trying to pare again

The NanoPhone appears particularly well-positioned for vacationers trying to lighten the load — or safe a backup telephone in case you by accident smash your iPhone or drop it in a river. Twin SIM assist means you possibly can separate your work and social life or juggle journey SIM playing cards on the street. And the NanoPhone’s sturdy development makes this small smartphone a severe contender on your new favourite journey gear.

There’s even a microSD slot that permits for expandable storage. Which means you possibly can load up your little telephone with films and video games for boring layovers and comfortable consolation watching.

Save on the NanoPhone, a small smartphone that prices simply $109.99

Keep in mind when smartphones had been sufficiently small to comfortably slot in your pocket? You may return to these glory days with this small smartphone that’s nice for journey or as a backup. Get the NanoPhone on sale for $109.99. That’s a forty five% low cost off the common worth of $199.99.

Purchase from: Cult of Mac Offers

Costs topic to vary. All gross sales dealt with by StackSocial, our companion who runs Cult of Mac Offers. For buyer assist, please e mail StackSocial instantly.



FlightAware configuration error leaked consumer information for years


FlightAware configuration error leaked consumer information for years

Flight monitoring platform FlightAware is asking some customers to reset their account login passwords due to an information safety incident which will have uncovered private info.

The know-how firm is predicated in Houston, Texas and gives real-time in addition to historic flight monitoring information. FlightAware is taken into account the world’s largest flight-tracking platform with a community of 32,000 Automated Dependent Surveillance-Broadcast (ADS-B) floor stations in 200 nations.

In a notification on the web site of California’s Workplace of the Legal professional Normal, the firm informs that the date of the information safety incident is January 1, 2021 and the trigger was a configuration error.

The error was found on July 25, 2024, leaving private consumer info uncovered for greater than three years. It’s unclear if any of the information has been compromised.

“On July 25, 2024, we found a configuration error which will have inadvertently uncovered your private info in your FlightAware account, together with consumer ID, password, and e mail deal with,” reads the discover.

Moreover, the next information sorts might have been compromised for some customers, relying on whether or not individuals opted so as to add them on their accounts:

  • Full identify
  • Billing deal with
  • Delivery deal with
  • IP deal with
  • Social media account
  • Phone quantity
  • 12 months of delivery
  • Final 4 digits of bank card quantity
  • Details about plane owned
  • Pilot standing
  • Trade and title
  • Account exercise (together with flights seen and feedback posted)
  • Social Safety quantity (SSN)

FlightAware stated that the configuration error has been remediated now, and all account holders whose information has been uncovered will likely be prompted to reset their passwords on their subsequent login to the platform.

“Out of an abundance of warning, we’re additionally requiring all probably impacted customers to reset their password. You can be prompted to take action at your subsequent log-in to FlightAware.” – FlightAware

The service additionally gives a devoted web page for the customers that need to reset their account password instantly, out there right here.

All customers receiving the information safety incident notification are provided a free-of-charge 24-month identification safety bundle by means of Equifax and are suggested to report suspicious exercise to their native regulation enforcement authorities.

Any consumer counting on the identical credentials for logging into different on-line platforms ought to reset them there too as quickly as doable to mitigate the chance of account hijacking by way of credential stuffing assaults.

BleepingComputer has requested FlightAware if they’ve proof of unauthorized entry and the variety of impacted customers, and we’ll replace this publish after we hear again.

Seamless integration of knowledge lake and knowledge warehouse utilizing Amazon Redshift Spectrum and Amazon DataZone

0


Unlocking the true worth of knowledge typically will get impeded by siloed data. Conventional knowledge administration—whereby every enterprise unit ingests uncooked knowledge in separate knowledge lakes or warehouses—hinders visibility and cross-functional evaluation. An information mesh framework empowers enterprise items with knowledge possession and facilitates seamless sharing.

Nonetheless, integrating datasets from completely different enterprise items can current a number of challenges. Every enterprise unit exposes knowledge belongings with various codecs and granularity ranges, and applies completely different knowledge validation checks. Unifying these necessitates further knowledge processing, requiring every enterprise unit to provision and keep a separate knowledge warehouse. This burdens enterprise items targeted solely on consuming the curated knowledge for evaluation and never involved with knowledge administration duties, cleaning, or complete knowledge processing.

On this publish, we discover a strong structure sample of a knowledge sharing mechanism by bridging the hole between knowledge lake and knowledge warehouse utilizing Amazon DataZone and Amazon Redshift.

Resolution overview

Amazon DataZone is a knowledge administration service that makes it easy for enterprise items to catalog, uncover, share, and govern their knowledge belongings. Enterprise items can curate and expose their available domain-specific knowledge merchandise via Amazon DataZone, offering discoverability and managed entry.

Amazon Redshift is a quick, scalable, and absolutely managed cloud knowledge warehouse that lets you course of and run your advanced SQL analytics workloads on structured and semi-structured knowledge. 1000’s of shoppers use Amazon Redshift knowledge sharing to allow instantaneous, granular, and quick knowledge entry throughout Amazon Redshift provisioned clusters and serverless workgroups. This lets you scale your learn and write workloads to 1000’s of concurrent customers with out having to maneuver or copy the information. Amazon DataZone natively helps knowledge sharing for Amazon Redshift knowledge belongings. With Amazon Redshift Spectrum, you may question the information in your Amazon Easy Storage Service (Amazon S3) knowledge lake utilizing a central AWS Glue metastore out of your Redshift knowledge warehouse. This functionality extends your petabyte-scale Redshift knowledge warehouse to unbounded knowledge storage limits, which lets you scale to exabytes of knowledge cost-effectively.

The next determine exhibits a typical distributed and collaborative architectural sample applied utilizing Amazon DataZone. Enterprise items can merely share knowledge and collaborate by publishing and subscribing to the information belongings.

Seamless integration of knowledge lake and knowledge warehouse utilizing Amazon Redshift Spectrum and Amazon DataZone

The Central IT group (Spoke N) subscribes the information from particular person enterprise items and consumes this knowledge utilizing Redshift Spectrum. The Central IT group applies standardization and performs the duties on the subscribed knowledge akin to schema alignment, knowledge validation checks, collating the information, and enrichment by including further context or derived attributes to the ultimate knowledge asset. This processed unified knowledge can then persist as a brand new knowledge asset in Amazon Redshift managed storage to fulfill the SLA necessities of the enterprise items. The brand new processed knowledge asset produced by the Central IT group is then printed again to Amazon DataZone. With Amazon DataZone, particular person enterprise items can uncover and immediately devour these new knowledge belongings, gaining insights to a holistic view of the information (360-degree insights) throughout the group.

The Central IT group manages a unified Redshift knowledge warehouse, dealing with all knowledge integration, processing, and upkeep. Enterprise items entry clear, standardized knowledge. To devour the information, they’ll select between a provisioned Redshift cluster for constant high-volume wants or Amazon Redshift Serverless for variable, on-demand evaluation. This mannequin permits the items to give attention to insights, with prices aligned to precise consumption. This permits the enterprise items to derive worth from knowledge with out the burden of knowledge administration duties.

This streamlined structure method gives a number of benefits:

  • Single supply of reality – The Central IT group acts because the custodian of the mixed and curated knowledge from all enterprise items, thereby offering a unified and constant dataset. The Central IT group implements knowledge governance practices, offering knowledge high quality, safety, and compliance with established insurance policies. A centralized knowledge warehouse for processing is commonly extra cost-efficient, and its scalability permits organizations to dynamically alter their storage wants. Equally, particular person enterprise items produce their very own domain-specific knowledge. There aren’t any duplicate knowledge merchandise created by enterprise items or the Central IT group.
  • Eliminating dependency on enterprise items – Redshift Spectrum makes use of a metadata layer to immediately question the information residing in S3 knowledge lakes, eliminating the necessity for knowledge copying or counting on particular person enterprise items to provoke the copy jobs. This considerably reduces the danger of errors related to knowledge switch or motion and knowledge copies.
  • Eliminating stale knowledge – Avoiding duplication of knowledge additionally eliminates the danger of stale knowledge current in a number of areas.
  • Incremental loading – As a result of the Central IT group can immediately question the information on the information lakes utilizing Redshift Spectrum, they’ve the flexibleness to question solely the related columns wanted for the unified evaluation and aggregations. This may be carried out utilizing mechanisms to detect the incremental knowledge from the information lakes and course of solely the brand new or up to date knowledge, additional optimizing useful resource utilization.
  • Federated governance – Amazon DataZone facilitates centralized governance insurance policies, offering constant knowledge entry and safety throughout all enterprise items. Sharing and entry controls stay confined inside Amazon DataZone.
  • Enhanced value appropriation and effectivity – This methodology confines the associated fee overhead of processing and integrating the information with the Central IT group. Particular person enterprise items can provision the Redshift Serverless knowledge warehouse to solely devour the information. This manner, every unit can clearly demarcate the consumption prices and impose limits. Moreover, the Central IT group can select to use chargeback mechanisms to every of those items.

On this publish, we use a simplified use case, as proven within the following determine, to bridge the hole between knowledge lakes and knowledge warehouses utilizing Redshift Spectrum and Amazon DataZone.

custom blueprints and spectrum

The underwriting enterprise unit curates the information asset utilizing AWS Glue and publishes the information asset Insurance policies in Amazon DataZone. The Central IT group subscribes to the information asset from the underwriting enterprise unit. 

We give attention to how the Central IT group consumes the subscribed knowledge lake asset from enterprise items utilizing Redshift Spectrum and creates a brand new unified knowledge asset.

Conditions

The next stipulations have to be in place:

  • AWS accounts – It is best to have energetic AWS accounts earlier than you proceed. If you happen to don’t have one, seek advice from How do I create and activate a brand new AWS account? On this publish, we use three AWS accounts. If you happen to’re new to Amazon DataZone, seek advice from Getting began.
  • A Redshift knowledge warehouse – You possibly can create a provisioned cluster following the directions in Create a pattern Amazon Redshift cluster, or provision a serverless workgroup following the directions in Get began with Amazon Redshift Serverless knowledge warehouses.
  • Amazon Knowledge Zone sources – You want a website for Amazon DataZone, an Amazon DataZone venture, and a new Amazon DataZone surroundings (with a customized AWS service blueprint).
  • Knowledge lake asset – The information lake asset Insurance policies from the enterprise items was already onboarded to Amazon DataZone and subscribed by the Central IT group. To grasp affiliate a number of accounts and devour the subscribed belongings utilizing Amazon Athena, seek advice from Working with related accounts to publish and devour knowledge.
  • Central IT surroundings – The Central IT group has created an surroundings known as env_central_team and makes use of an current AWS Identification and Entry Administration (IAM) function known as custom_role, which grants Amazon DataZone entry to AWS companies and sources, akin to Athena, AWS Glue, and Amazon Redshift, on this surroundings. So as to add all of the subscribed knowledge belongings to a typical AWS Glue database, the Central IT group configures a subscription goal and makes use of central_db because the AWS Glue database.
  • IAM function – Make it possible for the IAM function that you simply wish to allow within the Amazon DataZone surroundings has essential permissions to your AWS companies and sources. The next instance coverage gives ample AWS Lake Formation and AWS Glue permissions to entry Redshift Spectrum:
{
	"Model": "2012-10-17",
	"Assertion": [{
		"Effect": "Allow",
		"Action": [
			"lakeformation:GetDataAccess",
			"glue:GetTable",
			"glue:GetTables",
			"glue:SearchTables",
			"glue:GetDatabase",
			"glue:GetDatabases",
			"glue:GetPartition",
			"glue:GetPartitions"
		],
		"Useful resource": "*"
	}]
}

As proven within the following screenshot, the Central IT group has subscribed to the information Insurance policies. The information asset is added to the env_central_team surroundings. Amazon DataZone will assume the custom_role to assist federate the surroundings consumer (central_user) to the motion hyperlink in Athena. The subscribed asset Insurance policies is added to the central_db database. This asset is then queried and consumed utilizing Athena.

The objective of the Central IT group is to devour the subscribed knowledge lake asset Insurance policies with Redshift Spectrum. This knowledge is additional processed and curated into the central knowledge warehouse utilizing the Amazon Redshift Question Editor v2 and saved as a single supply of reality in Amazon Redshift managed storage. Within the following sections, we illustrate devour the subscribed knowledge lake asset Insurance policies from Redshift Spectrum with out copying the information.

Routinely mount entry grants to the Amazon DataZone surroundings function

Amazon Redshift routinely mounts the AWS Glue Knowledge Catalog within the Central IT Staff account as a database and permits it to question the information lake tables with three-part notation. That is out there by default with the Admin function.

To grant the required entry to the mounted Knowledge Catalog tables for the surroundings function (custom_role), full the next steps:

  1. Log in to the Amazon Redshift Question Editor v2 utilizing the Amazon DataZone deep hyperlink.
  2. Within the Question Editor v2, select your Redshift Serverless endpoint and select Edit Connection.
  3. For Authentication, choose Federated consumer.
  4. For Database, enter the database you wish to hook up with.
  5. Get the present consumer IAM function as illustrated within the following screenshot.

getcurrentUser from Redshift QEv2

  1. Connect with Redshift Question Editor v2 utilizing the database consumer title and password authentication methodology. For instance, hook up with dev database utilizing the admin consumer title and password. Grant utilization on the awsdatacatalog database to the surroundings consumer function custom_role (change the worth of current_user with the worth you copied):
GRANT USAGE ON DATABASE awsdatacatalog to "IAMR:current_user"

grantpermissions to awsdatacatalog

Question utilizing Redshift Spectrum

Utilizing the federated consumer authentication methodology, log in to Amazon Redshift. The Central IT group will be capable to question the subscribed knowledge asset Insurance policies (desk: coverage) that was routinely mounted underneath awsdatacatalog.

query with spectrum

Mixture tables and unify merchandise

The Central IT group applies the mandatory checks and standardization to combination and unify the information belongings from all enterprise items, bringing them on the similar granularity. As proven within the following screenshot, each the Insurance policies and Claims knowledge belongings are mixed to type a unified combination knowledge asset known as agg_fraudulent_claims.

creatingunified product

These unified knowledge belongings are then printed again to the Amazon DataZone central hub for enterprise items to devour them.

unified asset published

The Central IT group additionally unloads the information belongings to Amazon S3 so that every enterprise unit has the flexibleness to make use of both a Redshift Serverless knowledge warehouse or Athena to devour the information. Every enterprise unit can now isolate and put limits to the consumption prices on their particular person knowledge warehouses.

As a result of the intention of the Central IT group was to devour knowledge lake belongings inside a knowledge warehouse, the really helpful resolution could be to make use of customized AWS service blueprints and deploy them as a part of one surroundings. On this case, we created one surroundings (env_central_team) to devour the asset utilizing Athena or Amazon Redshift. This accelerates the event of the information sharing course of as a result of the identical surroundings function is used to handle the permissions throughout a number of analytical engines.

Clear up

To scrub up your sources, full the next steps:

  1. Delete any S3 buckets you created.
  2. On the Amazon DataZone console, delete the tasks used on this publish. It will delete most project-related objects like knowledge belongings and environments.
  3. Delete the Amazon DataZone area.
  4. On the Lake Formation console, delete the Lake Formation admins registered by Amazon DataZone together with the tables and databases created by Amazon DataZone.
  5. If you happen to used a provisioned Redshift cluster, delete the cluster. If you happen to used Redshift Serverless, delete any tables created as a part of this publish.

Conclusion

On this publish, we explored a sample of seamless knowledge sharing with knowledge lakes and knowledge warehouses with Amazon DataZone and Redshift Spectrum. We mentioned the challenges related to conventional knowledge administration approaches, knowledge silos, and the burden of sustaining particular person knowledge warehouses for enterprise items.

With a view to curb working and upkeep prices, we proposed an answer that makes use of Amazon DataZone as a central hub for knowledge discovery and entry management, the place enterprise items can readily share their domain-specific knowledge. To consolidate and unify the information from these enterprise items and supply a 360-degree perception, the Central IT group makes use of Redshift Spectrum to immediately question and analyze the information residing of their respective knowledge lakes. This eliminates the necessity for creating separate knowledge copy jobs and duplication of knowledge residing in a number of locations.

The group additionally takes on the duty of bringing all the information belongings to the identical granularity and course of a unified knowledge asset. These mixed knowledge merchandise can then be shared via Amazon DataZone to those enterprise items. Enterprise items can solely give attention to consuming the unified knowledge belongings that aren’t particular to their area. This manner, the processing prices might be managed and tightly monitored throughout all enterprise items. The Central IT group may also implement chargeback mechanisms based mostly on the consumption of the unified merchandise for every enterprise unit.

To study extra about Amazon DataZone and get began, seek advice from Getting began. Try the YouTube playlist for a few of the newest demos of Amazon DataZone and extra details about the capabilities out there.


Concerning the Authors

Lakshmi Nair is a Senior Analytics Specialist Options Architect at AWS. She focuses on designing superior analytics programs throughout industries. She focuses on crafting cloud-based knowledge platforms, enabling real-time streaming, large knowledge processing, and strong knowledge governance.

Srividya Parthasarathy is a Senior Large Knowledge Architect on the AWS Lake Formation group. She enjoys constructing analytics and knowledge mesh options on AWS and sharing them with the group.