British National Grid prj - I don't know that shp type

I have 2 zip shapefiles, I believe they are both using the British National Grid (EPSG:27700)
One of them works fine, it's .prj contents are:
PROJCS["British_National_Grid",GEOGCS["GCS_OSGB_1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]

The other does not work and has this:
PROJCS["British National Grid",GEOGCS["Ordnance Survey Great Brit",DATUM["Ordnance Survey Great Brit",SPHEROID["Airy 1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]

They seem to have slightly different values:
PROJCS: British_National_Grid vs British National Grid
GEOGCS: GCS_OSGB_1936 vs Ordnance Survey Great Brit
DATUM: D_OSGB_1936 vs Ordnance Survey Great Brit
I cannot control the output of these files as the latter comes from the Scottish goverment website.
Is there anything I can do to correct it during the processing with this lib?
I've uploaded "good" and "bad" zip files for reference
bad.zip
good.zip
It's not an invalid shapefile because uploading to https://mapshaper.org seems to process it fine

OK cleaning up the bad.zip and only leaving the single shape file inside seems to work. I'm now thinking the library is choking on non shapefile files. I'll manually extract the contents as a workaround and manually feed in the .shp and .dbf

it's the shp_EFAs_20221003 file that it is choking on as it's shape type is...null

is that even legal in shapefiles? I thought no and had a test that checked that we errored, but looking at the spec it doesn't say you can't

I'll be honest I'm very new to shapefiles, where can I find the shape type equalling "null"?. Happy to put in my own checks for excluding those files to avoid it erroring.

well the issue is that when you open a zipfile with 4 shapefiles in it this library tries to convert all 4 of them, and if one of them breaks then the whole thing breaks so that's why you're getting the error. So I think it's technically an error in this library.

Leaving a random note in case anyone has weird behaviour with British National Grid shapefiles.
I have a scottish shapefile and the resulting geojson polygons are offset from their real positions by ~50 meters or so. The .prj has this:
PROJCS["British National Grid",GEOGCS["Ordnance Survey Great Brit",DATUM["Ordnance Survey Great Brit",SPHEROID["Airy 1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]

If I replace it with a shapefile .prj I know is acurrately parsed, it lines up perfectly with the terrain:
PROJCS["British_National_Grid",GEOGCS["GCS_OSGB_1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]

I have no idea why whatever tool created the 1st .prj file has created it in such a way, but from now on I'm going to parse the .prj file, and replace it's contents with the 2nd if I detect it's British National Grid just to be sure.
Fixes that line up the polygons with the terrain correctly:
SPHEROID["Airy 1830" -> SPHEROID["Airy_1830"
GEOGCS["Ordnance Survey Great Brit" -> GEOGCS["GCS_OSGB_1936"
PROJCS["British National Grid" -> PROJCS["British_National_Grid"
I understand very little about projection systems so maybe there's a better way of fixing it but for now I'm going to do a text replacement if I detect it 🤷


NullPointerException - SendBird$6.onTimeout

SDK Version: 3.0.42
We are using SDK example to build our app and we are getting this exception lot of time with all most all user. In our crash reporting, we are not able to identify in which class exception is coming.
 Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sendbird.android.WSClient.initWebSocket(java.lang.String, java.lang.String)' on a null object reference com.sendbird.android.SendBird$6.onTimeout (SendBird.java:1189) com.sendbird.android.CountDownTimer$1.run (CountDownTimer.java:64)
So we need a solution how we can remove this exception and why is it occurring?

Could you check the latest version SDK? (3.0.46)
The issue you encounter has been fixed.


CounterLabel should forward ref and dom props

CounterLabel should forward both dom props and refs tot he underlying box
Closes # (type the issue number after # if applicable; otherwise remove this line)
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[x] Added/updated tests
[ ] Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[x] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Looks great! Just had a style question and wanted to hear what your thoughts were 👀

I don't see the question!


start AppStart span when installing activity lifecycle instrumentation

This fixes issue #560 by calling AppStartupTimer#start in ActivityLifecycleInstrumentation#install.
Since start is idempotent, this will still work if a way to pass in a pre-started timer to the instrumentation is added later.
Added tests based on SlowRenderingInstrumentationTest. To verify the changes:
./gradlew :instrumentation:activity:testDebugUnitTest
./gradlew check

I don't have permission to merge this myself. Did you want to wait for a second reviewer, or do you want to merge it yourself?

I am still wondering if we won't be better served long-term by having the timer started even earlier in the lifecycle, like perhaps as early as the agent can....but for now, it seems like starting it at all is an improvement over not starting it. 😬

I see what you mean. I think this use case might even require the timer to start before the agent is initialized, to be fully accurate. But yeah for now it's better to have it started rather than getting nothing.

If the goal is to start the span as early as possible, you can always back-date the start time to when we know the process started. In API 24, Android added Process.getStartElapsedRealtime() and on 33, they added Process.getStartRequestedElapsedRealtime(). Both will get you pretty accurate times for when the process started without having to read the proc file's timestamp like we had to do in the old days.

I would be happy to make a follow-up PR trying that.
One possible downside of this approach is you might get people asking "why does my app take longer to launch in API 24 and later?" when in reality, it's just measuring something different on different versions. But maybe that's an edge case not worth worrying about?

A lot of apps have minSdk set to 24+ now, and the ones that don't likely have very low usage on API < 24. Given this, I think it's OK if we document this appropriately.


Enable two factor authentication

Description:
Add two factor authentication support to built-in auth_provider
Enable 2FA
Add enable_2fa: true to homeassistant auth_provider. This option will enable all users to use 2FA, however for existing user, no migration method provided yet. For those users, we will give warning message and ignore 2FA step.
Changing to add user script
Right now, we still don't have UI to create user, the only way is using script documented at #14365. In case to enable 2FA, I make following change:
Add a optional argument -t True if you want to enable 2FA, so for create new user, you need
> hass --script auth -c your_config_dir -t True add your-user your-pass
User created, please set up Google Authenticator or any other compatible apps like Authy with key: SOMEKEY

Script will generate a KEY for that user, you can use this KEY to create an entry in Google Authenticator

Then you can test your Time-based OTP by
hass --script auth -c your_config_dir -t True validate your-user your-pass --code YOURCODE

This PR needs home-assistant/home-assistant-polymer#1372 to allow UI login work
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
# configuraiton.yaml
homeassistant:
  auth_providers:
    - type: homeassistant
      enable_2fa: true

auth:

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I like the idea. The question is, if we want do it like citrix netscaler and don't attach 2fa to a single provider. We should have a flow like: login -> auth provider -> auth -> (if enable) 2fa -> core
In this case you can attach 2fa behind any login provider and you enter the token after you login correctly with first auth provider.
Otherwise any other auth provider need implement the same logic to support 2fa too.

Yeah, it would be cool if we can mix different primary auth with different 2fa. I've been looking at adding u2f as 2fa.

We have only one auth provider now. This is just a very initial version of MFA, so it depends on facility built by built in auth provider. We can release this with the basic user system, then improve it in future PR.
Yes, I agree with you. Ideally, it should have its own storage and decouple with auth provider (the only link between them just a uername now)

So my initial plan was to have 2FA be part of auth providers, like in this PR. That way, we don't prescribe how 2FA should work inside Home Assistant.
However, I see now that adding a 2FA method after an auth provider might make more sense and now I am no longer sure what the right approach is.
Just because we don't have a system right now should we add it to the auth provider. It would mean that we can never remove that support as we can't do breaking changes for auth providers as that would lock people out. Maybe it's just a feature that we implement in the second phase of auth. (first being a working implementation of just user/pass)

I think even we finished all p1 tasks, we still need to call this experimental feature, that means we can make break change, didn't we?
I have few hours tonight, let us see how many progress I can make towards plug-able module. Current implementation has security concern, if someone leaked his auth_provider data storage, the 2FA secret will be leaked as well. A separate module with its own storage will make future hardening much easier.

Cannot finish the plugin module changes in time, however, this PR is good state, fixed @balloob review comment by multi-step flow.
Have to leave now.

Plug-able version on the way.


add latest coordinator configs to glossary

closes https://github.com/WalletWasabi/WasabiDoc/issues/1755 https://github.com/WalletWasabi/WasabiDoc/issues/1738 https://github.com/WalletWasabi/WasabiDoc/issues/1736
For GUI users the tooltip is self explanatory.
Adding it here to the glossary for non GUI users and a good way to have it at least mentioned somewhere in the docs, including the default values.

@MarnixCroes this documentation contains a common problem that confused rates with percentages. Yes, rates can be expressed as percentages when the relation is between two magnitudes of the same kind but it would be preferable to use rates everywhere and avoid percentages.

@MarnixCroes this documentation contains a common problem that confused rates with percentages. Yes, rates can be expressed as percentages when the relation is between two magnitudes of the same kind but it would be preferable to use rates everywhere and avoid percentages.

fixed in https://github.com/WalletWasabi/WasabiDoc/pull/1775


about XSCOM

Hi williamspatrick,
I boot op-build1.7, And there is an error message on IPL.
Can you give me some advise?thanks.
What's the userdata1 mean?Can you give me some matirial of xscom? I don't the function and theory of xscom.
UserData1 HMER value (piberr in bits 21:23) : 0x00c0040000000000
In spec bits 21:23:
HMER0_XSCOM_STATUS: 000 = no error
001 = XSCOM blocked due to pending error
010 = chiplet offline
011 = partial good
100 = invalid address / address error
101 = clock error
110 = parity err
111 = time out
110.60816|================================================
110.64730|Error reported by xscom (0x0400)
110.65466| XSCom access error
110.65467| ModuleId 0x07 XSCOM_DO_OP
110.65467| ReasonCode 0x0401 XSCOM_STATUS_ERR
110.65467| UserData1 HMER value (piberr in bits 21:23) : 0x00c0040000000000
110.65468| UserData2 XSCom address : 0x00000000006b0328
110.65468|User Data Section 0, type UD
110.65468| Subsection type 0x05
110.65468| ComponentId errl (0x0100)
110.65469|User Data Section 1, type UD
110.65469| Subsection type 0x15
110.65469| ComponentId hb-trace (0x3100)
110.65469|User Data Section 2, type UD
110.65470| Subsection type 0x04
110.65470| ComponentId errl (0x0100)
110.65470|User Data Section 3, type UD
110.65470| Subsection type 0x06
110.65471| ComponentId errl (0x0100)
110.65471| CALLOUT
110.65471| HW CALLOUT
110.65471| Reporting CPU ID: 8
110.65471| Called out entity:
110.65472|User Data Section 4, type UD
110.65472| Subsection type 0x06
110.65472| ComponentId errl (0x0100)
110.65472| CALLOUT
110.65472| PROCEDURE ERROR
110.65473| Procedure: 85
110.65473|User Data Section 5, type UD
110.65473| Subsection type 0x15
110.65473| ComponentId hb-trace (0x3100)
110.65474|User Data Section 6, type UD
110.65474| Subsection type 0x15
110.65474| ComponentId hb-trace (0x3100)
110.65474|User Data Section 7, type UD
110.65475| Subsection type 0x15
110.65475| ComponentId hb-trace (0x3100)
110.65475|User Data Section 8, type UD
110.65475| Subsection type 0x03
110.65476| ComponentId errl (0x0100)
110.65476|User Data Section 9, type UD
110.65476| Subsection type 0x01
110.65476| ComponentId errl (0x0100)
110.65476| STRING
110.65477| Hostboot Build ID:
110.65477|User Data Section 10, type UD
110.65477| Subsection type 0x04
110.65477| ComponentId errl (0x0100)
110.65478|================================================

XSCOM is the host-based method to access the SCOM logic on the chip.  SCOMs are a method on POWER chips to access internal chip logic while the system is running.  If you are familiar with boundary scan rings, SCOM is a way to access some of the bits within those rings while running functionally with clocks on.
The error is being logged here - https://github.com/open-power/hostboot/blob/master/src/usr/xscom/xscom.C#L516.  So what you have is an error to scom address 0x6b035, which is part of the OCC logic.  Historically we've seen this error when the OCC didn't set some of the hardware up correctly.  What platform are you running on?

I haven't seen this XSCOM error before.  Dan, this is the register for
the OCB channel 1.  I think we enabled some of the code for IPL-time
checkstop analysis in v1.7.  Anything you can think of there that might
be causing it?
On Tue, Jan 05, 2016 at 06:42:03AM -0800, Dan wrote:

XSCOM is the host-based method to access the SCOM logic on the chip.  SCOMs are a method on POWER chips to access internal chip logic while the system is running.  If you are familiar with boundary scan rings, SCOM is a way to access some of the bits within those rings while running functionally with clocks on.
The error is being logged here - https://github.com/open-power/hostboot/blob/master/src/usr/xscom/xscom.C#L516.  So what you have is an error to scom address 0x6b035, which is part of the OCC logic.  Historically we've seen this error when the OCC didn't set some of the hardware up correctly.  What platform are you running on?

Reply to this email directly or view it on GitHub:
https://github.com/open-power/hostboot/issues/46#issuecomment-169019287

--
Patrick Williams

I don't think we ever saw this error during bringup of that function, but there definitely is related code.  @cooktail Are there any other messages?  Can you copy in the entire console output from a clean run (reflash the code)?  Also, clear the sel list and send the results after the boot fails.

Thanks for reply,The issue occur probability,maybe it need 100 times reboot,But I can open trace,then reboot,when it happen again,I send you the log,And PLS help me to Analysis.
what's 0x00c0040000000000 mean? Is XSCOM blocked due to pending error?
UserData1 HMER value (piberr in bits 21:23) : 0x00c0040000000000
In spec bits 21:23:
HMER0_XSCOM_STATUS:
000 = no error
001 = XSCOM blocked due to pending error
010 = chiplet offline
011 = partial good
100 = invalid address / address error
101 = clock error
110 = parity err
111 = time out
thanks again!

The error is '100' actually (remember, we are big-endian so we count bit zero on the left).  However that decode is misleading.  As mentioned above, we've seen this error before in the lab and it has been related to something amiss on the OCC side of things.  @cjcain Do you have any suggestions on what else to look at?

op-build v1.6 also have this issue.

171.22345|FAPI|p8_ocb_init.C: Executing p8_ocb_init ....
171.22345|FAPI|p8_ocb_init.C:  *** Setup OCB Indirect Channel 0
171.22347|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22347|FAPI_I|p8_ocb_init.C: OCB Channel Configuration
171.22348|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22348|FAPI_I|p8_ocb_init.C:   channel number             => 0
171.22349|FAPI_I|p8_ocb_init.C:   channel type               => 2
171.22349|FAPI_I|p8_ocb_init.C:   channel base address       => 0xFFFF7000
171.22350|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22350|FAPI|p8_ocb_init.C: Completing p8_ocb_init ....
171.22351|FAPI|p8_ocb_indir_access.C: Executing p8_ocb_indir_access op 1 channel 0 of length (in 8B) 1....
171.32353|HTMGT|E>waitForOccCheckpoint OCC0 still NOT ready!
171.32353|HTMGT|Send initial poll to all OCCs to establish comm
171.31333|HTMGT|sendOccPoll(flush=n)
171.31334|HTMGT|sendOccPoll: Polling OCC0
171.31334|HTMGT|Send OCC0 cmd=0x00 (POLL), length=0x0001
171.31336|HTMGT|cmd data (up to 16 bytes)
~[0x0000] 10                                     *.               *
171.31337|HTMGT|buildOccCmdBuffer: OCC command (up to 300 bytes)
~[0x0000] 01000001 100012                        *.......         *
171.31339|FAPI|p8_ocb_indir_access.C: Executing p8_ocb_indir_access op 2 channel 1 of length (in 8B) 1....
171.31340|XSCOM|E>XSCOM status error HMER: 00c0040000000000 ,XSComStatus = 4, Addr=6b035
171.31342|XSCOM|collectXscomFFDC: XSCOM COLLECT FFDC STARTED
171.31356|XSCOM|resetScomEngine: XSCOM RESET INTIATED
171.30626|XSCOM|xscomPerformOp - RESOURCE OCCUPIED LOOP Cntr = 128: OpType 0x0000000000000001, Address 0xB0020, MMIO Address 0xB00200, HMER=0000000000000000
171.31365|ERRL|>>addHwCallout(0x00050000 0x6 0x2 0x0)
171.31366|TARG|[TARG] E> Number of Parent chip is not 1, but 0
171.31367|ERRL|>>addProcedureCallout(0x55, 0x5)
171.31368|FAPI_I|fapiReturnCode.C: setPlatError: Creating PLAT error 0x2000001
171.31369|FAPI_I|fapiHwAccess.C: fapiPutScom failed - Target p8 k0:n0:s0:p00       , Addr<PHONE_NUMBER>06B035
171.31370|FAPI_I|p8_ocb_indir_access.C: Put SCOM error for OCB indirect access
171.31370|FAPI_I|fapiPlatHwpInvoker.C: fapiRcToErrl: PLAT error: 0x02000001
171.31373|FAPI_I|E>accessOCBIndirectChannel: Error [0x401] in call to FAPI_INVOKE_HWP(p8_ocb_indir_access)
171.31374|HTMGT|E>writeOccCmd: Error writing to OCC Circular Buffer, rc=0x0401
171.31375|ERRL|commitErrLog() called by 2600 for eid=9000000c, Reasoncode=0401
171.33786|HWAS_I|I>deconfigGard.C: registerDeferredDeconfigure Target 00050000, errlEid 0x9000000C
171.33787|HWAS_I|I>deconfigGard.C: Creating a Deconfigure Record
171.33787|ERRL|>>ErrlManager::sendErrlogToMessageQueue
171.33788|ERRL|I>Send an error log to message queue to commit. eid=9000000C
171.33788|ERRL|<<ErrlManager::sendErrlogToMessageQueue
171.33791|ERRL|I>Got an error log Msg - Type: 0x00000030
171.37161|================================================
171.37162|Error reported by xscom (0x0400)
171.40800|  XSCom access error
171.40800|  ModuleId   0x07 XSCOM_DO_OP
171.40801|  ReasonCode 0x0401 XSCOM_STATUS_ERR
171.40801|  UserData1  HMER value (piberr in bits 21:23) : 0x00c0040000000000
171.40802|  UserData2  XSCom address : 0x00000000006b0328

@dcrowell77 / @cjcain - I got an email with this information but I don't see
it in the issue proper.
On Mon, Mar 21, 2016 at 07:41:30PM -0700, cooktail wrote:

171.22345|FAPI|p8_ocb_init.C: Executing p8_ocb_init ....
171.22345|FAPI|p8_ocb_init.C:  *** Setup OCB Indirect Channel 0
171.22347|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22347|FAPI_I|p8_ocb_init.C: OCB Channel Configuration
171.22348|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22348|FAPI_I|p8_ocb_init.C:   channel number             => 0
171.22349|FAPI_I|p8_ocb_init.C:   channel type               => 2
171.22349|FAPI_I|p8_ocb_init.C:   channel base address       => 0xFFFF7000
171.22350|FAPI_I|p8_ocb_init.C: -----------------------------------------------------
171.22350|FAPI|p8_ocb_init.C: Completing p8_ocb_init ....
171.22351|FAPI|p8_ocb_indir_access.C: Executing p8_ocb_indir_access op 1 channel 0 of length (in 8B) 1....
171.32353|HTMGT|E>waitForOccCheckpoint OCC0 still NOT ready!
171.32353|HTMGT|Send initial poll to all OCCs to establish comm
171.31333|HTMGT|sendOccPoll(flush=n)
171.31334|HTMGT|sendOccPoll: Polling OCC0
171.31334|HTMGT|Send OCC0 cmd=0x00 (POLL), length=0x0001
171.31336|HTMGT|cmd data (up to 16 bytes)
~[0x0000] 10                                     *.               *
171.31337|HTMGT|buildOccCmdBuffer: OCC command (up to 300 bytes)
~[0x0000] 01000001 100012                        *.......         *
171.31339|FAPI|p8_ocb_indir_access.C: Executing p8_ocb_indir_access op 2 channel 1 of length (in 8B) 1....
171.31340|XSCOM|E>XSCOM status error HMER: 00c0040000000000 ,XSComStatus = 4, Addr=6b035
171.31342|XSCOM|collectXscomFFDC: XSCOM COLLECT FFDC STARTED
171.31356|XSCOM|resetScomEngine: XSCOM RESET INTIATED
171.30626|XSCOM|xscomPerformOp - RESOURCE OCCUPIED LOOP Cntr = 128: OpType 0x0000000000000001, Address 0xB0020, MMIO Address 0xB00200, HMER=0000000000000000
171.31365|ERRL|>>addHwCallout(0x00050000 0x6 0x2 0x0)
171.31366|TARG|[TARG] E> Number of Parent chip is not 1, but 0
171.31367|ERRL|>>addProcedureCallout(0x55, 0x5)
171.31368|FAPI_I|fapiReturnCode.C: setPlatError: Creating PLAT error 0x2000001
171.31369|FAPI_I|fapiHwAccess.C: fapiPutScom failed - Target p8 k0:n0:s0:p00       , Addr<PHONE_NUMBER>06B035
171.31370|FAPI_I|p8_ocb_indir_access.C: Put SCOM error for OCB indirect access
171.31370|FAPI_I|fapiPlatHwpInvoker.C: fapiRcToErrl: PLAT error: 0x02000001
171.31373|FAPI_I|E>accessOCBIndirectChannel: Error [0x401] in call to FAPI_INVOKE_HWP(p8_ocb_indir_access)
171.31374|HTMGT|E>writeOccCmd: Error writing to OCC Circular Buffer, rc=0x0401
171.31375|ERRL|commitErrLog() called by 2600 for eid=9000000c, Reasoncode=0401
171.33786|HWAS_I|I>deconfigGard.C: registerDeferredDeconfigure Target 00050000, errlEid 0x9000000C
171.33787|HWAS_I|I>deconfigGard.C: Creating a Deconfigure Record
171.33787|ERRL|>>ErrlManager::sendErrlogToMessageQueue
171.33788|ERRL|I>Send an error log to message queue to commit. eid=9000000C
171.33788|ERRL|<<ErrlManager::sendErrlogToMessageQueue
171.33791|ERRL|I>Got an error log Msg - Type: 0x00000030
171.37161|================================================
171.37162|Error reported by xscom (0x0400)
171.40800|  XSCom access error
171.40800|  ModuleId   0x07 XSCOM_DO_OP
171.40801|  ReasonCode 0x0401 XSCOM_STATUS_ERR
171.40801|  UserData1  HMER value (piberr in bits 21:23) : 0x00c0040000000000
171.40802|  UserData2  XSCom address : 0x00000000006b0328

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/open-power/hostboot/issues/46#issuecomment-199599227

--
Patrick Williams

I thought I was going crazy, I figured it was just a glitch repeating the first entry or something.
That xscom error is what we get when the OCC has not properly configured the circular buffer and/or it is not pulling things out of the FIFO.  This typically means the OCC is dead or never started.
(Side note, I have a commit out there to change the callouts for this specific address range, but it doesn't really clear up the issue if you don't look at the callouts in the error log and/or the comments in the code.)

Is the full ipl trace available?  If HTMGT was not able to communicate with the OCC we will still try to read SRAM and see if there are any OCC exceptions.  (Traces would be after the xscom error above)

No response for a year, closing


Fix apns push

Pull Request Checklist

[x] Pull request is based on the develop branch
[x] Pull request updates CHANGES.rst
[x] Pull request includes a sign off

Signed-off-by: N-Pex<EMAIL_ADDRESS>

Thanks for this PR @N-Pex !


Firebase Function with python. Data Are not written to The Firebase Emulator

Hi Folks. So I am Having issues Connecting the local firebase emulator with python. If i use a Callable function in javascript to write data to the firebase with firebase Admin privilege it does so, but when i am trying to use with python, The Callable function gets called but if use the firebase Admin package to write data to the firestore the data are not written. is there Anything that I am Missing?

MacOS Ventura with Python 3.11 and venv.

Hey @BrightX0, could you provide a code sample of how you've implemented the function, please?

Make sure you have:
from firebase_admin import initialize_app
from firebase_admin.firestore import firestore

initialize_app()
db = firestore.Client(project=GCLOUD_PROJECT)

at the very top.
These two are both vital:

initialize_app is in the docs and you are probably already doing this.
Setting your GCLOUD_PROJECT explicitly is important, you might not be doing this.

When you start the emulator, make sure you use the -p <GCLOUD_PROJECT> arg. The default project name is something like firebase-default-emulator-project. Your default project name in the Python SDK will be plucked from your default environment credentials.
At least this is what solved it for me, after finding nothing regarding the default project name in the emulator docs nor across StackOverflow etc. Please let me know if it helps.


Add functionality for building and running agents seprately

Added support for building the agent image using 'build'
Implemented the ability to start the agent container with 'start' with host files mounted into docker container
Updated the script to handle the 'resolution' command with its options(build & run)

Build
./demo/run_demo build alice --wallet-type askar-anoncreds --events
Run
./demo/run_demo run alice --wallet-type askar-anoncreds --events

I’m not clear on what you mean by the “resolution” functionality.  I can see the separation of build and run — is that what you mean?

I’m not clear on what you mean by the “resolution” functionality. I can see the separation of build and run — is that what you mean?

Yes, the separation of "build" and "run" refers to different functionalities in the script. Specifically, "build" is responsible for building the Docker image of the agent, while "run" executes the agent within a Docker container.
In the "run" functionality, we also mount volumes from the host into the Docker container. This allows for a more streamlined development and debugging process, as we don't need to rebuild the Docker images repeatedly.
Additionally, the script supports a default behavior: if neither "build" nor "run" is specified, it defaults to both building and running the agent.

Got it — sounds good.  Thanks!

Looks good!  Can you add a comment to the docs (maybe here: https://github.com/hyperledger/aries-cloudagent-python/blob/main/docs/demo/README.md#other-environment-settings) describing this?  Maybe mention that this can support auto-reloading of code so you don't have to repeatedly restart the demo while developing ...

Looks good! Can you add a comment to the docs (maybe here: https://github.com/hyperledger/aries-cloudagent-python/blob/main/docs/demo/README.md#other-environment-settings) describing this? Maybe mention that this can support auto-reloading of code so you don't have to repeatedly restart the demo while developing ...

perfect, I have updated the docs.
Thank you!

Hi @sarthakvijayvergiya , ran a quick test and it looks good.
Just to be clear - when I ran the demo and edited the code, the demo didn't auto-reload.  I stopped and restarted the agent (didn't have to rebuild the container) and it picked up the changes.  So it's a more efficient process for sure, but should it auto-reload without restarting?

Hi @sarthakvijayvergiya , ran a quick test and it looks good.
Just to be clear - when I ran the demo and edited the code, the demo didn't auto-reload. I stopped and restarted the agent (didn't have to rebuild the container) and it picked up the changes. So it's a more efficient process for sure, but should it auto-reload without restarting?

Oh yeah Good catch, I haven't implemented auto reloading it was just to mitigating the need for repetitive container builds.
Adding auto-reloading would be a great feature, but it's out of scope for this request. I can work on it in another request.


Pretrained model can't be download

Hi, guys! To inference  your test code,  I have to download your pretrained model. But the link seems to be broken。Can you offer a new one ?

Hi Jeremy, thanks for pointing this out! The link in the readme was wrong. Should be pointing to the correct place now.


[Advice] Training using Albert

Hi,
I want to train a custom language using the Albert. How were you able to train Malay with Albert. Any general guidelines or advise ?

https://github.com/huseinzol05/Malaya/tree/master/pretrained-model/albert
I tried on multigpus even write custom customization, loss is not decreasing. It really need a big batch


Added dynamic builder type

Description
Added dynamic function and JsonDynamicBuilder which together adds the possibility dynamically change the children of any builders. It is more detailed described in here:
https://github.com/peiffer-innovations/json_dynamic_widget/issues/28
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Code Style Guide and followed the process outlined there for submitting PRs.
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I updated pubspec.yaml, build.properties, and ios/Podfile with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I am authorized to release this code under the MIT License and agree to do so

UI Change
Does your PR affect any UI screens?

[x] Yes, the relevant screens are included below.

[ ] No, there are no UI impacts with this PR.

Thanks for the PR. I didn't have time to load it up, but did have several style comments I noticed that I wanted to give quick feedback on. I hope to do a deeper PR this weekend.

Thanks! I'm waiting for that 😄


Add Examples to the Documentation

There is only one example present right now in the documentation i.e. Live React Example which can be found here
https://finalspaceapi.com/docs/react/
Add more example with the language and frameworks f your choice.
Resource:
https://v2.docusaurus.io/docs/markdown-features/#syntax-highlighting
https://v2.docusaurus.io/docs/markdown-features/#interactive-code-editor
P.S. it doesn't necessarily have to be  a live example. You can add simple code snippets with their output too.
Here are a few  ideas for this

[ ] Vue
[ ] Angular
[ ] Vanilla JS
[ ] with Axios

Rest is upto your imagination.

@lelouchB, May I add an example with react + axios ?

@lelouchB, May I add an example with Vainilla too? and with Ajax ?

Hey @fernandoamz
Lets do one at a time, I am assigning you for React + Axios
After you are done with, if other are available
I will assign it you
Thanks
Looking forward to your contributions.

HI @lelouchB, Could you share with me an example as to how to install Axios into docosaurus?

HI @lelouchB, Could you share with me an example as to how to install Axios into docosaurus?

👋 Hey @lelouchB, I am new on docusaurus, May you share me an example as to how to add an import into the theme-live-codeblock? I searched information but I couldn't resolve it. Thanks.

Hey , @fernandoamz
Sorry for the late response
I see that you have figured this issue out. Great 👍

Hey @lelouchB, could I make an example in Vue.js? Would very much like to try out your API at the same time ;)

@bobluppes
Ofcourse
I will assign this issue to you as well.

@bobluppes
If you could use the episode endpoint in the example.
https://finalspaceapi.com/docs/episode

Oh cool, is the endpoint finished now. Will definitely use it then. Expect a PR this evening or tomorrow morning

Could i make vanilla JS and axios examples ?

Could i make vanilla JS and axios examples ?

Sure @PSmigielski

Hi @lelouchB, can I make Vue and Axios Examples?

@Devdre1909
yeah Sure,
As you already know this will be static example.
Be as creative as you can.
Use location endpoint and add screenshot of the Output too.

Hi @lelouchB, give me the example in angular

Awesome
Thanks @guzbarraf

Hi @lelouchB  - I took a look at this and I think it's awesome. Could I make an example with SvelteJS and Axios?

Hi @lelouchB - I took a look at this and I think it's awesome. Could I make an example with SvelteJS and Axios?

@fullstackmafia  Sure, Go for It!
Let me know if you have any questions.


Trace Hint / Trace Render Modifications

[ ] * The tracehint should NOT draw the trace- the trace should draw the trace
[ ] * The tracehint should show the width that the trace will get at each offset and the user should be able to "click and drag" to make the trace thicker in the pcb viewer
[x] * The tracehint should have mixed-blend-mode: difference, same as the dimension overlay as shown in the code screenshot below
[ ] * There should be two circles on a trace hint when the trace_width is defined. One circle corresponds to the trace_width at that offset. If the trace_width isn't defined- the user hasn't specified their desired width at that point
[ ] * This is not needed for the initial PR, but there should be a square that the user can click and drag to adjust the trace_width, when they click and drag the square, it emits an "EditEvent"

we're getting closer- I didn't have a design totally in mind when we started so I can do a bit better next time, the only thing I knew is that we wanted to support interpolated traces, but I didn't realize we were editing the trace hint this time because of the same color etc.
Originally posted by @seveibar in https://github.com/tscircuit/pcb-viewer/issues/37#issuecomment-2295323458
CC @imrishabh18

@seveibar Currently, this is how the soup looks like when you build your circuit and add a trace_hint with the offsets. And this is visible when you click on the Edit trace button. Going forward we will be adding the offset route props for the trace and not trace_hint with the route thickness mode and it will be only visible when you click Edit trace button like now. Is this correct?

Or the trace will always be visible in that polygon shape

Yes the trace should always be visible in the polygon shape

Going forward we will be adding the offset route props for the trace

We won't add offset for a trace. A trace hint is used to generate a trace inside of tscircuit/builder and should keep the offset prop

route thickness mode

Trace's should have a route thickness mode, not a trace hint. It's not totally clear how the props for this will look but probably like this:
<trace thicknessMode="interpolated" from=".R1 > .left" to=".R2 > .right" />


⚠ Agora Aveiro has degraded performance

In 693051a, Agora Aveiro (https://agoraaveiro.org) experienced degraded performance:

HTTP code: 200
Response time: 9672 ms

Resolved: Agora Aveiro performance has improved in b77e97b after 11 minutes.


Option to turn off TARGET_ERROR_RATE

Given the unreliability of the error measuring methods, I would be nice if we would be able to turn off the feature that stops the training on account of low error rate.
TARGET_ERROR_RATE = -1 (off) kind of feature.
I want to train my model further. But, the model is hitting 0 error rate so fast; that I couldn't continue to train it. When I actually test the output model, the accuracy is nowhere close to 100%.
As I described in the forum (https://groups.google.com/g/tesseract-ocr/c/WgDY03Qta7E), I usually get around 95% accuracy on the synthetic data, and around 91% accuracy on scanned docs.

I think that this is already possible. The training stops as soon as the error rate drops below TARGET_ERROR_RATE. So any negative value will disable such stopping.

oh, really?
I didn't know that one.  I couldn't find it in the documentation. I just wrote that hypothetically.
Thank you.


onBuildError option takes script to execute when there is an error during compilation

For issue #29

+1


Use empty string instead of None for add_db_entry.py

I've noticed there's usually two commits from the scraper:

one adding the new data: https://github.com/openZH/covid_19/commit/8ed511b1617e5c9d6849f14b2830362d4e9c5897
a second one adding quotes for empty fields: https://github.com/openZH/covid_19/commit/613737e06c7292ec7c7bc229c6f81e9e9e179886

It looks like when the existing data is loaded from CSV, an empty string is used instead of null/None. So lets always use an empty string.

Good point, thanks @fabian!


correct bitcode support for iOS updated (toolchain ID 3)

Initial PR here. Sorry, I've killed that branch by occasion.

I've tried Debug build and looks like -fembed-bitcode flag used. You've mentioned before that it's not appropriate because of build time and that -fembed-bitcode-marker should be used instead:

https://github.com/ruslo/hunter/issues/873#issuecomment-314450752

Try to add
set(CMAKE_XCODE_ATTRIBUTE_BITCODE_GENERATION_MODE[variant=Debug] "marker")
set(CMAKE_XCODE_ATTRIBUTE_BITCODE_GENERATION_MODE "bitcode")

should do the trick. Please add comments with description of all the bitcode feature peculiarities. Also I guess it make sense to add this link:

https://medium.com/@heitorburger/static-libraries-frameworks-and-bitcode-6d8f784478a9

Seems that the tests hanged again, can you restart them please?

Seems that the tests hanged again, can you restart them please?

It's a Travis glitch. There is no bitcode tests currently anyway, I've run tests locally.


Added IGNORE_SPACE lexer option

Codecov Report

Merging #33 (16d2473) into master (6b46ffe) will increase coverage by 0.00%.
The diff coverage is 97.43%.

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   91.63%   91.63%
=======================================
  Files         551      551
  Lines       14327    14366   +39
  Branches     1919     1927    +8
=======================================
+ Hits        13128    13165   +37
+ Misses        950      949    -1
- Partials      249      252    +3

Impacted Files
Coverage Δ

src/mysql-grammar-2/compiled-grammar.generated.ts
100.00% <ø> (ø)

src/scanner-2/lexer-settings.ts
100.00% <ø> (ø)

src/grammar-builder/grammar.ts
77.38% <66.66%> (-0.40%)
:arrow_down:

src/scanner-2/scan-all.ts
89.15% <75.00%> (+0.52%)
:arrow_up:

src/scanner-2/scan-util.ts
80.26% <92.59%> (+0.99%)
:arrow_up:

src/mysql-grammar-2/identifier/ident.ts
100.00% <100.00%> (ø)

src/mysql-grammar-2/rule-util.ts
97.67% <100.00%> (+0.17%)
:arrow_up:

src/mysql-grammar-2/token.generated.ts
100.00% <100.00%> (ø)

src/scanner-2/token.generated.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Create at least 5 custom errors in the utils/error file

Is your feature request related to a problem? Please describe.
Customize errors to prevent 500: Internal Server Error being returned
Describe how to intend to go about adding this feature
Create errors that inherit from Error object
Additional context
Errors will be used in response messages where they are needed e.g ValidationError, JsonWebTokenError e.t.c

I will take this @ruzor

it's yours


Account for special chars in blog name

In view menu

PS. sorry for having an annoying name

I can't reproduce this bug. Is that already fixed?

I think it is 🤔  Closing this now


images/runtime: update runtime image

Update runtime image to fix some potentially security vulnerabilities
detected by image scanners.
Signed-off-by: André Martins<EMAIL_ADDRESS>Update base image to fix potential security vulnerabilities detected by image scanners.

test-backport-1.10

test-1.19-5.4

test-1.17-4.9

test-1.19-5.4


[SPARK-37217][SQL] The number of dynamic partitions should early check when writing to external tables

What changes were proposed in this pull request?
SPARK-29295 introduces a mechanism that writes to external tables is a dynamic partition method, and the data in the target partition will be deleted first.
Assuming that 1001 partitions are written, the data of 10001 partitions will be deleted first, but because hive.exec.max.dynamic.partitions is 1000 by default, loadDynamicPartitions will fail at this time, but the data of 1001 partitions has been deleted.
So we can check whether the number of dynamic partitions is greater than hive.exec.max.dynamic.partitions before deleting, it should fail quickly at this time.
Why are the changes needed?
Avoid data that cannot be recovered when the job fails.
Does this PR introduce any user-facing change?
No
How was this patch tested?
add UT

Can one of the admins verify this patch?

cc @sunchao

cc @viirya too since this is related to your change in SPARK-29295

Hmm, my question is, as we are going to overwrite the table partitions, why we need to prevent data to be deleted? Any other delete-like command, I think if any failure happens during deletion, there will be some data that are already deleted before the failure. I think we don't provide atomicity guarantee for this command, right?

Yes. I agree with you.
Operation is not guaranteed to be atomic.
Failure during the deletion process is not guaranteed to be restored.
But in this case, if the number of dynamic partitions exceeds hive.exec.max.dynamic.partitions, Spark deletes the partition data first, and then checks that the number of partitions exceeds the configured number when client.loadDynamicPartitions loads the data, and it fails immediately. No data is written to the partition.
The user thought that the operation was not successful, and theoretically the original data should still be there.
Or the user will check whether the number of partitions meets expectations. If it does, the user needs to adjust the hive configuration. If it does not, it needs to modify the sql logic.
It also takes time to re-run sql, and the data during this period will not be able to be read.

I feel even though we can't guarantee operations like delete to be atomic, we should make effort to do so. This PR looks simple enough and fixes a potential issue which could corrupt an external Hive table, so I think it's well worth it?

It may be that the PR title is not clear.
Maybe i can change to
The number of dynamic partitions should early check when writing to external tables ?

Sounds good to me. Thanks.

Can we continue to review this pr? @dongjoon-hyun @sunchao @viirya

Merged, thanks! also going to cherry-pick to branch-3.2.

@cxzl25 could you open another PR to backport this to branch-3.2? I tried to cherry-pick it but there's some conflict.

@cxzl25 could you open another PR to backport this to branch-3.2? I tried to cherry-pick it but there's some conflict.

ok, i will do it now.

branch-3.2 https://github.com/apache/spark/pull/34889


Stacktrace in GRT for "Extra Run for hard benchmark"

[INFO GRT-0103] Extra Run for hard benchmark.
Stack trace:
 0# 0x0000000000FD1B49 in openroad
 1# 0x00007F90ECD45400 in /lib64/libc.so.6
 2# grt::FastRouteCore::mazeRouteMSMD(int, int, float, int, int, bool, int, float, int, int, int) in openroad
 3# grt::FastRouteCore::run() in openroad
 4# grt::GlobalRouter::findRouting(std::vector<grt::Net*, std::allocator<grt::Net*> >&, int, int) in openroad
 5# grt::GlobalRouter::globalRoute() in openroad
 6# 0x00000000017ADF1F in openroad
 7# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
 8# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
 9# TclObjInterpProcCore in /lib64/libtcl8.5.so
10# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
11# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
12# 0x00007F90EFD25647 in /lib64/libtcl8.5.so
13# TclEvalObjEx in /lib64/libtcl8.5.so
14# 0x00007F90EFD6027F in /lib64/libtcl8.5.so
15# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
16# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
17# 0x00007F90EFD25647 in /lib64/libtcl8.5.so
18# TclEvalObjEx in /lib64/libtcl8.5.so
19# 0x00007F90EFCE01D0 in /lib64/libtcl8.5.so
20# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
21# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
22# 0x00007F90EFD25647 in /lib64/libtcl8.5.so
23# TclEvalObjEx in /lib64/libtcl8.5.so
24# 0x00007F90EFCE3F00 in /lib64/libtcl8.5.so
25# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
26# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
27# TclObjInterpProcCore in /lib64/libtcl8.5.so
28# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
29# 0x00007F90EFD1D36C in /lib64/libtcl8.5.so
30# TclObjInterpProcCore in /lib64/libtcl8.5.so
31# 0x00007F90EFCD8EB2 in /lib64/libtcl8.5.so
32# 0x00007F90EFCD9F1E in /lib64/libtcl8.5.so
33# Tcl_EvalEx in /lib64/libtcl8.5.so
34# Tcl_Eval in /lib64/libtcl8.5.so
35# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
36# ord::tclAppInit(Tcl_Interp*) in openroad
37# Tcl_Main in /lib64/libtcl8.5.so
38# main in openroad
39# __libc_start_main in /lib64/libc.so.6
40# 0x0000000000FCE417 in openroad

openroad_issue_reproducible.zip

@luis201420 can you take a look at this?

Yes, I can.
I ran this but didn't get the same error, I got this output after running global route.
[INFO GRT-0197] Via related to pin nodes: 32206
[INFO GRT-0198] Via related Steiner nodes: 7037
[INFO GRT-0199] Via filling finished.
[INFO GRT-0111] Final number of vias: 107953
[INFO GRT-0112] Final usage 3D: 888974
[ERROR GRT-0118] Routing congestion too high.
Error: groute.tcl, 69 GRT-0118

Thanks @luis201420.
@proppy which version of openroad did you use?
Also, @luis201420 can you check to see if this is another instance of the problem with nangate45/bp_fe_top and the steiner tree difference we were talking about over email?

@vvbandeira OPENLANE_TAG=2022.02.23_02.50.41.

@proppy could you try with the latest version of OL? @luis201420 can confirm, but I would assume he used the latest release of OR, thus looks like the issue has already been fixed upstream.

@vvbandeira I think this bug was fixed with #1742.

@proppy is this still an open issue? I also saw that Cherry made some improvements to the antenna checker code rencently.

@proppy Can we close this?


Add jest and directory structure for tests

It would be good to have all of the testing setup already done.  Going to just use Jest since that's the preferred testing framework with React.

We may or may not want to use a different test runner. Jest doesn't work with node 0.12 because of JSDOM, but it does work on the recent version of io.js

I've created an initial setup for this in #10.


Server side render Maximum call stack size exceeded (vue 2.5.13)

Version
2.5.13
Reproduction link
https://jsfiddle.net/mmx38qxw/
Steps to reproduce

vue: 2.5.13
element-ui: 2.3.3
nuxt: 1.4.0
I found some related issues（[Maximum call stack size exceeded](https://github.com/vuejs/vue/issues?utf8=✓&q=Maximum call stack size exceeded)）, i restored vue to 2.5.13 but still prudence.
The issue could not be produced with examples or demos on jsfiddle, it will product during 2 days when our production servers restart, so i did not new it on issue-generator(https://elementui.github.io/issue-generator), pls undenstand -, -
What is expected?
work regular
What is actually happening?
not work

OS / Browser Version： Ubuntu 16.04 / IE9
UA：Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; Tablet PC 2.0; .NET4.0E)

Issues in this repo also require a valid reproduction link. And I think it's better to report and discuss this issue with Element UI team first.

What @Justineo said, we need boiled down repros with no external libs te check bugs

Just looking at this, you probably have some code that is repeatedly calling Vue.extend on a component definition on each request. But without a minimal reproduction there's very little we can do.


Fix namespace expando merge

Allow JSContainers to merge with namespaces
Expando functions marked with JSContainer previously failed to merge with namespaces. This change adds JSContainer to ValueModuleExcludes, allowing this kind of merge. It also makes calls to bindPropertyAssignment now provide which special assignment kind they originated from. This allows better symbol flags to be set so that the contents of the namespaces and JSContainers merge correctly. Specifically:

Property assignments get the FunctionScopedVariable flag, since they are equivalent to a namespace exporting a var.
Prototype property assignments get the Method flag if the initialiser is functionlike, and Property otherwise.
Prototype assignments get the flag Property.

(3) is still not entirely correct (it's missing the Prototype flag), but is what existed previously. I'll try adding the Prototype flag to see whether it changes any baselines.
Fixes #26672

@weswigham good idea. I added it. I also learned that TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
But all the other correct errors are also there.

Small thing about the declaration change.

This change now has the right semantics, I think. But the implementation allows most merges when the other side of merge has SymbolFlags.Variable set, and this makes me nervous in the checker especially.
I'm going to try adding a mergeFlags: SymbolFlags property to Symbol that is used for merges. This split will (I hope) allow JS special assignments to merge with many things, but still have the correct(ish) flags on Symbol.flags. If it doesn't work out I'll report back and we can use what I have here.

Well, the mergeFlags solution has to be 0 for special property assignments, and is the same as flags for everything else. It didn't seem like a good solution.
Instead I decided to stick JSContainer on all assignment declarations. This allows the existing special-case code to work with namespaces. Well, almost all: I still had to special-case declareSymbol to allow Variables to merge with any symbol marked with JSContainer, no matter what other flags it was also marked with. mergeSymbol in the checker already worked this way so required no changes.
I also plan to standardise on "Assignment declaration" as the name for "JS special assignments". "JS special property expressions", "Property assignment declaration", etc. Look for another PR that just renames a bunch of stuff.
@weswigham @RyanCavanaugh can you take another look at this?


Write instructions for API producers to setup internal/private repos for advertising APIs to Kiota search

Create the repo
Add topic to the repo
Create the OpenAPI description (possibly from CSDL)
Add the Apis.json/yaml file to include the OpenAPI in the Kiota search index.
Assign customers access to the repo to enable them to discover the API
Point customers to docs to describe the self-serve process

Moved here https://github.com/MicrosoftDocs/openapi-docs/issues/3


What is the appID and password?

I'm trying to follow the C# example and stepping through the code, but every time I attempt server.Connect(connString); I get the error message "unknown_user_type: Unknown User Type"
I have added the app: prefix to (what I think is) the appID.  But from the documentation it is not clear what this should be?

Is it the Application (Client) ID of the Registered Application in AAD? (a normal GUID)
Or is it the ID that shows up when I add the Service Principal to the AAS server administrators role? (which has the format app:<guid>@<tenant guid> )  And if the latter, should I include just the first guid, or the @ and the tenant guid as well?
NB: the guid that shows up when adding the Service Principal to the administrators role is not the same as the Application ID of the Registered Application.

For the Password I am using what is called "authentication key" in the docs page linked from this page.  I clicked on Keys to create it, and it appears in a section called Passwords in the portal.
That was under the legacy blade, as of May 2019 there is a new blade and it is called Client Secret!?  I appreciate terminology changes from time to time - but users don't have a snowflake's chance of following instructions like the above when we cannot fathom which value goes where?  Please could you provide more clarity and, ideally, a screenshot or two.  In the C# example there is "xxx" and "yyy" which is not helpful enough.
What does "Unknown User Type" mean?  I followed the instruction in this article to update the AAS DLLs.  Currently I have:
MSOLAP: <IP_ADDRESS>
AMO: <IP_ADDRESS>
ADOMD: <IP_ADDRESS>
I have googled the error message and found very few hits for AAS (but some hits for other MS products).  Is the app: all I need to include in my connection string?

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

ID: 65f6e84a-399f-e795-3d92-f8067a13fb64
Version Independent ID: f309f30e-fd7d-741e-92fb-3d736273d95c
Content: Automate Azure Analysis Services tasks with service principals
Content Source: articles/analysis-services/analysis-services-service-principal.md
Service: azure-analysis-services
GitHub Login: @Minewiskan
Microsoft Alias: owend

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@jn-altius : The appId is the application (Client) ID of the registered application in AAD (a normal GUID) .

@jn-altius :  We are closing this issue as we have not heard back from you , you can always re-open the issue if you think that appropriate .


ROUTE_NAME is not captured in access log when direct_response is used

Title: ROUTE_NAME is not captured in access log when direct_response is used
Description:
https://github.com/envoyproxy/envoy/pull/12850 introduced a bug whereby the ROUTE_NAME is not set when the access log is written if the route uses direct_response.
Repro steps:
Start envoy with a config that includes %ROUTE_NAME% in the access log, make a request, observe log does not have route name set...
docker run --rm -it \
-v $(pwd)/envoy.yaml:/etc/envoy/envoy.yaml \
-p 8000:8000 envoyproxy/envoy-dev:4f98ea66c93693f9a77403e9bb7bc6c3b81d2658 \
envoy --file-flush-interval-msec 100 -c /etc/envoy/envoy.yaml

Config:
static_resources:
  listeners:
    - address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 8000
      filter_chains:
        - filters:
            - name: envoy.filters.network.http_connection_manager
              typed_config:
                "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                codec_type: auto
                stat_prefix: ingress_http

                access_log:
                  name: envoy.file_access_log
                  typed_config:
                    "@type": type.googleapis.com/envoy.config.accesslog.v2.FileAccessLog
                    path: /dev/stdout
                    typed_json_format:
                      time: "%START_TIME(%s%3f)%"
                      routeName: "%ROUTE_NAME%"
                      reqPath: "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%"

                route_config:
                  name: local_route
                  virtual_hosts:
                    - name: local_service
                      domains: ["*"]
                      routes:
                        - name: direct
                          match: { path: /direct }
                          direct_response:
                            status: 404
                            body:
                              inline_string: |
                                {"errors":[{"code":404,"message":"The requested resource cannot be found"}]}
                        - name: google
                          match: { prefix: "/" }
                          route:
                            host_rewrite_literal: www.google.com
                            cluster: service_google
                http_filters:
                  - name: envoy.filters.http.router
  clusters:
    - name: service_google
      connect_timeout: 0.25s
      type: LOGICAL_DNS
      # Comment out the following line to test on v6 networks
      dns_lookup_family: V4_ONLY
      lb_policy: ROUND_ROBIN
      load_assignment:
        cluster_name: service_google
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: www.google.com
                      port_value: 443
      transport_socket:
        name: envoy.transport_sockets.tls
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
          sni: www.google.com

Logs:
log output since 4f98ea66c93693f9a77403e9bb7bc6c3b81d2658:
{"reqPath":"/direct","time":"1600371515516","routeName":null}
{"time":"1600371521644","routeName":"google","reqPath":"/"}

log output with 622e66dde0fb596dfbd3636943f4f3090979f3b5:
{"routeName":"direct","reqPath":"/direct","time":"1600371638753"}
{"time":"1600371644528","routeName":"google","reqPath":"/"}

Hmm. Maybe related to https://github.com/envoyproxy/envoy/issues/13174. @yuval-k can you take a look at this also?

Do you know if sendLocalReply triggers onLog? if so then moving this line
with this line https://github.com/envoyproxy/envoy/blob/76f84d3bb93f90e84fd9b896a64bfe7753e08570/source/common/router/router.cc#L394
before this line https://github.com/envoyproxy/envoy/blob/76f84d3bb93f90e84fd9b896a64bfe7753e08570/source/common/router/router.cc#L376
should solve it.

Nudging this issue for another look, since it was thought to possibly be related to #13174, which was closed by #13218.
I have rerun the steps to reproduce with envoyproxy/envoy-dev:8fb3cb86082b17144a80402f5367ae65f06083bd (v1.16.0), and the issue remains.

I'll work on this. This is affecting istio downstream.


Added package.json

I'd like to add a package.json so this repo can be installed as a node package via npm. Thanks

Hey @dodozhang21 - I've added this now but updated the name to @allmarkedup/purl to utilise my npm namespace. Thanks for the PR :-)

I don't think npm likes the @ in the name.
npm install git+https://github.com/allmarkedup/purl.git#v2.3.1 --save
npm ERR! addLocal Could not install /var/folders/zh/px7p3g2d30l24_lk47x6h015y2vmyr/T/npm-31918-0134aaed/git-cache-d5b08f39/1771aec03be7f0ae31d83c7f2fca6149a4581821
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/yzhang2/.nvm/versions/node/v7.2.0/bin/node" "/Users/yzhang2/.nvm/versions/node/v7.2.0/bin/npm" "install" "git+https://github.com/allmarkedup/purl.git#v2.3.1" "--save"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request:
npm ERR!     /Applications/MAMP/htdocs/drp_parents/docroot/sites/parents.com/themes/parents/npm-debug.log

I'm trying to switch to use your repo with a tag. But the commit is not in your v2.3.1 tag. Will you please add it?

Done :-) v2.3.2


[BUG] AE2 - Enderio Conduits

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Upon loading a chunk with EnderIO AE2 cables, server crashes
https://mclo.gs/G7928fH
Expected Behavior
Server not to crash when loading a chunk with AE2 enderIO cables
Steps To Reproduce
Not sure what cable layouts cause this but I can upload my world upon request.
Environment
- OS: Windows 11
- Java version: 17.07
- Minecraft version: 1.20.1
- Version: 6.0.14 Alpha

Anything else?
https://mclo.gs/G7928fH
Let me know if you require anything else. I would love to play on my server but I cant load in my base or else the server crashes.
If this needs to be forwarded to AE2 let me know.

Finally, someone was able to reproduce this, #354
Any idea what you were doing when the crash started?

@tyler489
Well, I wasn't really doing anything. I hadn't played in several days and just updated ATM9 to .47 (previous server was running .45)
It crashed and threw this error on joining. I had another player fly over to my base and when it loaded, same crash. I am using a few enderIO AE2 conduits but probably not more than 30.
I started up the ATM9 .45 server again (I keep several versions and their world for backup) and I joined that, and it also crashed with the same error. So it's something that has persisted between versions.

This looks like to me more of an AE2 issue

it's likely not ae2 fault, could you give me the world file so I can check how it happens?

@agnor99
It was quite large so I zipped it here:
https://temp-file.org/yJxsqAOMdGxm3Qb/file
Base in question is around x 300 y 95 z -2194. Owner is BobDaRoss.
Let me know if you have any questions or issues

I am working on this

I have tested my fix with the world provided by Casimir255.

@jollycar
Thanks for the quick turn around!
Let me know if there's anything I can do on my end that can help.


Finish NFT Marketplace

[x] Finalize permission model with proper repatriation of funds
[x] Deploy to our KodaDot testnet
[ ] Code review
[ ] KodaDot testing (w/ community)

can't assign issue to epic @jak-pan

closing as duplicate of https://app.zenhub.com/workspaces/runtime-61ee9c73eb0f560015a0c5ca/issues/galacticcouncil/basilisk-node/283
for UI part will create a new issue


UI - When UI is launched for invalid gptscript , UI should be able to provide an option to get to edit view ( only "Restart Script" is provided).

gptscript version - v0.0.0-dev-daef472e-dirty
Steps to reproduce the problem:

Launch UI for an invalid gptscript  file ( file with invalid tool name).
Once UI is launched , user is provided with following page which only has "Restart Script" which will not be able to get him out of this problem.

Expected Behavior:
It would be good to provide user the option to get to Edit View from this page to be able to correct the scripts.

@sangee2004 Is this still relevant now that the --ui flag is removed?


[BUG] Queue vs blob container logic results in print job loss - azure queue request exceeding 64K limit at times

Is there an existing issue for this?

[x] I have searched the existing issues

What type of issue are you facing
bug report
Describe the bug
I have encountered a situation where only job status table was being updated but no jobs in queue or blob container
after some debugging I see the instances where job json is close to 60K limit but the underlying azure queue request fails as on the wire it reports content-length well over 64K limit - this results in 413 response code, which the application does not check/handle
example azure queue response
2024-12-09T09:49:44Z [Information] Request URL: 'https://REDACTED.queue.core.windows.net/printjobs/messages?messagettl=REDACTED' Request method: 'POST' Request headers: 'Content-Length': '79315' 'x-ms-version': 'REDACTED' 'Content-Type': 'application/xml' 'Accept': 'application/xml' 'User-Agent': 'azsdk-python-storage-queue/12.10.0 Python/3.10.15 (Linux-<IP_ADDRESS>-1.cm2-x86_64-with-glibc2.31)' 'x-ms-date': 'REDACTED' 'x-ms-client-request-id': 'eae0258c-b612-11ef-a74e-2281b2acd723' 'Authorization': 'REDACTED' A body is sent with the request
2024-12-09T09:49:44Z [Information] Response status: 413 Response headers: 'Content-Length': '286' 'Content-Type': 'application/xml' 'Server': 'Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0' 'x-ms-request-id': '826dfa7c-6003-0003-661f-4a5518000000' 'x-ms-client-request-id': 'eae0258c-b612-11ef-a74e-2281b2acd723' 'x-ms-version': 'REDACTED' 'x-ms-error-code'

I have worked around it by modifying code to always use blob container
Expected Behavior
No response
Steps To Reproduce

SAP print job generated with certain content
job json having 59XXX bytes
fetch function runs and azure queue request silently fails

Add screenshots to help explain your problem
No response
Additional context
No response

Hey @VaclavK,
thank you for callout and how you overcame in the short term. Will have to investigate why our condition here is not catching that or why the limit is lower than anticipated.
KR Martin

Hey @VaclavK,
thank you for callout and how you overcame in the short term. Will have to investigate why our condition here is not catching that or why the limit is lower than anticipated.
KR Martin

If you're having problems reproducing, I should be able to capture the SAP response for the job.


update code for kafka-python 1.3.4

Thanks for the PR @jipengzhu  -- are you actually using this took? If so, did you test this change?

yes, it have been tested
[root@mty-003 stormkafkamon]# pip show kafka-python
Name: kafka-python
Version: 1.3.4
Summary: Pure Python client for Apache Kafka
Home-page: https://github.com/dpkp/kafka-python
Author: Dana Powers
Author-email<EMAIL_ADDRESS>License: Apache License 2.0
Location: /usr/lib/python2.7/site-packages
Requires:
[root@mty-003 stormkafkamon]# python stormkafkamon/monitor.py --zserver mty-001 --zport 2182 --topology product --spoutroot /kafkaspout --friendly
+---------+-----------+-----------+----------+---------+---------+-----------------+---------+------------+
|  Broker |   Topic   | Partition | Earliest |  Latest |  Depth  |      Spout      | Current |   Delta    |
+---------+-----------+-----------+----------+---------+---------+-----------------+---------+------------+
| mty-001 | product_1 |     11    |    0     |  534854 | 522.3KB | product_1_spout |  534853 | 1.0 bytes  |
| mty-001 | product_1 |     17    |    0     | 1855644 |  1.8MB  | product_1_spout | 1855634 | 10.0 bytes |
| mty-001 | product_1 |     20    |    0     |  882631 | 861.9KB | product_1_spout |  882631 | 0.0 bytes  |
| mty-002 | product_1 |     18    |    0     | 2848563 |  2.7MB  | product_1_spout | 2848562 | 1.0 bytes  |
| mty-003 | product_1 |     19    |    0     | 1696355 |  1.6MB  | product_1_spout | 1696347 | 8.0 bytes  |
+---------+-----------+-----------+----------+---------+---------+-----------------+---------+------------+

Number of brokers:       3
Number of partitions:    5
Total broker depth:      7.5MB
Total delta:             20.0 bytes

OK, thanks @jipengzhu


Replace ideviceinfo and idevice_id with xcdevice

Description
Xcode ships with a command line tool called xcdevice that produces a json array of all available devices, including iOS devices that can be deployed via Xcode over the network (Connect via network checkbox).  This PR filters out these network devices, but it's relevant to someday fixing https://github.com/flutter/flutter/issues/15072.

I checked to make sure xcdevice is available in Xcode 10.2 (minimum Xcode required by Flutter) and later.
Example output:
{
  "simulator" : false,
  "operatingSystemVersion" : "13.3 (17C54)",
  "interface" : "usb",
  "available" : true,
  "platform" : "com.apple.platform.iphoneos",
  "modelCode" : "iPhone8,1",
  "identifier" : "d83d5bc53967baa0ee18626ba87b6254b2ab5418",
  "architecture" : "arm64",
  "modelName" : "iPhone 6s",
  "name" : "iPhone"
}

Since this provides the identifier, name, operating system, and architecture, we can get rid of all usages of idevice_id and ideviceinfo (cleanup happening in the next PR since this one was already getting too big).
Also, show any connection errors in doctor instead of crashing.  Example:
[!] Connected device
    • Error: iPhone is not paired with your computer. To use iPhone with Xcode, unlock it and choose to trust this computer when prompted. (code -9)

Remove 2 libimobiledevice dependencies.
Remove all codepaths that resulted in cryptic lockdown errors and instead return Xcode's nice errors and recovery suggestions, like "To use iPhone with Xcode, unlock it and choose to trust this computer when prompted."

Related Issues
Part of https://github.com/flutter/flutter/issues/6118
Precursor to https://github.com/flutter/flutter/issues/15072 (will make networked devices discoverable when we stop filtering "network" interfaces).
Fixes https://github.com/flutter/flutter/issues/49375
Fixes https://github.com/flutter/flutter/issues/36524
Fixes https://github.com/flutter/flutter/issues/47727
Fixes https://github.com/flutter/flutter/issues/43398
Fixes https://github.com/flutter/flutter/issues/48057
Supersedes https://github.com/flutter/flutter/pull/49626
Supersedes https://github.com/flutter/flutter/pull/45657
Supersedes part of https://github.com/flutter/flutter/pull/36902?
Tests
xcode_test, devices_test
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

Diagnostic messages I've seen while testing:
• Error: Jenn’s iPhone is busy: Preparing debugger support for iPhone Xcode will continue when Jenn’s iPhone is finished. (code -10)

• Error: Jenn’s iPhone has recently restarted Xcode will continue when Jenn’s iPhone is unlocked. (code -14)

Overall looks pretty great -- I had no idea xcdevice existed!
Two quick questions:

do all versions of XCode we support include this tool? (if we only support 11, then we're set)
do they all emit compatible output?

I tested on Xcode 10.1 and the output looked the same, though the error message text was sometimes different.  I'll try on Xcode 10.2, which is our current minimum required version.
Of course there's nothing stopping Xcode from completely changing or even removing this tool in the next release...

Ready for re-review.

weird error on customer_testing tests:
Cloning into 'bin/cache/pkg/tests'...
dart --enable-asserts dev/customer_testing/run_tests.dart --skip-on-fetch-failure --skip-template bin/cache/pkg/tests/registry/*.test
ERROR: Could not parse: ./bin/cache/pkg/tests/registry/flutter_packages.test
First "fetch" directive does not match expected pattern (expected "git clone https://github.com/USERNAME/REPOSITORY.git tests").

weird error on customer_testing tests:
Cloning into 'bin/cache/pkg/tests'...
dart --enable-asserts dev/customer_testing/run_tests.dart --skip-on-fetch-failure --skip-template bin/cache/pkg/tests/registry/*.test
ERROR: Could not parse: ./bin/cache/pkg/tests/registry/flutter_packages.test
First "fetch" directive does not match expected pattern (expected "git clone https://github.com/USERNAME/REPOSITORY.git tests").

Rebased onto master to resolve.


Remove use of DangerousGetPinnableReference and use Memory.GetReference instead

Part of:
https://github.com/dotnet/corefx/issues/25412
https://github.com/dotnet/corefx/issues/25615
Depends on the following to go through first:
https://github.com/dotnet/corefx/pull/25961 (and subsequent consumption of CoreFx libraries in CoreFxLab)

Cannot use method 'MemoryMarshal.GetReference(ReadOnlySpan)' as a ref or out value because it is a readonly variable

I didn't find any uses of DangerousTryGetArray to remove.
Following the staging plan from here: https://github.com/dotnet/corefx/issues/23881#issuecomment-343767740

[x] Add MemoryExtensions.GetReference/TryGetArray
[x] Convert all uses of DangerousGetPinnableReference/DangerousTryGetArray in coreclr, corefx, corert, corefxlab, aspnet, ... to MemoryExtensions.GetReference
[ ] Change DangerousGetPinnableReference to whatever we like to make it fit the pinning pattern and remove DangerousTryGetArray.

Doing it this way will avoid the need for complex staging or things being on the floor for extensive periods of time.
cc @jkotas, @stephentoub, @KrzysztofCwalina, @davidfowl, @pakrym, @joshfree, @eerhardt

@dotnet-build-bot test this

@dotnet-bot test this please

@dotnet-bot test this please


Make in-memory indexed graphs more generic

Following the discussion in #55, I realize that some people might be interested in reusing the implementation of graph::inmem or dataset::inmem, even for types that go
beyond the RDF model (even the generalized on that Sophia supports). For example:

Notation 3 (which @MattesWhite is working on)
RDF-*
Other flavors of property graphs

Actually, these implementations are rather agnostic to the kind of terms they handle, as internally they are just represented by integer indexes. Possibly, this could be factored out in a separate crate (sophia_igraph?). And of course, if (some of) the terms they contain can be seen as RDF terms, they could in turn implement the Graph/Dataset traits...
@BruJu what do you think?

As a first step I refactored the core of TermIndexMap into a new crate indexed-hash-set that basically provides the same core functionality. With this I'll continue my work on #89.

closing this old issue, as my priority with Sophia is less to provide new implementations than to provide good traits that existing implementations can implement, to increase interoperability.
A generic "indexed graph" crate would be a nice thing to have, but it would be better suited outside Sophia.


FindAll() with query expressions not working

Using the following prerequisite:
var _ctx = new DapperRepository(new SqlConnection(connectStr), ESqlConnector.MSSQL);
Please consider the following 2 statements:

var result = _ctx.FindAll(x => x.MachineLinkID == 1 && x.DateStampUp == null && x.OperatorID == null);

var result = _ctx.FindAll().Where(x => x.MachineLinkID == 1 && x.DateStampUp == null && x.OperatorID == null);

The first one returns a result count of 0 while the second one returns the expected results...
What am I missing here?
I am using your library with Sql Server 12.

Question, was this issue resolved? I am trying to replicate it but cant.

I haven't finished with tests

Don't know what was done, but actually this is working correctly in the latest 1.6.0-Beta4 version, but not in 1.5.

Yes, that's right. I will make the release next week.

Phnx47, let me know if you help. I'm a programmer and really love dapper. This tool it's really nice.

@digitalmedia34 Write your Email or Telegram. I have incomplete tasks

I closed it. This is working correctly in pre-release version.


Create Tables Permission?

New tables are not getting proper permissions. I ran the following:
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO llab_reader;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT, insert  ON TABLES TO llab_writer;

This should apply to all new tables going forward. Evaluate after new tables are created...

This was fixed in previous release


Using a cloud provider as a vpn blocks you then

Hi,
I think blocking full ASN website wise is such a bad practice for the few users that use their cloud provider as a vpn/pihole service. You can do way better for filtering bad traffic with more fine-grained tool.
Having such list would incitate even more people to use this practice which would in term lock a minority (or maybe more, you can not actually know...) from seeing your content.

You are 100% correct.  Even worse there are some sites now using these crap lists and blocking legit users. The ASN list on here is years out of date as well.
Please delete this list
You are causing so many problems for LEGIT users that are in these ASNS!!! You have no idea the trouble you have caused making this list.

How to use this list is case dependent. Traffics from cloud provider ASNs indeed inherit higher risks. We are using this list to assign initial risk score for incoming visitors.

Hey thanks for publishing this, I can use it as a part of my dataset.
 Seriously, all the butthurt downwoters are crybabies.


Paper：ADAPTING LARGE LANGUAGE MODELS VIA READING COMPREHENSION

Hello, I'm a student who has just entered the NLP industry. I'd like to ask you about the technical details of this article's title. After you constructed the data, did you continue with the NEXT TOKEN PREDICT Task on the original model? Or did you use the QA data for supervised fine-tuning to achieve domain adaptation?
Looking forward to your response.

Hi, after constructing the data, we DID continue with the standard NEXT TOKEN PREDICT Task on the original model.

Hi, I think PEFT methods should be effective, as our approach can be seen as a form of supervised fine-tuning. Just make sure to compute the NEXT TOKEN PREDICT Task loss on all the tokens.


Diff not working when comparison is in a callback

Any chance this could be fixed?  When doing a object comparison inside of a callback, instead of displaying a nice diff, all you get is:
WARN: 'Unhandled rejection AssertionError: expected [ Array(1) ] to deeply equal [ Array(1) ]'
Example code:
describe('Some test', () => {
  let sandbox;

  beforeEach(() => {
    sandbox = sinon.sandbox.create();
    sandbox.useFakeServer();
    sandbox.server.autoRespond = true;
  });

  afterEach(() => {
    sandbox.restore();
  });

  it('should run some test with a callback', (done) => {
    const someResponse = [{ some: 'response' }];
    sandbox.server.respondWith('GET', '/a/url', (request) => {
      request.respond(
        200,
        { 'Content-Type': 'application/json' },
        JSON.stringify(someResponse)
      );
    });

    somePromise.then((someCollection) => {
      someCollection.toJSON().should.deep.equal(someResponse);

      done();

      return null;
    });
  });

});

I'm using chaijs for assertions, backbone+marionette, and bluebirdjs for promises.

I am not sure if this is a problem with the reporter itself. I played around with some simple bluebird promises and it works. I also found a stack overflow thread with suggest 2 points.
First to return the promise itself instead of calling done within the promise. And second also return the result of the assertion. Reference (http://stackoverflow.com/questions/30405551/how-to-register-a-failed-mocha-test-on-a-promise)
So your example becomes this:
describe('Some test', () => {
  let sandbox;

  beforeEach(() => {
    sandbox = sinon.sandbox.create();
    sandbox.useFakeServer();
    sandbox.server.autoRespond = true;
  });

  afterEach(() => {
    sandbox.restore();
  });

  it('should run some test with a callback', (done) => {
    const someResponse = [{ some: 'response' }];
    sandbox.server.respondWith('GET', '/a/url', (request) => {
      request.respond(
        200,
        { 'Content-Type': 'application/json' },
        JSON.stringify(someResponse)
      );
    });

    return somePromise.then((someCollection) => {
      return someCollection.toJSON().should.deep.equal(someResponse);
    });
  });
});

But I was not able to run you example because I need more informations to see it up. So if you still have the error it would be nice if you could give me a full working example. That would really help me to reproduce the problem.


Tslint rules problem in test folder

I propose one solution for custom tslint rules per folder.
We all have same custom ts-ignores in our tests, so i propose that we create tslint.json in test folder which extends tslint.json from root. There we can override some rules that are messing with our tests code.
I tested with PHPStorm and works good. What do you think?
Only thing we have to watch out is to set PHPStorm tslint config to "Search for tslint.json"

This is a good idea. Lets collect all the exceptions and turn it into a rule. It would be best to go right to a PR


Role we don't support (yet) showing in create group flow in the third and final invite step

Describe the bug, optionally with screenshots

To Reproduce
Steps to reproduce the behavior:

Go to create group
Go through the steps.
On the invite screen, select the drop down. See: Members, Admin, Moderators.
See error

Expected behavior
I look forward to a day where that role is real in some capacity.

I also look forward to this day


Make the case for 20% improvement

Define outcomes

Quality of service
Reduce lead time for changes and delivery of services/devices
Recover faster incidents and errors
Reduce frequency of incidents and errors
Increase ability to comply with regulations (GC digital, ..)
Student retention
Job satisfaction
Acquire new essential skills

May benefit from #754

The intent is to add this content to the existing Q1 Strategy doc?

Waiting for github issues to be resolved
https://github.com/sara-sabr/ITStrategy/tree/make-case-for-20-improvement
and added more references for learning to program too
https://github.com/sara-sabr/ITStrategy/tree/updating-references


Card Issuer?

Hello,
is it possible for you to add Card Issuer such as Bank? Most cards have card issuer printed on the top left of the card. I appreciate if you take this into consideration.
Regards

Ok i will check it.

Ok i will check it.

Is it posible to add field: "labelNextButton" and "labelPrevButton"? Sometimes we want to customize that :)


jwt as an object with expiry date

It might be nice to store jwt as an object with an expiry date so we know when to nullify it and request a new login.
By @nleroy917

If jwt is expired, PEPhub return code 500 (Internal Server Error server). Add functionality that prevents it.

This issue is not solved


Ambari Views Integration

This code lays the foundation for ambari views. Current commit installs Files views but others can be added by adding new resources/recipes.

Files, Hive, Tez and Workflow Manager views are integrated and tested in vm cluster.

Fixed issues found during deployment to lab cluster.

extracted out ambari user.
removed mysql-client package installation as it is available in Head nodes and Ambari Server will be installed in Head nodes.
installed mysql-connector-java package as it is not installed by default in Head nodes.
copy bach_ambari attributes to defaults recipe as float_host is dependent on bcpc-default recipe .

This is tested successfully on a Lab cluster. One final change is required to fix the apt repo key issue.


[fix] fixed cpu-max-all-* wrong influxql group by time clause

overall description
solves #109
[fix] fixed cpu-max-all-* for influx.
[add] added influxql to --print-responses option within query runner
If you guys compare timescale's and influx's results for cpu-max-all-1 and cpu-max-all-8 queries, you will notice that there is a wrong group by time clause on influx ( group by time(1m) should be group by time(1h). The changes in this PR fix the issue and improvement the resultset output for influx ( so that we can easily check this type of error.
current master cpu-max-all-1 ( notice group by minute )
ID 0: {
ID 0:   "results": [
ID 0:     {
ID 0:       "statement_id": 0,
ID 0:       "series": [
ID 0:         {
ID 0:           "name": "cpu",
ID 0:           "columns": [
ID 0:             "time",
ID 0:             "max",
ID 0:             "max_1",
ID 0:             "max_2",
ID 0:             "max_3",
ID 0:             "max_4",
ID 0:             "max_5",
ID 0:             "max_6",
ID 0:             "max_7",
ID 0:             "max_8",
ID 0:             "max_9"
ID 0:           ],
ID 0:           "values": [
ID 0:             [
ID 0:               "2016-01-01T02:16:00Z",
ID 0:               36,
ID 0:               9,
ID 0:               49,
ID 0:               13,
ID 0:               32,
ID 0:               3,
ID 0:               9,
ID 0:               29,
ID 0:               23,
ID 0:               52
ID 0:             ],
ID 0:             [
ID 0:               "2016-01-01T02:17:00Z",
ID 0:               37,
ID 0:               10,
ID 0:               47,
ID 0:               11,
ID 0:               32,
ID 0:               7,
ID 0:               10,
ID 0:               28,
ID 0:               25,
ID 0:               52
ID 0:             ],
ID 0:             [
ID 0:               "2016-01-01T02:18:00Z",
ID 0:               39,
ID 0:               10,
ID 0:               44,
ID 0:               13,
ID 0:               28,
ID 0:               9,
ID 0:               7,
ID 0:               30,
ID 0:               28,
ID 0:               51
ID 0:             ],
(...)

after fix  cpu-max-all-1 ( notice group by hour )
{
ID 0:   "influxql": "SELECT max(usage_user),max(usage_system),max(usage_idle),max(usage_nice),max(usage_iowait),max(usage_irq),max(usage_softirq),max(usage_steal),max(usage_guest),max(usage_guest_nice) from cpu where (hostname = 'host_9') and time \u003e= '2016-01-01T02:16:22Z' and time \u003c '2016-01-01T10:16:22Z' group by time(1h)",
ID 0:   "response": {
ID 0:     "results": [
ID 0:       {
ID 0:         "series": [
ID 0:           {
ID 0:             "columns": [
ID 0:               "time",
ID 0:               "max",
ID 0:               "max_1",
ID 0:               "max_2",
ID 0:               "max_3",
ID 0:               "max_4",
ID 0:               "max_5",
ID 0:               "max_6",
ID 0:               "max_7",
ID 0:               "max_8",
ID 0:               "max_9"
ID 0:             ],
ID 0:             "name": "cpu",
ID 0:             "values": [
ID 0:               [
ID 0:                 "2016-01-01T02:00:00Z",
ID 0:                 48,
ID 0:                 11,
ID 0:                 55,
ID 0:                 17,
ID 0:                 46,
ID 0:                 25,
ID 0:                 33,
ID 0:                 44,
ID 0:                 38,
ID 0:                 52
ID 0:               ],
ID 0:               [
ID 0:                 "2016-01-01T03:00:00Z",
ID 0:                 27,
ID 0:                 9,
ID 0:                 84,
ID 0:                 27,
ID 0:                 52,
ID 0:                 35,
ID 0:                 33,
ID 0:                 85,
ID 0:                 40,
ID 0:                 59
ID 0:               ],
(...)

Great catch -- looks like the tests need to be slightly updated.


Compiler warning in Http class

Wrestrict triggered in Http.cpp
The use of std::string::insert() in Http.cpp:32 causes the compiler warning -Wrestrict to trigger. This was noticed in a C++20 environment.
Your environment

EndeavourOS with gcc 12.2.0
2.6.x but occurs on all branches including master
Set language standard to C++20
-Wall -Werror -Wpedantic

Steps to reproduce
Simply build a minimal SFML example from source
Expected behavior
No warnings should be triggered while building SFML
Actual behavior
inlined from ‘void sf::Http::Request::setUri(const std::string&)’ at <snip>/build/_deps/sfml-src/src/SFML/Network/Http.cpp:82:21:
/usr/include/c++/12.2.0/bits/char_traits.h:431:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing<PHONE_NUMBER>854775810 or more bytes at offsets [2,<PHONE_NUMBER>854775807] and 1 may overlap up to<PHONE_NUMBER>854775813 bytes at offset -3 [-Werror=restrict]
  431 |         return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
      |                                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [_deps/sfml-build/src/SFML/Network/CMakeFiles/sfml-network.dir/build.make:90: _deps/sfml-build/src/SFML/Network/CMakeFiles/sfml-network.dir/Http.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:389: _deps/sfml-build/src/SFML/Network/CMakeFiles/sfml-network.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

This is a known bug in GCC when using C++20 and optimizations. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651

I think the patch in #2218 is a reasonable workaround. I want people using cutting edge compilers with warnings enabled. std::string provides 10 redundant APIs for every operation so it's an easy to switch to an iterator-based API instead. Plus I think it makes the code marginally more expressive which is nice.

Fixed with #2218


docs: add some signposting to blog

Hey @B3nnyL
I would like to add some signposting on the repo to

Blog post
How to see it in action without implementing in your code base

Fork this repo and run in Github action
Quick start guide and pick cypress as consumer https://docs.pactflow.io/docs/workshops/quick_starts/bdc/

RE our cypress PR
Simple commands that generates pact from Cypress for pact test
could we change the wording slightly

Simple commands to generate Pact contracts from your existing Cypress tests.

What do you think?

Great idea!


[feature-request] Collect bigquery tables tags

Feature
BigQuery does not ingest information such as labels from tables
Describe the task
Collect the labels from table during metadata ingestion. Its the same way used for datasets.

@harshach, its enabled. It works for dataset, tables don't.

@harshach @FelipeArruda, we currently have an implementation for policytags as tags on the table level..
labels are ingested on the schema level, will have the labels fetched for table level as well. Thanks🙂


Create SelectAsync component

Codecov Report

Merging #459 into master will increase coverage by 0.15%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #459      +/-   ##
==========================================
+ Coverage   96.92%   97.08%   +0.15%
==========================================
  Files         404      406       +2
  Lines        3059     3085      +26
  Branches      336      337       +1
==========================================
+ Hits         2965     2995      +30
+ Misses         75       73       -2
+ Partials       19       17       -2

Impacted Files
Coverage Δ

src/components/Select/SelectAsync.tsx
100% <100%> (ø)

src/util/index.ts
100% <100%> (ø)
:arrow_up:

src/components/Select/index.ts
100% <100%> (ø)
:arrow_up:

src/components/Select/useAsyncSelect.ts
100% <100%> (ø)

...onents/Select/SelectSingle/SelectDownshiftMenu.tsx
100% <0%> (+15.38%)
:arrow_up:

Continue to review full report at Codecov.

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


Add removeAll() method

Is it possible to add a RemoveAll method that removes all modal windows from their context, for example when changing the page?

To auto hide modal when parent component is destroyed, you need to use the declarative way:
https://opensource.ebay.com/nice-modal-react/#declarative

To auto hide modal when parent component is destroyed, you need to use the declarative way: https://opensource.ebay.com/nice-modal-react/#declarative

Then what's the point of using the NiceModal.show() approach. For me it is preferable, since I receive data from the callback and, depending on the role, show different drawers:
const updateBranchClickHandler = useCallback((branch: Branch) => {
    if (isUserManager) {
      NiceModal.show(LimitsDrawer, { branch });
    } else {
      NiceModal.show(BranchDrawer, { branch });
    }
  }, []);

The branch property is mandatory and with a declarative approach I won’t be able to push them into the component itself, since I get this property from the callback.


Update message.go

Description
Fixes issue #557 . Implemented RedisResult methods for converting RedisMessage responses to various data types.
Changes Made

Added methods in RedisResult for converting responses to int slices, float slices, boolean slices, and more.
Updated corresponding tests to ensure functionality.

Testing

Added unit tests for new methods in RedisResult.
Tested against various RedisMessage response types to verify conversions.

Checklist

[ ] Ran tests locally.
[ ] Verified changes against issue #557.
[ ] Reviewed coding conventions and formatting.

This pull request addresses the issue by extending the functionality of RedisResult to handle diverse RedisMessage responses effectively.

Hi @neelpatel04466, is there any problem with the original AsIntSlice?

Hi @next-person-username,
Thank you for your question.
Original AsIntSlice Issue
The original AsIntSlice method had the following issues:

Limited Data Type Support: It was only able to handle integer slices, which limited its usefulness for applications requiring other data types such as floats, booleans, and strings.
Error Handling: The method had limited error handling capabilities, which could lead to silent failures or incorrect data conversions in certain edge cases.

Changes Made
To address these issues, I implemented the following changes:

Extended Data Type Support: Added methods in RedisResult for converting RedisMessage responses to various data types, including AsFloatSlice, AsBoolSlice, AsStringSlice, etc.
Improved Error Handling: Enhanced error handling to provide more informative error messages and prevent silent failures.
Unit Tests: Updated and added unit tests to ensure the new methods work correctly and handle edge cases appropriately.

@rueian Heavy GPT contributions :p


Issue running example locally

I'm getting the following error in the browser console when running the example locally using npm start then access it at http://MY_LOCAL_IP_ADDRESS:8080/basic.html:
Chrome:
build.js:2539 NOVIABLEICE No usable STUN/TURN path
(anonymous) @ build.js:2539

Firefox:
RTCIceServer.url is deprecated! Use urls instead. easyrtc.js:3587
onaddstream is deprecated! Use peerConnection.ontrack instead.  easyrtc.js:6356
RTCIceServer.url is deprecated! Use urls instead. easyrtc.js:3587
onaddstream is deprecated! Use peerConnection.ontrack instead.  easyrtc.js:6356
ICE failed, see about:webrtc for more details

Seems like easyrtc can't connect to the google stun servers correctly. Do you know what could be causing this? I'm running the browser on the same machine as the server.
It happens in the latest production version of Firefox and Chrome.

I have not seen that error before when both clients are on the same machine. I have seen it quite often on mobile networks however. What happens if you try to access the examples at https://haydenlee.io/networked-aframe/basic.html with two tabs on the same PC?

The example works, but in my case the server and both clients are all running on the same machine. I'll look into this further tonight to see if I can get a clearer picture as to what is going on.

Still no luck, even with running the basic.html example at the latest commit e2e59e46c07b3e5eb261b0602c9516af70ed26a5. What browser are you using when developing locally?

I think we can close this off for now. I will re-test in v2.0 and see if it's still  a problem.


Draggability of Panels

Is your feature request related to a problem? Please describe.
The Panels -

Circuit Elements
Properties Panel
Timing Diagram
Quick Panel
Testbench
should be draggable across the canvas.
Check out the current simulator to check the drag functionality.

Describe the solution you'd like
Research different libraries available, compare them and find the most suitable one.
Discuss in Slack before starting to implement it.
Are you working on this? (Yes/No)
No

Hi @devartstar,
I would like to work on this.

Hi @devartstar,
I would like to work on this.

Hey @disha1202 , if you don't mind I would love to assist in this Issue since the Issue is big enough for an individual to apply in all 5 panels, it would be much better to breakdown the panels among two sets and apply the functionality after the final discussion.
@devartstar what do you think about this ?

Hi @devartstar,
I would like to work on this.

Hey @disha1202 , if you don't mind I would love to assist in this Issue since the Issue is big enough for an individual to apply in all 5 panels, it would be much better to breakdown the panels among two sets and apply the functionality after the final discussion.
@devartstar what do you think about this ?

Let's all first discuss the library we can use.
Then depending upon the library selected we might decide later.
I feel it won't be much hectic to implement since we are using a library.
So for maintaining consistency is better if one person does it. So @disha1202 can pick it up I guess.

@disha1202 are you still working on this issue ?

@Arnabdaz This issue is under hold as we still have not decided upon the library we would want to use.
Let's discuss it first in slack.

hi @devartstar i am gsoc'2023 contributor want to work on this can you provide a slack link so that i can join :)

@devartstar I also want to work on this issue , pls provide slack channel link for the discussion of the same .

hello @Arnabdaz i would like to take up this issue

It's already implemented in the last Gsoc #182