MathML for multi-digit numbers is wrong

From this page on trig functions, this is the MathML for the first expr:  sin(α)=0.34
<math><semantics>
<mrow>
  <mo>sin</mo>
   <mo>(</mo>
   <mi>α</mi>
   <mo>)</mo>
   <mo>=</mo>
   <mn>0</mn><mi mathvariant="normal">.</mi><mn>3</mn><mn>4</mn>
</mrow>
<annotation encoding="application/x-tex">\sin (\alpha) = 0.34</annotation>
</semantics></math>

Notice that what should be <mn>0.34</mn> has turned into three <mn>s and one <mi>.
The "sin" should also be in a <mi> -- that's #202

I noticed this problem when trying out the screenreader, thanks for reporting it.
Unfortunately, there isn't a trivial fix for this. The TeX parser splits strings into individual characters (since TeX has no real conception of semantics), so by the time we're building the MathML tree, there's no information that the two numbers should go together.
I could try doing something like "Combine all adjacent <mn>[0-9]</mn> and <mi>.</mi> into a single <mn>", which would require a little work but wouldn't be awful. It would require a little more work to get -2.3 to turn into a single <mn> (but shouldn't be that bad). However, then something like 01.2.3 would get merged into a single <mn>. Does that sound like an acceptable loss? I'm not sure how a screenreader would read <mn>01.2.3</mn> (maybe you could try it?)

In C++, there are functions to parse strings to numbers and they return the point at which they left off. In JS, it looks like the closest you get is parseInt() and parseFloat(). They don't return where the parse left off, so they are less useful.
I think that the easy thing to do that will be right most of the time is write a simple functions that checks for digits and and decimal points (two separate loops for digits with a check for "." or a flag to say you already saw the decimal point). If you want to worry about internationalization, then you get into using "," as a decimal separator. I also don't know if large numbers are written as "1,234" or even "1 234 567" (i.e, spaces as separators).  Dealing with just digits and "." will go a long way to getting it right.

A similar issue is that we don't collapse multiple primes into a single glyph.  \u2032 is single prime, \u2033 is double prime, and \u2034 is triple prime.  Having a screen reader read out "double prime" or "triple prime" would be much nicer than "prime prime" or "prime prime prime".

Thanks for revitalizing this old issue, @kevinbarabash .  MDN says "The MathML <mn> element represents a numeric literal which is normally a sequence of digits with a possible separator (a dot or a comma)".  So I'd be happy with leaving a - (or +) outside the <mn>, and just concatenating strings of <mn> and one (or more) <mi>.</mi>s.
We could similarly combine multiple primes, e.g., in groupTypes.mrow.  Maybe a good target after #788.


chore(build): Get rid of unnecessary src/main directory

Just moves src/main into src/ since the extra directory was unnecessary and updates the webpack config as needed. Was bugging me. =]

It was some sort of weird hope that I'd eventually add tests, lol. All my work stuff is 80-90% coverage, but I just never bothered here.

Haha. Even then I find a much better pattern is to put the tests right next to the implementation versus a tests directory that mirrors the src directory. Don't have to worry about keeping the two directory structures in sync during refactoring and it's immediately obvious which modules are well-tested and which are not. =p
src/chatty/SimpleChatty.ts
src/chatty/SimpleChatty.spec.ts
We'll get there eventually!


Code ETA

Hi @suyz526 ,
do you have any estimate on when your code could be published?
Best,
D

Hi,
thanks for your interest and sorry for the delay. I will commit the code tomorrow.
Best,
Yongzhi


Getting password protected sharing link with expiry date

Hi @dariobauer and @Shub77
I tried to implement an addition feature for getting a password protected sharing link of DriveItem but the post request I had created with the help of this link is not able to get the item using its item_id as it is returning fileNotFound in its response_data.
here is my code, please improve it or add the feature mentioned above.
`    @token_required
def get_sharinglink(self, item_id: str):
    request_url = self._API_URL + "me/drive/items/{}/createLink".format(item_id)
    body = {
        "type": "view",
        "password": "1234",
        "scope": "organization"
        }
    response = httpx.post(request_url, headers=self._headers, json=body)

    response_data = response.json()

    return response_data`

Thanks

Sharing link functionality differs between personal OneDrive and organisation OneDrive (work/school accounts).
It seems that you are wanting to create a password protected link for an organisation which is not possible:
The password of the sharing link that is set by the creator. Optional and OneDrive Personal only.
For personal accounts you can use:
{
  "type": "view",
  "password": "1234",
  "scope": "anonymous"
}

For organisation accounts the process would be to first create a sharing link, and then grant permissions to specific users.
I will look at this in more detail and carry out some testing.

Okay , then could you please add one functionality which generates sharing link for the organisation onedrive which should have edit or view option.
Thanks

I have drafted this feature, refer to the branch sharing-links.
You can test and use this development build by installing the branch directly:
pip install https://github.com/dariobauer/graph-onedrive/archive/sharing-links.zip

Please let me know if you experience any issues.
This will be included in the next feature release.

This has been merged into main and will be in the next release.
You can use the development version before then if you are so inclined: pip install https://github.com/dariobauer/graph-onedrive/archive/main.zip.

Hi @dariobauer
As I tried to get the sharing link by using this code
my_drive.create_share_link(item_id="01H56XG2DAWFPVXRN6T5FYXDJRVYZ2WRBA"
but it raises an exception
 raise Exception( Exception: API Error : share link could not be created (Item not found)
I have already given all the permissions in my azure AD as per the permissions given here
I am testing this from a work account.
Also I am not able to make request for permissions
but for DriveItem everything works fine .
please let me know whether I am getting item not found error by doing some mistakes in calling the API or I am missing something in Microsoft Azure App.
Thanks

As I tried to get the sharing link by using this code
my_drive.create_share_link(item_id="01H56XG2DAWFPVXRN6T5FYXDJRVYZ2WRBA"
but it raises an exception
 raise Exception( Exception: API Error : share link could not be created (Item not found)

This error can occur due to several reasons.
Most likely your work is blocking "anonymous" links, unfortunately the Graph API returns "item not found" in this instance, so this is noted in the docs. You can check this by going to the website and manually creating a sharing link, there you will see "Anyone with the link" has been disabled by your organisation.

Try specifying the scope:
my_drive.create_share_link(item_id="01H56XG2DAWFPVXRN6T5FYXDJRVYZ2WRBA", scope="organization")

Also I am not able to make request for permissions

I have not yet added permissions methods as there are several so will take some time to add.

Yeah Thanks , its perfectly working for personal Accounts.
but I am still getting FileNotFound for Work Account as I provided scope: "organization".

Can you please confirm:

Using the website you can create a shared link for this file?
On the website link settings the blue "people in organization with the link" is available?
Does my_drive.detail_item("01H56XG2DAWFPVXRN6T5FYXDJRVYZ2WRBA") return a valid item? Could you share this response (removing any sensitive data)?

yeah sure

On the website link settings the blue "people in organization with the link" is available?

yes its available.

Does my_drive.detail_item("01H56XG2DAWFPVXRN6T5FYXDJRVYZ2WRBA") return a valid item? Could you share this response (removing any sensitive data)?
yeah its returning the details from the above item id

If I am trying to make a post request on graph explorer then there also I am getting 404 response as fileNotFound.
I think if there is any admin consent permissions I am missing or something else.. as I have already provided all the delegated permissions needed for creating sharing link.

I cannot reproduce this issue (sharing a file 1.docx in the root of a business OneDrive which blocks anonymous links works fine for me).
Can you please try the following steps:

Go to Graph Explorer and sign in using the business account.
Create a query GET v1.0 https://graph.microsoft.com/v1.0/me/drive/items/{itemid} to verify that you can access the file.
Create a new query POST v1.0 https://graph.microsoft.com/v1.0/me/drive/items/{itemid}/createLink with the body {"type": "view", "scope": "organization"}

If this does not work then it is not an issue with the any of the Python packages.

I cannot reproduce this issue (sharing a file 1.docx in the root of a business OneDrive which blocks anonymous links works fine for me).
Can you please try the following steps:

Go to Graph Explorer and sign in using the business account.
Create a new query POST v1.0 https://graph.microsoft.com/v1.0/me/drive/items/{itemid}/createLink with the body {"type": "view", "scope": "organization"}

I am still not able to generate the sharable link by making a post request from graph explorer for my organization. I don't know why but I am trying to find the issue as Everything working fine for personal accounts.

If you get a 400 series error then it is not an issue with the any of the Python packages.

Yeah Its not the issue of python packages.
btw thanks a lot for the quick responses.


The app does not open

When I try to open the .exe file it only opens the Windows command and not the application that I can install the autoortho, I tried to reinstall but it didn't help.

Hi, I seem to have the same problem.
I've been using autoortho with XP11 and just purchased XP12 last week. I have previously checked the option to not to show the configuration window (where you set the paths and download the tiles etc.) and now I can't find a way to reopen that window to configure for XP12.


fix(api): add namespace in registry api

What this PR does / why we need it:
fix(api): add namespace in registry api
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @simon-cj @gaocegege

Release note:

NONE

/lgtm

@FogDong
CI is not pass, the unit tests is err, PTAL

Can you force push to trigger another CI build?

/retest

/lgtm


Problem building in xCode 7 beta 5

Hello.  I'm seeing the following error when building in xCode 7 (beta 5) with a project that includes the latest version of this plugin:
..../Plugins/cordova-plugin-chrome-apps-bluetooth/ChromeBluetooth.m:474:22: Property 'isConnected' not found on object of type 'CBPeripheral *'
My project won't now build, although it does merrily in xCode 6.4.  I realise this version of xCode is a beta - but I thought I should put it out there.

As a quick fix I commented out this statement and return on cleanup to get it to compile OK.
//if (!_peripheral.isConnected) {
return;
//}
I have no idea if this will affect the performance in any other way as it is a cleanup function but everything seems to be working ok! Let me know if you find a proper solution.


[Bug] Graph types fall apart if physics is enabled

Hi!
Having Physics - Simulate enabled disrupts graph ordering. Can reproduce 100% of the time.
Steps to reproduce:

Go to graph
Graph settings
Make sure Physics - Simulate is turned on
Select a graph type
Graph orders correctly and then falls apart
(6, graph falls apart with physics even if animation is turned off)

Thanks!

This is actually expected behavior.
When simulation is enabled, the graph type acts as a "base" layout. The simulator uses the base layout for initial conditions (and therefore you get different looking simulated layouts depending on your base layout).
For most layout types, with large enough graphs, disabling simulation will result in incoherent layouts, which was actually the reason why I added simulation in the first place. The takeaway is that, if you want to preserve the base layout, you must disable simulation.
However, it doesn't have to remain that way. What would you suggest as a solution to your issue?

Aaaah, now that you mention it, after disabling animation, I do see how the physics would snap it back to the original form. Makes perfect sense now!
I think disabling the various graphs or adding a small warning / note to the physics option that lets users know that it needs to be disabled for the other graphs to work.
My issue stems from the fact, that when both animation and physics are enabled, the snapping back to original layout at the end looks quite buggy, as if something were broken.
Thank you for clearing this up, it makes a lot of sense!
Also the app is super cool!


else if could be a switch statement suggestion

the following lines in twitter-tools.py are an else if nest, and could be a switch statement instead
    if choice == '1':
        print('Verified Followers')
        verifiedFollowers()
    if choice == '2':
        print('Remove Followers')
        removeFollowers()
    if choice == '3':
        print('Transfer Following')
        transferFollowing()
    if choice == '4':
        print('Tweet')
        tweet()
    if choice == '5':
        print('Tweet with Image')
        tweetWithImage()
    else:
        print('Oops, you didn\'t select a valid choice.')
        menu()

its more of a "best practice" thing than a functional thing

Thanks, I'll take a look.


StereoAudioRecorder .stopRecording() encoding in real-time?

Hi All/ Muaz,
We've noticed that an audio recording of 3 minutes has a lengthy delay for the callback to raise. Under the assumption that this is due to how the library encodes the file. Is there a way to encode a WAV file in real-time or while it's recording? If not, is there any scope for this to be implemented in future works?

Change sampleRate from to 48000 if you are chrome

Change sampleRate from 44100 to 48000 if you are chrome

I had the same problem.I used chrome with tabCapture , and i found that tabCapture returns a audiostream of 48khz ,which is determined by OS.  I solved the problem by adding a desiredSampRate like this:
rec = new StereoAudioRecorder(stream,{       sampleRate:48000,       bufferSize:0,       desiredSampRate:44100     });

Hi @JellyZhang,
Sadly not as the desiresSampleRate property does not affect the encoding time in anyway.
We opted into re-writing our own encoder which uses a Web Worker to encode each "chunk" as it is received by the onaudioprocess Event Hanlder

@isdm-solutions I'm considering doing something similar. do you have any sample code or tips?


Fatal Exception: java.lang.OutOfMemoryError (AbstractBox.java)

I'm using a older version, back when the package was still com.google.mp4parser and recently I started getting ANR's on devices running 7.0. It points to line 110 in AbstractBox.java:
this.content = ByteBuffer.allocate(CastUtils.l2i(contentSize));

and the ANR happens when calling:
MediaInfo mediaInfo = new MediaInfo();

I had a look at all the issues and I found this one (#139).
Is it save to say that the latest release fixed this issue because @sannies approved this pull request on the 3rd of Aug - (https://github.com/sannies/mp4parser/pull/288)
Also, I noticed that the isoparser and muxer is now spilt into 2 "projects" - Am I correct in downloading isopaser and muxer jar files separately and adding them as separate jars into my project?

Fixed in latest release

@HBiSoft Hi, can you please tell me release version in which https://github.com/sannies/mp4parser/issues/139
is resolved. ??


HTTPS server crashes because of alertCertificateUnknown

HTTPS server crashes at the following line because of alertCertificateUnknown error.
https://github.com/golang/go/blob/f721fa3be9bb52524f97b409606f9423437535e8/src/net/http/server.go#L1855

This is only a log line for an unrecoverable error, not a hard crash.

Sorry for the wrong reporting. I found the actual bug that caused it to a hard crash.


AppCenter Xamarin iOS app is not getting installed.

After we started using MacOS 12 azure hosted pipelines and upgraded to visual studio 2022. Application is not getting installed. We tried archiving from our developer machines and installing on devices. It works perfectly. But only if we do it from AzureDevOps pipelines and AppCenter, iOS app is not getting installed.
Using below:
Visual Studio for Mac 2022
Azure DevOps - MacOS 12 hosted piepline
AppCenter
Below are the tasks:

Install App Certificate
Install Apple Provisioning Profile
Xamarin iOS - Build

We have verified Apple certificate and provisioning profiles are valid till April 2023. Also, the same code build using macOS 11 hosted pipelines and visual studio 2019 dont have this issue. Please help as we couldnt find a way to solve this issue.
#866
https://github.com/microsoft/appcenter/issues/866

@DmitriyKirakosyan
Can you please let me know if you have any update on this issue?

@SravanthiKare please contact our customer support with this issue.


If no new ServiceConfig and no new ConfigSelector, stick with old ConfigSelector.

I'm not entirely sure yet that this is really the right way to fix this, but it should work to unblock the problem you're having right now.  Please let me know if you have any trouble with it.

This change is going to be merged as part of #23659, but once #24114 is ready, that will replace this code.


Add initial checbox on first registration page to verify consent with privacy statement

Checkbox - "I hereby agree with the processing of my personal data in accordance with our privacy policy"
"privacy policy" should link to the privacy policy
privacy policy must be exposed somewhere
policy to be provided

code is done, but blocked on the privacy policy


Bug report in PT-BR

This is a version for Bug report tamplate in Brazilian portuguese.

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

@VitorPaes thank you for the contribution. Given the current capabilities, we do not support localized bug templates, therefore I will have to close this PR.


fix: metadata, resource length limits

Service Account IDs have a maximum length of 30 characters (source). Reduce the random hex and service account prefixes to adjust (should result deployment_name being max 16char (current default length) (currently blocking deployments)
Update metadata docs per onboarding

/gcbrun


Flash playback problem (wrong video detection)

Expression this.videoRegExp.test(a)?"video":"audio" returns an incorrect value in 50% of calls. It causes flash palyback loading problem. /(mp4|m4v|ogg|ogv|webm|flv|wmv|mpeg)/gi.test(a)?"video":"audio" fixes that issue.

Could you point out a file name and line #?

https://github.com/johndyer/mediaelement/blob/master/build/mediaelement-and-player.js#L902

Why does this work and not the stored RegExp?

Don't know but I figured problems in FF, IE, Opera. After that small fix it workes properly in all browsers. I've debugged script for two days and was very surprised by such behavior.

I just want to know why before doing it.
This code was only supposed to be called when someone calls MEjs on a <div> or <a>, but not on <audio> and <video>. I've added another check for that as well. Thanks!

It's my pleasure. Thank you for such a great component


Example configuration.yaml entry

Proposed Changes
Adding a simple Example configuration.yaml entry to the existing config. For new users and people that are switching over from the official add-on.

I disagree with the 'broker/hass ip adress', I think a0d7b954-mqtt should work just as well. (Or even localhost is better than an IP address, since the latter is different for each user.)

I disagree with the 'broker/hass ip adress', I think a0d7b954-mqtt should work just as well. (Or even localhost is better than an IP address, since the latter is different for each user.)

I totaly agree, changed the PR.

Please use a0d7b954-mqtt, not localhost.

@ludeeus I hope this is better 👍

Looks good now :)
Thanks 🎉


error when connect cat server config url

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

same error

Maybe cat server hasn't started up yet

cat-home3.0.0 的path配置不对，修改Context path为/cat或者将war包名称修改为cat即可。


Installing azure pipeline agent on Debian 11

our infrastructure team has provided a Debian 11 install to try our first Linux build agent server. I am following the steps to set up the agent.  I ran  ./bin/installdependencies.sh
and I get a few errors. As I see the reason is that the newer version of Debian uses newer versions of these libraries. This was the output of the commad that states the details of the server and the errors.
--------OS Information--------
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
------------------------------
The current OS is Debian based
--------Debian Version--------
11.0
------------------------------
/usr/bin/apt
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
71 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libkrb5-3 is already the newest version (1.18.3-6+deb11u1).
liblttng-ust0 is already the newest version (2.12.1-1).
zlib1g is already the newest version (1:1.2.11.dfsg-2).
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libcurl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libcurl4

E: Package 'libcurl3' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libcurl4 is already the newest version (7.74.0-1.3+b1).
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libssl1.0.0
E: Couldn't find any package by glob 'libssl1.0.0'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libssl1.0.2
E: Couldn't find any package by glob 'libssl1.0.2'
'apt' failed with exit code '0'
Can't install dotnet core dependencies.
You can manually install all required dependencies based on following documentation

Hi @greektreat do you have any updates?

Hi @greektreat closing this issue. Feel free to reopen it if it's still relevant for you.


Black rectangles instead of shadows in Sims 2

When set to High, the shadows under the sims become a black rectangle.
Should be noted that this issue affects native d3d9 as well, but only on new drivers - at least for Nvidia, it doesn't happen on drivers that are older than 327 (like 320, for example).
Also, it can be easily workarounded with the use of a game mod.
In case it might be needed, I extracted game's original material shader responsible for shadows:
original.txt
And in addition, same shader but modded to fix the issue:
simShadowFix04.txt
To illustrate:

System information

GPU: Nvidia GTX 1070
Driver: 430.40
Wine version: 4.14
DXVK version: 13f5048c

Apitrace file(s)
https://drive.google.com/open?id=1CmUlo3XG-34YTOK769rZ9LhWNB6j4C56
Log files

d3d9.log: Sims2EP9_d3d9.log

This happens on Windows as well, known issue.
https://simsvip.com/2014/07/20/the-sims-2-ultimate-collection-remove-black-squares/
In other words, works as intended!

@Kattus as I mentioned, it doesn't happen with old drivers, so the game seems to be relying on some broken behavior that was fixed in new drivers. So it would be nice to perhaps fine a way to emulate old driver behavior.

It's indeed a known bug: https://pcgamingwiki.com/wiki/The_Sims_2#Black_Square_Shadows
I don't think it's related to d9vk.

It kind of is and kind of isn't. This bug only appears in new driver versions, while while old drivers can still render shadows just fine. Which means there must be a way to emulate that old driver behavior and support it in D9VK.
And some other D3D9 implementations already do this - for example, dgvoodoo2.

So, it's an issue with the driver and not with d9vk.

No, it's an issue that affects both modern native D3D9 implementation and D9VK.

Exactly why I say it's not d9vk's fault :yum:

Fixed by https://github.com/Joshua-Ashton/d9vk/commit/58daddb31ccbcadb6a878104545e42526609ad77

Eh, I was wrong =/

It wasn't D9VK's fault. This bug is caused by a completely untested broken shadow renderpath. Thanks Maxis. I merely worked around this game bug by disallowing A8 render targets,


headless_defaults example displays an empty window

Bevy version
518408dfdaa8884ba86a71512de2a7d57848413d

What you did
Run cargo run --example headless_defaults
What went wrong
It isn't headless...a window is displayed:

I expected no window to be displayed.

The examples readme says that the example is:

An application that runs with default plugins, but without an actual renderer.

The purpose of the example is to test that everything works if no wgpu backends are set, which is required because
This issue and the other comment (https://github.com/bevyengine/bevy/issues/3155#issuecomment-1133596519) suggests that people are struggling to understand this example, so it could probably do with a rename - maybe no_renderer?
As far as I can tell, there was no discussion of this in #3439 - @Shatur do you have any thoughts on the name?

so it could probably do with a rename - maybe no_renderer

Yes, it makes more sense. And I think we also should note in the example description that the window will be present.

Cool, will do.


Add sweeping for arbitrary variables

If we could somehow give the user an ability to point to a specific object in the simulation and one of its properties, through some type of ID or by accessing it as an object externally, that would allow for sweeps of arbitrary variables anywhere in the simulation.
Idea: Allow the user to pass in an object (i.e. a Source) along with the parameters and values of that object they want to sweep. (i.e. 'phi': [0.5, 0.6, 0.7]). As long as we can ensure none of these objects are internally copied, then changing a parameter of that object could be done relatively easily. It would look something like this:
source = Source()
layer_n = Layer()
...
solver.solve((source, {'phi': [0.5, 0.6, 0.7]}), (layer_n, {'thickness': [0.2, 0.25, 0.3]})

TODO: Ensure no objects are copied internally, and make sure they are all only referenced. I think this may be an issue with the setup of LayerStacks.

This is implemented with unit and integration tests with the syntax above as of 0b68b56.


don't ignore the similar_names lint

Thanks! Mind rebasing? I think I've fixed the build in master.

done

Awesome, thanks!


[DCC Fatal Error] F2084 Internal Error: AV07F3F897-R1A9FFE9C-0

Hi, I am getting a compilation error [DCC Fatal Error] F2084 Internal Error: AV07F3F897-R1A9FFE9C-0
Delphi XE2

Hello,  this is an internal compiler error that could come from a couple of issues.
Could be the use of inline or generics/generic arrays, usage of static or something as simple as using open arrays as arguments.
Unfortunately I don't have access to XE2 to test.
At the moment,  I only have access to Delphi 10.4 and this builds and runs ok there.
One quick question,  are you using the latest update of XE2 as I encountered some issues while testing with XE2 in the past and installing the latest XE2 update fixed the problem.

Hello yes I am using the latest update Delphi XE2 UPDATE 4 forgot to say first writes [DCC Fatal Error] SbpBase32Alphabet.pas(119): F2084 Internal Error: URW1147 after some time if something is poke in the code [DCC Fatal Error] F2084 Internal Error: AV07F3F897-R1A9FFE9C-0
Error falls on SbpBase32Alphabet.pas !
In general, I catch the same error in all three components:

HashLib4Pascal the old version from the fork, by the way, compiles fine
CryptoLib4Pascal
SimpleBaseLib4Pascal

This fork HashLib4Pascal compiles just fine:
https://github.com/vincentsoft/HashLib4Pascal
And SimpleBaseLib4 Pascal doesn't even compile forks (

@Uefi1 , the branch you mentioned is very old, about 282 commits behind.
When I started out the project, I had access to XE2 (from work) so I could test against it.
unfortunately I have no access to that anymore.
I would suggest you upgrade your Delphi version to something modern say 10.4 or higher (as that is the only version I have access to at the moment).
I also don't have the zeal or ability to support older Delphi versions as they have a lot of internal compiler bugs.
that been said, even if I wanted to support XE2, using a pirated version is not a route I would want to take.
lastly, the error you are getting seems to point to the compiler inability to perform inlining in some of those methods.
here is what I suggest you do, comment out the inline; qualifier in front of those methods and try again.

Hail, comment inline; did not help =( are there any other options?

can you try commenting out the static; too.

I sincerely have no idea what next to suggest.

I sincerely have no idea what next to suggest.

I read somewhere that it's a mistake F2084 Internal Error: URW1147 can occur if the class is somehow incorrectly declared
Could this be helpful in solving the problem:
https://www.generacodice.com/ru/articolo/41771?titolo=How-to-solve-Delphi's-[Pascal-Fatal-Error]-F2084-Internal-Error%3A-LA33

actually, a lot of things can cause that error, in the past using inline,  static  and also strict private instead of private can cause it.
so we have ruled out inline, static. can you use private instead of strict private in that class.

I don't really understand how to write all this programmatically, can you help?)

on https://github.com/Xor-el/SimpleBaseLib4Pascal/blob/master/SimpleBaseLib/src/Bases/SbpBase32Alphabet.pas#L17
replace strict private with private

I have tried this for a long time =)

hmmm, only thing I can suggest now is that you upgrade your Delphi version.
reason is I am certain you will probably need to use CryptoLib4Pascal in the future and that library has never supported XE2 before. infact support for that library started at Delphi Tokyo.
My honest advice is that you upgrade to 10.2 or later.

My honest advice is that you upgrade to 10.4 or later.

I can't do it on my own =(
You need to somehow compile under XE2

I removed some functions and procedures so it really compiles, for example, the matter is somewhere in them:
`unit SbpBase32Alphabet;
{$I ..\Include\SimpleBaseLib.inc}
interface
uses
SysUtils,
SbpUtilities,
SbpEncodingAlphabet,
SbpSimpleBaseLibTypes,
SbpIBase32Alphabet;
type
TBase32Alphabet = class(TEncodingAlphabet, IBase32Alphabet)
strict private
class var

  FCrockford, FRfc4648, FExtendedHex: IBase32Alphabet;

public
constructor Create(const alphabet: String);
constructor CreateCrockford();
destructor Destroy; override;

end;
implementation
{ TBase32Alphabet }
constructor TBase32Alphabet.Create(const alphabet: String);
begin
Inherited Create(32, alphabet);
//MapLowerCaseCounterParts(alphabet);
end;
constructor TBase32Alphabet.CreateCrockford();
begin
Create('0123456789ABCDEFGHJKMNPQRSTVWXYZ');
//MapAlternate('O', '0');
//MapAlternate('I', '1');
//MapAlternate('L', '1');
end;
destructor TBase32Alphabet.Destroy;
begin
inherited Destroy;
end;
end.`

so you say commenting out
    procedure MapAlternate(source, destination: Char); inline;
    procedure MapLowerCaseCounterParts(const alphabet: String); inline;

allows it compile?

allows it compile?

I just figured out that it was the procedures, commenting on them, I compiled a package:
`unit SbpBase32Alphabet;
{$I ..\Include\SimpleBaseLib.inc}
interface
uses
SysUtils,
SbpUtilities,
SbpEncodingAlphabet,
SbpSimpleBaseLibTypes,
SbpIBase32Alphabet;
type
TBase32Alphabet = class(TEncodingAlphabet, IBase32Alphabet)
strict private
class var

  FCrockford, FRfc4648, FExtendedHex: IBase32Alphabet;

//procedure MapAlternate(source, destination: Char); inline;
//procedure MapLowerCaseCounterParts(const alphabet: String); inline;

class function GetCrockford: IBase32Alphabet; static; inline;
class function GetRfc4648: IBase32Alphabet; static; inline;
class function GetExtendedHex: IBase32Alphabet; static; inline;

class constructor Base32Alphabet();

public
class property Crockford: IBase32Alphabet read GetCrockford;
class property Rfc4648: IBase32Alphabet read GetRfc4648;
class property ExtendedHex: IBase32Alphabet read GetExtendedHex;
constructor Create(const alphabet: String);
constructor CreateCrockford();
destructor Destroy; override;
end;
implementation
{ TBase32Alphabet }
{procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
result: Byte;
begin
result := ReverseLookupTable[Ord(destination)] - 1;
Map(source, result);
Map(TUtilities.LowCase(source), result);
end;}
//procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
//var
//  LowPoint, HighPoint, I: Int32;
//  c: Char;
//begin
//{$IFDEF DELPHIXE3_UP}
//  LowPoint := System.Low(alphabet);
//  HighPoint := System.High(alphabet);
//{$ELSE}
//  LowPoint := 1;
//  HighPoint := System.Length(alphabet);
//{$ENDIF DELPHIXE3_UP}
//  for I := LowPoint to HighPoint do
//  begin
//    c := alphabet[I];
//    if TUtilities.IsUpper(c) then
//    begin
//      Map(TUtilities.LowCase(c), ReverseLookupTable[Ord(c)] - 1);
//    end;
//  end;
//end;
class constructor TBase32Alphabet.Base32Alphabet;
begin
FCrockford := TBase32Alphabet.CreateCrockford();
FRfc4648 := TBase32Alphabet.Create('ABCDEFGHIJKLMNOPQRSTUVWXYZ234567');
FExtendedHex := TBase32Alphabet.Create('0123456789ABCDEFGHIJKLMNOPQRSTUV');
end;
constructor TBase32Alphabet.Create(const alphabet: String);
begin
Inherited Create(32, alphabet);
//MapLowerCaseCounterParts(alphabet);
end;
constructor TBase32Alphabet.CreateCrockford();
begin
Create('0123456789ABCDEFGHJKMNPQRSTVWXYZ');
//MapAlternate('O', '0');
//MapAlternate('I', '1');
//MapAlternate('L', '1');
end;
destructor TBase32Alphabet.Destroy;
begin
inherited Destroy;
end;
class function TBase32Alphabet.GetCrockford: IBase32Alphabet;
begin
result := TBase32Alphabet.CreateCrockford();
end;
class function TBase32Alphabet.GetExtendedHex: IBase32Alphabet;
begin
result := FExtendedHex;
end;
class function TBase32Alphabet.GetRfc4648: IBase32Alphabet;
begin
result := FRfc4648;
end;
end.
`

but those procedures you commented out are needed for proper functioning.

can you undo your changes then replace
procedure MapLowerCaseCounterParts(const alphabet: String); inline;
with
procedure MapLowerCaseCounterParts(alphabet: String); inline;
and
procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
with
procedure TBase32Alphabet.MapLowerCaseCounterParts(alphabet: String);

can you undo your changes then replace

This is how it worked:
`type
TBase32Alphabet = class(TEncodingAlphabet, IBase32Alphabet)
strict private
class var

  FCrockford, FRfc4648, FExtendedHex: IBase32Alphabet;

class procedure MapAlternate(source, destination: Char); inline;
class procedure MapLowerCaseCounterParts(const alphabet: String); inline;

class function GetCrockford: IBase32Alphabet; static; inline;
class function GetRfc4648: IBase32Alphabet; static; inline;
class function GetExtendedHex: IBase32Alphabet; static; inline;

class constructor Base32Alphabet();

public
class property Crockford: IBase32Alphabet read GetCrockford;
class property Rfc4648: IBase32Alphabet read GetRfc4648;
class property ExtendedHex: IBase32Alphabet read GetExtendedHex;
constructor Create(const alphabet: String);
constructor CreateCrockford();
destructor Destroy; override;
end;`
Only now the error is in these lines which I have commented out:
`class procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
result: Byte;
begin
//result := ReverseLookupTable[Ord(destination)] - 1;
//Map(source, result);
//Map(TUtilities.LowCase(source), result);
end;
class procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
var
LowPoint, HighPoint, I: Int32;
c: Char;
begin
{$IFDEF DELPHIXE3_UP}
LowPoint := System.Low(alphabet);
HighPoint := System.High(alphabet);
{$ELSE}
LowPoint := 1;
HighPoint := System.Length(alphabet);
{$ENDIF DELPHIXE3_UP}
for I := LowPoint to HighPoint do
begin
c := alphabet[I];
if TUtilities.IsUpper(c) then
begin
//Map(TUtilities.LowCase(c), ReverseLookupTable[Ord(c)] - 1);
end;
end;`

go to https://github.com/Xor-el/SimpleBaseLib4Pascal/blob/master/SimpleBaseLib/src/Bases/SbpEncodingAlphabet.pas#L36
replace strict protected with protected

replace strict protected with protected

No the same:
[DCC Error] SbpBase32Alphabet.pas(49): E2233 Property 'ReverseLookupTable' inaccessible here

ohh, the error is right.
you cannot access a class instance variable in a static method.
class procedure MapAlternate(source, destination: Char); inline;
class procedure MapLowerCaseCounterParts(const alphabet: String); inline;

both methods above are meant to be instance methods not static.
revert your changes and replace
class procedure MapLowerCaseCounterParts(const alphabet: String); inline;
with
class procedure MapLowerCaseCounterParts(alphabet: String); inline;
do similar in the implementation side.

All removed const and still an error ((

which error do you get after removing const?

which error do you get after removing const?

[DCC Error] SbpBase32Alphabet.pas(49): E2233 Property 'ReverseLookupTable' inaccessible here

did you revert your changes in the procedure as I indicated?
this should be changed to
class procedure MapAlternate(source, destination: Char); inline;
class procedure MapLowerCaseCounterParts(const alphabet: String); inline;

to
procedure MapAlternate(source, destination: Char); inline;
procedure MapLowerCaseCounterParts(alphabet: String); inline;

If I replace class procedure MapAlternate(source, destination: Char); inline; with procedure MapAlternate(source, destination: Char); inline; then comes back again [DCC Fatal Error] SbpBase32Alphabet.pas(120): F2084 Internal Error: URW1147

replace the implementation of MapAlternate and MapLowerCaseCounterParts with this below then try to compile
procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
  result: Byte;
begin

end;

procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
var
  LowPoint, HighPoint, I: Int32;
  c: Char;
begin

end;

eplace the implementation of MapAlternate and MapLowerCaseCounterParts with this below then try to compile

Yes it works the package compiles !
`unit SbpBase32Alphabet;
{$I ..\Include\SimpleBaseLib.inc}
interface
uses
SysUtils,
SbpUtilities,
SbpEncodingAlphabet,
SbpSimpleBaseLibTypes,
SbpIBase32Alphabet;
type
TBase32Alphabet = class(TEncodingAlphabet, IBase32Alphabet)
protected
class var

  FCrockford, FRfc4648, FExtendedHex: IBase32Alphabet;

procedure MapAlternate(source, destination: Char); inline;
procedure MapLowerCaseCounterParts(const alphabet: String); inline;

class function GetCrockford: IBase32Alphabet; static; inline;
class function GetRfc4648: IBase32Alphabet; static; inline;
class function GetExtendedHex: IBase32Alphabet; static; inline;

class constructor Base32Alphabet();

public
class property Crockford: IBase32Alphabet read GetCrockford;
class property Rfc4648: IBase32Alphabet read GetRfc4648;
class property ExtendedHex: IBase32Alphabet read GetExtendedHex;
constructor Create(alphabet: String);
constructor CreateCrockford();
destructor Destroy; override;
end;
implementation
{ TBase32Alphabet }
procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
result: Byte;
begin
//
end;
procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
var
LowPoint, HighPoint, I: Int32;
c: Char;
begin
//
end;`

for MapAlternate, can you replace the existing implementation with
procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
  result: Byte;
begin
  result := ReverseLookupTable[Ord(destination)] - 1;
  Map(source, result);
  Map(TUtilities.LowCase(source), result);
end;

and try to compile.
still leave MapLowerCaseCounterParts empty

Yes, if I add code to the error:
[DCC Fatal Error] SbpBase32Alphabet.pas(110): F2084 Internal Error: URW1147
If I leave it empty, then the package is collected

so it looks like older Delphi version is having issues accessing ReverseLookupTable as a property.
replace your existing MapAlternate method with this
procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
  result: Byte;
  tmp: TSimpleBaseLibByteArray;
begin
  tmp := ReverseLookupTable;
  result := tmp[Ord(destination)] - 1;
  Map(source, result);
  Map(TUtilities.LowCase(source), result);
end;

replace your existing MapAlternate method with this
It's back again:
[DCC Fatal Error] SbpBase32Alphabet.pas(122): F2084 Internal Error: URW1147

This is work how the package is compiled:
`procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
result: Byte;
begin
//result := ReverseLookupTable[Ord(destination)] - 1;
Map(source, result);
Map(TUtilities.LowCase(source), result);
end;
procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
var
LowPoint, HighPoint, I: Int32;
c: Char;
begin
{$IFDEF DELPHIXE3_UP}
LowPoint := System.Low(alphabet);
HighPoint := System.High(alphabet);
{$ELSE}
LowPoint := 1;
HighPoint := System.Length(alphabet);
{$ENDIF DELPHIXE3_UP}
for I := LowPoint to HighPoint do
begin
c := alphabet[I];
if TUtilities.IsUpper(c) then
begin
//Map(TUtilities.LowCase(c), ReverseLookupTable[Ord(c)] - 1);
end;
end;
end;`

leave implementation of MapLowerCaseCounterParts empty.
and yes, Byte is System.Byte;

test and confirm if this builds

`procedure TBase32Alphabet.MapAlternate(source, destination: Char);
var
result: Byte;
tmp: TSimpleBaseLibByteArray;
begin
tmp := ReverseLookupTable;
result := tmp[Ord(destination)] - 1;
Map(source, result);
Map(TUtilities.LowCase(source), result);
end;
procedure TBase32Alphabet.MapLowerCaseCounterParts(const alphabet: String);
var
LowPoint, HighPoint, I: Int32;
c: Char;
begin
//
end;`
F2084 Internal Error: URW1147

Ok, can you go to https://github.com/Xor-el/SimpleBaseLib4Pascal/blob/master/SimpleBaseLib/src/Bases/SbpEncodingAlphabet.pas#L44 and remove the inline;

Ok, can you please go to

Oh yes, I successfully compiled a package of everything for this reason =) Now we need to look towards HashLib4Pascal
Thank you very much !

you are welcome.


Feature request: Concurrently serving models with optimizers

==Problem==
I want to use TensorFlow Serving to serve an output given certain placeholder inputs with a single run. The graph looks like this:
Input vector -> embedding lookup -> iterative inference with optimizer and tf.while_loop -> matrix math using inferred vector -> top K -> output
The problem is that I can't simply use a Tensor in the loop because tf.Optimizer requires a Variable. This in turn forces me to modify global state in each prediction, effectively prohibiting concurrency.
==Feature Request==
This could be solved by implementing:

a version of Optimizer.minimize() that returns a list of Tensors and takes Tensors instead of Variables as input and
an optimization to make Optimizer.minimize() recycle Tensors that are loop variables re-assigned to the return of Optimizer.minimize()

==For tensorflowbutler==
Since this is a feature request, the following fields are irrelevant:
Have I written custom code: NA
OS Platform and Distribution: NA
TensorFlow installed from: NA
TensorFlow version: NA
Bazel version: NA
CUDA/cuDNN version: NA
GPU model and memory: NA
Exact command to reproduce: NA

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Since this is a feature request, the following fields are irrelevant:
Have I written custom code: NA
OS Platform and Distribution: NA
TensorFlow installed from: NA
TensorFlow version: NA
Bazel version: NA
CUDA/cuDNN version: NA
GPU model and memory: NA
Exact command to reproduce: NA

Nagging Assignee @tatatodd: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 60 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 75 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 90 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 105 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 120 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 150 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 165 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 180 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hi @rothn, tf.Optimizer.minimize() ,this API returns an Operation that updates the variables in var_list. The iterations will be automatically increased by 1. var_list can converted to Tensors. Recommend you to try the latest Tf-serving and Tensorflow version. Thank you!

Thanks. I tend to use TFX lately with an AutoML product that generates the pipeline, so I do not anticipate having the opportunity to try this out soon. Thanks for your response and I will let you know if this works for me when I next need it :-).

Hello @rothn! Could you try to make a custom model and try  with the latest  TF serving. Please refer to this link for more information on Serving custom ops and let us know if that helps?
Thank you!

@rothn , While I'm trying to understand where this feature request would fit better so that right team can look into this in detail, do you think this could be part of tf.keras.Optimizer?

Yes! I think this would be right for tf.keras.Optimizer! Thanks for addressing this.
While I no longer need this, I believe the use-case is valuable. In the description above, I was trying to combine embedding-based information retrieval (which quickly degrades in quality after the first few results) with an online collaborative filtering algorithm trained on a users's history and heavily biased towards top retrieval results.
This involves performing a gradient descent as part of inference, and I suspect this is only part of a larger class of solutions that would benefit from this capability.
Thanks!

@rothn ,
For this use case, it is actually much easier to not use the tf.keras.Optimizer machinery and instead simply have a stateless function that applies the gradient in the way the optimizer would. The tf.keras.Optimizers maintain different kinds of states for different reasons, which doesn't work for your use-case.
def apply_sgd(gradient, tensor):
  tensor = tensor - gradient * learning_rate
  return tensor


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112587

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113565


[FLINK-23052][ci] Improve stability of maven snapshot deployment

The deployment was timing out or failing a lot recently.

Thanks for your review!
Merging ...


linkify-code: trailing dot/point/. picked up as part of URL/link

Description
When an URL appears at the end of a sentence, it is often followed by a . without space. GitHub correctly highlights the URL w/o the . in the code view and makes the correct link clickable in Preveiw/View mode. Even my IDE (VSCode) excludes the . from the URL.
But the linkify-code feature incorrectly includes . as part of the clickable URL in the code view
How to replicate the issue + URL
Modify any file to include an URL with path params (/) that ends with . and check the PR/commit in GitHub. For example:
This repo is https://github.com/refined-github/refined-github.

Edit, even just this code block shows the issue. ☝
Here's an example https://github.com/python/typeshed/commit/2fb9c35ff93db0e8e7297cbb5860a7bb6aa5dfa6#diff-9c749476405e46c668093de1fa173e3569a04cbd97331800ac4dc2a67059168eR105
Extension version
24.7.10
Browser(s) used
Opera, FireFox

Thanks for the detailed issue!
This is a long standing bug. Tracked in:

https://github.com/sindresorhus/linkify-urls/issues/26


Encoder-Decoder Example not working

enc:backward(encInSeq, zeroTensor), line 77, gives error of inconsistent tensor size. I'm having a hard time figuring out this example, so I'm not having any luck figuring out how to fix it.
Also, why is opt.seqLen = 2, and not 3?

the zeroTensor should have dimensions 2, 6
local zeroTensor = torch.Tensor(opt.seqLen, opt.vocabSize):zero()

I believe @jsuit opt.seqLen is 2 because the length of the defined input sequences (and expected output sequence) is 2 - see lines 135, 137, and 140

Why are we using a zeroTensor? Shouldn't it be the prevGradInput?

I believe it's because we don't actually care about the output of the encoder (only the hidden state of it after it's finished encoding), so we backpropagate the gradient of the output as as zero tensor so that it doesn't have any effects on the update of the weights and biases of the encoder LSTM.

I also agree that opt.seqLen should be 3 rather than 2.

The reason the zeroTensor must have dimensions (2, 6) is because this tensor represents the gradient of the output of the encoder, and therefore must have the same dimensions as the actual output of the encoder. Thus, the line should read as follows:
local zeroTensor = torch.Tensor(encOut):zero()

fixed in PR 216: https://github.com/Element-Research/rnn/pull/216

Thanks again @frugs !

Is the encoder trained at all? And why even do enc:backward call at all?
Jonathan Suit
On Wed, Apr 20, 2016 at 6:16 AM, Hugo Wainwright<EMAIL_ADDRESS>wrote:

I believe it's because we don't actually care about the output of the
encoder (only the hidden state of it after it's finished encoding), so we
backpropagate the gradient of the output as as zero tensor so that it
doesn't have any effects on the update of the weights and biases of the
encoder LSTM.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Element-Research/rnn/issues/213#issuecomment-212366494

Apologies, I hadn't fully understood how the code here worked when I answered the question, and it seems like the encoder-decoder design here is slightly different to the one I am familiar with, in that the output of the encoder is actually fed into the decoder, so please ignore my previous answer.
My understanding at the moment is that the encoder is trained - just the gradients we use for training are not passed as a parameter via the enc:backward call, but copied into encLSTM directly via the backwardConnect() function. It is still necessary to call enc:backward in order to initiate the back propagation, however.


Ensure a users own tasks are the only ones returned when the users role has View/My Tasks

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1639387
This is a companion PR for, and must be merged before, the manageiq-api repo PR:
https://github.com/ManageIQ/manageiq-api/pull/526
A role can be configured to view all tasks or only my tasks. When a user is assigned to
a role that is configured to view only "My Tasks" The API would incorrectly returning all
tasks for all users.
And when querying a single task by ID would return the task even if not owned by the
current user.
This PR corrects this erroneous condition by adding two new methods to the
base_controller/renderer.rb #find_resource and #find_collection. Each of these
two new methods is overridden in the task_controller.rb where logic is adding to
correctly handle this condition.
To test:
Assign a group to a user where the group has a role configured with
View / My Tasks and without View / All Tasks
Then exercise the API for this user to query the task collection ensuring only tasks
owned by the specified user are returned:
e.g.:
curl -k "https://:@/api/tasks/"
This should only return tasks owned by the specified user and should match what the UI
shows when that specified user is logged in and lists their tasks.
and queries for individual task do not return tasks owned by another user.
e.g.:
curl -k "https://:@/api/tasks/"
This should only return the task if it is owned by the specified user

@miq-bot add_label bug

@miq-bot add_label hammer/yes

@miq-bot assign @gtanzillo

@bdunne Please take a look. This PR addresses comments made by @gtanzillo in companion PR
https://github.com/ManageIQ/manageiq-api/pull/526#issuecomment-448367046

@gtanzillo I made a commit using only_my_user_tasks? which I think could be better. That said if after reading my perspective above if you  prefer my_user_tasks? I'd be OK with that too. Just let me know. Thank you again! JoeV


The game pop up createdxgifactory2 error when i launch battlefront 2

when i launch the game, it pop out this error, do u know how to fix this??

This is typically in indicator that your PC doesn't meet the Windows 10, 1809 requirement listed on the Release/Download page. Regretfully I have to say that there unfortunately isn't a way to fix this, aside from getting Windows 10, but that is possibly undesirable/untenable for you.

i have installed window 10 pro a few day ago, but i revert back to window 7 because after i installing window 10 my game fps drop example minecraft, but i tried to install shader patch battlefront 2 when i am still using window 10, but when i launch the game, it suddenly closed by itself

This is typically in indicator that your PC doesn't meet the Windows 10, 1809 requirement listed on the Release/Download page. Regretfully I have to say that there unfortunately isn't a way to fix this, aside from getting Windows 10, but that is possibly undesirable/untenable for you.

This is typically in indicator that your PC doesn't meet the Windows 10, 1809 requirement listed on the Release/Download page. Regretfully I have to say that there unfortunately isn't a way to fix this, aside from getting Windows 10, but that is possibly undesirable/untenable for you.

i have installed window 10 a few day ago, but i revert it back to window 7, and when i am still using window 10, when i launch the game, it just closed by itself

Very annoying. Shader Patch should (hopefully) have created a file named shader patch.log in the same directory as the game. If you could post it's contents here that'd be great, it might contain some clues as to why it's crashing.

can this run window 10 and battlefront 2 shader patch ?

?

Very annoying. Shader Patch should (hopefully) have created a file named shader patch.log in the same directory as the game. If you could post it's contents here that'd be great, it might contain some clues as to why it's crashing.

can this run window 10 and battlefront 2 shader patch ?

I'm not 100% sure but I don't think the iGPU in the i5-2540M meets the Direct3D Feature Level requirement. Shader Patch requires Feature Level 11_0 and I think the iGPU in that CPU only goes up to Feature Level 10_1.
I could be wrong, I had a hard time finding that information on Intel's website but I think the answer is no it can't run the v1.0 and later releases. It should be able to run the old v0.9 releases (which where before the D3D11 switch) if that interests you https://github.com/SleepKiller/shaderpatch/releases/tag/v0.9.1

I have already install shader patch v0.9.1, but when i enable config, it didn't change anything, bloom effects still didn't change except the droideka shield effects have reflection effects, how to fix this??

I'm not 100% sure but I don't think the iGPU in the i5-2540M meets the Direct3D Feature Level requirement. Shader Patch requires Feature Level 11_0 and I think the iGPU in that CPU only goes up to Feature Level 10_1.
I could be wrong, I had a hard time finding that information on Intel's website but I think the answer is no it can't run the v1.0 and later releases. It should be able to run the old v0.9 releases (which where before the D3D11 switch) if that interests you https://github.com/SleepKiller/shaderpatch/releases/tag/v0.9.1

I have already install shader patch v0.9.1, but when i enable config, it didn't change anything, bloom effects still didn't change except the droideka shield effects have reflection effects, how to fix this??

Damn it, I started writing out a reply to this, got distracted and forgot about it for a week. Sorry about that!
Anyway, I assume you're referring to the enabling the Effects System? If so there are two key things to know.
The first is that ingame bloom must be enabled for it to work, it's what it uses to tell when it's time to apply post processing.
The second is that it has to be explicitly enabled by the user or a mod. In v0.9 this is done on the Developer Screen which you bring up by hitting \ then looking for and checking Enable somewhere under the Effects window. The ability for a end user (not just a mod/map) to specify a persistent config was added in v1.0, so unfortunately this process must be repeated each time you start the game.

Cleaning out the open issues that are resolved or "outdated". Feel free to reopen or open a new issue if there's anything else.


Enable the new model serialization for Bot Service

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


⚠ SceneTime has degraded performance

In 1e5c34a, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1591 ms

Resolved: SceneTime performance has improved in 10ba6bd after 6 minutes.


Not working efficiently on RTL Layout

It's not working  efficiently on RTL Layout . All values returns wrong when rating.

I see, I wasn't aware of that. I'll look into it.

I just published a new version, RTL layouts should be handled correctly now. Let me know if it works as expected.


Update trial template id

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

Closing in favor of 3.153 (PR#4206)


Not an issue - question on out of the box use case

basically had this idea to use this technology to take a pdf document and upgrade it to a higher quality.
Like a picture that's bad quality - I want to boost the quality of music score.
if you see the artifacts here / blacks are bad - etc I want a neural net to reimagine the document - not merely boost contrast.

Could it just be a case of training with higher quality docs (using this library) - then sending in an image and finding the latent?

What an interesting idea! I actually gave it a go with the current 1024 model.
After Latent optimization

After PTI

You can see that the latent optimization yields unsatisfying results which are expected because the input is somewhat out of domain. I am actually surprised that it does not look terrible. When running PTI (while disabling regularization, so using StyleGAN-XL as deep image prior), you can reconstruct the input faithfully, longer training would prob. give even sharper results. However, it also partially reconstructs the artifacts.
These results are of course not very surprising. But, if you have a good amount of high-quality docs to train the model on, this will work much better. Something else you can try is to use an image restoration network, e.g. SwinIR which is good for removing jpeg artifacts and might also work for you. Another thing to try is downsampling the image and then upsample it again with a superresolution network, SwinIR also has an option for that. A similar trick works well for face reconstruction (https://github.com/autonomousvision/projected_gan/issues/25#issuecomment-1004265606)

thanks for quick response. some nice avenues to explore.


Unable to produce sync committee messages

Description
Teku was unable to produce sync committee messages. This is split out this issue https://github.com/hyperledger/besu/issues/4399
From the related Besu ticket

Ok so the key thing is that when the VC was trying to create the sync signature the beacon node had already imported a block for a later slot (the vc and bn are separate components even when run in the same process), so it gets:

Chain head has advanced beyond slot

It's not entirely clear why that happened but the logs show the validator client wound up catching up and producing sync messages correctly again. That may be tied up with some of the performance issues we've seen with teku and are still investigating though it's not the normal symptoms we get. We'll have to dig into in more depth to know exactly what's happened but at this stage I don't think it's a besu issue and we'll probably pick this up from the teku side to investigate further.

Just so clear with timeframe from Teku logs sent:
All times Eastern -04:00 UTC
~8:00 AM restart due to Merge error.
~10:30 AM stop Teku & Besu to sync Geth
~12:15 PM Start Teku now using Geth
~EOL - currently utilizing Geth

Teku Logs teku_sync_committee_errors.log

What was wrong:
There were sync committee assignments and no SyncCommitteeMessage's were produced for a few hours:
2022-09-15 10:08:23.933-04:00 | SlotEventsChannel-10 | INFO  | teku-status-log | Sync committee performance: epoch 146944, expected 32, produced 0, correct 0, included 0 (0%)
2022-09-15 10:14:47.980-04:00 | SlotEventsChannel-10 | INFO  | teku-status-log | Sync committee performance: epoch 146945, expected 32, produced 0, correct 0, included 0 (0%)
2022-09-15 10:21:12.154-04:00 | SlotEventsChannel-10 | INFO  | teku-status-log | Sync committee performance: epoch 146946, expected 32, produced 0, correct 0, included 0 (0%)
2022-09-15 10:27:36.029-04:00 | SlotEventsChannel-10 | INFO  | teku-status-log | Sync committee performance: epoch 146947, expected 32, produced 0, correct 0, included 0 (0%)
2022-09-15 10:33:59.951-04:00 | SlotEventsChannel-10 | INFO  | teku-status-log | Sync committee performance: epoch 146948, expected 32, produced 0, correct 0, included 0 (0%)

At the same time there were no errors in validator log linked with this issue. Attestations and aggregates were correctly produced, so it's not the case when the head is behind. Investigating into possible reasons of such behavior. My ideas:

validation in SyncCommitteeMessageValidator.validate() comes to ignore or reject. I've sorted out all checks in validation, it shouldn't failed. Had an idea about time discrepancy, but Besu log shows that all blocks are timed correctly with the network
PostSyncCommittees was called but returned OK while not producing SyncCommitteeMessages - I've not found the way where it could happend out of validation
PostSyncCommittees was not called by some reason or called with an empty list

ChainHeadTracker is used only for SyncCommitteeMessages - I don't see where it could fail silently
forkInfo in SyncCommitteeProductionDuty is from previous fork. It should fail in this case for attestations too
assignments were not empty as client posted expected
Here I stuck. I'm out of ideas.

Referencing #6345 in case it might be related.

Yeah, I saw this one but it wasn't silent. We have client logs for this issue and no warnings in it

Seeing this issue after upgrading to v22.10.2 and using Teku <> Geth

@tiagocmachado no errors and similar performance? Sync committee performance: epoch 146944, expected 32, produced 0, correct 0, included 0 (0%)

No errors, but also not a 0% performance. Around 70%, although before upgrading was around 100% performance.

It looks like we have 2 issues here when following initial issue and follow-up:

sync committee duties are assigned but messages are not produced silently
sync committee messages are not produced with error "Chain head has advanced beyond slot"
The latter happened when EL was changed from Besu to Geth and there could be some initial CL-EL misalignment which was settled by itself in an epoch, so I think the first one is more critical

@tiagocmachado no errors and similar performance? Sync committee performance: epoch 146944, expected 32, produced 0, correct 0, included 0 (0%)

No errors, but also not a 0% performance. Around 70%, although before upgrading was around 100% performance.

Ah ok, so it's definitely not expected to have 100% sync committee performance and it can be quite variable. Sync committee messages can only be included in the next block and only if they have the correct head, so it's the equivalent of requiring absolutely perfect attestation performance. If a block is published late or there's an empty slot you're 100% guaranteed to miss that sync committee message and there's nothing you can do about it. You also produce a sync committee message every slot so the performance is going to be lower in the epoch after you restart and may be particularly variable for a while after that while your node finds the best peers etc.
This issue is specifically about having no sync committee messages even produced which suggests the validator client's duty scheduling has gone wrong somewhere.

And looking at the initial logs where we get the "Chain head has advanced beyond slot" messages, those messages are in fact being produced after the slot in question has completed. So something was happening that caused the VC to fall behind processing its duties and the chain head had legitimately advanced before the duty could be performed. It gradually caught up and eventually resumed processing duties successfully. Certainly not ideal to fall behind like that but given the performance issues that were happening just after the merge not entirely unexpected and significant optimisations have gone in since.


Adds shoulda matchers gem

Related to #1024
Description
To help keep specs cleaner and make then more concise and readable, and even easer to test validations and associations. If these changes are accepted, I'll submit a PR with new changes to refactor the model specs.
List any dependencies that are required for this change. (gems, js libraries, etc.)

gem 'shoulda-matchers'

Type of change

New feature (non-breaking change which adds functionality)

Example:
# Before
  describe "Validations >" do
    it "requires a name" do
      expect(build(:user, name: nil)).not_to be_valid
    end
    it "requires an email" do
      expect(build(:user, email: nil)).not_to be_valid
    end
  end

# After
  describe "Validations >" do
    it { is_expected.to validate_presence_of :name }
    it { is_expected.to validate_presence_of :email }
  end

@armahillo can you review this for me and give me a response, so I can or can't start the new changes. Meanwhile i'm trying to improve tests on User Model.

@cassianoblonski Let's pass on this one -- it adds another layer of DSL to the existing set and I'm concerned that added complexity might outweight the value-add
I appreciate the enthusiasm and forward-thinking though!!!!


feat(cart): add testing drivers

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

I think the tests should use helper methods like isCart to verify that the object is actually a cart. Or you could do:
let expectedValue = new Factory().create();
let stubFactory = jasmine.createSpyObject('factory', ['create']);
...
{ provide: "Factory", useValue: stubFactory }
...
stubFactory.create.and.returnValue(expectedValue);
...
const expected = cold('(a|)', {a: expectedValue});

expect(service.get(id)).toBeObservable(expected);

@lderrickable how would I use the helper functions with jasmine marbles? I think it might be better to just mock the factories.

@griest024 Oh, yea you're right. You'd need to mock the factories. I think that's better than having a describe that says "should return a cart" when all that is tested is that it is an Object type.

Imo, I don't think we even really need tests for these files, because all the typing should be enforced by the interfaces

@lderrickable I played around with trying to test it like jasmine.any(MockDaffCart) but that doesn't work because of the way that the factory spreads in the partials.
The tests are a bit superfluous but we gotta have that test coverage 👀


Fixed #25105 -- Checked deferred constraints before updating rows on PostgreSQL.

:wave:
Ticket https://code.djangoproject.com/ticket/25105
It is possible that the change will introduce other edge cases on postgresql, for instance when the AlterField is followed by changes that would require deferred constraints.

@David-Wobrock Thanks for updates :+1:


Refiner source

What do these changes do?
Created Refiner source doc

LGTM!
@mihir-4116 @shrouti1507 I was wondering if we could have a shorter version of the original payload with some unnecessary attributes/properties removed, and the corresponding transformed payload. It could help the readers understand and relate better.


Fix typo in managed serviceaccount

Replace proxy with managed-serviceaccount
Signed-off-by: zhujian<EMAIL_ADDRESS>

cc @mikeshng @qiujian16

/approve
/lgtm


Add license

It would be cool to use your tile overlay implementation in my project. Would you like to license it?

is added.

Thank you! :heart:


deploy.gradle should switch to cla.pivotal.io as well

Right now we use pivotal-cla.cfapps.io for the URL. However, we really need to deploy to cla.pivotal.io for the production app.

@mp911de Any thoughts on this?

The Gradle 1.1.2 and 1.1.3 plugin call the deprecated domains for Space URI to obtain a list of domains. The response is:
Request URI: GET /v2/spaces/…/domains?inline-relations-depth=1
Response:
{
  "total_results": 1,
  "total_pages": 1,
  "prev_url": null,
  "next_url": null,
  "resources": [
    {
      "metadata": {
        "guid": "fb6bd89f-2ed9-49d4-9ad1-97951a573135",
        "url": "/v2/domains/fb6bd89f-2ed9-49d4-9ad1-97951a573135",
        "created_at": "2013-05-04T00:29:46Z",
        "updated_at": null
      },
      "entity": {
        "name": "cfapps.io",
        "router_group_guid": null,
        "router_group_type": null
      }
    }
  ]
}

Calling GET /v2/domains returns the full list of domains.


Proof of Concept of WebSocket API

I have implemented a basic example how websockets could be integrated into SN in a not too intrusive way for real-time data.
By just creating more signals and subscriptions, we could use a single websocket connection for various things like "new comments", "new tips" etc.
The following stuff is missing however:

[ ] Using wss:// instead of ws://
[ ] Not hardcoding localhost:3000
[ ] Notification for earnings
[ ] Reconnects
[ ] Consideration of load balancer
[ ] General testing to see how stable the implementation is

Example video to show difference between current 30 seconds polling for notifications and websockets:
https://github.com/stackernews/stacker.news/assets/27162016/9a2e7d70-9a30-472c-a277-5530d4f5c619

Also, as we've discussed, I would like to remind us (I need this reminder too) that we're going to want to be very very particular with when we decide to use websockets for stuff. It's tempting to use them for everything, but we should use polling unless we have good reason not to ... good reason most of the time is going to look a lot like this: the thing we're interested in updates very infrequently but its very expensive to check if it's updated.

Overall it's really slick! Nice work!

Thanks :)

(tho tbh all of the state management has me worried there are going to be tricky non-deterministic bugs ... but I'm certain we can figure it out if we want)

Yes, I'm also worried and optimistic. But I have to admit, it took me like 2 hours to fix this simple bug, lol:
- socket.removeListener(onError)
+ socket.removeListener('error', onError)

I was very confused by the webpack errors which were pointing to a line which didn't even exist and I thought I was going crazy haha
There are most likely still bugs in there. At least when using hot reloading in dev, some event emitters are still leaking iirc.

There are notifications for more than just earning and direct replies. Mentions for example. Invites. Referrals. Replies of replies. Most parts of the code will need to be aware of this code. How can we prevent that? If we can figure that out, then the maintenance cost of this will be 100x lower. It'll feel like it isn't even there.

Mentions are already included no? Invites and referrals I missed, yes. Regarding replies of replies, I added a TODO (needs recursive search back to root). I used the hasNewNotes resolver as a reference but now I see it's also mentioned there.
What I can see there (and what has been implemented in this PR already):

[x] replies
[x] tips
[x] mentions
[x] job updates
[ ] earnings
[ ] deposits
[ ] invites/referrals
[ ] cowboy hat

Anything else? Is that resolver a full reference?

my goto for side effects like this is db triggers

Yes, that was my first idea even though I heard bad stories about them ("hidden behaviour" makes debugging hard etc.). But I have taken a look if Prisma supports NOTIFY/LISTEN (which was the thing I would have done inside a trigger) but that is not the case: https://github.com/prisma/prisma/issues/905
So this was out of scope for a PoC.

because we know where all of them are and the db will record them and list them out for us if asked

What do you mean with "record them and list them out for us"? You would have done something else than NOTIFY/LISTEN? Afaik, NOTIFY does not keep state of previous NOTIFYs so we can't "list them out"?
For reference, that's how I use NOTIFY/LISTEN for https://minesats.gg: https://gitlab.com/ekzyis/minesats/-/blob/develop/src/pages/api/_db.ts#L11-22
The worker in bot/main.go (discord bot written in golang) calls NOTIFY.

we'll want to mutate the client side cache in response to these 'events', which in some cases like zaps is straightforward, but things like adding new items will need additional state management (so that there isn't layout shift when the cache is updated).

Makes sense!

This requires thinking a bit more architecturally. If we don't want new infrastructure (we don't), then we'll need to use postgres for pubsub, ie notify/listen. I do this in booger and its what I was planning on doing for SN, so perhaps calls to notify are mostly what happen in the triggers.

Yes, this article also mentions this ("pub/sub broker"): https://hackernoon.com/scaling-websockets-9a31497af051

we're going to want to be very very particular with when we decide to use websockets for stuff. It's tempting to use them for everything, but we should use polling unless we have good great reason not to

Yes, I agree. I was also thinking about still using polling in parallel just as a fallback ... but then we would gain nothing performance wise (in fact make it worse).

great reason most of the time is going to look a lot like this: the thing we're interested in updates very infrequently but its very expensive to check if it's updated (edit: and we've exhausted attempts to make it less expensive to check).

I would add that UX should also be considered: How valuable would it be to have less latency?
For posts about live events, I think it's a big difference if the replies for a specific item are polled every 5, 10, 30 seconds (whatever the cost is to poll, probably not much using indices) or if they are indeed live.
An example post would be this from today: https://stacker.news/items/180253
What do you think about the use case here for notifications? You think that's a good example when websockets can be used?

A bad example of using websockets "just for the sake of it" would be invoices, I guess.
I think it doesn't take much resources to poll for a specific invoice (we do it every second already) + the user doesn't really care if we notice that the invoice was paid a few seconds earlier + invoices and withdrawals are not part of the "main UX" of users on SN (I assume users don't deposit and withdraw that often).

Yes, that was my first idea even though I heard bad stories about them ("hidden behaviour" makes debugging hard etc.).
You can find mixed takes on anything because any bit of code is worse than none. The question we need to ask is if an automatic (aka hidden), atomic, and ephemeral behavior that exists in the DB is preferred to it being put directly in the code in quite a few different places? Should the side effect reside near the action (a request to store) or the effect (store)? It isn't super black and white to me but I generally lean toward triggers for side effects to keep the api layer action/query focused. You should choose for yourself.

But I have taken a look if Prisma supports NOTIFY/LISTEN (which was the thing I would have done inside a trigger) but that is not the case.
We can connect establish our own connection to the database without prisma.

What do you mean with "record them and list them out for us"?
You can ask postgres to tell you about its triggers. It basically documents the side effects in a way that we can query and it tells us how it relates to any particular table.

I would add that UX should also be considered: How valuable would it be to have less latency?
For posts about live events, I think it's a big difference if the replies for a specific item are polled every 5, 10, 30 seconds (whatever the cost is to poll, probably not much using indices) or if they are indeed live.

True!
The size of the difference is linear. The difference between 100ms and 1 seconds isn't much difference practically speaking but 100ms and 10 is a lot for real time chat. Do I really need to know the founder of that pre product unicorn said he was a saint sent here to save us all as fast as possible? I can probably wait 10 seconds. It does depend on the use case.

Anything else? Is that resolver a full reference?

Yes, it should be!

Another use for this kind of push system is push notifications in a PWA. I think this would be a big upgrade in terms of people being willing to start and engage in conversations ... and its one of the most frequently and afaict "real" feature requests we get.
It's not exactly related to the websocket stuff, but it could make use of all the "this person should be notified" hooks being built for websockets.

concept ACK for me, websockets helps the snappyness of the user experience and would be a greatly appreciated upgrade
also love the music choice on the video :)


Support for python 3.10

Please add support for python 3.10

Please test if changing
[dependencies.pyo3]
version = "0.14.1"

to
[dependencies.pyo3]
version = "0.15.1"

in Cargo.toml solves the problem.

done


boards: riscv: remove beaglev_starlight_jh7100

Unfortunately, this board did not make it to production.
https://bit.ly/42T4Aof

should we note this in release notes?

Probably a good idea - done!

Original submitter: @rajnesh-kanwal FYI

@cfriedt
looks like this PR breaking upstream CI:
ERROR   - tests/drivers/fuel_gauge/sbs_gauge/drivers.sbs_gauge_new_api.emulated_64_bit_i2c_addr - platform_allow - unrecognized platform - beaglev_starlight_jh7100
Changed files:
=========
include/zephyr/toolchain/mwdt.h
=========
Traceback (most recent call last):
  File "./scripts/ci/test_plan.py", line 335, in <module>
    f.process()
  File "./scripts/ci/test_plan.py", line 108, in process
    self.find_excludes()
  File "./scripts/ci/test_plan.py", line 290, in find_excludes
    self.get_plan(_options, True)
  File "./scripts/ci/test_plan.py", line 118, in get_plan
    with open(fname, newline='') as jsonfile:
FileNotFoundError: [Errno 2] No such file or directory: '_test_plan_partial.json'
Error: Process completed with exit code 1.

I'll get it in a few minutes

Someone else got to it first :-)
#56399


Lsaholds

What does this PR do?
Adds additional functionality to Primo Barcode lookup addon for ILLiad, allowing staff to place holds in Alma using ILLiad cilent
Helpful background context
When we migrated to Alma our Illiad addon for placing holds in Aleph
for LSA scan and deliver service was no longer functional. These updates
to this addon reenable that functionality.
How can a reviewer manually see the effects of these changes?

install illiad client and this addon
configure addon
create a scan and deliver request via Primo
locate request in Primo and use button on MIT LSA Holds tab to place a hold in alma
confirm that the hold was place successfully in alma

What are the relevant tickets?
- https://mitlibraries.atlassian.net/browse/DIP-
Includes new or updated dependencies?
NO
Changes expectations for external applications?
NO
Developer

[ ] All new config values are documented in README
[ ] All new config values have been added to staging and production environments
[ ] All related Jira tickets are linked in commit message(s)

Code Reviewer

[ ] The commit message is clear and follows our guidelines
(not just this pull request message)
[ ] There are appropriate tests covering any new functionality
[ ] The documentation has been updated or is unnecessary
[ ] The changes have been verified
[ ] New dependencies are appropriate or there were no changes

@JPrevost I think this ought to be reviewed by someone before it goes into production. This is the Lua work I mentioned during the lightning talks, which is why I'm picking on you. happy to zoom or slack about it if that's easier for you.

@adamshire123 do you have any idea why it's flagging every line as changed? It's pretty difficult to understand what is actually changing and what already existed the way it's flagging everything as a change in the .lua files

@adamshire123 I was able to suppress whitespace changes in the diff to see a cleaner change set. I should be able to look at this tomorrow, although I'm not entirely sure I'll have much useful input :)


Migrate comment structure(s) - FE

@calvinhlee23 Same here.. Is this ticket still legit and OS eligible? If so, can you provide some context?


Format/Cleanup

Organize exports (alphabetically)
export not exported types from signal.ts (AccessorArray, EffectFunction, MemoOptions, NoInfer, OnEffectFunction)
Format observable.ts
abstract ComputationState type in signal.ts
inline get of defined property in store.ts

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 6 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 88.371%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/solid/src/reactive/observable.ts
4
5
80.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
1288

Relevant Lines:
1382

💛  - Coveralls


1.24.0

Major features

New dream world related prop types: alarm totems, grapple totems, projection totems, portholes/peepholes, and dream candles. Where possible, these have been modified to work with the regular flashlight as well as the artifact for use outside of the dream world. Thank you Hawkbar for these features!

Minor features

Add colliderRadius to itemSocket so that you can make them actually work

rerun checks

grahh!!!

why


decoupled helpers method from p5 in helper.js and coupled them separetly in app.js

@therewasaguy @kyle1james
please review this PR !
okay !  maybe this would be the last one for the gsoc goals !

@therewasaguy  as discussed , we cannot import helpers method out of the src/ folder because of the build system limitations !
i think we can go with this ! ?


Add support for block and epoch downloading from hermes

through using hyper, add downloading epoch/block APIs

[x] epoch download (done in #106)
[x] block download
[x] tip download

closed by #171


Extract health configuration in health package

Motivation
Extract health configuration in health package so it could be reused by sb-proxy.

Coverage decreased (-0.02%) to 89.331% when pulling 9f8745fa1f383ba8433ae02c1c393d79bb71ccf1 on proxy-health into df40c876e3ac327479778b59781e098500775577 on master.


Can't install package pods on 6.5.0-beta.1

Platform:

[ ]  Dart
[X]  Flutter Android or iOS
[ ]  Flutter Web

IDE:

[X]  VSCode
[ ]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[X]  Disabled

Platform installed with:

[X] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.3 21E230 darwin-x64, locale ru-RU)
• Flutter version 2.10.1 at /Users/overman775/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db747aa133 (8 weeks ago), 2022-02-09 13:57:35 -0600
• Engine revision ab46186b24
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
• Android SDK at /Users/overman775/Library/Android/sdk
• Platform android-31, build-tools 33.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] VS Code (version 1.65.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.38.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.60
[✓] HTTP Host Availability
• All required HTTP hosts are available
The version of the SDK (See pubspec.lock):
6.5.0-beta.1

I have the following issue:
The description goes here ...
Steps to reproduce:
run build
Actual result:
    [!] CocoaPods could not find compatible versions for pod "Sentry":
      In snapshot (Podfile.lock):
        Sentry (= 7.9.0, ~> 7.9.0)

      In Podfile:
        sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`) was resolved to 0.0.1, which depends on
          Sentry (~> 7.11.0)

Run pod repo update and delete the Podfile.lock

@kuhnroyal thanks, fixed


How to replace the tabular in \cvhonors with longtable?

\newenvironment{cvhonors}{%
\vspace{\acvSectionContentTopSkip}
\vspace{-2mm}
\begin{center}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} C{0.5cm} L{\textwidth - 3cm} R{3cm}}
}{%
\end{tabular*}
\end{center}
}
I want to change the tabular to longtable.
But it has some problems as shown in the following figure.

Closing to keep #331 as the canonical issue for this.


Daily rotating dbs?

Is ist possible to create daily rotating databases with pino-elasticsearch?

I believe this will be a feature request... I came here with the same requirement...
Currently pino-elasticsearch provides a --index option.
We require an additional option to specify a time-based index.
Rather than making the format totally dynamic - I propose this is limited to daily, monthly or yearly resolution inline with the Elastic Search documentation here:
https://www.elastic.co/guide/en/elasticsearch/guide/current/retiring-data.html
Examples:
For --index logs --index-time year the index would be in the form logs_2018
For --index logs --index-time month the index would be in the form logs_2018-04
For --index logs --index-time day the index would be in the form logs_2018-04-19

Just saw this, you can use the placeholder %{DATE} introduced in this PR: https://github.com/pinojs/pino-elasticsearch/pull/22/files

I confirm that I have been using the %{DATE} option for some time and it works well.


Internal server issue 500

When listening Surah Kahf at http://quran.com/18
found some internal server error at when requesting
this url - http://quran.com/api/v2/surahs/18/ayahs?from=10&to=20&audio=8&quran=1&content[]=19
.please follow the attached file.
Thanks.

Fixed now


Firebase Push Notification was working fine and stopped not sure why?

Hi,
My Firebase Push notification was working perfectly fine and then I went and worked on the ViewControllers and all of a sudden it stopped working. I have reset the git heading to multiple commits where it was working and still no use.
I deleted the deriveddata, still nothing.
Here is my push notificaiton code:
https://github.com/5tr0k3/iOS-Native/blob/master/AppDelegate.swift
And here is my log, I wonder what is wrong as I dont see anything wrong:
https://github.com/5tr0k3/iOS-Native/blob/master/log.log

Mine started working again, and without changing have not changed anything :S