text:
Update target framework to 4.8

By doing this you allow us to use the majority of the netstandard packages.

i think 4.5.2 is the minimum req version by wu still. though 2016/win10+ come with 4.6.1 pre-installed.
that been said, give 4.6.2 so i can use the http2 features ;p

@sebastienros I'd like to circle back to the choice of upgrading to 4.6.1 as discussed on the PR: I think the argument for 4.6.1 was mainly about whether it's included in Windows Update. Based what I found in the version and dependency table, here's my take on the issue:
Orchard 1.10 shipped in March of 2016 with .NET 4.5.2 (which was released almost 2 years earlier), but .NET 4.5.2 is not included in any OS versions by default, so at some point you had to install it manually (I'm not sure if it was automatic with Windows Update, but it might've been).
.NET versions above 4.6.1 offer a lot of improvements in different areas (many are unrelated though), but some of them can still be significant performance, security, and/or quality of life improvements for Orchard-based development. In the meanwhile, we're also looking at NuGet package updates in #7998, so I think it's a good chance to give Orchard a nice refresh.
.NET 4.8 is not yet supported by Azure App Service for example, so I'd recommend 4.7.2:  It has basically the same compatibility as 4.5.2 and is included in Windows 10 and Server versions older than a year now (Windows 10/Server 1803).

You are the boss

.NET 4.8 is not yet supported by Azure App Service for example, so I'd recommend 4.7.2

Since yesterday 4.8 is on Windows Update so I assume all machines should have it. even App Service

Nice, that's even better! I don't see it yet in the configuration for an App Service (still 4.7), but I guess it's just a matter of time. AWS Elastic Beanstalk seems to support 4.8 already.

With TLS 1.0 being deprecated and TLS 1.2 becoming the required standard, this ticket should be prioritized. It is recommended that applications use at least 4.7:
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-your-app-targets-a-net-framework-version-earlier-than-47

Thanks @mwentz that's a very good point. @sebastienros this issue is assigned to 1.11 - what do you think about a minor version (1.10.4) instead to implement this?

fine

Anyone is working or is plannning to work on this upgrade? The goal is to target fw 4.8 for 1.10.4, right?

@HermesSbicego-Laser correct, you want to take it over

@HermesSbicego-Laser: thanks for this!
@sebastienros: any idea when this pull request #8444 will be merged in 1.10.x?

@HermesSbicego-Laser: thanks for this!
@sebastienros: any idea when this pull request #8444 will be merged in 1.10.x?

It's merged.
What about updating the libraries also, at least MVC/Razor. I assume there were security patches.

It's merged.
What about updating the libraries also, at least MVC/Razor. I assume there were security patches.

We would like to update libraries too, yes.
MVC/Razor it's a good starting point, but we would like to upgrade the other ones too. Wich ones, it depends on their compliance with current ones and the effort involved...
BTW I will open a new issue for that.
Any help will be appreciated @dpomt @Jetski5822 @BenedekFarkas @carlwoodhouse

We would like to update libraries too, yes.
MVC/Razor it's a good starting point, but we would like to upgrade the other ones too. Wich ones, it depends on their compliance with current ones and the effort involved...
BTW I will open a new issue for that.
Any help will be appreciated @dpomt @Jetski5822 @BenedekFarkas @carlwoodhouse

Is there any sort of timeline on when the .NET 4.8 update would be available? I would love to update our site to this.

With PRs #8444 we updated to framework 4.8. That PR is merged in 1.10.x so I think we could close this issue.
@njones57, is it possible for you to updgrade your site to 1.10.x branch?

@HermesSbicego-Laser I'm not sure if we would be allowed to use a non-release branch as this is for a production system but I can check. Thanks for the info!

@HermesSbicego-Laser do you think we could ship a new minor release?

I think we could and we should.
We are currently provisioning 1.10.x (+ some cherrypicks of dev) in our production environment, serving more or less 60 tenants (3 of which are e-commerce) so the 1.10.x is pretty stable from what we see.
Definitely we think 1.10.x is ready to be released as 1.10.4
@sebastienros @BenedekFarkas

Fixed in #8444 to 1.10.x and it was merged into dev too.

authors: BenedekFarkas HermesSbicego-Laser Jetski5822 carlwoodhouse dpomt mwentz njones57 sebastienros


text:
Implemented LocalizationSetId and relate logic.

Functionally, this replaces the MasterContentItem. However, the old service has not been touched to allow retrocompatibility.
This does not solve #7394 because the "old" LocalizationService was not changed. Rather, a new service was created that lives beside it, so that anyone using the original buggy ones and making them work for their needs will see no change.
This is a solution to #7386, because the new service maintains the relationship inside the LocalizationSet.
This may be a to #7348: in testing this PR on my machine I have never seen the issue I saw there in #7348.
This time I have also been a good boy and squashed all my commits.
The migration may take a while on systems with a lot of items. I have been thinking about ways to make it faster, but I'd first like to see if it's needed, because they are not very easy to implement and test.

@sebastienros Is it okay if I go ahead and close this? With the changes we have done to the Localization module this has become obsolete.

source: gharchive/pull-request

repo: OrchardCMS/Orchard

license_type: permissive

license_source: bigquery


text:
Documentation menu (OCC-128)

You added some new pages to the documentation recently.
Ex: https://commerce.orchardcore.net/en/latest/features/inventory/
if you want them to appear in the menu, you need to add them to the nav section in the mkdocs.yml file.
Jira issue

Thanks, I assumed the menu came from the directory structure.
I've created a new PR (#258). Could you review it, please?

source: gharchive/issue

authors: DAud-IcI agriffard

license: MIT

license_source: github-api


text:
Client crash when walking on a server (server does not crash)

Mod Version:
DynamicSurroundings-1.12.2-3.5.4.3.jar
Forge Version:
forge-1.12.2-14.23.5.2838-universal
Link to crash log (if applicable):
https://pastebin.com/7WrkQG2p
Description:
Client crash when walking on a server. Crash report attached.

I cannot duplicate.  I will make a speculative fix meaning that I will make a change based on what I suspect the issue might be.

Pushed DynamicSurroundings-1.12.2-3.5.5.0 to CurseForge.

authors: OreCruncher stormbringerGT

repo: OreCruncher/DynamicSurroundings

license: mit


text:
Longitude / Latitude values are swapped in "Tourism:Points of Interest" examples

Longitude / Latitude values are swapped in "Tourism:Points of Interest" examples of the tutorial "Federated Data Assets":
    https://github.com/OrganicityEu/organicityeu.github.io/blob/master/doc/FederatedDataAssets.md

More precisely, in "Beaches" and "Park and gardens", the field "location" contains the following values:
    "value": "43.4694983127,-3.7752789259"
    "value": "43.4557850000,-3.8407950000"

respectively. This is wrong, because longitude and latitude are swapped in them.
The correct values for "Beaches" and "Park and gardens", respectively, are:
    "value": "-3.7752789259, 43.4694983127"
    "value": "-3.8407950000, 43.4557850000"

This error causes that these Points of Interest will be placed in the middle of the Indian Ocean, between Kenya and Seychelles Islands.
I have tested that, if you create an asset with incorrect values as above, the OrganiCity API sets longitude to 43.4694983127 and latitude to -3.7752789259, which, of course is incorrect for a Santander Point of Interest.

Fixed.


text:
New Crowdin translations

Enjoy!

Closing in favor of #418 per https://github.com/OriginProtocol/origin-devops/issues/16 🎋

authors: joshfraser micahalcorn

repo: OriginProtocol/origin-dapp


text:
Add Inverted Quoter for AMO fork test.

Description
Calculating the amount of tokens to swap for rebalancing is not easy and always changes in the fork test, as the pool situation changes too.
Using a quoter that performs a binary search to find the amount to swap, to push the price in the correct range in the AMO,  will contribute to the stability of the fork test.
Code Change Checklist
This PR doesn't change the code, it only changes the test.

I left a couple of comments, but generally I would adjust the api between the fork tests and the quoter a little. The code that is issuing the call from the fork test doesn't really need to pass any variables to the quoter. The Quoter should be constructed using the pool & strategy contract and be able to figure out the direction and the amounts to swap on its own.
Separately from that some of the fork tests also also try to move the price in the pool close to left tick boundary or right tick boundary. Do you think you could also write a helper functions so we don't have those swap values hardcoded and needing to adjust them frequently?

I left a couple of comments, but generally I would adjust the api between the fork tests and the quoter a little. The code that is issuing the call from the fork test doesn't really need to pass any variables to the quoter. The Quoter should be constructed using the pool & strategy contract and be able to figure out the direction and the amounts to swap on its own.

Ok got it, no problem it makes sense.

Separately from that some of the fork tests also also try to move the price in the pool close to left tick boundary or right tick boundary. Do you think you could also write a helper functions so we don't have those swap values hardcoded and needing to adjust them frequently?

I had already built a quoter that gave the quantity to be exchanged to reach a certain price, I can integrate it without any problem, sure ;)

Separately from that some of the fork tests also also try to move the price in the pool close to left tick boundary or right tick boundary. Do you think you could also write a helper functions so we don't have those swap values hardcoded and needing to adjust them frequently?

I've updated some tests with the quoter that returns the amount to swap to reach a certain price. Let me know if you want me to apply it to other tests that I might have missed. ;)

@clement-ux did another pass

Couple of minor comments and a merge conflict. Then I am happy to do a final pass. Good job on this one

authors: clement-ux sparrowDom

repo: OriginProtocol/origin-dollar


text:
add twitter icon to button

@kevgo @charlierudolph

:ship: thanks @redouglas!

authors: kevgo redouglas

repo: Originate/git-town


text:
Add ability to supply a service instance

Sometimes it's is necessary to supply an instance of a service instead of it's mock.

Looks great!

authors: dsarfati hazzik

repo: OrleansContrib/OrleansTestKit


text:
CI for Node

first commit

Contains the compiled JavaScript
Initializes with two players
Starts the game with a random player
Sets the current player to be whoever it is not

repo: OshiniBandara/github-actions-for-ci


text:
🛑 LeakZone is down

In 1139f84, LeakZone (https://leakzone.net) was down:

HTTP code: 503
Response time: 7320 ms

Resolved: LeakZone is back up in f4e8294 after 10 hours, 44 minutes.

repo: OsintUK/Up-or-Down


text:
Fix react hydration failure message

Fixes popup in dev where hydration 'fails' due to mismatch between server and client.
Fixes a warning about forwarding refs, caused by https://github.com/vercel/next.js/issues/7915
There are still react hydration errors, but following https://nextjs.org/docs/messages/react-hydration-error in using babel styled components does not address the problem from what I tried.

Hmm. I need to revise this a bit, as there's something not quite right about it. It should only skip if document is not available and use an effect to 'activate'

Ok that's better.

repo: OtterClam/otto-app


text:
Double preprocess in catalog.to_dataset()

Setup Information

xscen version: v.0.7.1
Python version: 3.10

Description
When using preprocess with Datacatalog.to_dataset() I get the error:
TypeError: intake_esm.core.esm_datastore.to_dask() got multiple values for keyword argument 'preprocess'
linked to  xscen/catalog.py", line 458, in to_dataset
ds = cat.to_dask(preprocess=preprocess, **kwargs)
Steps To Reproduce
def preprocess(ds):
    return ds

dataset = catalog.to_dataset(preprocess=preprocess)

Additional context
Preprocess is sent two times to intake esmf
Contribution

[ ] I would be willing/able to open a Pull Request to address this bug.

Dang.
This line:
https://github.com/Ouranosinc/xscen/blame/7fa182831f7eb38c4ac4c183613319d38a7cadae/xscen/catalog.py#L414
should be a .pop.

authors: aulemahal sarahclaude

repo: Ouranosinc/xscen


text:
Doesn't compile from source, skipped projects, build hangs

This is a carry-over from Oxide forums discussion:
http://oxidemod.org/threads/compiling-oxide-from-source.27635
Step 2: Describe your setup

Oxide version 2.0.3600 and current development branch
Game name and version: Rust, buildid 2214178
OS version: Server 2012
Build environment: MSVC 2017 release version

Step 3: Describe the problem
Downloading and attempting to build source for master or development branch does not work.

Upon opening project in MSVC 2017, there is error dialogue box:

Problem signature:
  Problem Event Name:    Dev11NonFatalError
  AppName:    devenv.exe
  AppVer:    15.0.27004.2005
  AppStamp:    59e69397
  AsmAndModName:    Microsoft.VisualStudio.Validation
  AsmVer:    15.3.15.16354
  ModStamp:    cdeef569
  MethodDef:    29
  Offset:    58
  ExceptionType:    System.ArgumentException
  Component:    CPS
  OS Version:    6.3.9600.2.0.0.272.7
  Locale ID:    1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

And second error dialogue box (graphic only):

dimensionValueMap must contain one value

Auto building results in:

1>------ Skipped Build: Project: References ------
1>
2>------ Skipped Build: Project: Core ------
2>
3>------ Skipped Build: Project: CSharp ------
3>
4>------ Skipped Build: Project: SQLite ------
4>
5>------ Skipped Build: Project: Lua ------
5>
6>------ Skipped Build: Project: MySql ------
6>
7>------ Skipped Build: Project: Unity (Extensions\Unity) ------
7>
8>------ Skipped Build: Project: JavaScript ------
8>
9>------ Skipped Build: Project: Python ------
9>
10>------ Skipped Build: Project: Blackwake ------
10>
11>------ Skipped Build: Project: Hurtworld ------
11>
12>------ Skipped Build: Project: MedievalEngineers ------
12>
13>------ Skipped Build: Project: ReignOfKings ------
13>
14>------ Skipped Build: Project: Rust ------
14>
15>------ Skipped Build: Project: SavageLands ------
15>
16>------ Skipped Build: Project: SpaceEngineers ------
16>
17>------ Skipped Build: Project: TheForest ------
17>
========== Build: 0 succeeded or up-to-date, 0 failed, 17 skipped ==========

Steps to reproduce:

Download source
From within MSVC 2017, choosing either "Debug" or "Release" target is same result
Attempt automatic (normal style) of build

Observed results:

Build never completes for any game

Expected results:

Build complete as before by just downloading source and compile without changing anything other than "Debug" or "Release" target in MSVC 2017

Relevant code (if applicable):
When building any game, the process will hang here
Lua -> C:\GitHub\serverside\Oxide\Extensions\Oxide.Lua\bin\Release\net40\Oxide.Lua.dll
LuaExtension.cs(31,29,31,44): warning CS0114: 'LuaExtension.IsCoreExtension' hides inherited member 'Extension.IsCoreExtension'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Lua -> C:\GitHub\serverside\Oxide\Extensions\Oxide.Lua\bin\Release\net45\Oxide.Lua.dll
Lua -> C:\GitHub\serverside\Oxide\Extensions\Oxide.Lua\bin\Release\net461\Oxide.Lua.dll
Done building project "Lua.csproj".
Successfully created package 'C:\GitHub\serverside\Oxide\Extensions\Oxide.Lua\bin\Release\Oxide.Lua.2.0.0.nupkg'.
------ Build started: Project: Rust, Configuration: Release Any CPU ------

Step 4: Additional information
As mentioned by Frenk92 in the forums thread, replacing this line in rust.csproj
<Exec Command="powershell -ExecutionPolicy Unrestricted $(SolutionDir)Steam.ps1 -project $(AssemblyName) -dotnet $(TargetFramework) -appid $(SteamAppId) -branch $(SteamBranch) -managed $(ManagedDir)" />

With this
<Exec Command="powershell -ExecutionPolicy Bypass $(SolutionDir)Steam.ps1 -project $(AssemblyName) -dotnet $(TargetFramework) -appid $(SteamAppId) -branch $(SteamBranch) -managed $(ManagedDir)" />

Allows a "batch build" where only OxideMod projects and the Rust game are selected to successfully build and be installed

I just compiled with update development branch  fdc8409 and by using the batch build, all projects compile successfully for every game, for release and debug targets.
Still have the 2 dialogue box errors when opening MSVC by double-clicking the Oxide.sln file. I once open, I close the solution and re-open it, I only get the 2nd dialogue box error dimensionValueMap must contain one value

Yeah, that dimensionValueMap seems to be the main issue now, just unsure how to reproduce it myself.

I just compiled with updated development branch fdc8409 and by using the batch build, all projects compile successfully for every game, for release and debug targets.

How? i get error (invalid/incompatible project...) with .sln file...

@Owned67, what is the specific version that Visual Studio 2017 shows?

I bet he's on 2015 version. I'm using the released version Luke, not the devel MSVC like you and mine works fine.

Yeah, only way you'd see anything about an invalid project is if you're not on any 2017 version, only older versions such as 2015.

Version 2017:

Non pris en charge
Cette version de Visual Studio ne parvient pas à ouvrir les projets suivants. Les types de projets ne sont peut-être pas installés ou cette version de Visual Studio ne les prend peut-être pas en charge.
Pour plus d'informations sur l'activation de ces types de projets ou sur la migration de vos actifs, consultez les détails dans le "Rapport de migration" qui s'affiche lorsque vous cliquez sur OK.

Core, "B:\Oxide-master\Oxide.Core\Core.csproj"
Modifications non fonctionnelles requises
Des modifications non fonctionnelles seront automatiquement apportées par Visual Studio aux projets suivants, afin de rendre possible leur ouverture dans Visual Studio 2015, Visual Studio 2013, Visual Studio 2012 et Visual Studio 2010 SP1. Ces modifications n'auront aucune incidence sur le comportement des projets.
Oxide, "B:\Oxide-master\Oxide.sln"
version 2015:

B:\Oxide-master\Games\Oxide.Blackwake\Blackwake.csproj : error  : L'espace de noms XML par défaut du projet doit être l'espace de noms XML MSBuild. Si le projet a été créé au format MSBuild 2003, ajoutez xmlns="http://schemas.microsoft.com/developer/msbuild/2003" à l'élément . S'il a été créé dans des formats anciens comme 1.0 ou 1.2, convertissez-le au format MSBuild 2003.  B:\Oxide-master\Games\Oxide.Blackwake\Blackwake.csproj

B:\Oxide-master\Games\Oxide.MedievalEngineers\MedievalEngineers.csproj : error  : L'espace de noms XML par défaut du projet doit être l'espace de noms XML MSBuild. Si le projet a été créé au format MSBuild 2003, ajoutez xmlns="http://schemas.microsoft.com/developer/msbuild/2003" à l'élément . S'il a été créé dans des formats anciens comme 1.0 ou 1.2, convertissez-le au format MSBuild 2003.  B:\Oxide-master\Games\Oxide.MedievalEngineers\MedievalEngineers.csproj

@Owned67, okay, but what is the exact version you are using?

MVS 2015 Pro 14.0.25431.01 Update 3 (Net framework 4.7.02556)
MVS 2017 Pro 15.4.1 (Net framework 4.7.02556)

But the first error message you posted claiming to be from 2017 version seems to indicate it was being loaded from 2015 version:
Translated?
https://translate.google.com/?um=1&ie=UTF-8&hl=en&client=tw-ob#auto/en/Modifications%20non%20fonctionnelles%20requises%0ADes%20modifications%20non%20fonctionnelles%20seront%20automatiquement%20apport%C3%A9es%20par%20Visual%20Studio%20aux%20projets%20suivants%2C%20afin%20de%20rendre%20possible%20leur%20ouverture%20dans%20Visual%20Studio%202015%2C%20Visual%20Studio%202013%2C%20Visual%20Studio%202012%20et%20Visual%20Studio%202010%20SP1.%20Ces%20modifications%20n%27auront%20aucune%20incidence%20sur%20le%20comportement%20des%20projets.

Hmmm, are you using Pro or Enterprise too @generationtech? I'm on the Community version.

i can try with community version, no worrie, just tell me requirement for installation ?

I'm on Enterprise version, 15.4.1

Seeing a theme here... :P

Ok theme for my original issues or @Owned67 's?

Sorry, "pattern" would be a better word to use for it.
1 x Community and working
1 x Pro and not working
2 x Enterprise and not working

So ok i try with community version 2017, i'l back after.

OK, I will try with Community. I get Enterprise free from access to DreamSpark.
But mine is working *. I don't have anything like @Owned67 issue and never got any kind of incompatibility message when first opening a freshly unzipped OxideMod source tree

@generationtech, the only issue you have that everyone else has other than me (only Community user that I know of) is the dimensionValueMap error on start though.

@lukespragg i need to install what with community edition ? SDK ? Net native ? can you give more details please

VS should be all you need, but if you see anything else that you might see relevant it wouldn't hurt.

I'm noob for this... ^^ ok I'l install by defaut

I get same error

Non pris en charge
Cette version de Visual Studio ne parvient pas à ouvrir les projets suivants. Les types de projets ne sont peut-être pas installés ou cette version de Visual Studio ne les prend peut-être pas en charge.
Pour plus d'informations sur l'activation de ces types de projets ou sur la migration de vos actifs, consultez les détails dans le "Rapport de migration" qui s'affiche lorsque vous cliquez sur OK.
- Core, "B:\Oxide-master\Oxide.Core\Core.csproj"

Modifications non fonctionnelles requises
Des modifications non fonctionnelles seront automatiquement apportées par Visual Studio aux projets suivants, afin de rendre possible leur ouverture dans Visual Studio 2015, Visual Studio 2013, Visual Studio 2012 et Visual Studio 2010 SP1. Ces modifications n'auront aucune incidence sur le comportement des projets.
- Oxide, "B:\Oxide-master\Oxide.sln"
15.4.1

Still sounds like you're somehow opening it in Visual Studio 2015 @Owned67. Try manually opening Visual Studio 2017 and then opening the .sln or .csproj from there.

I don't understand why that message reference version 2015 and not 2017. It specifically translates to:

Non supported
This version of Visual Studio fails to open the following projects. Project types may not be installed or this version of Visual Studio may not support them.
For more information about enabling these types of projects or migrating your assets, see the details in the "Migration Report" that appears when you click OK.

and here

Non-functional changes required
Non-functional edits will automatically be made by Visual Studio to the following projects to make them open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. These changes will not affect the behavior of the projects.

Those error messages say nothing about version 2017

@generationtech, it sounds like @Owned67 has VS 2015 as the default instead of VS 2017, so when clicking on it to open it it opens VS 2015 instead.

I don't double clic, open with... and select MVS 2017...

Try manually opening Visual Studio 2017 and then opening the .sln or .csproj from there.

same error

Could you show a screenshot of the entire screen with it open else a gif of your steps @Owned67? www.gyazo.com would work great for both else the built-in stuff that VS 2017 has.

http://zupimages.net/up/17/42/shps.gif

@Owned67 https://developercommunity.visualstudio.com/content/problem/16409/project-created-in-visual-studio-2017-wont-load-af.html

It's latest version @lukespragg....

@Owned67, I realize that, just pointing out something that may be the cause on your end. What you are experiencing isn't an issue with the project files, it appears to be either a corrupt install or an isolated bug with VS 2017.

Lol, I have a new one. I've been rate-limited during my build tests...
Determining latest release of DepotDownloader
Invoke-WebRequest : {"message":"API rate limit exceeded for xxx.xxx.xxx.xxx. (But
here's the good news: Authenticated requests get a higher rate limit. Check
out the documentation for more details.)","documentation_url":"https://develope
r.github.com/v3/#rate-limiting"}
At C:\GitHub\vips\serverside\Oxide\Steam.ps1:46 char:14
+ ...    $json = (Invoke-WebRequest "https://api.github.com/repos/SteamRE/D ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

That's a lot of testing @generationtech. :P
I'll probably add a hidden .githublogin file for handling logins for this if available.

Took one for the testing team, I guess.

Normally I don't think you'd hit 60 builds in an hour @generationtech though, but wouldn't hurt.

I have reinstalled MVS 2017 and same, fucking microsoft...... Good Luck @generationtech

@Owned67, from what I've been seeing, your install is possibly missing an SDK. When installing Visual Studio 2017, did you see anything regarding .NET Core or other SDKs?

Clean install of MSVC 2017 Community Edition 15.4.1 on a different existing virtual machine (Server 2012 R2 Standard Edition) with very little applications already installed, mostly used to support a Rust staging server.
Result:
Still get errors on loading -
Problem signature:   Problem Event Name:    Dev11NonFatalError   AppName:    devenv.exe
and
dimensionValueMap must contain one value
I can build he OxideMod parts from the batch build manner, but when I check Rust, I get this
Severity	Code	Description	Project	File	Line	Suppression State Error	CS0246	The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)	Rust	C:\Oxide\Games\Oxide.Rust\Libraries\Command.cs	8	Active

@generationtech, did you look at the SDK information I linked and try it?
The last error is from the Steam script not running and downloading all of the dependency DLLs for the game needed to compile the extension.

I glanced at the SDK info but thought that was for @Owned67 problem of incomplete install and not for me
Regarding Steam, I thought so too, but I have PS5 on that vm and in the \games\dependencies\oxide.rust\rustdedicated_data\managed there are files, so I would guess they were downloaded OK.

Is the UnityEngine.dll in there to @generationtech?

Yes
https://imgur.com/8OJxuxr

@lukespragg i need select all or? have you more details for me please?
http://zupimages.net/up/17/42/733j.gif
or I'l install dotnet-sdk?

I'd suggest doing all of the .NET SDK packs, especially those that we use: 3.5, 4.0, 4.5, and 4.6.1 right now.

Non pris en charge
Cette version de Visual Studio ne parvient pas à ouvrir les projets suivants. Les types de projets ne sont peut-être pas installés ou cette version de Visual Studio ne les prend peut-être pas en charge.
Pour plus d'informations sur l'activation de ces types de projets ou sur la migration de vos actifs, consultez les détails dans le "Rapport de migration" qui s'affiche lorsque vous cliquez sur OK.
- Tests, "B:\Oxide\Oxide.Tests\Tests.csproj"
Aucune modification requise
Ces projets peuvent être ouverts dans Visual Studio 2015, Visual Studio 2013, Visual Studio 2012 et Visual Studio 2010 SP1 sans les modifier.
- Core, "B:\Oxide\Oxide.Core\Core.csproj"
- References, "B:\Oxide\Oxide.References\References.csproj"
- CSharp, "B:\Oxide\Extensions\Oxide.CSharp\CSharp.csproj"
- JavaScript, "B:\Oxide\Extensions\Oxide.JavaScript\JavaScript.csproj"
- Lua, "B:\Oxide\Extensions\Oxide.Lua\Lua.csproj"
- MySql, "B:\Oxide\Extensions\Oxide.MySql\MySql.csproj"
- Python, "B:\Oxide\Extensions\Oxide.Python\Python.csproj"
- SQLite, "B:\Oxide\Extensions\Oxide.SQLite\SQLite.csproj"
- Unity, "B:\Oxide\Extensions\Oxide.Unity\Unity.csproj"
- Blackwake, "B:\Oxide\Games\Oxide.Blackwake\Blackwake.csproj"
- Blockstorm, "B:\Oxide\Games\Unity\Oxide.Game.Blockstorm\Blockstorm.csproj"
- FromTheDepths, "B:\Oxide\Games\Unity\Oxide.Game.FromTheDepths\FromTheDepths.csproj"
- FortressCraft, "B:\Oxide\Games\Unity\Oxide.Game.FortressCraft\FortressCraft.csproj"
- GangBeasts, "B:\Oxide\Games\Unity\Oxide.Game.GangBeasts\GangBeasts.csproj"
- Hurtworld, "B:\Oxide\Games\Oxide.Hurtworld\Hurtworld.csproj"
- InterstellarRift, "B:\Oxide\Games\Other\Oxide.Game.InterstellarRift\InterstellarRift.csproj"
- MedievalEngineers, "B:\Oxide\Games\Oxide.MedievalEngineers\MedievalEngineers.csproj"
- Nomad, "B:\Oxide\Games\Other\Oxide.Game.Nomad\Nomad.csproj"
- PlanetExplorers, "B:\Oxide\Games\Unity\Oxide.Game.PlanetExplorers\PlanetExplorers.csproj"
- ReignOfKings, "B:\Oxide\Games\Oxide.ReignOfKings\ReignOfKings.csproj"
- Rust, "B:\Oxide\Games\Oxide.Rust\Rust.csproj"
- RustLegacy, "B:\Oxide\Games\Unity\Oxide.Game.RustLegacy\RustLegacy.csproj"
- SavageLands, "B:\Oxide\Games\Oxide.SavageLands\SavageLands.csproj"
- SevenDays, "B:\Oxide\Games\Unity\Oxide.Game.SevenDays\SevenDays.csproj"
- SpaceEngineers, "B:\Oxide\Games\Oxide.SpaceEngineers\SpaceEngineers.csproj"
- Terraria, "B:\Oxide\Games\Other\Oxide.Game.Terraria\Terraria.csproj"
- TheForest, "B:\Oxide\Games\Oxide.TheForest\TheForest.csproj"
- Unturned, "B:\Oxide\Games\Unity\Oxide.Game.Unturned\Unturned.csproj"
- Extensions, "Extensions"
- Games, "Games"
- Other, "Other"
- Unity, "Unity"
- VRage, "VRage"
- Oxide, "B:\Oxide\Oxide.sln"
I have installed all Net SDK but i get: SDK microsoft.NET.sdk was not found in Core.csproj

We may have found out the cause, should have some fixes soon. VS 2017 doesn't like parts of the remaining older project files, but I'll be replacing those soon anyway.
@Mughisi found that if you replace:

With:

It seems to solve most of the issues. This is only for the projects that haven't been converted yet, though unsure why everyone is having that issue other than me and the build server.

Thanks, but i don't have more time for test... sorry, good luck.

Yeah, my attempt at a Community Edition was total fail. At least my primary dev env on Enterprise Edition works. I don't think I can be much more help @lukespragg right now. When you get those fixes in place soon I'll try again. I am able to build the sources acceptably for now, so I'm ok*

All of the projects are now using the new format, so please let me know if you still have the issues when opening or building.

https://pastebin.com/raw/hT1g94PQ

Also - one of the ppl i'm contacting with has the same problem. Also latest version.
Any attempt to just build the project - VS just skips every project. Batch build works just fine - it compiles everything with no errors.

Back again. I download the current development branch and had these errors when compiling it:

The "Dev11NonFatalError" is still there when opening
The "dimensionValueMap must contain one value" is still there when opening
I started a Release build normally by right-clicking on the top of Solution Explorer:

About 3/4 of the way through I guess "Oxide Patcher" crashed because I got a multiple Windows error dialogue box about it

Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	OxidePatcher.exe
  Problem Signature 02:	1.0.235.0
  Problem Signature 03:	59e78b17
  Problem Signature 04:	OxidePatcher
  Problem Signature 05:	1.0.235.0
  Problem Signature 06:	59e78b17
  Problem Signature 07:	1ae
  Problem Signature 08:	21
  Problem Signature 09:	System.IO.FileNotFoundException
  OS Version:	6.3.9600.2.0.0.272.7
  Locale ID:	1033
  Additional Information 1:	5861
  Additional Information 2:	5861822e1919d7c014bbb064c64908b2
  Additional Information 3:	5f25
  Additional Information 4:	5f2531ae070278f893fa99352dadd49e

At the end of the failed compile there were 2 errors

CS0117	'VoiceCom' does not contain a definition for 'playerList'	RustLegacy	C:\GitHub\vips\serverside\Oxide\Games\Oxide.RustLegacy\RustLegacyCore.cs	267	Active

and
CS0122	'MyEntityStat.m_maxValue' is inaccessible due to its protection level	SpaceEngineers	C:\GitHub\vips\serverside\Oxide\Games\Oxide.SpaceEngineers\Libraries\Covalence\SpaceEngineersPlayer.cs	165	Active

I re-ran the build (after cleaning it) and got even more errors. Rebooted the vm too. Stuff like this:
CS1061	'PlayerSession' does not contain a definition for 'IPlayer' and no extension method 'IPlayer' accepting a first argument of type 'PlayerSession' could be found (are you missing a using directive or an assembly reference?)	Hurtworld	C:\GitHub\vips\serverside\Oxide\Games\Oxide.Hurtworld\HurtworldHooks.cs	103	Active

If I do a Batch Build and just select all the OxideMod non-game projects, it builds successfully.
When I go back and add Rust to the Batch Build, it succeeds.
If I try a 3rd time to Batch Build by select-all and get all kinds of errors....

Update: I went right back through the build steps that worked, and they failed the 2nd time. Sheesh

I tried the same thing about an hour later and it worked. I dunno what's going on. I didn't test more than about 5 times originally today, so I can't see how it throttled something being download. Overall it seems to me the newer style of building OxideMod still has issues and is a lot more complicated than before.
Also, when I compile, OxideMod reports in as version 2.0.0 from the Rust server console.
If I can help further with testing or information, please let me know. I'm happy to do it.

The compile errors are from each game's DLLs not being patched when you build it, likely from the errors you got with the patcher.
The 2.0.0 version is the local version as no build number is injected.

Regarding the version number, didn't the previous style of building OxideMod (MSVC2015) result in current versions numbers being compiled in? Or was that just the master branch. Because I know I've been compiling source for over a year with version numbers showing

No, it's always only build from our build server. Compiling locally has no build number.

Oook.... I've downloaded the latest version and... no errors on startup!
Gonna see how it would builds.
Rust still failes to builds - it's looking for a release version of core, but the core is being compilated as the debug....

Batch build works just fine

Any of you still having this issue with the split repos?

nope. everything is fine on my side. =)

repo: OxideMod/Oxide


text:
SASS/SCSS and Autocompletions

I've been trying forever to get autocompletions to work for SCSS but it never works. Do you know how I can do that? or is that package purely for highlighting?
For example if I start typing just for justify-content:, nothing ever show's up. It only knows basic CSS2 stuff.

+1

Any updates on this?

+1

+1 It would be nice

+1

Please check #96, it enables the same completions as in a regular CSS file.

authors: Dreeckan braver ellipticaldoor jackrightnow pratikborsadiya tr1s


text:
安装warp前docker pull正常，安装后pull error

root@debian:~# docker pull debian Using default tag: latest Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
root@debian:~# docker pull debian:9 Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 8.8.8.8:53: read udp 172.16.0.2:58997->8.8.8.8:53: i/o timeout

DNS 的问题，重启或者换 DNS 可解。


text:
Add unit tests for NDArray.randNormal().

Here is another upgrade to the NDArray unit test suite. I introduced some basic 95%-probability checking for normality using the Jarque-Bera normality test. There are some magic numbers, but they should be documented and essentially point to critical values of chi-squared: https://www.uam.es/personal_pdi/ciencias/anabz/Prest/Trabajos/Critical_Values_of_the_Chi-Squared_Distribution.pdf

This change is

 Nice work on the statistical tests

Reviewed 1 of 2 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

src/math/ndarray_test.ts, line 268 at r3 (raw file):

    gpgpu.uploadMatrixToTexture(texture, 1, 3, new Float32Array([10, 7, 3]));

    const f = () => { return Array1D.make([3], {texture}); };

since these lines were touched in this PR, the tslint started to fail (see log here)
these tests were written when the linter was less strict. it basically it wants a shorter syntax:
const f = () => Array1D.make([3], {texture});

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending.

src/math/ndarray_test.ts, line 268 at r3 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
since these lines were touched in this PR, the tslint started to fail (see log here)
these tests were written when the linter was less strict. it basically it wants a shorter syntax:
const f = () => Array1D.make([3], {texture});

Cool - I re-formatted the file so lint now passes.

Comments from Reviewable

Seems like a false report on the Google bot?
On Tue, Nov 14, 2017, 5:40 PM googlebot notifications@github.com wrote:

So there's good news and bad news.
👍 The good news is that everyone that needs to sign a CLA (the pull
request submitter and all commit authors) have done so. Everything is all
good there.
😕 The bad news is that it appears that one or more commits were authored
by someone other than the pull request submitter. We need to confirm that
all authors are ok with their commits being contributed to this project.
Please have them confirm that here in the pull request.
Note to project maintainer: This is a terminal state, meaning the
cla/google commit status will not change from this State. It's up to you to
confirm consent of the commit author(s) and merge this pull request when
appropriate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PAIR-code/deeplearnjs/pull/347#issuecomment-344458472,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASsZHV6RwINcjM4l5Stc5gwVBB72ispks5s2kETgaJpZM4QcbvG
.

Yeah, ignore those messages. It's because when your branch gets out-of-date with the master branch, I get a button on github to sync it up to date without conflicts. I use this button since it's much faster and I don't have to go back and forth with the PR author to sync his/her branch. Clicking that button results in github sending a merge commit from my username, at which point the PR has commits from multiple users, at which point the google bots sends a false alarm :)

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks broke.

Comments from Reviewable

authors: dsmilkov nkreeger

repo: PAIR-code/deeplearnjs


text:
Develop and deploy Foo Service

Example new service using GitHub Projects to track and manage:
Foo Service Project: https://github.com/orgs/PATRIC3/projects/1

Just a test issue for projects


text:
Would be awesome to easily scale the FlipDown

Awesome work here. This is the best looking and most performant JS Flip-style clock I've found. I'm integrating it into a site and I found that to handle small mobile devices I would need a custom @media breakpoint with a bunch of custom CSS to scale things down.
It'd be a great feature to have a way to scale it dynamically using maybe a percentage value as an option passed into the constructor: new FlipDown()
Here's what I ended up doing:
@media (max-width: 576px) {
  .flipdown .rotor {
    font-size: 2.5rem;
  }

  .flipdown .rotor,
  .flipdown .rotor-leaf,
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    width: 30px;
  }

  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    left: 76px;
  }

  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    bottom: 19px;
    height: 8px;
    width: 8px;
  }

  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    bottom: 35px;
    height: 8px;
    width: 8px;
  }

  .flipdown .rotor-leaf-front,
  .flipdown .rotor-top {
    line-height: 60px;
  }

  .flipdown .rotor-leaf,
  .flipdown .rotor {
    height: 60px;
  }

  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    height: 30px;
  }
}

I initially built FlipDown for a project I was working on and once it was fit for that purpose, I just left it and have been meaning to add such features ever since, I just haven't got around to it yet. There's been more and more interest in FlipDown recently so I'll try and address some of the ideas I've been given, including this suggestion.
The decision I need to make is: Should the scaling and other visual properties be controlled by passing arguments to the constructor (ie. injecting styles) or from a separate stylesheet? I can see the pros and cons of both routes but ultimately I want FlipDown to remain as flexible as possible, without being too opinionated about how people use it.
I'll give it some thought, but thanks for your interest in the project and thanks for giving me some motivation to play around with it again!

Added responsiveness in 5052f0f2efaf13d4b435279ddd7c3f7d75973cf7
I hope you don't mind, I used your example as inspiration and added you to the acknowledgements.
Thanks for your help!

authors: PButcher chuckbergeron

repo: PButcher/flipdown


text:
Reestructure the repository to follow Lib pattern

Description
Based on the spike about the poetry was decided to restructure the repository to receive the poetry in the best way as possible. In this task should be a refactor in the project structure.
Checklist

[x] Migrate all test to specific test folder
[x] Migrate yaml folder to data folder

The conversation appeared in :Issue #20, commentary Questions about Project Organization

The tests migrations way already did in others issues implementations

authors: Bruno-Felix LeoSilvaGomes

repo: PDA-FGA/Playground


text:
Page Layout added

Fixes:

Footer that came behind timeline is fixed.
PageLayout added in all pages.

Lgtm nycccc

repo: PEC-CSS/PWoC


text:
[SEVERE] [PermissionsEx] Error occurred with PermissionsEx! Glowstone++ v1.8.9

Full error:
java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(I)Lcom/google/common/cache/CacheBuilder;
        at ru.tehkode.permissions.RegExpMatcher.<init>(RegExpMatcher.java:17)
        at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:58)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:164)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:435)
        at net.glowstone.GlowServer.enablePlugins(GlowServer.java:810)
        at net.glowstone.GlowServer.start(GlowServer.java:513)
        at net.glowstone.GlowServer.run(GlowServer.java:135)
        at net.glowstone.GlowServer.main(GlowServer.java:110)

You need to run the latest PEX 1.23.x version.

repo: PEXPlugins/PermissionsEx


text:
Crash

Hello,
for(PermissionUser pu : PermissionsEx.getPermissionManager().getUsers()){
pu.setPrefix(null, null);
}
Crashes server. jesus what happened to pex? It used to be fast and high quality.
[PermissionsEx] version [1.23.4]
Spigot 1.8.9 with protocolhack.
[16:18:04 INFO]: WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
[16:18:34 WARN]: [PermissionsEx] All backend tasks not completed after 30 seconds, waiting 2 minutes.

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


text:
Bug - Crash on server start after copying world from SP to MP. NoSuchMethodError WorldSettings

Crash Report: https://gist.github.com/5ac308c17a4e3d21cb7eb14a60a0587a
Tree of mods directory: https://gist.github.com/516dabf3230d5923389cff79399991c6
Using Forge version 14.23.2.2611 and OTG version v4.
I am attempting to use a world I created in SP then moved over to a server.
Please let me know if you need anymore information.

Apparently this function is not exposed in Minecraft 1.12.2
A friend ran a search on MCP
20:07:51 <Pyker> !gm net.minecraft.world.WorldSettings.func_77166_b 1.12.2
20:07:52 -- MCPBot_Reborn: No results found.
20:07:57 <Pyker> !gm func_77166_b 1.12.2
20:07:58 -- MCPBot_Reborn: No results found.
20:08:09 <Pyker> !gm func_77166_b 1.10.2
20:08:09 -- MCPBot_Reborn: === MC 1.10.2: net/minecraft/world/WorldSettings.enableCommands (aig.b) UNLOCKED ===
20:08:10 -- MCPBot_Reborn: Name       : b => func_77166_b => enableCommands
20:08:11 -- MCPBot_Reborn: Descriptor : ()Laig; => ()Lnet/minecraft/world/WorldSettings;
20:08:11 -- MCPBot_Reborn: Comment    : Enables Commands (cheats).
20:08:12 -- MCPBot_Reborn: Last Change: 2012-08-01 00:33:36-04:00 (mabrowning)

To note, for whatever it's worth, I don't run into this issue when running it in Single Player, despite the function being called on both the Client and Server.

Hey, sorry for the late response, could you try v5? https://minecraft.curseforge.com/projects/open-terrain-generator/files/2530367

You can try to disable allowCommands (set to 0) by editing the level.dat in your world with an NBT editor. That worked for me.

Hey, thanks for reporting. Should be fixed with v7, you can grab a dev build from the OTG Discord at /openterraingen. Cheers.

authors: PG85 hexchain khionu


text:
Fix Code PG and I commented out to get things to run.

OTG Plugin or Mod
[Please specify if it's about Forge Mod or Spigot server Plugin placing "x" into []]

[x] OTG Mod for Forge
[x] OTG Plugin for Spigot

OTG Version
[Please specify the full OTG version that you are running by placing "x" into []]

[ ] 1.16.5
[ ] 1.17.1
[x] 1.18.1
[ ] 1.12.2_v8_r1
[ ] 1.12.2_v7_DEV_r26
[ ] 1.12.2-v6
[ ] 1.12.2-v5
[ ] 1.11.2-v8
[ ] 1.11.2-v9
[ ] 1.10.2-v21
[ ] Other - specify here

Forge or Spigot Versions
Paper 1.18.1, Forge 1.18.1
Description
There is code that has been commented out by PG and I and needs to be fixed for 1.18 to be feature-complete.
References:
See commits 9b84db29e85ad8dab9f9da436ebe77087169db96 and 3ed81fd9dc5a2d083663c76b043e98a0352257d0 on Paper
The changes are mostly mirrored on Forge.

Done


text:
Add lists of PHI-Canto pathogen and host strains

Required for moving forward with PHI-Canto roll out and manuscript preparation.

@jseager7 are the strain lists generated from the latest PHI-base 4.12 release?

The PHI-Canto strain lists were last updated in April 2021, so I'm guessing not. I think the strain lists diverged from PHI-base a lot more than the species lists because there were lots of strains that weren't suitable for curation.
It would make sense to repurpose my PHI-base strain cleaning pipeline so that it can generate a PHI-Canto strain list from subsequent PHI-base releases, but that depends on how many more PHI-base v4.x releases are going to be made.
Any option could take some time because I'd have to manually compare the values between PHI-Canto and PHI-base v4.12. I can use scripts to speed up some comparisons but I'd still have to write rules for the strains that should be excluded or renamed, where synonyms should be added, etc.

Hmmm there will definitely be a PHI-base 4.13 release in ~May 2022 and possibly a 4.14 release in ~Nov 2022 dependant on the status of the PHI4 -> PHI5 data migration. MC curated data from 4.14 may be able to be loaded directly into PHI5.
For the PHI-Canto manuscript it would be nice to have all the lists up-to-date for the PHI-base 4.12 release.

Okay, I'll make sure that the new strains are merged before the manuscript is submitted.

I'll also make sure they're available in PHI-Canto by the time they're uploaded here.

The strain lists have been added by commit 36100324cea71c2cbae28bd4c7a679166ae21c26.

repo: PHI-base/data


text:
Token length exceeds during running simulation

Hi,
This is Haowei and thanks for the open source code. When I am trying to run the repo, I encountered the following errors:
Exception has occurred: InvalidRequestError
This model's maximum context length is 4097 tokens. However, you requested 4270 tokens (3246 in the messages, 1024 in the completion). Please reduce the length of the messages or completion.

I am currently using OS Windows 11, Python 3.9.13 Anaconda, and Openai API (rather than the Azure API). I was wondering if you could help solve this issue. Please let me know if other information is required.
Thanks.

Hi Haowei:
Thanks for your interest of our project!
It appears that the issue you are facing is due to the high number of tools and ideas that need to be invoked in the decision-making process, causing the token limit of the OpenAI model to be exceeded before a decision can be made. Based on your error message, we guess you're using a gpt-3.5-turbo model with only 4k token contexts. However, we recommend using GPT models with at least 8k contexts.
For the OpenAI API, we suggest using either the gpt-3.5-turbo-16k-0613 or gpt-3.5-turbo-16k model, or any GPT4 model. You can refer to the following link for more details: https://platform.openai.com/docs/models/overview
Specifically, you can modify line 36 on HELLM.py with the following code:
llm = ChatOpenAI(
    temperature=0.,
    model_name='gpt-3.5-turbo-16k-0613', # or any other model with 8k+ context
    max_tokens=1024
)

Thanks a lot! That solves my question.

authors: miracelplus zijinoier

repo: PJLab-ADG/DriveLikeAHuman


text:
FormatException in ScriptClient.RunScript

Issue description
I'm using the script on an Exchange server with the syntax shown in the wiki:
PS C:\Users\administrator.BILONG\Desktop\win-acme.v2.0.0-beta1-hotfix1> .\wacs.exe --target manual --host mail.bilong.info,autodiscover.bilong.info --certificatestore My --installation iis,script --installationsiteid 1 --script ".\Scripts\PSScript.bat" --scriptparameters ".\Scripts\ImportExchange.ps1 {5} IIS,SMTP,IMAP 1 {7} `"{6}`" {1} `"{4}`"" --verbose
The escaping is slightly different here since I ran it from powershell in this case. However, I tested running from CMD and escaping quotes with \", and got the same result.
 [INFO] Installation step 1/2: IIS...
 [INFO] Updating existing https binding mail.bilong.info:443
 [INFO] Updating existing https binding autodiscover.bilong.info:443
 [INFO] Committing 2 https binding changes to IIS
 [INFO] Installation step 2/2: Script...
 [EROR] Unable to install certificate
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.Format(String format, Object[] args)
   at PKISharp.WACS.Clients.ScriptClient.RunScript(String script, String parameterTemplate, String[] parameters)
   at PKISharp.WACS.Plugins.InstallationPlugins.Script.PKISharp.WACS.Plugins.Interfaces.IInstallationPlugin.Install(CertificateInfo newCertificate, CertificateInfo oldCertificate)
   at PKISharp.WACS.Wacs.OnRenewSuccess(ILifetimeScope renewalScope, Renewal renewal, Target target, OrderDetails order, RunLevel runLevel)
 [EROR] Create certificate failed: Install failed: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

Everything works aside from this last step. The certificates are obtained and are installed in IIS. The only part that fails is launching the script that runs the Exchange cmdlet.
Steps to reproduce
Install Exchange 2016 on Windows 2016, leaving everything at defaults.
Client version:  2.0.0-beta1-hotfix1
Windows version: Windows 2016
Relevant part of log file: See above
Working around it is easy enough. After you get the error:

Launch Exchange Management Shell.
Run Get-ExchangeCertificate and you should see the new cert here.
Run Enable-ExchangeCertificate <thumbprint> -Services IMAP,POP,IIS,SMTP

Everything seems to be working at that point.

This is a documentation issue. That page has been updated in anticipation of the next/final 2.0 build, which provides the extra parameter {7}. If you're not using the central certificate store (and it doesn't seem that you are), that parameter is not required. You might replace it with a dummy value (e.g. "a") as a workaround.

Thanks! I confirmed that replacing {7} with 'a' does get me past that error.

Fixed in beta2

authors: WouterTinus bill-long

repo: PKISharp/win-acme


text:
Auth error

Issue description
`PS C:\Program Files (x86)\LetsEncrypt> ./letsencrypt --test --verbose
[DBUG] Test parameter set: https://acme-staging.api.letsencrypt.org/
[DBUG] Config folder: C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org
[VERB] Settings SettingsService {ConfigPath="C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org", ClientNames=["win-acme", "letsencrypt-win-simple"], RenewalDays=55, Ho
50, ScheduledTaskRandomDelay=00:00:00, ScheduledTaskStartBoundary=09:00:00, ScheduledTaskExecutionTimeLimit=02:00:00}
[VERB] .NET Framework >=4.7 detected
[DBUG] Renewal period: 55 days
[VERB] Store renewals in file C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org\Renewals
N: Create new certificate
Please choose from the menu: n
[INFO] Running in Simple mode
1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel
Which kind of certificate would you like to create?: 1
[DBUG] Scanning IIS site bindings for hosts
1: managedstorage.douganconsulting.com (SiteId 1) [@C:\Program Files (x86)\Gladinet Cloud Enterprise\root]
C: Cancel
Choose site: 1
[INFO] Plugin IISBinding generated target [IISBinding] managedstorage.douganconsulting.com (SiteId 1) [ @ C:\Program Files (x86)\Gladinet Cloud Enterprise\root]
[DBUG] Scanning IIS site bindings for hosts
[DBUG] Getting AcmeServerDirectory
[DBUG] Send GET request to https://acme-staging.api.letsencrypt.org/directory
Enter an email address (not public, used for renewal fail notices): info@douganconsulting.com
[DBUG] Registration email: info@douganconsulting.com
[DBUG] Calling register
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-reg
Do you agree to https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf? (y/n): - yes
[DBUG] Updating registration
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/reg/6680377
[DBUG] Saving registration
[DBUG] Saving signer
[INFO] Authorize identifier: managedstorage.douganconsulting.com
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing managedstorage.douganconsulting.com using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://managedstorage.douganconsulting.com/.well-known/acme-challenge/jWgBgZROnXuV4BhlfHlBpx4LQ27zYAVSP3qqIgKserw
[--test] Try in default browser? (y/n): - yes
Press enter to continue...  [VERB] SelfHosting plugin serving file /.well-known/acme-challenge/jWgBgZROnXuV4BhlfHlBpx4LQ27zYAVSP3qqIgKserw
[DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/bJSFTtnGMrVB_jJpsylxBJyEIxkiwfN2Fu5nvlWHVWg/161038656
[DBUG] Refreshing authorization
[DBUG] Send GET request to https://acme-staging.api.letsencrypt.org/acme/authz/bJSFTtnGMrVB_jJpsylxBJyEIxkiwfN2Fu5nvlWHVWg
[EROR] Authorization result: invalid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[EROR] ACME server reported:
[EROR] [type] urn:acme:error:unauthorized
[EROR] [detail] Invalid response from http://managedstorage.douganconsulting.com/.well-known/acme-challenge/jWgBgZROnXuV4BhlfHlBpx4LQ27zYAVSP3qqIgKserw: "
<!doctype html>

<!--[if IE 7]>      <html class="no-"
 [EROR] [status] 403
 [EROR] Create certificate failed
`
### Steps to reproduce

IIS is bound to the domain name; I reviewed auth settings, per the Wiki - IIS can write to the folder; no IP v6 DNS settings. I also adjusted the httpHandlers settings, per the Wiki, but am seeing the same error.

**Client version**: 1.9.11.2
**Windows version**: Server 2016 Standard

Thanks for any help you can provide.

It looks like the Let's Encrypt service is unable to access the domain on port 80, while it's working locally. Is it possible that outside traffic is going through some kind of proxy?

My Web site is on another host on my network, and is using port 80 - so external traffic coming through the firewall is directed there.
What is the best way of resolving this? I imagine many people have multiple sites running different functions.
Thanks,
Des

Most users would run the tool on the same machine that hosts the website.
If you want to run from another machine, you can look into DNS-based validation, or use FileSystem validation and have the program write the validation file to a network path.

I think you misunderstood me, so apologies for being unclear. I was running the script on the server I wanted it for (a Windows box), for a different subdomain of my domain (managedstorage.douganconsulting.com); my www.douganconsulting.com site is on a different host on my LAN, and port 80 points to that host, while 443 is forwarded to the server I am running the script on.

The thing is that Let's Encrypt only works on port 80, so you will have to serve the validation response from the server that responds to port 80.
There is more than one way to get the validation file from one server to the other (ftp, networkshare, etc.) or you can go the other way and generate the certificate on the server that listens to 80 and then move the .pfx to the other one.

Thanks for this - much appreciated.
Des
--
Des Dougan
Principal
Dougan Consulting Group Inc.
O: 604-628-5434
C: 604-866-2848
E: des@douganconsulting.com
W: http://DouganConsulting.com
Peace of Mind, One Computer at a Time.
Remote Support URL:
http://sc.douganconsulting.com:8040
On 13 Nov 2018, at 10:32, Wouter Tinus wrote:

The thing is that Let's Encrypt only works on port 80, so you will
have to serve the validation response from the server that responds to
port 80.
There is more than one way to get the validation file from one server
to the other (ftp, networkshare, etc.) or you can go the other way and
generate the certificate on the server that listens to 80 and then
move the .pfx to the other one.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_PKISharp_win-2Dacme_issues_918-23issuecomment-2D438385314&d=DwICaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=vYZk9Bq5wR7P77crNsXm_AyXc7zhxg104ZsXEt2NX98&m=9Y8-NSrpSUamglHtCiMoH6BlU450WzOGSmtfSg7PT6E&s=Cefz8cu-kDdK1u5p0TzQffQbggV2NBFTJ6zgf6YrZqM&e=

You're welcome!

authors: WouterTinus desdougan


text:
🛑 MUSA is down

In c356f23, MUSA (https://storemusa.com/) was down:

HTTP code: 403
Response time: 445 ms

Resolved: MUSA is back up in 151224c after 12 minutes.

repo: POCLANOS/status


text:
closes #2 response body should also allow numbers; fixed response content type

closes #2

@fratschi Can you please explain those build errors? I don't get them locally and I don't get what they mean.

@fratschi Can you please explain those build errors? I don't get them locally and I don't get what they mean.

irgnore them by now.. travis build is actual not working...

irgnore them by now.. travis build is actual not working...

repo: PRODYNA/go-rest-mock


text:
fix: Ident::starts_with

I'm not sure this was correct prior; at least it didn't pass these tests, and I couldn't work out why it started with !.
This is part of the refactoring in #1535

The ! shouldn't have been there.
The new solution does a lot of unnecessary cloning.

The new solution does a lot of unnecessary cloning.

Yes, this will go away with the process started by https://github.com/PRQL/prql/pull/2305 (feedback on that v welcome)

The ! shouldn't have been there.

Yeah, I couldn't quite work this out — tests fail when removing it — I think maybe the all_equal is assessing whether the tuples from the zip were equal to each other, rather than the items in each tuple...
But the new way does seem to work!

authors: aljazerzen max-sixty

repo: PRQL/prql


text:
Adding the availability of a command in docs

I am going through the dev guide and specifically the section on commands. Since this is generated from source code, the latest commands are generated in the docs. Many of the commands (listener, led_control etc) are not available in the previous FMU versions. It would be helpful the reader to know from which FMU versions the corresponding command is introduced.
Looking forward to hearing your thoughts on this.

IMO helpful but not enough to justify the effort.
We re-release every 6 months or so and encourage people to update to the latest version. If you're on the latest version the fact that something wasn't present in the previous version is irrelevant. Of course not everyone updates, but the effort of "back porting" this information not worth it.
Also, at the point you add the code you don't know what version it is going into (though you have a "fair guess" in many cases.
@bkueng What do you think?

It's a fair ask, but a typical one where I would say: We're happy to accept a contribution for a versioned generator (you could back-track via git hashes which files to build). But the maintenance team has a lot on its plate and is generally focused on looking forward, not backward. In the Linux world companies like Redhat maintain things forever, but the Linux Kernel project doesn't.

authors: LorenzMeier hamishwillee kvmanohar22


text:
SITL Iris: BAT_A_PER_V, 'BAT_V_DIV' missing from parameter list

Sync to latest firmware laster
PX4_SIM_SPEED_FACTOR=2 HEADLESS=1 make px4_sitl_default gazebo_iris
Start QGC, go to Power page
It will report the two param as missing. They are required by QGC power setup to exist.

FactPanelControllerLog: Missing parameter: "1:BAT_A_PER_V"
FactPanelControllerLog: Missing parameter: "1:BAT_V_DIV"

Problems seems to be SITL only. Flash master to a board and the params are there.

Thanks for reporting this Don. Those parameters aren't there because SITL doesn't have analog power input in any form. I can rearrange things to keep it in the build for now.
At a minimum could we maintain a list of parameters QGC expects to exist? Then for optional things we could talk about the appropriate mechanisms to detect.

At a minimum could we maintain a list of parameters QGC expects to exist? Then for optional things we could talk about the appropriate mechanisms to detect.

That's not super easy to do as it currently stands. It just happens randomly. Let me figure out how to re-architect QGC ui so that this becomes obvious. Not going to happen super quick.

I think there is a new stable in RC? If so, this is important for that.

make px4_sitl_nolockstep flightgear_rascal
will shows sensors not calibration and BAT_* parameters missing

@dagar please let me know if this same thing can be applied to what I think is holding up https://github.com/PX4/Firmware/pull/14852
thanks!

Should be fixed by https://github.com/PX4/Firmware/pull/15535.

authors: DonLakeFlyer bys1123 dagar modaltb


text:
Initialization in SITL is slow

The initialization in SITL is painfully slow and consumes a lot of time for developers.
The two delays to wait for are:

ekf2 initialized
home position initialized

Presumably both are due to the rather slow startup of ekf2.
It would be nicer to have this faster, or at least use a hack to speed it up for SITL.

https://github.com/PX4/ecl/pull/134

@julianoes If this PR is able to resolve your issues (in combination with parameter changes) then I will pull in the PR and close this issue.

Fixed in master

authors: julianoes priseborough


text:
Need the unitig sequences.

Hi, I'm sorry to bother, but I acctually need the unitig sequences for my next step. Can you tell me how can I have access to the unitig sequnces?

Hi @Zoexfq,
Falcon doesn't actually construct the individual unitig sequences, nor is there currently an out-of-the box tool to construct them.
I can point you to a deprecated, old, legacy script which hasn't been in active use in years, it might give you a head start if you plan to implement your own unitig constructor for Falcon: https://github.com/PacificBiosciences/FALCON/blob/master/falcon_kit/mains/graph_to_utgs.py
However, this comes with no guarantee, and there are no plans to continue development or maintenance of this script.
Best regards,
Ivan.

authors: Zoexfq isovic

repo: PacificBiosciences/pbbioconda


text:
Chapter 5 Client Side Paging

Hello,
The client side pagination implemented in chapter 5 for the section "Client-side paging" does not seem functional. The programming done in that section imports the pagination tools, but never uses it so the pagination has no information linked to it.
The problem seems get resolved once the server-side pagination is implemented later on in the chapter

I see the same. The paginator is there, it just doesn't do anything.

Hello there,
thank you for pointing out that issue, which was really difficult to fix in advance since it's related to a bunch of source code that gets updated throughout the same chapter later on and therefore never happened to hit the GitHub repository 👍
Here's the cities.component.ts file fixed source code that makes the client-side pagination work:
import { Component, Inject, ViewChild } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { MatTableDataSource } from '@angular/material/table';
import { MatPaginator } from '@angular/material/paginator';

import { City } from './city';

@Component({
  selector: 'app-cities',
  templateUrl: './cities.component.html',
  styleUrls: ['./cities.component.css']
})
export class CitiesComponent {
  public displayedColumns: string[] = ['id', 'name', 'lat', 'lon'];
  public cities: MatTableDataSource<City>;

  @ViewChild(MatPaginator) paginator: MatPaginator;

  constructor(
    private http: HttpClient,
    @Inject('BASE_URL') private baseUrl: string) {
  }

  ngOnInit() {
    this.http.get<City[]>(this.baseUrl + 'api/Cities')
      .subscribe(result => {
        this.cities = new MatTableDataSource<City>(result);
        this.cities.paginator = this.paginator;
      }, error => console.error(error));
  }
}

It goes without saying that you also need to "revert" the changes made to the cities.component.html and CitiesController.cs files in case you updated them to implement the server-side pagination: their source code is the same described in the book up to pages 224-226 hence they don't need a fix, but they get breaking changes later on in Chapter 5.
I've added a /ClientApp/src/app/cities/_clientSidePagination/ folder that contains the relevant angular files and a _README.txt file explaining how to properly implement the client-side pagination within the Chapter 5 source code for demonstration purposes: you should be 100% able to try it now and see how it works. I've also updated the book content (pages 224-226) so that the next edition will have this fixed as well: thank you again for finding the bug!

authors: Darkseal joonjang wildmichael


text:
Failied to clone the project due to This repository is over its data quota

Hi thanks for the great work. When I clone the repo, the following error message appeared:
Seems different from https://github.com/PacktPublishing/The-Modern-Vulkan-Cookbook/issues/6
git clone https://github.com/PacktPublishing/The-Modern-Vulkan-Cookbook.git
Cloning into 'The-Modern-Vulkan-Cookbook'...
remote: Enumerating objects: 1604, done.
remote: Counting objects: 100% (99/99), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 1604 (delta 35), reused 53 (delta 15), pack-reused 1505 (from 1)Receiving objects:  99% (1588/1604), 54.37 MiB | 1.81 MiBReceiving objects: 100% (1604/1604), 55.73 MiB | 2.19 MiB/s, done.
Resolving deltas: 100% (265/265), done.
Updating files: 100% (1290/1290), done.
Downloading source/common/resources/assets/Bistro.glb (259 MB)
Error downloading object: source/common/resources/assets/Bistro.glb (5cc23d5): Smudge error: Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

The log :
$ git-lfs.exe filter-process
Error downloading object: source/common/resources/assets/Bistro.glb (5cc23d5): Smudge error: Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
batch response
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.Wrap
	github.com/git-lfs/git-lfs/v3/errors/errors.go:74
github.com/git-lfs/git-lfs/v3/tq.(*tqClient).Batch
	github.com/git-lfs/git-lfs/v3/tq/api.go:95
github.com/git-lfs/git-lfs/v3/tq.Batch
	github.com/git-lfs/git-lfs/v3/tq/api.go:43
github.com/git-lfs/git-lfs/v3/tq.(*TransferQueue).enqueueAndCollectRetriesFor
	github.com/git-lfs/git-lfs/v3/tq/transfer_queue.go:559
github.com/git-lfs/git-lfs/v3/tq.(*TransferQueue).collectBatches.func1
	github.com/git-lfs/git-lfs/v3/tq/transfer_queue.go:453
runtime.goexit
	runtime/asm_amd64.s:1571
Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb)
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.Wrapf
	github.com/git-lfs/git-lfs/v3/errors/errors.go:85
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).downloadFile
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:120
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:79
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:123
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v0.0.3/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v0.0.3/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:107
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1571
Smudge error
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.NewSmudgeError
	github.com/git-lfs/git-lfs/v3/errors/types.go:315
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:88
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:123
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v0.0.3/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v0.0.3/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:107
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1571

Also I got this error when build:
LNK2019	unresolved external symbol "bool __cdecl glslang::InitThread(void)" (?InitThread@glslang@@YA_NXZ) referenced in function ShConstructCompiler	Chapter01_Triangle	The-Modern-Vulkan-Cookbook\build\source\chapter1\MachineIndependentd.lib(ShaderLang.obj)
LNK2019	unresolved external symbol "bool __cdecl glslang::InitProcess(void)" (?InitProcess@glslang@@YA_NXZ) referenced in function ShInitialize	Chapter01_Triangle	The-Modern-Vulkan-Cookbook\build\source\chapter1\MachineIndependentd.lib(ShaderLang.obj)

I'm using vs2022 and vulkan sdk 1.3.239.0

For cloning below should help

1.) set GIT_LFS_SKIP_SMUDGE=1 on terminal
2.) git clone https://github.com/PacktPublishing/The-Modern-Vulkan-Cookbook.git
3.) Download Bistro.glb from https://1drv.ms/u/s!AsOHFR8SHZcxhONARRHaUFqKd8BXOA?e=KsdErS and copy it in source/common/resources/assets, replace existing Bistro.glb with the new one you downloaded.

Can you use the latest version of the SDK, we tested with Vulkan SDK 1.3.268.0 which is preferred, 1.3.239.0 may be too old.

Thanks!

we tested with Vulkan SDK 1.3.268.0 which is preferred, 1.3.239.0 may be too old.

It is indeed modern vulkan, I really appreciate it !

authors: jsjtxietian preetishkakkar


text:
UnifiedTransformer框架现在可以兼容ernie模型吗？

UnifiedTransformer框架现在可以兼容ernie模型吗？
或者UnifiedTransformer模型有直接从ernie模型转化的参数吗（包含LMHead参数）？

参数结构有一点点不一样。你可以使用ERNIE-Gen这个结构来适配ernie模型。
请问您具体是哪些什么应用场景呢？

repo: PaddlePaddle/PaddleNLP


text:
RoFormer 不支持输入长度超过512

欢迎您反馈PaddleNLP使用问题，非常感谢您对PaddleNLP的贡献！
在留下您的问题时，辛苦您同步提供如下信息：

版本、环境信息
1）PaddleNLP和PaddlePaddle版本：paddle.version == '2.3.0' ;  paddlenlp.version == '2.3.4'
2）系统环境：linux python3.8
复现代码如下：

import paddle
from paddlenlp.transformers import RoFormerModel, RoFormerTokenizer
tokenizer = RoFormerTokenizer.from_pretrained('roformer-chinese-base')
model = RoFormerModel.from_pretrained('roformer-chinese-base')
inputs = tokenizer("欢迎使用百度飞桨!"*100)
inputs = {k:paddle.to_tensor([v]) for (k, v) in inputs.items()}
output = model(**inputs)

Done

small版本的好像还是不支持
import paddle
from paddlenlp.transformers import RoFormerModel, RoFormerTokenizer
tokenizer = RoFormerTokenizer.from_pretrained('roformer-chinese-small')
model = RoFormerModel.from_pretrained('roformer-chinese-small')
inputs = tokenizer("欢迎使用百度飞桨!"*100)
inputs = {k:paddle.to_tensor([v]) for (k, v) in inputs.items()}
output = model(**inputs)

ValueError: (InvalidArgument) Broadcast dimension mismatch. Operands could not be broadcast together with the shape of X = [1, 6, 602, 32] and the shape of Y = [512, 32]. Received [602] in X is not equal to [512] in Y at i:2.
  [Hint: Expected x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1 == true, but received x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1:0 != true:1.] (at /paddle/paddle/phi/kernels/funcs/common_shape.h:84)
  [operator < elementwise_mul > error]

authors: WallE-Chang goodnovice yingyibiao


text:
ModelingRST Modify

PR types

PR changes

Description

这些PR合入和Review是否可以更快一点？@yingyibiao

惠文这个pr改完了吗，改完的话可以修改状态为Ready for review。

这些PR合入和Review是否可以更快一点？@yingyibiao

我尽量加快。

模型数量更新一下

最近合入了新的模型，也同步更新一下

done

authors: ZeyuChen huhuiwen99 yingyibiao


text:
Fix for missing dependency in word2vec BF16 benchmark

Fix for missing dependency in word2vec BF16 benchmark

@lidanqing-intel

@wzzju Could you please help merge this PR? Thanks !

authors: arlesniak lidanqing-intel

repo: PaddlePaddle/PaddleRec


text:
训练Faster RCNN实例cuDNN库报错,MobileNetV3-ssld模型正常

报错信息如下'
Could not load library libcudnn_cnn_train.so.8. Error: /home/xxx/anaconda3/envs/py38-paddle2.1/bin/../lib/libcudnn_ops_train.so.8: symbol _Z22cudnnGenericOpTensorNdILi3EE13cudnnStatus_tP12cudnnContext16cudnnGenericOp_t21cudnnNanPropagation_tPKdPKvPK17cudnnTensorStructS8_S8_SB_S8_S8_SB_Pv version libcudnn_ops_infer.so.8 not defined in file libcudnn_ops_infer.so.8 with link time reference
Please make sure libcudnn_cnn_train.so.8 is in your library path!
Please make sure libcudnn_cnn_train.so.8 is in your library path!

Please make sure libcudnn_cnn_train.so.8 is in your library path!

尝试下把cudnn添加到LD_LIBRARY_PATH

authors: FlyingQianMM HairongWu

repo: PaddlePaddle/PaddleX


text:
Variable shape

Try to add numpy as the input of predict interface of client.

general_text_response_op是不是也需要修改

general_text_response_op是不是也需要修改

general_text_response_op的功能已经和general_response_op重合了，后面会删掉。此前使用general_text_response_op的case为golang的client，目前已经都统一到general_response_op了。

repo: PaddlePaddle/Serving


text:
update ci manual

更新CI流程图，删除科学计算CI任务

infrt流水线也要删除

done

repo: PaddlePaddle/docs


text:
don't enforce supported versions in setup.py?

inspired by #27, #30, #31
It could be better NOT to specify the python and Django versions, just as a super low bar - i.e.: python 2.7 and Django 1.11, and simply list in the README (tox) which versions are supported

Each Django ensures it can only be installed with the right python version AFAIK,  so the django version-python version match is taken care of
we could end up with users installing the app on unsupported Django versions (e.g.: 2.0), but then if they come to report a bug, we can just remind them it is not supported
we don't have to test against unsupported versions in tox/travis

Would simplify life quite a bit as setuptools is never trivial :)

I agree with this, I can test with no python version and make a PR if you want @zsoldosp

@zsoldosp Should we still let travis test all supported environments? aka 1.11, 2.1, 2.2? I think we should still test on the supported django versions

@serafss2 yes,of course we should keep testing all supported python-django combinations in tox/travis! I'll take a look at the PR, but will wait for feedback from someone at @PaesslerAG

repo: PaesslerAG/django-currentuser


text:
zero-property JSON response object schema leads to MimeTabs/TabItem error

Describe the bug
If I have a response JSON object with no fields, like:
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
        }

then MDX generation succeeds, and npx docusaurus-mdx-checker passes, but when I actually build I get an error like:
Error: Docusaurus error: Bad <Tabs> child <TabItem>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.

The issue seems to be a <MimeTabs> MDX element with no body.
Expected behavior
Ideally the generated response section would show that the response must be mimetype application/json, and maybe that the body is supposed to be an object (eg, not a JSON string). But really anything would be fine as long as the docs could actually compile.
Current behavior
Fails to build, as described above.
Possible solution
Relevant code seems to be: https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/d2ff97b0ee8ec4da06348a1abcabe5ea8fe55eba/packages/docusaurus-plugin-openapi-docs/src/markdown/createResponseSchema.ts#L64
Steps to reproduce
(see above)
Context
This prevented building docs.bsky.app (https://github.com/bluesky-social/bsky-docs). Plan is to work around by creating a fake/bogus parameter _unknown_ so that the parameter list isn't empty.
Your Environment

Version used: docusaurus-plugin-openapi-docs v3.0.0-beta.10
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): node v18.13.0 / npm 8.19.3
Operating System and version (desktop or mobile): debian linux amd64
Link to your project: https://github.com/bluesky-social/bsky-docs

Hi @bnewbold, would something like this work?

authors: bnewbold sserrata


text:
Update bootstrap template path in vmseries.tf

This PR updates the vmseries.tf file to correct the path for the bootstrap template file used by the template_file data resource. The change ensures that the correct relative path is used when referencing the bootstrap.xml.template file, improving the module's portability and preventing potential issues related to incorrect file paths.
Description
This PR updates the vmseries.tf file to correct the path for the bootstrap template file used by the template_file data resource. The change ensures that the correct relative path is used when referencing the bootstrap.xml.template file, improving the module's portability and preventing potential issues related to incorrect file paths.
Motivation and Context
This change is required to ensure the Terraform module functions correctly in different environments by accurately referencing the bootstrap template file. Incorrect file paths can lead to errors during the deployment process, and this update addresses that issue.
I was not able to execute this module from different directories so thought to update it.
How Has This Been Tested?
The change was tested in a local development environment by running the Terraform configuration after updating the path. No errors were encountered, and the module successfully referenced the bootstrap.xml.template file, confirming the fix.
Screenshots (if appropriate)
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[ x] I have updated the documentation accordingly.
[ x] I have read the CONTRIBUTING document.
[ x] I have added tests to cover my changes if appropriate.
[ x] All new and existing tests passed.

Please review and approve. @mattmclimans

@mattmclimans  Thanks for this enhancement


text:
script-loader是安装在dependencies里还是devDependencies里？

问题1. 看到Export2Excel的介绍 Excel 导出
npm install script-loader -S -D
但是看github仓库中，package.json文件中的dependencies字段并没有script-loader
有点不明白它的运作时间？因为不是是懒加载，是在打包后动态加载的么？所以按道理是应该在dependencies里也有？
问题2. 懒加载Export2Excel后，下面的then中的第一个参数为什么是excel实例?
import('@/vendor/Export2Excel').then(excel => {
excel.export_json_to_excel({
header: tHeader, //表头 必填
data, //具体数据 必填
filename: 'excel-list', //非必填
autoWidth: true, //非必填
bookType: 'xlsx' //非必填
})
})

但是好像即使npm install script-loader -S安装后，script-loader也没有在package.json的dependencies字段里？这是为啥？

你问的问题都能检索到。

问题一

-D: devDependencies
https://github.com/PanJiaChen/vue-element-admin/blob/f38d5810d91101c1ec38f1270c57302bfdf92a0f/package.json#L106

问题二
https://webpack.js.org/api/module-methods/#import-1

你问的问题都能检索到。

问题一

-D: devDependencies
vue-element-admin/package.json
Line 106 in f38d581

可是为什么-S的话这个模块在package.json 的 dependencies 字段里没有？

npm install script-loader -S -D 不是在生产devDependencies和开发dependencies环境都安装吗？

这种问题你自己去查一下npm文档不就知道了。

额，看了，真的不知道是哪个部分没注意到。
就是对执行npm install script-loader -S -D安装script-loader包后，package.json的dependencies字段为什么没有script-loader不明白。
大侠如果知道，还请给点提示吧～
难道是说以及没有-S这个选项了，变成-P的原因么？
另外我觉得script-loader应该是要打包进生产环境代码里的吧，所以我纠结为什么dependencies字段没有script-loader。
不好意思，打扰大佬了。

我看了下文档

npm install saves any specified packages into dependencies by default.

install 了就会自动 save 和 yarn一样了。
-S 的确没用了 我去改一下文档。
script-loader作用只是让他全局引入而已，所以只有打包的时候需要，放到devDependencies就够了。

嗯 谢谢谢谢解惑~

authors: PanJiaChen ruanhuhu

repo: PanJiaChen/vue-element-admin


text:
axios post请求 status显示canceled 报错超时

一开始我用的是基础模板的permission-control分支
get请求正常使用,但是post请求就报错了

百度了很多方法都解决不了,
最后我换了个分支模板就没有在出现这个问题

我用master分支的也遇到这个问题

参考这个帖子，我用这个办法解决了
https://github.com/PanJiaChen/vue-element-admin/pull/3044

authors: LanceLoveJava fangwandong xuewjiewen


text:
Improve the performance of ExpressionParser

#126

Coverage decreased (-0.04%) to 55.957% when pulling 8842dd82a814709e234c953630693ec82a42db49 on dzikoysk/gh-126 into 8f05c150421ee660d00957ced825ba4bcab1c09e on master.

Known bug: negate operation negates whole expression, not only the marked singular fragment

Required fixes:

patterns
bootstrap/di
cleanups

Required:

support static methods and fields

Known bugs:

null reference in the second print
1.5D parsed as 0.5

authors: coveralls dzikoysk

repo: Panda-Programming-Language/Panda


text:
Use of undeclared type 'CardHightlight' when implementing the Getting Started example

Hello, thanks for the awesome framework!
I just tried the Getting Started example. After dragging the Card into the ViewController and adding an @IBOutlet. I got an error that "Use of undeclared type 'CardHightlight'".
I installed the framework using Cocoapods. I'm new to iOS dev and I probably miss some stuff. Could you explain a bit why does this happen?
Thanks!

Thank you very much :D
Try to check the attribute inspector and make sure the "module" field is set to Cards

Thanks for the quick response!
It's set to "Cards", but I still got this error.

Got it.
You have to do "import Cards" in the top of the file. I'll add this to the readme.
Thank you :)

I also tried that. But there is an error "Cannot load underlying module for 'Cards'".

I cleaned the project and then rebuild it. "Cannot load underlying module for 'Cards'" disappears, but I still have the "Use of undeclared type 'CardHightlight'" error.

Hello @PaoloCuscela, sorry for the random messages.
I just found I installed Cards 1.1 instead of the newest 1.2.3. After upgrading to the 1.2.3, the undeclared problem disappears but I got this error:
IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(Cards.framework, 1): Library not loaded: @rpath/Player.framework/Player
Referenced from: Cards.framework
Reason: image not found

Looks strange. I've done a test right now and all seems to work well.
Try this:
New xcode project
Pod init
Add "pod 'Cards'"
Pod install
Pod update
Open 'project.workspace'
Add UIView in storyboard
Class 'CardHighlight'
Module 'Cards'

Still got the same IB Designables issue. I'm working on Xcode Version 9.0.1 (9A1004). Probably an issue with my Xcode?

Can you post your sample project so I can have a look ?

Sure! Thank you very much for your help!
project.zip

It's  working fine here. I'm on 9.0.1 too ... 🤔
Maybe reinstalling XCode ?

Thank you @PaoloCuscela. Sorry I forget to tell you that I'm able to build the project now, though it has a storyboard error. Before, when I'm using Cards 1.1, the prototype of a card can appear on the storyboard, but currently it can't show up, so I think it's that error causes the UI to fail to display.

I googled about it yesterday. It turned out that is a common issue, probably about some optional vars stopping IBDesignables to be rendered.
I'll try to fix that in these days

Thanks for your efforts!

Good news :D
v1.2.4 out.
Now it should display the preview on the storyboard correctly.

Sorry @PaoloCuscela I missed your last comment. I just upgraded it to 1.2.4 and the preview is still blank. Probably it's a weird problem happened on my macOS only. Thanks very much for your help!

Already tried with Editor -> Refresh all views ?

Yes. And the storyboard error is still here:
Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(Cards.framework, 1): Library not loaded: @rpath/Player.framework/Player
  Referenced from: Cards.framework
  Reason: image not found

Do you get this error only with my repo ?

Yes. And I find it works fine on your Demo project. I'm very confused why the error happens on my projects.

Hello @PaoloCuscela, I upgraded the Xcode to the newest 9.1. The storyboard error disappeared but I still can't see the preview.

I'm having the same error too but in my case I'm trying to use it on a UICollectionViewCell by adding a subview with Card class type.

I've done some testing.
Looks really strange, with the sdk installed from cocoapods repo preview are not rendered.
With a local copy ( pod 'Cards', :path => '../' ) it's all fine.
I've to do some research on it.

We have the same issue as @wqfan reported. There is an error on Storyboard saying
IB Designables: Failed to render and update auto layout status for EventsTableViewController (ZmE-MU-FrL): dlopen(Cards.framework, 1): Library not loaded: @rpath/Player.framework/Player   Referenced from: Cards.framework   Reason: image not found
The UI was not able to be rendered on Storyboard neither.
Me and my guy are on Cards 1.3.0 and XCode 9.1 and 9.2

I found a workaround that might work, try adding this in your podfile.
https://github.com/CocoaPods/CocoaPods/issues/5334#issuecomment-254199946

I had the same error trying to use cocoapods, I worked around it by adding the library manually.

Hi, any update on this bug?
does anyone found a workaround for this?
Thanks 👍

I still get this bug in 1.3.2. With pod I get the IBDesignables error and if I install it manually it wont find the Cards module.
Is there no fix out there for any of these problems?

This issue is not because of the Cards its due to the latest Cocoapods version to fix it just downgrade your cp to about 1.4< and it shouldnt show the error anymore
@lukaskirner if you install it manually from what i know you wouldnt need to import Cards like its already imported somehow

@QinGuan2004 suggested to downgrade Cocoapods which didn't completly removed the problem but after I added this little code to the Podfile it workes.
post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings['LD_RUNPATH_SEARCH_PATHS'] = [
      '$(FRAMEWORK_SEARCH_PATHS)'
    ]
  end
end

I had this same issue and fixed it by adding a signature fix and the code @lukaskirner mentioned above.
Here is what my pod file looks like:
# Uncomment the next line to define a global platform for your project
# platform :ios, '11.0'

target 'CardTest' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for CardTest
	pod 'Cards'

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings['LD_RUNPATH_SEARCH_PATHS'] = [
      '$(FRAMEWORK_SEARCH_PATHS)'
    ]
    installer.pods_project.build_configurations.each do |config|
        config.build_settings.delete('CODE_SIGNING_ALLOWED')
        config.build_settings.delete('CODE_SIGNING_REQUIRED')
   end
end
end
end

authors: AshleyDeng FranciscoPereira MhndMousa PaoloCuscela QinGuan2004 dannylnz lukaskirner michaelcarroll wqfan

repo: PaoloCuscela/Cards


text:
How to make default header section on detailView scroll with tableView.

I am trying to use a tableView with the detailView. But it seems as though the main image just stays static when scrolling through the tableView rather than scrolling with it. TableView works fine but I am wondering if you could make it so the main image be a part of the tableView rather than separate.

I don't get the point... are you trying to add a TV  in your detailVC ?
If so keep in mind that the view of your VC is embedded in a scroll view.
You could try making your tableView non-scrollable, so the gesture recognizer active would be the card's scrollView one.

Thank you for your response. I have attempted to prevent scrolling, however it seems as though the scrollView limits how much the scroll can be. So if my TV has 100 cells it can only display the first few and then you can't scroll down any further. Is there a fixed height for the detailView?

yes, the detailView ( the view managed by your VC ) is fixed to a certain size in the screen but inside that you can do whatever you want.
If you upload an example project I can help you better :)

Here is the sample project. I've disabled the scroll o the DetailView. But this limits the amount of scroll.
CardTest.zip. I simply want it to be able to scroll through multiple sections the same way the App Store works.

Thanks for the example project, see #52

authors: PaoloCuscela mteera


text:
network-explorer: add updated network explorer implementation

Overview
Introduces the network-explorer package (see README for an overview of the package).
Description
It updates/expands the old network explorer server from ParadigmCore for compatibility with the new Kosu contract system and client.
It is able to draw of most of the architecture (unfortunately some of the not great parts as well) of the old server. I attempted to clean-up and re-write the most problematic parts, and the reliance on go-kosu rather than the much less stable ParadigmCore is a huge benefit, makes the node queries fail far less. The new kosu_validators method especially removes a quite problematic portion of the update process that required far more queries to create the same abstraction as the new method.
Notes
The following fields are un-implemented and will likely require new methods to be added to go-kosu.

total_orders: incremental counter of orders
remaining_limit: remaining order limit for the current period
number_posters: the current number of poster accounts

Closing this and moving to ParadigmFoundation/network-explorer as I'm not satisfied with the code's quality, due to the fact it was written a year ago for a now long-outdated client POC, and shoddily/hastily refactored to support go-kosu.

repo: ParadigmFoundation/kosu-monorepo


text:
Feat: Allow the CLI to take in flags.

This will most likely require breaking out of the Runner and creating an internal CLI. Thor is already here as a dependency.

Example:
viterb generate --template rails
viterb g --template hanami
viterb g --template sinatra

Example:
viterb generate --template rails
viterb g --template hanami
viterb g --template sinatra

As I'm going over this more, this could be a full fledged CLI generator. Think yarn init
viterb generate

** What type of project is this? **
* Rails
* Hanami
* Sinatra
* Other

** Where would you like to store your JavaScript files **

* default: (app/vite)
<Enter Text here>

** Where would you like your Vite config stored? **

* default: (vite.config.js)
<Enter directory here>

As I'm going over this more, this could be a full fledged CLI generator. Think yarn init
viterb generate

** What type of project is this? **
* Rails
* Hanami
* Sinatra
* Other

** Where would you like to store your JavaScript files **

* default: (app/vite)
<Enter Text here>

** Where would you like your Vite config stored? **

* default: (vite.config.js)
<Enter directory here>


text:
Allow client to add object to class when the class exist in the schema

Hi,
When setting allowClientClassCreation to false, the client is forbidden to add object to non-existing class.
The method to check if the class exist, is by checking to the collection exists in the database. (RestWrite.js line 120, RestQuery.js line 177)
That method to check is not good enough when the class exist in the schema.
When creating class only by adding at to the schema, the client is unable to create object.
I think that when the class exist in the schema, the user should be able to add object to it (and create implicitly new collection at the DB)
Thank you

The method to check if the collection exist is very fast. and after the first object is created, it's olso

repo: ParsePlatform/parse-server