[Integrated Swift driver] Pass along the Swift location.

Rather than letting the integrated Swift driver guess at where the
Swift frontend is located, pass through the location of the Swift
compiler. This also allows SWIFT_EXEC overrides to work with the
integrated driver.

@swift-ci smoke test


ImportError: cannot import name 'Tokenizer'

When I learning 'Tutorial: Classifying Names with a Character-Level RNN' of the full documentation, I found that error. In registering a new task of 'Tutorial: Classifying Names with a Character-Level RNN', how should I to overcome it?

多谢，刚刚找了一个tokenizer.py替换掉了，然后可以啦

Thanks for finding that- if you want to make a fix, could you make a pull request? Thank you!

I have made a pull request to recover the tokenizer.py .

Thank you, I am closing this issue.

Hello!
I am facing the same issue here and I am not able to use the new fairseq v0.6.2 that I suppose now that is a faulty release (maybe?).
I'm not sure why this issue has been closed even if the solution has not been merged yet into the master branch.
My question is: was the Tokenizer class removal intentional or not? If yes, what is the new official way to tokenize (aka 'transform from string to IntTensor')?
Thanks!

Maybe this? https://github.com/pytorch/fairseq/blob/master/fairseq/data/dictionary.py#L220
But if this is the new intended way to do it, why a pull request to restore the Tokenizer that, to my understanding, has been deprecated?

i do not think that it is deprecated, because some other places still using the tonknzie.Tokenizer . You can search in the src code!

Yes, tokenizer was meant to be deprecated, but we forgot to update the tutorial. The new way of tokenizing is with Dictionary.encode_line, which will be more general as we eventually support swapping in alternate Dictionary implementations.


ORecordId cannot be passed using argument placefolder.

Hi,
I try to pass RIDs to the queries using the ? quoting, but orientdb parser cannot work with them.
This does not work:
docTemplate.command("create edge from ? to (select out() from ?)", from, to);
This works:
docTemplate.command("create edge from " + from + " to (select out() from " + to + ")");
Apparently, ORecordId gets the part with quotes, and fails to parse it.
ps.
using orientdb 2.1.8

Hi @smil2k
could you please post a full example? What kind of objects are 'from' and 'to'?
Thanks
Luigi

Hi,
from and to is a string. It is working fine with "select from ?". It seems create edge has a problem with it.
Cheers,
Tamas

Hi @smil2k
If you pass strings, the query will be translated in something like:
create edge from "#12:0" to (select out() from "#12:1")

that is not correct.
If you are using Java, try to create a new ORecordId(clusterId, clusterPosition); and pass it to the query as a parameter, eg.
ORecordId from = new ORecordId(12, 0);
ORecordId to = new ORecordId(12, 1);
docTemplate.command("create edge from ? to (select out() from ?)", from, to);

Thanks
Luigi

Hi,
Then why ("select from ?", "#13:1") is correct?
I think something is not consistent here.
Cheers,
Tamas

That's a good question, I'll check it
thanks
Luigi

@smil2k
Are you sure that ("select from ?", "#13:1") works fine? What API are you using?
AFAIK it never worked.
I'm doing a local test to double check it
Thanks
Luigi

Hi @smil2k
I did a test in Java with a select from ? passing a string and it fails as well, so the behavior seems to be consistent.
Do you have a way to reproduce the problem?
Thanks
Luigi

Hi,
I'm pretty sure, that this is not consistent:
String to, from;
delete edge from " + period.getRid() + " to "
+ "(select flatten(out()[id = ?].@rid) from ?), 10L, from);
or
int period;
String from;
List doc = docTemplate.query(
new OSQLSynchQuery("select expand(out()[period=?]) from ?"), period, from);

Ok, I'm trying it now. Which version are you using? Do you have strictSql = false?
Thanks
Luigi

Hi,
I just compiled the spring-data-orientdb, changed the version to 2.1.12.
I did not change any properties.
Cheers,
Tamas

Ah, got it, you are using Spring Data module, probably the difference is there.
I was doing my tests with plain ODatabaseDocumentTx API.
Do you have a working test to reproduce it?
Thanks
Luigi

Ok, never mind, I managed to reproduce it in 2.1.x
Thanks
Luigi

Ok, now I have the full picture. It works on 2.1.x but not in 2.2.
Anyway it's not supposed to work, a string is not a valid target.
I'm not changing this behavior in 2.1 only to avoid breaking backward compatibility between hotfix releases. In 2.2 it will not be allowed.
Thanks
Luigi

Additionally it would be nicer to return with something like "string passed instead of recordid", because currently it is a number parse exception "#15" deep inside the engine.


Datepicker - Navigate modes with Cmd+Up and Cmd+Down

The documentation says to navigate the modes with Ctrl + Up and Ctrl + Down.
On OSX that combination usually does some other stuff with the windows. So I'll like to know if there's any way to add support for Cmd + Up and Cmd + Down for Macs.
Tried that on the demo page but doesn't seem to work.
Thanks you.

It works for me in the documentation - do you have a reproduction where it doesn't work, or maybe an animated gif or some video of sorts with a reproduction?

Cmd + Up or Down just doesn't work. And when I try to use Ctrl I just mess with the windows (default osx behavior)

I did manage to open the month selector with Ctrl + Cmd + Up but then the datepicker gets out of focus.

This is strange, I cannot reproduce this at all (on El Capitan). @icfantv or @Foxandxss are either of you able to reproduce this?

What are the exact steps here to reproduce this?  Thanks.


Alternative local embedding model?

Is it possible to use an alternative local embedding model to OpenAI's text-embedding-3-large? E.g. nomic-embed-text?

Yes, as long as you can embed the context with the chosen model and create a vector database with it, you can replace it with the embedding model used in the code.


session::onLogout

when I tray logout don't work
Manipulador AJAX "session::onLogout" não encontrado.

I see it is in Session but, don't work again :(

When I try to understand this question, it doesn't work.


Send text in Visual mode

Hey,
Quick suggestion/question: often, it's convenient to select some text in visual mode and send it to the REPL rather than typing a motion.
There is surely an easy mapping/implementation to do that but my knowledge in vim plugins is close to 0 (shame on me) and if it's fast for you, I would really appreciate a little help.
What I did that kinda work for my ipython repl is:
vmap s <ESC>`>a<space><ESC>ctr`<
but as you can see, this adds a space at the end of the selection before sending otherwise it was sending the selected text minus the last character for some reason.
As this "solution" is pretty clunky, would you have another suggestion or would it be possible to implement another mapping like the ctr but for visual mode ?
Thanks a lot

Hi!
That should be fairly easy to implement.. I'll take a look at that later on today.
Cheers,

This commit (https://github.com/hkupty/iron.nvim/commit/bb6217990a68b22f1e83a2c0793ccb6e01c36d8f)  actually implements ctr on visual mode, so this should be closed by now.
Feel free to reopen the issue if something is not working.
Cheers!

Thanks a lot. I gave it a try but I encountered a small bug with multilines ipython and ptipython repl: when sending lines through visual, it is sending them multiple times depending on the number of lines sent . Here is an example code:
print("Hello")
print("World")

Sending these two lines via ctr} for instance prints

Hello
World

on two lines as expected. Now sending via v}ctr prints:

Hello
World
Hello
World

Now adding print("!") as a third line in the code and sending via visual mode prints out:

Hello
World
!
Hello
World
!
Hello
World
!

Are you getting the same behavior ? Thanks again for being so responsive, really appreciate it.

Ugh.. I tested this commit from another branch I'm working, testing and it did work fine. It seems that, since I've changed a bit how the logic works, backporting was not enough... I'll try to fix that.
Cheers

I've merged the testing branch, which enhanced REPL management in several ways. It seems to solve this problem as well..
If the problem persists, don't refrain from reopening this issue!
Cheers!

I've merged the testing branch, which enhanced REPL management in several ways. It seems to solve this problem as well..
If the problem persists, don't refrain from reopening this issue!
Cheers!

Thanks ! Unfortunately, it seems I'm unable update to the newer merge. Seems to be related to the zen submodule. Here is the error I get after the UpdateRemotePlugins command:
Encountered ModuleNotFoundError loading plugin at /home/user/.nvim/plugged/iron.nvim/rplugin/python3/iron: No module named 'zen'
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.6/site-packages/neovim/plugin/host.py", line 131, in _load
    module = imp.load_module(name, file, pathname, descr)
  File "/usr/lib/python3.6/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/usr/lib/python3.6/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 675, in _load
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
ModuleNotFoundError: No module named 'zen'

I'm sorry this has broken the update. It seems that it has not created the submodule.
Apparently, removing and installing again does the right thing (for me, using vim-plug). If it still does not create the submodule, pleas run a git submodule init and git submodule sync on your iron.nvim.  It should suffice.
If it still does not create the submodule, we're in serious trouble.
Cheers

:( outch, serious trouble it is... I'm also using vim-plug, I tried removing the iron.vim directory in the plugged folder and then :PlugInstall - still the same error. I also tried syncing the submodule as you suggested, still same error.
In the iron.vim directory, it seems the zen pluggin is there, pointing to ../../../deps/zen.nvim/src which contains the ui.py . Am I missing something, like a python lib ? Or could this be related to python3.6 ? Any other ideas ? Thanks a lot.

I just found the bug.
master should be fixed by now.
Please test to see if it works for you.
Cheers

Everything works like a charm, well done and thank you very much!

No problem! I'm really glad it works now!
Please keep on opening issues in case you find anything!

For those coming from Google, the new way to send visual selection to the REPL is to use core.visual_send.
Here is an example mapping:
vim.keymap.set(
    "v",
    "<leader>il",
    ":lua require('iron.core').visual_send()<CR><Esc>"
)


Exoplayer EOFException for progressive streams with moov atom at the end of the mp4 file

Version
Media3 1.0.2 / ExoPlayer 2.18.7
More version details
No response
Devices that reproduce the issue
Not device specific
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
Stream the media uploaded to this link (The direct link to the media item gets expired after some time so you need to create a link by yourself)
Expected result
The media should play successfully. The mp4 file has moov atom at the end of the file but plays successfully on all players (even on Chrome and Firefox native players). Also when the file is downloaded and played from the local storage, it plays without any problem.
Actual result
There is a source error with EOFException:
Playback error
    com.google.android.exoplayer2.ExoPlaybackException: Source error
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:620)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:214)
        at android.os.HandlerThread.run(HandlerThread.java:67)
    Caused by: java.io.EOFException
        at com.google.android.exoplayer2.extractor.DefaultExtractorInput.readFromUpstream(DefaultExtractorInput.java:296)
        at com.google.android.exoplayer2.extractor.DefaultExtractorInput.readFully(DefaultExtractorInput.java:80)
        at com.google.android.exoplayer2.extractor.DefaultExtractorInput.readFully(DefaultExtractorInput.java:88)
        at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.readAtomPayload(Mp4Extractor.java:441)
        at com.google.android.exoplayer2.extractor.mp4.Mp4Extractor.read(Mp4Extractor.java:254)
        at com.google.android.exoplayer2.source.BundledExtractorsAdapter.read(BundledExtractorsAdapter.java:127)
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1039)
        at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:919)

Media
https://filebin.net/409s2y85ydbti2p5
Bug Report

[X] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

I'm not able to reproduce the issue using the demo app built at 1.0.2 using a Pixel 7a running Android 14 (UQ1A.240205.002).

Reproducible in the demo app?
Not tested

Please can you test this in order to give more information about whether it only reproduces for you in your app or also in the demo app.

The problem strangely seems to vanish when I download the original media and upload it somewhere else. I will send the original link to<EMAIL_ADDRESS>since I can't post it publicly. The media plays with no problem on all players (browser native, etc.)

I can reproduce the issue using the link provided over email.
This is happening when we re-open the HTTP connection to read the moov atom directly (this is more efficient than reading all the bytes of the file to get to the moov atom):
https://github.com/androidx/media/blob/d833d59124d795afc146322fe488b2c0d4b9af6a/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/Mp4Extractor.java#L515-L523
I added some additional logging to show this<PHONE_NUMBER> is mdat):
Seek required to 439807830 after reading<PHONE_NUMBER> atom
open() returned: 1906924
response headers:
{accept-ranges=[bytes], Connection=[keep-alive], content-disposition=[inline], content-range=[bytes 439807830-441714753/441714754], Content-Type=[video/mp4], Date=[Mon, 22 Apr 2024 13:34:42 GMT], Server=[nginx/1.25.0], Transfer-Encoding=[chunked]}
internalError [eventTime=1.75, mediaPos=0.00, window=0, period=0, loadError
  java.io.EOFException: length=265696 ,bytesAlreadyRead=1589, bytesRead=-1

It seems the HTTP server is not behaving in line with its response headers. When re-opening starting the read at 439807830 it includes the content-range=[bytes 439807830-441714753/441714754] header, which means this connection can be used to read bytes from 439807830 to 441714753 (which is 1906923 bytes). We then receive -1 when trying to read beyond 1589 bytes. This indicates the server is refusing to provide the bytes it promised in the content-range response header. I suggest you raise this issue with the maintainers of this server.
I suspect (just a guess) that other players don't encounter this issue because they take the less efficient approach of reading the whole file to reach the moov atom at the end instead.

You are right. The problem is related to the web server not properly returning last bytes of the file, which includes the metadata. Specifically, the stco atom is missing in the response, causing Exoplayer to block playback with an EOFException. It seems that other players do not care much about the missing metadata and proceed with playback. Perhaps in the future, Exoplayer could provide developers with the option to decide whether to start playback of media with missing metadata and do not throw an exception (apparently, some functionalities like seeking may not work properly).

Specifically, the stco atom is missing in the response, causing Exoplayer to block playback with an EOFException.

I'm not sure I completely agree with this summary - I think ExoPlayer fails with EOFException simplly because the file promised N bytes and then failed to deliver N bytes - it's less about the specific data that was withheld by the server.
ExoPlayer generally expects media and its serving infrastructure to be well-formed and spec compliant. It's not feasible for us to workaround all the possible spec violations observed in the wild, and we generally feel the correct way to resolve issues like this to comply with the relevant spec instead of working around it. In this case, I would suggest you investigate the server implementation in more detail, I'm afraid we don't plan to change ExoPlayer's behaviour.


Make changesets work with yarn workpsaces

Currently changesets only work in bolt repositories. We should extend this to yarn workspaces as well.
Bonus thought: Should we extend this to lerna? I'm not concerned with doing this, but some people may be helped?

I am a dope and this is a dupe


PCIe: RP is not assumed to be on Dev 0 Func 0

Signed-off-by: Sujana M<EMAIL_ADDRESS>

@Sujana-M
Could you build a test image for us?


Controlled gate decompose & ControlledOperation

Fixes #1302.
Fixes #1284.
Tasks left:

[x] Clarify questions
[x] implement potentially missing magic methods + remove not needed ones
[x] Write missing tests

We always squash merge.


Add "Meet the Team" to the landing page.

Add the Meet The Team link to the landing page.

Done with most recent pull request to the repo


Beautify Chart Repo Page

Currently the index.html page is fairly basic
https://ibm.github.io/core-dump-handler/
it would be nice to have a prettier page that displayed the contents of index.yaml

Hey @No9 I can try this

Great - @sunidhisachan
I would be good if we don't have to rely on any build-steps if possible.
I will assign it to you.

@sunidhisachan should have said
if you have any questions please feel free to ask. Doesn't matter how small it is.

Would also be good if we can either incorporate this widget
https://artifacthub.io/packages/helm/core-dump-handler/core-dump-handler?modal=widget
Or even expand on it?

core-dump-handler: A Helm chart for deploying a core dump management system to Kubernetes
— Open in Artifact Hub

OK put an initial piece in place so I am going to close this.
https://github.com/IBM/core-dump-handler/commit/d06ed30df09c32e14df43bf42966d6a1805d1a6f
Happy to take another PR If there are any further improvements


[ie11/edge] The more L.Marker you create, the more time it takes

Hi,
here is a jsfiddle to illustrate the issue:
https://jsfiddle.net/bds4u3z4/
Each time you click on the "update markers" link, it adds 100 markers to the map (and remove the previous ones) and displays the time it took to process.
If you click multiple times on the link, the update time is stable in chrome/FF but increases more and more in ie11 and edge
It seems all the process time is used by DomEvent.addDoubleTapListener method
This issue is already fixed in leaflet 1.0.0-rc3

Duplicate of #4357


Wouldn't you include a new icon explaining that the dataset is shared?

cc @saleiva @viddo @juanignaciosl

Not a priority I'd say...


Per Page Feature?

Hello! Thanks for building this great component.
Is there any way to specify per page property? You know like show 3 or 4 per slide. Currently, I can only do 1 per slide. I tried the following:
<Pager @selectedIndexChange="$emit('change')" spacing="2%" peaking="10%">
    <PagerItem v-for="(item, index) in [0,1,2,3,4,5,6,7,8,9]" :key="index">
        <Label height="65" width="65" background="#cbcbcb" class="img-rounded-circle"></Label>
    </PagerItem>
</Pager>

Still shows 1 per page. Please help!
It would be great if  I could specify perPage as a prop. Just took idea from Swiper Component.

Very interesting feature @SanjayBanjade I'll look into it

@triniwiz And is there something like auto paging? You know like switching automatically to next slide after few seconds?

No but all good suggestions

@SanjayBanjade u can open a new issue to track the other feature , now u can use perPage="2" or any number of your choice

Oh my! Thanks @triniwiz! That was super fast. And yeah let me create the issue right away.


Add Timestamp of event occurred in jsondata on every message

I wanted timestamp of every event occurred in a JSON data that I am receiving.
Like I am receiving JSON on every message is like
{"type":"l2update","product_id":"BTC-USD","changes":[["sell","3867.79000000","1.61624"]]}
so i wanted to add event time in JSON object like
{"type":"l2update","product_id":"BTC-USD","eventtime":"2019-02-19T10:42:47.355Z","changes":[["sell","3867.79000000","1.61624"]]}

Hi @ketangoyani
Have you taken a look at Flume interceptors? There is one inbox as part of the Flume distribution that does something similar to what you want.
Timestamp Interceptor

This interceptor inserts into the event headers, the time in millis at which it processes the event. This interceptor inserts a header with key timestamp (or as specified by the header property) whose value is the relevant timestamp. This interceptor can preserve an existing timestamp if it is already present in the configuration.

You can use a flume WebSocket source, the timestamp interceptor, and maybe a custom interceptor of your own to transform the data to your linking.
I'm hesitant to include this functionality in this project for three reasons:

Duplicative Effort – This would duplicate existing battle-tested inbox functionality.
Scope Creep – This library is focused on acting as a connector to get data between WebSockets and Flume and is probably not appropriate to introduce ETL capabilities.
Clocks in a distributed system are problematic – Flume can be operated as part of a distributed ingest system. In a distributed architecture the idea of timestamps and when a message is received becomes hazy due to lack of causal consistency and hardware limitations. This is why consensus algorithms like Raft or Paxos are used to have a high confidence (but not guarantee) of the ordering of events.


[BUG] CIPHER_LIST on Windows is wrong since in v0.6.x

While using impersonate="safari17_2_ios", I get different JA3 digest results between my Windows and macOS machines (8be0b641abb257fae7b13bcfd2657032 on Mac and a76d766e1e01aa4cfaee1331b1bada3b on Windows).
Unfortunately this issue is triggering cloudflare on the Windows machine while on Mac it works just fine every time.
Just for testing I've tried using different python versions with an older openssl version but that is not the problem as the digest doesn't change.

I may have found the root cause, it should be a side effect of #12, when we enabled OPENSSL_NO_ASM on Windows
If OPENSSL_NO_ASM is defined, then int hwaes_capable() will return 0, which means SSL_CTX_set_cipher_list will put chachaciphers(4867) in the first place, hence the wrong order.
size_t num = 0;
if (has_aes_hw) {
  for (uint16_t id : kAESCiphers) {
    co_list[num++].cipher = SSL_get_cipher_by_value(id);
    assert(co_list[num - 1].cipher != nullptr);
  }
}
for (uint16_t id : kChaChaCiphers) {
  co_list[num++].cipher = SSL_get_cipher_by_value(id);
  assert(co_list[num - 1].cipher != nullptr);
}
if (!has_aes_hw) {
  for (uint16_t id : kAESCiphers) {
    co_list[num++].cipher = SSL_get_cipher_by_value(id);
    assert(co_list[num - 1].cipher != nullptr);
  }
}

Based on the issue title, does 0.5.10 still have correct fingerprints?

Based on the issue title, does 0.5.10 still have correct fingerprints?

Yes.

@T-256 There is no build yet.

Please try the new version 0.7.0b1 here

@gamer191 The CVE-2023-38545 was also fixed by upgrading to 8.5.0 of curl.

Can confirm it works for me, thank you 👍


Discussion: Should i/o variable alphabetical sorting behavior be kept?

Context of feature discussion:
Follow a community post, i/o variable sorting in the properties panel has come back to being controversial. This was also subject of discussion back when it was first implemented and as a fail-safe, a configuration option was already provided in the code, which makes actual toggling of this behavior rather easy.
However this topic cannot be progressed currently as there is no clear consensus on what the right way to do this is.
Options currently are:

keep as-is (no effort)
de-activate the behavior if we somehow figure out this is an overwhelming preference of our users (very low effort)
introduce configuration options for this (medium effort)

This issue serves as a feedback aggregation platform and may be converted into a feature request if we decide to take action on it.
Feedback gathered:

the referenced post: https://forum.camunda.io/t/disable-auto-sorting-of-output-variables-in-camunda-modeler-5-0/37034
internal discussion thread summary of points

variable ordering from some developer's perspective feels more intuitive semantic than alphabetical
however in large sets of inputs and outputs, alphabetical is the only version which really scales
we lack data on what the general user preference is for this
manual / custom sort should be considered as a potential enhancement rather than a default, this is further supported by Ingo in this thread

My two cents on this topic:
Variables are the heart of of process automation as they transport information from one task to the following.
If you have only a few of them, it's easy for everybody to get an overview.
But alphabetical ordering is only one aspect to get an overview in a large amount of names. Sometimes it's more suitable to sort historically. Sometimes you sort by an appendix. Sometimes you have to agree as team on the ordering.
The best way is to allow manual ordering afterwards (which is not possible in the moment).

Closing this issue.
The fact that we had alphabetic ordering in the first place was a misstake.
C8 already sorts in insertion order, C7 may follow some day (cf. https://github.com/camunda/camunda-modeler/issues/3978).


Replace default GUID with substitution value to better illustrate where values are sourced and eliminate errors

The section "Bring your own virtual network" gives a step for retrieving the "Azure Service Fabric Resource Provider" indicating that the Id value should be used as the principalId value in a later step. It's nice that it writes this here, but for someone merely skimming the instructions, this is likely going to be missed. Rather, in the example output given for the step, it uses the GUID '00000000-0000-0000-0000-000000000000'. This is a poor fill-in value to use because it actually has a meaning with regards to Principal IDs - it means Everyone, so someone that misses that this value should be replaced will not see any downstream errors about it while simultaneously doing away with any sort of desired least-privilege approach.
Instead, I advise drawing attention to the fact that we care here about the ID value (not the Application ID) by explicitly putting text surrounded by < > as is common for fill-in examples (and which is done in the first example itself to illustrate that the SubscriptionId should be inserted where <SubId> is found.
Further, most examples in the Azure documentation include a Copy button that copies the contents to ones's clipboard for easy insertion into a separate context. Fast-forwarding a few steps in this section, we see the JSON block demonstrating the all-zero GUID value being inserted in place of the SFRP identifier - again, this will not be rejected since that GUID does mean something in Azure. So once again, I recommend replacing that value with a specific substitution call out as I do in this PR.
This should better clarify to future parties exactly where the values come from for each of the examples.

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

#sign-off

@mamccrea: I'm sorry - only the author of this article, @sukanyamsft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Cant uninstall and then install chrome apk with option 'quick boot snapshot' enabled.

Ubuntu 16.04.5 LTS
KVM installed.
INFO: /dev/kvm exists
KVM acceleration can be used

When answer at question 'quick boot snapshot' == y, and trying to install google chrome apk, got an errors:

Upd: This happend only in > 6.0 images


Remove multithreading from TODO

This now has multithreading so it can be removed from the TODO.

Thanks!


Issues Updating The WAN Interface IP via the API call from PowerShell

Jared,
Thank you for creating the ability to update the WAN IP Addresses.  The problem I seem to be stuck on is how to properly format the request to  to update the IP address from PowerShell.  I am able to update the Virtual IP address using the following request:
$VirtualIP = "<IP_ADDRESS>"
Invoke-RestMethod - Uri "https://<IP_ADDRESS>/api/v1/firewall/virtual_ip/?client-id=Username&client-token=Password&id=0&subnet=$($VirtualIP)&interface=wan" -Method PUT
It appears that no matter what I do to update the WAN Interface IP, I get a 400 error.
$WANIPAddress = "<IP_ADDRESS>"
Invoke-RestMethod - Uri "https://<IP_ADDRESS>/api/v1/interface/?client-id=Username&client-token=Password&if=em0&enable=true&type=staticv4&ipaddr=$($WANIPAddress)$subnet=24$blockgons=true" -Method PUT
Also when I try to get the interface values from powershell , the commands are successful but they basically do not appear to return any data.  So I can't tell if the problem is just my requests or if something is not working as expected.
I am presuming the former.  Any insights would be appreciated.
Thanks again.

Hey!
I'm assuming you are running the latest version of the API, if not try the request using the latest version and see if anything changes. I'm not very familiar with PowerShell unfortunately so I'm not entirely sure why you would not receive any response. When using curl I seem to get the expected response. However, looking at your interface request there are a few things that may be happening here:

I don't see a parameter for the required id field. This should be the existing interface you are trying to update. In this case id=wan would be needed in your parameter string to correctly target the WAN interface. Otherwise an error will be returned.

Unless you are specifically trying to change the physical interface associated with the interface object, don't include the if parameter even if it contains the same physical interface. It returns an error stating that the physical interface is already in use. This is a known bug that I will have patched soon, but a simple workaround in the meantime is to just not specify the if parameter in your PUT request.

Note sure if this is just a copy and paste issue or something, but your request's parameter string incorrectly uses $ as the parameter delimiter before the subnet and blockbogons parameters. This should be & instead.

If possible, you may want to try to format the content body as JSON instead of URL encoded parameters. URL encoded parameters technically should work, but the API was primarily designed around JSON content so there may be a parsing issue there.

Hopefully this helps. If you run into any more issue let me know and I can take a deeper look.
Thanks!

Hey!
I'm assuming you are running the latest version of the API, if not try the request using the latest version and see if anything changes. I'm not very familiar with PowerShell unfortunately so I'm not entirely sure why you would not receive any response. When using curl I seem to get the expected response. However, looking at your interface request there are a few things that may be happening here:

I don't see a parameter for the required id field. This should be the existing interface you are trying to update. In this case id=wan would be needed in your parameter string to correctly target the WAN interface. Otherwise an error will be returned.

Unless you are specifically trying to change the physical interface associated with the interface object, don't include the if parameter even if it contains the same physical interface. It returns an error stating that the physical interface is already in use. This is a known bug that I will have patched soon, but a simple workaround in the meantime is to just not specify the if parameter in your PUT request.

Note sure if this is just a copy and paste issue or something, but your request's parameter string incorrectly uses $ as the parameter delimiter before the subnet and blockbogons parameters. This should be & instead.

If possible, you may want to try to format the content body as JSON instead of URL encoded parameters. URL encoded parameters technically should work, but the API was primarily designed around JSON content so there may be a parsing issue there.

Hopefully this helps. If you run into any more issue let me know and I can take a deeper look.
Thanks!

Jared,
You for the timely response.

I realized this might be an issue when I was testing.  I could not update it, I just install the API again which got me the latest version.  I had done this part prior to my post.

Your second recommendation was helpful leaving out the interface was part of my issue.

I corrected the typos in the powershell  -- I think I was having a combination of problems and your response helped me to me to resolve the issues I was seeing.

I have been able to make the change after correcting the commands.

I was able to commit the changes by making the post call to /api/v1/interface/apply/

$WANIPAddress = "<IP_ADDRESS>"
Invoke-RestMethod - Uri "https://<IP_ADDRESS>/api/v1/interface/?client-id=Username&client-token=Password&id=wan&enable=true&type=staticv4&ipaddr=$($WANIPAddress)&subnet=24&blockgons=true" -Method PUT
I think that I am all set now.  Thanks again for your help and support!

Jared,
You for the timely response.

I realized this might be an issue when I was testing.  I could not update it, I just install the API again which got me the latest version.  I had done this part prior to my post.

Your second recommendation was helpful leaving out the interface was part of my issue.

I corrected the typos in the powershell  -- I think I was having a combination of problems and your response helped me to me to resolve the issues I was seeing.

I have been able to make the change after correcting the commands.

I was able to commit the changes by making the post call to /api/v1/interface/apply/

$WANIPAddress = "<IP_ADDRESS>"
Invoke-RestMethod - Uri "https://<IP_ADDRESS>/api/v1/interface/?client-id=Username&client-token=Password&id=wan&enable=true&type=staticv4&ipaddr=$($WANIPAddress)&subnet=24&blockgons=true" -Method PUT
I think that I am all set now.  Thanks again for your help and support!


PHPSESSID

All people around me haven't the account, so I can't download the dataset.
Could you give me a PHPSESSID?
Thank you very much!

Nope, you have to register at the official website from the creators of the website, here: https://vision.imar.ro/human3.6m/register.php. After you do that, you must log in using your web browser and inspect your cookies to get your PHPSESSID. I am not involved with the management of the dataset at all, I just wrote this tool to make downloading and preprocessing easier.

I know, but the website can't be registered now.


feat: Improve setting.model selector

💻 变更类型 | Change Type

[x] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change
Improved model selector on settings page

📝 补充信息 | Additional Information

Summary by CodeRabbit

New Features

Enhanced model selection dropdown with grouped models by provider for improved usability.
Introduced optional alignment property for select components, allowing left or center alignment.

Style

Added .left-align-option CSS class for consistent left text alignment in dropdown options.

This is a nice, clear feature, why not also use it for the model selector in the chat interface?


EPiServer.Labs.Find.Toolbox 2.0.1 does not get installed in ASP.NET Core Episerver project

Hello,
I am facing an issue while attempting to install the latest version of EPiServer.Labs.Find.Toolbox (version 2.0.1) in my ASP.NET Core MVC Episerver project.
Upon trying to install EPiServer.Labs.Find.Toolbox.2.0.1.nupkg into my project, I'm observing that nothing is getting installed.
Here are the key versions of the components I am using:
Episerver.CMS: 12.20.0
Episerver.Find.Cms: 15.0.3
I would appreciate any assistance in resolving this matter.
Thank you.
@dada81

This is the error I am getting

Hi @soria2020
Will provide a new version with bumped up dependency for Episerver.Find.Cms during next week

Hi @dada81
Thanks 👍

Hi @soria2020
Please evaluate the following package
EPiServer.Labs.Find.Toolbox.2.0.2.zip

It was possible to install [EPiServer.Labs.Find.Toolbox.2.0.2] but the problem is with the query string, it gives the following error and did not want to import the reference? @dada81

Are you missing
using EPiServer.Labs.Find.Toolbox;
?

@dada81 I tested importing the Toolbox using and it looked better but i had to comment out my SetTimeout for it compile?

Getting this error.
@dada81

Sems like a version conflict? @dada81

Everything looks good, thank you for your help.


Canada missing in Citizenship and Country of Origin picklists

Canada seems to be missing from the Citizenship and Country of Origin picklists.
see:  https://powerofus.force.com/_ui/core/chatter/groups/GroupProfilePage?g=0F980000000D6uj&fId=0D58000002tIXm6
and search the below:
https://github.com/SalesforceFoundation/HEDAP/blob/8cbd919f523434fa4364f6c1e385232072218b6d/src/objects/Contact.object

**lurch: add

Tracking W-011093

Included in beta release 1.15 (Beta 3)


fix: increase the mapbox popup width

The actual width of the popup in the event map is only 80px, not enough to display the name of certain cities in one line and super inadequate for the city description.
My proposal is to change the CSS from width: 80px to max-width: 500px for desktop and max-width 250px for mobile. This can keep a small popup with smaller content as just the city name but expand for larger content. However this not completly fix the usability of the popup. For this reason I fixed the maximum height of the popop to 280px (calculated from the mobile map height) and added scrollable text in case of long text content.
As-is:

After the patch (mobile):

After the path (desktop):

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


Video on scrna-intro is 1 slide out of sync due to Requirements slide

the Video

If you look at the video at 6 seconds in, there is an extra slide added "Requirements", which is not defined in the markdown.
I believe this throws off the video captions by 1 slide. Is this an easy fix?

It's already fixed :) we're rebuilding soon

It's already fixed :) we're rebuilding soon

#2314 , #2315

#2314 , #2315

Oh sweet!

Oh sweet!


Dummy Issue

For Jira integration

BIG-1 #comment testing Jira hooks

BIG-1 #comment Another comment

[TP-1] Testing another Jira project.

[TP-1] #comment Trying to leave a comment.


Don't stop the console error when closed Popup.

After opening a new popup without closing the existing one, closing the popup won't stop the console error.
console error:
Uncaught TypeError: Cannot read property 'closed' of undefined

You created if open new popup when already exist another popup, openSharer close old popup and fire change event.
I think error caused by that function does not work enough.
Please confirm.
I use latest version (2.4.5)

I'm also getting this error in version 2.4.6


Adding support for Public Key Infrastructure features for AWS IoT

Moto library lacks support for some of the PKI (Public Key Infrastructure) features for AWS IoT, especially supporting one's own certificate authorities versus using default AWS IOT certificate authority to sign device certificates. We have implemented Moto APIs for mocking certificate authorities. We have implemented following functionality in this commit.

Mocking CA data structure to sign device CA.
Implemented list_things, register_ca_certificate, register_certificate, describe_ca_certificate, list_certificates_by_ca, delete_ca_certificate, update_ca_certificate, get_registration_code APIs Returning ca_certificate_id for FakeDeviceCert to match actual iot responses for device certificate

Coverage decreased (-0.3%) to 92.457% when pulling 661f2339fa166eb53c2ebc9e2abd7b7f88c6a7a8 on sahilkoladiya:iot_pki_support_1 into 1095b7d94bdd46b1bb2dbff0122994baf94f2eeb on spulec:master.


Profile Guided Optimization (PGO) and LLVM Superoptimizer

Hi,
I'm wondering if it's possible todo PGO with rustc. I was searching and haven't really found something concrete aside from a few messages in mailing list.
I guess it should be possible(if added to the compiler), as it's supported by LLVM(also it looks like Google might be interested in improving this, http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-February/082744.html).
Also, i've heard the work on Superoptimer for LLVM, and i'm curious about what result will it give when run against code generated by rustc.
All of these seem low hanging performance fruit, though enabling them might mean a lot of work.
Thanks

Some slides about this (from 2013): http://llvm.org/devmtg/2013-11/slides/Carruth-PGO.pdf

A blog post describing a POC: https://unhandledexpression.com/2016/04/14/using-llvm-pgo-in-rust/.

@Hywan thank you. This looks like a good first step. 15% performance for the best case scenario, sounds great especially since it's free.
I'm not sure what to do with this issue. It's possible to do outside the rustc, using the llvm toolchain.
Still not supported by rustc, or cargo.
I wonder if this would work as a cargo extension. Running the benchmark tests, and optimize the code around those code paths. Though, not sure how the benchmarks reflect real life usage hot paths.

ping @Geal, he is the author of the blog post and he could provide relevant answers.

There are three ways this can happen practically:

generate profiling data from the benchmarks, and optimize the build directly. But benchmarks are hardly representative of real world usage
the code can ship with some pre-generated profiling data (the developer tested it extensively for that release, and provides the profiling data), and the Cargo.toml can refer to
we make it more of a command line option for cargo, and the end user chooses to use it or not, and has to profile data once

There's also the issue that I mentioned in my post: that test only applies on one crate with no dependencies except libstd. What happens when you have multiple libraries as dependencies? Do you generate the profiling data for all of them? It would be nice to optimize the end program and the dependencies based on usage data of the end program.
As a first step, having it in rustc as a llvm-args option is enough to test and see if it should be automated a bit with cargo. I read somewhere else that adding options to cargo is frowned upon, since it would complexify it too much.

I do a lot of PGO in C++ mainly using GCC. I tend to have a specific function to run the code kernels that need heavy optimisation many times with sample data. I would suggest something like the #[test] pragma used in testing. So I have some functions marked with #[profile]. Then when I compile it should clear the profile data, build once with instrumentation, run the marked 'profile' functions to generate the profile data, and then build a second time without instrumentation using the generated profile data. I would suggest this is all handled by cargo, perhaps with an optimisation level, so the level 4 optimisation does this whole profile build process when you run "cargo build".

Instead of using an extension to Cargo.toml wouldn't it be a more eloquent solution to use something like #[profile] in a form that would mirror #[test] ?

@valarauca I think it's safe to say that a run through the benchmarks doesn't generally represent a typical use of the code in the real world. For instance, if you have a small function that's called in a tight loop within a larger function, in many cases it's reasonable to benchmark the former and not the latter. But if you give the optimizer a profile based on those benchmarks, it won't see how often the larger function calls the smaller one, so it might not inline that call—making the loop slower than it was without the profile! Benchmarks also tend to follow the exact same code path over and over, which seems rather nonsensical for profiling purposes, since you don't learn anything new after the first iteration.

fwiw, I'm looking forward to this feature, and a #[profile] makes sense to me as well. I think the things I run through in a #[profile] are likely to be most/all of ones I mark as #[bench]. But I could imagine having a benchmark of some case that's interesting but not representative of expected load and wanting the ability to exclude it.
fwiw, my setup at work is the second option @Geal described: use pre-generated profiling data. In particular, I use AutoFDO. A fancy pipeline gathers stats from my binary as it serves production traffic and saves a profile to version control. Subsequent builds use the latest available profile. For my servers, this is about a 15% performance improvement. (The paper says, more generally, that AutoFDO yields "improvements commonly in the 10-15% range and sometimes over 30%".) So pre-generated profiles are absolutely valuable to support; autofdo is great when you have a way to instrument your real binary under real, consistent load. But I think it'd be hard to get that real, consistent load for mobile/desktop apps. And autofdo requires Intel-specific hardware counters (on bare metal—they don't seem to work in VMware Fusion). It'd be a pain for the personal Rust project I'm working on now; I'd rather just write a #[profile].

@Permutatrix

I think it's safe to say that a run through the benchmarks doesn't generally represent a typical use of the code in the real world.

Fair statement.

But if you give the optimizer a profile based on those benchmarks, it won't see how often the larger function calls the smaller one, so it might not inline that call—making the loop slower than it was without the profile!

I understand that #[profile] isn't a full solution, it requires developer buy in, documentation, and cooperation with the compiler to get the full benefit. Just like #[test]. It doesn't guarantee all your code is correct unless.
There would still be some branch hinting optimizations out of the case you outlined. So there is still some, largely trivial gains albeit much like sparse #[test] usage. Overall I feel this is a good fit, because like #[test] one would have to use #[profile] at near 100% coverage to get the full benefit of it.
Lastly if done correct #[profile] can becomes the vast majority of your #[test] suite to a decent margin baring edge cases. This would likely involving pruning assert!()-like statements from the PGO output, maybe separate runs with assertions and without depending on cargo test vs cargo --release-profile idk.

This would be great for parity, since we have one major path that we care very highly about (the import speed) and that we profile for. We could just run it over and over again for the sake of PGO. There's probably a bunch of cold paths that aren't marked as such in the bitcode.

It'd be also great for Firefox. We had to do a lot of manual tweaking to querySelector to be comparable to the C++ version, that could presumably get some cleanup if we get PGO.

I hacked on this this weekend, and I think I got something to work, will post a WIP PR for feedback soon :)

(Also note that I didn't do the cargo integration on top of it, I only did the bits so that profile usage and generation can go through rustc instead of --emit llvm-bc + opt + clang)

What is the status of PGO with rustc/cargo?
I tried building with -Z pgo-gen=/tmp/prof.data, but got many linking errors.  If it's supposed to be working, I'll provide more details and try to find a minimal example.

Thanks. It seems the problem I was having was specific to my use of external symbols.  I've opened a new issue for it: https://github.com/rust-lang/rust/issues/57258


Inconsistence return from bad page.goto urls

Steps to reproduce

Puppeteer version: v1.50
Platform / OS version: MacOS High Sierra 10.13.5
URLs (if applicable): Any invalid one
Node.js version: 10.2.1

Also reproducible on https://try-puppeteer.appspot.com/ v1.4.0
const browser = await puppeteer.launch();

const page = await browser.newPage();

try {
await page.goto('https://invalid.tld');
    console.log('1st url succeeded somehow');
} catch (err) {
   console.log('1st error: '+err.toString());
}
console.log('1st url at end:'+await page.url());
// 2nd url : identical to first
try {
await page.goto('https://invalid.tld');
  console.log('2nd url succeeded somehow');
 } catch (err) {
   console.log('2nd error: '+err.toString());
}
console.log('2nd url at end:'+await page.url());
// 3rd url: subdomain of 1st and 2nd
try {
await page.goto('https://something.invalid.tld');
  console.log('3rd url succeeded somehow');
 } catch (err) {
   console.log('3rd error: '+err.toString());
}
console.log('3rd url at end:'+await page.url());
// 4th url: different tld
try {
await page.goto('https://invalid.fdsfosd');
  console.log('4th url succeeded somehow');
 } catch (err) {
   console.log('4th error: '+err.toString());
}
console.log('4th url at end:'+await page.url());

await browser.close();

What is the expected result?
All page.goto() attempts fail and throw an 'ERR_NAME_NOT_RESOLVED' error and the page.url() does not change from about:blank:
1st error: Error: net::ERR_NAME_NOT_RESOLVED at https://invalid.tld
1st url at end:about:blank
2nd error: Error: net::ERR_NAME_NOT_RESOLVED at https://invalid.tld
2nd url at end:about:blank
3rd error: Error: net::ERR_NAME_NOT_RESOLVED at https://something.invalid.tld
3rd url at end:about:blank
4th error: Error: net::ERR_NAME_NOT_RESOLVED at https://invalid.fdsfosd
4th url at end:about:blank

What happens instead?
Over 80% of the time some page.goto() do not throw exceptions and the page.url() gets changed to a chrome-error one instead.
1st error: Error: net::ERR_NAME_NOT_RESOLVED at https://invalid.tld
1st url at end:about:blank
2nd url succeeded somehow
2nd url at end:chrome-error://chromewebdata/
3rd error: Error: net::ERR_NAME_NOT_RESOLVED at https://something.invalid.tld
3rd url at end:chrome-error://chromewebdata/
4th url succeeded somehow
4th url at end:chrome-error://chromewebdata/

Also having the same issues, i'm creating a new page and performing some processes then closing the page after for a list of URLs but somehow some succeed and if one fails:
await page.goto("https://someurl.com");
console.log(page.url()); // results to 'about:blank'

I've had to revert from v1.5.0 all the way back to v1.3.0 with the same result.

This is working as expected on Puppeteer v1.7.0.


Any model trained for other languages?

Is it any XLNet model trained in other languages?
Thanks!

I'm currenly running experiments for Basque with different BPE sizes 😅

joke?

No, I'm working on a project (together with @anebz) on contextualized embeddings for Basque. I've trained ELMo and Flair Embeddings from scratch (will be released in a few days) and XLNet embeddings are currently training. Evaluation will be done on EIEC for NER and Universal Dependencies for PoS tagging.

wow, sorry! I didn't think someone in Munich would be working with Basque 😅 In any case, I'm working mainly in Spanish (despite my nickname), so I was asking for some model in Spanish... but nice to know about you!


'Find on Map" function in Nunaliit

When there are many points and/or many layers and/or a timeline, it is often almost impossible to identify the relevant point when "find on map" is clicked on.
Can the 'find on map' function be enhanced to allow points to be identified better?

An atlas builder can choose the style of any "found" geometry. In 2.2.9, this should be done in the conditional styling system. See: https://github.com/GCRC/nunaliit/wiki/Nunaliit-Documentation-for-Atlas-Builders#conditional-map-styling
It is also possible to do this in the older (deprecated) style system via the "find" intent.


Source Edit: update Rism Siglum field to use ModelChoiceField

This PR changes the RISM siglum field on the Source Edit page to use a ModelChoiceField widget (previously, a user needed to know the ID of the rism siglum to assign a source to a rism siglum, which was not very useful). It was already set up properly on the Source Create page, so I copied the code from there.
Going to say this fixes #971 - it doesn't exactly solve the issue as described there currently, but this PR at least makes it useable; I'll open a new issue for making it a filterable list field, and mark it as an enhancement.
with the new changes:

previously, it was:

for reference, this is how the source create page looks (it works here, so I just took the code from this page):

@jacobdgm If you'd like, I can probably implement the filterable list today to skip this step!


[Templates] Support for Faster Setup & Install

In order to help stream line a "Get Started" section for the new product site.

Another outcome of this work will be allow #34 to be worked in a more clean way.

cc @superkat64


Allow PAUL.yaml to reside in .github folder

Is your feature request related to a problem? Please describe.
The root of my repo is already cluttered enough
Describe the solution you'd like
Allow PAUL.yaml to live in the .github folder as well as the root.
Thanks for the Paul!

Thats an awesome Idea I will look into implementing this next week

Thats an awesome Idea I will look into implementing this next week

/label enhancement

/label enhancement

This should work now, I just need to test it

And tested, it seems to work! Thanks for logging the issue 👍

Great, thanks for helping me declutter the root of my repos 😅


Do not prepend rust macro calls with &

New issue I encountered while working on docs.rs. :D

Do you want other things to be merged before I make a new 0.3.4 release?

No, I have no ideas right now what I would like to add or change. :)

Ok, gonna make a new release then. I still want to push for setting run-time variables value. Would be nice to discuss about how it should look like (mostly in the templates, the generated code is easy to do hehe).


Build with docker and make

Add an unattended build method. Platforms that can muster Docker and Make can do:
make

Hi, could you elaborate on the change to bld/cmake/ObGeneratePC.cmake?
I don't really understand CMake and I'm not sure how it's supposed to work, but when I did a ninja install on your branch, it now seems to install each of the .pc files in two different locations:
-- Installing: /opt/plasma/lib/pkgconfig/libPlasmaZeroconf.pc
-- Installing: /pkgconfig/libPlasmaZeroconf.pc

I much prefer the new location of ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig over the old location of /pkgconfig.  However, I don't think we need to install it in both places, and I'm unclear where the install to the old location is happening, since it doesn't look like it's happening in the same file that you changed.

Hi, could you elaborate on the change to bld/cmake/ObGeneratePC.cmake?

The version you tested was double-installing the .pc files. These changes are not needed as long as you specify CMAKE_INSTALL_PREFIX, and there is an example of doing that in the build Makefile rule.
This now cleanly installs plasma to PLASMA_INSTALL:
PLASMA_INSTALL=/path/to/plasma make install

@mignon-p I removed the CMake changes and added some instructions for installing. Does that work for you?

Looks good to me.  Thanks!


RAC UITextField big bug

copy: https://github.com/ReactiveCocoa/ReactiveCocoa/issues/3179#issuecomment-247982879
RACSignal *signal1 = self.textField.rac_textSignal;
RACSignal *cSignal1 = [signal1 distinctUntilChanged];
[cSignal1 subscribeNext:^(NSString *number) {
    NSInteger length = number.length;
    NSString *text = weakself.textField.text;
    DEBUGG(@"111Text: %@, number: %@", text, number);
    if (length >= 20)
    {
        NSString *subText = [number substringToIndex:20];
        DEBUGG(@"subText: %@, number: %@", subText, number);
        weakself.textField.text = subText;
    }
}];

first input text:<PHONE_NUMBER>234567
second input text:<PHONE_NUMBER>2345678; show subtext:<PHONE_NUMBER>234567
third input text:<PHONE_NUMBER>2345678; show subtext:<PHONE_NUMBER>2345678
because the subscribeNext block is not called;

I don't really understand the problem you're having, but it sounds like you're saying that
weakself.textField.text = subText;

is not causing the signal to send a new value. This is the expected behavior. -rac_textSignal does not send values in response to calling -[UITextField setText:]. It only sends values in response to user input.


Added a caching mechanism for the possible_matches dict

For the larger designs like jpegencode, a lot of the runtime is spent initializing the list of possible matches for each primitive based on cell type and properties. This pr creates a caching mechanism which rebuilds the dict based on the instance names. For jpegencode, this brought the runtime down by 29 minutes. This only works if you don't change the design at all in between runs.

This is broken right now

This works now

Uh that was on accident


[DNM] drivers: flash: support NRF UICR operations

Nordic UICR are non-volatile memory registers for
configuring user-specific settings. Basically it is subset of flash
memory available in the SoC.
Add support for operations on NVM which belongs to UICR.
UICR are written or read as ordinary flash memory.
For erasing UICR it is required to call erase with UICR start
address and its size (this is caused by what hardware supported).
Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

Codecov Report

Merging #11410 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11410   +/-   ##
=======================================
  Coverage   48.37%   48.37%
=======================================
  Files         265      265
  Lines       42188    42188
  Branches    10137    10137
=======================================
  Hits        20408    20408
  Misses      17703    17703
  Partials     4077     4077

Continue to review full report at Codecov.

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

@anangl can you review this one?

@nvlsianpu can you please address the review comments on this one?

@pabigot @pdunaj @anangl updated, I also added patch for fix check for regular addresses.


implement Offline mode with ServiceWorkers

a good starting point, https://medium.com/@addyosmani/progressive-web-apps-with-react-js-part-3-offline-support-and-network-resilience-c84db889162c

@entone, working service worker enhancement on offline-mode branch. Uses Google's sw-precache library (https://github.com/GoogleChrome/sw-precache). Updates are made to index.html. Once a build is created, a build script has to be ran to generate the custom service worker script for the current build.


Port-dev branch suggestions

Love the card display, it works very well!  I think having the QR code in the top center card would be nice, and the links card to it's right.  This way the QR is presented well, and there will be more vertical space for the link so another row can be added if necessary.  A visual update that might work is having the same padding all around the QR code, the difference in the top/bottom to the left/right looks unusual.  Overall really great start to this, keep it up!!

@portdeveloper

Btw, these aren't changes you have to make, just suggestions based on my usage.

I am on it, I am also seeing what API is the best choice to use to get NFTs.
I'm a bit slow recently but I will do my best


Esri (desktop) license utilization

Benefit
Properly utilizing GIS desktop licenses is important for getting the value from our software investment.  This investigation will include meeting with UGRC stake holders to establish what data is required to make informed decisions on license quantity needed moving forward.  This would allow the agency to save a considerable amount of money depending on the number of licenses may be underutilized.
Acceptance Criteria

[ ] Identify data required to make decisions on license quantity per software feature.

Notes
Most of the required information is available using OpenLM.  This investigation will include looking at using OpenLM to build the knowledge base for making informed decisions.
Risks
No response
Issue Reference
refs #

Tentatively assigned this feature to Sprint 3 based on:

The first task we've identified is to review the current ARCGIS.opt file, contact someone from each group to ensure that our list is as up to date as possible. Possibly Q3 Sprint 3.

Sprint 2

aiming for a meeting on Thursday, April 18th

Closing notes:
OpenLM was run for a month and provided enough data for us to decide to trim our concurrent licenses. We decided to purchase a year-long subscription for OpenLM and will continue to monitor license usage via #437. We will also be learning about the new Esri licensing model to complement OpenLM data and possibly forge a new strategy for the license manager in the year ahead.


Some transactions are being counted twice on transaction count by address

https://explorer.icon.geometry.io/address/hxc17ff524858dd51722367c5b04770936a78818de
https://explorer.icon.geometry.io/address/hxd3b53e10d8c4c755879be09ff9ba975069664b7a
https://explorer.icon.geometry.io/address/hx980ab0c7473013f656339795a1c63bf44898ce95

Writing a routine to handle this

Routine pushed, need to run on cluster


Schema migration

?
!

Type
feature

BC Break
no

Fixed issues
#1186

Summary
Schema migration

Please review and let me know if changes can be moved to the structure.sql.

@massadm Thanks for your contribution, you can go ahead and add the new tables and fields to the structure.sql file 🙏
Remember that the tables also need to be populated in DB.php, but I'm happy to do that part, which can be a bit confusing with the codebase as it is now 😁


Pull out mixing ratio conversion into functions

Fixes #79.
This PR separates the computations of dry and moist mixing ratios into separate functions. This is to enable testing.
It also includes some small changes to the README to clarify instructions.

I have run the tests in tests, and they all run through fine


Oracle relations limit of 1000

When trying to access a large models relations like so
Model::find()->with('relationName')->all();

I get the error, ORA-01795: maximum number of expressions in a list is 1000 error
I'm assuming that I haven't done anything wrong or missed something. Looking around, there appears to be a workaround for this: http://stackoverflow.com/a/17844383/895169
Is this something we should look to implement within Yii to help Oracle DBs or am I using Yii incorrectly?

Should be fixed

That's because of WHERE id IN(1,2,3,4,...). MySQL has the same limit as well. Usually it's not a problem because getting 1000 releated records often means something's very wrong. @jonny7 what's your use case for 1000 records on the same request?

I have Table A with 10k procedure records and Table B is a pathology table with 7k rows. Not all procedures will have related pathology. I am using this mainly for generating statistics and I was just testing that the relation worked as I have found Oracle not as easy as MySQL to use, saw this and wondered about it being a bug or my mistake. Is my use case bad?
Out of interest then, If you have a large database, is active record not the way to go when accessing the data?

Yes. It doesn't really matter if it's AR or not. Getting more than 100 records in a single request is generally not a good idea. It's not fast and memory greedy.

@samdark @cebe do you think it should be fixed?
As for me - yes, it should.

Getting more than 1000 records in a single request is generally not a good idea. It's not fast and memory greedy.

Yes, it's greedy, but sometimes a single SQL with 5000 expressions in the IN condition is much faster than 5 separated queries.

Yes, it's greedy, but sometimes a single SQL with 5000 expressions in the IN condition is much faster than 5 separated queries.

This is no the point. The point is fetching 1000 records will consume too much memory for PHP script running. What the sense of fixing maximum number of expressions in a list error, just to see PHP memory overflow instead?
In general this is not a common use case. Processing of the large amount of data requires more care and attention.
We have implemented querying in batches for the large data-sets processing. As for me - this is enough. Creating a hack aroung IN SQL opeartion does not sounds good.

For me it is also related to #10203, because most time the viaTable method is handy and nobody knows how to do it with the join method which would fix this issue most time for me.
I've encountered it because I need the count of some entries which are related to another entry.
public function getEntries()
{
	return $this->hasOne(Entry::className(), ['entryID' => 'entryID'])
		->viaTable(EntryInList::tableName(), ['listID' => 'listID']);
}

Normally I would do a Join...
$model->getEntries()->count();

I agree with @samdark and @klimov-paul comments about the memory overflow and that it isn't a good use case. I wrote this initially because I was having trouble with Oracle and wanted to just see if my relations worked. When I saw the error I just assumed it was an oracle not playing nicely with Yii. I have used batch insert previously with Yii2, but have never seen the retrieval piece? Is this is http://www.yiiframework.com/doc-2.0/yii-db-batchqueryresult.html ?

@jonny7, check this method: http://www.yiiframework.com/doc-2.0/yii-db-query.html#batch()-detail
There is also exists usage sample.

@klimov-paul well, I tend to agree with you.

Fixed by f6a4f3c18f9f4b3f4e6af5bbad0e297f2aa55108


PowerShell 4.0 support

The PowerShell example uses Get-ItemPropertyValue which is not supported in all PowerShell versions (e.g. 4.0)
The following code is backwards compatible:
$(Get-ItemProperty -Path "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full") | Select-Object Release

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

ID: 2115da38-e95e-46fc-1e2d-da88ef92c6cf
Version Independent ID: a3790e8a-0654-851b-c991-ab7382025406
Content: How to: Determine which .NET Framework versions are installed
Content Source: docs/framework/migration-guide/how-to-determine-which-versions-are-installed.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

I think that you should to use a newer version.
I'm using the 5.1 version of PowerShell without troubles and it's working properly.
I will add a PowerShell script in my repo to get this information, and it's running ok.

Sure, I am using a newer version.
However, other people may want to follow the procedure and it's perfectly possible to have systems with .NET 4.5 or higher but without a PowerShell 5.0.

Well, that is a possibility, however my personal recommendation is to install PowerShell 5.x.

Hello Microsoft.  I don't suspect that you know or care how much time people waste collectively following these instructions just to get a simple answer about a commonly installed component do you? (rhetorical question). Does the .NET team really hate users that much that they cant be bothered to provide a simple command line utility, or a single PowerShell command, or some reference in Programs and Features or something that doesn't require the arcane procedures in articles such as this. The year is almost 2019 - why continue to waste everyone's time like this?


chore: bdd-spring-1583461601 to 0.0.1

chore: Promote bdd-spring-1583461601 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Vendor<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

How to categorize this PR?

/area open-source
/kind task
What this PR does / why we need it:
Vendors<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>and adapts to the breaking / most notable changes (see https://github.com/gardener/gardener/issues/4772).
Which issue(s) this PR fixes:
Main part of https://github.com/gardener/gardener/issues/4772, a few optional follow-ups will be done in dedicated PRs to keep this one limited to the minimum scope.
Special notes for your reviewer:
To ease the review, changes are split into dedicated commits, each targeting "one step" / "one adaption" to an upstream change.
Commits marked with [automated] are results of some make commands as denoted in the commit message, but no other manual changes (skip these commits in the review).
/squash
Release note:

The following golang dependencies have been upgraded, please consult the upstream release notes and [this issue](https://github.com/gardener/gardener/issues/4772) for guidance on upgrading your golang dependencies when vendoring this gardener version:
- `k8s.io/*` to `v0.22.2`
- `sigs.k8s.io/controller-runtime` to `v0.10.2`
- `sigs.k8s.io/controller-tools` to `v0.7.0`

/rebase

@rfranzke thanks a lot for your review. I addressed your suggestions, PTAL :)


TST: new test failures (mostly crashes) with scipy 1.12 and OpenBLAS 0.3.26

I hadn't gotten around to evaluating the BLAS flavour analysis in conda-forge for a while, but now that I did, there's a bunch of new failures on windows together with OpenBLAS (in addition to the pre-existing https://github.com/scipy/scipy/issues/17125):
FAILED _lib/tests/test_import_cycles.py::test_public_modules_importable - AssertionError: Failed to import scipy.cluster
FAILED interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense
FAILED linalg/tests/test_basic.py::TestLstsq::test_random_exact
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-float32]
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-float64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-complex64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-float32]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-float64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-complex64]
FAILED spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms
FAILED spatial/tests/test_qhull.py::TestUtilities::test_degenerate_barycentric_transforms

In more detail:

Details for failures in _lib/tests/test_import_cycles.py
_______________________ test_public_modules_importable ________________________
[gw0] win32 -- Python 3.12.2 %PREFIX%\python.exe
..\_test_env\Lib\site-packages\scipy\_lib\tests\test_import_cycles.py:14: in test_public_modules_importable
    assert pid.wait() == 0, f'Failed to import {PUBLIC_MODULES[i]}'
E   AssertionError: Failed to import scipy.fftpack
E   assert 1 == 0
E    +  where 1 = <bound method Popen.wait of <Popen: returncode: 1 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>>()
E    +    where <bound method Popen.wait of <Popen: returncode: 1 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>> = <Popen: returncode: 1 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>.wait
        i          = 6
        pid        = <Popen: returncode: 1 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>
        pids       = [<Popen: returncode: 0 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>, <Popen: returncode: 0 args: ['C:\\b...t_1709765858947\\_test_env\...>, <Popen: returncode: 0 args: ['C:\\bld\\scipy-split_1709765858947\\_test_env\...>, ...]

All the other failures are crashes, though it's worth noting that they don't always appear.

Crashes
_____________________ interpolate/tests/test_interpnd.py ______________________
[gw1] win32 -- Python 3.10.13 %PREFIX%\python.exe
worker 'gw1' crashed while running 'interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense'
_________________________ linalg/tests/test_basic.py __________________________
[gw1] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw1' crashed while running 'linalg/tests/test_basic.py::TestLstsq::test_random_exact'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw4] win32 -- Python 3.10.13 %PREFIX%\python.exe
worker 'gw4' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[False-float32]'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw0] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw0' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[False-float64]'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw5] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw5' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[False-complex64]'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw7] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw7' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[True-float32]'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw8] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw8' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[True-float64]'
_____________________ sparse/linalg/tests/test_propack.py _____________________
[gw9] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw9' crashed while running 'sparse/linalg/tests/test_propack.py::test_examples[True-complex64]'
_________________________ spatial/tests/test_qhull.py _________________________
[gw2] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw2' crashed while running 'spatial/tests/test_qhull.py::TestUtilities::test_degenerate_barycentric_transforms'
_________________________ spatial/tests/test_qhull.py _________________________
[gw4] win32 -- Python 3.12.2 %PREFIX%\python.exe
worker 'gw4' crashed while running 'spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms'

propack tests I think it's easiest to xfail / ignore: propack should be out of the door in not-so-distant future. Hopefully.

internd & qhull crashes might be related, as CloughTocherInterpolator relies on QHull. qhull does link to lapack, so this might be OpenBLAS related, possibly.

lstsq is a bit mysterious , I've to admit.

There's also an einsum call in the qhull tests:
https://github.com/scipy/scipy/blob/main/scipy/spatial/tests/test_qhull.py#L299
All in all a stack trace is needed to debug these further. Ideally it'd be helpful to see which python call misbehaves. Note that some failing tests are marked slow, hence need  dev.py -m full -s spatial.

Some moderately positive news - as of SciPy 1.13 and OpenBLAS 0.3.27, the failures have been reduced to:
=========================== short test summary info ===========================
FAILED interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense
FAILED linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact
FAILED spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-float32]
= 4 failed, 61456 passed, 2453 skipped, 263 xfailed, 15 xpassed, 1 warning in 6117.55s (1:41:57) =

lstsq failures bring unpleasant memories :-).
This was problematic back when windows XP was a thing, is skipped ATM on MUSL, and is problematic under conda-forge. So something is fishy, somewhere. Let's try figuring it out.
The way the test is written is not very convenient for debugging (this code predates pytest). So how about the following plan:

apply the patch from https://github.com/ev-br/scipy/commit/66ff38dce50d80261cb19ac22e0cda3a15ac514d, rerun the test. The goal is to find out the segfaulting combination of the lapack function, the dtype and the problem size.
Cook up a C reproducer with the data from the test (https://scipy.github.io/devdocs/dev/contributor/debugging_linalg_issues.html#debugging-linalg-issues)

I can help with the latter but not with the former.
Note that the patch above changes the random stream. So it's technically possible that the failure disappears with the patch. If that's the case, it'd be ideal to see the backtrace. At least the lapack driver is essential, the rest can be simulated.

TestCloughTocher2D::test_dense and test_more_barycentric_transforms are very likely to have the same cause. There are too many moving parts though, to meaningfull troubleshoot ether of them without stepping through on a failing system.

Thanks a lot for the push forward here! I've added https://github.com/ev-br/scipy/commit/66ff38dce50d80261cb19ac22e0cda3a15ac514d to the latest run in https://github.com/conda-forge/scipy-feedstock/pull/273 - let's see what comes out! Getting a proper backtrace is a bit harder in CI, but if we limit it to just a handful of tests, we should be able to do it I reckon.

The best way to troubleshoot moving targets is to get a repeatable issue on either a Linux or macOS CI entry. THen one can use docker/tart to gradually tighten the radius around the problem. docker/tart allow one to reproduce the CI environment on a local computer.

Note that the patch above changes the random stream. So it's technically possible that the failure disappears with the patch.

I think this happened 😑
With the new test parametrization, there no failure in test_random_complex_exact anymore, but rather the following set:
FAILED interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense
FAILED spatial/tests/test_qhull.py::TestUtilities::test_degenerate_barycentric_transforms
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-complex64]
FAILED spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms

OK, meaning the lstsq crash is still there, just hiding better.
Could you try this patch instead then: https://github.com/ev-br/scipy/commit/ed192aa0c7e54d642fe2e986b3bc5ca24bd1061e ?

OK, meaning the lstsq crash is still there, just hiding better.

They're hiding pretty well it seems 😅
Now with https://github.com/ev-br/scipy/commit/ed192aa0c7e54d642fe2e986b3bc5ca24bd1061e (I dropped https://github.com/ev-br/scipy/commit/66ff38dce50d80261cb19ac22e0cda3a15ac514d because otherwise the former was conflicting):
=========================== short test summary info ===========================
FAILED interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense
FAILED spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-complex64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-complex128]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-float64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-complex64]
FAILED sparse/linalg/tests/test_propack.py::test_examples[True-complex128]
= 7 failed, 61500 passed, 2453 skipped, 263 xfailed, 15 xpassed, 1 warning in 6301.13s (1:45:01) =

resp.
=========================== short test summary info ===========================
FAILED interpolate/tests/test_interpnd.py::TestCloughTocher2DInterpolator::test_dense
FAILED spatial/tests/test_qhull.py::TestUtilities::test_degenerate_barycentric_transforms
FAILED sparse/linalg/tests/test_propack.py::test_examples[False-complex64]
FAILED spatial/tests/test_qhull.py::TestUtilities::test_more_barycentric_transforms
= 4 failed, 61503 passed, 2453 skipped, 263 xfailed, 15 xpassed, 1 warning in 5660.92s (1:34:20) =

That across 6 runs (3 with AVX2, 3 with AVX512) that didn't fully match w.r.t. produced errors; but none with anything in test_random_complex_exact


DioError extractor extracts wrong stacktrace

I have tested this change excessively over the last few days and the whole update from Sentry 6.x/Dio 4.x to Sentry 7.0/Dio 5.0 is a big step back regarding traceability of the DioError. This is in big part due to changes in dio which removed the whole source stacktrace. But due to the DioErrorExtractor there are now also cases where the inner stacktrace of DioError.error.stacktrace is completely missing in the event.
I think the DioError.stacktrace needs to be added by default, as it was the case in 6.x and only the inner cause error/stacktrace should be extracted via the DioErrorExtractor.
Something like:
class DioErrorExtractor extends ExceptionCauseExtractor<DioError> {
  @override
  ExceptionCause? cause(DioError error) {
    if (error.error == null) {
      return null;
    }
    return ExceptionCause(
      error.error,
      error.error is Error ? (error.error as Error).stackTrace : null,
    );
  }
}

Originally posted by @kuhnroyal in https://github.com/getsentry/sentry-dart/issues/1282#issuecomment-1462184777

@kuhnroyal PR incoming? 😄

Yea sure but I think we need to solve the dio problem first, otherwise the DioError.stackTrace is almost always null.

@denrase can you take a look?
If the stackTrace is null, we can check if error is an Error and use the https://api.dart.dev/stable/2.19.4/dart-core/Error/stackTrace.html as mentioned.
Sounds like the right thing to do.
What if stackTrace isn't null but error also has the error.stackTrace, which one has precedence? I believe the original stackTrace.

What if stackTrace isn't null but error also has the error.stackTrace, which one has precedence? I believe the original stackTrace.

From my understanding, the DioError. stackTrace should always be on the original error and has nothing to do with the cause being extracted here.

Here is an example, due to the current cause extraction the error is completely useless.
The stacktrace belongs to the original error which was extracted via SentryDioClientAdapter - the error simply has no cause.

I think we are missing the original stacktrace here https://github.com/getsentry/sentry-dart/blob/v7.0.0/dio/lib/src/failed_request_interceptor.dart#L42

Hacked up a basic idea that should solve this, didn't test it yet.

I think we are missing the original stacktrace here v7.0.0/dio/lib/src/failed_request_interceptor.dart#L42

In this case, the DioErrorExtractor will do it automatically, its a matter of fixing DioErrorExtractor.


fix: Avoid setVisibleOnAllWorkspaces from destroying the original visible state of app.dock

Due to this code change https://github.com/electron/electron/pull/37599/files , setVisibleOnAllWorkspaces(true) has changed its original logic, resulting in the reappearance of the already hidden dockIcon. This change avoids the occurrence of this phenomenon
The affected versions include 23.2.x 24.x.x

Thanks!


WMS ID: 5001 - changes for AnDOUC HOL

WMS ID: 5001
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[x] All filenames are lower case (including folders, images, files, etc.)
[x] Filenames are descriptive
[x] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[x] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[x] Image references in markdown contain an alternate text

[like]  Jayant Mahto reacted to your message:

From: Dan Wiliams @.>
Sent: Thursday, April 4, 2024 4:49:10 PM
To: oracle-livelabs/adb @.>
Cc: Jayant Mahto @.>; Author @.>
Subject: [External] : Re: [oracle-livelabs/adb] WMS ID: 5001 - changes for AnDOUC HOL (PR #302)
Merged #302https://urldefense.com/v3/__https://github.com/oracle-livelabs/adb/pull/302__;!!ACWV5N9M2RV99hQ!J69D5Lf7uEeUs0vHZax8Ct61bfy3Ws-GhG9oMoFKlr2spcuMhtDHhtVjU2nL1O3NPE2XC8CA-DcOafHo5QmPYxvPreg$ into main.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/oracle-livelabs/adb/pull/302*event-12361621687__;Iw!!ACWV5N9M2RV99hQ!J69D5Lf7uEeUs0vHZax8Ct61bfy3Ws-GhG9oMoFKlr2spcuMhtDHhtVjU2nL1O3NPE2XC8CA-DcOafHo5QmPp5YqkDc$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AP67INZ62NECTWW6YRXWK7TY3WAANAVCNFSM6AAAAABFXUKYWSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGM3DCNRSGE3DQNY__;!!ACWV5N9M2RV99hQ!J69D5Lf7uEeUs0vHZax8Ct61bfy3Ws-GhG9oMoFKlr2spcuMhtDHhtVjU2nL1O3NPE2XC8CA-DcOafHo5QmPk_kqUpY$.
You are receiving this because you authored the thread.Message ID: @.***>


RFCs to organize features

For example:
https://github.com/emberjs/rfcs/pull/4
This would be a better way to develop specs than using GH issues. Thoughts @revel/core ?

We need every RFC on earth..
we want everyone one reveling in a mad idea..
eg - can I use postgis with revel..
lets go for it us nutters,..
its 2015.. want more and faster and more dodgy and more updates till its safe..
But yes.. RFC..
my RFC.. How can i use smarty tempating ?

We need every RFC on earth..
we want everyone one reveling in a mad idea..
eg - can I use postgis with revel..
lets go for it us nutters,..
its 2015.. want more and faster and more dodgy and more updates till its safe..
But yes.. RFC..
my RFC.. How can i use smarty tempating ?

We also need to push features into develop faster.. we need to crash everyone..

We also need to push features into develop faster.. we need to crash everyone..

@pedromorgan you're insane. I think I like you.
@anonx we should start with new complex features. We already have some pretty massive conversations here on GH, for instance #458. We MUST force our contributors, code, feedback or otherwise, to be more strict with how their thoughts are organized. RFC's would provide a structure that we MUST have if Revel is to make consistent forward movement. I don't see RFC's being used ofr existing features anytime soon, though we could consider it after we reach v1.0.
Just a note that our crazy Welsh team member, @pedromorgan has made great improvement to the Revel website (pending PR) at revel/revel.github.io#43 which should address some of your concerns with better documentation. That said, we can definitely improve understanding of the lower level code details as well. I feel our efforts to better encapsulate and modularize the code base will help us immensely in that sense. That change alone will make our code base more mentally perceivable.
I have now added the RFC repo: https://github.com/revel/rfcs

@pedromorgan has made great improvement to the Revel website (pending PR) at revel/revel.github.io#43 which should address some of your concerns with better documentation.

@pedromorgan great great job. I had almost lost my faith in the fact that revel would have good docs some day. And you make me believe again :)

That said, we can definitely improve understanding of the lower level code details as well. I feel our efforts to better encapsulate and modularize the code base will help us immensely in that sense. That change alone will make our code base more mentally perceivable.

Agree.

Want to reopen issue to discuss one issue..
I think having a seperate Repos for RFC is not a good idea...
Simply because its not in the "revel" project itself, etc.. and imho we dont need a repo for RFC..
What I suggest as an alternative is to

add the contributor quideline and to file RFC as issues..
But we also ask for some preprep and some some arguments for and against..
This would then link to direct patches etc etc..

We also want to make it simpler for newbies, who want  an out of the box experience with revel, migratign from python, pdjango, flask, or play and everyother framework..
First question I had from an php designer was .. so the tempaltes is nice, but where do I redirect all .php to no .php or html ?? for example.... ??
So Inbuild RFC's would be cool..

but we need to stick than infor on the "website" == revel + manual etc..
we can even make a page in jekyll for listing issues with some js.. etc

But my feeling is we nule revel/rfcs and stick em here instead..
after reading this
https://github.com/blog/1939-how-github-uses-github-to-document-github

@pedromorgan, advantage of a separate repo over GH issue is that every RFC would be a refined description of feature X. And no matter how many people are working on the RFC, it will be kept short so any outsider can read it.
If you are using issues you would have to read a lot of comments without any structure to understand the idea and not miss any details. If only 1 person is working on an RFC, it may work, though. And yeah, it is easier for community members to contribute to the discussion in issues. How motivated they should be to pull request something to rfcs repo?

@pedromorgan people don't follow our guidelines as it is. We really need better structure. It takes a lot of mental effort (at least for me) to fully understand and issue and then move on to understand the issue again for countless issues. The RFC framework will, as @anonx said, will allow us to more clearly communicate needs and solutions.
Also, RFCs are only intended to be temporary ways to collect software requirements aka specifications. These will be used to code an implementation that solves the correct problem. RFCs are not intended to be documentation of how Revel works. The manual, godoc and code serve that purpose.


Update grpc-ra-tls docs

Description of the PR
Update grpc-ra-tls docs

How to test this PR?

Please update branch "branch0.1/grpc-ra-tls" to latest.
Add submit the PR based on the updated branch.


UEFI host and image matched

What would you like to be added:
UEFI baremetal host and image should matched when create baremetal server.

https://github.com/yunionio/cloudpods/pull/13174


DOC: plot stream-lines at milestone Reynolds numbers

(This was part of #172, accidentally automatically closed with #173.)

The plots should be at the nice round Reynolds numbers 150, 450, and 750, courtesy of the milestones in pacopy.natural, but they seem to be the old ones.

It refers to https://kinnala.github.io/scikit-fem-docs/examples/ex27.html.
Should docs/Makefile be modified to regenerate those figures required in docs/examples/*.rst?

I think running the examples during each Sphinx compile is not efficient.
Maybe we can add another option to Makefile which does just that. It'd be
nice to have such feature only for the missing images but maybe its hard to
get reverse mapping from png to py.
On Wed, 8 May 2019 at 3.08, Geordie McBain<EMAIL_ADDRESS>wrote:

(This was part of #172 https://github.com/kinnala/scikit-fem/issues/172,
accidentally automatically closed with #173
https://github.com/kinnala/scikit-fem/pull/173.)
The plots should be at the nice round Reynolds numbers 150, 450, and 750,
courtesy of the milestones in pacopy.natural, but they seem to be the old
ones.
It refers to https://kinnala.github.io/scikit-fem-docs/examples/ex27.html.
Should docs/Makefile be modified to regenerate those figures required in
docs/examples/*.rst?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kinnala/scikit-fem/issues/174, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHNTVHHUOHZ5C6UO3AWA63PUIKXFANCNFSM4HLNLLMQ
.

Yes, no, one wouldn't want to have to run the examples every time, only if the script had changed.
What about a rule for each required image, this rule being added explicitly to the Makefile?  Then all the images listed in a Make variable and the Sphinx job to depend on that image Make variable.   I'm not exactly sure how Sphinx works, but I've used Make-rules like that for papers.  I'll dig one out and sketch the idea.

Here's a snippet of an old Makefile:
FIGURES=geometry.eps bryan.eps ellipse.eps
%.eps: %.py
	python ${PYFLAGS} $<
%.eps: %.asy
	asy $<
%.pdf: %.dvi ${FIGURES}
	dvipdf $<

Here the last rule would be replaced by something appropriate to Sphinx and instead of the pattern-based rules for Asymptote and Python I expect it would be easier and clear just to have an explicit rule for each set of images, like
ex27-150.0-psi.png ex27-450.0-psi.png ex27-750.0-psi.png: ex27.py
    python $<

…except that the examples are in a subdirectory, so create a new Makefile in docs/examples with the explicit rules for the images and then call that recursively from docs/Makefile.
Then maybe we don't need a variable like ${FIGURES} above and can just have a .PHONY rule all in docs/example/Makefile that depends on all the figures.

Ugh, no, this isn't right:
ex27-150.0-psi.png ex27-450.0-psi.png ex27-750.0-psi.png: ex27.py
    python $<

That runs ex27 three times…

Get around that by only using a single target for each rule with an action and have subsequent targets depend on the first target:
ex20_velocity-vectors.png: ex20.py
	python $<
ex20_stream-lines.png: ex20_velocity-vectors.png
ex27-750.0-psi.png: ex27.py
	python $<
ex27-150.0-psi.png ex27-450.0-psi.png: ex27-750.0-psi.png

I'll try to update the docs during the weekend.

Looks good!  Thanks. https://kinnala.github.io/scikit-fem-docs/examples/ex27.html


Is there an onLastButtonPressed?

I'd only like to write the preference that it's first launch when the final button is pressed else I get permissions from other parts of the code popping up over the top of the intro which looks messy. Is there a suitable method for this? I've tried following the Splash and FinalActivity examples but I still run into the same issue as it writes the preference immediately after launching.

No there isn't a callback for this. This is due to the fade effect at the end of the intro.
If you want to store a preference only when the intro has finished correctly you could use startActivityForResult(). IntroActivity returns RESULT_OK only when it is finished correctly and will return RESULT_CANCELED otherwise.
Check the Android documentation for further information.

Cheers!


disable run_synchronously in Rails tests

This is my attempt to fix #214.
Fixes #214.

Closing as you indicated in #214 that the correct fix was to just delete this line.

The original intent was to enable synchronous job running in the test environment - I just flubbed and typed run_asynchronously instead of run_synchronously. Like I mentioned in #214 I don't feel like that's a best practice anymore, but I'm certainly open to other perspectives on it, if you think it'd be useful?
Either way, thanks for bringing it to my attention!


[docs] Fix usage of CssBaseline/Reboot in the CDN example

@SebastianSchmidt Good catch! I have used the *.js when doing the search and replace 🙈 .


CITYOBJECT_ID vs ROOT_ID in the surface_geometry table

Hi there,
I am wondering what is the correct value to put in the CITYOBJECT_ID column of the surface_geometry table, as I am a bit confused after reading the doc.
Let's say I have the following data (with their corresponding cityobject_id):

buildingA (id=1)
roofSurface (id=2)
wallSurface (id=3)
groundSurface (id=4)

With object 1 carrying no (solid) geometry, objects 2 to 4 composed of several polygons each and their aggregation representing buildingA.
What is the right way to store their info in the surface_geometry table, to retreive all the polygons representing buildingA efficiently:
Option 1 - give to all of them the same ROOT_ID (even if buildingA has no solid representation) and put the corresponding CITYOBJECT_ID of each?
Option2 - Store only objects 2 to 4 in the table, and give to all of their corresponding polygons the CITYOBJECT_ID of buildingA?
Option2 - either way?

Well, neither option 1 nor option 2.
You should store the individual gml:MultiSurface geometries of each boundary surface (bldg:RoofSurface, bldg:WallSurface and bldg:GroundSurface) as separate geometry hierarchies in SURFACE_GEOMETRY with each hierarchy having its own ROOT_ID. The CITYOBJECT_ID of each hierarchy references the boundary surface for which it is defined. So, in THEMATIC_SURFACE you reference the ROOT_ID of the corresonding geometry hierarchy for every boundary surface (e.g., using the LOD2_MULTI_SURAFCE_ID column), and the geometry hierarchy points back to the corresponding tuple in THEMATIC_SURFACE using the CITYOBJECT_ID.
The representation is thus like in the CityGML dataset: the geometries are associated with those features for which they are modelled.
If you also want a geometry for the building, then you can add a separate volume geometry in SURFACE_GEOMETRY whose ROOT_ID is referenced from the BUILDING table (e.g., using the LOD2_SOLID_ID column) and which points back to the tuple in BUILDING with its CITYOBJECT_ID. The polygons making up the volume would be copies of the polygons of the boundary surfaces. This is required because they cannot share the same ROOT_ID hierarchy.
In CityGML, the polygons are likewise reused by using XLink references from the building solid geometry to the polygons of the individual boundary surfaces (see CityGML specification and some example datasets at http://schemas.opengis.net/citygml/examples/2.0/building/).
My recommendation is to create simple example datasets and to use the Importer/Exporter tool to load them into the database. Then you can check how the tables have been populated and how the feature tables are linked with SURFACE_GEOMETRY. The Importer/Exporter tool is our reference implementation for the 3DCityDB.
Hope this helps.

In fact, I have done that: import a small dataset using the Importer/Exporter and analyse the tables created.
What I missed was the BUILDING_ID in the THEMATIC_SURFACE table. It is the one that solves my problem in fact, as it allows to retrieve all the boundary surfaces making up a building. There is therefore no need to add the building in the SURFACE_GEOMETRY table unless it has a solid representation. It all makes sense now.
Thank you very much for this detailed answer.