Create yanaifei.tv.js

Need cookie to bypass cloudfare.You caan fill the blank in the extension settings.

Is this really good Idea? Because a normal user which occupies majority don't even know what is cookies let alone full them manually. @MiaoMint @appdevelpo

Is this really good Idea? Because a normal user which occupies majority don't even know what is cookies let alone full them manually. @MiaoMint @appdevelpo

Currently, the software can not get Cloudflare cookie is a bug, can only be fixed by updating the

I have an idea that separate an special area from normal extension. Is it plausible?

I have an idea that separate an special area from normal extension. Is it plausible?

Can you do like this add 1 cookie by default and let user Change if that cookies expires?

I have an idea that separate an special area from normal extension. Is it plausible?

I plan to add a multi-repository feature afterwards

I have an idea that separate an special area from normal extension. Is it plausible?

I plan to add a multi-repository feature afterwards

Yes please categories the extension in GitHub repo also like create a folder video in which all video extensions are and so on.

I have an idea that separate an special area from normal extension. Is it plausible?

Can you do like this add 1 cookie by default and let user Change if that cookies expires? Even if we get a seperate area for it it's not gonna work because majority of users doesn't matter which app have no idea what is cookies.

I'll do it later

finished.But I'm still don't understand their cloudfare blocking rule

or I should end this pr

finished.But I'm still don't understand their cloudfare blocking rule

Meaning?

eventhough  I enter the cookie, after a while I got 403 on miru but the site didn't ask me to verify again

ok I'll just stop this pr. I decide to ignore this extension  for a while.


update version of wasmbus-rpc in example

Bumpity bump

@brooksmtownsend I think I'm confused. I don't see fakepay in project-templates (just examples), and figured users could follow these copy-paste instructions to use wasmbus-rpc v0.13 without having the example released. Happy to wait though, since the updates to the examples repo is here: https://github.com/wasmCloud/examples/pull/202


Verilog AXI read queue for first word fall through fifo.

The current implementation of verilog axi interface does not function correctly for a FWFT fifo.
If csr_data_fifo_rvalid_ff is held high by a fifo (such as with FWFT), there is a cycle mismatch which results in rdata register read a cycle early.

Snippet of regmap json file:
       {
            "name": "DATA",
            "description": "Data register",
            "bitfields": [
                {
                    "name": "FIFO",
                    "description": "Write to push value to TX FIFO, read to get data from RX FIFO",
                    "reset": 0,
                    "width": 32,
                    "lsb": 0,
                    "access": "rw",
                    "hardware": "q",
                    "enums": []
                }
            ]
        },

Generated code
reg [63:0] rdata_ff;
always @(posedge clk) begin
    if (rst) begin
        rdata_ff <= 64'h0;
    end else if (ren) begin
        case (raddr)
            40'h0: rdata_ff <= csr_id_rdata;
            40'h8: rdata_ff <= csr_data_rdata;
            40'h10: rdata_ff <= csr_stat_rdata;
            40'h18: rdata_ff <= csr_ctrl_rdata;
            default: rdata_ff <= 64'h0;
        endcase
    end else begin
        rdata_ff <= 64'h0;
    end
end
assign rdata = rdata_ff;

//------------------------------------------------------------------------------
// Read data valid
//------------------------------------------------------------------------------
reg rvalid_ff;
always @(posedge clk) begin
    if (rst) begin
        rvalid_ff <= 1'b0;
    end else if (ren && rvalid) begin
        rvalid_ff <= 1'b0;
    end else if (ren) begin
        rvalid_ff <= 1'b1;
    end
end

reg rvalid_drv;
always @(*) begin
    if (csr_data_ren)
        rvalid_drv = csr_data_fifo_rvalid_ff;
    else
        rvalid_drv = rvalid_ff;
end

assign rvalid = rvalid_drv;

It should be made clear if fifo with FWFT is supported or not. Perhaps a read latency field could be added to the reg map? In cases such as FWFT it would be 0. In HW it doesn't make sense to generate something to support both cases even if the resources are pretty negligible.

Hello. Thanks for your research regarding the bug. Actually, the problem is not in the AXILite interface, but with the registers block. I will add the test to the registers testbench and will try to fix the behavior

@stridge-cruxml I have done some fixes. Opened PR-19
Check it please if you will have a chance.
FYI now interface to FWFT FIFO still uses extra registers just for the compatibility. Refactoring will done in the future.


Cannot find entry point?

Search terms
entry point
angular package format
angular
Question
I have two projects using the Angular package format and I just upgraded both of them, so they should be essentially the same.
I have added skipLibCheck to both.  This project now generates the docs fine:
https://github.com/fireflysemantics/is
The d script in package.json is used to generate the docs.
However this project produces this error:

Warning: Unable to locate entry point: /Users/oleersoy/Github/validatorts/projects/fs-validatorts/src/lib
Error: Unable to find any entry points. Make sure TypeDoc can find your tsconfig

Any ideas?

#1719, #1721, #1705


How could you access the second item, ‘Lion’, in the following code block?

How could you access the second item, ‘Lion’, in the following code block?
const animalArray = ['Sloth', 'Lion', 'Chipmunk'];

A. animalArray['Lion'];
B. animalArray[2]
C. animalArray[1]

I chose C. animalArray[1]


Wrong static class property value

Describe the bug
When setting static prtoperty value,i expect to get same value in the worker
To Reproduce
Steps to reproduce the behavior:

Create classes:

public static class ConfigApp
{
    public static string DateFormat {get; set;} ="DefaultFormat";
}

public interface IService
{
    string LogConfigAppState();
}

public class Service:IService
{
    public  string LogConfigAppState()
    {
      Console.WriteLine(ConfigApp.DateFormat);
      return ConfigApp.DateFormat;
    }
}

in any page when button clicked event code:

private Task OnClick()
{
  ConfigApp.DateFormat ="Modified"; // <== Change value of the static class member
  if (webWorker == null) webWorker = await webWorkerService.GetWebWorker() ?? throw new ArgumentNullException(nameof(webWorker));
  var service= webWorker.GetService<IService>();
  ...
  var result = service.LogConfigAppState(); //<== here excpected "Modified" actual is "DefaultFormat"
}

Expected behavior
Result of service.LogConfigAppState excpected to be "Modified" but actual result is "DefaultFormat"

static variables are not shared between scopes, such as a WebWorker and a Window. They are essentially running as separate processes that use postMessage for inter process communication, not separate threads.... which would share static variables.

It looks like just quick example code, but your example code is trying to use an interface proxy (acquired via var service= webWorker.GetService<IService>();) with synchronous properties and methods which it does not support. More info here: Supported Instance To Instance Calling Conventions.
To access properties and synchronous methods you can use the WebWorker Run method.
The below example sets your static property in the worker and then calls your synchronous method in the worker, returning the string value.
private async Task OnClick()
{
  if (webWorker == null) webWorker = await webWorkerService.GetWebWorker() ?? throw new ArgumentNullException(nameof(webWorker));
  ...
  await webWorker.Run(() => ConfigApp.DateFormat ="Modified"); // <== Change value of the static class member in the worker
  var result = await webWorker.Run<IService, string>((service) =>  service.LogConfigAppState()); //<== here is "DefaultFormat"
}

Thanks for the response
I tried "lock statement"  to solve the problem, thinking that main thread and the worker would compete for same static resource
public static class ConfigApp
{
    private static object _locker = new();
    private static string _dateFormat = "DefaultFormat";

    public static string DateFormat
    {
        get
        {
            lock (_locker)
            {
            return _dateFormat;
            }
        }
        set
        {
            lock (_locker)
            {
                _dateFormat = value;
            }
        }
    }
}

without a positive result
But the :
 await webWorker.Set(() => ConfigApp.DateFormat, "Modified");
solved the problem
Thank you again

lol I assume you reopened the issue in case I didn't want it closed. I'll close it now under that assumption. I don't mind if users close there own issues. Feel to reopen if needed.


Change default tmpnb server to a working one.

So that the examples may work out of the box.

Those servers do not work anymore.


Datafetchers as completable futures don't run in parallel

Discussed in https://github.com/Netflix/dgs-framework/discussions/509

Originally posted by prograhammer August  2, 2021
I created two simple datafetchers as completable futures but they don't run in parallel. What am I missing here?
Simple schema:

Users DataFetcher:

Products DataFetcher:

They don't run in parallel:

I could create the futures and join them within a single datafetcher but that defeats the nice annotation ability of DGS right? It is because one is Query and the other is an Object Type (on different levels, so-to-speak)?
I've also tried passing in an executor as @paulbakker suggested (although I may need an example of how this is done to ensure I'm not wrong):
  @Autowired
  private ExecutorService executorService;

  @DgsData(parentType = "Query", field = "users")
  public CompletableFuture<List<User>> getUsers(DataFetchingEnvironment dfe) {

    String userId = dfe.getArgument("userId");

    return CompletableFuture.supplyAsync(() -> {
      try {
          System.out.println("User task execution started.");
          Thread.sleep(5000);
          System.out.println("User task execution stopped.");
      } catch (Exception e) {
          e.printStackTrace();
      }
      return users;
    }, executorService.getExecutor());

It took me a minute to figure out what's going on. The problem comes from the relation between User and Product. Because products is a field of User, it first needs to resolve the parent (User in this case) before it can continue to resolve subfields.
Imagine for example that your products datafetcher would use the getSource method to get its parent (the User). That wouldn't work if User wasn't resolved yet.
If products and user were two unrelated fields on Query, your code would work. I also found that my suggestion about using an Executor isn't actually required.
We have a simple test in the example embedded in the framework's repository that demonstrates this: https://github.com/Netflix/dgs-framework/blob/master/graphql-dgs-example-shared/src/test/java/com/netflix/graphql/dgs/example/shared/ConcurrentDataFetcherTest.java
Of course, that doesn't answer the question how you could make such a scenario parallel. I think the best option is a "look ahead" data fetcher as described here: https://netflix.github.io/dgs/advanced/context-passing/#pre-loading.
I'm closing this issue because I don't think it's further actionable, but feel free to ask more questions.

Hi @paulbakker , yeah that's what I was thinking. Thank you so much for confirming my suspicion. Makes sense.
I actually ended up doing this to try to get something parallel going:

(I'm just playing with DGS to see what it can do). But now I'll look at some of those other suggestions you linked to (assuming I find myself in this situation in my real application I plan to work on later).
Thanks!


[Build 1.7] - App crashes when Coming back from foreground.

Seen a couple instances where after backgrounding and foregrounding the app, it will crash.
This noteably happened in the following scneario but unable to reliably reproduce.
Steps:

Launch the app
Tap on the Settings icon
Tap on Voice
Tap on Personal Voices
Top on the Open Settings button.
Background the settings screen.
Tap on the Vocable icon.

Some notes from @Clstroud: The crash is related to the audio engine running into some threading issues after our first attempt to move it to Swift Structured Concurrency

Know of any other ways to induce this crash?  I haven't been able to get it to crash when following the above steps yet.

Know of any other ways to induce this crash? I haven't been able to get it to crash when following the above steps yet.

@gplocke - Not reliably, but doing those steps multiple times did cause a crash more often than not.  I dont think the navigation matters, its really more so the background and foreground but unsure of the timing of events.


HDDS-5535. SCM-HA documents configuration error

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Thanks for fixing this @zhuxiangyi. Changes look good to me. Don't forget to update the pull request description template, even for small changes like this it helps us organize : ) You can also assign the task to yourself on Jira.

The CI failure is fixed in the current version of master. Master also recently added changes that will skip most of the CI checks for documentation changes like this. If you merge master into this pull request and push again you should get a green build in just a few minutes!

@errose28 Thanks for your comment, I pushed again.


add threejs-editor and dependencies

Is it possible that some files are missing?


fix(dependabot): not vendored

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Single result queries

To run integration tests...

comment out everything in the setup target in build.xml
(optional) update Constants and TestConstants, setting DEFAULT_REQUEST_UNIT = "400"
update src/test/application.properties, set
cosmosdb.database=testdb-<username> (this is optional but if not set, will result in a new database + set of collections being created on every test run (so $$$).
cosmosdb.uri=<...> - i use https://common-cosmos.documents.azure.com:443/
cosmosdb.key=<...> found in the portal
cosmosdb.connection-string=<..>  you shouldn't need both the uri and key but at least at one point, some things used one and some another

mvn -P integration-test-azure clean verify

@blackbaud/java-internal-tooling FYI

LGTM, closing and raising same changes in the Microsoft lib.


add UNHANGOUT_HANGOUT_URLS_WARNING config option, make warning dialog work

i noticed there was an unused warning dialog in event.ejs for a low number of farmed hangout URLs.
having this warning when the number of farmed hangouts drops below a specified number is a handy feature for our site, so i went ahead and got it working.
i figured that some installs might not want it at all, and some might want the warning thrown at differing numbers of available farmed hangouts, and the UNHANGOUT_HANGOUT_URLS_WARNING config option provides for those use cases.

For the record: I'm not a fan of what we're doing with setting global state vars in templates (e.g. IS_ADMIN, IS_SUPERUSER, and now NUM_HANGOUT_URLS*).  It'd require a more significant refactor to not do this at the moment... but something I'd like to keep thinking about.

I agree, I don't like it, either -- and, I also agree that it will require a deeper redesign, so thanks for merging this in the meantime. :)


🐛 Bug Report: Unable to clone code repository: fatal: '0.1.*' is not a valid branch name when creating new function

👟 Reproduction steps
Create a new account then add a new function.
👍 Expected behavior
Should successfully build the function.
👎 Actual Behavior
Build failed with:
Unable to clone code repository: fatal: '0.1.*' is not a valid branch name. If you redeploy, error changes to Docker Error: Preparing for build ... cp: can't stat '/mnt/code/*': No such file or directory

🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

This should be resolved now.


video ads shown despite option to not show em being on

https://www.youtube.com/watch?v=0n5RTCh0vT4
autoplayed from previous video and saw a video add for some seconds before I could click "skip it", then in next video (https://www.youtube.com/watch?v=-mcb8Ysf-NQ) I saw a banner add.

was playing in fullscrean, exiting it flickers a page for a while then gets rid of ads,
here's the debug log: https://gist.github.com/04d4653e81479e3b07a2
youtube center beta (latest, just downloaded)

From what I could see, YTC is simply not able to block ads during fullscreen due to the way the players fetch the new information from the server without changing pages (the flash player uses its own internal coms, the html5 uses a different method).


Description of OVERLOADS GetItemQueryIterator is same

I see that the descriptions of the  GetItemQueryIterator overload methods are same. I am not sure if that is correct, because the first overloaded method
GetItemQueryIterator<T>(String, String, QueryRequestOptions)
is expecting a queryText as first parameter, not a QueryDefinition.

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

ID: f022e1c2-c13f-e4ff-a5c9-932b5dc412c0
Version Independent ID: f0b87c16-a3a2-61a0-2c45-f320ddc2a8ca
Content: Container.GetItemQueryIterator Method (Microsoft.Azure.Cosmos) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Cosmos/Container.xml
Service: cosmos-db
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@raihantaher Thanks for the feedback! You are right about the description being the same and the one expecting a queryText doesn't accept parameters. We will work with the concerning team to get this addressed.


Release 3.5.1rc1

Coverage remained the same at 77.757% when pulling c65a6da4d05479ea842769ca86ff71acddbc6198 on czpython:release/3.5.1rc1 into 65a3127894d34b2e5377b2f2a358a9b4160aea0e on divio:develop.


React native clean install version mismatch

Source of error
The react native version results in ETARGET error, even when doing a clean install.
To Reproduce
npx -p @storybook/cli sb init

• Detecting project type. ✓
• Adding storybook support to your "React Native" appls: no such file or directory: ios/*.xcodeproj ✓
• Preparing to install dependencies. ✓

npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/A/.npm/_logs/2019-03-18T21_02_29_600Z-debug.log

 • Installing dependencies. ✖

     An error occurred while installing dependencies.

Expected behavior
A clean install
System:

OS: MacOS 10.14

dupe to https://github.com/storybooks/storybook/issues/5893


Unable to download the server image. "Failed to locate data-platform element"

I am getting the following when I run docker-compose up on the synology. I'd appreciate some guidance on this.
pagu@Vault:/volume1/docker/minecraft$ sudo docker-compose up
Starting minecraft_bds_1 ... done
Attaching to minecraft_bds_1
bds_1  | DEBU[0000] Using /data to match uid and gid
bds_1  | DEBU[0000] Resolved UID=0 from match path
bds_1  | DEBU[0000] Resolved GID=0 from match path
bds_1  | Looking up latest version...
bds_1  | Failed to extract download URL 'Failed to locate data-platform element' from https://www.minecraft.net/en-us/download/server/bedrock
bds_1  | 2021/12/01 04:22:11 Failed to load content: Failed to retrieve response: Get "https://www.minecraft.net/en-us/download/server/bedrock": dial tcp: lookup www.minecraft.net on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:39133-><IP_ADDRESS>:53: i/o timeout
minecraft_bds_1 exited with code 2
pagu@Vault:/volume1/docker/minecraft$

Since it mentions a UDP failure to port 53, there seems to be a DNS issue in or nearby your network. It could even be the docker daemon 's DNS config on the host.

I have exactly the same problem. MacOS Big Sur.


Redis::CommandError: CROSSSLOT Keys in request don't hash to the same slot

I've started redis in cluster mode, how can I solve this error:
15:23:26 worker.1       | 2016-02-24T15:23:26.791Z 12 TID-graslf3r8 INFO: [Sidetiq] Enqueue: MinutelyStats (at:<PHONE_NUMBER>.0) (last:<PHONE_NUMBER>.0)
15:23:26 worker.1       | 2016-02-24T15:23:26.791Z 12 TID-graslf3r8 WARN: {:context=>"Sidetiq::Handler#enqueue"}
15:23:26 worker.1       | 2016-02-24T15:23:26.792Z 12 TID-graslf3r8 WARN: Redis::CommandError: CROSSSLOT Keys in request don't hash to the same slot
15:23:26 worker.1       | 2016-02-24T15:23:26.793Z 12 TID-graslf3r8 WARN: /usr/local/bundle/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
15:23:26 worker.1       | /usr/local/bundle/gems/redis-3.2.2/lib/redis.rb:768:in `block in mset'
15:23:26 worker.1       | /usr/local/bundle/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
15:23:26 worker.1       | /usr/local/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
15:23:26 worker.1       | /usr/local/bundle/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
15:23:26 worker.1       | /usr/local/bundle/gems/redis-3.2.2/lib/redis.rb:767:in `mset'
15:23:26 worker.1       | /usr/local/bundle/gems/sidetiq-0.7.0/lib/sidetiq/handler.rb:38:in `enqueue'
15:23:26 worker.1       | /usr/local/bundle/gems/sidetiq-0.7.0/lib/sidetiq/handler.rb:21:in `block in dispatch'
15:23:26 worker.1       | /usr/local/bundle/gems/sidetiq-0.7.0/lib/sidetiq/lock/redis.rb:29:in `block in synchronize'
15:23:26 worker.1       | /usr/local/bundle/gems/sidekiq-4.0.2/lib/sidekiq.rb:84:in `block in redis'
15:23:26 worker.1       | /usr/local/bundle/gems/connection_pool-2.2.0/lib/connection_pool.rb:64:in `block (2 levels) in with'
15:23:26 worker.1       | /usr/local/bundle/gems/connection_pool-2.2.0/lib/connection_pool.rb:63:in `handle_interrupt'
15:23:26 worker.1       | /usr/local/bundle/gems/connection_pool-2.2.0/lib/connection_pool.rb:63:in `block in with'
15:23:26 worker.1       | /usr/local/bundle/gems/connection_pool-2.2.0/lib/connection_pool.rb:60:in `handle_interrupt'
15:23:26 worker.1       | /usr/local/bundle/gems/connection_pool-2.2.0/lib/connection_pool.rb:60:in `with'
15:23:26 worker.1       | /usr/local/bundle/gems/sidekiq-4.0.2/lib/sidekiq.rb:81:in `redis'
15:23:26 worker.1       | /usr/local/bundle/gems/sidetiq-0.7.0/lib/sidetiq/lock/redis.rb:22:in `synchronize'
15:23:26 worker.1       | /usr/local/bundle/gems/sidetiq-0.7.0/lib/sidetiq/handler.rb:13:in `dispatch'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
15:23:26 worker.1       | /usr/local/bundle/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'

The code is:
class MinutelyStats

  include Sidekiq::Worker
  include Sidetiq::Schedulable
  sidekiq_options queue: 'stats'

  recurrence do
    # Schedule tasks to execute every minute
    minutely
  end

  def perform(last_occurrence, current_occurrence)
   # do something
  end
end

I don't use Sidetiq (and Sidekiq) personally anymore. If you find a way to get Sidetiq working on Redis clusters feel free to open a pull request.


Generating Sentence Quality

I used basic_usage.py to convert LLamA7B and Vicuna13B, is it normal that the effect of direct inference is poor?

As the warning in here says, basic_usage.py uses only one sample to show case the basic usage of auto_gptq, if you want the quantized model close enough to origin model, you can try quantize_with_alpaca.py or customized your logic based on it.

@PanQiWei Thanks your response, but when I run the quantize_with_alpaca.py will prompt me the 'Dataset object has no attribute to_list' error on line 67. Is this a problem with my environment, or something else? By the way, in the README of installation, you misspelled 'install'.

By the way, in the README of installation, you misspelled 'install'.

Thank you for point out the typo in README ❤

'Dataset object has no attribute to_list' error on line 67.
This is relevant to datasets version, I would recommand you to install the up-to-date one.


all popups and dialogs are outside shadow dom

if jodit is initialized inside shadow dom the editor itself is inside  shadow dom which is expected behaviour, but all dialogs and popups create by editor are outside, which requires adding jodit css to window, which is agains idea of using shadow dom.
Even if move back to shadow dom by changing code :
         ```
       const box = c.element(tag, {
                        className: `jodit jodit-${(0,_helpers___WEBPACK_IMPORTED_MODULE_2__.kebabCase)(name)}-container jodit-box`
                    });
                    box.classList.add(`jodit_theme_${view.o.theme || 'default'}`);
                    //body.appendChild(box);
                   // change to ::
                    shadowrootelement.appendChild(box);

this solves the css problem but then clicking anywhere even inside or outside popup, close this popup(should close only on outside click). So it could be solved something like :

closeOnOutsideClick(e) {
                       if (!this.isOpened) {
                           return;
                       }
                       if (!e.target) {
                           this.close();
                           return;
                       }
                       const box = ui_element/* UIElement.closestElement */.u.closestElement(e.target, Popup);
                       if (box && (this === box || box.closest(this))) {
                           return;
                       }
                       //this is fix for shadow dom
                       let haspopupinshadow = false;
                       e.composedPath().forEach((el)=>{if(el.classList && el.classList.contains('jodit-popup-container')) haspopupinshadow=true;})
                       if(haspopupinshadow) return;

                       this.close();
                   }

//The same problem for editing table cells menu.

Ok this is kind of fixed, but not all.  All popups are is shadow dom but still 2 problems :

click button image upload, then the popup is ok, but then clicking on this popup closes it, instead of making click action.
if you create a table, there is no edit actions for table rows(little menu popup)
i havent test it  in your fix, but there could be problem , when you insert image, then on edit it (click pensil on popup image menu), there should be another popup, which should be in shadow dom as well.

Ok this is kind of fixed, but not all. All popups are is shadow dom but still 2 problems :
click button image upload, then the popup is ok, but then clicking on this popup closes it, instead of making click action.
if you create a table, there is no edit actions for table rows(little menu popup)
(3)(maybe) i havent test it in your fix, but there could be problem , when you insert image, then on edit it (click pensil on popup image menu), there should be another popup, which should be in shadow dom as well.


tests: fix expired CA cert in integration tests

Codecov Report

Merging #646 (855da87) into main (82ce47d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #646   +/-   ##
=======================================
  Coverage   45.61%   45.61%
=======================================
  Files          74       74
  Lines        8536     8536
=======================================
  Hits         3894     3894
  Misses       4283     4283
  Partials      359      359

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 82ce47d...855da87. Read the comment docs.


Dexter Model Generation

Hi there, this is a follow up to a previous PR that I submitted to json-wikipedia which added portuguese locale support. It seems that I sucessfully generated the portuguese json version of wikipedia. As far as I understand, one would use that to generate the dexter models. However, I can't find anywhere in the docs how to do so. Is there a command in dexter that is able to do that ?

Hi @tgalery  have a look to this file:
https://github.com/dexter/dexter/blob/master/dexter-core/doc/steps-to-use-dexter.txt
ps. we are currently in the process of rewriting the model-generation and other think in order to make the model generation faster and easies to personalize, if you send me your email address I would be happy to share with you the planning document.

Cheers @diegoceccarelli, sorry for missing the docs folder. Rokie mistake. my email is my github nickname @gmail.com.

Just a heads up, after tweaking the config.sh script and running the second script ./scripts/create-label2id-file.sh I got this:
Caused by: it.cnr.isti.hpc.mapdb.MapDBException: file /data/diego/model20130403/mapdb exists but it is not a directory
	at it.cnr.isti.hpc.mapdb.MapDB.openDb(MapDB.java:120)
	at it.cnr.isti.hpc.mapdb.MapDB.<init>(MapDB.java:62)
	at it.cnr.isti.hpc.mapdb.MapDB.getDb(MapDB.java:144)
	at it.cnr.isti.hpc.dexter.label.mapdb.MapDBInstance.getInstance(MapDBInstance.java:42)
	at it.cnr.isti.hpc.dexter.label.mapdb.MapDBLabelToId.<init>(MapDBLabelToId.java:51)
	at it.cnr.isti.hpc.dexter.label.mapdb.MapDBLabelToId.getInstance(MapDBLabelToId.java:59)
	at it.cnr.isti.hpc.dexter.label.IdHelperFactory.getLabelToIdWriter(IdHelperFactory.java:66)
	at it.cnr.isti.hpc.dexter.label.IdHelperFactory.getStdLabelToIdWriter(IdHelperFactory.java:88)
	at it.cnr.isti.hpc.dexter.cli.label.IndexLabelToIdCLI.<clinit>(IndexLabelToIdCLI.java:45)```

it seems that the path are harcoded into the `dexter-conf.xml` file. I subsequently added a `pt` entry there, but it seems that the class reads from the default entry. I might just put a path there and see what happens.

putting an existing path into the default model in dexter-conf kind of worked for me. However when I ran scripts/generate-spots.sh I got many errors of the form
2015-08-13 21:23:49,738 51545 [main] INFO  it.cnr.isti.hpc.dexter.cli.spot.ExtractSpotsCLI - cannot find id for label Jo?o_Carlos_Batista

It looks like there's an encoding issue for the titles.

Yeah you have to change the dexter-conf file with your files. The 'error' that you detect, i think is an error in wikipedia, some that edited the wikitext with a weird encoding, the cli is just telling you that it cannot find an article with that title (look if something similar exists in the dump, it could be also a 'red-link')

Ahh ok then, I just asked that because you mentioned that there could be some problems with logic that reads the uri from the dump (e.g. if the link were João_Carlos_Batista, dexter could find an id for it).

Umm, the problem with the logic could be due to the locale, you should check if ''João_Carlos_Batista'' is a correct wikititle (so if in the json dump there's a record with type ARTICLE, and wikiname =  ''João_Carlos_Batista'' ) if yes, it could be a problem to investigate, or it could be that in that case the wiki-id for ''João_Carlos_Batista'' is misspelled and does not match any wikiname in wikipedia.

Cool, I will check that and give a shout here. If I can't find anything wrong in the dump, I will close this issue.

I have build the model for german and I too think there is an issue with encoding and internationalization.
I have found one class,  Spot.java, which is using US-ASCII for en/decoding in two methods, toByteArray and fromByteArray.
When I annotate with Dexter, the annotations contains mentions like fur when text mentions für. German Umlaute disappear in the annotations.

@rschwab68  Yes, that was a design decision for semplifing things. Text is lossy transformed in ascii, so that für becames fur. It simplified the design and improved the recall, since (at least in Italy) people use to write non-ascii words in their ascii format (or they use the wrong letter e.g., è instead of é). Search engines also use the same strategy usually.
Unfortunately at the moment dexter does not support  utf8. We're working on a new version that will provide this feature, together with impressive indexing and processing speed and other small things :) stay tuned :)

Hi, now I'm trying to build the wiki model for the wiki dump - "enwiki-20151201-pages-articles.xml.bz2 "
I have two problem what to ask

After I run the create-label2id-file.sh, it create a tsy file : "title-redirect-id.tsv" .
But I find the file size is zero, and its content is empty. Is that a correct or normal situation?

If the first one is correct, When I run the generate-spots.sh . It show the  exception as below picture:

I have tried to find the similar problem on stackoverflow or searching on Google, but I still don't have any idea about how to fix it. ~"~
Can you give me some suggestions or solutions?
Thank you ~

Hi @TroisLiu, please check that the data folder here: https://github.com/dexter/dexter/blob/master/dexter-core/scripts/config-example.sh#L23 and the one here: https://github.com/dexter/dexter/blob/master/dexter-core/dexter-conf.xml#L8 have the same path, and then restart from the beginning all the steps. I apologize for all these steps, we are going to solve this problem in dexter 3.0 :grinning:
Let me know if it solved!

Hi @diegoceccarelli ,
I have already changed these two path at the beginning, but still has the problem. ~"~

feel free to contact me on skype, and we can troubleshot the problem
together :) diego.ceccarelli
On Sun, Dec 27, 2015 at 4:07 PM, Troisliu<EMAIL_ADDRESS>wrote:

Hi @diegoceccarelli https://github.com/diegoceccarelli ,
I have already changed these two path at the beginning, but still has the
problem. ~"~
—
Reply to this email directly or view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-167419381.

Ok, I will contact you.  Thanks your help  : )
I think maybe I should write down the steps what I have done to let you check easily.
Step 1.
1.1 Downloaded the enwiki dump from the wiki dump website:
I download this version "enwiki-20151201-pages-articles.xml.bz2" : https://dumps.wikimedia.org/enwiki/20151201/enwiki-20151201-pages-articles.xml.bz2
1.2 Downloaded the json-wikipedia from @diegoceccarelli 's github
and follow the tips to generate the jar file : "json-wikipedia-1.0.0-jar-with-dependencies.jar".
Then I use the jar file to convert the enwiki-dump to the json file :  "enwiki-latest-pages-articles.json"
Step 2.
2.0 Downloaded the dexter-master from this github
and generate the jarfile : "dexter-core-2.1.0-jar-with-dependencies.jar"
2.1. Change the values of variable in delowdexter-core\scripts\config.sh  :
line 3 : VERSION = "2.1.0"
line 23 : DATA_DIR = en-model-20151201
line 34 : WIKI_JSON_DUMP= enwiki-latest-pages-articles.json
2.2 Then set the path in the  dexter-conf.xml
line 8 :  en-model-20151201
Step 3. run the scripts\create-label2id-file.sh
It generated the en-model-20151201 folder, which contain 2 folders and 1 file:
tmp folder  : which is empty folder
mapdb folder : contain 2 files : mapdb.db (65KB) & mapdb.db.p(13KB)
title-redirect-id.tsv file : which size is 0
Step 4.  run scripts\index-dump-with-lucene.sh
This step create the en-model-20151201\lucene folder and lots of files
Step 5. run scripts\generate-spots.sh
Exception happened in this step @~@
java.io.IOException: storage has invalid header (The screenshot is the above comment )

I have the same issue of @tgalery, giving me:
2015-08-13 21:23:49,738 51545 [main] INFO  it.cnr.isti.hpc.dexter.cli.spot.ExtractSpotsCLI - cannot find id for label Jo?o_Carlos_Batista
I've checked the wikipedia json dump and the  label2id file, and they are correct. The accents are displayed correctly.

@brunoalano are you sure that the particular label in the article is not misspelled? since wikinames are manually added by the editors sometimes they copy and paste from other editors using different encodings. could you try to  use the api and search for the wikiname?

hi,when I run scripts\generate-spots.sh. but it show that " can not find for **".I want to genarat data model which support chinese.

hi ,I want to build data model for chinese. I didn't get right result .I think I have made some mistake.But   I have run every steps  and succed.

@TroisLiu I met this problem just now and the problem has gone after I upgrade mapdb in pom.xml to 1.0.8 later...

Maybe adding the line mkdir -p $GRAPH_DIR in generate-incoming-and-outcoming-edges.sh is necessary when meeting problem like no such file.
Maybe replacing the line https://github.com/dexter/dexter/blob/master/dexter-core/scripts/generate-succint-spot-index.sh#L8 with gzcat $SPOT_FILE > $TTMP is better.

i am trying to build a english model for 23-Jun-2018. when i ran create-label2id-file.sh script i get following error: i think it's some kind of a overflow problem.

2018-06-27 00:02:32,696 401  [main] INFO  it.cnr.isti.hpc.mapdb.MapDB - get collection a2id
Exception in thread "main" java.lang.RuntimeException: Writer thread failed
at org.mapdb.AsyncWriteEngine.checkState(AsyncWriteEngine.java:260)
at org.mapdb.AsyncWriteEngine.update(AsyncWriteEngine.java:351)
at org.mapdb.Caches$HashTable.update(Caches.java:233)
at org.mapdb.EngineWrapper.update(EngineWrapper.java:57)
at org.mapdb.SnapshotEngine.update(SnapshotEngine.java:86)
at org.mapdb.BTreeMap.put2(BTreeMap.java:627)
at org.mapdb.BTreeMap.put(BTreeMap.java:561)
at it.cnr.isti.hpc.dexter.label.mapdb.MapDBLabelToId.add(MapDBLabelToId.java:68)
at it.cnr.isti.hpc.dexter.cli.label.IndexLabelToIdCLI.store(IndexLabelToIdCLI.java:70)
at it.cnr.isti.hpc.dexter.cli.label.IndexLabelToIdCLI.main(IndexLabelToIdCLI.java:62)
Caused by: java.io.IOError: java.io.EOFException: offset:<PHONE_NUMBER>60496
at org.mapdb.Volume$ByteBufferVol.internalByteBuffer(Volume.java:317)
at org.mapdb.Volume$ByteBufferVol.putData(Volume.java:339)
at org.mapdb.StoreDirect.put2(StoreDirect.java:257)
at org.mapdb.StoreDirect.update2(StoreDirect.java:394)
at org.mapdb.StoreDirect.update(StoreDirect.java:350)
at org.mapdb.EngineWrapper.update(EngineWrapper.java:57)
at org.mapdb.AsyncWriteEngine.access$101(AsyncWriteEngine.java:69)
at org.mapdb.AsyncWriteEngine.runWriter(AsyncWriteEngine.java:202)
at org.mapdb.AsyncWriteEngine$WriterRunnable.run(AsyncWriteEngine.java:152)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: offset:<PHONE_NUMBER>60496
... 10 more
Exception in thread "MapDB shutdown" java.lang.RuntimeException: Writer thread failed
at org.mapdb.AsyncWriteEngine.checkState(AsyncWriteEngine.java:260)
at org.mapdb.AsyncWriteEngine.close(AsyncWriteEngine.java:405)
at org.mapdb.EngineWrapper.close(EngineWrapper.java:75)
at org.mapdb.Caches$HashTable.close(Caches.java:289)
at org.mapdb.EngineWrapper.close(EngineWrapper.java:75)
at org.mapdb.DBMaker$1.run(DBMaker.java:710)
Caused by: java.io.IOError: java.io.EOFException: offset:<PHONE_NUMBER>60496
at org.mapdb.Volume$ByteBufferVol.internalByteBuffer(Volume.java:317)
at org.mapdb.Volume$ByteBufferVol.putData(Volume.java:339)
at org.mapdb.StoreDirect.put2(StoreDirect.java:257)
at org.mapdb.StoreDirect.update2(StoreDirect.java:394)
at org.mapdb.StoreDirect.update(StoreDirect.java:350)
at org.mapdb.EngineWrapper.update(EngineWrapper.java:57)
at org.mapdb.AsyncWriteEngine.access$101(AsyncWriteEngine.java:69)
at org.mapdb.AsyncWriteEngine.runWriter(AsyncWriteEngine.java:202)
at org.mapdb.AsyncWriteEngine$WriterRunnable.run(AsyncWriteEngine.java:152)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: offset:<PHONE_NUMBER>60496
... 10 more

also if you know any link to a updated model for dexter it would be nice

Hi guys would be possible to provide a link to an updated model (the current is based on Wikipedia dump of 2014)? It would be extremally useful :)

@vwoloszyn hi,
i've mannaged to create a wikipedia model for latest dump but it is 60.18 GB which i can not upload anywhere. i would be happy to guide you through the process though.

Hi Mohammad, many thanks for the answer.
Why do not make it available (compressed) at a Dexter website as an
'optional' download? I guess several dudes are having the same problem :)
Anyway, would be very nice if you could guide me through the process.
Best,
Vinicius
On Thu, Sep 6, 2018 at 9:30 AM Mohammad Ali Jafarian <
<EMAIL_ADDRESS>wrote:

@vwoloszyn https://github.com/vwoloszyn hi,
i've mannaged to create a wikipedia model for latest dump but it is 60.18
GB which i can not upload anywhere. i would be happy to guide you through
the process though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-419075453, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADqlJ7NaOEzQcBJsXJURuIlcNu4pTHXyks5uYRVVgaJpZM4FrPjT
.

Hi, I'm the main developer of Dexter. I'm working on a new version that unfortunately.will not be compatible with the old model. I don't have time to generate new model but I would be happy to host a new model if you can provide it. If you want to try the new Dexter I can provide a fresher model.
Let me know.
Diego

Great! @mohammadalijf would be possible to you share your model? @diegoceccarelli can host it and make it available for the Dexter community.

@vwoloszyn @diegoceccarelli
sorry for delay. i've got a real slow connection so i don't know if i can upload the model but i can try if @diegoceccarelli provides me a host for uploading.

Great! @diegoceccarelli Would be possible for you to provide the host to upload the model?
Best,
Vinicius

Hey guys, would you like to organize a Skype call? Would be nice to have a
chat
On Mon, Sep 10, 2018, 08:32 Vinicius Woloszyn<EMAIL_ADDRESS>wrote:

Great! @diegoceccarelli https://github.com/diegoceccarelli Would be
possible for you to provide the host to upload the model?
Best,
Vinicius
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-419816042, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDFDkb-h1ppA6XnevBUkXwLGlWo8ti_ks5uZhWIgaJpZM4FrPjT
.

@diegoceccarelli @mohammadalijf  Sure! My skype is vinicius.woloszyn

Guys, would you like to have a Skype call? I can in the evening (GMT+1) and
during the weekends. What about this Sunday at around 18.00 GMT+1?
On Tue, Sep 18, 2018, 07:24 Rahul Dev E<EMAIL_ADDRESS>wrote:

@vwoloszyn https://github.com/vwoloszyn Hi, Ive just finished building
a model based on the latest English wikipedia dump. Do let me know if you
want it. I can try making it available online.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-422270120, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDFDmjnAe0qpJPBzP6BcNb21YJ4ZZwBks5ucJGegaJpZM4FrPjT
.

Thank you @rahuldeve . Are you available to make a skype this Sunday, as @diegoceccarelli suggested?
Best,

@diegoceccarelli @vwoloszyn Unfortunately I wont be available this Sunday. I am kind of packed this month but I am more than happy to discuss here.

Alright, Raul are you able to host the data?
Vinicius we might have the call anyway if you like :)
On Tue, Sep 18, 2018, 10:34 Rahul Dev E<EMAIL_ADDRESS>wrote:

@diegoceccarelli https://github.com/diegoceccarelli @vwoloszyn
https://github.com/vwoloszyn Unfortunately I wont be available this
Sunday. I am kind of packed this month but I am more than happy to discuss
here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-422324903, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDFDuaJNisns0u1zrcOzZw-hBUpZnUpks5ucL4ggaJpZM4FrPjT
.

@diegoceccarelli  Yes. Its in Amazon S3 for now. I will try moving it to my Google Drive account first. The trained model folder along with the Lucene indexes comes around 35GB compressed. The one without the indexes is around 3.4GB. Which one should I make available ?

Raul, I would make available the 3.5Gb, the other would take ages to
upload/download :) if you want to submit a PR with the address of the repo
in the readme I would merge it.
On Tue, Sep 18, 2018, 12:23 Vinicius Woloszyn<EMAIL_ADDRESS>wrote:

@diegoceccarelli https://github.com/diegoceccarelli Yes, I am free to
talk :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-422355753, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDFDloYnf0zXpx2Z4QU13NVoKWmTgTAks5ucNfGgaJpZM4FrPjT
.

@vwoloszyn @diegoceccarelli Sorry for the late reply. I will do that. For now I have uploaded the model in gdrive. Let me know if it works fine from your side too.
https://drive.google.com/open?id=1XwHGoEMwjRLEPQj_D7Mi1osHFoDVHYLD

@vwoloszyn https://github.com/vwoloszyn I'm online on Skype:
diego.ceccarelli :)
On Sat, Sep 22, 2018 at 6:02 PM Rahul Dev E<EMAIL_ADDRESS>wrote:

@vwoloszyn https://github.com/vwoloszyn @diegoceccarelli
https://github.com/diegoceccarelli Sorry for the late reply. I will do
that. For now I have uploaded the model in gdrive. Let me know if it works
fine from your side too.
https://drive.google.com/open?id=1XwHGoEMwjRLEPQj_D7Mi1osHFoDVHYLD
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dexter/dexter/issues/10#issuecomment-423758290, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDFDt4SRwIO7b0Wrk7CVYTXIIRlH2xnks5udm0jgaJpZM4FrPjT
.


New Crowdin updates

@nirajpathak13 looks like the commit isn't signed

closing and will open new one signed


ERR at starting

Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Output of the audio debugging script.
Your OS (including version) where you are running AlexaPi:
raspbian-jessie 2017-07-05
Your hardware platform and model you are running on:
raspberry pi 3
Python release (python2 --version):
Python 2.7.9
Description of problem:
I am trying to run alexa pi. I start the first terminal wndow with :
cd ~/alexa-avs-sample-app/samples/companionService && npm start
then the terminal gives me a lot of err codes and respondes with:

<EMAIL_ADDRESS>start /home/pi/alexa-avs-sample-app/samples/companionService
node ./bin/www

This node service needs to be running to store token information memory and vend them for the AVS app.
Port 3000 is already in use
npm ERR<EMAIL_ADDRESS>start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is most likely a problem with the alexa-voice-service-sample-companion-service package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get their info via:
npm ERR!     npm owner ls alexa-voice-service-sample-companion-service
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.9.35-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /home/pi/alexa-avs-sample-app/samples/companionService
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/alexa-avs-sample-app/samples/companionService/npm-debug.log
npm ERR! not ok code 0
Steps to reproduce:

paste   cd ~/alexa-avs-sample-app/samples/companionService && npm start   in terminal
hit enter.....

This is a different project. Go to https://github.com/alexa/alexa-avs-sample-app


[stable/prometheus-operator] prometheus-prometheus-oper-operator fails due to missing secret

We're having an issue where when admissionWebhooks is set to enabled: false prometheus-prometheus-oper-operator then fails to deploy with

MountVolume.SetUp failed for volume "tls-proxy-secret" : secret "prometheus-prometheus-oper-admission" not found

Version of Helm and Kubernetes:
Client: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
What happened:
Deployment for prometheus-prometheus-oper-operator fails with MountVolume.SetUp failed for volume "tls-proxy-secret" : secret "prometheus-prometheus-oper-admission" not found
What you expected to happen:
Deployment should still import the secret if required or not use the secret
How to reproduce it (as minimally and precisely as possible):
set the following:
 admissionWebhooks:     enabled: false

It seems that by default, the operators TLS proxy sidecar depends on cert that is being generated as a part of admission webhook deployment (that is skipped when admission webhooks are disabled).
It is possible to work around this by disabling TLS proxy:
prometheusOperator:
  admissionWebhooks:
    enabled: false
    patch:
      enabled: false
  tlsProxy:
    enabled: false


FixedChannelPool race condition when closed during acquire

An AssertionError is thrown when FixedChannelPool is being closed, while somewhere at the same time an acquire occurs.
The acquire triggers FixedChannelPool::decrementAndRunTaskQueue(), while FixedChannelPool::close() sets                 acquiredChannelCount = 0;
This only happens when objects using the pool are not terminated prior to calling close.

@normanmaurer - Can you take a look?

@stau Can you show me the test code you made?
I suspect AssertionError occurs when FixedChannelPool::decrementAndRunTaskQueue() is called after FixedChannelPool::close().

Yes, this occurs when an acquired Channel is released after the FixedChannelPool has been closed:
        // set up Bootstrap etc
        ...
        FixedChannelPool pool = new FixedChannelPool(b, handler, maxConnections);
        final Future<Channel> acquire = pool.acquire();
        final Channel channel = acquire.get();
        pool.close();
        pool.release(channel);

@fratboy @stau I think in this case we may want to just close the Channel ?

@normanmaurer By closing subsequent Channels, would it mean that the FixedChannelPool will remain in the "closed" state forever? The current implementation seems to be resetting the FixedChannelPool rather than closing it permanently.

@stau yes it should stay closed forever

@stau I think we should not call pool.release(ch) after call pool.close().
@normanmaurer  Is it better to set promise failed when a user call pool.acquire or pool.release after call pool.close ?

@fratboy This shouldn't occur in normal circumstances, however when attempting to (best effort) clean up after an Exception, the pool may be closed before an acquired Channel is released. For example having a handler which releases a Channel after an operation is complete.

@fratboy yeah failing the exception would be fine as well. Let me fix it.

@normanmaurer =)

@fratboy @stau should be fixed by https://github.com/netty/netty/pull/4389. Please check

Fixed


XGBoost Python API ignoring random state

Hello!
I've noticed that, since version 2.1.0, Xgboost Python API has been ignoring the random seed, causing the results to be deterministic (even if colsample_by_node is applied  - this issue does not apply to subsample).
You can reproduce by running this
from numpy import loadtxt
from xgboost import XGBClassifier

# data available https://raw.githubusercontent.com/jbrownlee/Datasets/master/pima-indians-diabetes.data.csv
dataset = loadtxt('pima-indians-diabetes.csv', delimiter=",")

X = dataset[:,0:8]
Y = dataset[:,8]

model1 = XGBClassifier(n_estimators=2, learning_rate=0.04, max_depth=9,tree_method="hist", colsample_bynode=0.5, random_state=42)
model1.fit(X, Y)

model2 = XGBClassifier(n_estimators=2, learning_rate=0.04, max_depth=9,tree_method="hist", colsample_bynode=0.5, random_state=43)
model2.fit(X, Y)

assert list(model1.feature_importances_) != list(model2.feature_importances_)

The feature importances differ on version 2.0.3, but they do not on 2.1.0. No matter what random_state I use, I get the same results.
I've managed to narrow it down to this specific commit: https://github.com/dmlc/xgboost/commit/fedd9674c8441a26b94f9d4061b11a1be4cb0e7c
Checking out the commit before (178cfe70a8bf6ca0081032cf0de47e5219d0cf08) and compiling still works as intended (two importances are different). Once you check out the commit (linked before - and any of the following one) and compile, the assert fails.

This is the process I followed every time:
git checkout <commit-hash>
git submodule update
cmake -B build -S . -GNinja
cmake --build build
# Install as editable installation
cd ./python-package
pip install -e .

Thank you for sharing, will look into it. Perhaps the sampler is initialized before the global rng

Opened a PR for the fix: https://github.com/dmlc/xgboost/pull/10998 Will be the next patch release.


Startup on login

The app starts up on login if that option is selected from the preferences pane.

@wzrad can you take a look at this?

@wzrad how about now?

Looks good to me!


DevTools tab not opening -  Related to pt-BR main language.

Suddenly my DevTools tab stopped working. I mean, its not showing when I hit F12 or when I click in inspect element. I already checked if its activated in Edge configurations and it is.  I hit the inspect element button and nothing happens, its like it was oppening, but its not. Its not working in all web pages.
My DevTools its supposed to appear in a new tab, it was working until yesterday, then suddenly stopped, I not even update nothing in my notebook.  I'm in v120.0.2210.7.
I tried to perform a repair in Edge application, restart computer and I also tried some solutions in Powershell, tried to delete the Edge Folder in Packages folder, reset the browser settings, all without success.
I'm in Edge v120.0.2210.7. Stable, beta channel of Insider.
AB#47706800

The same problem here.
I tried the same strategies to repair, but all without success to.

Renan, I have seen your surname and recognize as a Brazilian....I discovered how to fix it...for some reason when I hit the DevTool using the portuguese-brazilian as Edge primary language it does not show up.
But I have tried to switch for English and then it worked....can you try in your browser too? Go to "languages" (Idiomas) > "preferred languages" then hit the more options in English tab and set up English as your browser main language.

I have tried to switch my browser languages to other such as French, Spanish and UK english...All of them looks good, F12 hit and inspect button working. Just in Portuguese - Brazilian its not.

Thanks @Victorhtf! It worked wonderfully.

Many people will be thankful to you for reporting this bug, even if they never know what happened :)

Renan, I have seen your surname and recognize as a Brazilian....I discovered how to fix it...for some reason when I hit the DevTool using the portuguese-brazilian as Edge primary language it does not show up.
But I have tried to switch for English and then it worked....can you try in your browser too? Go to "languages" (Idiomas) > "preferred languages" then hit the more options in English tab and set up English as your browser main language.

it worked for me, thank you verry mutch!!!

Thank you for reporting this, I had reported it on Microsoft's Tech Community and also discovered that changing the language solved the problem, especially because several of my friends who used English were fine. The problem for me affects all channels including the new version in Canary 121
https://techcommunity.microsoft.com/t5/discussions/after-version-120-in-beta-dev-and-canary-opening-the-developer/m-p/3982819

@Victorhtf Do you have an account at Mercado Livre? I noticed that when this problem appeared, the email address entered into the Mercado Livre account did not work!

@maisondasilva this problem also occurred to me.

I think this is a different problem @maisondasilva. It occurs to me too, even if my browser is in English.
It seems to work on Firefox and Chrome, but not on Edge. This might be a problem with the site itself, not with Edge. But I'm not sure yet.
In any case, this isn't related to this current issue. Can you please send this feedback via the browser feedback tool:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thanks!

I won't investigate this further, but this indeed seems to be a problem with the site itself. There's a script called NRWrapper which is downloaded on other browser but not on Edge. And it seems to be responsible for handling user events in some way. Because it's missing in Edge, the keyboard events that get triggered when you type your email address don't do anything, and therefore the button doesn't become blue. I would suggest reaching out to the site's customer support line (if they have one) and letting them know.

Thanks for your full report, I only reported it here because it appeared the same day I noticed that DevTools wasn't opening, anyway I had already contacted the site developers and sent them a hub on Edge too, as I didn't know which side it was coming from the problem. Thank you very much @captainbrosset

@captainbrosset The strangest thing is that in version 119 of Edge which is not affected by the bug "DevTools", I have now tested the site and it works as expected.

@renanlido Does it still happen, or how did it resolve?

Does it still happen.

Thanks for your full report, I only reported it here because it appeared the same day I noticed that DevTools wasn't opening, anyway I had already contacted the site developers and sent them a hub on Edge too, as I didn't know which side it was coming from the problem. Thank you very much @captainbrosset

Same here. After dev tools stop working, Mercado Livre site stops working.
After changing the language, DevTools is working now. But Mercado Livre site still not working
Accessing Mercado Livre, in console shows an error only in Edge:
The resource https://www.recaptcha.net/recaptcha/enterprise.js?onload=onloadCallback&render=6LeetcMeAAAAAHBLMG_uCF4A7QLR8ZHg8u4ulR5z&hl=pt-BR was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Version 121.0.2263.0 (Official build) canary (64 bits) the developer tool already works for me!

https://github.com/MicrosoftEdge/DevTools/issues/200#issuecomment-1841349642 - Worked for me too. But, the Mercado Livre it`s still not working. Very strange.... Any suggestions?

Yes, even for me, I'm sending a DM message to the free market and paid market to see what happens!

I would like to inform you that Mercado Livre has already corrected it in Microsoft Edge, thanks for the additional information @captainbrosset

That's awesome. Thanks for closing the loop here.


[Bug] Missing Navbar and Footer on Lab Test Page

Is there an existing issue for this?

[X] I have searched the existing issues

Bug Description?
On the Lab Test page, both the navigation bar and the footer are missing. This creates an inconsistent user experience, as the rest of the site includes these components. Additionally, the absence of the navbar makes it difficult for users to navigate back to other sections of the site.
Add Screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue (Optional)
[X] I'm willing to provide further clarification or assistance if needed.

@Luson045 I would like to work on this issue, Can you please assign this to me?

@MadeshiAshlesha Go with it!
And make sure to make it same as the other pages, don't try anything different.

can you please add my as an assignee?

okay

@MadeshiAshlesha can you also add it in Blog.jsx

@AsmitaMishra24 can you also add it in Blog.jsx

Sure, I will add it to the blog page as well


How do I get the playhead position of a Wad object?

I'm trying to make a simple music player with Wad, and here is how I used Wad:
const audio = new Wad({ source: 'noise' });
console.log(this.audio.duration); // I can get the length of the audio
audio.play();
// is there a way I can get the current playhead position so I can make a progress bar?

There isn't a single property that provides this information currently, but you can compute the current position like this:
const audioClip = new Wad({source: '/audio/song.wav'})
audioClip.play()

let playheadPosition = Wad.audioContext.currentTime - audioClip.lastPlayedTime

I hope that helps. Cheers!

Kind of, this only works when you have a fixed playback rate, the position in samples will mismatch with the position calculated this way when playback with a variable rate.

Yeah, my solution won't work if you need to adjust the playback rate dynamically, but it's the best solution I can offer you. This is a known issue in the Web Audio API. There's a proposal to add a position attribute to the AudioBufferSourceNode, but it hasn't been implemented yet.


Fix/#425 status merge

Related issue: https://github.com/networknt/light-4j/issues/425

cloned status config key set to prevent overwriting
added test case to test the previous element after merging

Look forward to your review.

Codecov Report

Merging #426 into develop will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             develop     #426   +/-   ##
==========================================
  Coverage      49.47%   49.47%
  Complexity      1649     1649
==========================================
  Files            240      240
  Lines          10432    10432
  Branches        1498     1498
==========================================
  Hits            5161     5161
  Misses          4654     4654
  Partials         617      617

Impacted Files
Coverage Δ
Complexity Δ

...ver/src/main/java/com/networknt/server/Server.java
28.1% <100%> (ø)
14 <0> (ø)
:arrow_down:

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 205d7e0...4200ce0. Read the comment docs.

 Fix/#425 status merge (#426)


Fixed the Resend OTP and alert pop issue

Please Verified and merged with the master

Verified and merged with the master


Insure keeping the same connection through the sensor's lifecycle

Say if we have 5 metastore connections, and one of them is faulty and sensors check every 3 minutes, all it takes is for one connection to go down for all of the sensors to end up failing over a few tries.
In this case, only the sensors hitting the faulty nodes would fail as soon as the connection goes bad, and if retries are set, there's 4 chances out of 5 that it will get retried on a healthy connection.
This will prevent outages like last night's.
@artwr @askeys

This is a good step in the right direction since now there is no longer a single point of failure.  Ideally, it seems like it should be set up so that there only needs to be a single point of success for things to work.  Maybe eventually you could randomly choose a connection each time through the main loop and ignore certain types of bad connections.

Yeah I guess certain types of failure could disable connections, but that may be a slippery slope, we'd have to identify bad Exceptions (some are legit issues, like the table doesn't exist), and make sure to flag them back on when they are back.
The way this PR handles it should be decent:

pick a random connection
use it until it succeeds or fails
if fails, there will be a retry, and let's hope the retry is on another, healthy connection

In the end, the real solution is we need smartstack or something of that nature designed to deal with that stuff (load balancing / health monitoring / high availability stuff). Airflow has just this poor-man's load balancing thing because it was easy to hack in...

Yep, agreed.

Alright this is going in, I don't want to miss another SLA because of a hive thrift service going down!

:+1:


Calling with named arguments on a type union reference.

Calling with named arguments is a pleasant feature which I am inclined to like for several reasons, but I think it also runs into some problematic cases because parameter names are "sort of" part of the defined interface for a function, but formally (from the perspective of type unions and interfaces in the compiler), they are not.
Consider the following code, and try to picture the expected behaviour.  I'm not sure I can decide how it should act if compiled successfully, and that's the point.  It doesn't compile successfully, but prints an error that is dependent on the order of types in the type union.
primitive A
  fun apply(a: U64, b: U64): U64 => a + b

primitive B
  fun apply(b: U64, c: U64): U64 => b + c

actor Main
  new create(env: Env) =>
    env.out.print(add_ab(A).string())
    env.out.print(add_ab(B).string())
    env.out.print(add_bc(A).string())
    env.out.print(add_bc(B).string())

  fun add_ab(adder: (A | B)): U64 =>
    adder(where a = 80, b = 8)

  fun add_bc(adder: (A | B)): U64 =>
    adder(where b = 80, c = 8)

Building . -> /home/jemc/1/code/gitx/ponyc/test/jemc
Building builtin -> /home/jemc/1/code/gitx/ponyc/packages/builtin
/home/jemc/1/code/gitx/ponyc/test/jemc/test.pony:18:25: not a parameter name
    adder(where b = 80, c = 8)
                        ^

Note that even though Pony allows you to call with named arguments on a type union reference, it does not require that the parameter names be the same across all types in the union.  They could even feature the same names, but in a different order.
I'm not sure what the right approach here would be, but ideally both the add_ab and add_bc functions would fail to compile with the same error, as both refer to a parameter name which does not exist in one of the type union types.

You are entirely right that this is an issue. Rewriting calling on unions is on my todo list for other reasons, and when I do this I could add the requirement that all parameter names match in order. The question is should I? I really don't know.
Clearly if arguments are passed by name then the names should match, having things dependent on type order within the union is just wrong. But if arguments aren't passed by name should it still be legal to call at all if the names don't match?
It's really the same question as whether names should affect conforming to interfaces and traits. Should this be legal?
trait T
  fun f(a: U64, b: U64)

class C is T
  fun f(b: U64, a: U64) =>
    None

It's one of those cases where making this legal (which it currently is) will allow parameter ordering bugs through, but making it illegal will be very annoying.
I'm currently leaning towards:

The trait example above stays as legal.
When calling on a union without passing arguments by name the names don't matter.
When calling on a union passing any arguments by name ALL parameter names must match on all types in the union.

However, I'm very willing to listen to argumetns why I'm wrong.

When calling on a union passing any arguments by name ALL parameter names must match on all types in the union.

Just to clarify, you mean all parameter names for the function being called, right?  Not all parameter names for all functions?
If so, that sounds most reasonable to me - I'm not really sure how it could be done better than this.

Yes, all parameter names for the function being called, we don't care about other functions. Sorry for not being clear.

@jemc do you want to turn this into a RFC or should I open a request for RFC for this?

I think this is actually a bug, and will relabel as such.
The compiler currently allows ambiguous behaviour here, and the conclusion was that it should be disallowed.  Not sure why it was labeled as an enhancement originally.

Fixed in 8e5b520


[milvus-4.1.18] Adding support for ScaNN index

What this PR does / why we need it:
In order to ensure proper coordination and support for Scann index we need this fix. A new Scann index is essential for enhancing performance, scalability, customisation and competitiveness which is missing in older version of attu.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])
[ ] PR only contains changes for one chart

/assign @loveeachday
@haorenfsa please validate

/lgtm

/approve

/cc @LoveEachDay


Directory creation language needs a scrub

A reader sent me an email:

Maybe this is old news or maybe I’m just confused, but your tutorial (for which, many thanks) states the following, with the questionable part marked in red, i.e, “The "model" directory does not exist when the project is initially created by the Alfresco Maven SDK . . .”.   However, when I run the mvn command to generate the artifact, it does appear to exist.
“Models belong in a directory called “model” in your project's module directory, which is:
$TUTORIAL_HOME/content-tutorial-repo/src/main/amp/config/alfresco/module/content-tutorial-repo
“The "model" directory does not exist when the project is initially created by the Alfresco Maven SDK, so go ahead and create it now in the directory above.”

Which is a good observation. The newer version of the SDK creates the model directory for you and populates it with sample XML files.
The 3.0 version of the SDK makes some directory changes. When that ships, I'll scrub this for directory locations and related language.

I believe I have cleaned all of this up with the new SDK 3.0 compatible updates.
Thanks for reading and for the bug report!


Tiny update to protocol overview doc.

Clarify client stream closing in the abstract protcol and link to more detalied HTTP/2 specific doc.
@donnadionne

thanks for the comments! I resolved 2 of them the way you suggested (although not sure if I agree, but these are just details not worth further discussion).
Please have a look at my reply regarding "by means of an underlying lower level protocol": this part is what motivated me to submit this PR as previously I spent almost 2 hours investigating how it works (see https://groups.google.com/g/grpc-io/c/M2sCDFw8vT8/m/pM_vd7kJBgAJ )

I've added a brief explanation of half-closing in the HTTP/2 section as well: hope now it's clearer.

Sorry for the long delay in responding! This somehow fell off of my radar.

No worries: it's nothing urgent after all ;-)

@markdroth friendly ping in case it got lost again ;-)

The "Distribution Tests Python Linux" failure is an infrastructure timeout.
Known issues: #26611


dodgy necklace issue

Please check if your issue is not a duplicate by searching existing issues

Question
Answer

Java Version
x.y.z

Operating System
e.g. Ubuntu/Windows/MacOS

if wearing a dodgy necklace while having multiple in your inventory, runelite displays that they all have the same number of charges as the one equipped

That is because they all have the same number of charges as the one equipped, so to speak.
The way the Dodgy necklace and other enchanted jewelry works (i.e. ring of forging) is that there's a global variable to determine the total charges remaining that's based on the player rather than the actual piece of jewelry.
You'll notice you can break the jewelry to reset your charges for your next piece; this can be helpful when you're on your last charge of a dodgy necklace and want to AFK for a bit without worry about the necklace inconveniently turning to dust. More info can be found here.

@digdoge69 Also, could you close this issue, please?


Equations under Fig 2. Incorrectly rendered

Description
glyphs are missing in the equations under Fig 2 of https://arxiv.org/html/2407.07909v1
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Formula
Internal issue ID
a10ae553-b6f5-47b6-bd10-741cf617d53c
Paper URL
https://arxiv.org/html/2407.07909v1
Browser
Safari/604.1
Device Type
iOS

photo of rendered html versus pdf


FFI.lua:49: attempt to call global 'unpack' (a nil value)

Hello,
I just re-installed Torch using the instructions from [(https://github.com/torch/distro)], with the TORCH_LUA_VERSION=LUA52 option (other Lua versions were causing problems with trebl). Most of my installation is running, except for cutorch: I get an "attempt to call global 'unpack' (a nil value)" error.
th> require 'cutorch'
/home/yj426/Torch/share/lua/5.2/trepl/init.lua:383: /home/yj426/Torch/share/lua/5.2/cutorch/FFI.lua:49: attempt to call global 'unpack' (a nil value)
stack traceback:
	/home/yj426/Torch/share/lua/5.2/trepl/init.lua:500: in function </home/yj426/Torch/share/lua/5.2/trepl/init.lua:493>
	[C]: in function 'error'
	/home/yj426/Torch/share/lua/5.2/trepl/init.lua:383: in function 'require'
	[string "_RESULT={require 'cutorch'}"]:1: in main chunk
	[C]: in function 'xpcall'
	/home/yj426/Torch/share/lua/5.2/trepl/init.lua:650: in function 'repl'
	/home/yj426/Torch/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
	[C]: in ?

Would someone have an idea of what is going on there?
Best,
Yacine

hey Yacine,
this command will fix your issues.
luarocks install cutorch

(also fixing it in distro right now)

Thanks!


[SPARK-29834][SQL] DESC DATABASE should look up catalog like v2 commands

What changes were proposed in this pull request?
Add DescribeNamespaceStatement, DescribeNamespace and DescribeNamespaceExec
to make "DESC DATABASE" look up catalog like v2 commands.
Why are the changes needed?
It's important to make all the commands have the same table resolution behavior, to avoid confusing end-users.
Does this PR introduce any user-facing change?
Yes, add "DESC NAMESPACE" whose function is same as "DESC DATABASE" and "DESC SCHEMA".
How was this patch tested?
New unit test

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@cloud-fan @wangyum

ok to test

Test build #113756 has started for PR 26513 at commit 4589c9f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18631/
Test PASSed.

@cloud-fan

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18636/
Test PASSed.

Test build #113762 has started for PR 26513 at commit 827cac1.

Test build #113762 has finished for PR 26513 at commit 827cac1.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #113756 has finished for PR 26513 at commit 4589c9f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113762/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113756/
Test FAILed.

retest this please

Test build #113777 has started for PR 26513 at commit 827cac1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18650/
Test PASSed.

Test build #113777 has finished for PR 26513 at commit 827cac1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113777/
Test PASSed.

@dongjoon-hyun @imback82

Test build #113850 has started for PR 26513 at commit bc5094a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18720/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113850/
Test FAILed.

retest this please

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18753/
Test PASSed.

Test build #113885 has started for PR 26513 at commit bc5094a.

Test build #113885 has finished for PR 26513 at commit bc5094a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113885/
Test PASSed.

Test build #113896 has started for PR 26513 at commit 6eca944.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18763/
Test PASSed.

Test build #113896 has finished for PR 26513 at commit 6eca944.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113896/
Test PASSed.

thank you all for review and help.


Add top note option

This is a small addition to allow notes at the top of the wrapped content. It is based on top of #31 and simply adds a new header spot to the css grid.
It's a single commit, I can rebase once #31 is in.

Oops, I thought I had tested that the sticky note was unaffected, but I must have made further changes that broke it. Good catch, thank you.

This was broken in my previous PR that brought in the grid layout, and was fixed as part of that merge.


Unable to read pre-trained model using BertModel.from_pretrained

I am using pre-trained BERT model kept at AWS s3 bucket. When i am trying to read the model using BertModel.from_pretrained  It return NONE object. Things are working offline when i download a folder on the same location as my code resides.

Hi, you are trying to download one of your own models kept on a personal AWS s3 bucket or one of our models? What string do you pass to the from_pretrained method?

Thank you for your response,
I am trying to use my own model kept on my personal AWS s3 bucket.
The string to from_pretrained method is the path of folder which contains three files config , vocab and model. I have also tried to zip all files (.tar.gz) and use that file rather then folder but it also didn't work.
Please let me know in case you need more information.

Firstly, have you checked that the model in the bucket is reachable?
Secondly, what is the name of the config file?

Yes its reachable, I can read vocab.txt file .
Name of config file is bert_config.json

I do have the same (similar) problem, except that I use the pretrained models (e.g. bert-base-uncased"). The script repeatedly downloads the vocab, json and model file and often fails to load the model. Everything is works if I do it on the local machine.
I also tried to download the files locally and unsuccessfully loaded the model directly. (tokenizer failed, model failed, BertConfig worked). Maybe I do something wrong here - example code would help


locally hosting jquery-textcomplete.js

EmojiOneArea seems to load jquery.textcomplete.js from raw.github.com...
https://cdn.rawgit.com/yuku-t/jquery-textcomplete/v1.3.4/dist/jquery.textcomplete.js?_=1507157503282
Is there an option to disable this, and specify its location myself (ie self-host it?)

You can disable auto-complete at all by option autocomplete: false or you can load jquery.textcomplete.js from your local and emojionearea will use it

Thankyou


Update dependencies

Codecov Report
Patch and project coverage have no change.

Comparison is base (3ee1379) 100.00% compared to head (91efe0e) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #312   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines         1304      1304
  Branches       149       149
=========================================
  Hits          1304      1304

Impacted Files
Coverage Δ

src/redcat/comparators.py
100.00% <ø> (ø)

src/redcat/datapipes/iter/batching.py
100.00% <ø> (ø)

src/redcat/datapipes/iter/joining.py
100.00% <ø> (ø)

src/redcat/datapipes/iter/shuffling.py
100.00% <ø> (ø)

src/redcat/tensor.py
100.00% <ø> (ø)

src/redcat/utils/format.py
100.00% <ø> (ø)

src/redcat/utils/tensor.py
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Bug]

Addon
Timexones
What happened?
Could not be compiled.

What Discord version do you have this issue on?
PTB
Logs
TypeError: Cannot read properties of undefined (reading 'Z')
    at plugin (betterdiscord://plugins/Timezones.plugin.js:137:101)
    at eval (betterdiscord://plugins/Timezones.plugin.js:341:22)
    at eval (betterdiscord://plugins/Timezones.plugin.js:342:13)
    at eval (betterdiscord://plugins/Timezones.plugin.js:343:3)
    at D.requireAddon (betterdiscord/renderer.js:5:33852)
    at D.loadAddon (betterdiscord/renderer.js:5:6322)
    at D.loadAddon (betterdiscord/renderer.js:5:31520)
    at D.reloadAddon (betterdiscord/renderer.js:5:7212)
    at AsyncFunction.<anonymous> (betterdiscord/renderer.js:5:4336)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

(there is already a pull request open to fix this plugin)


[mgmt] servicefabricmanagedclusters release

https://github.com/Azure/sdk-release-request/issues/5375

/azp run prepare-pipelines

/azp run js - servicefabricmanagedclusters - mgmt - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-servicefabricmanagedclusters


pull request for e2e test at 01/31/2017 03:56:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


PENet for custom data

Hi,
Thanks for your great work! I am trying to train and test models on my custom dataset. Could you please tell me how to train a PENet model for custom dataset? Thanks!

I have not trained the PENet by myself. So please refer to the official code of PENet.


doc additions

Just to add the value of key status in the json answer by api call tasks/view

Some people are too good for this world - keep it coming! :-)


Setting function or protected_function to nullptr cause crash

On the c++ side, if i try to set a function or protected_function variable to null, it crashes. From the implementation i figure it's expected behavior (reading meta code is kinda hard), so as a follow up question. How do i "clear" a function variable? Or is that not something that should ever be done?

Short answer: yeah probably shouldn't clear it.
Long answer:
Strongly-typed reference types (such as sol::function, sol::table, etc.) expect their types to be non-nil upon construction in safety modes. The reason for this is that it helps you get into a mindset that if you construct a strongly-typed version of something, you shouldn't have to keep checking if it's valid.
If you have the expectation that something needs to be cleared, use a sol::object and explicitly use sol::object.is<T> to check for the type, and then sol::object.as<T> to cast to what you need. This will make your intent more clear and save you from having to always check if a function is what you want: sol::function will always be valid, and sol::object/sol::reference will always be in a state of flux.

Ahh. That makes sense.
The original cause of the problem was that i kept a sol::function in a member variable (same as sol::state), because i want the function to be available in c++ (Lua user code could set is to nil). When the class was destroyed i got a crash because the sol::state was destroyed before the sol::function. Reordering of members solved that. Keeping a sol::function around like that might not be a sound idea in that case. I will most likely implement a sandbox later to prevent users from messing with my Lua interface. Wanted to keep the sol::function around for now to prevent that problem. But the destruction order will still be a problem if i use sol::object so i guess i just need to be careful about what i'm doing.
I consider this issue solved, but any further comments about my reasoning? Still trying to learn how to use sol properly!
Also, thanks for the quick answer, and for making sol. Working with the C interface have caused a lot of pains in the past, and sol have made working with Lua pleasant again =)


Use gradle init flag for defaults in multi-project tutorial

Follow-up for https://github.com/gradle/gradle/pull/27490

@bot-gradle merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Add Bedrock contract tests.

A rebased version of https://github.com/aws-observability/aws-otel-java-instrumentation/pull/848
The PR is a follow up on bedrock service support PR:
https://github.com/aws-observability/aws-otel-python-instrumentation/pull/209
We add contract tests for following Bedrock services that covers all resource attributes we newly support:

Bedrock API: GetGuardrail
BedrockAgent APIs: GetAgent, GetDataSource, GetKnowledgeBase
BedrockRuntime API: InvokeModel
BedrockAgentRuntime API: InvokeAgent

Upgrade botocore and boto3 to the latest version 1.34.143 so that to support Bedrock services API calls.
Upgrade localstack/localstack image to the latest version 3.5.0 so resolve the SQS API call issue using localstack/localstack:2.0.1 with new version of boto3: https://github.com/localstack/localstack/issues/9610
Contract test limitation:
The contract tests in current repo is using LocalStackContainer to serve AWS SDK service calls. But it doesn’t has bedrock related service support (This is the full service list it support.). In this case, no matter which bedrock API we call in contract test, the response will always be 4XX.
As a workaround, we inject inject_200_success and inject_500_error directly into the API call to make sure we receive http response with expected status code and attributes.
_assert_semantic_conventions_span_attributes function change:
In _assert_semantic_conventions_span_attributes function it is checking the input service equals to rpc.service, however, we pass the input service with "remote_service", where there is mismatch for example for Bedrock Agent Runtime: we have
rpc_service="Bedrock Agent Runtime", remote_service="AWS::Bedrock".
Thus we change to use rpc_service if it is provided by:
kwargs.get("rpc_service") if "rpc_service" in kwargs else kwargs.get("remote_service").split("::")[-1],

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Is the overview up to date? It mentions changes that I don't see, like inject_200_success, inject_500_error, and _assert_semantic_conventions_span_attributes.

Is the overview up to date? It mentions changes that I don't see, like inject_200_success, inject_500_error, and _assert_semantic_conventions_span_attributes.

Seems like this is a rebased PR, and the PR description was not copied correctly. Updated the description from original PR.


johndanz/ch11553/pl-scale-adjustment

Clubhouse Story
see ticket for reproduction instructions. this should fix all instances though as i erroneously was rounding up on the max value, which is why the scale was so off. (showing 1+ ETH top end even if our value was 0.00019, while making 0 the bottom end...)
Submitter checklist

[ ] Test covering functionality added/fixed in
Check the linked story includes the following:

[ ] Steps to reproduce
[ ] Screenshot (If applicable)

Reviewer Checklist

[ ] Test/lint pass

@bthaile so this is actually a separate issue which i made a ticket for with paul and discussed. We plan to get cracking on that today, however based on that screenshot above (first one) i do need to still make a small adjustment, apparently this issue isn't 100% fixed for all cases. will re-open the PR when it's ready


bump deps<EMAIL_ADDRESS>works on node 0.12 and io.js

Weird. I thought<EMAIL_ADDRESS>worked with io.js https://github.com/dlmanning/gulp-sass/commit/314ce5c1594e541a55e5c5009fb0733c45226567
I'll just do version bump then.

Thanks for the PR @stevemao. The change itself looks fine but we'll need to do more extensive testing before making the deps switch. We'll try to do this soon (cc @sgomes @gauntface).

@stevemao want to rebase this against master?

Sure thing

Done

Hmm. This is failing in our Travis builds atm even with failures allowed in https://github.com/google/web-starter-kit/blob/master/.travis.yml. @sindresorhus is that expected?

Looks like it's node-sass again :angry:

Travis is not failing now :smile:

Hah. Awesome. Let's keep this open a short while so we can get some further testing done, but the change otherwise lgtm.

@nicolasgarnier is this change still necessary?

Yes!. Would be nice to get this in.
@stevemao could you rebase please?

Done.

Closing as this PR is now moot.


Adding files inherited from the TypeScript example

@justinvp
Any tips on testing the tarballs? how does pulumi install plugin from the tarballs? I could cook a make target; but I worry about venv whether it's included or not; including it in plugin is not a great idea since venv contents are platform specific (win vs linux vs darwin). I'm not sure without testing if pulumi can recognize a plugin to be python one and restore venv.
Some notes/todos for myself:

can we move python sources higher in the repo?

can we maybe avoid checking in the generated SDK code so the
repo looks cleaner? or there are code search benefits for
checking in the SDK

the gen* program is Go is non-specific, we could move it to a
tool outside this repo and keep the repo cleaner

fixup all pulumi refs to 3.x.x

make target for tarball packaging; update REAMDE on packaging;
test that packages are functional that is Pulumi recognizes them

should we edit the construct protocol to be async? requires
change to pulumi.. if we need it later, it may become breaking

Any tips on testing the tarballs? how does pulumi install plugin from the tarballs? I could cook a make target; but I worry about venv whether it's included or not; including it in plugin is not a great idea since venv contents are platform specific (win vs linux vs darwin). I'm not sure without testing if pulumi can recognize a plugin to be python one and restore venv.

For now, like with the TS boilerplate repo, I'd just make it so make install_provider makes the provider available in the top-level bin dir with an already created venv, with the pulumi-resource-xyz and pulumi-resource-xyz.cmd scripts that launch python from venv. I'd also update the PulumiPlugin.yaml file (like the one in the TS boilerplate) to have runtime: python. And then in the README.md, we'll recommend setting PATH to bin (like the TS boilerplate). And also copy over a requirements.txt into the bin dir.
As a follow-up, we are going to want to add make targets to all the boilerplate repos that will generate the tarballs. We won't want to include the venv dir in the tarball itself, but we will want to ensure the tarball has PulumiPlugin.yaml with runtime: python and a requirements.txt. When the tarball has PulumiPlugin.yaml with runtime: python, it will automatically create a venv and install dependencies into it from requirements.txt when the tarball is installed. (Similarly, if it is runtime: node, it'll run npm install when the tarball is installed).
https://github.com/pulumi/pulumi/blob/f11e8603a22aa7492985de46e8a32a4d0a88c0b7/sdk/go/common/workspace/plugins.go#L377-L395
I've actually never used it, but it looks like we have pulumi plugin install --file for installing a tarball from a file rather than downloading it.

2. can we maybe avoid checking in the generated SDK code so the
repo looks cleaner? or there are code search benefits for
checking in the SDK

Possibly. We've tried this in the past for our own providers, but found it very difficult to understand the diff when adopting new changes, and also the downside of searchability, as you mention. We could consider it for boilerplate repos.

3. the gen* program is Go is non-specific, we could move it to a
tool outside this repo and keep the repo cleaner

I think we'll probably end up doing this soon. Either a separate tool or we've also talked about potentially a CLI command like pulumi generate that could do it.

That was a great pointer. I added a Make target to build the tarballs, and tested them out with pulumi plugin install --file. Had to make a few changes but now it works as advertised. During pulumi install Pulumi uses system python and restores venv - so we do not need to redist pulumi SDK and deps. We only distribute the plugin sources.
I feel like we may have some exciting failure scenarios in the future where the venv and the python version managed by Pulumi depends on external choice of python version, but we can deal with it as it comes. Python seems to have new tools like poetry  emerging to pin and virtualize python itself but there's far from a consensus on what is the canonical tool.

Ok so this looks good to me  - ready for review please. I will just work now to fixup all package refs to refer to brand new 3xx things.

Package refs updated, example still works. Strange can't add @justinvp to reviewers on the repo, something with GitHub .

@t0yv0, do you want to add a commit that adopts the codegen fix to this PR? Like https://github.com/pulumi/pulumi-component-provider-ts-boilerplate/pull/3?

I'll follow up with another PR on codegen fix.


unlimited assets: backwards-compatible JSON encodings for account data

Summary
This restores the old JSON field names in the account data blob.
Test Plan
Existing tests should pass.

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/unlimited-assets@ae96643). Click here to learn what that means.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##             feature/unlimited-assets     #896   +/-   ##
===========================================================
  Coverage                            ?   58.41%
===========================================================
  Files                               ?       40
  Lines                               ?     4773
  Branches                            ?        0
===========================================================
  Hits                                ?     2788
  Misses                              ?     1644
  Partials                            ?      341

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 ae96643...fe41b51. Read the comment docs.


Chore: Added 10 tests to socket_test.dart

What kind of change does this PR introduce?
Adds test to socket_test.dart
Tests added:

constructor
- sets defaults
- overrides some defaults with options
endpointURL
- returns endpoint for given full url
- returns endpoint with parameters
- returns endpoint with apikey
connect with Websocket
- establishes websocket connection with endpoint
- sets callbacks for connection
- is idempotent
disconnect
- removes existing connection
- calls callback

There might be some issue with mocked HttpServer. Please check it.

Yay! everything looks good