Can't Re-serialize Materialized Collection

"The materialization works fine"
col := STON fromString: 'OrderedCollection[CrEggSupplier{#brand:''Trout Lake Abbey'',#company:''Trout Lake Abbey'',#rating:5,#location:''Trout Lake, WA'',#marketArea:''Washington'',#totalScore:2150},CrEggSupplier{#brand:''Alderfer\''s'',#company:''Alderfer\''s Poultry Farm'',#rating:1,#location:'' Telford, PA'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Oliver\''s Organic Eggs'',#company:''\u00A0Can-Am Farms'',#rating:5,#location:''Frankfort, NY'',#marketArea:''New York'',#totalScore:2120},CrEggSupplier{#brand:''Nest Fresh Eggs'',#company:''Nest Fresh Eggs'',#rating:1,#location:''Denver, CO'',#marketArea:''Western states'',#totalScore:0},CrEggSupplier{#brand:''Natural Directions'',#company:''Natural Directions'',#rating:1,#location:''OR'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Roundy\''s Organics'',#company:''Roundy\''s '',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Trader Joe\''s '',#company:''Trader Joe\''s'',#rating:1,#location:'''',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Latta Family Farm'',#company:''Latta Family Farm'',#rating:1,#location:''NC'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Common Good Farm'',#company:''Common Good Farm'',#rating:5,#location:''Raymond, Nebraska'',#marketArea:''Nebraska'',#totalScore:2150},CrEggSupplier{#brand:''Shenandoah Valley Family\nFarms'',#company:''Shenandoah Valley Family Farms'',#rating:5,#location:''Dayton, VA'',#marketArea:''Virginia'',#totalScore:2080},CrEggSupplier{#brand:''O Organic'',#company:''Safeway'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Wild Harvest'',#company:''Supervalu/Shaws'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Organic Valley'',#company:''CROPP'',#rating:3,#location:''LaFarge, WI'',#marketArea:''nationwide'',#totalScore:1620},CrEggSupplier{#brand:''Vital Farms'',#company:''Vital Farms'',#rating:5,#location:''Austin, TX'',#marketArea:''Whole Foods nationwide'',#totalScore:2005},CrEggSupplier{#brand:''Lunds'',#company:''Lunds'',#rating:1,#location:''MA'',#marketArea:''Lunds stores nationwide'',#totalScore:0},CrEggSupplier{#brand:''Misty Meadows Farm'',#company:''Misty Meadows Farm'',#rating:5,#location:''Everson, WA'',#marketArea:''Washington '',#totalScore:2170},CrEggSupplier{#brand:''Herbruck Poultry Ranch'',#company:''Herbruck Poultry Ranch'',#rating:1,#location:''MI'',#marketArea:''Nationwide'',#totalScore:0},CrEggSupplier{#brand:''Chino Valley Ranchers'',#company:''Chino Valley Ranchers'',#rating:1,#location:''Arcadia, CA'',#marketArea:''30 states, especially in the West, South and\nMidwest'',#totalScore:0},CrEggSupplier{#brand:''Egg Innovations'',#company:''Egg Innovations'',#rating:3,#location:''Port Washington, WI'',#marketArea:''Midwest'',#totalScore:1640},CrEggSupplier{#brand:''Sparboe'',#company:''Sparboe'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Cadia'',#company:''Nature\''s Best'',#rating:1,#location:''CA'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Eggland\''s Best'',#company:''Eggland\''s Best'',#rating:1,#location:''Jeffersonville, PA'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Hillanddale Farms'',#company:''Hillanddale Farms'',#rating:1,#location:''PA'',#marketArea:''Eastern half of US'',#totalScore:0},CrEggSupplier{#brand:''Kirkland Signature'',#company:''Costco'',#rating:1,#location:''Seattle, WA'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Mosel Eggs'',#company:''Mosel Eggs'',#rating:5,#location:''Page, NE'',#marketArea:''Nebraska'',#totalScore:2100},CrEggSupplier{#brand:''Green Way'',#company:''A&P'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Farmers\'' Hen House'',#company:''Farmers\'' Hen House'',#rating:3,#location:''Kalona, IA'',#marketArea:''Midwest and Southwest'',#totalScore:1800},CrEggSupplier{#brand:''Big Island Poultry'',#company:''Big Island Poultry'',#rating:1,#location:''HI'',#marketArea:''Hawaii'',#totalScore:0},CrEggSupplier{#brand:''Simple Truth'',#company:''Kroger'',#rating:1,#location:''OH'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Archer Farms'',#company:''Archer Farms'',#rating:1,#location:''MN'',#marketArea:''Target nationwide'',#totalScore:0},CrEggSupplier{#brand:''Wilcox Farms'',#company:''Wilcox Farms'',#rating:3,#location:''Roy, WA'',#marketArea:''Western U.S.'',#totalScore:1765},CrEggSupplier{#brand:''Pete & Gerry\''s'',#company:''Pete & Gerry\''s'',#rating:3,#location:''Monroe, NH'',#marketArea:''East Coast'',#totalScore:1580},CrEggSupplier{#brand:''Nature\''s Promise'',#company:''Giant, Stop \''n Shop, Ahold USA'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Sprouts Market'',#company:''Sprouts '',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Grassfed Traditions'',#company:''Tropical Traditions'',#rating:5,#location:''South Bend, WI'',#marketArea:''Ships nationwide'',#totalScore:2060},CrEggSupplier{#brand:''Nature\''s Place'',#company:''Delhaize '',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Burroughs Family Farms\nEggs'',#company:''Burroughs '',#rating:5,#location:''Denair, CA'',#marketArea:''California'',#totalScore:2155},CrEggSupplier{#brand:''Meijer Organics'',#company:''Meijer'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Willamette Eggs '',#company:''Willamette Egg Farm'',#rating:1,#location:''OR'',#marketArea:''Pacific Northwest'',#totalScore:0},CrEggSupplier{#brand:''Skagit River Ranch'',#company:''Skagit River Ranch'',#rating:5,#location:''Sedro Woolley, WA'',#marketArea:''Washington'',#totalScore:2110},CrEggSupplier{#brand:''Organic Acres'',#company:''Organic Acres'',#rating:1,#location:''IN'',#marketArea:''IN'',#totalScore:0},CrEggSupplier{#brand:''Eggology'',#company:''Eggology'',#rating:1,#location:''Canoga Park, CA'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Horizon Organic'',#company:''White Wave/Dean Foods'',#rating:1,#location:''Broomfield, CO'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Giving Nature'',#company:''Giving Nature Foods'',#rating:3,#location:''Holicong, PA'',#marketArea:''Mid-Atlantic, Northeast'',#totalScore:1783},CrEggSupplier{#brand:''Earth Fare'',#company:''Earth Fare'',#rating:1,#location:'' NC'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''New Century '',#company:''New Century'',#rating:4,#location:''Shullsburg, WI'',#marketArea:''Wisconsin'',#totalScore:1890},CrEggSupplier{#brand:''Abbotsford'',#company:''Abbotsford Egg Products'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Farmer\''s Harvest'',#company:''CCF Brands'',#rating:1,#location:''Rogers, AR'',#marketArea:''South, Midwest'',#totalScore:0},CrEggSupplier{#brand:''Tree of Life'',#company:''Tree of Life'',#rating:1,#location:''FL'',#marketArea:''select Canada and US'',#totalScore:0},CrEggSupplier{#brand:''Kingbird Farm'',#company:''Kingbird Farm'',#rating:5,#location:''Berkshire, NY'',#marketArea:''New York State'',#totalScore:2160},CrEggSupplier{#brand:''Naturally Organic'',#company:''Naturally Organic'',#rating:1,#location:'''',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Full Circle'',#company:''Topco'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Smith Brothers'',#company:''Smith Brothers'',#rating:1,#location:'' WA'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Schultz Eggs'',#company:''Schultz'',#rating:5,#location:''Owatonna, MN'',#marketArea:''Upper Midwest'',#totalScore:2015},CrEggSupplier{#brand:''4-Grain'',#company:''Cal-Maine'',#rating:1,#location:''Jackson, MS'',#marketArea:''29 states nationwide'',#totalScore:0},CrEggSupplier{#brand:''Glaum Egg Ranch'',#company:''Glaum Egg Ranch'',#rating:1,#location:''Aptos, CA'',#marketArea:''West Coast'',#totalScore:0},CrEggSupplier{#brand:''Village Farm'',#company:''Village Farm'',#rating:5,#location:''Freedom, ME'',#marketArea:''Maine'',#totalScore:2135},CrEggSupplier{#brand:''Giroux Poultry Farm'',#company:''Giroux Poultry Farm'',#rating:1,#location:''Chazy, NY'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''365 Organic'',#company:''Whole Foods'',#rating:1,#location:''Austin, TX'',#marketArea:''nationwide'',#totalScore:80},CrEggSupplier{#brand:''Turtle Ledge Farm'',#company:''Turtle Ledge Farm'',#rating:5,#location:''Hampton, CT'',#marketArea:''Connecticut'',#totalScore:2100},CrEggSupplier{#brand:''Green Pastures Poultry'',#company:''Green Pastures'',#rating:5,#location:''Cashton, WI'',#marketArea:''Wisconsin'',#totalScore:2025},CrEggSupplier{#brand:''Phoenix Egg Farm'',#company:''Phoenix Egg Farm'',#rating:5,#location:''Portland, OR'',#marketArea:''Oregon'',#totalScore:2025},CrEggSupplier{#brand:''Bee Heaven Farm'',#company:''Bee Haven Farm'',#rating:5,#location:''Homestead, FL'',#marketArea:''Miami-Dade, Broward and the Keys'',#totalScore:2160},CrEggSupplier{#brand:''Nature\''s Yoke'',#company:''Westfield Egg Farm, Inc.'',#rating:3,#location:''New Holland, PA'',#marketArea:''Northeast'',#totalScore:1605},CrEggSupplier{#brand:''Circle JD Ranch'',#company:''Circle JD Ranch'',#rating:1,#location:''WI'',#marketArea:''Viroqua, WI'',#totalScore:0},CrEggSupplier{#brand:''Milo\''s Organic'',#company:''Milo\''s Poultry Farms'',#rating:4,#location:''Bonduel, WI'',#marketArea:''Wisconsin'',#totalScore:1845},CrEggSupplier{#brand:''The Country Hen'',#company:''The Country Hen'',#rating:2,#location:''Hubbardston, MA'',#marketArea:''nationwide'',#totalScore:1340},CrEggSupplier{#brand:''Price Chopper Naturals'',#company:''Price Chopper'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Wegman\''s'',#company:''Wegman\''s'',#rating:1,#location:''NY'',#marketArea:''Wegman\''s stores nationwide'',#totalScore:0},CrEggSupplier{#brand:''Happy Town Farm'',#company:''Happy Town Farm'',#rating:5,#location:''ME'',#marketArea:''Maine'',#totalScore:2050},CrEggSupplier{#brand:''Publix'',#company:''Publix'',#rating:1,#location:''FL'',#marketArea:''Publix stores nationwide'',#totalScore:0},CrEggSupplier{#brand:''Central Market'',#company:''H-E-B Grocery Company'',#rating:1,#location:''San Antonio, TX'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Great Value'',#company:''Walmart'',#rating:1,#location:'''',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Hickman\''s Family Farm'',#company:''Hickman\''s Family Farm'',#rating:1,#location:''Buckeye, AZ'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Pine Belt Eggs'',#company:''Pine Belt Eggs'',#rating:1,#location:''NJ'',#marketArea:''Nationwide'',#totalScore:0},CrEggSupplier{#brand:''Flying Dutchman Farm\n(Crown \''O Maine Cooperative)'',#company:''Flying Dutchman Farm (Crown \''O Maine\nCooperative)'',#rating:1,#location:''IL'',#marketArea:''Maine and Massachusetts'',#totalScore:0},CrEggSupplier{#brand:''United Egg Producers'',#company:''United Egg Producers'',#rating:1,#location:''GA'',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Amsterdam Organics'',#company:''Amsterdam Organics'',#rating:5,#location:''Winton, CA'',#marketArea:''California'',#totalScore:2135},CrEggSupplier{#brand:''Dreamfarm'',#company:''Dreamfarm'',#rating:5,#location:''Cross Plains, WI'',#marketArea:''southwest Wisconsin'',#totalScore:2095},CrEggSupplier{#brand:''Eight Mile Creek Farm'',#company:''Eight Mile Creek Farm'',#rating:5,#location:''Westerlo, NY '',#marketArea:''New York'',#totalScore:2160},CrEggSupplier{#brand:''Clover Stornetta'',#company:''Clover Stornetta'',#rating:3,#location:''Petaluma, CA'',#marketArea:''West coast'',#totalScore:1645},CrEggSupplier{#brand:''Clark Summit Farm'',#company:''Clark Summit Farm'',#rating:1,#location:''CA'',#marketArea:''Bay Area, CA'',#totalScore:0},CrEggSupplier{#brand:''Land O\''Lakes'',#company:''Land O\''Lakes'',#rating:1,#location:'''',#marketArea:''nationwide'',#totalScore:0},CrEggSupplier{#brand:''Stiebrs Farms'',#company:''Stiebrs Farms'',#rating:4,#location:''Yelm, WA'',#marketArea:''West'',#totalScore:1835},CrEggSupplier{#brand:''Country Creek'',#company:''Walmart'',#rating:1,#location:''AR'',#marketArea:''Walmart nationwide'',#totalScore:0},CrEggSupplier{#brand:''Hiddden Camp'',#company:''Hidden Camp'',#rating:4,#location:''Canajoharie, NY'',#marketArea:'''',#totalScore:2000},CrEggSupplier{#brand:''Sauder\''s'',#company:''Sauder Inc.'',#rating:2,#location:''Lititz, PA'',#marketArea:''Mid-Atlantic '',#totalScore:1440},CrEggSupplier{#brand:''Green Field Farms'',#company:''Green Field Farms Coop'',#rating:3,#location:''Fredericksburg, OH'',#marketArea:''Ohio'',#totalScore:1760},CrEggSupplier{#brand:''Judy\''s Family Farm'',#company:''Petaluma Farms'',#rating:1,#location:''Petaluma, CA'',#marketArea:''West Coast'',#totalScore:0},CrEggSupplier{#brand:''Jeremiah Cunningham\''s\nWorld\''s Best Eggs'',#company:'''',#rating:5,#location:''Elgin, TX'',#marketArea:'''',#totalScore:2140},CrEggSupplier{#brand:''Reading Creek Ranch'',#company:''Reading Creek Ranch'',#rating:1,#location:''CA'',#marketArea:''Weaverville, CA'',#totalScore:0},CrEggSupplier{#brand:''Alta Dena'',#company:''Alta Dena'',#rating:1,#location:''CA'',#marketArea:''Nationwide'',#totalScore:0},CrEggSupplier{#brand:''Twin Oaks Farm'',#company:''Twin Oaks Farm'',#rating:5,#location:''Bonifay, FL'',#marketArea:'''',#totalScore:2180},CrEggSupplier{#brand:''Barnstar Family Farms'',#company:''Barnstar Family Farms'',#rating:1,#location:''CA'',#marketArea:''Nationwide'',#totalScore:0},CrEggSupplier{#brand:''Hotz Farms'',#company:''Hotz Farms'',#rating:1,#location:''IA'',#marketArea:''IA'',#totalScore:0},CrEggSupplier{#brand:''Alexandre Kids\u00A0'',#company:''Alexandre EcoDairy'',#rating:5,#location:''Crescent City, CA'',#marketArea:''California'',#totalScore:2140},CrEggSupplier{#brand:''PNS Farms'',#company:''PNS Farms'',#rating:5,#location:''Miami, FL'',#marketArea:''Florida'',#totalScore:2120},CrEggSupplier{#brand:''Canoe Creek'',#company:''Canoe Creek'',#rating:1,#location:''IA'',#marketArea:''Decorah, IA'',#totalScore:0},CrEggSupplier{#brand:''Oakdell'',#company:''Oakdell'',#rating:1,#location:''Lewiston, UT'',#marketArea:''Western states'',#totalScore:0},CrEggSupplier{#brand:''Mission Mountain'',#company:''Mission Mountain Organic Farm'',#rating:5,#location:''Ronan, MT'',#marketArea:''Montana'',#totalScore:2120},CrEggSupplier{#brand:''Born Free'',#company:''Born Free Eggs LLC/Radlo Foods'',#rating:3,#location:''Watertown, MA'',#marketArea:''New England and Southern states'',#totalScore:1525},CrEggSupplier{#brand:''Garden Valley'',#company:''Farmer\''s Organic Food International'',#rating:1,#location:''Blair, WI'',#marketArea:'''',#totalScore:0},CrEggSupplier{#brand:''Handsome Brook Farm'',#company:''Handsome Brook Farm'',#rating:5,#location:''Franklin, NY'',#marketArea:''New York State'',#totalScore:2020},CrEggSupplier{#brand:''Nature\''s Basket'',#company:''Giant/Eagle/Market Distric'',#rating:1,#location:''PA'',#marketArea:''Giant stores nationwide'',#totalScore:0},CrEggSupplier{#brand:''Singing\nCedars Farmstead'',#company:''Singing Cedars Farmstead'',#rating:1,#location:''VT'',#marketArea:''Rutland and Middlebury, VT'',#totalScore:0}]'.

"But then the re-serialization hangs the app and Helios"
STON toString: col

I'm unable to replicate. It is materialising for me.
I tried first with unknown classes enabled. i.e..
| ston |
ston := STONReader on: 'OrderedCollection[CrEggSupplier{#brand:''Trout...' readStream.
ston allowUnknownClasses: true.
STON toString: ston next

Then created a class:
Object subclass: #CrEggSupplier
	instanceVariableNames: 'brand company location rating marketArea totalScore'
	package: 'STON-Testing'.

STON toString: (STON fromString:  'OrderedCollection[CrEggSupplier{#brand:''Trout...')

both appeared to work.
Which browser are you using? I'll try and replicate with your setup.


Updated copyright to 2016

Thanks! I’ve taken care of this in c0e16c03d8250641ee9521088507e906eb45395b, which is on the latest release branch rather than master, where I’ve also updated the copyright year in the executable itself.

Thanks! I’ve taken care of this in c0e16c03d8250641ee9521088507e906eb45395b, which is on the latest release branch rather than master, where I’ve also updated the copyright year in the executable itself.


feat(doc): update and simplify system diagram

I like the diagram very much. I find in much cleaner as the previous.
a) to e) are just visual details
f) Is it on purpose, that rest-api-model-ql read/writes from the model-server and not from MPS? Do you have in mind for as to change the sample in the future?
g) I do not understand the name Domain-Specific API. I see where you are coming from, but I would probably have named the boxes Dashboard backend. And on the connection to the Dashboard frontend, I would have written read/write \n application-specific API \n (REST / Websocket).
Domain-specific API is very close to Domain-specific-language API.

For the Vue.js application, I would call the user tutor because it is more consistent with the naming in our metamodel.
For the Angular Dashboard (use case 3) I add a second user tutor because the dashboard can also write data.

f) Is it on purpose, that rest-api-model-ql read/writes from the model-server and not from MPS? Do you have in mind for as to change the sample in the future?
Prospectively the Kotlin based API will  be migrated to modelQLv2. In combination with the new model-server plugin for MPS any UC can be realized by using MPS "as a backend". I find it confusing to add more crossing arrows here and would rather got with this simple depiction alongside a not that the new plugin can act as a in-place replacement during development.

g) I do not understand the name Domain-Specific API. I see where you are coming from, but I would probably have named the boxes Dashboard backend. And on the connection to the Dashboard frontend, I would have written read/write \n application-specific API \n (REST / Websocket).
Domain-specific API is very close to Domain-specific-language API.

I understand your concerns - we already discussed a lot about this. Ultimately, the generated artifacts are indeed an API for the domain-specific language, hence DSL API. Proposal: Keep the naming but also add 'backend' to be clear of the function of that box?

f)

Eventually the Kotlin based API will be migrated to modelQLv2. In combination with the new model-server plugin for MPS any UC can be realized by using MPS "as a backend". I find it confusing to add more crossing arrows here and would rather got with this simple depiction alongside a not that the new plugin can act as a in-place replacement during development.

Ok, now I understand the reasoning.
g)
Just to confirm, we talk about the same thing.
The name "DSL API" is fine for the generated artifacts from the metamodel by modelix.
I had a (slight) issue with the name "Domain-specific API" on the Quarkus and KTor server.
I like your proposal to add backend to it, to make it clear.


Question about finetuned T5.

Thanks for the instructive work.
I'm trying to use the language model to generate some of the desired texts.  And I'm wondering if the parameter of finetuned T5 are open sourced? I read the paper "CommonGen" but can't find the released T5 parameters after finetuning.

Hi,
Thanks for your attention! You can refer to this link (https://huggingface.co/mrm8488/t5-base-finetuned-common_gen) and follow the instructions and usage from here (https://github.com/gagan3012/keytotext).


add telegram link

please change the image...

I don't think we want Telegram on lbry.tech - no developers use this chat tool.


[HOW-TO] How to select where the weights are downloaded to.

Can I get some advice on how to choose which drive the weights are downloaded to?

You just need to change huggingface .cache dir location

export HF_HOME=new path


movement stick shouldn't control radial menu

I mistakenly added movement stick tracking in my 1.2 analog branch.
This breaks play with controllers and "radial-ing while running" by forcing the player to release their movement stick to not mess up their radial selection. This is very distracting, makes, rapid-swapping at melee range impractical, and not xbla behavior.

Oh. I assumed you added this into the mouse check by mistake.


[Bug] Search does not work even if the search function is activated.

Version
Material Dashboard 2, [2.1.0] 2022-02-14
Reproduction link
http://nolink
Operating System
Window 11
Device
PC
Browser & Version
Chorome
Steps to reproduce

Step 1 : canSearch function true
Step 2 : Tables Tap, search box not working

What is expected?
normal search function, globalSearchFilter working!
What is actually happening?
The tables canSearch function does not work. I tried to search by activating the search function, but the table contents are all gone.

Solution
Additional comments
[ canSearch function activate ]

[ Bug, search not working ]

did you fix this?


Navbar dropdown - Not defaulting to hover:true

https://github.com/Dogfalo/materialize/blob/master/navbar.html#L378
This states:
" By default, the dropdown menu is activated by hovering over the dropdown trigger. To activate the dropdown menu on click, pass { hover: false } into the above dropdown() function"
This does not appear to be the case for me.  I'm required to add hover: true to enable the feature.

Can you post some of your example code that is not working?

I think this is related to this issue: #3417

I'm using a pretty standard navbar following the documentation to the letter.  Same results using exact example:

one

two

three

    Logo

Sass

Components

Dropdownarrow_drop_down

Using $('.button-collapse').sideNav(); it does not open on hover, which seems to make the above reference statement incorrect.
Using $('.dropdown-button').dropdown({hover: true}); gets the job done, so it appears to be defaulting to false.
Interestingly, the information on the dropdown page says the default will be false:
https://github.com/Dogfalo/materialize/blob/master/dropdown.html#L166
"If true, the dropdown will open on hover. Default: false"
Also seems to make the above reference statement incorrect, unless there's logic to determine if the dropdown is in the nav (I haven't looked yet.)
I don't think there's a code bug here.  I think there's just some mismatched documentation to sort.

this is still an issue in the latest version  https://codepen.io/fega/pen/wdBEWj

This is just a problem with the docs. https://github.com/Dogfalo/materialize/blob/master/js/dropdown.js#L15
default hover state is false

$('.dropdown-button').dropdown({hover: true}) does not work onClick on tablet devices


Refactor of periodic base classes

This refactors the periodic base classes into a PeriodicModeler and a PeriodicModelerMultiband. Also do some code cleanup and add tests.

Merged by rebase


chia image should use a compiled binary

Some providers are getting throttled by chia image as it tries to download a heavy repo here
https://github.com/ovrclk/awesome-akash/blob/2d4fc4ab5608/chia/run.sh#L92
It should not do that as it's an anti-pattern, there is no reason for it to download & compile the code each time someone deploys.
It currently it takes forever for the image to start because provider's IP is getting throttled by the Github:

same with any other heavy repo:

Neither it's good to DDoS Github.
The chia image should just use the pre-compiled release from https://github.com/Chia-Network/chia-blockchain/releases/tag/1.3.5
i.e. chia-blockchain_1.3.5_amd64.deb
I've tried compiling it on different x86-64 (aka x64, amd64, x86_64)-based CPU architectures, it rendered the same binary with same sha256 sum, meaning it literally does not make any difference where it gets compiled as long as it's same family of CPU architecture.

cc @88plug


Provide feedback while downloading a file

Recipe-robot seems stuck when it is downloading a file. It would be nice if there were some progress feedback during downloads.
Related issues:

https://github.com/homebysix/recipe-robot/issues/24
https://github.com/homebysix/recipe-robot/issues/19

#84 solves this for the script, but I'm not sure what the best solution for the app will be.

https://github.com/homebysix/recipe-robot/commit/1ff91d3b6ec1b38cd2ab580d3f3af3c9f5c9ecbf should fix this for the app.


Docker registry

Type of change

Bugfix
~Enhancement / new feature~
~Refactoring~

Description
This PR always pushed docker images to a local registry, which means the images used for the system test are the one produced by the build. If the system tests pass the images are pushed to docker hub.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] ~Write tests~
[x] Make sure all tests pass
[ ] Update documentation
[ ] ~Check RBAC rights for Kubernetes / OpenShift roles~
[ ] ~Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally~
[ ] ~Reference relevant issue(s) and close them after merging~

Note: I have not yet tested this on master.

Or how is thaat dealt with?

TBH, I have no idea. The registry plugin doesn't seem to have any documentation. It had documentation, but that got removed, because apparently the YAML resources for it are documentation enough. So I don't know whether/how I need to take special steps to proxy the registry into the namespaces we use for testing, or whether than happens automagically.

Also, will there be any issues with the secure / insecure registries

From what I've read localhost:5000 is somehow special and means you don't need to mess around with certificates.

TBH, I have no idea. The registry plugin doesn't seem to have any documentation. It had documentation, but that got removed, because apparently the YAML resources for it are documentation enough. So I don't know whether/how I need to take special steps to proxy the registry into the namespaces we use for testing, or whether than happens automagically.

So my guess would be that you will need to prefix all images with localhost:5000. Such as image: localhost:8000/strimzi/cluster-controller:latest. But I'm just guessing - it is not like I know this for sure.

Let's not do it like this. Life's too short.


Parcels hangs when more than 10,000 temporary output files reached

As found by @lourousselet, Parcels hangs when the number of .npy files in a temporary output directory reaches 10,000. This should be fixed

Having explored this issue a bit more, it turns out that the following lines to write the pset_info.npy file cause strongly nonlinear slowdown as the number of output files increases:
with open(os.path.join(self.tempwritedir, 'pset_info.npy'), 'wb') as f:
    np.save(f, pset_info)

An example script that shows this nonlinear (exponential?) slowdown is
xdim, ydim =40, 100
fieldset = FieldSet.from_data({'U': np.zeros((ydim, xdim), dtype=np.float32),
                               'V': np.zeros((ydim, xdim), dtype=np.float32)},
                              {'lat': np.linspace(-60, 60, ydim, dtype=np.float32),
                               'lon': np.linspace(0, 1, xdim, dtype=np.float32)})

pset = ParticleSet(fieldset, pclass=JITParticle, lon=0, lat=0)
pfile = pset.ParticleFile('pfile_largenumber.nc', outputdt=1)

def DoNothing(particle, fieldset, time):
    pass

pset.execute(DoNothing, runtime=1e5, output_file=pfile)

Not sure though how to fix this.

The issue is with those lines, basically: among all the attributes 'time_written' is exponentially increasing here, as it is written for every file (O(N)=N) and it is itself a constantly-expanding array with all written times of all particles for each file (O(N)=M) - hence, the drastic slowdown.

So, from what we saw, there is no fix on this issue - it's just exponential complexity with the write-times. Best suggestion would be 'go easy on the output-dt', I presume ? As long as the snapshots in pset_info.npy store a history (which is required to do synchronization in a cluster-processing), this issue is going to remain.

So, from what we saw, there is no fix on this issue - it's just exponential complexity with the write-times. Best suggestion would be 'go easy on the output-dt', I presume ? As long as the snapshots in pset_info.npy store a history (which is required to do synchronization in a cluster-processing), this issue is going to remain.

OK, then I'm closing this Issue for now..

OK, then I'm closing this Issue for now..


[help] How to use viz panel to visualize data?

First of all, it's really a great feature for perfetto, because I just us trace_processor then python then vega-lite for offline visualization for now.
I tried vega-lite sample in viz panel, it works.
But, how to access perfetto trace data in viz?
Thanks

You can put a trace_processor SQL query where the URL would go. For example:
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "data": {"url": "select cpu, dur from sched where utid != 0"},
  "mark": "bar",
  "encoding": {
    "x": {
      "field": "cpu"
    },
    "y": {"aggregate": "sum", "field": "dur"}
  }
}

Thanks so much!
Hope to see this in the official doc soon


Make running tests via TestEnv easier

This PR rewrites runtests.jl in such a way that tests can easily be executed via TestEnv. This speeds up the development workflow because it allows developers to run only one test file or to run specific parts of the tests by copy-pasting code.
Demo with time info
$ julia --project

julia> ENV["TEST_MLJBASE"] = "true"

julia> using TestEnv; TestEnv.activate()

julia> @time include("test/preliminaries.jl");
[ Info: nprocs() = 13
[ Info: nthreads() = 6
 40.846299 seconds (27.93 M allocations: 1.629 GiB, 2.42% gc time, 31.45% compilation time)

julia> @time include("test/resampling.jl");
Test Summary:      | Pass  Total
_actual_operations |   18     18
[...]
186.479425 seconds (413.44 M allocations: 24.754 GiB, 4.05% gc time, 70.04% compilation time)

julia> @time include("test/resampling.jl");
Test Summary:      | Pass  Total
_actual_operations |   18     18
[...]
  8.093617 seconds (20.18 M allocations: 1.258 GiB, 4.48% gc time, 76.16% compilation time)

Codecov Report

Merging #769 (e9cfc13) into dev (4d1ed14) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #769      +/-   ##
==========================================
- Coverage   85.85%   85.70%   -0.16%
==========================================
  Files          36       36
  Lines        3451     3414      -37
==========================================
- Hits         2963     2926      -37
  Misses        488      488

Impacted Files
Coverage Δ

src/measures/measures.jl
68.42% <0.00%> (-1.88%)
:arrow_down:

src/show.jl
37.50% <0.00%> (-0.78%)
:arrow_down:

src/measures/loss_functions_interface.jl
72.72% <0.00%> (-0.49%)
:arrow_down:

src/interface/data_utils.jl
96.49% <0.00%> (-0.29%)
:arrow_down:

src/utilities.jl
84.00% <0.00%> (-0.22%)
:arrow_down:

src/resampling.jl
91.04% <0.00%> (-0.12%)
:arrow_down:

src/measures/finite.jl
98.16% <0.00%> (-0.09%)
:arrow_down:

src/data/datasets_synthetic.jl
95.41% <0.00%> (-0.05%)
:arrow_down:

src/composition/learning_networks/machines.jl
91.91% <0.00%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d1ed14...e9cfc13. Read the comment docs.

This PR rewrites runtests.jl in such a way that tests can easily be executed via TestEnv. This speeds up the development workflow because it allows developers to run only one test file or to run specific parts of the tests by copy-pasting code.
Demo with time info
$ julia --project

julia> ENV["TEST_MLJBASE"] = "true"

julia> using TestEnv; TestEnv.activate()

julia> @time include("test/preliminaries.jl");
[ Info: nprocs() = 13
[ Info: nthreads() = 6
 40.846299 seconds (27.93 M allocations: 1.629 GiB, 2.42% gc time, 31.45% compilation time)

julia> @time include("test/resampling.jl");
Test Summary:      | Pass  Total
_actual_operations |   18     18
[...]
186.479425 seconds (413.44 M allocations: 24.754 GiB, 4.05% gc time, 70.04% compilation time)

julia> @time include("test/resampling.jl");
Test Summary:      | Pass  Total
_actual_operations |   18     18
[...]
  8.093617 seconds (20.18 M allocations: 1.258 GiB, 4.48% gc time, 76.16% compilation time)

Thanks @rikhuijzer.
This looks similar to what the (@conditional_testset)[https://github.com/JuliaAI/MLJBase.jl/pull/769/files#diff-802cfb2475ab0707be06c9db96c60788cfd5a56b5547a8e1a363145f6850c00aR55] macro was designed to do. But I guess it doesn't hurt to have multiple approaches.
Thanks once again.

For the record, some selective testing is already made possible by the @conditional_testset macro; see here. But I still think this is a good idea! Thanks.


IOOS DAC compatibility issues: time variable not being populated with attributes

Most of the other variables in our netcdf files have attributes, but time does not, despite it having an entry in deployment.yml.  Should be easy to add a code block to fill the attributes into the time variable.

Made a pull request with a small change to slocum.py. The code to do this was already there, time was just losing it's attributes later on in the processing (the coordinate was getting overwritten).

The calendar attribute for time, which is equal to gregorian in the deployment.yml file, is getting overwritten by proleptic_gregorian somewhere in the processing. However, I'm searched all the scripts, and can't figure out where this is happening.

Probably https://github.com/c-proof/pyglider/blob/7fb31932557bfe5a7ff142253ff73427432f94e7/pyglider/slocum.py#L928-L929 is changing to proleptic_gregorian. OTOH, that shouldn't really cause a problem with the GDAC given that it is synonymous with Gregorian for the modern era.


use accelerate with fastai and wandb

I know that accelerate has a mechanism which directly works with wandb, but upon having a callback with fastai inside a Learner object, wandb is unable to track any metrics.

@deven-gqc can you provide an example please? You should just be able to launch using fastai distributed and use their existing wandb callback

This is the error I get,
Currently running fastai_distributed.py with bs = 1024, epochs = 50, and sample_00 image_csvs
The following values were not passed to `accelerate launch` and had defaults used instead:
	`--num_cpu_threads_per_process` was set to `32` to improve out-of-box performance
To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
Traceback (most recent call last):
Traceback (most recent call last):
  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 61, in <module>
  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 61, in <module>
    main()
  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 49, in main
    main()
f'{args["directory"]}.{args["script"]}')  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 49, in main

  File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.7.9/lib/python3.7/importlib/__init__.py", line 127, in import_module
    f'{args["directory"]}.{args["script"]}')
  File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.7.9/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
return _bootstrap._gcd_import(name[level:], package, level)  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/localscratch/vannary.45771063.0/sewer_ml/script/fastai_distributed.py", line 17, in <module>
  File "/localscratch/vannary.45771063.0/sewer_ml/script/fastai_distributed.py", line 17, in <module>
        wandb.login(key=KEY)wandb.login(key=KEY)

  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_login.py", line 74, in login
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_login.py", line 74, in login
Traceback (most recent call last):
  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 61, in <module>
    if wandb.setup()._settings._noop:
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 312, in setup
    if wandb.setup()._settings._noop:
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 312, in setup
    main()
  File "/localscratch/vannary.45771063.0/sewer_ml/script_runner.py", line 49, in main
    f'{args["directory"]}.{args["script"]}')
  File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.7.9/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/localscratch/vannary.45771063.0/sewer_ml/script/fastai_distributed.py", line 17, in <module>
    wandb.login(key=KEY)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_login.py", line 74, in login
    ret = _setup(settings=settings)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 307, in _setup
    ret = _setup(settings=settings)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 307, in _setup
    wl = _WandbSetup(settings=settings)
      File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 293, in __init__
if wandb.setup()._settings._noop:
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 312, in setup
    wl = _WandbSetup(settings=settings)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 293, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
    ret = _setup(settings=settings)
_WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 307, in _setup

  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
    self._setup()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup
    wl = _WandbSetup(settings=settings)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 293, in __init__
    self._setup()
self._setup_manager()  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup

  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 266, in _setup_manager
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
    self._setup_manager()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 266, in _setup_manager
    _use_grpc=use_grpc, settings=self._settings
      File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_manager.py", line 108, in __init__
self._setup()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup
    _use_grpc=use_grpc, settings=self._settings
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_manager.py", line 108, in __init__
    self._setup_manager()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 266, in _setup_manager
    _use_grpc=use_grpc, settings=self._settings
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/wandb_manager.py", line 108, in __init__
        self._service.start()self._service.start()

  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 112, in start
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 112, in start
    self._service.start()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 112, in start
        self._launch_server()self._launch_server()

  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 108, in _launch_server
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 108, in _launch_server
    self._launch_server()
  File "/project/6062137/vannary/CCTV/fastai/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 108, in _launch_server
    assert ports_found
assert ports_found
AssertionError
AssertionError
    assert ports_found
AssertionError

This looks unrelated to Accelerate, and has to do with wandb. Can you test this by running wandb by itself in a python script to see if you can use it to verify?

Sure, I'll try and let you know.

@muellerzr I think it was a wandb issue, its now resolved. Thanks Zach.


Need to add error handling in netconf driver

Netconf driver should send 'FAILED' status message when there are exceptions in lifecycle execution. As of now we are only able to see Kafka messages when it is SUCCESS.

PR has been merged.


Fix build number

#4 and #5 were merged with the same build number.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


Changed themes presets to String format

Ok as @akien-mga(according to @Zylann suggestion) is mentioned in #19514 I decided to change its saving format from int to String to make it independent of integer order. I also make them sorted in alphabet order(after Default and Custom). After this change your theme(once) will be resetted to Default. Sorry dear users :)

I would put custom at the end, since it's not used often (and it's more like "nothings was good enough I need more options")
But otherwise the PR seems fine.

@groud Ok, I changed it as you wish.. however @akien-mga originally say me that custom is better be seen right after "Default"

Yeah, well, that is my opinion on that. It can still be discussed in the next PR review if anyone else prefer Akien's solution. :)

Yeah, lets leave it for PR review )

It's fine with Custom at this end when using it as a String, I just asked to move it up when it was an int enum to avoid having it change enum value all the time.
Should we add some code to handle the conversion of an existing int "interface/theme/preset" (with the 3.0.x enum values) to the new String setting?

Should we add some code to handle the conversion of an existing int "interface/theme/preset" (with the 3.0.x enum values) to the new String setting?

I think, its already been broken since #19514 :) I dont think its a good idea to implement hacks for this

I think, its already been broken since #19514 :) I dont think its a good idea to implement hacks for this

Yes but only in the master branch. All users moving from 3.0.x to 3.1 will lose their settings, and worse, all users alternating between both versions for different projects will lose their settings each time.
But well, it's true that even if we add some conversion code in 3.1, things will still be broken if you reopen 3.0 and your 3.1 String setting gets overwritten... So let's keep it as is for now and see if we need a settings conversion system of some sort.

Now that Godot 3.1 has been released, we don't plan to cherry-pick new features and enhancements to the 3.0 branch, unless there is very strong support in favor of it. Removing cherrypick label for 3.0.


Sage/gas optimization techniques in solidity

Thanks for submitting this tutorial for Celo Sage
Before you hit "Create Pull Request", make sure you have read the Tutorial Contribution Guidelines and reviewed the Sample Tutorial Structure.
Please confirm the following before submitting your tutorial for review -

[x] My tutorial follows the Tutorial Contribution Guidelines.
[x] The title of the Pull Request matches the title of my tutorial.
[x] I've followed the tutorial template structure.
[x] I've proofread the tutorial for spelling and grammar mistakes.
[x] I've thoroughly explained the code, with inline code comments and text explanations.
[x] I've run a linter & prettifier to format my code blocks.
[x] I've run the tutorial to test it and the code works.

NOTE: We cannot review your Pull Request if it does not meet the standard outlined above.
Reviewers - @joenyzio & @viral-sangani

Hello @Julius170, I have updated the headings. However, according to the guidelines at https://docs.celo.org/community/celo-sage/tutorial-structure, the conclusion and author must be #h1. Thank you for the quick response.


[Issue]:  Warning: Error decoding faulty json, attempting repair

Do you need to file an issue?

[X] I have searched the existing issues and this bug is not already filed.
[ ] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[ ] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue
I am encountering a JSON decoding error when using the glm-4-flash tool to generate knowledge graphs. The error message is as follows:
Steps to reproduce
No response
GraphRAG Config Used
# Paste your config here

encoding_model: cl100k_base
skip_workflows: []
llm:
api_key: $$$
type: openai_chat # or azure_openai_chat
model: glm-4-flash
model_supports_json: true # recommended if this is available for your model.
max_tokens: 4000
request_timeout: 600.0
api_base: https://open.bigmodel.cn/api/paas/v4
api_version: 2024-02-15-preview
organization: <organization_id>
deployment_name: <azure_model_deployment_name>
tokens_per_minute: 150_000 # set a leaky bucket throttle
requests_per_minute: 10_000 # set a leaky bucket throttle
max_retries: 10
max_retry_wait: 10.0
sleep_on_rate_limit_recommendation: true # whether to sleep when azure suggests wait-times
concurrent_requests: 5 # the number of parallel inflight requests that may be made
temperature: 0 # temperature for sampling
top_p: 1 # top-p sampling
n: 1 # Number of completions to generate
parallelization:
stagger: 0.3
num_threads: 50 # the number of threads to use for parallel processing
async_mode: threaded # or asyncio
embeddings:
parallelization: override the global parallelization settings for embeddings
async_mode: threaded # or asyncio
target: required # or all
batch_size: 16 # the number of documents to send in a single request
batch_max_tokens: 8191 # the maximum number of tokens to send in a single request
llm:
api_key: $$$
type: openai_embedding # or azure_openai_embedding
#model: ChristianAzinn/mxbai-embed-large-v1-gguf
model: embedding-2
api_base: https://open.bigmodel.cn/api/paas/v4
# api_version: 2024-02-15-preview
# organization: <organization_id>
# deployment_name: <azure_model_deployment_name>
# tokens_per_minute: 150_000 # set a leaky bucket throttle
# requests_per_minute: 10_000 # set a leaky bucket throttle
# max_retries: 10
# max_retry_wait: 10.0
# sleep_on_rate_limit_recommendation: true # whether to sleep when azure suggests wait-times
concurrent_requests: 5 # the number of parallel inflight requests that may be made
chunks:
size: 600
overlap: 150
group_by_columns: [id] # by default, we don't allow chunks to cross documents
input:
type: file # or blob
file_type: text # or csv
base_dir: "input"
file_encoding: utf-8
file_pattern: ".*\.txt$"
cache:
type: file # or blob
base_dir: "cache"
connection_string: <azure_blob_storage_connection_string>
container_name: <azure_blob_storage_container_name>
storage:
type: file # or blob
base_dir: "output/${timestamp}/artifacts"
connection_string: <azure_blob_storage_connection_string>
container_name: <azure_blob_storage_container_name>
reporting:
type: file # or console, blob
base_dir: "output/${timestamp}/reports"
connection_string: <azure_blob_storage_connection_string>
container_name: <azure_blob_storage_container_name>
entity_extraction:
strategy: fully override the entity extraction strategy.
type: one of graph_intelligence, graph_intelligence_json and nltk
llm: override the global llm settings for this task
parallelization: override the global parallelization settings for this task
async_mode: override the global async_mode settings for this task
prompt: "prompts/entity_extraction.txt"
entity_types: [organization,person,geo,event]
max_gleanings: 1
summarize_descriptions:
llm: override the global llm settings for this task
parallelization: override the global parallelization settings for this task
async_mode: override the global async_mode settings for this task
prompt: "prompts/summarize_descriptions.txt"
max_length: 500
claim_extraction:
llm: override the global llm settings for this task
parallelization: override the global parallelization settings for this task
async_mode: override the global async_mode settings for this task
enabled: true
prompt: "prompts/claim_extraction.txt"
description: "Any claims or facts that could be relevant to information discovery."
max_gleanings: 1
community_reports:
llm: override the global llm settings for this task
parallelization: override the global parallelization settings for this task
async_mode: override the global async_mode settings for this task
prompt: "prompts/community_report.txt"
max_length: 2000
max_input_length: 8000
cluster_graph:
max_cluster_size: 10
embed_graph:
enabled: false # if true, will generate node2vec embeddings for nodes
num_walks: 10
walk_length: 40
window_size: 2
iterations: 3
random_seed: 597832
umap:
enabled: false # if true, will generate UMAP embeddings for nodes
snapshots:
graphml: false
raw_entities: false
top_level_nodes: false
local_search:
text_unit_prop: 0.5
community_prop: 0.1
conversation_history_max_turns: 5
top_k_mapped_entities: 10
top_k_relationships: 10
llm_temperature: 0 # temperature for sampling
llm_top_p: 1 # top-p sampling
llm_n: 1 # Number of completions to generate
max_tokens: 12000
global_search:
llm_temperature: 0 # temperature for sampling
llm_top_p: 1 # top-p sampling
llm_n: 1 # Number of completions to generate
max_tokens: 12000
data_max_tokens: 12000
map_max_tokens: 1000
reduce_max_tokens: 2000
concurrency: 32
Logs and screenshots
09:49:42,176 graphrag.llm.openai.utils INFO Warning: Error decoding faulty json, attempting repair
09:49:42,177 graphrag.llm.base.rate_limiting_llm INFO perf - llm.chat "create_community_report" with 0 retries took 27.0612059480045. input_tokens=3804, output_tokens=908
09:49:45,152 httpx INFO HTTP Request: POST https://open.bigmodel.cn/api/paas/v4/chat/completions "HTTP/1.1 200 OK"
09:49:45,154 graphrag.llm.openai.utils INFO Warning: Error decoding faulty json, attempting repair
09:49:45,154 graphrag.llm.base.rate_limiting_llm INFO perf - llm.chat "create_community_report" with 0 retries took 30.045606669002154. input_tokens=4367, output_tokens=725
09:49:49,146 httpx INFO HTTP Request: POST https://open.bigmodel.cn/api/paas/v4/chat/completions "HTTP/1.1 200 OK"
09:49:49,151 graphrag.llm.openai.utils INFO Warning: Error decoding faulty json, attempting repair
09:49:49,152 graphrag.llm.base.rate_limiting_llm INFO perf - llm.chat "create_community_report" with 0 retries took 18.514149362999888. input_tokens=3017, output_tokens=740
09:49:49,876 httpx INFO HTTP Request: POST https://open.bigmodel.cn/api/paas/v4/chat/completions "HTTP/1.1 200 OK"
Additional Information

GraphRAG Version:
Operating System:
Python Version:
Related Issues:

Despite the JSON decoding error warnings, all workflows completed successfully. The final output indicates that the knowledge graph generation was successful.

Refer to this post https://github.com/microsoft/graphrag/issues/575. It works for me.
@awaescher

Small update: I found out that my model always returned nosense like this:
python -m graphrag.query --root ./myfolder --method global "What are the main topics"
"The main topic is 'What are the main topics'"

I found out that my local Ollama instance (0.3.0) seemed to ignore the system prompt and I got it working by manually stitching together the two prompts into one:
File: /graphrag/query/structured_search/global_search/search.py , method: _map_response_single_batch
#search_messages = [
#  {"role": "system", "content": search_prompt},
#  {"role": "user", "content": query},
#]
search_messages = [ {"role": "user", "content": search_prompt + "\n\n### USER QUESTION ### \n\n" + query}


Fix(eos_designs): PTP on l2 port channels

Change Summary
Enables ptp on l2 port-channel uplink interfaces when ptp is enabled for a node
Related Issue(s)
N/A
Component(s) name
arista.avd.eos_designs
Proposed changes

Add the same ptp checks that are currently performed on p2p l3 uplink interfaces to l2 port-channel interfaces when gathering uplink interfaces facts
How to test

Updated eos_designs-l2ls molecule test
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

PTP was not convering L2 uplinks since PTP towards MLAG parents might not work without some extra stuff. Please investigate so we make sure we are doing the right thing here. Also think of the situation where the L2 switches are MLAG

I believe you are correct, Claus. Some additional configuration may need to be added.
https://www.arista.com/en/support/toi/eos-4-26-2f/14803-ptp-mlag
I will update the PR accordingly.

Moving to draft until it is ready.

According to the TOI, we don't need mpass configured on port-channels between Arista devices running PTP since 'Arista PTP enabled devices always place PTP messages on the same physical link within the port-channel'. It is only required when configuring a PTP enabled port-channel from an Arista device to a 3rd party device.
https://www.arista.com/en/support/toi/eos-4-26-2f/14803-ptp-mlag
Therefore, I believe this PR is good as is.

@ClausHolbechArista - should this be considered a feature and not a fix?

Yes a feature.

To be rebased and rerun molecule.


Updated: Self Changer for Gmod 13 by utilizing library net

Fixed: #73

Added also force converting the assigned value to a number

¯\(ツ)/¯ Apparently a very big rewrite to fix one Lua error posted in #73.

but what is "selfchanger", I've checked the code and the entire thing makes no sense. Why does it exist? What is its purpose?

Looks like it literally just lets you set client variables on whatever entity you're using the tool on.

Yeah that's what it looked like. So I ask again, what's the point of this tool? Seems to be completely useless to me

I'd be ok with that.

@thegrb93 Yep, me too. It looks weird.

Self changer is a leftover from Modular Panels (also known as GUI Panels).
They were broken long, long, LONG ago.
I had already partially removed them in response to #83, and commit https://github.com/wiremod/wire-extras/commit/4840e76c0a48455622d259a25ed96c47a9dfbb47. I have been purging the rest of them in #96.


click_button doesn't appear to click the right location when browser executing asynchronous javascript

Stay with me, I've spent a great deal of time debugging.  I've narrowed it down to a location in a test where if I put a one second sleep before the button press, all is well.  When the sleep is gone, the cursor is in the wrong location (as shown in the screenshot) and none of the javascript handlers are fired off.
Now, a one second sleep in one test isn't too big of a deal, but we have several tests having this problem.  The button_click is simply lost.  What is worse, is that it has been really difficult to reliably get these tests to work, sometimes it is no wait, sometimes it is 1 second, sometimes it fails at 3 seconds.
You might be wanting to say that I "shouldn't use sleep" and I should use the cucumber equivalent of I should see so capybara will automatically wait right?  No problem, I have done that and indeed I should see the button text is true, and in any case click_button is run and succeeds because it isn't invisible, and it is not disabled (visually a disabled button would be distinctive).
The ajax calls in the browser are remote validation related, so I added in some javascript to make sure those completed (they still emit events after completion).   Normally, I would be prone to call this a javascript or form validation problem, but then wouldn't the cursor still render over the button and not off to the side?
So this is my understanding:
Given the browser is busy with asynchronous remote javascript calls
When I immediately click_button on a visible element
Then nothing happens (no js click handlers, no errors)
And the cursor is not in the correct location

This is a dropbox folder with the success and failure logs.

In the webkit_debug logs, search for Received "Execute( AfCore.Form.isValidAll() )".  This is the location where right before the call to click_button, I execute a script to make sure all asynchronous calls are completed.
The js console logs are quite a bit more concise.   You can see that the success-js-log-snip.txt demonstrates that the [debug][InvitationForm] onSubmitClick is called, whereas the failed-js-log-snip.txt never gets there.

I'm not sure what else to try.  If there is a method I can preemptively call to make sure in special cases that the browser is prepared for the click_button, otherwise I'd like it if the code could verify somehow that it clicked the right location.
I'm totally open to suggestions.  What is clear is that it took two days to get down to this, and I still cannot reliably get tests to run with a specific sleep time (which is undesirable to begin with).

As another quick note, I have the same issue on a non-modal page as well.

My first guess would be CSS animations. In my current app, we've disabled these in test mode with the following in our application layout:
-# This disables modal animations/transitions in tests.
- if Rails.env.test?
  :css
    .modal.fade .modal-dialog {
      transition: inherit;
      -webkit-transition: inherit;
    }

Of course, this only resolves the issue for modals with CSS transitions. If you're displaying other content with transitions, you'll have to adjust the CSS as necessary.

Thanks @mhoran, I just tried without success.  I should note that my cucumber/capybara test is doing some fill_in behaviors on the form prior to the click_button and they are successful.  Also note that this happens on a normal page.  With that said, I'll leave in your suggestion and take a look at more of the bootstrap default transitions to try and avoid future issues.
The cursor should render on the button correct?

Workaround:
While I hate to workaround this, I don't know another way.  The best thing I could think of is adding to the javascript event queue to ensure that the click was after other javascript had run.  This is a two part workaround:
Part 1: make sure that all buttons have an id attribute
Since I'm including jquery.ui, I used their handy method uniqueId().  This also presupposes that you are sticking the Rails.env on the body as data-env.
$ ->
  env = $('body').data('env')
  isTest = 'test' is env

  return unless isTest

  # give any submit or button an id, so that we can trigger click on a button.
  $('input[type="submit"], button').uniqueId()

Part 2: change the cucumber form_steps I press
When /^I press "([^"]*)"$/ do |field|
  if webkit?
    button = find(:button, field, {})
    page.find("##{button[:id]}").trigger(:click)
  else
    click_button(field)
  end
end

where the webkit? method is
def webkit?
  [:webkit, :webkit_debug].include? Capybara.current_driver
end

This is just a workaround.  I still think this should just work, but I'm not sure how to help any further at this point.

@rosskevin Is there any element overlapping the button that might confuse the native clicking functionality in capybara-webkit?

@calleerlandsson I do not believe so, because this occurs on modal and non-modal/standard pages.  I haven't revisited this for months and have updated libraries, but my workaround is still in place and working.  As I mentioned, if I can see the text on the button, it should be visible, and I think the issue is most exemplified by the location of the cursor.  Consistently every time I saw this error, the cursor did not make it over the button.

@rosskevin Have you tried running the spec without the workaround using the latest version of capybara-webkit?
@mhoran, @jferris Is there something more we could try here?

It'd be great if we could get an isolated reproduction of the issue. It's possible that there's some platform specific or dependency specific combination that's causing the issue. Without being able to debug locally, it's extremely difficult to come up with a solution.
I've seen some weirdness with CSS3 transitions which exhibited this behavior, but it seems that disabling those didn't solve this issue.
It could also be that the modal opening is triggering some sort of reflow, which invalidates the pointer position that we calculate.

I guess there could be a race condition in our click handling, assuming that it's possible for the page to change while we're processing a click. A lost race would look like this:

Thread 1: Find the element.
Thread 1: Calculate the click position for that element.
Thread 1: Perform a hit test to validate that position.
Thread 2: Move the element in some way (JavaScript, CSS transition, etc)
Thread 1: Send a click at the calculated position.

Since the hit test passed, we wouldn't raise an exception, so Capybara won't retry the click.
If this is the issue, it will be very difficult to reproduce in a unit test.
@rosskevin in your application, does this fail consistently or erratically?

@jferris  This was consistently a failure (I need to reaffirm as requested).  As @mhoran suggested, I removed transitions/animations in the test environment.  As shown in the screenshot, the cursor is over a position where the button never was (even with the default transitions enabled).  So I don't believe Thread 2: Move is occurring in this case.  I should mention that buttons are present and visible but initially disabled.  This definitely only appears as javascript is running validations and buttons are disabled/enabled.
@calleerlandsson our CI build is currently broken, it will be a couple of days before our dev is back to passing, when it is, I'll pull the workaround to see if it still breaks on the same tests.
@mhoran - regarding modal/reflow, I'm guessing this is a broader issue, as I was reproducing it on non-modals.  Nonetheless, some kind of dynamic nature could be occurring on that page, but certainly the validation and button enablement is common amongst the cases I have seen.
Please give me a couple of days to get my dev CI back to passing, I'll reaffirm the issue.

@rosskevin When you say you were seeing this error on non-modal pages, did they still have slide out/dropdown panels or anything like that?  Since you're using jquery.ui  you should able to disable all of its animations by setting jQuery.fx.off to true when testing.

We disable the workaround, same problem.
Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-53-generic x86_64)
capybara-webkit (1.5.2)
capybara (2.4.4)
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

We also turned off jQuery.fx just to be sure (it's not involved but is present), and it made no difference.

Something changed, pointer location is different:

Here's an example from a non-modal:

The click is simply lost, it appears.

@rosekevin -- so now that animations are disabled the cursor is showing over the correct button?  If that is the case, are your JS click handlers attached before or after the box is shown?  If after it's possible the click is happening before the handlers are in place.

CSS Animations were disabled previously.
Tried removing the workaround - failure
Tried adding the jquery fx disablement - failure - no change.

This isn't animated, and it isn't a jquery.ui component.  Bootstrap button.  I don't think animation is playing a role at this point (though I will never say never).
I think handlers are attached, but the button is disabled initially until form is valid (using formvalidation.io).  Click race could be the issue, the JS is busy doing a remote ajax validation in both cases.  That is why I introduced page.find("##{button[:id]}").trigger(:click), to get the click on the JS thread to be sure it is processed, probably after enablement is completed.
This doesn't really explain the cursor position on the modal though.

So bootstrap modal does its on animation using css transitions if available -- you can be sure they're fully turned it off by removing the "fade" class from the modal.  Since the image is now showing correctly though, the issue very well could be that you're clicking on the button while its still disabled.  You could try
page.find("##{button[:id]}:not([disabled])").click()

which will wait until the button enables (assuming it is disabled with the disabled attribute) before clicking it

@twalpole - tried page.find("##{button[:id]}:not([disabled])").click(), it didn't work.  It yields the same result.

Is there anything going on with this issue ? I have similar issue with my test.

@mfrejnik the developers of capybara-webkit have been unable to reproduce this issue in isolation, making it extremely difficult to develop a fix. If you can extract a simple test case that reliably reproduces the issue, that will go a long way in helping to develop a fix.

Closing due to age and the lack of a way to replicate -- We can reopen when a way to replicate with current releases is provided.

@twalpole This is still present fyi. 3 years later.
Heres a tip if you cant reproduce, do not rspec over a single file. Because for some reason, the bug will not appear. Instead have several mock specs ready and do rspec  from the app folder.
(instead of rspec/target_file.rb

@NuclearMachine this gem went end-of-life quite some time ago. The testing world has moved on

@twalpole . Oh no. That comment is meant for the Ruby on Rails version. Aka https://github.com/teamcapybara/capybara/issues/1890.


Mesh class needs to be un-crippled

For a long time the Godot supports accessing  mesh internals only using GLES calls,
and it is basically disabled in many configurations. While geometry is there, Godot can't access it.
which is really not justifiable. So Mesh surfaces access method should be implemented
without using GLES where this path is not supported.
Access to geometry data is really useful for various mesh processing and preparing
internal assets, like collision helpers.

@slapin Bump :slightly_smiling_face:
Is this still relevant in the current master branch?

Thanks for asking.
No. Now ArrayMesh is good enough. There are ways to improve it, like block
operations to overcome gdscript slowness with loops,
but as it comes to this particular issue, I think it can be closed.
On Thu, Aug 22, 2019 at 7:11 PM Hugo Locurcio<EMAIL_ADDRESS>wrote:

@slapin https://github.com/slapin Bump 🙂
Is this still relevant in the current master branch?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/4293?email_source=notifications&email_token=AAABPUYBMF7U57FKXMEJSYLQF23B3A5CNFSM4CAUE3G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45S4EQ#issuecomment-523972114,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAABPU4OPQTQI2KMGBCECT3QF23B3ANCNFSM4CAUE3GQ
.

@slapin Thanks for replying :slightly_frowning_face: I'll close this then.


Add C api and provide shared and static libraries.

It would be nice to a stable (or versioned) C api and provide a way to compiled shared and static libraries so one can created bindings for various othe languages.
The advantage is one can use these to embed inference engine into their own programs to eliminate the network/http latencies, which might be crucial for low compute tasks when network latency is greater than the actual compute.
Other is that once there are bindings for various languages, a lot more people can write micro services/web GUI/..., which will broaden the usage of this project.

@maximus2600 no plans for this at the moment.


Akka.Persistence fails to save snapshot when data is bigger than 65,535 bytes

When snapshot data is bigger than 65,535 bytes, following error is observed in logs:
Failed to save snapshot, Error: MySql.Data.MySqlClient.MySqlException (0x80004005): Data too long for column 'snapshot' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)

This is fixed now in this pull request.


Auto Travis Publish

Await #5

Completed in https://github.com/RbxAPI/Javablox/commit/cb790d9337d02a1051978c393a0d63d875fd5dd9


Bring back browser-based saves

Some people (e.g. @Leandros ) miss the old functionality, would be nice to get it back.

Also reported by Tomek


feat: Add a feature to serialize and deserialize memory types to and from JSON

Description: Add a feature to serialize and deserialize the memory types into JSON format,
Issue: #11275,
Dependencies: No new dependencies,
Tag maintainer: @baskaryan, @eyurtsev, @hwchase17
Co-Authors: @D3nam, @avaove, @malharpandya

Our changes add the serialization and deserialization to and from the following memory types:

ConversationBufferWindowMemory
ConversationBufferMemory
ConversationSummaryBufferMemory
ConversationSummaryMemory
ConversationEntityMemory
ConversationTokenBufferMemory
For the following types an additional llm argument needs to be passed for deserialization, this is because the current BaseLLM class is not lc_serializable:
ConversationSummaryBufferMemory
ConversationSummaryMemory
ConversationEntityMemory
ConversationTokenBufferMemory
In the future, our implementation allows for extension to include Knowledge graphs and Vector Stores, if their lc_serializable methods are implemented to support both serialization and deserialization.

@hwchase17  Curious to hear - why the desire to have them serializable?
Currently building a system where each step in the conversation is produced by invoking a stateless API. So any conversation state must be passed in to the parameters used to invoke the API.
@Aditya-k-23 Why do these memory types require an llm to deserialize?

ConversationSummaryBufferMemory
ConversationSummaryMemory

For example, to my thinking the ConversationSummaryBufferMemory contains a list of Human and AI conversation steps, a current buffer size or token count, and maybe a summary of the conversation so far to capture the overflow from the buffer. A serialized representation could hold these 3 things, and the state could be completely recovered from them.
What we want to avoid is having to make extra calls to the llm to re-create the summary from the conversation steps when deserializing, as this is potentially costly/time consuming.

i am going to close this. this isnt something we want to make serializable yet


Failed to update server instance heartbeat to the database

When the maestro server is down for a while, it's up again. It might not sync its heartbeat to the database causing the following reasons:
E0612 09:28:05.379536   72292 logger.go:129]   failed to mark transaction for rollback: could not retrieve transaction from context
E0612 09:28:05.380320   72292 logger.go:129]   Unable to upsert maestro instance: pq: duplicate key value violates unique constraint "server_instances_pkey"

So the behavior will be:

The server is up, update the heartbeat
The server is down, then the liveness goroutine will mark the server as deleted if it reaches a specific duration
The server is up again, it will update the the heartbeat to the database and then mark the deleted_at as null

Reference: https://github.com/openshift-online/maestro/issues/109
Signed-off-by: myan<EMAIL_ADDRESS>

/assign @morvencao

/ok-to-test


Added Password Generating Functionality

The button now generates a random password between 8-128 characters, and the user can choose whether special characters, upper case letters, lower case letters, and numbers are included.


Possible to server PHP through Kestrel?

I'm having an existing PHP installation (i.e. all the files and extensions like php.exe, php-cgi.exe).
Will it be possible for Kestrel to server PHP URLs through some kind of forwarding/CGI to the existing PHP installation?

Not the way you want to do it but you can use http://www.peachpie.io/ which is php on .NET.

Thanks, David. Actually I'm trying to utilize a Laravel application, which seems out of scope for Peachpie, from a first quick look.


JSON format missing versions info

Hi,
As the title implies, JSON format currently does not have version number displayed unlike base output format. It would be great to know the version number of the secret when outputting in JSON.
Furthermore, do you have any plans to support extracting all versions of a secret in JSON format? This is highly beneficial if running a search against the export in JSON.
You would know:

The Secret name and its version
If the value changed in later versions

In the meantime I wrote the below python script which converts the export type 'base' to a JSON format & includes the secret version as a key named 'vault_secret_version'
Tested with vkv version 0.7.0.
#!/usr/bin/env python3

import json
import sys

# Tested on vkv version v0.7.0!
# Usage:
    # ./vkv export -p <KV_ENGINE> --show-values --with-hyperlink=false --max-value-length -1 --format base > output.base
    # save to file: python3 vkv-base-to-json.py output.base output.json
    # output to stdout: python3 vkv-base-to-json.py output.base

addSecretVersion = True     # Variable to decide if we want to display secret version info

def getCurrentPosition(line):
    charCount = 0
    for char in line:
        if not char.isalpha():
            charCount += 1
        else:
            break
    return charCount

try:
    with open(sys.argv[1], 'r') as file:
        fileContent = file.read()
except:
    print("Can't open file. Double check file path provided!")
    exit()

previousPosition = 0
jsonString = ""
for line in fileContent.split('\n'):
    if "│" in line and "──" not in line:    # For incorrectly formatted multiline values.
        if jsonString[-3:] == '",\n':
            jsonString = jsonString[:-3]+"\\n"
        line = line[previousPosition:]  # Removing extra whitespaces due to incorrectly formatted newline
        jsonString += line.replace("\\", "\\\\").replace('"', '\\"')+"\\n"
    elif previousPosition == getCurrentPosition(line) and line != "" and "=" not in line:     # This means new dict
        jsonString += '{"' + line + '": {\n'
    elif previousPosition == getCurrentPosition(line) and "=" in line:  # This means its a password
        if jsonString[-2:] == '\\n':
            jsonString = jsonString[:-2]+'",\n'
        line = line[previousPosition:]
        jsonString += " " * (int(previousPosition/2)) + '"' + line.split("=", 1)[0] + '": "' + line.split("=", 1)[1].replace("\\", "\\\\").replace('"', '\\"') + '",\n'
    elif getCurrentPosition(line) > previousPosition:   # Sub values
        previousPosition = getCurrentPosition(line)
        line = line[previousPosition:]
        if "[v=" in line:   # This means its a secret
            if addSecretVersion:
                jsonString += " " * (int(previousPosition/2)) + '"' + line.split(" [v")[0] + '": {\n' + " " * (int(previousPosition/2)+2) + '"vault_secret_version": "' + line.split(" [v=")[1].replace("]", "") + '",\n'
            else:
                jsonString += " " * (int(previousPosition/2)) + '"' + line.split(" [v")[0] + '": {\n'   #Exactly like JSON output
        elif "=" in line:   # This means its a password
            jsonString += " " * (int(previousPosition/2)) + '"' + line.split("=", 1)[0] + '": "' + line.split("=", 1)[1].replace("\\", "\\\\").replace('"', '\\"') + '",\n'
        else:
            jsonString += " " * (int(previousPosition/2)) + '"' + line + '/": {\n'
    elif getCurrentPosition(line) < previousPosition:   # new Sub Value
        while True:
            if previousPosition - 4 > getCurrentPosition(line):
                if jsonString[-2:] == ",\n":
                    jsonString = jsonString[:-2]+"\n"
                previousPosition = previousPosition - 4
                jsonString += " " * (int(previousPosition/2)) + '}\n'
            else:
                previousPosition = getCurrentPosition(line)
                if jsonString[-2:] == ",\n":
                    jsonString = jsonString[:-2]+"\n"
                elif jsonString[-2:] == "\\n":
                    jsonString = jsonString[:-2]+'"\n'
                jsonString += " " * (int(previousPosition/2)) + '},\n'
                break
        line = line[previousPosition:]
        if "[v=" in line:   # This means its a secret
            if addSecretVersion:
                jsonString += " " * (int(previousPosition/2)) + '"' + line.split(" [v")[0] + '": {\n' + " " * (int(previousPosition/2)+2) + '"vault_secret_version": "' + line.split(" [v=")[1].replace("]", "") + '",\n'
            else:
                jsonString += " " * (int(previousPosition/2)) + '"' + line.split(" [v")[0] + '": {\n' #Exactly like JSON output
        elif "=" in line:   # This means its a password
            jsonString += " " * (int(previousPosition/2)) + '"' + line.split("=")[0] + '": "' + line.split("=")[1] + '",\n'
        else:
            jsonString += " " * (int(previousPosition/2)) + '"' + line + '/": {\n'

if len(sys.argv) > 2:
    with open(sys.argv[2], 'w') as file:
        file.write(jsonString[:-9]+'}')
else:
    print(jsonString[:-9]+'}')

This enables me to cross match kubernetes secret value with key in secret and use the secret name & version to populate ExternalSecretsOperator in a dynamic way


⚠ Homepage has degraded performance

In 20acbbd, Homepage (https://h-edu.cz) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage performance has improved in 48e3769.


Syncing Assets in UE Level with Maya Scene

A large chunk of this implementation already exists. As this is the first time looking into this feature, a large amount of the tasks below should be completed.
Tasks:
Unreal

[x] Get selected asset in  Level.
[x] Export Selected asset.
[x] Tag asset with asset specific data. [Name, type, object path]
[ ] Find assets in Level.
[ ] Correlate Exported asset to Level Instance.
[ ] Update Transform [Scale, Rotation, Translation]

Maya

[x] Import Unreal FBX
[x] Correlate assets that appear multiple times [Instanced in Unreal]
[x] Update Transform [Scale, Rotation, Translation]

Good progress for day one.
Branches:
https://github.com/mgear-dev/mgear4/tree/ueGear_6
https://github.com/mgear-dev/ueGear/tree/6-syncing-assets-in-ue-level-with-maya-scene
I setup a conversion Matrix, for data going from Maya to Unreal
https://github.com/mgear-dev/mgear4/blob/7c118975bf380b800c9847702df176212965335b/release/scripts/mgear/uegear/utils.py#L1108
Everything has been completed except Maya to Unreal. Hoping to complete that at the start of the week.

Just thought of a new use case.

[ ] If the user renamed the asset in Unreal, but that asset exists in Maya. Then we should search over every tagged object and replace the ones that have matching UUID.
[ ] If an asset is updated in Unreal, Box becomes a Sphere, then we would also need to check every instance of the object in Maya. As we currently do not instance object in maya, each is a unique asset

The last open box If an asset is updated in Unreal, Box becomes a Sphere, then we would also need to check every instance of the object in Maya. As we currently do not instance object in maya, each is a unique asset was left undone, as it it up to the user to select and update the assets they want to update.


HHH-9306 With Improved formatting.

Here's a second try for the pull request, this time with improved formatting.

Thanks for the PR. Did you sign the CLA?

@vladmihalcea this could be integrated without requiring the CLA.

@vladmihalcea yes, I am already a contributor.

HHH-9306 is fixed now. I'm closing this PR.


Calling client.run with more than one failing query will result in callback being called multiple times

Example code:
var client = new Keen(...);
var badQuery = new Keen.Query('invalid', {});
client.run([badQuery, badQuery], function(err, response) {
  if (err) {
    res.body(err);
  }
});

This behavior is undesirable since node code typically assumes that callbacks are only called once, and in the above example taken from a web server, an error will be thrown when the request body is set twice.

Closed by #313.


Add License

Hi!
I want to publish an updated version of this library (using an IIncrementalGenerator) with other changes in terms of functionality to its own separate repository. However, since there's no license file, I'm not sure if that's allowed.
Can you add a license file, or give me permission to publish my own (heavily modified) version with an explicit (open source) license?
I'll add a link to your repository in the credits, of course.
Thanks!

Added the MIT license, feel free to use it as you want.


where is dmn document and planner document？

There is only workflow document.

Hi! You can find it here: https://github.com/kiegroup/kie-docs/tree/main-kogito
Which is the source code for this website: https://docs.jboss.org/kogito/release/latest/html_single/


suspicion: EPIPE coming out of register on OSX

We're seeing some odd behavior on OSX in rust-lang/rust right now. We're using sccache to compile LLVM, which executes a whole lot of tokio + mio on each run. We've also got a lot of spurious failures, one of the most notorious right now is "broken pipe", which arises during this spawn.
From here on out, a lot of this is guesswork unfortunately. I've never been able to personally reproduce this, but here's my hunches. The main error happening here is that spawning a process somehow returns EPIPE. Now that's pretty odd because reviewing the syscalls that Command::spawn takes it turns out none of them can return EPIPE! I would also find it quite odd  if this is the first time we find this error in process spawning, surely it seems like it would have happened before now I'd guess.
So digging more the spawn here actually translates to CommandExt::spawn_async. Note that the function there can fail for more than one reason, not just Command::spawn. The register_* functions are also fallible. They can either fail in fcntl (which I don't think can return EPIPE) or they can fail in PollEvented::new which internally bottoms out to registering an object.
So at this point my best suspicion is that register is returning EPIPE, although I have no idea why. One interesting observation is that we've only witnessed this on OSX, not on Linux or Windows. That itself is quite interesting as well! Trawling around for information on the internet related to this I stumbled across a commit in libevent which translates EPIPE from kevent to a writable notification. (e.g. doesn't punt it back to the user). That commit claims that if you register half of a broken pipe you'll get an EPIPE. Sure enough it looks like xnu does return EPIPE on a broken pipe.
So that sounds great and all until it turns out I can't even reproduce this with a broken pipe. That program works successfully! (no errors)
So all in all there's something that's:

OSX specific
Likely related to tokio/mio, but not 100% certain
Likely related to Poll::register, but not certain
Likely related to broken pipes (as this only happens under high load)

Where this leaves me I'm not entirely sure. I wanted to jot down thoughts and ideas to make sure they're written, but I'm curious what you think as well @carllerche. I could add some code to hopefully handle EPIPE and somehow translate it to writable/readable (as appropriate), but I have no way of testing such a change. We could deploy it to rust-lang/rust and pray it fixes things, but we wouldn't really know for a few weeks whether it actually worked.

Note that if we conclude and/or can prove register is returning EPIPE I'm also not certain that the fix should go in mio, it may be more suitable in tokio-core. There's a bug somewhere, just not guarnateed that it's in mio.

Ok confirmed, 10.10 and 10.11 both don't like registering half of a broken pipe, I have sent https://github.com/carllerche/mio/pull/583


Focus input AFTER modal is closed

Hi,
Loving the reactstrap components. Using them in my new project.
However I am having trouble with the modal box.
I have a form that needs to be filled. Then the user clicks a button and a Modal opens to fill in some extra information. Upon closing the Modal I need one of the input type="text" fields to be focused. However no matter what I do it's not working.
Tried using refs, as per React docs, but the object brought back does not understand .focus() method. How do I get the underlying component that is wrapped ?
Regards
Anthoni

Because reactstrap wraps the raw input in a component, the ref will give you back the wrapping component, not the raw input. The ref prop is special, reactstrap cannot directly access it to pass it through. However, reactstrap does have an extra prop, getRef which you can use just like ref. getRef will be passed to the raw input, allowing you to get the ref of that input.
tl;dr: use getRef instead of ref for reactstrap's <Input>.

Hi @TheSharpieOne I am using Typescript and when I put in getRef I get an error saying that it's not allowed.
This is how I am currently using ref:
ref={(input) => { this.queryInput = input; }}

It's allowed I'm JSX, and pure, plain old JavaScript if you don't use JSX. I don't know too much about typescript, but there should be a way to tell it to get out of your way let you do it.

hhhm, I might have to edit the .d.ts file myself a little bit 😃

I am closing this as it seem like the question have been answered. If you believe this is not the case, please comment and I will reopen the issue.

Incase anyone gets here from Google. The above solution is outdated. This is how you get ref in Reactstrap <7.1
<Input ref={n => this.node = n} />

Change to
<Input innerRef={n => this.node = n} />


Remove unsed gorilla deps

Looks like this dep went unused in 4f5dc1e.  Running trash removed it.
Signed-off-by: Bill Farner<EMAIL_ADDRESS>

Current coverage is 72.11% (diff: 100%)

Merging #267 into master will increase coverage by 0.10%

@@             master       #267   diff @@
==========================================
  Files            20         20
  Lines          1211       1205     -6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            872        869     -3
+ Misses          273        270     -3
  Partials         66         66

Powered by Codecov. Last update 7a9b990...6cc46a6

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "deps" git@github.com:wfarner/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


See Also list contains duplicate items, and references to this page

See Also list contains duplicate items, and references to this page

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 78bd1caa-862b-bfdc-7329-1a00aa9905e1
Version Independent ID: 174dd38e-42a5-4803-bc18-07acfd074bbf
Content: SuspendingOperation Class (Windows.ApplicationModel) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.applicationmodel.suspendingoperation.yml&version=GBlive&_a=contents
Product: uwp
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hey thanks for bringing this to our attention! It looks like those items are not duplicates although the pages look almost identical. The second set of links point to the corresponding windows.ui.webui page. I'll add some labels to make that more clear.


[RFC] New datasets to torchvision

🚀 Feature
This is a proposal to add more highly cited datasets. Thanks to papers with code datasets which made this search easy.
Motivation
These datasets are used quite frequently and would provide benefits to both researchers as well as people who work in computer vision. I'm not sure of the citation metric, but we can verify the count of papers once.
Pitch
The following datasets can be considered. Papers are reported as per the last 5 years count on papers with code. They can be inaccurate, feel free to edit. I'm also adding previously approved or proposed ones

[x] KITTI 1709 papers #3640
[x] iNaturalist #3292 #4123
[x] LFW Labeled Faces in Wild 640 papers #4255
[x] Caltech-UCSD Birds-200-2011  839 papers #4128 #4126 #5154
[ ] ADE20K
[ ] Tiny-Imagenet
[ ] Ego4d
[ ] Market-1501 492 papers
[ ] MPII Human Pose
[ ] VGGFace2 Earlier requested in #1193 #2910 Here is tar.gz file. Hopefully we can add it
[ ] MovingMNIST  Perviously approved in #2676  #2690.
[ ] LVIS
[ ] CamVid
[ ] Div2k
[ ] Berkley Segmentation Dataset BSD
[ ] ffhq-dataset
[ ] SmallNORB

See #5108
Probably, we should think and add these, one by one. Also support downloading, not just loading of the dataset.
Additional context
Please feel free to discuss about datasets before opening PRs!
cc @pmeier

Hi,
This is exactly our current idea, thanks for bringing it up.
I agree with all the aforementioned proposals. One thing to mention as well is that there is an ongoing effort to provide new dataset abstractions in PyTorch via DataPipes https://github.com/pytorch/pytorch/issues/49440.
While this doesn't block us providing new datasets, it is good to keep in mind that we might in the future revisit the way we implement datasets.

related to  this issue, it can also be useful if pytorch can store this datasets on their storage and provide link to download them.
e.g. there are a lot of issues with downloading imagenet and other large datasets, im not sure if licensing can be problematic, but it would be super useful

@seyeeet

im not sure if licensing can be problematic

Yes, it is and thus

pytorch can store this datasets on their storage and provide link to download them

will never happen.
Also see this section in our README

This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.

Hey @harishsdev, not sure what you mean. From the original pitch only KITTI was added, which is correctly marked. In your list you left out CUB-200-2011, which is not supported yet. We do feature the Caltech(101|256) datasets, but they are not related other than coming from the same university.

Hi @harishsdev, I have created a pr for LFW Dataset, can you guide me about any further changes.

The link provided for VGGFace2 is not correct; That link points to the first VGGFace dataset (which is available from this page).

Actually the tar.gz is down for many months. Don't know what happened to VGG Face
https://www.robots.ox.ac.uk/~vgg/data/vgg_face2

Probably this is the link https://www.robots.ox.ac.uk/~vgg/data/vgg_face/vgg_face_dataset.tar.gz

Respectfully, that is the wrong url. The link you've provided is for the first version of VGGFace. The original pitch asked for VGGFace2, which will not be possible to provide at this time.

This is a new dataset request and will be added to the new dataset API once it is stable enough. In the meantime, we will close the current PR (don't worry, the code will be reused at some point in the new dataset design to integrate it). @pmeier

@oke-aditya can we add the SmallNORB dataset to the list as introduced in this PR: https://github.com/pytorch/vision/pull/492. Thanks in advance. :)

@oke-aditya Should we add the FGVC-Aircraft  dataset (as implemented in this PR)?

@yassineAlouini We already have FGVC-Aircraft in the current API
https://github.com/pytorch/vision/blob/fb7f9a16628cb0813ac958da4525247e325cc3d2/torchvision/datasets/fgvc_aircraft.py#L12
as well as #5354 to track progress for porting it to the prototype one.


Unexpected character 'a' at the end of the  input JSON file

I am using spray to parse my JSON file while the parsing failed with message Unexpected character 'a' at input index 32346 (line 1, position 32347), expected end-of-input. Index 32346 is the end of the JSON file, yet there is not an 'a' at the end of the file.
The JSON file also work well when I send it to a service and get an expected response, so I think the format of the JSON file is correct.
Any idea about why this happen ?

Please provide a reproducer, otherwise I'd be pretty certain it is something you do with the input.


upgrade: [rehype-parse]

This PR has been opened to upgrade rehype-parse from version 9.0.0 to 9.0.1.
Review the relevant docs for potential breaking changes.
Changelog:

Updated rehype-parse from version 9.0.0 to 9.0.1.
Files changed: package.json,package-lock.json

More details can be found in the Snyk project MarcoMadera/Blog:package.json.
Testing instructions

[!IMPORTANT]

Check the changes in this PR to ensure no breaking changes.
Run automated tests

upgrade applied by marcomadera

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)