6.6 C
New York
Friday, April 11, 2025
Home Blog Page 3810

Breaking Out of the Field – A Checklist Aside


CSS is about styling containers. In actual fact, the entire internet is fabricated from containers, from the browser viewport to parts on a web page. However each infrequently a brand new function comes alongside that makes us rethink our design strategy.

Article Continues Beneath

Spherical shows, for instance, make it enjoyable to play with round clip areas. Cell display notches and digital keyboards supply challenges to finest manage content material that stays away from them. And twin display or foldable units make us rethink find out how to finest use accessible house in numerous totally different system postures.

Sketches of a spherical show, a typical rectangular cell show, and a tool with a foldable show.

These current evolutions of the online platform made it each tougher and extra fascinating to design merchandise. They’re nice alternatives for us to interrupt out of our rectangular containers.

I’d like to speak a couple of new function just like the above: the Window Controls Overlay for Progressive Net Apps (PWAs).

Progressive Net Apps are blurring the strains between apps and web sites. They mix the very best of each worlds. On one hand, they’re steady, linkable, searchable, and responsive similar to web sites. Then again, they supply extra highly effective capabilities, work offline, and skim recordsdata similar to native apps.

As a design floor, PWAs are actually fascinating as a result of they problem us to consider what mixing internet and device-native person interfaces may be. On desktop units specifically, we’ve got greater than 40 years of historical past telling us what functions ought to appear like, and it may be onerous to interrupt out of this psychological mannequin.

On the finish of the day although, PWAs on desktop are constrained to the window they seem in: a rectangle with a title bar on the prime.

Right here’s what a typical desktop PWA app seems to be like:

Sketches of two rectangular person interfaces representing the desktop Progressive Net App establishment on the macOS and Home windows working techniques, respectively. 

Positive, because the writer of a PWA, you get to decide on the colour of the title bar (utilizing the Net Software Manifest theme_color property), however that’s about it.

What if we may suppose outdoors this field, and reclaim the actual property of the app’s total window? Doing so would give us an opportunity to make our apps extra stunning and really feel extra built-in within the working system.

That is precisely what the Window Controls Overlay affords. This new PWA performance makes it attainable to benefit from the complete floor space of the app, together with the place the title bar usually seems.

Concerning the title bar and window controls#section2

Let’s begin with a proof of what the title bar and window controls are.

The title bar is the realm displayed on the prime of an app window, which often incorporates the app’s identify. Window controls are the affordances, or buttons, that make it attainable to attenuate, maximize, or shut the app’s window, and are additionally displayed on the prime.

A sketch of an oblong utility person interface highlighting the title bar space and window management buttons.

Window Controls Overlay removes the bodily constraint of the title bar and window controls areas. It frees up the complete peak of the app window, enabling the title bar and window management buttons to be overlaid on prime of the applying’s internet content material. 

A sketch of an oblong utility person interface utilizing Window Controls Overlay. The title bar and window controls are now not in an space separated from the app’s content material.

If you’re studying this text on a desktop laptop, take a fast take a look at different apps. Likelihood is they’re already doing one thing just like this. In actual fact, the very internet browser you might be utilizing to learn this makes use of the highest space to show tabs.

A screenshot of the highest space of a browser’s person interface exhibiting a bunch of tabs that share the identical horizontal house because the app window controls.

Spotify shows album paintings all the way in which to the highest fringe of the applying window.

A screenshot of an album in Spotify’s desktop utility. Album paintings spans the whole width of the primary content material space, all the way in which to the highest and proper edges of the window, and the fitting fringe of the primary navigation space on the left aspect. The appliance and album navigation controls are overlaid immediately on prime of the album paintings.

Microsoft Phrase makes use of the accessible title bar house to show the auto-save and search functionalities, and extra.

A screenshot of Microsoft Phrase’s toolbar interface. Doc file info, search, and different performance seem on the prime of the window, sharing the identical horizontal house because the app’s window controls.

The entire level of this function is to let you make use of this house with your personal content material whereas offering a option to account for the window management buttons. And it lets you supply this modified expertise on a spread of platforms whereas not adversely affecting the expertise on browsers or units that don’t help Window Controls Overlay. In any case, PWAs are all about progressive enhancement, so this function is an opportunity to boost your app to make use of this additional house when it’s accessible.

Let’s use the function#section3

For the remainder of this text, we’ll be engaged on a demo app to be taught extra about utilizing the function.

The demo app is known as 1DIV. It’s a easy CSS playground the place customers can create designs utilizing CSS and a single HTML aspect.

The app has two pages. The primary lists the present CSS designs you’ve created:

A screenshot of the 1DIV app displaying a thumbnail grid of CSS designs a person created.

The second web page lets you create and edit CSS designs:

A screenshot of the 1DIV app editor web page. The highest half of the window shows a rendered CSS design, and a textual content editor on the underside half of the window shows the CSS used to create it.

Since I’ve added a easy internet manifest and repair employee, we will set up the app as a PWA on desktop. Here’s what it seems to be like on macOS:

Screenshots of the 1DIV app thumbnail view and CSS editor view on macOS. This model of the app’s window has a separate management bar on the prime for the app identify and window management buttons.

And on Home windows:

Screenshots of the 1DIV app thumbnail view and CSS editor view on the Home windows working system. This model of the app’s window additionally has a separate management bar on the prime for the app identify and window management buttons.

Our app is trying good, however the white title bar within the first web page is wasted house. Within the second web page, it will be very nice if the design space went all the way in which to the highest of the app window.

Let’s use the Window Controls Overlay function to enhance this.

Enabling Window Controls Overlay#section4

The function remains to be experimental in the meanwhile. To attempt it, it is advisable allow it in one of many supported browsers.

As of now, it has been applied in Chromium, as a collaboration between Microsoft and Google. We are able to due to this fact use it in Chrome or Edge by going to the inner about://flags web page, and enabling the Desktop PWA Window Controls Overlay flag.

Utilizing Window Controls Overlay#section5

To make use of the function, we have to add the next display_override member to our internet app’s manifest file:

{
  "identify": "1DIV",
  "description": "1DIV is a mini CSS playground",
  "lang": "en-US",
  "start_url": "/",
  "theme_color": "#ffffff",
  "background_color": "#ffffff",
  "display_override": [
    "window-controls-overlay"
  ],
  "icons": [
    ...
  ]
}

On the floor, the function is admittedly easy to make use of. This manifest change is the one factor we have to make the title bar disappear and switch the window controls into an overlay.

Nonetheless, to offer an ideal expertise for all customers no matter what system or browser they use, and to take advantage of the title bar space in our design, we’ll want a little bit of CSS and JavaScript code.

Here’s what the app seems to be like now:

Screenshot of the 1DIV app thumbnail view utilizing Window Controls Overlay on macOS. The separate prime bar space is gone, however the window controls are actually blocking a number of the app’s interface

The title bar is gone, which is what we wished, however our emblem, search discipline, and NEW button are partially coated by the window controls as a result of now our structure begins on the prime of the window.

It’s comparable on Home windows, with the distinction that the shut, maximize, and decrease buttons seem on the fitting aspect, grouped along with the PWA management buttons:

Screenshot of the 1DIV app thumbnail show utilizing Window Controls Overlay on the Home windows working system. The separate prime bar space is gone, however the window controls are actually blocking a number of the app’s content material.

Utilizing CSS to maintain away from the window controls#section6

Together with the function, new CSS surroundings variables have been launched:

  • titlebar-area-x
  • titlebar-area-y
  • titlebar-area-width
  • titlebar-area-height

You employ these variables with the CSS env() operate to place your content material the place the title bar would have been whereas guaranteeing it gained’t overlap with the window controls. In our case, we’ll use two of the variables to place our header, which incorporates the emblem, search bar, and NEW button. 

header {
  place: absolute;
  left: env(titlebar-area-x, 0);
  width: env(titlebar-area-width, 100%);
  peak: var(--toolbar-height);
}

The titlebar-area-x variable offers us the gap from the left of the viewport to the place the title bar would seem, and titlebar-area-width is its width. (Keep in mind, this isn’t equal to the width of the whole viewport, simply the title bar portion, which as famous earlier, doesn’t embody the window controls.)

By doing this, we be sure our content material stays absolutely seen. We’re additionally defining fallback values (the second parameter within the env() operate) for when the variables should not outlined (reminiscent of on non-supporting browsers, or when the Home windows Management Overlay function is disabled).

Screenshot of the 1DIV app thumbnail view on macOS with Window Controls Overlay and our CSS up to date. The app content material that the window controls had been blocking has been repositioned.
Screenshot of the 1DIV app thumbnail view on the Home windows working system with Window Controls Overlay and our up to date CSS. The app content material that the window controls had been blocking has been repositioned.

Now our header adapts to its environment, and it doesn’t really feel just like the window management buttons have been added as an afterthought. The app seems to be much more like a local app.

Altering the window controls background colour so it blends in#section7

Now let’s take a better take a look at our second web page: the CSS playground editor.

Screenshots of the 1DIV app CSS editor view with Window Controls Overlay in macOS and Home windows, respectively. The window controls overlay areas have a strong white background colour, which contrasts with the recent pink colour of the instance CSS design displayed within the editor.

Not nice. Our CSS demo space does go all the way in which to the highest, which is what we wished, however the way in which the window controls seem as white rectangles on prime of it’s fairly jarring.

We are able to repair this by altering the app’s theme colour. There are a few methods to outline it:

  • PWAs can outline a theme colour within the internet app manifest file utilizing the theme_color manifest member. This colour is then utilized by the OS in numerous methods. On desktop platforms, it’s used to offer a background colour to the title bar and window controls.
  • Web sites can use the theme-color meta tag as nicely. It’s utilized by browsers to customise the colour of the UI across the internet web page. For PWAs, this colour can override the manifest theme_color.

In our case, we will set the manifest theme_color to white to offer the fitting default colour for our app. The OS will learn this colour worth when the app is put in and use it to make the window controls background colour white. This colour works nice for our important web page with the listing of demos.

The theme-color meta tag may be modified at runtime, utilizing JavaScript. So we will try this to override the white with the fitting demo background colour when one is opened.

Right here is the operate we’ll use:

operate themeWindow(bgColor) {
  doc.querySelector("meta[name=theme-color]").setAttribute('content material', bgColor);
}

With this in place, we will think about how utilizing colour and CSS transitions can produce a easy change from the listing web page to the demo web page, and allow the window management buttons to mix in with the remainder of the app’s interface.

Screenshot of the 1DIV app CSS editor view on the Home windows working system with Window Controls Overlay and up to date CSS demonstrating how the window management buttons mix in with the remainder of the app’s interface.

Dragging the window#section8

Now, eliminating the title bar totally does have an necessary accessibility consequence: it’s far more troublesome to maneuver the applying window round.

The title bar gives a large space for customers to click on and drag, however by utilizing the Window Controls Overlay function, this space turns into restricted to the place the management buttons are, and customers need to very exactly purpose between these buttons to maneuver the window.

Fortuitously, this may be fastened utilizing CSS with the app-region property. This property is, for now, solely supported in Chromium-based browsers and desires the -webkit- vendor prefix. 

To make any aspect of the app change into a dragging goal for the window, we will use the next: 

-webkit-app-region: drag;

It’s also attainable to explicitly make a component non-draggable: 

-webkit-app-region: no-drag; 

These choices may be helpful for us. We are able to make the whole header a dragging goal, however make the search discipline and NEW button inside it non-draggable to allow them to nonetheless be used as regular.

Nonetheless, as a result of the editor web page doesn’t show the header, customers wouldn’t have the ability to drag the window whereas enhancing code. So let’s use a unique strategy. We’ll create one other aspect earlier than our header, additionally completely positioned, and devoted to dragging the window.


...
.drag {
  place: absolute;
  prime: 0;
  width: 100%;
  peak: env(titlebar-area-height, 0);
  -webkit-app-region: drag;
}

With the above code, we’re making the draggable space span the whole viewport width, and utilizing the titlebar-area-height variable to make it as tall as what the title bar would have been. This manner, our draggable space is aligned with the window management buttons as proven under.

And, now, to verify our search discipline and button stay usable:

header .search,
header .new {
  -webkit-app-region: no-drag;
}

With the above code, customers can click on and drag the place the title bar was. It’s an space that customers anticipate to have the ability to use to maneuver home windows on desktop, and we’re not breaking this expectation, which is sweet.

An animated view of the 1DIV app being dragged throughout a Home windows desktop with the mouse.

Adapting to window resize#section9

It might be helpful for an app to know each whether or not the window controls overlay is seen and when its measurement modifications. In our case, if the person made the window very slim, there wouldn’t be sufficient house for the search discipline, emblem, and button to suit, so we’d wish to push them down a bit.

The Window Controls Overlay function comes with a JavaScript API we will use to do that: navigator.windowControlsOverlay.

The API gives three fascinating issues:

  • navigator.windowControlsOverlay.seen lets us know whether or not the overlay is seen.
  • navigator.windowControlsOverlay.getBoundingClientRect() lets us know the place and measurement of the title bar space.
  • navigator.windowControlsOverlay.ongeometrychange lets us know when the scale or visibility modifications.

Let’s use this to pay attention to the scale of the title bar space and transfer the header down if it’s too slim.

if (navigator.windowControlsOverlay) {
  navigator.windowControlsOverlay.addEventListener('geometrychange', () => {
    const { width } = navigator.windowControlsOverlay.getBoundingClientRect();
    doc.physique.classList.toggle('slim', width < 250);
  });
}

Within the instance above, we set the slim class on the physique of the app if the title bar space is narrower than 250px. We may do one thing comparable with a media question, however utilizing the windowControlsOverlay API has two benefits for our use case:

  • It’s solely fired when the function is supported and used; we don’t wish to adapt the design in any other case.
  • We get the scale of the title bar space throughout working techniques, which is nice as a result of the scale of the window controls is totally different on Mac and Home windows. Utilizing a media question wouldn’t make it attainable for us to know precisely how a lot house stays.
.slim header {
  prime: env(titlebar-area-height, 0);
  left: 0;
  width: 100%;
}

Utilizing the above CSS code, we will transfer our header down to remain away from the window management buttons when the window is just too slim, and transfer the thumbnails down accordingly.

A screenshot of the 1DIV app on Home windows exhibiting the app’s content material adjusted for a a lot narrower viewport.

Thirty pixels of thrilling design alternatives#section10

Utilizing the Window Controls Overlay function, we have been in a position to take our easy demo app and switch it into one thing that feels a lot extra built-in on desktop units. One thing that reaches out of the same old window constraints and gives a customized expertise for its customers.

In actuality, this function solely offers us about 30 pixels of additional room and comes with challenges on find out how to cope with the window controls. And but, this additional room and people challenges may be become thrilling design alternatives.

Extra units of all shapes and types get invented on a regular basis, and the online retains on evolving to adapt to them. New options get added to the online platform to permit us, internet authors, to combine increasingly deeply with these units. From watches or foldable units to desktop computer systems, we have to evolve our design strategy for the online. Constructing for the online now lets us suppose outdoors the oblong field.

So let’s embrace this. Let’s use the usual applied sciences already at our disposal, and experiment with new concepts to offer tailor-made experiences for all units, all from a single codebase!

Should you get an opportunity to attempt the Window Controls Overlay function and have suggestions about it, you may open points on the spec’s repository. It’s nonetheless early within the growth of this function, and you’ll assist make it even higher. Or, you may check out the function’s current documentation, or this demo app and its supply code

Tips on how to convert Phrase to Excel?


Caught with complicated Phrase paperwork? Have to analyse knowledge however sick of manually copy pasting knowledge factors or tables into Excel spreadsheets? Your reply might be sure, which is how you might have landed right here. 

Whereas we agree that Microsoft Phrase is nice for text-based paperwork, it’s not specialised for sustaining information of information, analysing or visualising it. Therefore, changing a Phrase doc into an Excel spreadsheet opens up an array of instruments like, charts, graphs, and pivot tables that can be utilized for diving deeper into the information. 

So can you exchange phrase paperwork into Excel? After all, sure. Microsoft Phrase is without doubt one of the hottest doc administration software program. Since, Excel belongs to the identical product suite changing a Phrase Doc to an Excel Sheet is pretty easy and simple.

We will probably be exploring two totally different use circumstances on this article.

  1. Tips on how to convert a Phrase paperwork to Excel?
  2. Tips on how to convert a phrase desk to Excel?

We will probably be taking an instance of a financial institution assertion to raised clarify the complete course of.

Evidently, each include sure distinctive challenges which we will probably be addressing as properly. And lastly, we’ll take a fast look at a complicated resolution for extra sophisticated wants. 

Tips on how to convert a Phrase doc to Excel?

So, let’s soar into it. A plain textual content phrase doc might be something, a financial institution assertion, a authorized contract, an order type, a report, and so on. Let’s take the instance of a financial institution assertion to elucidate the complete common course of one can observe for conversion. Merely save the phrase doc as a plain textual content file and use Excel’s Import operate. Beneath is a step-by-step information for doing so:

Step 1: Open the phrase doc you want to be transformed to Excel. I’m taking a Financial institution Assertion that’s haphazardly organized on a phrase doc.

Step 2: Subsequent, we have to be sure that the doc is saved as a plain textual content file. 

Click on on “File” possibility on the Fast Entry toolbar above > “Save As” > Choose the specified location > Regulate the title of the file > “Save As” kind must be Plain textual content (*.txt) > Hit “Save.

Step 3: Now we’re able to create an Excel spreadsheet. 

Open a “New” Excel Spreadsheet and click on on the “Knowledge” possibility on the Fast Entry toolbar above > “Get and Remodel Knowledge” > “From File” > “From Textual content”. Choose the file we saved within the above step from the file explorer that opens up. Hit “Import”.

Step 4: You now get the possibility to preview and alter the information if you wish to. 

You want to determine which “Delimiter” works finest in your knowledge. You’ll get a preview of the information as you undergo all of the choices within the listing. Widespread choices embrace, “Area”, “Tab” or “Colon”. On this instance, “Area” labored finest for us.

Step 5: If you wish to make adjustments, you may click on on “Remodel” after which add or delete columns, rows, and so on. As soon as you’re glad with the preview of the information, click on on “Load”. You’ll be able to alter the formatting right here as properly.

So there, we have now it. The final course of one can observe when changing a Phrase doc to Excel. Evidently, there are distinctive challenges related to this course of based mostly on the content material of the phrase doc and its complexity.

💡

Problem:

Deciding on the delimiter.

The most important problem is choosing the “Delimiter” possibility as it could actually make or break your knowledge import. Excel affords a number of choices, together with, Comma, Colon, Area, Tab, Semicolon, to call a number of. “Delimiter” is mainly a personality which will probably be interpreted by Excel as a cue to switch the next knowledge into the subsequent cell. The problem might be intensified based mostly on the particular kind of doc you’re changing. For instance, a authorized contract, a list report, an order type can all current with totally different codecs and totally different delimiter necessities.

So, let’s say, within the above instance, we’re taking a look at a brand new row entry into the transactions desk which seems on the phrase doc, like, “07/03/2024 Switch from Financial savings $400.00”. The areas between the phrases point out that “07/03/2024”, “Switch from Financial savings” and “$400.00” are all alleged to be in separate cells. The character “area” acts as a delimiter right here and lets us know that these are separate phrases. It acts as an indicator for Excel to switch the next knowledge into an adjoining cell.

💡

Advice:

Pre-process your knowledge substituting a delimiter as a substitute of your common areas.

Pre-processing your knowledge can considerably cut back the guide effort wanted right here. Decide a delimiter in your head. The “area” labored for us within the above instance, however, simply to recommend an alternate, let’s choose “semicolon”. The pre-processed knowledge would look one thing like, “07/03/2024;Switch from Financial savings;$400.00”. Now, Excel will choose this row up and create adjoining entries for “07/03/2024”, “Switch from Financial savings” and “$400.00” splitting on the character “;”.

💡

Resolution:

Leverage Clever Doc Processing instruments.

Pre-processing turns into tedious, error-prone and useful resource intensive when the amount of paperwork is giant. Think about pre-processing hundreds of invoices, stock lists, order kinds, authorized contracts, and so on. You would at all times flip to Clever doc processing instruments, like Nanonets that may detect and extract particular knowledge factors out of your paperwork in addition to auto-detect tables to extract them individually. So, the time it takes so that you can pre-process the file after which use Excel native options to import might be minimize down by over 85%. Instance beneath!

Tips on how to convert a Phrase desk to Excel?

Now that we have now tackled the final technique of changing a Phrase doc into an Excel spreadsheet, we will check out the comparatively less complicated course of one can observe if the Phrase doc solely incorporates tables. It’s a easy matter of copying and pasting the tables partially or utterly. If there are a number of tables, we will repeat the method for every of them. Let’s take a fast take a look at the method:

Step 1: Open the Phrase doc containing the desk. 

Step 2: If you wish to partially copy the desk, drag the mouse whereas choosing the specified rows and columns and hit, “CTRL + C” or click on “Copy” from “Edit” possibility within the toolbar above.

Step 3: Now, open a brand new Excel spreadsheet, and place the cursor on the left high cell and hit CTRL + V or alternatively, hit “Edit” within the high bar and click on “Paste”. 

It’s best to now see the desk pasted efficiently within the spreadsheet. Now you can leverage the complete array of instruments supplied by Excel to change, analyse and visualise the information. In case we need to copy a number of tables into one spreadsheet, you may copy the desk from the phrase doc, place the cursor on the specified location throughout the spreadsheet and paste the tables one after one other. You may also create a brand new spreadsheet throughout the similar workbook and paste totally different tables in several spreadsheets.

💡

Problem:

Coping with cut up tables, a number of tables or hundreds of paperwork.

This course of is pretty easy and doesn’t supply many challenges. Nonetheless, if you’re coping with a number of tables in a number of pages of a single phrase doc, generally a single desk that’s cut up throughout pages, every of them must be chosen, copied and pasted individually. Now think about doing this for a whole lot, if not hundreds of paperwork. The method turns into gradual and error-prone. 

💡

Resolution:

Leverage Clever Doc Processing instruments like Nanonets.

Fortunately, clever doc processing instruments like Nanonets can routinely detect the tables, partial or complete, singular or a number of and extract them individually. They’ll additionally merge the identical desk throughout totally different pages into one. This solves a significant ache level which is correct knowledge extraction at scale and the entire course of is introduced right down to a few clicks and some seconds. Take a look at the identical instance, utilizing Nanonets beneath:

Abstract

There we have now it. A step-by-step information on methods to convert Phrase paperwork into Excel spreadsheets. Whereas it is a simple course of which could work for many plain paperwork, generally, there are important challenges that can’t be overcome. These challenges come up given the complexity of paperwork being transformed and the consumer’s actual wants. For companies, SMEs or enterprises the amount of those paperwork additionally renders easy strategies like those said above gradual, inefficient and usually, not possible. We might must establish, classify and extract knowledge at scale whereas concurrently integrating with different software program. Nonetheless, there are superior applied sciences that may assist with this. 

For example, let’s say you might have a authorized contract saved as a phrase doc, or a list report, or different such sophisticated paperwork the place you could extract particular knowledge factors and convert them into Excel spreadsheets for additional evaluation. It is probably not so simple as saving it as a textual content file and importing it into an Excel spreadsheet. To hold out these processes effectively at scale, we have to flip to extra highly effective instruments, like, Nanonets that may not solely extract textual content and tables from phrase paperwork instantly into excel sheets however automate end-to-end enterprise workflows for you! 


Trying to precisely convert Phrase paperwork to Excel? Sick of manually copying and pasting tables from Phrase to Excel? Attempt Nanonets without spending a dime or arrange a dwell, customized demo beneath!


MassRobotics Accelerator opens to second spherical of startup purposes

0


Take heed to this text

Voiced by Amazon Polly
MassRobotics Accelerator opens to second spherical of startup purposes

Members of the primary MassRobotics Accelerator cohort have a good time on the 2024 Robotics Summit & Expo.

A lot of probably the most impactful help for robotics startups occurs on the native degree. MassRobotics right now introduced the launch of its second MassRobotics Accelerator in partnership with the Massachusetts Expertise Collaborative.

After the success of the inaugural program, the companions mentioned the upcoming accelerator will help robotics entrepreneurs with programming, mentorship, and immersion within the MassRobotics ecosystem.

“Our inaugural program noticed large success, and this yr, we’re able to construct upon that basis,” acknowledged Marita McGinn, director of the MassRobotics Accelerator program. “With an expanded curriculum and deeper trade connections, the 2025 accelerator will empower one other cohort of robotics founders to push themselves and increase their companies.”

The appliance course of is now open, and the deadline for submissions is Oct. 25.

MassRobotics Accelerator builds on success

The second accelerator might be housed at MassRobotics headquarters in Boston’s Seaport Innovation District. The 13-week program gives entry to sources together with prototyping labs and professional steering to assist startups scale.

Ten robotics startups might be chosen for the accelerator, which is about to start on Feb. 3, 2025. These firms will profit from a curriculum that has been additional refined to handle the distinctive challenges confronted by robotics startups. This system will cowl important areas similar to worth proposition, buyer discovery, pitch supply, workforce constructing, and fundraising.

“Being a part of the MassRobotics Startup Accelerator has been essential for our progress at Robotics 88,” famous Erin Linebarger, CEO of Robotics 88, which has developed aerial drones to observe managed burns for land administration.

“We’ve got met an unbelievable forged of mentors who’ve develop into formal advisors in our firm,” she added. “The mentorship, sources, and connections we gained and the supportive community of founders this program created has helped us transfer ahead sooner and with extra confidence. It was a key step in getting our firm the place it’s right now.”


SITE AD for the 2024 RoboBusiness registration now open.
Register now.


Program highlights:

  • Non-dilutive funding: In keeping with its nonprofit mission, MassRobotics will present chosen startups with $100,000 in non-dilutive funding to allow them to give attention to progress with out sacrificing fairness.
  • Individualized steering: Members can have entry to a community of seasoned mentors and trade specialists, providing invaluable insights into refining enterprise methods, navigating technical challenges, scaling operations, and getting ready for fundraising.
  • World-class services: The accelerator will present entry to MassRobotics’ collaborative house, cutting-edge prototyping labs, and specialised gear. This consists of CNC machines, 3D printers, laser cutters, waterjet cutters, and extra.
  • Business connections: Startups will achieve introductions and alternatives for partnerships with main robotics and AI firms, tutorial establishments, and authorities companies in Massachusetts, fostering potential collaborations and investor relationships.
  • Startup Showcase: This system will culminate in a showcase on the Robotics Summit & Expo on April 30, 2025, the place taking part startups will pitch to buyers, trade leaders, and the tech neighborhood.

MassRobotics is a strategic companion of WTWH Media, which produces the Robotics Summit & Expo, RoboBusiness, and The Robotic Report.

MassTech collaborates to increase alternatives

This initiative continues to construct on MassRobotics’ legacy of fostering innovation inside the robotics sector. It additionally displays the continued dedication of Massachusetts Expertise Collaborative (MassTech) to advancing robotics in Massachusetts, mentioned the organizations.

“The Massachusetts Expertise Collaborative is worked up to be powering the MassRobotics Accelerator for the second yr with $100,000 per firm in non-dilutive funding,” mentioned Peter Haas, director of the Division of Robotics at MassTech. “We’re comfortable to see robotics startups establishing roots in Massachusetts to drive the expansion of our vibrant robotics ecosystem and advance innovation on this sector.”

MassRobotics mentioned its mission is to assist create and scale the subsequent technology of profitable robotics and AI expertise firms. It does this by offering entrepreneurs and startups with the workspace, sources, programming, and connections they should develop, prototype, check, and commercialize their methods.

Though the group is positioned in Boston, it helps robotics innovation and adoption globally. MassRobotics works with startups, academia, trade, and governments each domestically and internationally.

China Nonetheless Hasn’t Realized Nuclear Scaling Lesson With New Approvals


Join every day information updates from CleanTechnica on e mail. Or observe us on Google Information!


My feeds have been considerably overflowing with sizzling takes on China’s latest approval of one other 11 nuclear reactors. Whereas coal approvals get lots of consideration — however not the 775 GW of shelved crops — and renewables simply maintain accelerating their deployments, dwarfing nuclear, China has accredited 10 reactors in 2022, one other 10 in 2023, and now 11 in 2024. That looks like rather a lot, however is it?

Annual additional TWh generation from commissioning of nuclear vs wind, water and solar generation in China by Michael Barnard, Chief Strategist, TFIE Strategy Inc.
Annual further TWh technology from commissioning of nuclear vs wind, water and photo voltaic technology in China by Michael Barnard, Chief Strategist, TFIE Technique Inc.

As a reminder, for a decade I’ve been monitoring the pure experiment of renewables vs nuclear in China. The chart above is the newest I’ve constructed. It exhibits the precise further TWh of technology, adjusted for capability elements, for wind, water and photo voltaic on the one hand, and nuclear on the opposite. The largest chunk by far is from wind and water, in fact, so the chart doesn’t look a lot totally different with water excluded.

Reactor rely by standing by creator from World Nuclear Affiliation knowledge.

China has 55 reactors in operation and 30 in development, so it’s comprehensible that the worldwide nuclear group considers this a nuclear renaissance, after the failed 2000s renaissance, the failed 2010s renaissance and the dwindling hopes for the small modular reactor renaissance. And to be clear, China is definitely constructing nuclear technology and is doing it in a reasonably accelerated approach. As David Fishman of The Lantau Group notes, the tasks are shifting from approvals to pouring of concrete in 18 months, and typically quicker.

So what’s a pure experiment, and why have I been monitoring this one in China?

A pure experiment is a analysis technique by which researchers examine the consequences of a naturally occurring occasion or scenario that intently resembles a managed experiment, though the topics weren’t randomly assigned by the researchers. As an alternative, the setting or circumstances create the teams being studied.

For instance, contemplate a situation the place a authorities unexpectedly raises the minimal wage in a single state however not in neighboring states. Economists can evaluate employment charges earlier than and after the wage improve within the affected state with these within the neighboring states. The wage hike acts because the “pure experiment,” and by analyzing the variations in employment developments between the states, researchers can infer the impression of the wage coverage on employment with out having to conduct a standard experiment.

This technique is efficacious in conditions the place managed experiments are impractical or unethical, permitting researchers to attract conclusions from real-world occasions.

China is a pure experiment for the scalability of renewables and nuclear as a result of so lots of the variables that western nuclear advocates level to in an try to clarify away the lengthening timelines and budgets of nuclear tasks within the developed world don’t apply in China. For instance, China does huge numbers of megaprojects, so there’s no lack of talent and expertise in doing them. Witness all of the cities, rail, highways, ports and industrial amenities they’ve constructed from scratch up to now 40 years. If nuclear had been simply one other megaproject, then China wouldn’t have any downside constructing them on the identical charge.

China has constructed 500 cities from scratch since 1980. 45,000 kilometers of excessive velocity rail. 177,000 kilometers of highways. 30,000 to 40,000 hydroelectric dams. About 440 GW of wind. About 720 GW of photo voltaic.

But solely 55 nuclear reactors. What offers?

Conditions for success for scaling nuclear generation by Michael Barnard, Chief Strategist, TFIE Strategy Inc
Situations for achievement for scaling nuclear technology by Michael Barnard, Chief Strategist, TFIE Technique Inc.

I created this graphic for my subsequent seminar to India’s utility professionals. It gives a visible shorthand for what it has taken up to now to construct lots of nuclear technology in an inexpensive time period for a not terribly extreme price of vitality. Trying on the record, there’s nothing there that China shouldn’t be capable of obtain, but their nuclear program has been languishing. It peaked with seven reactors commissioned in every of 2016 and 2018 and has really slowed since then, with just one huge reactor and an SMR commissioned in 2023 for 1.2 GW of capability.

Chinese reactor designs and commissioned capacity for each by Michael Barnard, Chief Strategist, TFIE Strategy from World Nuclear Association data
Chinese language reactor designs and capability for every by Michael Barnard, Chief Strategist, TFIE Technique from World Nuclear Affiliation knowledge.

Search for that the circumstances for achievement. Be aware the requirement for a single, GW scale design, or probably two. That’s how the USA, France and Britain succeeded with their packages, and South Korea has solely a handful of designs. China has commissioned or has in development 23 distinctive designs with various capacities of various fashions. And that’s solely the coarse variances. That little bit about no native innovation is essential as effectively, as native engineers like to put their fingers on the design because it’s constructed, ‘enhancing’ it, resulting in extra variations that present up and much more challenges.

Why the give attention to huge reactors? As a result of the absurd variety of connections, pipes and fittings isn’t lowered on smaller reactors, so all the labor is multiplied. With reactors, go huge or go residence, which is among the many main issues with small modular reactors.

Why single design? In order that human assets and classes discovered may be shared throughout dozens of reactor builds, as a substitute of recent designs successfully being first of a sort.

Why tight management? Similar factor. Maintaining modern engineers’ fingers off of designs implies that classes discovered may be shared and no new issues are launched.

If China will get so many issues proper with the remainder of the megaprojects it builds, why didn’t it determine this one out? My assertion, backed up by public statements by Chinese language nuclear organizations and corporations, is that they’re constructing as a lot for the export market as for the native energy market. In consequence, they must construct at the very least one in every of all the pieces any buyer would possibly need them to construct in different nations.

That’s why China’s nuclear program hasn’t remotely met its targets within the 30 years it’s been in operation, persistently deploying fewer than deliberate or projected and hitting delays and price overruns.

Has China discovered this lesson with the 30 reactors beneath development and just lately accredited?

Chinese reactors under construction by design and capacity by Michael Barnard, Chief Strategist, TFIE Strategy Inc from World Nuclear Association data
Chinese language reactors beneath development by design and capability by Michael Barnard, Chief Strategist, TFIE Technique Inc from World Nuclear Affiliation knowledge

This chart is simply of the reactors beneath development. Does this appear like a rustic that’s solely constructing a few reactor sorts with confirmed designs? No, in truth the reactors it’s constructing probably the most of are a design that they haven’t commissioned earlier than and so they have one other six designs, together with a uselessly tiny one, in development.

Whereas the info I’ve is for reactors beneath development, which incorporates many of the 2022 and a number of the 2023 accredited reactors, experiences point out that the just lately accredited tranche contains one more new reactor design. There’s some indication that extra Hualong One reactors are within the accredited set, however not if they’re the identical nameplate capability or not, one thing which might represent one other design.

China Reactors In Construction By Year of Planned Connection by Michael Barnard, Chief Strategist, TFIE Strategy Inc from World Nuclear Association Data
China Reactors In Development By Yr of Deliberate Connection by Michael Barnard, Chief Strategist, TFIE Technique Inc from World Nuclear Affiliation Knowledge.

Do I consider this development schedule? No, no I don’t. This has all the hallmarks of a failing nuclear program that’s far behind targets claiming that it’ll make up all the misplaced floor within the subsequent handful of years. It’s constructing a bunch of reactors it’s by no means constructed earlier than, it’s coming off of years of managing one to a few reactors a yr, and its claiming that in each 2027 and 2029 it’s going to join extra reactors to the grid than it has managed in 30 years of their nuclear program. To be honest to them, the typical development time within the publicly out there plans is 6.6 years, which is perhaps cheap. Sadly, the info I’ve out there to me excludes the beginning of development for reactors in operation, so it’s not possible for me to inform if that is optimistic given China’s monitor file. The multitude of designs and the commonest designs in development being new ones doesn’t give me consolation. China does shock me continuously, nonetheless.

In fact, whereas I’m happy with every new nuclear reactor that will get commissioned in steady nations as it’s a low-carbon, low-pollution, protected type of electrical technology, it’s additionally going to be dwarfed by China’s construct out of wind and photo voltaic.

Comparison of construction risks of wind and solar vs nuclear by Professor Bent Flyvbjerg from How Big Things Get Done
Comparability of development dangers of wind and photo voltaic vs nuclear by Professor Bent Flyvbjerg from How Large Issues Get Achieved.

The probability of the large capacities of wind and photo voltaic efficiently getting constructed on time, on price range and hitting advantages targets is immensely larger than that of this nuclear construct out. That’s a key studying of Professor Bent Flyvbjerg and group from their world dataset of megaprojects, one thing that Flyvbjerg has been constructing because the late Nineteen Nineties and is now over 16,000 robust, with over 150 nuclear technology tasks.

Nuclear reactors have a number of dangers that, in the event that they set off, trigger very important time and price range overruns. Wind and photo voltaic have only a few dangers that trigger important time and price range overruns in the event that they happen. The outcomes are clear within the knowledge. If you wish to hit targets and obtain advantages, construct wind and photo voltaic. China is doing that extremely effectively.

China added 274 GW of wind and photo voltaic capability to their grid in 2023. They’re on monitor to construct much more than that for every of the subsequent seven years. The chart on the prime of this text is simply going to worsen and worse for nuclear as its line will get flatter and flatter to permit wind, photo voltaic and water technology additions to suit into it vertically.

Whereas China has lots of nuclear in development and a bunch extra accredited, that’s not the takeaway that different jurisdictions ought to study from its vitality efforts. If something, there are three classes. One, that wind and photo voltaic are the appropriate alternative for the overwhelming majority of jurisdictions. Two, that China’s failures to stay to a single confirmed design for nuclear and construct a number of it are a warning associated to nationwide and regional nuclear packages. Three, that except a rustic is sufficiently big and wealthy sufficient to construct dozens of similar reactors in addition to to attain the remainder of the circumstances of success, or is ready to be part of a bunch of different nations to attain vital mass with a assure of singularity of design and the remainder of the success standards, nuclear shouldn’t be on the vitality coverage agenda.


Have a tip for CleanTechnica? Wish to promote? Wish to counsel a visitor for our CleanTech Speak podcast? Contact us right here.


Newest CleanTechnica.TV Movies

Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage




A easy HTTP/2 server utilizing Vapor 4


Get began with server-side Swift utilizing the Vapor 4 framework. Learn to construct a extremely easy HTTP/2 backend server.

What’s HTTP/2?

Briefly, it’s the second main model of Hypertext Switch Protocol (HTTP), however clearly you’re not right here for the quick model. HTTP/2 is a big improve, it was derived from the experimental SPDY protocol, these days it’s extensively utilized by about 40% of all of the web sites. Sure it’s time to improve your infrastructure (quickly). 😉

HTTP

The HTTP protocol is principally a client-server (request-response) communication protocol the place the shopper asks for a useful resource and the server returns a response (a HTML doc, a stylesheet, a JavaScript file, or the rest…). This all occurs on high of a TCP/IP connection layer utilizing sockets. In the event you don’t know something about TCP/IP ports and sockets, you must learn the linked article.

NOTE: HTTP2 is safe by default, so it solely works by way of TLS/SSL, however for the sake of simplicity I’m not going into the main points of HTTPS, cryptography or safe connection.

HTTP is an utility layer protocol, that describes how one can work together with numerous assets recognized by an URL/URI (or URN). HTTP is easy (just a few strategies like GET, POST), but extensible (by way of headers), stateless, however not sessionless (simply take into consideration Cookies) and it’s positively dominating the world huge net (browsers). 🌎

HTTP model 1.1 has some disadvantages. It’s a textual content based mostly unencrypted protocol, plus as web sites developed and increasingly more assets have been wanted to be able to render a webpage, HTTP/1.1 began to face some pace points, since you are solely allowed to obtain just one useful resource at a time on a HTTP/1.1 connection.

You need to look ahead to it…

Request multiplexing

The most effective (and most superior characteristic) of HTTP/2 is request multiplexing. It permits you to obtain a number of recordsdata asynchronously from the server. This permits browsers and different functions to consider loading assets in a pleasant promie-like manner as an alternative of the old style blocking connection. You’ll be able to ship all of your requests on the identical connection and they are often fulfilled in parallel. 🚀

Server Push

To begin with HTTP/2 server push will not be a push notification system for functions. You should utilize it to ship further cache-able assets to the shopper that’s not requested, but it surely’s extremely anticipated in future requests. Actual fast instance: if the shopper requests for an index.html file, you possibly can push again the corresponding sytle.css and major.js recordsdata within the response, in order that they’ll be there by the point the shopper really wants them.

I might proceed with the advantages of the HTTP/2 however I imagine crucial issue right here is pace. HTTP/2 has a lighter community footprint and likewise eliminates some safety considerations which is nice for everybody. You’ll be able to learn extra in regards to the protocol on different websites, however for now let’s simply cease proper right here.

Let’s begin creating our HTTP/2 server in Swift utilizing Vapor 4! 🤓

SwiftNIO2 + Vapor4 = HTTP/2 help

Apple’s cross-platform asynchronous event-driven community utility framework helps HTTP/2 for some time. Vapor makes use of SwiftNIO since model 3, however solely the 4th main model could have the model new protocol help. Anyway it was a really lengthy street, however we’re lastly getting there and I’m actually glad that that is occurring now.

Each Swift, SwiftNIO and Vapor matured rather a lot up to now few years, in the event you’d prefer to spend extra time on the server-side now it’s the most effective time to begin studying these applied sciences and frameworks. Vapor 4 goes to be superb, and I hope that server-side Swift apps will dominate the market in just a few years. #swifttotalworlddomination

Backend language “hype” evolution: PHP -> node.js -> Swift?

Challenge setup

As traditional, let’s begin by making a model new challenge utilizing the Vapor toolbox:

vapor new HTTP2Server
cd HTTP2Server
vapor replace -y

This will provide you with a starter Xcode challenge template, based mostly on the newest Vapor 4 department. In case you are utterly new to Vapor, you must learn my newcomers tutorial about Vapor to get a primary understanding of the primary parts of the framework.

If in case you have a problem with Vapor, you must be a part of the official Discord server, you’ll discover some surprisingly good things and a extremely useful neighborhood there. 😊

Certificates technology

Additionally as a result of HTTP/2 is a safe protocol by default, you’ll want your personal SSL certificates. You’ll be able to generate a self-signed cert.pem and a key.pem recordsdata with the next command (fill out the main points with some faux information and press enter). 🔐

openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

That’s it, you must use these recordsdata for testing functions solely, additionally you continue to need to belief this self-signed native certificates. Your browser will let you know learn how to do it. 🤷‍♂️

Vapor 4 configuration with HTTP/2 help

To be able to allow HTTP/2 help in Vapor 4, you need to register a brand new HTTPServer Configuration service. You are able to do this within the configure.swift file.

import Vapor
import NIOSSL

public func configure(_ app: Software) throws {

    // entry dwelling listing:
    // let homePath = NSString(string: "~").expandingTildeInPath

    // use .env file to supply cert / key paths:
    // let certPath = Surroundings.get("CERT_PATH")!
    // let keyPath = Surroundings.get("KEY_PATH")!

    let homePath = app.listing.workingDirectory
    let certPath = homePath + "/cert.pem"
    let keyPath = homePath + "/key.pem"

    let certs = attempt! NIOSSLCertificate.fromPEMFile(certPath)
        .map { NIOSSLCertificateSource.certificates($0) }

    let tls = TLSConfiguration.forServer(
        certificateChain: certs, 
        privateKey: .file(keyPath)
    )

    app.http.server.configuration = .init(
        hostname: "127.0.0.1",
        port: 8080,
        backlog: 256,
        reuseAddress: true,
        tcpNoDelay: true,
        responseCompression: .disabled,
        requestDecompression: .disabled,
        supportPipelining: false,
        supportVersions: Set([.two]),
        tlsConfiguration: tls,
        serverName: nil,
        logger: nil
    )
}

First you need to load your certificates chain with the corresponding non-public key file. Subsequent you need to make a correct TLS configuration utilizing the SSL certificates. The very last thing that you need to create is a brand new HTTP configuration object.

In the event you run the challenge and settle for the self-signed certificates you must see within the inspector that the protocol is h2, which suggests HTTP/2 is alive. Congratulations! 🎉

A easy HTTP/2 server utilizing Vapor 4

As you possibly can see this text is extra like a fast start line to get HTTP/2 up and working in Vapor 4. Please share the article in the event you favored it & subscribe to my month-to-month e-newsletter beneath. Thanks on your assist, bye! 🙏