Migration steps from Material UI v0.x to v1.y - material-ui

I have been using material UI v0 from a while and Now I wanted to move to MUI v1.x as v0.x is deprecated.
Request to provide a migration guide.

The link that #thirtydot provided is really all that is available. Not too much documentation is available (yet) for this major version change migration.
Keep your eye on these issues:
https://github.com/mui-org/material-ui/issues/7195
https://github.com/mui-org/material-ui/issues/11819
So far the best thing I have seen is: https://gist.github.com/anuragagarwal561994/44447847bbcc3059c6d10e2be1e92ff1

Related

How do I use module aliases in Serverless Stack?

I am trying to follow the guide for Material UI on replacing the existing style engine with styled-components https://mui.com/guides/styled-engine/
I am also using it as part of the Serverless Stack framework which shows that it is using ESBuild https://docs.serverless-stack.com/packages/cli#build
Is it possible to do this module aliasing? I looked around but wasn't able to figure out how.
After checking on their slack, I figured out that ESBuild is only used in building the backend SST.Functions. But in the material-ui examples, there is an example on how to do the aliasing for create-react-app https://github.com/mui-org/material-ui/tree/next/examples/create-react-app-with-styled-components-typescript.

is there any way to deploy custom ML models in flutter?

I am trying to create a flutter app using the ML model from the below link.
https://www.tensorflow.org/lite/models/style_transfer/overview
I haven't played with Flutter but there are some promising articles article 1 article 2 article 3 that gives code snippets to insert tensorflow lite dependencies, to make assets folder and load models. You can check them and I hope you get a first idea how to proceed. Style transfer is a medium to hard coding project though. I suggest to start from simpler tasks as classification problems.
Happy coding
I have used this style_transfer model in flutter app before. unfortunately, I've lost that code (I did not use git). But I can give suggestions on that.
For using this custom model you will have to use https://pub.dev/packages/tflite_flutter.
The trick here is you will have to see model's input shape (image_shape=(384,384,3), style_shape=(256,256,3) and output size (shape=(384,384,3) and also shape of bottleneck). You can resize image using https://pub.dev/packages/image.
with these two, you are good to go. Sorry for bad english and I know I am too much late but maybe someone else will find it useful.
Happy coding!
Edited: So I have found the code. I stored a copy of it in my google drive. I have uploaded it on github https://github.com/Rizwan2613/style-transfer. Please do read Readme file. Thanks
There is a recently published flutter plugin for integrating an arbitrary TFLite model.
https://pub.dev/packages/tflite_flutter
Please see the README of the pub package and see how you can bundle the .tflite models and how to load / run them in flutter.
There is a blog post on how to use this flutter plugin, but it uses a different model (text classification) as an example.
https://medium.com/#am15hg/text-classification-using-tensorflow-lite-plugin-for-flutter-3b92f6655982
You can upload custom tensorwflow model to firebase ML KIT (custom tab), and integrate with firebase API in your flutter project.

A-Frame link traversal support

In A-Frame FAQ, it is written that:
Link traversal support was introduced in the WebVR 1.0 API and A-Frame
0.3.0. There is a link component that can trigger navigation and built-in support for knowing whether the user is navigating from
another WebVR experience.
However, it seems there is no entry in A-Frame Docs about this link component.
How could one use such a component to trigger link traversal ?
Thank you.
Oops, that is a mistake. Built-in link traversal and documentation has not yet been introduced as we improve link traversal experiences in the WebVR specification and the browsers themselves.
This has just been introduced in AFrame 0.6
https://github.com/aframevr/aframe/blob/master/CHANGELOG.md
Edit:
Here's the page for it:
https://aframe.io/docs/0.6.0/components/link.html

Dynamic Chart using Xamarin Forms

I am newbie in Xamarin; I know there must be ready components for what I need, already I searched but not yet found.
I need to create a dynamic graphic like this:
http://www.highcharts.com/demo/dynamic-update
I wore this in PhoneGap (html5 + JS), but now I'm moving to Xamarin forms and would like to know if any third component is what I need or I'll have to do everything from scratch.
Thank you.
I'm currently looking into graphing too and OxyPlots seems to be a pretty good line graph tool. I don't think it supports dynamic updating so you'd have to program it to update manually when new data points come available.
I've not gotten round to actually using this myself but I thought I'd post this here in case it works for you.
Edit: Here's a list of examples. Also you can add it to your project using nuget so it should be easy to set up.
I'm using Syncfusion controls for Xamarin.Forms and I'm satisfied with it. They also have a free license for individual developers and small businesses.
For dynamically updated Xamarin charts SciChart offers an extremely high performance solution. With the SciChart Xamarin Chart control you can draw up to a million points, zoom, pan and scroll big datasets interactively.
Check out performance demos here:
https://www.scichart.com/example/xamarin-chart-realtime-fifo-scrolling-chart-example/
https://www.scichart.com/example/xamarin-chart-performance-demo-example/
https://www.scichart.com/example/xamarin-chart-ecg-monitor-demo-example/
Disclosure: I am the tech lead on the SciChart Xamarin project

How to create chart application in iphone

I'm assigned with new task for creating chart application in iphone like.,(BarChart,PieChart,etc..,).But,i have no idea for chart application in iphone.Please anyone help me out to guide me to start chart application in iphone.If any of the frameworks or API used for this kind of chart application means please explain that also.
Give a shot to:
Core-Plot Framework
To get it working, read here.
You can also see the accepted answer of this SO question.
For a little bar-chart tutorial go here.
There is also:
s7graphview less features but It's an option.
If you can rely on the web, although it's a far from optimal solution, you can embed a UIWebView in your application, and use the Google Graph Visualization API or you can use a UIWebView with an HTML5 graph library lake rgraph. Look here for a jQuery based solution. Filament Group made also this one.
At the and some sample code from Apple (Accelerometer Graph).
A commonly used Cocoa "native" charting library is core-plot. Whilst I've yet to personally use it, it seems to be quite popular and is under active development.
Here you go, but next time please use the search function first:
http://code.google.com/p/core-plot/
Cocoa Graphing/Plotting Framework that Works on iPhoneOS
A popular one is core plot. http://code.google.com/p/core-plot/