ja: Make docs/concepts/workloads/controllers/replicaset.md follow v1.17 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/workloads/controllers/replicaset.md to follow v1.17 of the original (Englist) text.
Why is this needed
content/ja/docs/concepts/workloads/controllers/replicaset.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.17-ja.2/content/ja/docs/concepts/workloads/controllers/replicaset.md
Original
https://github.com/kubernetes/website/blob/release-1.17/content/en/docs/concepts/workloads/controllers/replicaset.md
diff between translated and v1.17
https://gist.github.com/57419ce162150337d874727c76b57a74
Note
Currently, we use dev-1.17-ja.2 branch. Please open a PR targeting the branch.
ref
How To Contribute
翻訳スタイルガイド
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/assign

/close


Experimenting with generic records, assertion failure in TypeParser.ml

Code:
module body LinearReferences is
  record Foo[R: Region] : Linear is
    x : Int32;
    y : Bool;
    r : R;
  end;

  generic [R : Region]
  function bar(r : &[Foo, R]) : Unit is
    return nil;
  end;

  function main() : ExitCode is
    return ExitSuccess();
  end;
end module body.

Behaviour:
Fatal error: exception File "lib/TypeParser.ml", line 267, characters 2-8: Assertion failed
make: *** [LinearReferences] Error 2

Additional observations:

If I comment out the definition of bar, it compiles, but I suspect that's just a side-effect, and not a meaningful phenomenon by itself.
If I replace the Region part in the definition of the record Foo with Linear, Type, or Free, the exhibited behaviour is the same.

I will look at this in more depth tomorrow (it's very late here) but I think (looking at the line where the assertion is raised, which really should be a proper error message) it's an arity error: Foo is a generic type that takes one Region parameter, so valid type specifiers are of the form Foo[R].
I think something like this should work:
module body LinearReferences is
  record Foo : Linear is
    x : Int32;
    y : Bool;
  end;

  generic [R : Region]
  function bar(r : &[Foo, R]) : Unit is
    return nil;
  end;

I wrote some code to improve the error message: #362
When I run your code through this version of the compiler, it prints the following:
Error:
  Title: Generic Error
  Module:
    LinearReferences
  Location:
    [no span available]
  Description:
    The type `Foo` expects `1` type arguments, but I only found `0` arguments.
  Code:
    [no span available]

The error is on line 9, in the type of r.
Is this helpful?

Hey @eudoxia0. I did an update, and I get the same error message now. I am not sure about the full implications of my code itself (I was experimenting), and if I change the signature of the function bar to:
  generic [R : Regsion]
  function bar(r : &[Foo[R], R]) : Unit

it compiles just fine. However, does this code even make sense - I cannot find any way to create a value of Foo inside bar? I don't know to be honest.
However, I'm closing the issue now since I get a compile-time error message about the generic record Foo itself.


Can the anchor position of a video be changed by effects in a composition?

I would like to crop a specific video (or image) inside a composition and change its position in the frame (for example for zooming in a specific part of a video that is not the center point).
I know there are effects for rotating and cropping a media item. Also, TextureOverlays can be set in a specified position by defining OverlaySettings anchor points.
Is there an equivalent for setting an anchor for an editableMediaItem? I have looked into VideoCompositorSettings, where "getOverlaySettings" can maybe be overridden,  but it seems that it is applied to the full composition instead of a single editableMediaItem.
Thanks!

We have an video effect called Crop that allows you to specify the vertices of a rectangle (using NDCs -explain in the method javadoc). This should allow you to crop to any position in the video frame


Fixed how PSCustomObject instances are displayed with OutDisplay

When running something like [pscustomobject]@{     a = 'b';     c = 'd'   } | Out-Display nothing is shown because of how the InputObject is used in OutDisplayCommand.
Created fix by checking for the case that the InputObject is a PSCustomObject and converting it to a PSObject to find the properties.

@TylerLeonhardt

Thanks, @justinytchen! Can you add a test?

@daxian-dbw you mentioned to me that we should consider doing this for all PSObjects because PSObjects can have extra properties added to them due to PowerShell's Extended Type System (a great example is $profile? Can you elaborate on that?

But what would you expect the Formatter to show? Exactly what PowerShell shows today?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: justinytchen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I don't know much about how that formatter works, so it's just a question for you to think if that can help.
In general, what would you expect to display for an object with ETS properties attached? Take the Process object returned from Get-Process as an example, how would you expect those extended properties to be used in display?
I don't know how the Display method works, so assuming it depends on type matching and reflection, then is it possible to have new code handle the reflection of PSObject (namely, as opposed to reflection, use the Properties member of a PSObject)?

You can add a custom formatter that outputs whatever would be the most sensible. Here are some examples of defaults:
https://github.com/dotnet/interactive/blob/51cac3166e3f4413c5b044229f9e10744a0b9651/src/Microsoft.DotNet.Interactive.Formatting/DefaultPlainTextFormatterSet.cs#L60

I think this change is sufficient for now cause it does fix a bug (pscustomobject's not showing up)... however if @justinytchen would like to mess around with this some more, can you try:

Creating a Formatter for PSObject (that iterates over the Properties like you're doing now)
Out-Display then simply passes the PSObject directly into display()

Then Get-Process | Out-GridView should look closer to this:
 NPM(K)    PM(M)      WS(M)     CPU(s)      Id  SI ProcessName
 ------    -----      -----     ------      --  -- -----------
      0     0.00      82.27     285.23     592   1 Spotlight
      0     0.00      20.09       1.55   81655 …85 SqlToolsResourc
      0     0.00       0.43       2.01     703   1 ssh-agent
      0     0.00       0.79       0.33     520   1 storeaccountd
      0     0.00       0.30       0.22    9827   1 storedownloadd
      0     0.00       9.02      10.70    9825   1 storeuid
      0     0.00      47.55     331.04     584   1 Stream Deck
      0     0.00      13.13      25.90   48902   1 studentd
      0     0.00      37.11     170.95     543   1 suggestd
      0     0.00       2.64     108.80     632   1 swcd
      0     0.00      33.48     754.50     553   1 SystemUIServer
      0     0.00      10.75       9.79     490   1 talagent
      0     0.00       5.81      29.77     467   1 tccd
      0     0.00     220.05     502.79   61330   1 Teams
      0     0.00     130.24      33.05   85422   1 Telegram
      0     0.00       8.77      24.04     581   1 TextInputMenuAg
      0     0.00       1.09       2.44   45058   1 transparencyd
      0     0.00      13.68     530.40     461   1 trustd
      0     0.00       2.25       2.30     483   1 TrustedPeersHel
      0     0.00       9.02       9.76   16504   1 universalAccess
      0     0.00       2.85       2.90   23344   1 UsageTrackingAg
      0     0.00       0.11       0.54   15691   1 USBAgent
      0     0.00       4.97     109.34     512   1 useractivityd
      0     0.00       6.96     140.35     454   1 UserEventAgent
      0     0.00      10.74      48.82     476   1 usernoted
      0     0.00       5.32     132.23     493   1 ViewBridgeAuxil
      0     0.00      16.21      13.04   43113   1 vsls-agent
      0     0.00      43.79       1.84   79756   1 vsls-agent
      0     0.00       0.55       0.31   22538 …38 VTDecoderXPCSer
      0     0.00       3.68       0.07   61355 …55 VTDecoderXPCSer
      0     0.00       1.44       5.92   67071 …71 VTDecoderXPCSer
      0     0.00       7.21     602.40   67697 …97 VTDecoderXPCSer
      0     0.00       3.48       0.07   81589 …89 VTDecoderXPCSer
      0     0.00      26.18     985.84     492   1 WiFiAgent
      0     0.00       1.12       1.11     604   1 WiFiVelocityAge
      0     0.00       1.51       8.99   20207 …07 XprotectService
      0     0.00      18.02      34.22   62998   1 Zappy

Instead of the giant mess that it is now lol

@TylerLeonhardt
I can create a separate branch/PR for the changes specifically for PSObject (and leave the PSCustomObject changes on this one)

@justinytchen can you add a screen shot of the before and after if PSCustomObject and:
Get-Process | Out-Display

I just ran into a place where we can apply the same fix...
https://github.com/dotnet/interactive/blob/master/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellKernel.cs#L126-L134
when you use:
#!pwsh
[pscustomobject]@{
    foo = "asdf"
}

#!csharp
#!share --from pwsh foo

foo["foo"]

it fails saying:

We just this this same check for pscustomobject in this place as well. I would refactor the code that turns a pscustomobject into a dictionary into a private method so it can be reused.

@justinytchen This will need to be rebased onto master. We renamed a few types.

Could you rebase the PR on master? I'd be happy to merge after that.
Thank you for your contribution


fix(build): hashes in prod builds now changes when ID change.

Fixes #2868.
Fixes #3311.

lgtm aside from the styles check.

Amazing!!!


Help wanted! Cannot read property 'globalProperties' of undefined！

Version
3.0.7
Reproduction link
https://codesandbox.io/s/charming-flower-tbv36?file=/src/main.ts
Steps to reproduce
See sandbox: https://codesandbox.io/s/charming-flower-tbv36?file=/src/main.ts
What is expected?
app.config.globalProperties.$http = Axios;
What is actually happening?
TypeError
Cannot read property 'globalProperties' of undefined
evaluate
main.ts:16:11
13 | }
14 | const app = createApp(MainApp).use(store).use(router).mount("#app");
15 |

16 | app.config.globalProperties.$http = Axios;
|           ^
17 |

Change this:
const app = createApp(MainApp).use(store).use(router).mount("#app");

to:
const app = createApp(MainApp)
app.use(store).use(router).mount("#app");


Conversion to .onnx format?

Hi,
the script for converting the model to onnx format is not working , some packages were not yet implemented, can you offer a work around for this problem?

@abubakar2141731 Do you mean that convert the model in D2Det to D2Det-mmdet2.1?

i am using D2Det-mmdet 2.1, in the tools section there is a script named
pytorch2onnx.py, D2Det is not compatible with this script.
On Tue, Nov 17, 2020 at 6:44 AM Jiale Cao<EMAIL_ADDRESS>wrote:

@abubakar2141731 https://github.com/abubakar2141731 Do you mean that
convert the model in D2Det to D2Det-mmdet2.1?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JialeCao001/D2Det-mmdet2.1/issues/5#issuecomment-728700285,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDXTOBRPRB5UUPEAS3LSGLSQIEULANCNFSM4TXE3WDA
.

Yeah. Maybe. I just train the model using D2Det-mmdet2.1. What is the function of pytorch2onnx.py/.

it converts a pytorch model to .onnx format to be deployed on a cpu.
On Tue, Nov 17, 2020 at 8:51 AM Jiale Cao<EMAIL_ADDRESS>wrote:

Yeah. Maybe. I just train the model using D2Det-mmdet2.1. What is the
function of pytorch2onnx.py/.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JialeCao001/D2Det-mmdet2.1/issues/5#issuecomment-728751150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDXTODZJ3LAP2U7WIDPUETSQITPBANCNFSM4TXE3WDA
.


Jnovels

Source name
jnovels
Source link
https://jnovels.com/
Language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Why was this rejected


Non-http(s) URLs used in project_urls are rejected as invalid

Describe the bug
I recently updated one of my packages to have a few project_urls, including website, issue tracker and IRC. For the latter, I used a URL in the format of irc://example.com/#my-channel, which Firefox and other tools understand.
Expected behavior
Uploading the package should have worked find.
To Reproduce
Try uploading a package with:
project_urls={
    "Chat": "irc://example.com/#my-channel",
    # ...
},

My Platform
I used twine to upload the package via GitHub Actions.
I've pinpointed the issue down to this snippet, which tries to validate the URL as http or https, even in cases where it's a different schema.
https://github.com/pypa/warehouse/blob/30a6733a3f4b91594ead39971277491a8b4bee67/warehouse/forklift/legacy.py#L337-L338
Additional context
I suspect that the validation is mostly an oversight of not taking this edge-case in mind; I can't imagine there was a strong reason to disallow non-https URLs.
While I think there's definitely value in allowing them, in case there's a strong sentiment against this, it would at least make sense for the error message to be clearer. It was quite tricky for me to figure out exactly what the error was, since right now the validation response just says Use valid URL., without even indicating which URL is wrong or in what way.

I think I'd prefer for us to stick with valid HTTP/HTTPS links, since these go in the sidebar for the project, and other protocols are somewhat exotic.
I'd be in favor of updating the error message here to indicate that this needs to be a valid HTTP/HTTPS URL.

That sounds reasonable. It would also be good to update the docs to clarify this.
Renaming the field to `project_websites' would be nice, but I don't think it's worth breaking backwards compatibility.

Unfortunately that would require an update to the Core metadata spec
Which I'm now noting says:

A string containing a browsable URL for the project and a label for it, separated by a comma.

Which IMO reinforces that this must remain HTTP/HTTPS.

gemmini: is browsable

I'm going to close this. I think that keeping these as HTTP(S) urls is the path we're going to go for here, and if people feel strongly it's probably best to discuss it on discuss.python.org.


debug vgmstream build against ffmpeg 6.0 on macos-11

==> Installing ffmpeg dependency: libb2
==> Pouring libb2--0.98.1.big_sur.bottle.tar.gz
Warning: Libraries were compiled with a flat namespace.
This can cause linker errors due to name collisions, and
is often due to a bug in detecting the macOS version.
  /usr/local/Cellar/libb2/0.98.1/lib/libb2.1.dylib

...

==> Installing ffmpeg dependency: theora
==> Pouring theora--1.1.1.big_sur.bottle.4.tar.gz
Warning: Libraries were compiled with a flat namespace.
This can cause linker errors due to name collisions, and
is often due to a bug in detecting the macOS version.
  /usr/local/Cellar/theora/1.1.1/lib/libtheora.0.dylib
  /usr/local/Cellar/theora/1.1.1/lib/libtheoradec.1.dylib
  /usr/local/Cellar/theora/1.1.1/lib/libtheoraenc.1.dylib

It works.


[QUERY] Getting started with the Event Grid Extensions

Library name and version
Microsoft.Azure.WebJobs.Extensions.EventGrid --version 3.2.1
Query/Question
Hello,
I am currently working on a project which requires me to connect two seperate twins on Azure digital twins in order to send live telemetry from on to the other. I have seen a github repo with the code to do so and have hence tried to execute this myself in order to understand it better. On trying to upload the code from VS Code to Azure Functions I am encountering a couple of errors which I will share in this query.
The solutions I have found online were to either install this package or to reference it in my .csproj file. I have tried out both these solutions but am unfortunately still stuck with the same error.
What would be my best course of action in order to tackle this issue?

Environment
.NET SDK (reflecting any global.json):
Version:   6.0.407
Commit:    d8659ea151
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19044
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.407\
global.json file:
Not found
Host:
Version:      6.0.15
Architecture: x64
Commit:       5edef4b20b
.NET SDKs installed:
6.0.407 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
The IDE I am using is VS Code

Hi @aditphilip.  Thank you for reaching out and we regret that you're experiencing difficulties.  Unfortunately, there's very little context in this issue that would help us to understand your scenario.  My best guess from the error is that the example code you referred to was using the legacy Event Grid library, which had a different namespace.   You'll find Event Grid-related types like EventGridEvent in the Azure.Messaging.EventGrid namespace.
I would suggest reading through the Event Grid trigger docs examples; these demonstrate how to set up an Azure Function with Event Grid and should help get you started.


Parser not working

When I try use the parser it just gives an error saying “Invalid Syntax: Expected '->' or NEWLINE
File , line 1”

Because you're trying to define a function but you don't follow the syntax. You're in the interpreter's REPL, you can only write one line, so you can use -> for inline functions or use ; as newline.


BIOS modding - NVME boot, etc:

@BillDH2k
OK, 3 BIOSes are attached for Z620. All are based on J96. All modding is done with "MMTool Aptio V4". The microcode downgrade is inserted manually, by replacing the microcode module padded to the same size (did not like how UBU tool shifted things around).
Most ambitious (try first) - NVME/ReBar/MC [NVME boot, ReBar PCIE, microcode downgrade for speed to the version prior to Meltdown and Spectre fixes]
Next (benign) - NVME/ReBar
Mild (known to work elsewhere although different versions) - NVME
Only this region (-A 0x580000 -L 0xA70000) needs to be flashed (out of the whole file), to the same region on the flash chip:
fpt.exe  -f bios_file_extract.bin -A 0x580000 -L 0xA70000
Don't flash the full file as-is, only flash the region above.
J61_0396_nvme.zip
J61_0396_nvme_rebar.zip
J61_0396_nvme_rebar_mc.zip

@bibikalka1 Could I try these on a  Z420 (which I has an easier access to)?

@bibikalka1
Tested "nvme" only on Z420 (V1 1620 CPU). BIOS mod: ME8+B2013+ 0x580000 region replacement. Performed "MEBLAST 8+V207" sequence to enter "MF" mode, flashed the whole bios mod via "fpt.exe -f".
Reboot results: Initially in power ON/OFF cycles by itself. Then eventually powered off. Did a CMOS clear. Came back with "Incorrect microcode detected, please contact HP" "1801-Microcode Update Error".
Had to recover with a flasher (not sure which CPUs it expect). Did not test the other two mods, suspected similar "micro code" issue.

@BillDH2k
Awesome testing, many many thanks!!!
Z420 is a perfect substitute for Z620, the BIOS is same.  And the correct plan too - reload full good BIOS, then the patched J396 code on top. Whichever machine is logistically easier for you to try - that's the one, and v1 cpu helps until we have the other hack working for v2 with MEBLAST!
Good to hear crisis recovery jumper working, I could not get it to go while still in manufacturing mode. But you took care of that by flashing a good BIOS copy first. But I hear crisis recovery is a tricky procedure taking as much time as a programmer if you are skilled with the latter?
Microcode patching is a mess, this is my 2nd try, I will work more on that. The other modules are great, need to test now if ReBar actually works as intended :)
P.S. I skimmed through your Hackintosh guide. Do you think some of the challenges can be addressed by BIOS patching, like USB3? The BIOS patching is actually fairly easy, as easy as OpenCore patches you do already. The hard part is flashing it & recovering from bad bricks, but if you got this down to science, it's all easy! At least we now know that some BIOS modding does work, and boots fine!
If you want to get started with BIOS modding, get the UBU package here:
https://winraid.level1techs.com/t/discussion-ubu-tool-related-questions-reports-and-suggestions/33251/1944
UBU package as everything, such as MM Aptio IV tool. See this guide how I inserted the NVME module, it's stupidly easy:
https://winraid.level1techs.com/t/howto-get-full-nvme-support-for-all-systems-with-an-ami-uefi-bios/30901
ReBar module insertion is identical:
https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module
BUT! I think if the checksum for the BIOS changes, it'll stop booting. So need to make sure the header stays intact. See the binary diffs of my mods with the stock J396 in WinMerge, and you'll see what I mean.

@BillDH2k
I've patched together 2 new versions with microcode updates manually. Very surgical. Please test, as before, on Z420 v1 that you already tested on, same procedure.
Old are fast microcodes, new are slow microcodes. Depending on your use case, choose. Try the one you don't want first, then the one you want. If the latter works - keep it for a bit.
If success, I'll move on to MEBLAST next, and I guess we could do Z820 BIOS patching if you want.
J61_0396_nvme_rebar_mc_all_old1.zip
J61_0396_nvme_rebar_mc_all_new1.zip

@bibikalka1
I've tested the "nvme" freature and it worked. Now Zx2 can boot directly off an NVME stick without the help of OpenCore!
Will test your new mods when I get back to work.
The Crisis recovery is actually simple and quick - took 2 minutes. My hardware flash process involves a Raspery Pi, kind of slow and more labor. I have a qood quality clip (3M model) which makes the job much easier.
Regarding the Hackintosh patching by OpenCore, the ideal is not to permanently alter the original BIOS so the PC can continue function as it was for Windows or other OS (when mac OS is not used). So all patching are done on the fly to make the Intel PC appear like an genuine mac to the mac OS. New features missing from BIOS, such as NVME support, can be added too by OpenCore (but OpenCore needs to be boot up first, from an USB or other bootable device, like Sata drive). OpenCore is very flexible, and an amazing work, and it works for many different boards/BIOS.
Issue like USB3 support is a driver/hardware compatibility related. There is simply no macOS driver support for the TI USB3 chip (beyond Catalina). So I don't believe it can be fixed by BIOS mod, unless the mod emulates the chip as a compatible hardware that mac OS support. But I don't thick it worths the effort. USB3 functions can be easily added with a $15 compatible add on card.
Also thank you for tips/links for the BIOS mod technique. My main interest here was to add V2 support so get the last performance out of this old platform (also happy to gain the "nvme" features). As I stated earlier, I'd happy to test your new mods, as long as I can get around with my setup.
Best!

@BillDH2k
Appreciate your testing, and sorry for having to use the clip!
Just to double check, you did use MEBLAST1 on top of a fully working ME? I saw the same error, but only when running MEBLAST 2x in a row without hard reboot. I guess this is good data if you got that error starting for a working ME.
Can you check your CPU stepping on this specific machine that you are testing on? Run CPU-Z, save config, look for CPUID line:
	Name			Intel Xeon E5 2660 	Codename		Sandy Bridge-EP/EX 	Specification		Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz 	Package (platform ID)	Socket 2011 LGA (0x0) 	CPUID			**6.D.7**
Btw, BIOS has a feature to load BIOS, I think it's the 1st menu. Not sure if your computer could not see any USB ports at all, or just could not boot from a USB. I guess loading an official BIOS file from BIOS would have tested that. I wonder if a SATA drive would have booted. I wonder if crisis recovery did not work because it could not read USB ports! Did it blink at all?
Anyway, thinking out loud. Let me look at this a bit more, but if you have a bit of clarification regarding what I wrote above - please do clarify.
Many thanks again!!!
P.S. Btw, I have Z820 bios mods ready to go - but we still need a modded MEBLAST to load that efficiently on v2 Xeons. Z820 ME is identical to Z620, so all learnings should work fine.

@bibikalka1
I redid the MEBALST1 test, as I likely lost track of the test conditions. This time, MEBLAST1 succeeded without error. I verified that 0x400 offset at ME region is "0x01". Next, reboot, no "Manufacturing" mode.
Now, the interesting part: I started over again. Right after executing "MEBALST1.com J61_0396.bin", I wrote "0xFF" over the 0x400-0x500 in the ME region, by "fpt -f dummy_FF.bin -A 0x5400 -L 0x100" (where dummy_FF.bin is just a binary file I created with 0xFF's of length 0x100 bytes). Reboot, FDO jumper still in ON (no change), no "manufacturing mode"!. Powered OFF, moved FDO jumper to OFF position, powered ON, -> "Manufacturing Mode"!
So, I had a different "Manufacturing mode", which I just realized now, only visible when FDO jumper is off. When FDO is enabled, "manufacturing mode" disappeared, and you loss full access to the BIOS (I tried to FPT a whole BIOS flash, and it failed with errors about # of regions of not erasable errors). So, this "ME" replacement trick is unlikely to work.
Regarding the CPU used for the above test (TEST 3 - TEST 8), I believe it is a single E5-1603, on a Z620 board (can confirm later).
The clarification on "not able to Boot USB (freeDOS)": I had a FreeDOS USB as my boot device, to run all the tests mentioned above. When running TEST 7/8, system POST (saw BIOS logo, etc), then stuck with a blinking cursor on top-left corner, no longer respond to any input (not even ALT-CTL-DEL). Had to force power off to recover.

Now, the interesting part: I started over again. Right after executing "MEBALST1.com J61_0396.bin", I wrote "0xFF" over the 0x400-0x500 in the ME region, by "fpt -f dummy_FF.bin -A 0x5400 -L 0x100" (where dummy_FF.bin is just a binary file I created with 0xFF's of length 0x100 bytes). Reboot, FDO jumper still in ON (no change), no "manufacturing mode"!. Powered OFF, moved FDO jumper to OFF position, powered ON, -> "Manufacturing Mode"!
So, I had a different "Manufacturing mode", which I just realized now, only visible when FDO jumper is off.

@BillDH2k
Wait, so you could run "fpt -f dummy_FF.bin -A 0x5400 -L 0x100" after MEBLAST1 and it wrote stuff? Then you moved the FDO jumper, rebooted, and got "Manufacturing mode" and full flash access with the jumper off? When you did a programmer flash, you probably did not touch your FDO jumper at all !
 Please confirm. If true - we are there.

@bibikalka1
I will test that later.
But right, now I have another issue with my setup, which you may help me to correct - I encountered this error (see screen capture), corrupted GBE region?

Not sure how I ended up here. I did a few things in btw the tests, suddenly noticed this error (it might occurred earlier without my notice).
This is a Z620 board used for the above testing. I noticed from the BIOS System Information page, one of the NIC MAC address, had changed. There are two LAN ports: "NIC Controller (AMT) MAC" and "NIC Controller MAC". Normally, These two MACs are different by just "1" digit. Now, BIOS page showed: "NIC (AMT) MAC: XXXXXXXXF39A",  "NIC MAC: XXXXXXXX0000". The "NIC (AMT)" is correct (matched my photo record), but the 2nd one is wrong, should end with "F39B".
Any idea how to fix this?
Thanks!

This is a Z620 board used for the above testing. I noticed from the BIOS System Information page, one of the NIC MAC address, had changed. There are two LAN ports: "NIC Controller (AMT) MAC" and "NIC Controller MAC". Normally, These two MACs are different by just "1" digit. Now, BIOS page showed: "NIC (AMT) MAC: XXXXXXXXF39A", "NIC MAC: XXXXXXXX0000". The "NIC (AMT)" is correct (matched my photo record), but the 2nd one is wrong, should end with "F39B".

@BillDH2k
Well - an easy path is to reflash the full BIOS from good backup, probably all the way back to BB2011 era, but of course, make it BB2013. I mean - you want to revert to a known good state, where everything worked. You could probably diff GbE area, see what changed there too.
But instead of patchy fixes, just do the full re-flash, much quicker.

@bibikalka1
I did that, a couple of times. Same error. It is possible, that I picked the wrong backup BIOS. Will try again.

@BillDH2k

I did that, a couple of times. Same error. It is possible, that I picked the wrong backup BIOS. Will try again.

If you sure you have the right backup, and it still does that - do the CMOS clear with the button. A couple of weeks ago I reflashed the full good bios, and it would not boot until I cleared CMOS.

@BillDH2k
Install this package - UBU_v1_79_19d :
https://winraid.level1techs.com/t/discussion-ubu-tool-related-questions-reports-and-suggestions/33251/1944
It has the latest UEFITool.exe - alpha 68. If you open your full BIOS dump there, you can inspect each region, it shows MAC address , ME version, etc.

@bibikalka1
Did this test:

Start with a full working BIOS (this case: V393+ME8+BB2013. Powered on with FDO jumper ON, boot to FreeDOS USB.
"fpt -ME -f ME8_0396.bin", where ME8_0396.bin is the ME cropped from official 396 BIOS (note: 0x400 has "0xFF" value).
Power off. Move FDO jumper to OFF position. Powered ON, booted up, "Manufacturing Mode" msg displayed.

Now, tried to use FPT tool, encountered errors:
"FPT -d save.bin"  -> "Error 26: The host CPU does not have read access to the target flash area..."
'FPT -f BIOS.bin" -> "Error 25: The host CPU does not have write access ..."

C:\ZX20>fpt -d save.bin
Intel (R) Flash Programming Tool. Version:  <IP_ADDRESS>1
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
Platform: Intel(R) Patsburg Chipset - Reserved DID 0x1D41
Reading HSFSTS register... Flash Descriptor: Valid
--- Flash Devices Found ---
W25Q128BV    ID:0xEF4018    Size: 16384KB (131072Kb)

Error 26: The host CPU does not have read access to the target flash area. To enable
read access for this operation you must modify the descriptor settings to
give host access to this region. To enable read access for this operation you must
modify the descriptor settings to give host access to this region."
C:\ZX20>fpt -f BIOS.bin
Intel (R) Flash Programming Tool. Version:  <IP_ADDRESS>1
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
Platform: Intel(R) Patsburg Chipset - Reserved DID 0x1D41
Reading HSFSTS register... Flash Descriptor: Valid
--- Flash Devices Found ---
W25Q128BV    ID:0xEF4018    Size: 16384KB (131072Kb)

The PDR region exists in flash.
Continuing will cause the loss of any pre-existing data.
Do you wish to continue? Y/ or q to quit : y
Error 25: The host CPU does not have write access to the target flash area.  To
enable write access for this operation you must modify the descriptor settings
to give host access to this region.

So, without FDO jumper enabled, you can't the BIOS region.

If set FDO jumper ON, then we lost "Manufacturing Mode". FPT critical operation will fail.
C:>fpt -f z2x_bck.bin

Reading Flash [0x1000000] 16384KB of 16384KB - 100% complete.
Erasing Flash Block [0x007000] - 100% complete.
Programming Flash [0x007000]    8KB of    8KB - 100% complete.
Erasing Flash Block [0x009000] - 100% complete.
Programming Flash [0x009000]    4KB of    4KB - 100% complete.
Erasing Flash Block [0x00D000] - 100% complete.
Programming Flash [0x00D000]    4KB of    4KB - 100% complete.
Erasing Flash Block [0x011000] - 100% complete.
Programming Flash [0x011000]    4KB of    4KB - 100% complete.
Erasing Flash Block [0x023000] - 100% complete.
Programming Flash [0x023000]   64KB of   64KB - 100% complete.

Error 7: Hardware sequencing failed. Make sure that you have access to target flash area!
Trying to erase the same block (iteration: 2)
Error 7: Hardware sequencing failed. Make sure that you have access to target flash area!
Trying to erase the same block (iteration: 3)
Error 7: Hardware sequencing failed. Make sure that you have access to target flash area!
Failed to erase this block 3 times!!

So we don't have the TRUE "manufacturing mode" (from your MEBLAST/V207 sequence).

So we don't have the TRUE "manufacturing mode" (from your MEBLAST/V207 sequence).

@BillDH2k
OK - then I don't understand how you were able to recover your manually flashed ME with FF. I presume your did RPI programmer with FDO jumper off? Then you had manufacturing mode. I guess you put FDO jumper on, and it gave your write access to ME, but only ME? And that's how you recovered?

@bibikalka1
By enable FDO jumper, I can write to ME region. By simply overwrite 0x400 byte with "0x01" allowed me to exit the "manufacturing mode".

@BillDH2k
Can you try access region by region?Use my bat file. Try this script in manufacturing mode FDO off, and ME FF FDO on. You can give indices to the bat file such as "backup 01", etc, so each set of backups is different.
fpt.exe -DESC -d %ffdo%
fpt.exe -BIOS -d %fbios%
fpt.exe -ME -d %fmeoo%
fpt.exe -GBE -d %fgbeo%
fpt.exe -PDR -d %fpdr%
backup.zip
The idea is to figure out if we can write to the BIOS area only, with manufacturing mode but FDO off.

@bibikalka1
"backup 0" produced the following: (regions missing meant not able to access)
FDOO0.BIN         4,096
BIOS0.BIN    11,468,800
GBEO0.BIN         8,192
PDRO0BIN         8,192
BIOV0BIN       458,752
BIOB0BIN    10,944,512
BBLK0BIN        65,536

@BillDH2k
OK, missing ME and full 16MB image is OK.

Error 7: Hardware sequencing failed. Make sure that you have access to target flash area!

@BillDH2k
OK - looks like ME FF / manufacturing mode trick does not allow BIOS area writing. It did not write FDOO0.BIN either?
Let's me think about this a bit more. But in the meantime, could you try that BIOS I uploaded above using the standard MEBLAST/J207 sequence?
J61_0396_nvme_rebar_extra_mc391.zip

@bibikalka1
Must sign off for now. Will test that later.

@BillDH2k
Alright, I read about flash descriptor region here:
https://winraid.level1techs.com/t/guide-unlock-intel-flash-descriptor-read-write-access-permissions-for-spi-servicing/32449
Basically, if we could flash [fpt.exe -DESC -f fdo.bin], we could permanently unlock all regions for writing, and don't need manufacturing mode. Not sure if you tested this in your manufacturing mode, or with the FDO jumper on. You can simply grab the first 4k of the fresh bios file, it has the regions unlocked with all FF, and copy those 4k to DESC. If this works - it'd be a lot simpler for v2 chips to just unlock the regions via the DESC. Just do a diff of your BIOS dump, and a fresh BIOS from the update package. Our stock & clean BIOS file descriptors looks exactly like the picture from the link above:

P.S. Thanks for testing the new BIOS! Let me swap 1 microcode, and I should be done with everything I needed in there :)

@bibikalka1

You can simply grab the first 4k of the fresh bios file, it has the regions unlocked with all FF, and copy those 4k to DESC. If this works

"fresh bios file" = j61_396.bin from HP?

@BillDH2k
Yep, from HP. I cropped, see the included fdo:
fdo_unlock_j396.zip
You can have a different version at the bottom in the signature, but that does not matter. The key bytes are on line x60.

@bibikalka1
Just tested that I can write to DESC region, with FDO jumper ON: "fpt -DESC -f fdoo0.bin"   (fdoo0.bin was from earlier dump)
Will try the "blank" DESC file.

@BillDH2k
fpt can be confusing, if the region is the same as the file you are writing - it won't write anything, so one has to squint to see that in the log! Trying a different binary so it would actually write should be a proper test.
Also, please find attached another iteration of the microcodes. Can work as the one today, or trouble like yesterday. That'd be the fastest version for this chip, if one suppresses microcode updates in Windows.
J61_0396_nvme_rebar_extra_mc391_plus.zip

Move FDO jumper OFF, cold reboot - "Manufacturing Mode"! "backup.bat" was able to read all regions.
Try to flash 0x58000 BIOS region, "fpt -A 0x580000 -L 0xA70000", in both cases failed, with "Error 7".
So, this appeared to be the same quasi-"manufacturing mode", like the ME FF trick.

@BillDH2k
OK, so it's similar and a little different, since now you can read ME with and without the FDO jumper. Before you could not read ME without the jumper.
I wonder if you should also put FF into ME into that position, so it would not run. So, basically,

blank FDO
ME with FF at x400; or, do proper fresh ME with 01, and do a warm reboot with the FDO jumper on

Let me read more why not everything can be written with the FDO unlocked.

@bibikalka1
After cold reboot, with FDO jumper OFF, now "Manufacturing mode" msg is gone. BIOS showed that "ME disabled". May be this is why we are able to read all regions.
I tried to flash the saved DESC region back, did CMOS clear, system remained as "ME disabled". Again, no "Manufacturing mode".

After cold reboot, with FDO jumper OFF, now "Manufacturing mode" msg is gone. BIOS showed that "ME disabled". May be this is why we are able to read all regions.
I tried to flash the saved DESC region back, did CMOS clear, system remained as "ME disabled". Again, no "Manufacturing mode".

What does ME have now? You can probably move the jumper, and reflash it to its init state with 01. I guess your DESC region is now normal?
The tool says the regions should be open to read/write with blank DESC, I wonder if moving that password jumper to BB protection jumper is needed in addtion to FD jumper.

@BillDH2k
Alright, it looks like we are hitting "Protected Range Registers". Its BIOS itself preventing us from writing to it. So do try to move that green password jumper to the BB protection pins, near the FDO jumper, and see if that helps.
Quote:
Notice that BIOS/UEFI is not locked by the Flash Descriptor and thus OEMs are responsible for implementing BIOS-specific read/write restrictions such as Protected Range Registers and so on. That means that the Flash Descriptor is not responsible for any read/write restrictions set at the BIOS/UEFI region of the SPI chip, so the FD-related methods below will not be of any assistance in such cases.

I had the green jumper moved from "Password Recovery" (next to AUX power connector) to E14 (BB), all the times.
So, this requires more investigation. Right now, I will try to recover by flashing working BIOS back (out of "ME disabled" state.

@BillDH2k
Does MEBLAST work with FD jumper on? I think that should work for you.

@bibikalka1  Thanks for the suggestion. Will try that tomorrow.

@BillDH2k
Good session today! Try that latest BIOS tomorrow!
I am reading up on Protected Range Registers, I mean, those can probably be treated in BIOS, but that needs BIOS flashing functionality :)

@bibikalka1
TEST 10: J61_0396_nvme_rebar_extra_mc391_plus.zip
Successful POST/Boot.
This was done after recover from the "ME disabled" state, by flashing back a saved BIOS bin (MEBLAST/V207 sequence still working).

PPS One more thought - can bios writing in manufacturing mode only be available in J207? Perhaps before your restore ME, try to downgrade to J207 and see what it does.
Forgot to try this. So far, all we had tried indicating that without FDO jumber ON and "Manufacturing Mode" at the same time, full BIOS writing is not possible

@BillDH2k
Found this, it's Lenovo, but identical issues:
https://winraid.level1techs.com/t/lenovo-d30-thinkstation-c602-chipset-me7-sandy-bridge-to-me8-ivy-bridge-support/33917
Need to explore this afudos utility!

@bibikalka1
Will try AFUDOS when I get around. https://www.bios-mods.com/forum/showthread.php?tid=1950

@BillDH2k
So I did try a bunch of AFUDOS versions I found back in March 2024, before I discovered the ME/J207 hack. I kind of recall it did not work - but all these AFUDOS versions are sitting on my drive, so I did download them :)  If I read the thread about Thinkstation carefully, it seems he started with effectively flashing that clean multi-FF FDO block you tried yesterday before proceeding with AFUDOS. So you may have to do that first, to try to follow the workflow for Thinkstation. I am uploading those for you here:
AMIBIOS_and_Aptio_AMI_Firmware_Update_Utility_2014.09.zip
afudos_collection.zip
We still have no easy path to put a modded BIOS onto a v2 workstation, other than the programmer :( If AFUDOS does not work with J396, it may still possible it'd work with something older v2-compatible like J350 or J365.
I read about unlocking menus, it seems to be quite a lot of effort. Perhaps I better change a few hidden bios variables with that other UEFI tool, like this guide here: https://github.com/xCuri0/ReBarUEFI/wiki/Enabling-hidden-4G-decoding
See the text file on the variables that exist in this BIOS:
ZX20_menus.zip
Btw, I ordered a v2 cpu on eBay, E5-2643 V2 3.50GHz for like $12.  Now I have E5-2660 0 @ 2.20GHz. But, I guess I'll flash the last modded BIOS plus ME8, will swap the cpu to v2, and I am locked for the time being.
I will put all Z620 mods into the Z820 BIOS, for completeness of the exercise.

@bibikalka1
A V2 enabled Zx2 is still a very capable machine!  As for the BIOS upgrade/mod, having a V1 CPU at hand + "ME8/V207" trick is still very good option, easier than hardware flashing, in my opinion.
BTW, I will find a time to try the AFUDOS and thanks for the links/suggestions!

As for the BIOS upgrade/mod, having a V1 CPU at hand + "ME8/V207" trick is still very good option, easier than hardware flashing, in my opinion.

@BillDH2k
Interesting thought on simply using a v1 cpu to do the modded BIOS flash, I did find the clip route very challenging a few weeks back. Limited physical room if it's in the case. Btw, do you remove anything when you do a Raspberry Pi clip? I mean removing cards, unhooking power supply from the motherboard, etc? Or is it all just clip on, and go? I had to remove the video card since it's so bulky, and simply blocked my clipping action.
Alright, i took the modded BIOS plunge! Sweaty shaking hands while moving the jumpers around, etc :))) Reminded me I am definitely not a hardware guy! I get these short time windows to mess up with the hardware, so always in a rush.  Anyway, thank you AGAIN for doing tremendous leg work testing everything and dealing with recovery methods and such!!!
I did meblast (with new J396/latest ME8), let is initialize itself normally. Backed up everything, did MEBLAST/J207. Rebooted to Manufacturing mode, flashed GBE/BIOV/ME from backup, and my crop of "j391_plus" version to the BIOB code area. Rebooting back to DOS was OK. I removed the SSD beforehand, put it back now, it gave me a flashing cursor. Did button BIOS reset, that seems to have fixed the SSD boot.
Renamed mcupdate_GenuineIntel.dll to *.dll.bak (after fixing the ownership issue), rebooted, verified that the old 2014 microcode was now in use. No difference in CPUMark that I can see. But, the system feels more snappy - placebo? This registry key had all microcode info disappear after I renamed mcupdate_GenuineIntel.dll :
(HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0)
Need to read more about microcodes, seems things have evolved quite a bit since 2018.
Next, tested ReBar. Disabled Legacy support in BIOS. But! Found a weird UEFI variable "Launch CSM", in addition to another one, "CSM Support". booted to UEFI shell using this guide:
https://github.com/xCuri0/ReBarUEFI/wiki/Enabling-hidden-4G-decoding
0x95982 		One Of: Launch CSM, VarStoreInfo (VarOffset/VarName): 0x17F, VarStore: 0x1,
0x959A8 			Default: DefaultId: 0x0, Value (8 bit): 0x1 {5B 0D 00 00 00 01 00 00 00 00 00 00 00}
0x959B5 			One Of Option: Enabled, Value (8 bit): 0x1 (default MFG) {09 0E 03 00 20 00 01 00 00 00 00 00 00 00}
0x959C3 			One Of Option: Disabled, Value (8 bit): 0x0 {09 0E 04 00 00 00 00 00 00 00 00 00 00 00}

This variable "Launch CSM" was found in 2 places, one had value of 1, the other had 0. This is a bit buggy, but very easy to correct. Set it to 0. All good.
Rebooted to Windows, now all ReBar attributes are YES in GPU-Z except for the videocard hardware, enabled ReBar using the small utility.  Enabled Catalyst to use it by adding registry keys as per instructions elsewhere to
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e968-e325-11ce-bfc1-08002be10318}\0001]
At first was adding keys to 0000, but no go, opened RegEdit, and I saw it was actually 0001!
Now Catalyst has a toggle for ReBar, and it's ON! So Rebar is in full action, both in PCIE space, and on the legacy video card.
Will probably test NVME boot soon, and once everything is good - will swap the cpu to v2. Overall, I feel I am done with the cpu modding scope - no more good ideas that are really needed.
On AFUDOS, I am attempting to reach that @nikey22 guy to find out which AFUDOS he used, and if that's of use to us. Btw, for AFUDOS flashing tests, I suggest that you downgrade to something like J365 first. I see J61_0365.BIN has the date of Dec 2013, and some of AFUDOS versions are from 2014, so it may help to have AFUDOS be newer than the BIOS file.

@BillDH2k
Your power supply is not even that beefy! There are 6 or 7 holes next to the bios chip, I measured 3.2 volts off my mediocre power supply. I guess it's a forgiving electrical setup!
Summer is slow, nobody is responding to me on the raid forum :) I am still confused about older vs newer microcodes, and if they influence performance.
Thanks for testing stuff - no rush, whenever you find a reasonable chunk of time. J365 in manufacturing mode is most interesting, it might just enable full flash access just like j207!

@bibikalka1  3.2V is not bad, it is only a small drop from 3.3V off the RPI board. The 5V powers the RPI board, which in turn provides 3.3V used to flash the BIOS chip.

@bibikalka1 3.2V is not bad, it is only a small drop from 3.3V off the RPI board. The 5V powers the RPI board, which in turn provides 3.3V used to flash the BIOS chip.

@BillDH2k
Right! For a while I just could not talk to the flash chip - so I started chasing various things, including voltage. 3.2V did look good, and a better clip worked fine!
So today I put that v2 Xeon I got recently into the system. Cleaned up the fan from 10+ years worth of dust! So far everything seems to be working correctly. Of course, I can no longer flash the modded BIOS, that is until a new method is found! :)
My board was super old, it had 1.02 BIOS from the factory in it, if I read the DESC signature. So I guess the original guide was right - there were no electrical differences in the v1/v2 boards, and all the difference was in firmware.

@BillDH2k
I am now thinking of sticking an overclockable v2 Xeon into my Z620, and trying to crank it up to get great single threaded performance. I guess with the older microcodes it's all set up to be as if it was year 2014!
https://h30434.www3.hp.com/t5/Business-PCs-Workstations-and-Point-of-Sale-Systems/Z620-Z420-v2-overclocking-best-practices/td-p/9113778
Is there anything interesting on your side? I am waiting to put my guide together on modded BIOS until the v2 Xeon full BIOS write access is tested, and either works, or doesn't. Technically, one could probably remove write protection from the modded BIOS such that a modded BIOS would allow to be reflashed to another modded BIOS. But this is a fairly non-standard mod only required for brand name workstations, so I cannot draw on much guidance out there.

@BillDH2k
I started to forget the work we were doing, LOL. So I rushed to put together a guide:
https://github.com/bibikalka1/HP_Z420_Z620_Z820_BOOTBLOCK2013_BIOS_mod
If you happen to have V3.50 BIOS for Z820 (file name sp63330.exe ) - please do share. HP has deleted that from their ftp server.
AFUDOS testing is still outstanding :)
Let me know if you have any feedback!!!

@BillDH2k
Need your help! I actually found AFUDOS as part of Lenovo packages for D30. There is a 2014 version, and then there is a 2020 version of AFUDOS. If you have a chance, could you test and see if these might work on ZX20 to update the BIOS region by any chance?
https://download.lenovo.com/pccbbs/thinkcentre_bios/a3j368usa.zip
https://download.lenovo.com/pccbbs/thinkcentre_bios/a3j342usa.zip
From this page here:
https://pcsupport.lenovo.com/us/en/products/workstations/thinkstation-d-series-workstations/thinkstation-d30/downloads/ds035725-flash-bios-update-thinkstation-c30-type-1136-1137-and-d30-type-4353-4354?category=BIOS%2FUEFI
Still chasing this approach:
https://winraid.level1techs.com/t/lenovo-d30-thinkstation-c602-chipset-me7-sandy-bridge-to-me8-ivy-bridge-support/33917

@BillDH2k
So actually the topic of V2 Xeon with v2.07 BIOS is underexplored. My current thinking is this.
It might be that a V2 Xeon will be OK with the workflow as well. An older BIOS version 2.07 may run on V2, but will report this: "1801-Microcode Update Error. Missing or invalid Processor Microcode."
Last time I don't think you explored this properly when getting the 1801 error - but what it does allow to boot to DOS, and flash the modded BIOS?

@bibikalka1 Sorry for my late reply. Super busy lately, thus unable to do any testing for now. Great to see you for writing the new guide. I do not have V3.50 BIOS for Z820 (sp63330.exe), but only sp63328.exe. Regarding the "1801-Microcode Update Error", when it happened, the booting was halted, no way out of it unless forced power down (that's how I remembered).  As for overclocking, not sure it is worth the effort for the small amount of performance gain. It is fun to play with it, but only if you have the time to spare.  I might be able to help for testing a pre-made BIOS for booting, but my involvement would be limited due to my current work load.  - Bets regard!

@BillDH2k
Good to hear from you!
I was just able to actually test z820 today!!! Works the same as z620, I could enter the manufacturing mode with j207, and direct flash with fpt prior j396 backup on top of j207 in BIOS region!!! Full write access works. Yay!
Interestingly, I did not move pwd jumper to E14 BB on the first try, just removed pwd jumper and set aside - and didn't have full write access! Error 28. So connecting E14 BB with jumper is important!
Clearances are tight. I used long harbor freight stainless steel locking tweezers to move the jumpers around.
If you could test z820 modded bios versions when you have a chance - would be great!
Perhaps later on a simpler bios mod flashing with v2 Xeon already installed could be revisited - either another try with "1801-Microcode Update Error", or afudos. Not urgent at the moment.
I think if we could trigger this "MANAGEMENT PLATFORM (ME) IN MANUFACTURING MODE" on a later 3.50+ bios, E14 BB jumper might enable full write access just like what we have now in v2.07. Anyway, something to work on.

@BillDH2k
So there is comment in the guide:
Note on BIOS versions >3.88 Version 3.88 “Adds a mechanism to detect unsupported combinations of processor and Management Engine firmware. In such cases, system will display an error message and fail to boot.”
I am thinking that your microcode issues happened on v3.96 where I messed up the microcodes. It's possible an older bios version such as v2.07 will boot without microcode after complaining profusely.
I also wonder how v2 Xeon and v3.96 firmware would react if one flashes ME7 on top. It should not boot, but I wonder if it'd also enter manufacturing mode with the fdo jumper on.

@BillDH2k
So given that the E14 BB jumper does in fact work I think the AFUDOS route should be explored a bit more. Here is another report of using it on a similar Ivy Bridge age board:
https://github.com/xCuri0/ReBarUEFI/issues/11#issuecomment-2267080250
I now think E14 BB does enable writing to the BIOS region and protected range registers are disabled by this jumper. One thing though is that HP never provided official tools to flash the bootblock even with E14 BB, and their bios tools require the checksum to be correct. IPT can flash anything, but its access is hard to unlock.
Seems AFUDOS might help.
Anyway, whenever you have a moment, do try this AFUDOS v2.39 with your most convenient v1 workstation, where you can recover with a clip if things go wrong:
https://update.shared.it/SUPERMICRO/X9SCM-F/beta/
I would try AFUDOS on BIOS v3.96, v3.50, and v2.07, with regular initialized ME8. That's if later versions don't work first.
Not urgent at all - but something to explore when you get a few spare hours.


[CI] Install both minimum and latest dependencies in CI

Description
In order to improve the robustness of the CI process and avoid conflicts with the dependencies, we should be running the CI with both the stated to be the minimum supported version for each dependency, as well as with the latest i.e. the only current approach.

I think we should be careful with the minimum required version that we put for our dependencies, and trust that new versions of our dependencies are backward compatible, otherwise, we will increase CI time.

I think we should be careful with the minimum required version that we put for our dependencies, and trust that new versions of our dependencies are backward compatible, otherwise, we will increase CI time.

Yes, that's why I wanted to bring this up, since the current minimum version of datasets is not compatible with our caching approach for load_dataset; and that would have been captured in the unit tests otherwise. Ideally this will only run on commits to main i.e. before releasing.


cros problem

The example has Access-Control-Allow-Origin problem.
I just edit index.html
var socket = io('http://localhost:3000');

Then the Chrome Console print like this
Failed to load http://localhost:3000/socket.io/?EIO=3&transport=polling&t=1521768422803-4: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.

In your server-side, where you initialize your io variable allow cors as :
var io = require('socket.io')(server, {
cors: {
origin: '*',
}
});

Please see the documentation here: https://socket.io/docs/v3/handling-cors/

Please see the documentation here: https://socket.io/docs/v3/handling-cors/


https://github.com/atlassian/changesets/issues/160#issue-494444725

## Affected Packages

Problem

Proposed solution

``

It looks like this issue has been created by accident


Fix notebook issue when creating Kusto notebooks 2nd time after launc…

…hing ADS (#12700)

Fix notebook issue

Removed not required code

Co-authored-by: Monica Gupta<EMAIL_ADDRESS>
This PR fixes #

Pull Request Test Coverage Report for Build 290152007

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 38.875%

Totals

Change from base Build 290143204:
0.004%

Covered Lines:
19240

Relevant Lines:
45154

💛  - Coveralls


multi-query support to deal with Firestore 10 limit when using IN operator

Hi @excogitatr
it's possible to support List<query> to WA Firestore 10 limit when using IN operator
ref : https://ncona.com/2021/01/dealing-with-firestore-10-limit-with-in-operator
this will save the live of anyone use firestore !!!

Need this so badlt

is there any update on this feature

If you guys are comfortable with using documentSnapshots directly, you can go with the package pagination_view. I made it for a general use case.


Turning off after search navigation

FACT-Finder SDK version (see package.xml): 4.1.9
Magento edition and version: 1.14.2
PHP version: 5.5/5.6
Expected behavior: When I turn off the ASN from Factfinder I should still see the ASN from magento default.
Actual behavior: I see no filters at all.
Steps to reproduce: Turn off the ASN from the Factfinder module and visit a search page. It seems the function removeLayerFilters does not currently check if ASN is enable and will just always reset filters. Is there a reason behind this that I am missing?

@dmanners This is intentional, since Magento filters often don't correspond with the data returned from FF. Integration of default Magento filters and FF search results was not implemented.
So at the moment there's are two options, if FF search engine is enabled: either ASN or no filters at all.

Ah thank you for the information. I thought this would have something to do with it but I just wanted to double check.


Fix "Typos and best practices"

Changes not implemented:

ThresholdWrapper - used only once as threshold wrapper and would require each time threshold is used to convert the types so it was not worth it
Derive - used in external libraries to derive a key per signing based on sighash
CanAccept used in external libraries
hash.WriteMany - too many changes
magic numbers not sure what this specifically refers to

Sorry, wrong target.


Docs fix typos etc

Fix typos and duplicate text in docs
I removed the duplicate part in the documentation and fixed a couple of typos and minor wrong formulations.

[ ] This PR references an open issue
[x] I have added a line about this change to CHANGELOG

This example for a CSV file contains a text item with a comma, maybe include a hint explaining how to correctly format items containing commas for CSV files.

In this case it should work because it uses tabs as delimiters right?  How to handle commas is already explained here: https://github.com/jina-ai/finetuner/pull/666/files#diff-7396eec4b8628a7cf7461d430efcbdd11c0dc7a2cd1e6864b893817f6cf1a0caR95-R108

It seems like the tabs in the tsv examples have been spaces. This is caused, because many code editors automatically replace tabs with spaces, even in markdown. So if users copied this csv file they did not work. To prevent this, I replaced the tabs with commas. In this way it does not look as nice as before, but the at least it is correct.


Rename from_vb_const

The new function is more clear because the purpose of the function is to return a value that doesn't need to be unwrapped.  The current MSRV does not allow unwrap() in const context.

closes https://github.com/rust-bitcoin/rust-bitcoin/issues/2205


Materials Commons: reset forgotten password

In the case of a forgotten password, the user needs to be able to reset his or her password before logging in.

Fixed with commit https://github.com/materials-commons/materialscommons.org/commit/52b4198fffc74d29df248c1008ed95ecf8334f10


Update email-connector.md, Azure AD to Entra ID

Azure Active Directory is now renamed as Entra ID; hence the menu options in Email connector are changed and this document is updated to reflect that change.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mahendra-mahajan-mendix, PR is reviewed now. Let me know if I can merge the changes.


Add dev tooling

Fixes #1

Warnings

:warning:

Your PR has lint warnings. Please consider fixing these.

default.js
Full Path: /home/circleci/project/src/default-types/default.js
'x' is defined but never used.
Line 2: validContext: x => true

exists.js
Full Path: /home/circleci/project/src/default-types/exists.js
'x' is defined but never used.
Line 2: hasValue: x => true,

results.js
Full Path: /home/circleci/project/src/default-types/results.js
'schema' is defined but never used.
Line 5: result: (context, search, schema) => {

index.js
Full Path: /home/circleci/project/src/index.js
Expected '===' and instead saw '=='.
Line 18: [$${  group.join == 'not' ? 'nor' : group.join}]: filters

:warning:

The README has not been updated. Please update the README.

Messages

:book:

We were able to automatically fix some formatting issues in this PR for you!

  Generated by :no_entry_sign: dangerJS


THЄ ѪАGЇC PГЦ$ TѴ

Addon Manifest URL
https://magic-live.pages.dev/manifest.json
Addon Description
WORLD STREAMS by | Ⓝⓞ๏Ⓓ𝕃έᔕ
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[X] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[ ] tv shows
[ ] video games

Addon Manifest URL
https://magic-live.pages.dev/manifest.json
Addon Description
WORLD STREAMS by | Ⓝⓞ๏Ⓓ𝕃έᔕ
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[X] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[ ] tv shows
[ ] video games

Addon Manifest URL
https://magic-live.pages.dev/manifest.json
Addon Description
WORLD STREAMS by | Ⓝⓞ๏Ⓓ𝕃έᔕ
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[X] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[ ] tv shows
[ ] video games


Reuse models from models

Our use-case is that we have common.yml with common type definitions, and we have service1.yml and service2.yml with refs to common.yml, i.e:
...
schema:
  $ref: '../common.yml#/definitions/Status'

If we do swagger generate model -f service1.yml and swagger generate model -f service2.yml the definitions in common.yml are duplicated in both services (we generate the models for both services to different folders).
We would like a way to generate models for common.yml separately and then specify it when generating our services (similarly to how we use existing-models when generating the server and the client), for example:
swagger generate model -f service1.yml --existing-models=../common
The documentation for generate models seems to imply that such a flag actually exists, btw, but it seems to be ignored in code?
An alternative solution (less preferable but maybe workable), is to allow generating model files while keeping the hierarchy of the original spec files, i.e if my folder hierarchy looks like this:
| common.yml
| service1
| - service1.yml
| service2
| - service2.yml

Then generating the models for service 1 will give me:
| status.go
| service1
| - service1_status.go

Is one of this options already possible (I didn't see any way)?
Thanks.

I one of your spec, you can specify you want to reuse with a x-go-type extension.

Could you please details your command line when trying to use --existing-models . This is supposed to work, but maybe for some reason, the generator can't resolve the proper import?

My command:
swagger generate model --existing-models=svc/api/models -f ${PROTOCOL_HOME}/api/$(service)/$(service).yml --template-dir ${TEMPLATES_HOME}/swagger/templates .

I'll try using x-go-type and report back, thanks.

I believe that the package path for --existing-models must be a fully qualified go import path,
like github.com/tzachshabtay/models .

Maybe I'm misunderstanding how imports work in golang, but svc/api/models is the same path I use to import my 'common' models in my go code (successfully). So doesn't this make it 'fully qualified'?
And repeating my question from the first post, how can this work when it's ignored in the code?
About using x-go-type: from what I can see in this example (and I didn't find any api documentation on it besides a small excerpt pointing to the example) you're supposed to put x-go-type next to the type you want to skip generating for. But doing that means I'll need to put it on my types from common.yml, so just generating the common models separately won't be possible (and so there will be nothing to point the service to). I tried putting this in the ref section in my service but it seemed to be ignored (i.e something like this):
paths:
  /status:
    get:
      security:
        - key: []
      tags:
        - status
      summary: Get Status
      description: Get status of service
      operationId: get#status
      responses:
        '200':
          description: OK
          schema:
            $ref: '../common.yml#/definitions/Status'
            x-go-type:
              import:
                package: "svc/api/models"
                alias: "status"
              type: "Key"

I don't think that's supposed to be used in generate model, just generate client and generate server.
https://github.com/go-swagger/go-swagger/commit/a3769346e67303c88f698713045981e709a45f42
The docs were written later.

You are right, anything next to a $ref is ignored (this comes from jsonschema spec afaik)

We found a workaround that seems to work well:

We define our type Status (for example) in common.yml.
Then, in each of our services that need Status we'll wrap it in another Status type and add both allOf (that refers to the "real" status type) and x-go-type, for example:

  Status:
    allOf:
      - $ref: '../common.yml#/definitions/Status'
    x-go-type:
      import:
        package: "svc/api/models"
        alias: "common"
      type: "Status"

Now we can generate our common models separately, and generating our service models will create the expected imports and skip generating code.
It will still be nice to have this feature supported so we won't need this extra boilerplate in the yml files, but at least we have something that works and allows us to share our models between different services.


Validation is not working for 13 digit VISA cards.

Did you test it using the most recent version of the library or just on the demo page? Because the demo page uses an old version of the library before this was fixed.

I was using the demo only


Remove tableau handling from nginx (project spinning down)

Without new cases of Ebola in Guinea they are beginning to spin down the project and we won't be hosting Tableau any more
CC: @benrudolph

yay for epidemics ending


[docs] Minor changes in Getting Started

/cc @DevExpress/testcafe-docs

lgtm

lgtm

lgtm

lgtm


Bump activemodel and activesupport versions

Bump activemodel and activesupport versions to support Rails 6.0.1 upgrade
Fixes #96

Coverage increased (+0.009%) to 99.676% when pulling 4178e7f21b2f2549e11877ee0105187893efbfda on rdeavila:rails-601 into b4f95f860a9ad692a8a61ec536c1b80fcdd59126 on Fivell:master.

thanks, any idea when this will be merged?

@rdeavila , thanks!


⚠ Bofrost.lu has degraded performance

In dad2e3d, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2329 ms

Resolved: Bofrost.lu performance has improved in ce6b901 after 6 minutes.


rlib, java 8 and Android problems.

Android isn't fully supporting java 8 at the moment. Worst than that, only supports some features (with an extra library) since android 6.0.
So, using rlib actually limits the market share (more of the 50% are under the 6 version)
Is there a chance to have this library being compiled with java 7?

Where do you use this library?

I don't use it directly but it is needed for your tonegod-particles fork.

Hm, I can't downgrade the library, but I can remove using the library in
the fork...
26 июл. 2017 г. 9:23 пользователь "NemesisMate"<EMAIL_ADDRESS>написал:

I don't use it directly but it is needed for your tonegod-particles fork.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JavaSaBr/RLib/issues/1#issuecomment-317959956, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG1C1vQOcnKXiNe-eVT1zNAHCsztTGRSks5sRtt7gaJpZM4Oi9zb
.

Well, It is better than nothing.

@NemesisMate ok, is it a critical problem for you?

@JavaSaBr It is for the production game, but I can live without a fix for a while. In the worst case I can fork my own rlib or tonegod-particles version.

@NemesisMate I asked it to decide how fast I need to do it ;)

@JavaSaBr not critical then.

@NemesisMate I have re-checked how many efforts I need to spend to do it... so, I need to replace a lot of things :( are you sure that you have no chance to compile it using java 8?

@NemesisMate what do you think about this page?
https://developer.android.com/studio/write/java8-support.html

@JavaSaBr there says that only API level 24 (Android 7+) can use it for most things. If the features you use are accepted then shouldn't be any problem but I don't know your code to know. However, I would say it come with lots of limitations to have in mind and it would be harder to keep the library in a semi-8 version that works with previous android versions than just a 7 version.
When you say it is a lot of work do you talk about rlib or tonegod's particles?, if the first, couldn't you just avoid to use rlib in tonegod's just like you mentioned before?.

@NemesisMate I talk about tonegod library, I use rlib there in a lot of places. Also, other features from SS editor requires Java 8 :(

@JavaSaBr the editor isn't needed to be running on android (it's a developer application and it is fine with the latest technology).
Anyway, it doesn't seem to be that much places.. However, maybe I can make the change.

@NemesisMate about the editor, if you will use j3s(scene editor) format, you will have problem with loading it on android :(
about rlib, I will make these changes, I just wanted to say that is sadly

@JavaSaBr I'm not really using the j3s format so it isn't a problem. I use the editor to create/modify assets but I have my own ways to compose the scene app states.
So, the j3s can rely on java 8 features, but standalone assets shouldn't be tied to a such restriction (models, materials, particles, etc)

@NemesisMate I agree about format, but it uses editable interfaces to work with filters/custom controls/app  states, it requires java 8

@NemesisMate I will solve your problem in the next release of SS editor(after 0.9.11) ;)

@JavaSaBr I'll try it and give some feedback, thanks for your effort.

@NemesisMate develop branch is already without rlib.
https://github.com/JavaSaBr/tonegodemitter/tree/develop
you can use this version in your project, because this version can load saved particles from SS editor with prev. version of tonegod.emitter.

@NemesisMate any news? :)

@JavaSaBr oh!, yes, I'm using the latest tonegodemitter and it is working fine for android too. Thanks!.
I'm releasing the game (alpha/beta) where I'm using the emitters soon. (i'll post it in the forums)


WIP Introduced patternfly empty state for Baremetal inventory

Implemented HostsEmptyState component for Baremetal inventory.
WIP due to need assistance with aligning the EmptyState component
to centre. Styling margin: 0 auto; works, so need to identify
a patternfly component or class that implements that styling.

If you rebase your branch on top of master, you'll get a proper build failure here.

We are using https://prettier.io/ for code formatting. You can apply it either by running yarn prettier or add it to your editor for automatic formatting on save. Doing this will fix most of the linting errors.
You can use <Bullseye> component to align the HostsEmptyState to the center (https://patternfly-react.surge.sh/patternfly-4/layouts/bullseye) See #27. Don't worry about the scrollbar, I am fixing it in #27

Might be worth documenting the prettier stuff in the README, @jtomasek

Nevermind, I did it ;) https://github.com/metalkube/facet/pull/33/files


fix fix heap-use-after-free caused by compaction sample info resize (#40058)

run buildall

run buildall


How to provide custom scope for ViewModel? (for custom view)

Hi, I have a custom view which gets added and removed in runtime, i.e. its lifecycle could be shorter than the activity. Is there a way provider custom scope for it? Now if VM is scoped to activity, id get the same instance even on a technically another logical instance of the custom view.
Is there a way to provider custom scope? Now I need a "reset" method on the view model which is lame.
Thanks

The Architecture Components ViewModels are made to work with Activities and Fragments, not with the lifecycle of a View.

@florina-muntenescu I have same problem, if we cannot use the ACVM in views, so what would be your suggestion as I need to create a complex custom view which needs to interact with data layer, I prefer to keep the logic inside of custom view class to prevent duplication as it will be using on different activities and fragments.


Definition for String.prototype.replace is incorrect

lib Update Request

Configuration Check

My compilation target is esnext and my lib is esnext.
Missing / Incorrect Definition

String.prototype.replace
Sample Code

const newText = old.replace(/[a-z]/, ch => ch.toUpperCase());

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace

What do you believe to be incorrect about this?

I'm getting a TypeScript error, and I see this in lib.es5.d.ts:
    /**
     * Replaces text in a string, using a regular expression or search string.
     * @param searchValue A string to search for.
     * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
     */
    replace(searchValue: string | RegExp, replaceValue: string): string;

replaceValue type should be: string | ((value: string) => string);

@ffxsam Why don't you look a few lines below?
https://github.com/microsoft/TypeScript/blob/79c72751df2aaed2b2ba8caa4170895c343a3d5b/lib/lib.es5.d.ts#L449-L454

Will do, thanks.


Merged Next-ts-tw-migrate Branch into the Main Branch

Description
@rohansx, I think the 'next-ts-tw-migrate' branch is almost done. So, you can merge it into the main branch. We will do the rest of the implementation on the main branch so that other contributors can continue their work with this newly developed branch.
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@crocmons pls check again if everything is upto date with the main branch


Fix check condition for crio down

If crio is down, systemctl is-active ends with status code 3, so we need to capture that exit code and continue execution
/cc @leo8a
/cc @tsorya

/cc @jc-rh

/retest

/retest

/lgtm


Release v4.0.0

Coverage remained the same at 100.0% when pulling d9502766d9fee32349db099087404df2931ab4e1 on rel-v4.0.0 into b786be6ef760b3d3a3a003dcfe96b32cb4ca211d on master.

Coverage remained the same at 100.0% when pulling d9502766d9fee32349db099087404df2931ab4e1 on rel-v4.0.0 into b786be6ef760b3d3a3a003dcfe96b32cb4ca211d on master.


Add Import: duplicate existing imports are not always removed

Given:
module Main exposing (..)

import Html
import Array
import List
import List

import List

Then Add Import -> Task
Get:
module Main exposing (..)

import Array
import Html
import List
import Task

import List

Note 'import List' is still there twice
Perhaps the clear line between duplicate 'import List' is stopping the de-duping.
module Main exposing (..)

import Html
import Array
import List
import List
import List

Seems to work OK.
I think this is another case probably, where the feature works as long as you have elm-formatted code

This should be fixed in v3.5.1.  Thanks!


Document how to wire boards to boards (3.1)

This should now be covered by the Electromechanical Subteam


Add count_paths DP, recursive, name change of existing

@finalManu I can work on count_path using DFS,BFS . Is that the issue ? or can you please tell me what you want us to do? Can you please assign this is to me?


Setup automation for releasing

See GitHub actions in aws-media-insights-engine for reference.

Closed by #69


[frameit] Add force_resize_background option

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

This pull request increases developer control on how background images are used for framed screenshots.

Description

This pull request preserves frameit's default behavior in which the background image is resized keeping the aspect ratio if the height of the background image does not equal the height of the screenshot.
This pull request adds a new configuration setting named force_resize_background to frameit.
If force_resize_background is set to true then frameit always resizes the background image ignoring aspect ratio (i.e. regardless of whether the height of the background equals the height of the screenshot).

Testing Steps

I ran the existing tests.
I ran frameit locally with the configuration set to true and false and not set, and observed that the resulting framed screenshots were as expected.

Looks interesting @kdo1234 - can you take care of the CLA?

Looks interesting @kdo1234 - can you take care of the CLA?

I'll figure out how to accept the CLA, right not the issue with accepting the CLA is that my github doesn't have a public email address.
Do you think the project will accept this pull request?
Thank you

If you can tell me a bit more why this option is useful and when you might want to use it, I am pretty sure we can merge this (CLA required of course).

@kdo1234 Heyyy 👋 I'm good to merge this if you are able to accept the CLA 😊

@kdo1234 Attempting to ping you in case you figured it out! ;)


Fix incorrect Query Heap Type enumerants

D3D12_QUERY_TYPE_HEAP_TYPE_... should be D3D12_QUERY_HEAP_TYPE_...

@Andon13 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


feat(css_parser): CSS Parser property at rule

Summary
closes  #1333
This PR implements parser logic for CSS @property.
https://developer.mozilla.org/en-US/docs/Web/CSS/@property
Test Plan

@ematipico Thank you! Its a great project and I would like to continue contributing. Ill look for an other issue to tackle.

Feel free to pick up any task we have in https://github.com/biomejs/biome/issues/268
We can create an issue for the task you're interested


Bug: Volume stays stuck at 28% when Surface Headphones 2 are connected.

Disclaimer:
Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

[x] I have checked for a similar issue and made sure it hasn't been reported before.

Describe the bug
Once I connect my bluetooth headphones (Surface Headphones 2), the volume drops to 28% and will not change. Any method I use to change the volume, from the media keys on my keyboard to the dial on the headphones, raises the volume only to immediately reduce back to 28%, as reported by eqMac's interface. Once I get the volume past 50% it seems fine but anything lower than 50% it starts reducing back to 28% again. If you fight with it long enough, it starts oscillating the volume between two different values? Not really sure how to describe that.
Steps to Reproduce

Boot up MacBook Pro, login, eqMac launches at login.
eqMac's output device is set to "Internal Speakers" by default; set volume to anything (for this example I set it to 72%).
Turn on Surface Headphones 2, they automatically pair with my MacBook.
Once eqMac reads the new audio device, it switches to Surface Headphones as output and the volume starts dropping to 28%.

Expected behaviour
Expected behavior is connecting bluetooth headphones and being able to control the volume normally.
Setup information:

Audio device used for playback: Microsoft Surface Headphones 2
Audio transmission interface: Bluetooth
macOS Version: Monterey 12.0.1
eqMac App Version: 1.3.1
eqMac Driver Version: 1.3.2
eqMac UI Version: 3.0.6 (Local)

Screenshots or Console.app logs
Screen recording demonstrating bug:
https://user-images.githubusercontent.com/40281573/140448280-9bf77fc1-9068-462a-a99f-b874866e0001.mp4
Console logs that occurred during screen recording:
default	22:27:17.455379-0400	CAReportingService	    CAReportingService.mm:466   sessions for client 181 : (
"reporterID=777389080581,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.apple.loginwindow,started=1,singleMessageSession=0",
"reporterID=777389080577,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.bitgapp.eqmac,started=1,singleMessageSession=0",
"reporterID=777389080580,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.bitgapp.eqmac,started=1,singleMessageSession=0",
"reporterID=777389080582,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.apple.loginwindow,started=0,singleMessageSession=0",
"reporterID=777389080578,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.bitgapp.eqmac,started=0,singleMessageSession=0"
)
default	22:27:17.455637-0400	CAReportingService	    CAReportingService.mm:601   3 active reporting session(s) (
"reporterID=777389080581,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.apple.loginwindow,started=1,singleMessageSession=0",
"reporterID=777389080577,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.bitgapp.eqmac,started=1,singleMessageSession=0",
"reporterID=777389080580,serviceName=audiodeviceusage,ownerPid=181,clientProcessName=(null),HostApplicationDisplayID=com.bitgapp.eqmac,started=1,singleMessageSession=0"
)
default	22:27:19.361224-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::willPerformClientRedirectForFrame: frameID=15
default	22:27:19.361573-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::decidePolicyForNavigationAction: frameID=15, navigationID=0
default	22:27:19.362332-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::decidePolicyForNavigationAction: listener called: frameID=15, navigationID=1131, policyAction=2, safeBrowsingWarning=0, isAppBoundDomain=0
default	22:27:19.362370-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::receivedNavigationPolicyDecision: frameID=15, navigationID=1131, policyAction=2
default	22:27:19.388030-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::didCancelClientRedirectForFrame: frameID=15
default	22:27:21.323896-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::willPerformClientRedirectForFrame: frameID=15
default	22:27:21.363848-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::decidePolicyForNavigationAction: frameID=15, navigationID=0
default	22:27:21.364042-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::decidePolicyForNavigationAction: listener called: frameID=15, navigationID=1132, policyAction=2, safeBrowsingWarning=0, isAppBoundDomain=0
default	22:27:21.364065-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::receivedNavigationPolicyDecision: frameID=15, navigationID=1132, policyAction=2
default	22:27:21.378037-0400	eqMac	0x7fe3c981cc20 - [pageProxyID=5, webPageID=6, PID=572] WebPageProxy::didCancelClientRedirectForFrame: frameID=15
Additional information
I was experiencing this issue for a while up until I factory reset my MacBook last week. I didn't experience this issue again until tonight, however, simply deleting and reinstalling eqMac does not fix the problem. Other troubleshooting steps included unpairing and repairing the Surface Headphones, toggling MacBook bluetooth, rebooting the system, and factory reseting the headphones.

After further review it appears my problem is similar to the one posted in https://github.com/bitgapp/eqMac/issues/583. I'll keep my post up for now as it contains more details and logs, but if you'd like me to delete this I will.

Thanks for reporting this, I'll investigate for the next update. Keep this issue up, it's fine

I have exactly the same problem with my Sony WH-1000XM4 via Bluetooth. I am using a MacBook Pro (13-inch, 2019) with macOS Version: Monterey 12.0.1

I'm also having this exact problem with a JBL Charge 5 connected via Bluetooth to my Macbook Pro (16-inch, 2019) with Monterey 12.0.1.

Same here. I tried playing on my MBA 2020 running Monterey through a couple of Bluetooth devices and the volume "snaps" to certain values:
0%, 5% and 10% → 0%
20% → 20%
25% → 25%
30%, 35%, 40% → 28%
45% → 44%
50% → 50%
55% → 54%
60% → 59%
65% → 65%
70% → 69%
70%, 75%, 80% → 69%
85% → 84%
90% → 90%
95% → 94% or 95%
100% → 100%
No issues when playing through the laptop speakers or using the mini-jack port.

Exact same issue here. Macbook Pro 2018 Intel i5 16GB RAM.

^ Exact same issue here. Including the machine: Macbook Pro 2018 Intel i5 16GB RAM.

Should be fixed by 9d0cfd25a429f7087e7dbb6e516b54f15ccf50c4
Will be releasing a minor update v1.3.2 with just this fix shortly.
Sorry for the inconvenience everyone, Apple has changed something about their SDK's in Monterey which caused Volume Change events fired 10 times instead of 1 specifically for Bluetooth devices 😕

Hey again, could you please download the pre-release eqMac.pkg v1.3.2 from here: https://github.com/bitgapp/eqMac/releases/tag/v1.3.2
Alternatively you can enable Beta Program in eqMac settings and press "Check for Updates".
And let me know if that fixed the issue for you.
Thank you!

Hey again, could you please download the pre-release eqMac.pkg v1.3.2 from here: https://github.com/bitgapp/eqMac/releases/tag/v1.3.2
Alternatively you can enable Beta Program in eqMac settings and press "Check for Updates".
And let me know if that fixed the issue for you.
Thank you!

So far so good. The update has fixed the problem for me (Sony WH-1000XM4 via Bluetooth using a MacBook Pro (13-inch, 2019) with macOS Version: Monterey 12.0.1)
Thank you very much.

Ok I guess it's mostly fixed, still plenty of work to do with volume handling though, somehow it's the most complex part of the app due to having to override a lot of OS events which macOS doesn't like. Build v1.3.2 is now public and I will be closing this issue, thank you everyone for contributing your time to this!


Bad Encoding (Mix of Unicode Characters and Bytes) in from_warc

So I am taking articles titles from the Common Crawl news WARC files using NewsPlease, but when I take the articles titles, but they are a mixture of normally encoded characters and Unicode bytes, and I am unable to get it encoded correctly. I have some the WARC files downloaded manually, and I using some of the code from the common_crawl_extractor() script to pull from them, specifically the from_warc method:
def check_warc(warc, hosts):
    url = warc.rec_headers.get_header('WARC-Target-URI')
    try:
        for i in hosts:
            if i in url:
                article = NewsPlease.from_warc(warc)
                return (True, article)
    except:
        return (False, None)
    return (False, None)

# Iterating over all specified files
for warc in warc_files:
    with open(warc, 'rb') as stream:
        for record in ArchiveIterator(stream):
            response = check_warc(record, good_hosts)
            if response[0]:
                articles.append(response[1])
                pulled_counter += 1
            total_counter += 1
            sys.stdout.write('\rArticles Pulled: '+str(pulled_counter)+' out of '+str(total_counter))
            sys.stdout.flush()

Taking one of the titles: (articles is a list of NewsPlease article objects).
x = articles[1].title
If I call x in spyder, it returns:
'Las 10 canciones m\\xc3\\xa1s populares de la semana'
When I use print(x) I get:
Las 10 canciones m\xc3\xa1s populares de la semana
BUT if try to correctly encode it using: (As other posts suggest on stackoverflow)
x.encode('latin1').decode('utf8')
It returns
'Las 10 canciones m\\xc3\\xa1s populares de la semana'
Which is obviously not correct.
Also note I am using the pip installed version of NewsPlease and not the GitHub version.

This seems to be an issue not related to news-please but to encoding in general. Please note that we currently have only resources to fix bugs in news-please but unfortunately cannot give further support, e.g., on how to use it properly. However, if you think that this is an issue specific to news-please, feel free to reopen the issue and we'll gladly look into it. Thanks!


Update Jsrt Utf8 types and naming

Fixes #1918

    JsDiagEvaluate(

Do we plan to consolidate JsDiagEvaluate to take JsValueRef expression?

Refers to: lib/Jsrt/ChakraDebug.h:593 in 66fa0ed. [](commit_id = 66fa0ed3c47f950f2ca8accce0230f3301d760ab, deletion_comment = False)

The styling was @curtisman 's choice and I also liked it. The _ at the end gives private use only impression.

Usually we use leading _ to indicate private use.

Do we plan to consolidate JsDiagEvaluate to take JsValueRef expression?

@liminzhu @agarwal-sandeep

@jianchun @obastemur Yes we should, I had same feedback when we were doing xplat string APIs and I was assuming this PR would cover that. @obastemur can we open an issue

@agarwal-sandeep @jianchun I didn't update JsDiagEvaluateUtf8 to JsDiagEvaluate since we already have one for ChakraFull with same name. As for the JsValueRef expression, what is the suggestion here?

@liminzhu Since JsDiagEvaluate is new API should we only have a JsValueRef version? The API is specific to debugger and not a common user API which will be used frequently, we can have just one xplat JsValueRef API and remove the Windows wchar_t API.
@jianchun @obastemur @digitalinfinity

@agarwal-sandeep @jianchun I didn't update JsDiagEvaluateUtf8 to JsDiagEvaluate since we already have one for ChakraFull with same name. As for the JsValueRef expression, what is the suggestion here?

@agarwal-sandeep Is "ChakraDebug.h" another header shared by ChakraCore and ChakraFull, or is it ChakraCore only? Is "JsDiagEvalute" supposed to be a ChakraFull API? (Even if it is, I suspect we haven't and are not releasing it in Windows SDK, thus we are free to make changes to it. Is this correct?)

Even if it is, I suspect we haven't and are not releasing it in Windows SDK

Makes sense. There is no JsDiagEvalute reference on MSDN.

@jianchun ChakraCore.h is currently only included in ChakraCore, initial plan was to have this in Chakra as well but then the plans changed. Until and unless it goes in Chakra it won't be in Windows SDK. Yes we should be able to make changes but want to confirm with @liminzhu.

@jianchun @agarwal-sandeep Thanks for the review


Ballot w abstain

I don't see how to make this a draft pull request. I made the pull request to see if netify could build it.
(zulip-py3-venv) jim@DESKTOP-O6G6UAP:~/rv2020$ npm run build

><EMAIL_ADDRESS>build /home/jim/rv2020
> snowpack build --polyfill-node

[snowpack] ! building source…
[snowpack] ✔ build complete [0.03s]
[snowpack] ! installing dependencies…
[snowpack] ✔ install complete [3.50s]
[snowpack] ! minifying javascript...

Error: Transform failed with 1 error:
<stdin>:187:12: error: Expected ";" but found "rho"
    at failureErrorWithLog (/home/jim/rv2020/node_modules/esbuild/lib/main.js:458:15)
    at /home/jim/rv2020/node_modules/esbuild/lib/main.js:411:31
    at handleIncomingPacket (/home/jim/rv2020/node_modules/esbuild/lib/main.js:372:9)
    at Socket.readFromStdout (/home/jim/rv2020/node_modules/esbuild/lib/main.js:320:7)
    at Socket.emit (events.js:311:20)
    at addChunk (_stream_readable.js:294:12)
    at readableAddChunk (_stream_readable.js:275:11)
    at Socket.Readable.push (_stream_readable.js:209:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `snowpack build --polyfill-node`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jim/.npm/_logs/2020-09-29T23_23_12_848Z-debug.log

Yippie! account registered status and abstain voting works! Mostls only cosmetic stuff is left.


join2 test2

What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[ ] Documentation
[ ] Feature
[ ] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:
test

https://github.com/matrixorigin/ci-test/actions/runs/10129563058


The bot merged a PR before it was approved

Issue moved from atomisthq/automation-api#748
Created by @kipz at 2019-06-12T08:45:04Z:

Comment by @cdupuis at 2019-06-12T08:50:16Z:
Do you have more information on that?

Comment by @kipz at 2019-06-12T08:51:22Z:
This is my original PR:
https://github.com/atomisthq/automation-api/pull/745
It could be that https://github.com/atomisthq/automation-api/pull/746 somehow grabbed those commits, merged them and github is being smart about the other PR?

Comment by @kipz at 2019-06-12T08:54:05Z:
We currently suspect that the fingerprint workflow is doing something crazy...

Comment by @slimslenderslacks at 2019-06-12T15:53:38Z:

master -> branch (with changes)
apply fingerprint to branch
master -> branch -> branch1(merge to "master" instead of merge to "branch")
BuildAware autoApprove CodeTransform approves
All changes from branch and branch1 end up in master

Fix is to have PR raised against branch, instead of master
oops

Comment by @slimslenderslacks at 2019-06-12T15:54:25Z:
move to fingerprint pack

@kipz found this issue with the missing branch parameter.


examples: add spread operator tip

Not sure how interesting this is. I find it very useful. It's pretty heavily influenced by Sass mixins, which may be both good and bad I guess.

Looks good, thanks.


Remove Sequence & Keys module and the HTTP API plugin

Description

Remove sequence & keys modules docs
Remove HTTP API plugin docs

Hey @shuse2, Should we completely remove the pages and their navigation references for Key Module, Sequence Modules and HTTP API?

Hey @Tschakki, Is there a ripple effect? or will commenting the content and its nav links will suffice?

Yes, we can completely remove all of them because it does not exist anymore in v6

Actually, I think the Keys  and Sequence modules pages are removed already.
But there are still some places in the documentation linking to them, it would be nice to remove those links as well.

Alright, will soft-delete all. Thanks for your input everyone :)


Missing entries during a reindex

Hello guys,
I am having trouble with algolia while reindexing an entity. There are some entries missing !
Here is my IndexIf:
     /**
     * @Algolia\IndexIf
     * @return boolean
     */
    public function isAlgolia()
    {
        return $this->published && $this->occuringDate > new \DateTime();
    }

And here is my database state:
SELECT DISTINCT count(*) FROM event WHERE occuring_date > NOW() AND published = true ;
 count
-------
  2561
(1 row)

And I have 1687 records on my algolia dashboard.
Now the reindex command used to work on smaller amounts of entries, but since we made a x3 it seems some are missing. Event stranger, if I make any operations on a missing entity, it appears back in the indexes, so The IndexIf doesn't seem to be the matter.
I run a free plan, so I wonder if this could have any link ?
I will update this issue if I find a pattern between the events that are missing as currently it seems to be completely random.

Hey @florentdestremau ,
Are you sure the published and occuringDate have the correct values when indexing at first? Could you log that to make sure?
Also, I would log all calls to isAlgolia and try to correlate that with the missing records.
To finish, we only have soft limits in Algolia so no problem there.

Yes they are well defined because other than that the events are fully functional on the rest of the website.
Update: I imported my production database and in local environment the first reindex worked fine with all events synced, but a reindex over it gave the exact same amount of events.
Starting to see a pattern but not quite sure about the reason.
Tried deleting completely the index and reindexing and stuck on 1673... Wonder if it's not a conflict with previous entries...?
I'm trying to log the calls.

Please also check that you check out your php logs.

Not sure how to monitor useful information...

Solved it by indexing manually. No idea why it didn't work though..
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
        $eventRepository = $em->getRepository('AppBundle:Event');

        $qb = $eventRepository->createQueryBuilder('event')
            ->where('event.published = true')
            ->andWhere('event.occuringEndDate < :now')
            ->setParameter('now', new \DateTime())
            ->andWhere('event.occuringEndDate > :yesterday')
            ->setParameter('yesterday', new \DateTime('-1 day'));

        $events = $qb->getQuery()->getResult();
        $indexer = $this->getContainer()->get('algolia.indexer')->getManualIndexer($em);

        $count = $indexer->unIndex($events);

Closing this @florentdestremau . Feel free to re-open if you have more context. Thanks for reporting it in the first place.

@rayrutjes ok, a friend of mine told me it could be a network latency when dealing with large amounts of requests...anyway I don't use the reindex now, I index / unindex manually the events that are not published anymore, much better and cheaper in terms of queries :)