Adding PMAT as a dependency, running benchmarks and deploying SME agent

An example of the research strings returned by the SME mech:
- How do NOAA scientists predict the annual global temperature ranking ahead of time? | NOAA Climate.gov
Skip to main content
Menu
Climate.gov
Science & information for a climate-smart nation
Main Menu
Main menu
News & Features
Home
All News & Features
Blogs
ENSO Blog
Polar Vortex Blog
Beyond the Data
- Copernicus: In 2024, the world experienced the warmest January on record | Copernicus
skip to main content
01-access-to-data02-use-cases03-press04-tenders05-contactback-esotc-2020bookcalendarccl-icon-atmosphere-whiteccl-icon-atmosphereccl-icon-climate-whiteccl-icon-climateccl-icon-emergency-whiteccl
- U.S. climate outlook for January 2024 | NOAA Climate.gov
Skip to main content
Menu
Climate.gov
Science & information for a climate-smart nation
Main Menu
Main menu
News & Features
Home
All News & Features
Blogs
ENSO Blog
Polar Vortex Blog
Beyond the Data Blog
Climate And ...
Climate Case Studies
Cli
- Climate Prediction Center - Seasonal Outlook
www.nws.noaa.gov
Home
Site Map
News
Organization
Search
CPC Search
Map Explanations
Official Fcsts
Fcst Tools
About Us
Our Mission
Who We Are
Contact Us
CPC Information
CPC Web Team
Official 90-day Outlooks are issued once each month near mid-month at 8:3
- 2024 could be even hotter than 2023, NASA says
Open in Our App
Get the best experience and stay connected to your community with our Spectrum News app. Learn More
Open in Spectrum News App
Continue in Browser
Toggle navigation
All Boroughs
EDIT
Watch Live
|
Recent Activity
Log Out
Recent Activity
Lo

vs. the Embedding mech:
- (2024-01-02T11:00:42.724Z, 2024-01-04T20:35:13.630Z):What climate scientists are predicting for the globe in 2024 - The Washington Post. | The planet came closer than ever to that dreaded threshold in recent months, providing a first glimpse of a world where sustained levels of that heat would fuel new weather extremes. | An intense episode of the planet-warming El Niño climate pattern is nearing its peak, and the last time that happened, it pushed the planet to record warmth in 2016.Sign up for the Climate Coach newsletter and get advice for life on our changing planet, in your inbox every Tuesday. | That suggests there will be no imminent slowdown in a surge of global warmth that has supercharged the decades-long trend tied to fossil fuel emissions.

- (2024-01-03T00:00:37+00:00, 2024-01-04T02:18:27+00:00):Increased emissions of greenhouse gases have led to a rapid and steady increase in global temperatures, which in turn is causing catastrophic events all over the world – from Australia and the US experiencing some of the most devastating bushfire seasons ever recorded, locusts swarming across parts of Africa, the Middle East and Asia, decimating crops, and a heatwave in Antarctica that saw temperatures rise above 20C for the first time. | Meanwhile, the Antarctic continent contributes about 1 millimetre per year to sea level rise, which is one-third of the annual global increase. | By 2015, this annual production swelled to 419 million tons and exacerbating plastic waste in the environment. | If we include microplastics into this, the cumulative amount of plastic in the ocean could reach 600 million tons by 2040. | However, even if all greenhouse gas emissions were halted immediately, global temperatures would continue to rise in the coming years. | According to a 2023 study, air pollution in South Asia – one of the most polluted areas in the world – cuts life expectancy by about 5 years.  | Additionally, the last fully intact ice shelf in Canada in the Arctic recently collapsed, having lost about 80 square kilometres – or 40% – of its area over a two-day period in late July, according to the Canadian Ice Service. | Representing arguably the biggest of the environmental problems, this is made all the more concerning considering that last year’s summer triggered the loss of 60 billion tons of ice from Greenland, enough to raise global sea levels by 2.2mm in just two months. | 2023 was the hottest year on record, with global average temperatures at 1.46C above pre-industrial levels and 0.13C higher than the eleven-month average for 2016, currently the warmest calendar year on record. | Economists and environmentalists have urged policymakers for years to increase the price of activities that emit greenhouse gases (one of our biggest environmental problems), the lack of which constitutes the largest market failure, for example through carbon taxes, which will stimulate innovations in low-carbon technologies. | The global demand for fashion and clothing has risen at an unprecedented rate that the fashion industry now accounts for 10% of global carbon emissions, becoming one of the biggest environmental problems of our time. | The smallest change in the pH scale can have a significant impact on the acidity of the ocean. | In July 2022, the WTO banned fishing subsidies to reduce global overfishing in a historic deal. | Studies have shown that the global food system is responsible for up to one-third of all human-caused greenhouse gas emissions, of which 30% comes from livestock and fisheries. | According to satellite data, the Greenland ice sheet lost a record amount of ice in 2019: an average of a million tons per minute throughout the year, one of the biggest environmental problems that has cascading effects. | While the United Nations Fashion Industry Charter for Climate Action sees signatory fashion and textile companies to commit to achieving net zero emission by 2050, a majority of businesses around the world have yet to address their roles in climate change. | According to 2023 data, the continent has lost approximately 7.5 trillion tons of ice since 1997.

- (2024-01-12, unknown):Earth boiled in 2023 — will it happen again in 2024?. | Postdoctoral position in cancer biology is available to carry out projects focused on studying the effects of small molecules in cancer.

- (unknown, unknown):Map of global average surface temperature in 2023 compared to the 1991-2020 average. | Forecast confidence is greatest in New England, where above-average temperatures are most likely given the consistent signals in the various forecasts for above-average temperatures during each week of the month. | To calculate a global average temperature, scientists begin with temperature measurements taken at locations around the globe. | The anticipated cold and wet start to the month in the Pacific Northwest favors an improvement in snowpack and drought, although drought persistence is predicted in the Intermountain West, due to larger precipitation deficits there. | updated in 2024, uses comprehensive data collections of increased global area coverage over both. | Drought is expected to persist in other areas currently experiencing drought, despite the slight tilt toward above-average precipitation in some of these regions, as winter is a drier time of year in these locations. | Why does 1.5C matter and how will future climate change affect the world?The more average temperatures increase, the worse the impacts of climate change become. | Temperatures vary from night to day and between seasonal extremes in the Northern and Southern Hemispheres. | Because their goal is to track changes in temperature, measurements are converted from absolute temperature readings to temperature anomalies—the difference between the observed temperature and the long-term average temperature for each location and date. | The drought outlook for January favors improvement and/or removal in parts of the Pacific Northwest, parts of the Southwest, and in the Southeast extending up the Appalachians to the mid-Atlantic. | Though warming has not been uniform across the planet, the upward trend in the globally averaged temperature shows that more areas are warming than cooling. | In a landmark agreement signed in Paris in 2015, almost 200 countries pledged to try to keep global warming to 1.5C. To achieve this, "net zero" CO2 emissions should be reached by 2050. | What are the effects of climate change so far?The global average temperature increase of 1.2C seen in the past decade might not sound much. | If annual emissions increase more slowly and begin to decline significantly by 2050,  models project temperatures would still be at least 2.4 degrees warmer than the first half of the 20th century, and possibly up to 5.9 degrees warmer. | Yearly surface temperature compared to the 20th-century average from 1880–2023. | Sweden was colder than average for the fourth consecutive month in January and began the month with temperatures that were the coldest observed since 1999. | Probabilities exceed 50% along the Gulf and South Atlantic Coasts, as 1-3 inches of rainfall is predicted during the first week of the month and forecasts at all longer time ranges continue to favor above-average precipitation. | Probabilities for above-average precipitation are also elevated along the West Coast and in the Southwest, but with modest probabilities, due to uncertainty on the location of the primary storm track. | Projected temperature increase relative to the 1901-1960 average depending on which RCP we eventually follow. | Although above-average temperatures persisted in the upper 100 meters of the equatorial Pacific, below-average temperatures were widespread at greater depths | The amount of future warming Earth will experience depends on how much carbon dioxide and other greenhouse gases we emit in coming decades. | In the Southwest, improvement is likely to be more targeted, with a broad area of improvement and removal depicted in areas where there is at least a 40% chance of above-average precipitation during January. | Click and drag slider to compare how drought conditions changed between the end of November and the end of December 2023. | It has now been confirmed that global warming exceeded 1.5C across the 12 month period between February 2023 and January 2024. | The first month of meteorological winter is officially in the books and most folks across the United States are still waiting for winter to arrive. | Although the first week of the month is expected to be dry across the Northern Plains, around the Great Lakes, and in the Ohio Valley, the Week 2 forecast leans wet, so the outlook for these regions was for equal chances of above-, near-, or above-normal precipitation. | In the atmosphere, 500-millibar height pressure anomalies correlate well with temperatures at the Earth's surface. | In addition, it's clear that the rate of warming over the past few decades is much faster than the average rate since the start of the 20th century. | Limiting long-term average temperature rises to 1.5Cis crucial, according to the IPCC.The science is not completely certain, but the consequences of 2C global warming versus 1.5C could include:Extreme hot days would be on average 4C warmer at mid-latitudes (regions outside the poles and tropics), versus 3C at 1.5CSea-level rise would be 0.1m higher than at 1.5C, exposing up to 10 million more people to events including more frequent floodingMore than 99% of coral reefs would be lost, compared with 70-90% at 1.5CTwice the number of plants and vertebrates (animals with a backbone) would be exposed to unsuitable climate conditions across more than half the geographical area where they are foundSeveral hundred million more people may be exposed to climate-related risks and susceptible to poverty by 2050 than at 1.5C.The call to limit temperature rise to 1.5C was partly designed to avoid crossing so-called "tipping points". | Drought removal is predicted in regions currently in moderate drought, with improvement, but not removal, forecast for areas in more significant drought. | Since the MJO is predicted to remain active and slowly progress towards the Maritime Continent and then the western Pacific during the first half of January, potential MJO impacts were also considered. | Things are likely to worsen in the coming decades, but scientists argue urgent action can limit the worst effects of climate change.

Outputs of python examples/benchmark_mechs.py,
benchmark_report.manifold.md:
# Comparison Report

## Summary Statistics

| Agents    |   MSE for `p_yes` |   Mean confidence |   % within +-0.05 |   % within +-0.1 |   % within +-0.2 |   % correct outcome |   % precision for `yes` |   % precision for `no` |   % recall for `yes` |   % recall for `no` |   confidence/p_yes error correlation |   Mean info_utility |   Proportion answerable |   Proportion answered | Mean cost ($)   |   Mean time (s) |
|:----------|------------------:|------------------:|------------------:|-----------------:|-----------------:|--------------------:|------------------------:|-----------------------:|---------------------:|--------------------:|-------------------------------------:|--------------------:|------------------------:|----------------------:|:----------------|----------------:|
| random    |         0.129464  |          0.519657 |                16 |               28 |               32 |                  60 |                 40      |                73.3333 |                 50   |             64.7059 |                           -0.0782577 |             nan     |                       1 |                     1 |                 |     7.43675e-05 |
| sme       |         0.0508025 |          0.758    |                24 |               32 |               64 |                  76 |                 61.5385 |               100      |                100   |             70.5882 |                            0.103736  |               0.608 |                       1 |                     1 |                 |    14.4835      |
| embedding |         0.0349453 |          0.832    |                12 |               24 |               72 |                  76 |                 58.3333 |                92.3077 |                 87.5 |             70.5882 |                           -0.318631  |               0.832 |                       1 |                     1 |                 |    27.7407      |

## Markets

| Market Question                                                                                |   random p_yes |   sme p_yes |   embedding p_yes |   reference p_yes |
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------:|------------:|------------------:|------------------:|
| [Will a reliable and general household robot be developed before January 1st, 2030?](https://manifold.markets/MatthewBarnett/will-a-reliable-and-general-househo)                         |     0.101319   |        0.6  |               0.6 |         0.33      |
| [Will Biden be the 2024 Democratic Nominee?](https://manifold.markets/NathanpmYoung/will-biden-be-the-2024-democratic-n)                                                                  |     0.459195   |        0.7  |               0.8 |         0.902809  |
| [Will Vladimir Putin be the President of Russia at the end of 2024?](https://manifold.markets/Inosen_Infinity/will-vladimir-putin-be-the-presiden-00a0332740bc)                           |     0.993115   |        0.9  |               0.8 |         0.940065  |
| [Will Joe Biden win the 2024 US Presidential Election?](https://manifold.markets/LarsDoucet/will-joe-biden-win-the-2024-us-pres)                                                          |     0.576438   |        0.55 |               0.4 |         0.478505  |
| [Will there be an AI language model that surpasses ChatGPT and other OpenAI models before the end of 2024?](https://manifold.markets/Gen/will-there-be-an-ai-language-model)              |     0.962034   |        0.5  |               0.6 |         0.377541  |
| [Hamas command center under al-Shifa Hospital?](https://manifold.markets/RichardHanania/hamas-command-center-under-alshifa)                                                               |     0.0609812  |        0.8  |               0.8 |         0.66      |
| [Will the five most valuable members of the S&P 500 be more than 21% of the index's value in 2025?](https://manifold.markets/ByrneHobart/will-the-five-most-valuable-members)             |     0.821543   |        0.8  |               0.6 |         0.775338  |
| [Will China launch a full-scale invasion of Taiwan before 2030?](https://manifold.markets/MetaculusBot/will-china-launch-a-fullscale-invas)                                               |     0.647714   |        0.4  |               0.3 |         0.290895  |
| [Will over 100,000 people be conceived with the help of advanced embryo selection techniques by 2030?](https://manifold.markets/MilfordHammerschmidt/will-over-100000-people-be-conceive) |     0.0775776  |        0.8  |               0.2 |         0.345895  |
| [Will the LK-99 room temp, ambient pressure superconductivity pre-print replicate before 2025?](https://manifold.markets/QuantumObserver/will-the-lk99-room-temp-ambient-pre)             |     0.297979   |        0.3  |               0.2 |         0.0341337 |
| [World gdp growth from 2023 to 2100? (nominal USD, annualized, 10x amplified) (M10,000 subsidy)](https://manifold.markets/JonathanRay/what-will-be-annualized-nominal-wor)                |     0.861852   |        0.7  |               0.5 |         0.561258  |
| [In 2028, will AI be at least as big a political issue as abortion?](https://manifold.markets/ScottAlexander/in-2028-will-ai-be-at-least-as-big)                                          |     0.414746   |        0.3  |               0.3 |         0.401216  |
| [Will Ukraine win the Russo-Ukrainian War?](https://manifold.markets/chrisjbillington/will-ukraine-win-the-russoukrainian)                                                                |     0.996277   |        0.4  |               0.3 |         0.16      |
| [Will OpenAI hint at or claim to have AGI by 2025 end?](https://manifold.markets/firstuserhere/will-openai-hint-at-or-claim-to-hav)                                                       |     0.495169   |        0.4  |               0.2 |         0.197412  |
| [Will the average global temperature in 2024 exceed 2023?](https://manifold.markets/SteveRabin/will-the-average-global-temperature)                                                       |     0.00449264 |        0.6  |               0.7 |         0.556233  |
| [In 2028, will an AI be able to generate a full high-quality movie to a prompt?](https://manifold.markets/ScottAlexander/in-2028-will-an-ai-be-able-to-gener)                             |     0.543527   |        0.2  |               0.6 |         0.310869  |
| [Will a company started by me have a valuation of at least one billion USD by the year 2026?](https://manifold.markets/jim/will-a-company-started-by-me-have-a)                           |     0.444846   |        0.4  |               0.2 |         0.0298051 |
| [Will Binance collapse before the end of 2024?](https://manifold.markets/MarcusAbramovitch/will-binance-collapse-before-the-en)                                                           |     0.570812   |        0.75 |               0.2 |         0.0928331 |
| [Will Bougainville be a country by end of 2027? [Showcase: M$10,000 subsidy]](https://manifold.markets/Conflux/will-bougainville-be-a-country-by-e)                                       |     0.729826   |        0.6  |               0.6 |         0.699596  |
| [By 2050, will there be a cure to aging?](https://manifold.markets/DanielKilian/by-2050-will-there-be-a-cure-to-agi)                                                                      |     0.165346   |        0.2  |               0.2 |         0.21      |
| [Will AI be a major topic during the 2024 presidential debates in the United States? (see criteria)](https://manifold.markets/MatthewBarnett/will-ai-be-a-major-topic-during-the)         |     0.0367835  |        0.6  |               0.6 |         0.33      |
| [By 2030, will there be a cure to aging?](https://manifold.markets/DanielKilian/by-2030-will-there-be-a-cure-to-agi)                                                                      |     0.172773   |        0.1  |               0.4 |         0.097841  |
| [Will a room-temperature, atmospheric pressure superconductor be discovered before 2030?](https://manifold.markets/AaronLehmann/will-a-roomtemperature-atmospheric)                       |     0.41708    |        0.2  |               0.2 |         0.0714326 |
| [Will we have end to end AI generated anime series by the end of 2024?](https://manifold.markets/firstuserhere/will-we-have-end-to-end-ai-generate-5927e7f2d735)                          |     0.102943   |        0.3  |               0.7 |         0.25      |
| [Someone dies wearing Apple Vision Pro](https://manifold.markets/GabeGarboden/someone-dies-wearing-apple-vision-p)                                                                        |     0.449235   |        0.7  |               0.6 |         0.81      |

## Expected value

| Agent     |   Mean expected returns |   Median expected returns |   Total expected returns |
|:----------|------------------------:|--------------------------:|-------------------------:|
| random    |                 15.681  |                   30.8209 |                  392.024 |
| sme       |                 36.4111 |                   41.821  |                  910.277 |
| embedding |                 35.7698 |                   41.821  |                  894.245 |

| Market Question                                                                                |    random |       sme |   embedding |
|:----------------------------------------------------------------------------------------------------------|----------:|----------:|------------:|
| Will a reliable and general household robot be developed before January 1st, 2030?                        |  34       | -34       |   -34       |
| Will Biden be the 2024 Democratic Nominee?                                                                | -80.5617  |  80.5617  |    80.5617  |
| Will Vladimir Putin be the President of Russia at the end of 2024?                                        |  88.013   |  88.013   |    88.013   |
| Will Joe Biden win the 2024 US Presidential Election?                                                     |  -4.29907 |  -4.29907 |     4.29907 |
| Will there be an AI language model that surpasses ChatGPT and other OpenAI models before the end of 2024? | -24.4919  |  24.4919  |   -24.4919  |
| Hamas command center under al-Shifa Hospital?                                                             | -32       |  32       |    32       |
| Will the five most valuable members of the S&P 500 be more than 21% of the index's value in 2025?         |  55.0676  |  55.0676  |    55.0676  |
| Will China launch a full-scale invasion of Taiwan before 2030?                                            | -41.821   |  41.821   |    41.821   |
| Will over 100,000 people be conceived with the help of advanced embryo selection techniques by 2030?      |  30.8209  | -30.8209  |    30.8209  |
| Will the LK-99 room temp, ambient pressure superconductivity pre-print replicate before 2025?             |  93.1733  |  93.1733  |    93.1733  |
| World gdp growth from 2023 to 2100? (nominal USD, annualized, 10x amplified) (M10,000 subsidy)            |  12.2516  |  12.2516  |   -12.2516  |
| In 2028, will AI be at least as big a political issue as abortion?                                        |  19.7567  |  19.7567  |    19.7567  |
| Will Ukraine win the Russo-Ukrainian War?                                                                 | -68       |  68       |    68       |
| Will OpenAI hint at or claim to have AGI by 2025 end?                                                     |  60.5177  |  60.5177  |    60.5177  |
| Will the average global temperature in 2024 exceed 2023?                                                  | -11.2467  |  11.2467  |    11.2467  |
| In 2028, will an AI be able to generate a full high-quality movie to a prompt?                            | -37.8261  |  37.8261  |   -37.8261  |
| Will a company started by me have a valuation of at least one billion USD by the year 2026?               |  94.039   |  94.039   |    94.039   |
| Will Binance collapse before the end of 2024?                                                             | -81.4334  | -81.4334  |    81.4334  |
| Will Bougainville be a country by end of 2027? [Showcase: M$10,000 subsidy]                               |  39.9191  |  39.9191  |    39.9191  |
| By 2050, will there be a cure to aging?                                                                   |  58       |  58       |    58       |
| Will AI be a major topic during the 2024 presidential debates in the United States? (see criteria)        |  34       | -34       |   -34       |
| By 2030, will there be a cure to aging?                                                                   |  80.4318  |  80.4318  |    80.4318  |
| Will a room-temperature, atmospheric pressure superconductor be discovered before 2030?                   |  85.7135  |  85.7135  |    85.7135  |
| Will we have end to end AI generated anime series by the end of 2024?                                     |  50       |  50       |   -50       |
| Someone dies wearing Apple Vision Pro                                                                     | -62       |  62       |    62       |

benchmark_report.polymarket.md:
# Comparison Report

## Summary Statistics

| Agents    |   MSE for `p_yes` |   Mean confidence |   % within +-0.05 |   % within +-0.1 |   % within +-0.2 |   % correct outcome |   % precision for `yes` |   % precision for `no` |   % recall for `yes` |   % recall for `no` |   confidence/p_yes error correlation |   Mean info_utility |   Proportion answerable |   Proportion answered | Mean cost ($)   |   Mean time (s) |
|:----------|------------------:|------------------:|------------------:|-----------------:|-----------------:|--------------------:|------------------------:|-----------------------:|---------------------:|--------------------:|-------------------------------------:|--------------------:|------------------------:|----------------------:|:----------------|----------------:|
| random    |          0.194716 |          0.497569 |          10       |          13.3333 |          26.6667 |             63.3333 |                 18.1818 |                89.4737 |                   50 |             65.3846 |                             0.028596 |          nan        |                       1 |                     1 |                 |     6.35783e-06 |
| sme       |          0.179844 |          0.735    |           6.66667 |          10      |          36.6667 |             43.3333 |                 11.7647 |                84.6154 |                   50 |             42.3077 |                             0.670547 |            0.613333 |                       1 |                     1 |                 |    13.3812      |
| embedding |          0.127934 |          0.846667 |          10       |          16.6667 |          46.6667 |             56.6667 |                 10      |                85      |                   25 |             65.3846 |                            -0.190366 |            0.84     |                       1 |                     1 |                 |    18.2263      |

## Markets

| Market Question                                                                                |   random p_yes |   sme p_yes |   embedding p_yes |   reference p_yes |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------:|------------:|------------------:|------------------:|
| [Will The Holdovers win the Oscar for Best Original Screenplay?](https://polymarket.com/event/will-the-holdovers-win-the-oscar-for-best-original-screenplay)                                                           |      0.258399  |        0.3  |               0.2 |            0.365  |
| [Will "American Fiction" win the Oscar for Best Picture?](https://polymarket.com/event/will-american-fiction-win-the-oscar-for-best-picture)                                                                           |      0.357301  |        0.7  |               0.8 |            0.0105 |
| [Will the median gas price per blob be between 0.01 and 0.1 ETH one month after EIP-4844?](https://polymarket.com/event/will-the-median-gas-price-per-blob-be-between-0pt01-and-0pt1-eth-one-month-after-eip-4844)     |      0.214483  |        0.7  |               0.7 |            0.095  |
| [OpenSea token in 2024?](https://polymarket.com/event/opensea-token-in-2024)                                                                                |      0.182842  |        0.6  |               0.5 |            0.225  |
| [Will Warpcast flip X on the app store in February?](https://polymarket.com/event/will-warpcast-flip-x-on-the-app-store-in-february)                                                                                |      0.164934  |        0.6  |               0.2 |            0      |
| [Will Emma Stone win the Oscar for Best Actress?](https://polymarket.com/event/will-emma-stone-win-the-oscar-for-best-actress)                                                                                |      0.534727  |        0.4  |               0.6 |            0.595  |
| [Will the median gas price per blob be between 0.001 and 0.01 ETH one month after EIP-4844?](https://polymarket.com/event/will-the-median-gas-price-per-blob-be-between-0pt001-and-0pt01-eth-one-month-after-eip-4844) |      0.471505  |        0.8  |               0.2 |            0.24   |
| [Will US gain 250k-300k jobs in February?](https://polymarket.com/event/will-us-gain-250k-300k-jobs-in-february)                                                                                |      0.440074  |        0.7  |               0.6 |            0.155  |
| [Will Maestro win the Oscar for Best Original Screenplay?](https://polymarket.com/event/will-maestro-win-the-oscar-for-best-original-screenplay)                                                                       |      0.781414  |        0.35 |               0.4 |            0.007  |
| [Will May December win the Oscar for Best Original Screenplay?](https://polymarket.com/event/will-may-december-win-the-oscar-for-best-original-screenplay)                                                             |      0.0227998 |        0.2  |               0.2 |            0.007  |
| [Fed rate cut by June 12?](https://polymarket.com/event/fed-rate-cut-by-june-12)                                                                                |      0.506591  |        0.2  |               0.4 |            0.677  |
| [Will Ryan Gosling win the Oscar for Best Supporting Actor?](https://polymarket.com/event/will-ryan-gosling-win-the-oscar-for-best-supporting-actor)                                                                   |      0.467964  |        0.2  |               0.6 |            0.07   |
| [Tiktok banned in the US by June 30?](https://polymarket.com/event/tiktok-banned-in-the-us-by-june-30)                                                                                |      0.478953  |        0.7  |               0.2 |            0.0545 |
| [Will Poor Things win the Oscar for Best Adapted Screenplay?](https://polymarket.com/event/will-poor-things-win-the-oscar-for-best-adapted-screenplay)                                                                 |      0.571584  |        0.2  |               0.4 |            0.155  |
| [Ethereum spot ETF approved by Mar 31?](https://polymarket.com/event/ethereum-spot-etf-approved-by-mar-31)                                                                                |      0.480003  |        0.2  |               0.2 |            0.042  |
| [Will Joe Biden be President of the United States on April 1, 2024?](https://polymarket.com/event/will-joe-biden-be-president-of-the-united-states-on-april-1-2024)                                                    |      0.304724  |        0.6  |               0.2 |            0.9665 |
| [Haniyeh still in Hamas leadership through March 1?](https://polymarket.com/event/haniyeh-still-in-hamas-leadership-through-march-1)                                                                                |      0.0643164 |        0.8  |               0.2 |            0.525  |
| [[Single Market] Will Vivek Ramaswamy win the U.S. 2024 Republican presidential nomination?](https://polymarket.com/event/will-vivek-ramaswamy-win-the-us-2024-republican-presidential-nomination)                     |      0.277437  |        0.2  |               0.3 |            0.061  |
| [Will Donald Trump win the popular vote in the 2024 Presidential Election?](https://polymarket.com/event/will-donald-trump-win-the-popular-vote-in-the-2024-presidential-election)                                     |      0.70024   |        0.45 |               0.4 |            0.305  |
| [2024 presidential election: Democrats win by 35-64](https://polymarket.com/event/2024-presidential-election-democrats-win-by-35-64)                                                                                |      0.588086  |        0.6  |               0.6 |            0.105  |
| [EIP-4844 doesn't launch by end of 2024?](https://polymarket.com/event/eip-4844-doesnt-launch-by-end-of-2024)                                                                                |      0.764468  |        0.6  |               0.2 |            0.0125 |
| [Will 'Dune: Part Two' gross between $70m-80m opening weekend?](https://polymarket.com/event/will-dune-part-two-gross-between-70m-80m-opening-weekend)                                                                 |      0.101068  |        0.6  |               0.6 |            0.365  |
| [Will Yorgos Lanthimos win the Oscar for Best Director?](https://polymarket.com/event/will-yorgos-lanthimos-win-the-oscar-for-best-director)                                                                           |      0.481928  |        0.2  |               0.2 |            0.0315 |
| [Will Mark Ruffalo win the Oscar for Best Supporting Actor?](https://polymarket.com/event/will-mark-ruffalo-win-the-oscar-for-best-supporting-actor)                                                                   |      0.874278  |        0.2  |               0.6 |            0.02   |
| [SBF sentenced to 50+ years?](https://polymarket.com/event/sbf-sentenced-to-50-years)                                                                                |      0.464903  |        0.7  |               0.2 |            0.235  |
| [Will Ron DeSantis win the 2024 Republican Presidential Nomination?](https://polymarket.com/event/will-ron-desantis-win-the-2024-republican-presidential-nomination)                                                   |      0.492242  |        0.6  |               0.2 |            0.006  |
| [Will Trump tweet again by April 1?](https://polymarket.com/event/will-trump-tweet-again-by-april-1)                                                                                |      0.157241  |        0.85 |               0.6 |            0.195  |
| [Will 'Deadpool 3' gross most in 2024?](https://polymarket.com/event/will-deadpool-3-gross-most-in-2024)                                                                                |      0.757118  |        0.6  |               0.6 |            0.205  |
| [Will Sarah Huckabee Sanders win the 2024 Republican VP nomination?](https://polymarket.com/event/will-sarah-huckabee-sanders-win-the-2024-republican-vp-nomination)                                                   |      0.956662  |        0.7  |               0.2 |            0.0325 |
| [Will Lily Gladstone win the Oscar for Best Actress?](https://polymarket.com/event/will-lily-gladstone-win-the-oscar-for-best-actress)                                                                                |      0.636895  |        0.3  |               0.4 |            0.335  |

## Expected value

| Agent     |   Mean expected returns |   Median expected returns |   Total expected returns |
|:----------|------------------------:|--------------------------:|-------------------------:|
| random    |                15.8621  |                      35.4 |                    460   |
| sme       |                -5.12414 |                     -27   |                   -148.6 |
| embedding |                14.0207  |                      33   |                    406.6 |

| Market Question                                                                            |   random |   sme |   embedding |
|:-------------------------------------------------------------------------------------------|---------:|------:|------------:|
| Will The Holdovers win the Oscar for Best Original Screenplay?                             |     27   |  27   |        27   |
| Will "American Fiction" win the Oscar for Best Picture?                                    |     97.9 | -97.9 |       -97.9 |
| Will the median gas price per blob be between 0.01 and 0.1 ETH one month after EIP-4844?   |     81   | -81   |       -81   |
| OpenSea token in 2024?                                                                     |     55   | -55   |        55   |
| Will Warpcast flip X on the app store in February?                                         |    nan   | nan   |       nan   |
| Will Emma Stone win the Oscar for Best Actress?                                            |     19   | -19   |        19   |
| Will the median gas price per blob be between 0.001 and 0.01 ETH one month after EIP-4844? |     52   | -52   |        52   |
| Will US gain 250k-300k jobs in February?                                                   |     69   | -69   |       -69   |
| Will Maestro win the Oscar for Best Original Screenplay?                                   |    -98.6 |  98.6 |        98.6 |
| Will May December win the Oscar for Best Original Screenplay?                              |     98.6 |  98.6 |        98.6 |
| Fed rate cut by June 12?                                                                   |     35.4 | -35.4 |       -35.4 |
| Will Ryan Gosling win the Oscar for Best Supporting Actor?                                 |     86   |  86   |       -86   |
| Tiktok banned in the US by June 30?                                                        |     89.1 | -89.1 |        89.1 |
| Will Poor Things win the Oscar for Best Adapted Screenplay?                                |    -69   |  69   |        69   |
| Ethereum spot ETF approved by Mar 31?                                                      |     91.6 |  91.6 |        91.6 |
| Will Joe Biden be President of the United States on April 1, 2024?                         |    -93.3 |  93.3 |       -93.3 |
| Haniyeh still in Hamas leadership through March 1?                                         |     -5   |   5   |        -5   |
| [Single Market] Will Vivek Ramaswamy win the U.S. 2024 Republican presidential nomination? |     87.8 |  87.8 |        87.8 |
| Will Donald Trump win the popular vote in the 2024 Presidential Election?                  |    -39   |  39   |        39   |
| 2024 presidential election: Democrats win by 35-64                                         |    -79   | -79   |       -79   |
| EIP-4844 doesn't launch by end of 2024?                                                    |    -97.5 | -97.5 |        97.5 |
| Will 'Dune: Part Two' gross between $70m-80m opening weekend?                              |     27   | -27   |       -27   |
| Will Yorgos Lanthimos win the Oscar for Best Director?                                     |     93.7 |  93.7 |        93.7 |
| Will Mark Ruffalo win the Oscar for Best Supporting Actor?                                 |    -96   |  96   |       -96   |
| SBF sentenced to 50+ years?                                                                |     53   | -53   |        53   |
| Will Ron DeSantis win the 2024 Republican Presidential Nomination?                         |     98.8 | -98.8 |        98.8 |
| Will Trump tweet again by April 1?                                                         |     61   | -61   |       -61   |
| Will 'Deadpool 3' gross most in 2024?                                                      |    -59   | -59   |       -59   |
| Will Sarah Huckabee Sanders win the 2024 Republican VP nomination?                         |    -93.5 | -93.5 |        93.5 |
| Will Lily Gladstone win the Oscar for Best Actress?                                        |    -33   |  33   |        33   |


[Question] Entitas Job Systems

Hi I seen recently that there was an Entitas Job System being implemented Just wondering how that is coming along. While the Entitas Job System is still in development, would it be considered bad practice to have async Execute methods inside my IExecuteSystems

Hi, is it possible to call CreateEntity in the Job System? My scenario is that, I have a collision detection system, if they collided, I will create entity with a custom collision event component for later use.

@raymondleungmh
In general, it is possible to creates entities in a JobSystem. But you have to be careful if you have multiple JobSystem running in parallel creating entities, that can lead to race-conditions. If you are sure that only one JobSystem at time modifies the contexts / groups, then you're fine

OK. Thanks!

@sschmid Hi! Are there any tutorials about your JobSystem?

Hi, no there’s only a test jobsystem used by the unit tests
https://github.com/sschmid/Entitas-CSharp/blob/master/Tests/Tests/Fixtures/Systems/TestJobSystem.cs
You might find some code and comments about limitations in the gitter chat, I think there was a discussion about it.

Am I right to do like this?
public class PositionComponent : IComponent
{
    public Vector3 value;
}

public class SimpleMoveJobSystem : JobSystem<GameEntity>
{
    public SimpleMoveJobSystem(GameContext context, int threads) :
    base(context.GetGroup(GameMatcher.AllOf(GameMatcher.Position)), threads)
    {
    }

    protected override void Execute(GameEntity entity)
    {
        entity.ReplacePosition(entity.position.value + Vector3.up);
    }
}

public class GameController : MonoBehaviour
{
    SimpleMoveJobSystem system;

    void Start()
    {
        var contexts = Contexts.sharedInstance;

        var e = contexts.game.CreateEntity();
        e.AddPosition(Vector3.zero);

        int workerThreads, portThreads;
        ThreadPool.GetAvailableThreads(out workerThreads, out portThreads);
        system = new SimpleMoveJobSystem(contexts.game, workerThreads);
    }

    private void Update()
    {
        system.Execute();
    }
}

This code works, but I don't know how to check if it actually performs in multiple threads and gives me some performance gain.

Am I right to do like this?
public class PositionComponent : IComponent
{
    public Vector3 value;
}

public class SimpleMoveJobSystem : JobSystem<GameEntity>
{
    public SimpleMoveJobSystem(GameContext context, int threads) :
    base(context.GetGroup(GameMatcher.AllOf(GameMatcher.Position)), threads)
    {
    }

    protected override void Execute(GameEntity entity)
    {
        entity.ReplacePosition(entity.position.value + Vector3.up);
    }
}

public class GameController : MonoBehaviour
{
    SimpleMoveJobSystem system;

    void Start()
    {
        var contexts = Contexts.sharedInstance;

        var e = contexts.game.CreateEntity();
        e.AddPosition(Vector3.zero);

        int workerThreads, portThreads;
        ThreadPool.GetAvailableThreads(out workerThreads, out portThreads);
        system = new SimpleMoveJobSystem(contexts.game, workerThreads);
    }

    private void Update()
    {
        system.Execute();
    }
}

This code works, but I don't know how to check if it actually performs in multiple threads and gives me some performance gain.

No,   you shouldn't modify the group in excute,  just set the position value directly, do not replace it.


[DOC] Search backpressure does not provide any examples of how to enable/configure

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
The page
https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/search-backpressure/
does not provide any API paths nor examples and its unclear what exactly to do with this section:
https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/search-backpressure/
How does one enable or configure this? Is it exclusively via the api (what is the API URI?)? Is it configurable via opensearch.yml?
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Would have never figured this out on my own (thanks to help from a friend):
PUT /_cluster/settings is where you would post the settings to.
{
    "persistent": {
        "search_backpressure": {
            "mode": "monitor_only"
      }
    }
}


Cohort heartbeat

To cater for situations where Kafka (for example) is not available during startup and a server's cohort registration is not sent, the sending of a periodic cohort heartbeat would provide an opportunity to trigger a fresh round of registration requests to enable the servers in the cohort to discover one another.
The heartbeat message should be compacted only need contain the identity of the sender and the count of cohort members (from the point of view of the sender).

I hit this issue again today -- I had tried to run a cohort on a different machine to usual (CTS) and kafka initially wasn't installed, then the listeners weren't configured correctly. Egeria was (mostly) queueing the messages. I can't guarantee none were dropped. I observed that once kafka was correctly enabled many messages flowed, but the cohort members remained unaware of each other. The heartbeat would have addressed this.
I restarted a cohort member, and suddenly things sprung into life - exactly as expected, since the reregistration requests flowed and cohort members got updated membership information

I want to keep this idea open - along #3144

I want to keep this idea open - along #3144


How do you use UI tools with Microsoft containers?

Hello,
I figured out how to use IIS manager to remotely manage IIS container by creating local username/password, adding it to Adminstrators group, installing IIS management service and configure it to allow remote connections. I can not make work any sort of remote administration tools like EventViewer for example. I suspect it's because Microsoft disabled "srvnet" service and all relevant dependencies. I understand removing may be terminal services but completely crippling all remote administration is pure craziness. This is absolutely required for image development and troubleshooting. I understand majority can be done via remoting but Microsoft raised bar too high for entrance to this space for all developers to want to come onboad. It's alrady difficult enough to persuade them to use containers but now you have to require them to learn powershell to pull eventlogs?

@patricklang What's the best guidance to give to folks trying retrieve EventLogs?

PowerShell or wevtutil.exe are the only options right now. I would also consider tools for central logging collection such as OMS, Splunk, or similar so that you can gather all logs in one place. This is doubly important if you're going to be doing blue/green deployments where you replace the running containers on a regular basis rather than keeping them running for a long time.
Please share your UI feedback on UserVoice - we're collecting info on how people would use UI there:
https://windowsserver.uservoice.com/forums/304624-containers
Thanks!

Anybody running into this issue please upvote this suggestion (https://windowsserver.uservoice.com/forums/304624-containers/suggestions/17660338-enable-server-service-and-mmc-ui-management-capa)
The more I work with containers in current incarnation then more I question wether I will be able to sell idea of using containers for either new or old applications to developers because it's supposed to be a heaven for developer but current limitations it's really making a hell for them to debug.

I think it contradicts with the container philosophy to have UIs attached to it in order to manage them. The same is true for logging: as container are only a temporary entitiy it would make more sense that they PUSH their logs to a central data sink instead being queried?!

How does it contract with methodology? Containers still don't have UI, this UI is used externally to manage running containers for debugging/maintenance purposes. I know very few companies which using Server Core exclusively for production workloads and even those still rely on external tools for day to day administration. Completely removing essential tool like event log was mistake on Microsoft's part. It's already difficult enough to deal with containers in current encarnation but this will completely turn off people wanting to adopt it. Even Nano server allows remote UI management to ease adoption.
We can talk about centralizing logging etc when we come to that point but right now this stop evening basic development tasks from progressing, how you are supposed to tell developer which has used Visual Studio, full blown Windows UI etc to start working with OS which can not be managed remotely at all?

I disagree! I think you will take the wrong direction if you rely on exposing API for GUIs.
the way to deal with containers is not the same as with some normal headless windows servers.
Containers should be quite stateless and every step you take by GUI tools may help in the first view, but you cannot automate things as it should be.
What kind of sense it would make to expose a mgmt API for a container that is part of a swarm where a particular container can die and restartet with other network endpoints?
I do agree that it is very hard to become familiar with MS containers as there is quite a big break in the things windows did it decades long, but there is no need to get virtuallay everthing running in containers only because they are available.

I'm not asking to enable UI and remove command line management tools but instead to enable UI and still leave command management tools. There is a reason why Windows became so popular and it's due to UI and being user friendly. You can still have UI and fully automatable solution, they do not contract to each other at all (see Nano server for example).

so feel free to configure your container images as you need it, but I think it is the right way NOT to enable them as default.

It's impossible to enabled it. Microsoft on purpose castrated image for some reason.

just tested a servercore image and srvnet runs fine...

Wondering if it's only microsoft/iis which is castrated. It does not start on microsoft/iis at all. Checking it.

srvany does not work on servercore image either for me? Are you sure it's running fine for you?

yes, all dependend services of lanmanserver are running fine. but lanmanserver stops with an error
"the server service terminated with the following error: %%2"
probably you need to set the role/feature for files services before (which I did not)

This is on microsoft/windowservercore image? I downloaded fresh one from docker hub and can not start srvnet service.

my image was pulled/updated 1-2 months ago.
please check get-windowsfeature fs-fileserver

Nope did not work neither on iis or servercoreimage I just pulled. Here is image I used (latest available)
microsoft/windowsservercore   latest              7baaa272ad7d        4 weeks ago         9.42 GB

I tested with core image 10.0.14393.447

Installed the same image as yours and still can not start that service (srvnet). This seems to be difference between Hyper-V container and process container. When I run this on Hyper-V container on Windows 10 it fails to start but works fine on Windows 2016 in process container.

indeed I tested as Win 2016 server container

Well even with srvnet service running and File-Services installed it's still not working. Server service can not be started.

I think this will be a bug it does not sound like exactly intended. You should place it in one of the support groups or may be digging deeper by yourself und debug the root cause...

Closing this issue, as it's not actionable from IIS

For posterity, just found this issue after working w/MS and a customer who had a related question. The recommendation we came up with was to use the Windows Event Log Forwarding feature from the containers, to another system (probably the host) for event logs, and shared volumes for filesystem logs. From there, you can use data aggregation tools such as Splunk on that system, or your usual GUI tools.


bun: 1.0.21 -> 1.0.22

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

any plans to support darwin?
I'm currently having this issue
𝝺 nix shell nixpkgs#bun
error: builder for '/nix/store/bb4ks97gwwqb5g7jrg9as9jk5khrn6aa-bun-1.0.22.drv' failed with exit code 132;
       last 10 log lines:
       > source root is bun-darwin-x64
       > setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file bun-darwin-x64/bun
       > Running phase: patchPhase
       > Running phase: installPhase
       > Running phase: fixupPhase
       > checking for references to /private/tmp/nix-build-bun-1.0.22.drv-0/ in /nix/store/nllyk35z1dndlz287l8ccakqnqwfb1xv-bun-1.0.22...
       > patching script interpreter paths in /nix/store/nllyk35z1dndlz287l8ccakqnqwfb1xv-bun-1.0.22
       > rewriting symlink /nix/store/nllyk35z1dndlz287l8ccakqnqwfb1xv-bun-1.0.22/bin/bunx to be relative to /nix/store/nllyk35z1dndlz287l8ccakqnqwfb1xv-bun-1.0.22
       > Running phase: postPatchelf
       > /nix/store/9vw6bkrj94vyalq9ijbyira8gykya7kl-stdenv-darwin/setup: line 1568: 38160 Illegal instruction: 4  SHELL="bash" $out/bin/bun completions $completions_dir
       For full logs, run 'nix log /nix/store/bb4ks97gwwqb5g7jrg9as9jk5khrn6aa-bun-1.0.22.drv'.


corrupted debug message

Receiving the following message:
Jun 15 13:58:28 ip-192-168-16-147 pimd[7785]: 13:58:28.401 RECV    30 bytes PIM v2 Hello              from <IP_ADDRESS>     to 1...2.93.0

The 1...2.93.0 is the IP of the receiving interface  (<IP_ADDRESS>). This only happens when pimd received a packet via local socket. Potential bug.

Hmm, odd.  Thanks for reporting it!

@troglobit , I see a bunch of others:
Jun 21 03:47:30 ip-192-168-16-146 pimd[12382]: 03:47:30.297 SENT    32 bytes IGMP Membership Query     from <IP_ADDRESS>     to <IP_ADDRESS>
Jun 21 03:47:30 ip-192-168-16-146 pimd[12382]: 03:47:30.297 RECV    32 bytes IGMP Membership Query     from <IP_ADDRESS>     to <IP_ADDRESS>
Jun 21 03:47:30 ip-192-168-16-146 pimd[12382]: 03:47:30.297 RECV    32 bytes IGMP Membership Query     from <IP_ADDRESS>     to <IP_ADDRESS>
Jun 21 03:47:30 ip-192-168-16-146 pimd[12382]: 03:47:30.841 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to ...0.0.22
Jun 21 03:47:30 ip-192-168-16-146 pimd[12382]: 03:47:30.841 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:32 ip-192-168-16-146 pimd[12382]: 03:47:32.159 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to ...0.0.22
Jun 21 03:47:32 ip-192-168-16-146 pimd[12382]: 03:47:32.159 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:35 ip-192-168-16-146 pimd[12382]: 03:47:35.839 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to <IP_ADDRESS>
Jun 21 03:47:35 ip-192-168-16-146 pimd[12382]: 03:47:35.839 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:37 ip-192-168-16-146 pimd[12382]: 03:47:37.791 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to <IP_ADDRESS>
Jun 21 03:47:37 ip-192-168-16-146 pimd[12382]: 03:47:37.791 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:38 ip-192-168-16-146 pimd[12382]: 03:47:38.975 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to ...0.0.13
Jun 21 03:47:38 ip-192-168-16-146 pimd[12382]: 03:47:38.975 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:39 ip-192-168-16-146 pimd[12382]: 03:47:39.455 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to ...0.0.13
Jun 21 03:47:39 ip-192-168-16-146 pimd[12382]: 03:47:39.455 Not creating routing entry for LAN scoped group <IP_ADDRESS>
Jun 21 03:47:39 ip-192-168-16-146 pimd[12382]: 03:47:39.775 RECV    32 bytes IGMP v2 Member Report     from <IP_ADDRESS>     to ....0.251
Jun 21 03:47:39 ip-192-168-16-146 pimd[12382]: 03:47:39.775 Not creating routing entry for LAN scoped group <IP_ADDRESS>

Must be some generic error in parsing the source address.  (Little bit busy with vacation/kids and another project atm, but planing some pimd work again soon.)

kids = priority :-)

I hope this is fixed now. Please reopen this issue otherwise!


Search: Image tab content duplication

When I scroll down on the new images tab, the content area is duplicated (with no images showing), along with the footer showing a second time.
I've only got the Search pages toggle on, using Google Chrome.
https://user-images.githubusercontent.com/60890140/211777241-1bf00618-3e84-42fa-97e2-69b0559e021d.mov

This can be ignored - Chrome updated and the problem went away!


Add Lauren's article on complex deduplication

Description & motivation
Add's @lbenezra-FA article on removing partial duplicates
To-do before merge

[x] Add Lauren to authors.yml
[x] Fill in TODO in frontmatter with correct metadata

@KiraFuruichi can you give me some extra eyes on this when you get a sec? i think i'm missing something done but this article isn't showing up in the preview for some reason...

@KiraFuruichi can you give me some extra eyes on this when you get a sec? i think i'm missing something done but this article isn't showing up in the preview for some reason...

oops think i just saw it, needs a slug

@gwenwindflower do you see it showing up in the preview now? I still don't for some reason

@KiraFuruichi nope i thought that was it but i don't either still!
simon's post worked earlier today, not sure what's happening with this one...

wait @gwenwindflower I don't think the main blog page is a .md file hahah

ahh yep, there it is thanks @KiraFuruichi !!


Support addBefore/addAfter attribute in InputNumber/Select component

[x] I'm sure this does not appear in the issue list of the repository

Basic Info
What are the similar cases of this feature
Input componet supports it already.
What problem does this feature solve?
Common feature. In some situations, we use general design of Front/Post label and find it not supported in other components excluding Input

There are already two buttons around InputNumber, so it's not suitable to add this feature. Maybe you can try Input.Group like this.

There are already two buttons around InputNumber, so it's not suitable to add this feature. Maybe you can try Input.Group like this.

按钮太多不行，这是arco的设计理念吗。从功能性来说InputNumber加上addBefore/addAfter还是会更完善的，比如对整个组件的错误状态控制更好。


Add VND currency

Please add VND currency

This issue is very similar to #104 and #103
It also seems to be a duplicate of #99 which was requested before.

If you have a look at the European Central Bank data, that is forwarded using this exchangerates API, you will see that the VND is not listed there.
It seems not the purpose of this API to support currencies, but rather to convert the ECB data to a neat JSON format. Despite the fact that I would like to see more currencies in this API, I believe this issue should be closed. You may contact the European Central Bank though, as the ECB supplies the data - if they add the VND or other currencies, https://exchangeratesapi.io will support these too.

@kseniyaDA I created an API , it does has VND, it can be access from here:
<EMAIL_ADDRESS>The API is Free & No Rate Limits, with 150+ currencies, rates are updated daily
More info about API is available here:
https://github.com/fawazahmed0/currency-api
Thanks


improve consistency for keysig naming

AH, Edit for clarity: This PR refers to #525

Is there an issue or a conversation or something justifying this change?

Update: I have edited the description to link the PR to the issue.
@lpugin has updated the issue with a new proposal based on further discussion.


[MM-44047] fix issue with tippy mock test and TourTipOverlayPunchOut export warning

Summary
Fix issue with tippy mock test and TourTipOverlayPunchOut export warning
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-44047
Related Pull Requests
Blocking https://github.com/mattermost/mattermost-webapp/pull/10099
Screenshots
NONE
Release Note
* Bugfix: Fixes issue with tippy mock, import warning for TourTipOverlayPunchOut

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/192532


Add chunk uploads support to FileUpload

Chunk Uploads can be useful when the end users are required to upload files bigger than the server's capacity limit.
This PR adds chunk upload functionality, using FilePond's chunking configurations
Behind the scenes, in uploadUsing() file-upload.blade.php, the Javascript will handle slicing the file and based on the configration options, and use the chunk size. Then, it will use Livewire's uploadMultiple and call processChunks(), which does the heavy lifting to compile the file into one piece.

[v] Changes have been thoroughly tested to not break existing functionality.
[v] New functionality has been documented or existing documentation has been updated to reflect changes.
[v] Visual changes are explained in the PR description using a screenshot/recording of before and after.

It's v3 compatible. Thoughts?

Love this PR!

It's very useful

Please retarget this at the 3.x branch and test it.

just find out that this will result in error if livewire is using S3 to store temporary file upload

Could you elaborate on the exact problem, @sawirricardo?

I've digged into Livewire's core and found out that Livewire's S3 doesn't support multiple file upload.
https://github.com/livewire/livewire/blob/main/src/Features/SupportFileUploads/S3DoesntSupportMultipleFileUploads.php
So this PR effecticely only works with local driver set on livewire. (can be documented)
However, I also think this should also be addressed in Livewire's to 'natively' upload the file using s3's multipart upload.
Thoughts?

Update: Making a PR into Livewire's (https://github.com/livewire/livewire/pull/5959). Still a draft, hopefully can move the workloads to Livewire's

Love this PR ! I'm developping corporate applications and sometimes the CSV files are way bigger than some MB. Chunking thoses files will simplify my work a lot !

Hi, please reopen this when Livewire is ready for it 👍


fix(map_loader, map_projection_loader): use component interface specs

Description
Use component_interface_specs for map interface

Related links
N/A

Tests performed

Ran logging_simulator with sample rosbags and confirmed that it runs successfully.
Ran ros2 topic info -v /map/map_projector_type and confirmed that it does not change before and after PR.

Notes for reviewers
N/A

Interface changes
N/A

Effects on system behavior
No effect

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I have confirmed that there are no changes before and after the PR.
before PR
ros2 topic info -v /map/map_projector_type
Type: tier4_map_msgs/msg/MapProjectorInfo

Publisher count: 1

Node name: map_projection_loader
Node namespace: /map
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: PUBLISHER
GID: 01.10.51.b8.83.70.a8.25.da.92.69.7c.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite

Subscription count: 2

Node name: lanelet2_map_loader
Node namespace: /map
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: SUBSCRIPTION
GID: 01.10.5c.c<IP_ADDRESS>c.c9.ff.14.db.<IP_ADDRESS>f.<IP_ADDRESS>.<IP_ADDRESS>.00
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite

Node name: vehicle
Node namespace: /default_ad_api/node
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: SUBSCRIPTION
GID: 01.10.5d.d5.33.2d.31.ef.9f.87.48.f<IP_ADDRESS>e.<IP_ADDRESS>.<IP_ADDRESS>.00
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite

after PR
ros2 topic info -v /map/map_projector_typepe
Type: tier4_map_msgs/msg/MapProjectorInfo

Publisher count: 1

Node name: map_projection_loader
Node namespace: /map
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: PUBLISHER
GID: 01.10.fc.03.01.e6.cb.5d.90.19.41.f<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.00
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite

Subscription count: 2

Node name: vehicle
Node namespace: /default_ad_api/node
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: SUBSCRIPTION
GID: 01.10.2b.87.02.e2.dc.<IP_ADDRESS>.cc.00.01.2e.<IP_ADDRESS>.<IP_ADDRESS>.00
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite

Node name: lanelet2_map_loader
Node namespace: /map
Topic type: tier4_map_msgs/msg/MapProjectorInfo
Endpoint type: SUBSCRIPTION
GID: 01.10.45.c6.d4.6c.b3.c2.ae.c8.3e.c<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.00
QoS profile:
  Reliability: RELIABLE
  History (Depth): KEEP_LAST (1)
  Durability: TRANSIENT_LOCAL
  Lifespan: Infinite
  Deadline: Infinite
  Liveliness: AUTOMATIC
  Liveliness lease duration: Infinite


Broken example : example_oauth.html

example_oauth.html points to ../vendors/jquery-1.3.2.js, should be "../vendors/jquery-1.4.2.js"

I guess this is no longer relevant.


Log Analytics as search medium

It's not possible to use search via Log Analytics for NSG logs? I see a lot of third party tools is mentioned but why not Log Analytics?

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

ID: f1fa6c20-b0a4-a593-ae3f-caa62aedd89c
Version Independent ID: e6cae9b1-e822-894e-11ff-985d305743cc
Content: Read NSG flow logs
Content Source: articles/network-watcher/network-watcher-read-nsg-flow-logs.md
Service: network-watcher
GitHub Login: @damendo
Microsoft Alias: damendo

Have added a mention of Log Analytics/Traffic Analytics. Changes will be out in a day.

#please-close


Middleware dependency injection does not use the same instance

Hi,
We are using the Middleware dependency injection like this:
services.AddScoped<SomeClass>
and then in the Middleware:
public XMiddleware(SomeClass someClass)
further down the line, in a different class:
public OtherClass(SomeClass someClass)
What is surprising is that the instance of SomeClass in OtherClass is going to be different in the same request than in Middleware.
It looks like the dependency injection has two different service providers for middleware and for the 'normal' classes.
I know we can retrieve the instance in the Invoke method from:
context.InstanceServices.GetRequiredService<SomeClass>();
However, this is an unexpected behavior.

Middleware has singleton lifetime. You should not inject a scoped dependency into a singleton constructor. If you do, your scoped dependency will behave as singleton.
In functions, currently there is no out of the box strict scope validation to prevent anyone from using this incorrect approach. But that is something we plan to add in the next major release. Until then, you can explicitly enable scope validation in your bootstrapping code by setting the ServiceProviderOptions.ValidateScopes property to true
var host = new HostBuilder()
    .ConfigureFunctionsWorkerDefaults(f =>
    {
        f.UseMiddleware<MyMiddleware>();
    })
    .ConfigureServices(services =>
    {
        services.AddScoped<MyClass>();
    })
    .UseDefaultServiceProvider((context, options) =>
    {
        options.ValidateScopes = context.HostingEnvironment.IsDevelopment();
    })
    .Build();

host.Run();

Hope this helps. Let us know if you run into any problems.

Closing as answered.


New Rule: ES6 sort-imports

Hi, I'm wondering if Standard feels like sorting ES6 imports are a good standard :smile_cat:
Docs are here: http://eslint.org/docs/rules/sort-imports. This is one of those nice rules that doesn't affect ES5 code and so can be enabled without relying on new infrastructure. The downside is that this could potentially cause a lot of new linter errors in big ES6 codebases.
If people are interested in this, I can put a PR up in the sharable config.
Thanks for considering.

I looked at this rule and considered enabling it for standard 6, because I personally sort my commonJS require() lines.
But the rule seems unintuitive, since it's enforcing sorting based on the type of ES6 import. And ES6 has 4 different ways to import. And no order seems particularly intuitive to me.

Sidenote: It's irritating how complicated all these new language features are. Standards folks don't seem to appreciate simplicity as much as they ought to. Arrow functions have 5 different syntaxes for example... :(

Yep, I hear you about the complexity. One thing sort-imports does out of the box too is consider case sensitivity, so they want you to sort classes above other stuff, which seems insane to me. It results in:
import Zebra from 'animals'
import baboon from 'animals'

It's configurable, but still.
To some extent, the sheer complexity of a lot of ES6 makes linters like Standard even more important now. This one is a good example. We've made the language so complex that even though the general principle of a sorting order for imports is intuitive (general to specific, alphabetical) it's really hard to enforce without external tools.

Can you check how many packages in the test suite fail when you enable your desired configuration of this rule? Still not sure if the rule is a good idea, but the numbers would be interesting to see.

I get the same results if I run it where it cares about alphabetization vs not:
# tests 420
# pass  416
# fail  4

Packages that failed:
tmp/magic-virtual-element/index.js:3:1: Imports should be sorted alphabetically. (sort-imports)
tmp/magic-virtual-element/test/index.js:3:1: Imports should be sorted alphabetically. (sort-imports)
not ok 114 magic-virtual-element (https://github.com/dekujs/magic-virtual-element)
---
tmp/cracks/lib/cli.js:3:1: Imports should be sorted alphabetically. (sort-imports)
tmp/cracks/lib/index.js:2:1: Expected 'multiple' syntax before 'single' syntax. (sort-imports)
not ok 211 cracks (https://github.com/semantic-release/cracks)
---
tmp/hjs-webpack/examples/assets-and-index-html/src/app.js:5:1: Imports should be sorted alphabetically. (sort-imports)
tmp/hjs-webpack/examples/just-assets-no-html/src/app.js:5:1: Imports should be sorted alphabetically. (sort-imports)
tmp/hjs-webpack/examples/prerendered-html-files/src/app.js:5:1: Imports should be sorted alphabetically. (sort-imports)
not ok 315 hjs-webpack (https://github.com/henrikjoreteg/hjs-webpack)
---
tmp/tape-promise/tests/async.test.js:2:1: Imports should be sorted alphabetically. (sort-imports)
tmp/tape-promise/tests/mixin.test.js:2:1: Imports should be sorted alphabetically. (sort-imports)
tmp/tape-promise/tests/promise.test.js:2:1: Imports should be sorted alphabetically. (sort-imports)
tmp/tape-promise/tests/regular.test.js:2:1: Imports should be sorted alphabetically. (sort-imports)
not ok 402 tape-promise (https://github.com/jprichardson/tape-promise)

This would conflict with how I write code - I've found my brain can't sort things alphabetically, but can easily recall if a word was long or not.
// alphabetically
import Zebra from 'animals'
import ape from 'animals'
import baboon from 'animals'
import cockatoo from 'animals'
import hyena from 'animals'

// length based
import cockatoo from 'animals'
import baboon from 'animals'
import hyena from 'animals'
import Zebra from 'animals'
import ape from 'animals'

I'd rather this be left up to the discretion of the author, as I feel this wouldn't have any noticable benefits.

I personally sort A-Za-z

@dcousens As much as it weirds me out I'm totally all for taking the eslint default if it doesn't bother other people. This is why Standard is valuable 😀

I tend to use alphabetical because it's easy as an editor shortcut, but if the eslint defaults were enforced with the formatter on save, then this would be pretty much the same. Even though the order is slightly different than alphabetical (symbols wise), anything that's got a defined order seems fine. It's something you'll easily adjust to within a week or two of use. So +1!

I try alpha-sorting based on the import location, but sometimes you sadly have circular dependencies which affect how you import stuff. :(
Also, sometimes you have multiple long named imports:
import {
  AnotherEvenLongerImportFromFooBar,
  createSomeFoobarThing,
  SomeReallyReallyLongImportFromFooBar
} from './foobar'

For me, alphabetical or length-based sorting is a waste of potential information. I try to encode some kind of rough meaning to the order of imports, based on their importance or how common they are over the project, e.g. in order:

shims & polyfills
core deps e.g. fs or path
important 'architectural' dependencies e.g. react or tape
less important dependencies e.g. mkdirp or through2
project-local dependencies e.g. ./things

This ordering means that for similar files in a project, the first few lines will remain roughly the same.
Regardless, I think this proposal is a non-starter given that require/import order can at times be significant e.g. polyfills MUST come first, though perhaps requiring es-lint disable comments would be a good way of flagging those dependencies which are order-significant.

Closing for the reasons that @timoxley and @cesarandreu stated.


Expose whether our bot is explicitely referenced

When checking if an Url is allowed or not, I would like to know if my User-agent was explicitely referenced in the robots.txt file or if the block applied to my User-agent was for all not referenced user-agents ('*')
In the function Robot::new we have a variable references_our_bot which holds that information. We could simply expose that info through some function. #7

Thanks for continuing the dialogue. I still want to better understand the use case as pull request #7 doesn't actually implement the functionality, it only adds a boolean references_our_bot, never setting it to anything.
For example, we could have references_our_bot to true if we see any reference to the User Agent but you also note "if the block applied to my User-agent was for all not referenced user-agents", which would instead be a result upon the rule itself.
User-agent: *
Disallow: /my-secret-lair/
User-agent: Bob
Disallow: /my-volcano
Disallow: /my-secret-lair/
User-agent: Charlie
Allow: /my-secret-lair/

In the case above references_our_bot would be true for Bob and Charlie but do we also want to know when a specific rule (such as Bob failing to retrieve /my-volcano) is blocking our bot and what if it's in both * and our User-agent rule set?
I was hoping you might mention the end use case as that might help clarify some of the thinking around what the best course of action would be.

Closing this as the pull request doesn't yet fill out the required spec and there hasn't been activity. I'm happy to include it if it can be added in a way that works and has unit tests ensuring it's good! :)


Support Dao Fork and other state.fork options for t8n

What was wrong?
The go-ethereum version of t8n supports various options for --state.fork which involve transition for one fork to the next at a certain block number. E.g - FrontierToHomesteadAt5. The t8n tool also doesn't support the DAO Fork.
Related to Issue #625
How was it fixed?
This commit adds support for the transition options. It also adds support for the Dao Fork.
Cute Animal Picture

Codecov Report
Patch coverage: 85.71% and project coverage change: +2.44 :tada:

Comparison is base (05f6ab0) 82.47% compared to head (135e85e) 84.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #737      +/-   ##
==========================================
+ Coverage   82.47%   84.91%   +2.44%
==========================================
  Files         570      570
  Lines       31568    31571       +3
==========================================
+ Hits        26036    26810     +774
+ Misses       5532     4761     -771

Flag
Coverage Δ

unittests
84.91% <85.71%> (+2.44%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/ethereum/dao_fork/fork.py
23.61% <50.00%> (+23.61%)
:arrow_up:

src/ethereum/dao_fork/dao.py
100.00% <100.00%> (+100.00%)
:arrow_up:

... and 35 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Revise information in .nuspecs

We should link to the google-api-dotnet-client project page on GitHub, then have a link from there to GCP docs.
Update descriptions for supported platforms.

We should probably also link to the Doxygen docs too, e.g.
https://developers.google.com/api-client-library/dotnet/reference/1.9.3/
However, that might need to be tracked in a separate work item since the docs too need to be cleaned up in various ways.

:+1:
The latest, by the way, is at: https://developers.google.com/api-client-library/dotnet/reference/1.10.0/

@chrsmith to find a good home. (I can't reassign because I'm not part of the organization anymore.)

Assigned to Chris Bacon, thanks Matt. We miss you :(

Docs updating tracked in #903.


fix: modinput issues

test run: https://github.com/splunk/splunk-add-on-for-google-cloud-platform/actions/runs/10643905753

:tada: This PR is included in version 4.17.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


this.datastoreTemplate.findById not finding the descendent child record

I have a Parent/Child relationship modeled as follows using @Descendants
@Entity(name = "parent")
public class Parent {
@Id
Long id;
    @Descendants
    Set<Child> children;

    public void setChildren(Set<Child> child) {
            this.children = child;
    }

}
@Entity(name = "child")
public class Child {
@Id
Key id;
    String name;

}
I first create a parent and then create a child using the following service
Note: This works. I am able to create the Child record.
@RequestMapping(value = "/parents/{id}/children/{childId}", method = RequestMethod.POST)
public ResponseEntity saveChild(@PathVariable Long id, @PathVariable Long childId,
@Valid @RequestBody Child child) throws URISyntaxException {
Parent parent = this.datastoreTemplate.findById(id, Parent.class);
parent.setChildren(new HashSet<>(Arrays
.asList(new Child(child.getName()))));
parent = parentRepository.save(parent);
}
I'm able to see the Child record created above using childRepository.findAll();
ISSUE: However I'm not able to query the Child record using
Child child = this.datastoreTemplate.findById(childId, Child.class); //Null or empty
where childId is a long.
Appreciate any help.
Thanks

@Vinooj Child ID must be a Key instead of a long. The reason is that a plain long child ID (without the ancestor parent specified in the Key) is considered a distinct key from full Key ID value (that does refer to the parent's id value). They are two separate entities with different key values from Datastore's perspective.

@ChengyuanZhao Can we do this kind of validation automatically when one uses @Descendants to provide a helpful error message?

@meltsufin  we currently disallow storing any child descendants with a non-Key ID type.
However the question here is about going back completely unaware of the original child instance and looking it up with any given key value. Remember in Datastore the entire Kind is not subjugated to being a descendant of another Kind. Descendant relationships are by-entity/row and can even occur between entities of the same kind or between two kinds in opposite directions.

@ChengyuanZhao
I'll try passing Key instead of the id(long).

@Vinooj the key you use must refer to the parent key as an ancestor. To Datastore the entire key includes all ancestor values.

Thanks for your quick response @ChengyuanZhao
I did spend some time researching trying to figure out how to do it

docs
https://github.com/spring-cloud/spring-cloud-gcp/tree/master/spring-cloud-gcp-data-datastore/src/test/java/org/springframework/cloud/gcp/data/datastore/it
https://cloud.google.com/appengine/docs/standard/java/datastore/creating-entity-keys

Can you please provide some sample code.

@Vinooj You can use the client lib's key factory com.google.cloud.datastore.KeyFactory to construct new keys with the components and ancestors you need. It's a "builder" style class, and you can create a new instance of that factory to construct a key.

Thanks @ChengyuanZhao
I got it to work with the following code,
`Key parentKey = Key.newBuilder("my-project-id", "parent", id).build();
Key childKey = Key.newBuilder(parentKey, "child", childId ).build();
Child existingChild= this.datastoreTemplate.findById(childKey, Child.class);
existingChild.setName("Name - 1");
existingChild = childRepository.save(existingChild);`


community.keydb.dev certificate expired

Per #511 and #464 it looks like this has happened a few times before.
The Lets Encrypt certificate for the KeyDB Community site has expired.

community.keydb.dev normally uses encryption to protect your information. When Chrome tried to connect to community.keydb.dev this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be community.keydb.dev, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Chrome stopped the connection before any data was exchanged.
You cannot visit community.keydb.dev right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.

seems to still be expired


Proposal: Settings file

Scope
This issue describes a proposal for settings files for the StyleCopAnalyzers analyzers. It is similar to the original StyleCop settings files, but deliberately different, to signify the differences between the two projects.
The settings files for the StyleCopAnalyzers analyzers will only feature settings that can be used to configure certain diagnostics. There will be no mechanism to disable analyzers, the standard rule set mechanism from Visual Studio can be used for that.
The settings file for the StyleCopAnalyzers will be stored using the JSON data-interchange format.
Example
The example below shows the content of a possible settings file. This example also shows all currently identified settings.
{
  "mergeMode" : "parentFolder",
  "settings" :
  {
    "documentationRules" :
    {
      "companyName" : "FooBar Inc.",
      "copyrightText" : "Copyright (c) 2015 FooBar Inc. All rights reserved.",
      "ignorePrivateDeclarations" : true,
      "ignoreInternalDeclarations" : true,
      "ignoreFields" : true
    }
  }
}

Naming
The settings file shall be named Settings.StyleCopAnalyzers. This name was chosen to be similar to the original StyleCop name, to indicate to developers its intended use, but also different to signify that the contents are not compatible.
Locating the settings file
When analyzing a source file, the analyzer will look in the folder where the source file resides for a Settings.StyleCopAnalyzers file. If no settings file is present, the parent folder is searched for a settings file. If no settings file is present there, the parent of the parent folder is searched, and so on.
(See the section on merging for more details)
If no settings files are found, the default settings are used.
Validation
The settings file shall be validated as being proper JSON and a diagnostic must be produced to signal an invalid settings file. Whenever an invalid settings file is encountered, all valid settings from already parsed (and merged) settings files must be retained. The merge process must stop immediately when an invalid settings file is encountered.
If the settings file contains unknown name/value pairs, they shall be silently ignored.
Merging
To allow reuse of settings files, it is useful to have a merging scheme available, where multiple settings files will be combined into a single set of settings. When merging the current set of  settings with another settings file, the current set of settings will override any settings defined in the file being merged.
The proposed merge scheme is similar to the one that StyleCop is using. It will however not have a 'master' settings file in the installation folder.
The merge process will be controlled by the optional <merge> element within each settings file. One (and only one) of three merge modes can be specified:

Do not merge this settings file. This will stop the merge process.

  "mergeMode" : "none"

Merge with a settings file present in a parent folder. This does not have to be the direct parent folder, the entire tree towards the root of the filesystem is traversed until a settings file is found. This is the default option, if no merge element is specified.

  "mergeMode" : "parentFolder"

Merge with a specified settings file, and continue the merge process from there.

  "mergeMode" : "file"
  "mergeFile" : "D:\\GitHub\\Settings.StyleCopAnalyzers"

Related issues
This would be used for implementing the following issues: #156, #161, and #789.
It is related to #410 and #422
It would also influence pull request #832

Between XML and JSON, I think JSON is the way to go. It gets rid of the problems typically associated with versioning and reduces our overall maintenance cost in the long term.

JSON would be ok with me, I just picked XML because the StyleCop stuff was in XML.
I would say we use Json.NET for reading the file.
I'll update the proposal to use JSON later.

Given the limited amount of available settings, it might also be wise to leave out the merge mechanism for now, as that will be quite some work and have an impact on performance.

I think we should name the file stylecop.json. The extension ensures it will open in the correct mode for editing, and also matches the naming used by project.json.

JSON is easily extended in the future. For now, let's omit the ability to merge multiple configurations.

Locating the settings file should be done by way of the AdditionalFiles functionality in Roslyn. This supports both regular and linked documents.

For the initial implementation, let's make companyName the only setting. The copyright text would read as follows:

Copyright (c) {companyName}. All rights reserved.

I agree with the comments above. I'll update #893 to reflect that.

Considering you are planning on using CodeAnalysis settings files, I would also consider using the <CodeAnalysisDictionary Include="CustomDictionary.xml" /> for things like Hungarian notation and spelling.  Maintaining two dictionaries will not be fun.

Copyright (c) {companyName}. All rights reserved.

This doesn't really work for Open Source.  e.g.
// -----------------------------------------------------------------------
// <copyright file="Program.cs" company="(none)">
//   Copyright © 2015 John Gietzen.  All Rights Reserved.
//   This source is subject to the MIT license.
//   Please see license.md for more information.
// </copyright>
// -----------------------------------------------------------------------

I think you should allow custom copyright text.  I want to require MIT licensing on some of my files, I want to require the ASCII copyright symbol, and I don't want a company name.

Maintaining two dictionaries will not be fun.

The spelling rule was permanently disabled as part of #1057. The Hungarian notation rule has not yet been implemented, but I still lean towards using a blacklist instead of a whitelist to avoid false positives. Either way, these prefixes would not be duplicated in a spelling dictionary.

This doesn't really work for Open Source

#1243 deals with this.

In light of #1243, why include companyName in the JSON format?

It's the minimum piece of configuration necessary to support all of the file header rules, and is particularly useful for SA1641 (FileHeaderCompanyNameTextMustMatch).

@sharwell How does the analyzer is locating the settings file? Can I share the settings across multiple projects/solutions. With the old StyleCop.settings this could easily be done by just putting the file in the root of the source code repository.

The path to the settings file is written in the csproj file. So you can point it to a central location and share it across projects. You could also share it across multiple solutions but if those solutions are not in the same repository I dont think that this is a good idea.

@pdelvo If already seen this possibility, but I find this somehow inconvenient to add the configuration file to more than 300 projects in our repository. So thought it might be wise to have some fallback as described in this proposal. It also seems to be more "convention over configuration" like if I could just place a file in the root folder and everything is configured ;-)

@alaendle Currently there is only one "official" way to add an additional file into the build process for an analyzer. However, the Roslyn team is reconsidering this approach right now. If you are interested in additional ways to add a common file into the build for multiple projects, I highly recommend you provide feedback in dotnet/roslyn#5096, since the solution derived from that issue is almost certainly the one you will be stuck using. :smile:


Docs: Make the "Running" doc better

Now that it's moved, it needs to be reworked so it can standalone. e.g. add some intro text and fix up missing references
I also think the following extra content would be good

[x] Running manually
[x] Interface selection
[x] Making changes at runtime
[ ] Then zero-downtime restarts should be moved into an upgrade section (or standalone doc) with some extra k8s focused content
[x] A link should be added to existing leases/reservations doc I added to answer the questions "How do I make sure that a specific host has a specific IP range"

For running manually, I was thinking a complete etcd-based mini-guide would be instructive, e.g.

Download a flannel binary - wget https://github.com/coreos/flannel/releases/download/v0.7.0/flanneld-amd64 && chmod +x flanneld-amd64
Run the binary - sudo ./flanneld-amd64 it will hang waiting to talk to etcd
Run etcd - see instructions at https://github.com/coreos/etcd/releases/latest or if you have docker just do docker run --rm --net=host quay.io/coreos/etcd
Observe that flannel can now talk to etcd, but can't find any config. So write some config. EIther get etcdctl from the releases page above or just use docker again
docker run --rm --net=host quay.io/coreos/etcd etcdctl set /coreos.com/network/config '{ "Network": "<IP_ADDRESS>/16", "Backend": {"Type": "vxlan"}}'

Now flannel is running, it has created a vxlan tunnel device on the host and written a subnet config file
cat /var/run/flannel/subnet.env
FLANNEL_NETWORK=<IP_ADDRESS>/16
FLANNEL_SUBNET=<IP_ADDRESS>/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=false

For interface selection, it ties in with the existing vagrant content a little. It should highlight the importance of choosing the right interface as this is how flannel registers itself in the datastore. The important options are
-iface string
    	interface to use (IP or name) for inter-host communication
-public-ip string
    	IP accessible by other nodes for inter-host communication

The combination of the defaults, the autodetection and these two flags ultimately result in the following being determined

An interface (used for MTU detection and selecting the VTEP MAC in vxlan)
An IP address for that interface - WIBNI each backend documents clearly how it uses this address...
A public IP that can be used for reaching this node - in host-gw it should match the interface address. Again would be nice to know how each backend uses this.

This documentation should guide users well enough that they understand the how, when, what and why of this configuration.

For k8s upgrade guidance I was thinking of tying in with the k8s 1.6 daemonset rolling upgrade feature. Help from a CoreOS kubernetes expert would be appreciated here!

For making changes at runtime I think we just needs statements that say

You can't change the datastore type (we don't have a migration path currently from etcd backed flannel to kube-subnet-mgr backed flannel)
You can't change the backend type (without stopping all your workloads and restarting all your flannel daemons)
You can change the the subnetlen/subnetmin/subnetmax with a daemon restart (but be careful if pods are already using IP addresses outside the new range as they will stop working)
I think you probably can't change the clusterwide network range (without downtime)

I've got a draft going of this - will need more input from Josh or another source to flesh it out more. I can continue working from this Issue's comments, and generate a PR when you think it's time.

these two items have not yet been addressed:

[ ] zero-downtime restarts should be moved into an upgrade section (or standalone doc) with some extra k8s focused content
[ ] A link should be added to existing leases/reservations doc I added to answer the questions "How do I make sure that a specific host has a specific IP range"

Created a new issue to add a doc on zero downtime restarts, in order to close this issue. Closing.


fix indendation in readme and include extra canopencomm info

Had to go through the source code to find out how canopencomm works with input files, so I've added that info to the readme.

I didn't even know that feature exists :-)


CUSTOM LICENSE Form submission is giving error during submission

When I try t submit a question in custom license form,
It is erroring out. https://tailwind-elements.com/license/

Hello,
Thanks for reporting this! We fixed the issue already - you should be able to use the form now.
If you need anything else please let me know.
Keep coding,


Filters not working on Apple Mobile

Similar to #98 (which has been closed) Filter option on iPadOS is NOT working for me when trying to enter Tag(s).

Thanks - I'm starting to collect mobile-related issues -> this will be the next epic to tackle after drag and drop :)  ..as I am conscious that I've not done anything in this area as I've been more focused on basic functionality and just kinda hoped that things would just work on mobile :)

Thanks for the fast reply. I discovered the plugin from a post on the Obsidian Discord channel. It IS an amazing piece of work, particularly how it deals with all things Apple Mobile. There’s hasn’t been any show stoppers I’ve encountered with the basic operation of the plugin. Since I’m primarily an Apple Mobile guy, I’ll be sending along anything I ‘find’. Otherwise, so far, other than this item, other things are cosmetic and/or semantics. 👍

Much appreciated - I'm mostly on a macbook and don't find myself using obsidian very much on my phone or iPad so anything you find that I need to improve or fix will be really useful.
Thank you again


Hammerdin Charged teleport to Diablo

I´m not sure if this is an issue. I understand the config file that way that its possible to use an amulett with teleport charges for my Hammerdin. Teleport with charges is recognized but than game is aborted because telport is required to do diablo. This message is not loged in the log file.

It is not intended to run diablo with Tele charges. There are more teleports than a typical amulet has charges. A revised version for diablo is in the works - also covering walking chars, traversing river of flame with 7 teleport charges .