Make repository public

[x] Add BSD licenses to everything
[x] Fix 'LINK' references in svenzva_driver and joint_trajectory_server
[ ] Reorganize repository: make svenzva_common?
[ ] Make sensible name choices for driver modules (some svenzva_, some revel_)
[x] Fix all TODOs
[x] Transfer to Svenzva org.

Repo made public, despite not all line items fulfilled. Moving unsatisfied items to their own issues.


sudoku light has been added

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #3950

Mark the task you have completed ✅

✅ I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
✅ I have performed a self-review of my own code or work.
✅ I have commented my code, particularly in hard-to-understand areas.
✅ My changes generates no new warnings.
✅ I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
✅ I have added screenshot for website preview in assets/images
✅ I have added entries for my game in main README.md
✅ I have added README.md in my folder
[ x ] I have added working video of the game in README.md (optional)
✅ I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Sypher0Dronzer ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @Sypher0Dronzer , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Include Kotlin DSL samples in build-dashboard plugin doc

This change also improves the sample test to ensure the buildDashboard task is actually listed.
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Do not merge this yet. This is blocked on upgrading Exemplar to 0.5.+


Replace submodules by GitHub actions

Currently Helm release builds are failing due to submodules problems
This PR addresses this by replacing the submodules by direct action references

@koendelaat Thanks for your contribution.

Oh, no. we can not use Github  Actions from 3rd parties. We have to revert it

Oh, no. we can not use Github  Actions from 3rd parties. We have to revert it

@klesh just wondering why you cannot use 3rd party actions?
Also why is using the same action but with a submodule reference OK?

@koendelaat Not that I DON'T want to. In fact, it would make my life much easier if I'm allowed to use 3rd party actions. It is the Apache policy.
Note that the repository belongs to Apache Foundation, Not me...🥲


Receiving scheduled date / metadata as an argument?

Hi,
Is it possible to have our scheduled jobs receive an argument of metadata, such as the date of when the job was scheduled?
For example if I have a job that runs on the 6th of the month, I want to receive a timestamp as an argument to perform. We have jobs that rely on dates, so calling DateTime.current inside the scheduled job perform is not reliable as the job could be executed at a different date from when it was scheduled (ie: failure then retrying or being a duplicate being run at another date, or sitting in the queue). If the schedule.yml config can support a flag or something to pass in the date of the scheduled execution, this helps our jobs be more idempotent.
For example if we could do something like:
# scheduler.yml
monthly_scheduler:
  class: MonthlyScheduler
  cron: '0 2 6 * *'
  description: 'Monthly scheduler job that creates jobs, runs on the 6th of the month at 2am.'
  queue: 'scheduled'
  metadata: true

# worker
class MonthlyScheduler
  include Sidekiq::worker

  sidekiq_options queue: 'scheduled'

  def perform(metadata)
    date = metadata['scheduled_date'] # => '2017-01-01T02:00:00+00:00'

    Tasks.some_scope.each do |id|
       AnotherJob.perform_async(date, id)
      end
   end
end

# metadata structure
# simple hash

{
   # string of the timestamp of the date the job was scheduled to run
   # example strftime format (%Y-%m-%d %H:%M:%S.%N)
   # should be a format that can be passed to Time.parse by default, probably iso8601? (%FT%T%z)
   "scheduled_date" => "2017-01-01T02:00:00+00:00"
}

What do you think?

Hello @ervoiox,
It can be implemented.
How about having scheduled_at (sat?) instead of schedule_date, and storing the unix seconds (miliseconds?) from epoch?
Also, I think it will be better to use a different name for the config key, because metadata doesn't really tell that the scheduler metadata for that job will be passed as the last argument.
An alternative approach will be to use a Sidekiq middleware, but it's not really at ease, Sidekiq middlewares receive job metadata similar to this:
{:foo=>1, :bar=>2}{"class"=>"HelloWorld", "queue"=>"metadata", "args"=>[], "retry"=>true, "jid"=>"409ed9ee6dc50a7fa67fe1da", "created_at"=>1484154680.1604948, "enqueued_at"=>1484154680.1605256}

See https://github.com/mperham/sidekiq/wiki/Middleware
Thoughts?

Hi @snmgian, ah yes that makes sense to me. Yeah unix seconds makes sense.
Sidekiq middleware sounds like it could work, but I think it would be nice to provide this option out of the box.

PR #171 is merged

Release v2.1.2

Thanks @snmgian and @migl! :smile:


Add case insensitive searching to playbook view

Short description 📝
Implement a case-insensitive search functionality to improve user experience by allowing searches that ignore capitalization differences. This ensures more flexibility and convenience in matching search terms regardless of letter case.
Solution 📦
The solution is to change the search logic to treat uppercase and lowercase equally. This was achieved by converting both the search input and the searchable content to a common case (e.g. lowercase) before performing the comparison.
Implementation 👩💻👨💻
Modify the search function to make it case-insensitive.

Hi 👋
Thanks for your pull request and improvement.


How to generate apatch

Can anyone please show a working example to generate apatch file in windows.
It is giving me this error
C:\Users\Hamza Mirza\AndroidStudioProjects\apkpatch>apkpatch -f 2.apk -t 1.apk -
a mykey -e mykey  -p mykey -k C:\Users\Hamza Mirza\AndroidStudioProject
s\apkpatch
Exception in thread "main" java.lang.IllegalArgumentException:  does not exist
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1637)
at com.euler.patch.Build.(Build.java:50)
at com.euler.patch.ApkPatch.(ApkPatch.java:40)
at com.euler.patch.Main.main(Main.java:95)
C:\Users\Hamza Mirza\AndroidStudioProjects\apkpatch>

-o out

In the OS X, I was run this command. I hope this can help you.
./apkpatch.sh -f 2.apk -t 1.apk -o  /Users/MrFu/Documents/Git/AndFix/samples/AndFixDemo/apk/a -k /Users/MrFu/.android/debug.keystore -p android -a androiddebugkey -e android

Thanks MrFuFuFu
Thats going ahead, but now i am getting this error
C:\Users\Hamza Mirza\AndroidStudioProjects\AndFixDemo\app\build\outputs\apk>apkp
atch -f 2.apk -t 1.apk -o  /a -k C:\Users\Hamza Mirza.android\debug.keystore -p
android -a androiddebugkey -e android
add modified Method:V  onCreate(Landroid/os/Bundle;)  in Class:Lcom/euler/andfix
/MainActivity;
java.io.FileNotFoundException: C:\Users\Hamza (The system cannot find the file s
pecified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at com.euler.patch.Build.build(Build.java:76)
at com.euler.patch.ApkPatch.doPatch(ApkPatch.java:57)
at com.euler.patch.Main.main(Main.java:97)

Maybe your users name Hamza Mirza has a space, take out the debug.keystore to the desktop try it again.
C:\Users\Hamza Mirza.android\debug.keystore

Thank You so much. Working fine now :)
Yes the problem was with space. fixed it.
Awesome tool.

@hmz17 nice

@hmz17 Could you help me to see that how about your out.apatch file size? I generate apatch size only 3KB, but the @supern tell me that should 20KB.
And now it can't to work.

My output file is 2.94KB, and it's working fine.
On 16 Sep 2015 4:06 pm, "Yuan Fu"<EMAIL_ADDRESS>wrote:

@hmz17 https://github.com/hmz17 Could you help me to see that how about
your out.apatch file size? I generate apatch size only 3KB, but the
@supern https://github.com/supern tell me that should 20KB.
And now it can't to work.
—
Reply to this email directly or view it on GitHub
https://github.com/alibaba/AndFix/issues/11#issuecomment-140701117.


Add ability to move a skill/group under a different subject

Add ability to move a skill/group under a different subject

warn the user that this is generally should only be done before the project went live
potentially warn what effect it will have

Will be addressed via #1120


Mining Drill - add fluid

There is a comment about not being able to get the mining fluid easily. It references a 2017 forum post.
    -- there is no easy way to know what fluid a miner wants, the fluid is a property of the ore's prototype
    -- and the expected resources aren't simple to find: https://forums.factorio.com/viewtopic.php?p=247019
    -- so it will have to be done manually using the fluid access tank

However, the game has since added the entity.mining_target field. It is now rather easy to get the mining fluid.
Just for a demo, I added this print code.
function EntityHandlers.handle_mining_drill(o)
   ...
  if #o.entity.fluidbox > 0 then
    local target = o.entity.mining_target
    if target ~= nil then
      local dfluid = target.prototype.mineable_properties.required_fluid
      if dfluid ~= nil then
        print(("Drill @ %s requires %s"):format(serpent.line(o.entity.position), dfluid))
      end
    end

And see output like:
Drill @ {x = -239.5, y = -50.5} requires sulfuric-acid

I used that in the 'auto-configure requester tank' PR. #10

Fascinating, apparently that field was added in 0.13.10. Guess I must've missed it when reading the docs.
There is the problem of the fluid temperature not mattering for mining drills, though. So I think it makes sense to stick with fluid requesters (along with your auto config code), so that the temperature can be configured.


Update runc to 9c2d8d184e5da67c95d601382adf14862e4f2228

This fix a conflict with systemd daemon-reload (see
https://github.com/opencontainers/runc/pull/1344)
Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Closes #30121
diff --git a/libcontainer/cgroups/systemd/apply_systemd.go b/libcontainer/cgroups/systemd/apply_systemd.go
index fd428f9..7ce066c 100644
--- a/libcontainer/cgroups/systemd/apply_systemd.go
+++ b/libcontainer/cgroups/systemd/apply_systemd.go
@@ -269,6 +269,13 @@ func (m *Manager) Apply(pid int) error {
                        newProp("CPUShares", uint64(c.Resources.CpuShares)))
        }

+       // cpu.cfs_quota_us and cpu.cfs_period_us are controlled by systemd.
+       if c.Resources.CpuQuota != 0 && c.Resources.CpuPeriod != 0 {
+               cpuQuotaPerSecUSec := c.Resources.CpuQuota * 1000000 / c.Resources.CpuPeriod
+               properties = append(properties,
+                       newProp("CPUQuotaPerSecUSec", uint64(cpuQuotaPerSecUSec)))
+       }
+
        if c.Resources.BlkioWeight != 0 {
                properties = append(properties,
                        newProp("BlockIOWeight", uint64(c.Resources.BlkioWeight)))

rebased.

Thanks!


updated Readme.md with MS Open Source Code of Conduct

Hi @lbrader, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Larry Brader). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Bug fix #25020 | Allows Tables SDK to create and list entities with "" as partition or row keys

Description
Closes #25020
The customer reported a bug that wouldn't allow the customer to list or create entities with "" as the partition or row key. This functionality is supported in the Azure portal by both storage and cosmos, however there were some interesting observations with Cosmos that have been noted below.
There was logic implemented that explicitly restricted empty strings from being used as partition or row keys. However, the documentation referenced by the customer does indeed support the statement that empty strings should be supported:
Regarding Cosmos, it was observed that when attempting to create an entity in the portal with "" as both the partition and row keys, the service would assign a random row key, (the partition key would be left as ""). The entity could be referenced and updated via this row key within the portal but could not be deleted due to claims of not be able to find the entity. More investigation will follow but it does not appear to be an issue belonging to the SDK.

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


Proposal to reorder Astro DB documentation sections for improved flow

📚 Subject area/topic
Integration Astro DB
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/astro-db
📋 Description of content that is out-of-date or incorrect
When following the documentation for Astro DB from top to bottom, users may/will encounter an error due to the placement of certain sections.
Specifically, the section Table References which details how to create a relation between database tables is positioned before the sections covering basic querying and inserting operations. This can lead to confusion and difficulty in following the tutorial seamlessly.
Following the existing guide sequentially:

The user creates the Comment table.
The guide then introduces "Table References", which details creating relationships between the Comment and Author table. The user is very likely to refactor step 1 to match this new table structure.
However the code sample in the Select section shows querying from the "old" version of the table Comment that no longer exists at point. The field "author" is now replaced with the authors id reference.
When trying to insert a new row the user encounters the error: SQLITE_CONSTRAINT_NOTNULL: NOT NULL constraint failed: Comment.authorId

Proposal:
I suggest reordering the documentation sections to improve the flow and make it easier for users to follow along without encountering errors. Specifically, I propose moving the section on creating table references down to the bottom of the documentation, right next to the section on relationships.
By doing so, users will first learn the basics of querying and inserting rows into a simple table, which provides a foundational understanding before delving into "more advanced" topics like table relationships. This approach might reduce the likelihood of errors or confusion leading to a more logical and intuitive progression of learning experience and result in a smoother onboarding process.
I can provide a PR, if you wish.
🖥 Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response

Hi! This is not meant to be a guide to be followed in order necessarily, but to show various "quick references" of tasks, like defining the database (which includes defining references) etc.
The section and code samples are intended to be independent as this was not written as a step-by-step walkthrough tutorial. Our documentation on this newer feature is still evolving, and we will absolutely take this feedback into consideration that you would be interested in a step-by-step tutorial-style walk through the process!  🙌


cusomiztion spec

how do you call the customization spec ? I see the options but the actual name of the spec in vsphere ? my windows machines seem to find one automatically ? but not my linux servers.
rob

Looks like the readme could use some help there. I actually never used this feature but based on the code you would provide a string value to customization_spec instead of a hash.

I will update the docs and submit a PR. thanks

Actually the reason i am re-opening is this driver had previously applied a customization spec when providing the hash and using the name provided in vsphere_name: hostname, but at some point this stopped working and it just comes up with the template name. This is an issue for us as we need to start multiple hosts and take action based on their name. I just tried this by giving it the name of the custom spec but it still comes up with template name, although it does reboot like it is applying cspec. I will do some testing and see i can find at which version this stopped.


Remove hack for required field serialization.

Remove the hack that always writes out the default value, instead conditionally
write them out.  This will be needed to eventually have full and partial
serialization methods.
Regenerate with hack removed.

fyi - tests all still pass because a while ago we disabled all the required field tests since they were testing behaviors that never were to spec.


pcloud high data usage while idle

Describe the bug
pcloud uses a lot of bandwidth while supposed to be idle
Steps To Reproduce
Steps to reproduce the behavior:

install pclaud with patch https://discourse.nixos.org/t/pcloud-gives-segmentation-fault/31330/5?u=patryk27 mentioned in https://github.com/NixOS/nixpkgs/issues/226339
at least 2 rebuilds with it already installed

Expected behavior
minimal background data usage
Screenshots
https://imgur.com/DXLd9ud
Additional context
it takes a while till the data usage ramps up
seams not to happen on other other distros.
i checked with fedora and opensuse using appimage
Notify maintainers
@Patryk27
Metadata

system: "x86_64-linux"
host os: Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.1135.9b5328b7f761
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.2
channels(root): "nixos-24.05"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Add a :+1: reaction to issues you find important.

Hi, sorry for late answer, notification got lost - to be fair, I'm not sure what can be causing this behavior; the Nix version doesn't do any fancy things (it mostly unpacks the archive and prepares it for Nix to consume), we don't add any changes to the source code etc.
Is it still happening to you after this couple of weeks?

Hi, sorry for late answer, notification got lost - to be fair, I'm not sure what can be causing this behavior; the Nix version doesn't do any fancy things (it just unpacks the archive and prepares it for Nix to consume), we don't add any changes to the source code etc.
Is it still happening to you after this couple of weeks?

the issue seam to be file indexing fixed it by exempt */pclaoud from indexing

I see, interesting!
Hope you don't mind me closing this issue, then - I don't think there's much we can do from Nix/NixOS's side here.


iPad portrait

I am having an issue with an iPad Air in portrait mode. It doesnt take the full height of the screen.
Have also tested using the example on here.

Have you tried flex: 1 for your views? Do you have your View stretched correctly without side menu?
To give you more feedback, I need screenshot and version of react-native and plugin you're using.

i have react native version 0.6, and the side menu version 0.9.0 .
I am sending pictures of how it looks like by just putting the menu item , or just putting the content.
flex : 1 is on all these components.

@Kureev

Wow, that's really weird, I'll take a look

@alinz fyi, mb you have any thoughts so far?

i have found a hackish solution around it.
i used react-native-device module, and set the height of the container view using the height provided and it seems to work. but it would be really helpful if its sorted out.

so if the issue is in the wrong height of the wrapper element - it's good, I can manage it easily. Thanks for this feedback, it'll scope my research and save my time ;)

@jawadrehman You know, I took a look on implementation, and honestly I don't like it (I mean react-native-device). I prefer that kind of check made on iOS part. There is a nice gist for that https://gist.github.com/Jaybles/1323251 and I think I gonna implement that in the nearest future and plug it in as a dependency for side menu. That would help I guess.

but why would you need to set the height, isnt there a way of using flex to
do this ?
On Fri, Jul 10, 2015 at 1:04 PM, Alexey<EMAIL_ADDRESS>wrote:

@jawadrehman https://github.com/jawadrehman You know, I took a look on
implementation, and honestly I don't like it (I mean react-native-device).
I prefer that kind of check made on iOS part. There is a nice gist for that
https://gist.github.com/Jaybles/1323251 and I think I gonna implement
that in the nearest future and plug it in as a dependency for side menu.
That would help I guess.
—
Reply to this email directly or view it on GitHub
https://github.com/Kureev/react-native-side-menu/issues/65#issuecomment-120395767
.

because we already use it https://github.com/Kureev/react-native-side-menu/blob/master/styles.js#L10 and it seems not working.

@jawadrehman btw, are you sure your bottom menu haven't any weird paddingTop or something?

" width: deviceScreen.width,height: deviceScreen.height, " whats that about
?
On Fri, Jul 10, 2015 at 1:19 PM, Alexey<EMAIL_ADDRESS>wrote:

because we already use it
https://github.com/Kureev/react-native-side-menu/blob/master/styles.js#L10
and it seems not working.
—
Reply to this email directly or view it on GitHub
https://github.com/Kureev/react-native-side-menu/issues/65#issuecomment-120397845
.

I have tried the example code, without the tab bar and navbar and it still
has that padding left at the bottom .
On Fri, Jul 10, 2015 at 1:20 PM, Alexey<EMAIL_ADDRESS>wrote:

@jawadrehman https://github.com/jawadrehman btw, are you sure your
bottom menu haven't any weird paddingTop or something?
—
Reply to this email directly or view it on GitHub
https://github.com/Kureev/react-native-side-menu/issues/65#issuecomment-120398168
.

Yeah, that's weird. Maybe you're right about deviceScreen, until scroll it should works fine, but then it breaks, right?

nah, it just has that padding as soon as the screen loads
On Fri, Jul 10, 2015 at 1:24 PM, Alexey<EMAIL_ADDRESS>wrote:

Yeah, that's weird. Maybe you're right about deviceScreen, until scroll
it should works fine, but then it breaks, right?
—
Reply to this email directly or view it on GitHub
https://github.com/Kureev/react-native-side-menu/issues/65#issuecomment-120398647
.

You know, I tried to run my example on iPad Portrait and wasn't able to reproduce it. I'm running react-native 0.7.1 and react-native-side-menu 0.9.5. Maybe update to latest version would solve your issue?

@brentvatne

probably the same as #82

Ok, we're not supporting RN0.6 any more, I will reopen you'll be able to experience this with latest version.


Anonymous users

It should be possible to use the gateway without account registration, for getting-started cases.

With suitable defences against misuse

Part of m-ld/sustainable-web-apps#5

[x] naming flag in Account
[ ] Allow anonymous use of socket.io id naming is uuid
[ ] Get config for unregistered subdomain with UUID name
[ ] Documentation

The conflation of UUID subdomain naming with anonymous access does not make intuitive sense, and does not allow stronger authentication for UUID (unmanaged, non-backed-up) domains, or conversely, weaker authentication for named subdomains. Switching to two flags:

naming?: 'uuid' controls whether unmanaged UUID subdomains are allowed.
remotesAuth: 'anon' | 'key' | 'jwt' controls what authentication schemes are allowed. For named subdomains, these could be overridden on a per-subdomain basis, in future.

Note that creating a named domain always requires HTTP Authorization; i.e. it's not possible to domain-squat on an anon account without authorisation.


omegaconf.errors.ConfigAttributeError: Missing key filter_params

How to setting in yaml?

How to setting in yaml?

Please refer to the .yaml files in examples/AnimateDiff/configs/prompts/freeinit_examples/ as examples.


Linux premium image does not have libraries needed to run headless Chrome

Running PuppeteerSharp on an Azure Functions Linux premium plan reports the error below, however it works fine on a Linux consumption plan. Would it be possible to get the libraries required to run headless Chrome, like libX11, added to the Linux premium images?
/tmp/Linux-706915/chrome-linux/chrome: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

These are the App Service plans I tested:
Doesn't work (Premium)
const appServicePlan = new appservice.Plan(appServicePlanName, {
  reserved: true,
  kind: "elastic",
  sku: { tier: "ElasticPremium", size: "EP1" },
});

Works fine (Consumption)
const appServicePlan = new appservice.Plan(appServicePlanName, {
  reserved: true,
  kind: "FunctionApp",
  sku: { tier: "Dynamic", size: "Y1" },
});

Here's the C# .NET Core 3.1 application code running in my Azure Function:
var browserFetcherOptions = new BrowserFetcherOptions { Path = Path.GetTempPath() };
var browserFetcher = await new BrowserFetcher(browserFetcherOptions).DownloadAsync(BrowserFetcher.DefaultRevision);
var browser = await Puppeteer.LaunchAsync(new LaunchOptions
{
    Headless = true,
    ExecutablePath = browserFetcher.ExecutablePath
});
using var page = await browser.NewPageAsync();
await page.GoToAsync(baseUrl);

Thanks for reporting this. Looks like the headless Chromium dependencies are in the consumption .NET images but not the premium ones. @ahmelsayed Could you please take a look?

+ @divyagandhii also

+ @divyagandhii also

This is something that is blocking one of my projects as well. Would be great if we could have it fixed.
Do we have any ETA for fixing it?
If help is needed, I could try to fix and submit a PR
let me know.
thanks!

This is something that is blocking one of my projects as well. Would be great if we could have it fixed.
Do we have any ETA for fixing it?
If help is needed, I could try to fix and submit a PR
let me know.
thanks!

As a workaround you can try building your own image (based of functions blessed images) and include the debian dependencies listed under
https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix

As a workaround you can try building your own image (based of functions blessed images) and include the debian dependencies listed under
https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix

Sorry I missed this issue. The chrome-headless deps were only in node images. This https://github.com/Azure/azure-functions-docker/pull/368  should add it to dotnet images used in appservice as well.

Sorry I missed this issue. The chrome-headless deps were only in node images. This https://github.com/Azure/azure-functions-docker/pull/368  should add it to dotnet images used in appservice as well.

@ahmelsayed I saw you fixed #368, how long it takes to replicate? I just deploy a new Azure Functions and still getting errors, it does not seem to be using an image with your changes yet.
thanks!

@ahmelsayed I saw you fixed #368, how long it takes to replicate? I just deploy a new Azure Functions and still getting errors, it does not seem to be using an image with your changes yet.
thanks!

We just finished deploying https://github.com/Azure/azure-functions-host/releases/tag/v3.0.15277 today. So the earliest the next release could begin is in a week's time. Will that work?

We just finished deploying https://github.com/Azure/azure-functions-host/releases/tag/v3.0.15277 today. So the earliest the next release could begin is in a week's time. Will that work?

Hi @balag0 any updates on this? I deployed a new function last night and still hitting the errors.
let me know.
thanks,
Gustavo.

New image with functions host Version 3.0.15405 is currently being deployed (which has the fix) and should complete tomorrow. If you can share your app name I can give you a more accurate status as well - https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately

Hi,
Even though the last message seems to say the opposite the libraries seem to be missing still. Or is it me missing something?
Thanks

Hi @balag0
I just moved from Consumption Plan to Premium Plan and I seem to be facing the same issue as described here by ChrisFulstow.
Is it possible this was never fixed?
Info:
.NET 6 with runtime dotnet-isolated and linuxFxVersion '"DOTNET-ISOLATED|6.0"'

Unfortunately the host v4 images for .NET 6, either isolated or in-process Azure Functions are also missing the required dependencies to run chromium. This is due to a deprecated package in the Linux Debian 11 distribution (bullseye). See linked issue: https://github.com/Azure/azure-functions-docker/issues/451
For reference see the comments in the host v4 templates:
https://github.com/Azure/azure-functions-docker/blob/aff9709f851bd75526045f4a84cec64e84956699/host/4/bullseye/amd64/dotnet/dotnet-isolated/dotnet-isolated-composite.template#L33
https://github.com/Azure/azure-functions-docker/blob/aff9709f851bd75526045f4a84cec64e84956699/host/4/bullseye/amd64/dotnet/dotnet-inproc/dotnet-composite.template#L28

@nyds : That's odd, I've been running PuppeterSharp with chromium on dotnet 6 isolated from the consumption plan for a few months now.
Do you know what NET6.0 images on the consumption plan are used?

@trustii-mbroy Sadly I have no idea, there's hardly any documentation on the images used across the different plans. I also can't say whether it will break on the Consumption plan in the future. My earlier comment was solely based on a bit of research I did to figure out why it didn't work.

I've rebuilt the dotnet6-isolated image locally and replaced libappindicator1 for it's successor libayatana-appindicator3-1. After this the image builds correctly and can be used as a function host container to run headless chrome.

Thank you all for identifying this issue with our deprecated dependency.  I have just addressed this in all v4 images and the fix should be released starting in the 4.10.0 release cycle. I will keep this issue open until I am able to merge the PR.

https://github.com/Azure/azure-functions-docker/issues/815
This issue has been resolved in Node 14/16/18 images as of 4.15.2 release. Deployment expected end of February

@CooperLink does this fix the issue for those using .NET and Premium Functions?
I have code that works perfectly in the Consumption Linux environment, but fails in the Premium due to missing libraries.

Any updates?


Update Contributor guidelines for GitHub Issues activation

Collection of stuff that has to be changed when switching over to Github issues:
https://cordova.apache.org/contribute/

Change "View All Issues" and replace Issue Search

https://cordova.apache.org/contribute/issues.html

Remove references to JIRA
Remove "Issue Priority"
Add link to new page that will be created via #860

https://cordova.apache.org/contribute/contribute_guidelines.html

Remove references to JIRA
Simplify "Making Pull requests" and "Git Commit Messages"

Anything missing?

I will need some more time to look through Cordova to verify that nothing is missing.

I broadened the scope of this by creating https://github.com/apache/cordova-contribute as a central repository that contains all contributor documentation. Depending on how this turns out, we might want to pull in the files from that repo to the public website - or just link it from the appropriate places.

https://github.com/apache/cordova-contribute

Does not seem to have issues enabled

As usual with new Github repositories by Apache. But that's ok for now, I will take care of it as soon as I officially announced it to the dev list and "started" it with some PRs for content.


Explore ERC support

Problem
The Smart Contract service has E2E support for multiple ERC's given the EVM equivalence protocol journey and RPC support.
We should capture which all
Solution
Explore ERCs w examples or references

[x] EIP 20
[x] EIP 721
[x] EIP 777
[x] EIP 1155

Where possible we should add examples utilizing ERCs, HTS or other system contract or at the least provide a link to OZ examples to show coverage.
These should be broken out into separate tickets addressing the ask
Alternatives
No response

Close as done


Remove AppViewUtils.resetChangeDetection()

This API is deprecated and should be removed in 6.0.0.

This was removed in 50b5e15a9c13589385c9e218c5ac374213860e2e.
@matanlurey Since this is technically a major breaking change, does this mean our next release will be 6.0.0, or will we make an exception for this relatively unused API?


Add GitLab Container Registry to Registry Docs

Thanks, but please sign the commit for DCO
https://github.com/apps/dco
(run git commit -a -s --amend, and make sure that the Signed-off-by: NAME <EMAIL> line with your real name is included in the commit message)

@AkihiroSuda done

@gaffneyd4 would you please squash commits

@fahedouch done


Windows alternate user source access for remote_file

Windows remote_file resource with alternate credentials
The remote_file resource now supports the use of credentials on Windows when accessing
a remote UNC path on Windows such as \\myserver\myshare\mydirectory\myfile.txt. This
allows access to the file at that path location  even if the Chef client process identity does
not have permission to access the file. The new properties remote_user,
remote_domain, and remote_user_password may be used to specify credentials
with access to the remote file so that it may be read.
Properties
The following properties are new for the remote_file resource:

remote_user
Ruby types: String
Windows only: The user name of a user with access to the remote file specified
by the source property. Default value: nil. The user name may optionally be specifed
with a domain, i.e. domain\user or<EMAIL_ADDRESS>via Universal Principal Name (UPN)
format. It can also be specified without a domain simply as user if the domain is
instead specified using the remote_user_domain attribute. Note that this property is ignored
if source is not a UNC path. If this property is specified, the remote_user_password
property must be specified.
remote_user_password
Ruby types String
Windows only: The password of the user specified by the remote_user property.
Default value: nil. This property is mandatory if remote_user is specified and may only
be specified if remote_user is specified. The sensitive property for this resource will
automatically be set to true if remote_user_password is specified.
remote_user_domain
Ruby types String
Windows only: The domain of the user user specified by the remote_user property.
Default value: nil. If not specified, the user and password properties specified
by the remote_user and remote_user_password properties will be used to authenticate
that user against the domain in which the system hosting the UNC path specified via source
is joined, or if that system is not joined to a domain it will authenticate the user
as a local account on that system. An alternative way to specify the domain is to leave
this property unspecified and specify the domain as part of the remote_user property.

Hey, just curious why this isn't merged -- it's still open. :)

This is replaced by #5832, so I'll close this and respond to your message there.


Update multiscales metadata for OME-NGFF v0.4

Compare the results of isyntax2raw write_tiles input.isyntax output.zarr with this PR against bioformats2raw input-file output.zarr with https://github.com/glencoesoftware/bioformats2raw/releases/tag/v0.5.0rc2 (using any brightfield slide as input, e.g. CMU-1.svs).
The output.zarr/*/.zattrs files should have similar contents in both sets of output. In particular, check the new axes and coordinateTransformations to make sure that the order is correct (should be the Zarr storage order, i.e. reverse of the OME-XML DimensionOrder). Physical pixel sizes should be included for the slide image itself, but double-check that the sizes scale appropriately for each smaller resolution. Physical sizes should not be present for the macro/label images.
All of the multiscales dictionaries should now be compliant with https://ngff.openmicroscopy.org/0.4/index.html#multiscale-md.

Also worth checking that the output of isyntax2raw write_tiles ... with this PR can still be converted to OME-TIFF using https://github.com/glencoesoftware/raw2ometiff/releases/tag/v0.3.1rc1.


Plugin UI is not as expected

i want to change the lspsaga UI from this:

to this:

and for finder from this:

to this:

its seems this is the old UI, I suggested to provide this UI its looks amazing.

compare I think now is more useful and clean

about jump it has been change long time. You like that arrow ? sometimes is not work if jump window too big or normal window a bit small.

In recent versions I did remove a lot of ui elements. The overall look is very simple. So you're disappointed by that. I can understand.

maybe i should open a new issue to listen how people think  the ui. then do some change

it just show filename I don't think is useful ..you can't see detail of the line code .

@glepnir I  just want to know if there is any UI enhancement? I just notice that you've been updating the plugin.

yep continue update . maybe one day i have new idea of ui . I will rewrite ui relate . or there have better ui design . you can show me .

@glepnir I found users looking to the previous UI to setting it up, it's super amazing and aesthetic you can scroll up and look at screenshots, maybe you want also edit the hover_doc UI now is so simple and have so much padding, it even tho you could ask the users how they want the UI


[🐞] How to create a Form in Qwik to be deployed in Vercel?

Which component is affected?
Qwik City (routing)
Describe the bug
I have created a minimal reproduction in a Qwik empty project, using the static adapter. Take a look first:
Github Project Repository
Vercel Project
Get Code
git clone https://github.com/Maikpwwq/qwik-ssg-modular-forms.git
cd ./qwik-ssg-modular-forms
pnpm i
pnpm run start

Take into account I am trying to build just a simple Form in Qwik. I just need to sent it, that's because I am using my keys to access Mongo Or Supabase.
Reproduction
https://github.com/Maikpwwq/qwik-ssg-modular-forms
Steps to reproduce
Follow those steps to create Qwik empty project, then use pnpm run qwik add  to add adapter to SSG this because Vercel use static content. Then create modular-forms: It works in local, when it is deployed to Vercel doesn't works.
System Info
System:
    OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 2.19 GB / 15.00 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.1.0 - ~/.nvm/versions/node/v20.1.0/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.6.4 - ~/.nvm/versions/node/v20.1.0/bin/npm
    pnpm: 8.6.12 - ~/.local/share/pnpm/pnpm
  npmPackages:
    @builder.io/qwik: ^1.2.6 => 1.2.6
    @builder.io/qwik-city: ^1.2.6 => 1.2.6
    @builder.io/qwik-react: 0.5.0 => 0.5.0
    undici: 5.22.1 => 5.22.1
    vite: 4.4.0 => 4.4.0

Additional Information
No response

You can't use formAction$ with static content. There is no server, it is SSG. This can't work. You need to deploy to edge environment to use formAction$.

Ok, so I update my Form project to use Vercel Edge Adapter witch disable that SSG. I also have installed and implemented polyfills to vite.config.js using plugin import { nodePolyfills } from 'vite-plugin-node-polyfills'. Is important to notice that some packages needs to be pre-processed by Vite in production using noExternal. My file vite.config.ts:
import { defineConfig } from "vite";
import { qwikVite } from<EMAIL_ADDRESS>import { qwikCity } from<EMAIL_ADDRESS>import tsconfigPaths from "vite-tsconfig-paths";
import { qwikReact } from<EMAIL_ADDRESS>import { nodePolyfills } from 'vite-plugin-node-polyfills'

const isProd = process.env.NODE_ENV === 'production'

const noExternal: string[] = []
if (isProd) {
    noExternal.push(
        ...[
            // Needs to be pre-processed by Vite in production
            '@mui/base',
            '@mui/icons-material',
            '@mui/material',
            '@mui/utils',
            '@mui/x-data-grid',
            '@emotion/react',
            '@emotion/styled',
            'mongodb',
            'mongoose',
            'uuid',
            'clsx',
            'undici',
            '@supabase*',
        ]
    )
}

export default defineConfig(() => {
  return {
    plugins: [
      nodePolyfills({
        // To exclude specific polyfills, add them to this list.
        exclude: [
          'fs', // Excludes the polyfill for `fs` and `node:fs`.
        ],
        // Whether to polyfill specific globals.
        globals: {
          Buffer: true, // can also be 'build', 'dev', or false
          global: true,
          process: true,
        },
        // Whether to polyfill `node:` protocol imports.
        // protocolImports: true,
      }),
      qwikCity(), qwikVite(), tsconfigPaths(), qwikReact()
    ],
    preview: {
      headers: {
        "Cache-Control": "public, max-age=600",
      },
    },
    ssr: {
      noExternal
    },
  };
});

In my local the project works well, for both forms storing data with MongoDB and with Supabase. But In Vercel deployed version it not works yet.

Can you send me a URL to the deplayed application so I can better understand what the browser is seeing?

@mhevery this is my vercel domain https://qwik-app-psi-sable.vercel.app/

Here is a simple repo and it's working like a charm.
GH Repo
Vercel deploy

SSG this because Vercel use static content

This is not true, Vercel has SSR too.
Please use the Vercel integration

Here is a simple repo with routeAction$ and it's working like a charm. GH Repo Vercel deploy

I watched your code example implementing routeAction$, but that async function you created doesn't make any await call, qwik render correctly the form and the client interaction, even though I am facing issues with the server when publishing my changes into DB.

SSG this because Vercel use static content

This is not true, Vercel has SSR too. Please use the Vercel integration

How I comment previously, currently my project was updated and now it uses Vercel Edge Adapter.
I was no clear about that, I first try to deploy in netlify, but have issues because there is no index.html file in Qwik projects. That was why I tried with static generation with Qwik.

routeAction$ is working. Let's continue this discussion in Qwik Discord, this is not the right place for this kind of assistance.


index async with very large dataset

Hi, I have a list with about 10,000 items. If I don't use idexAsync = true, the list freezes. However, I have a situation where I have to fire an event right after the list is loaded (basically right after indexing operation is complete).  Is there an event in list, which lets me know when indexing operation is complete? Thanks.

updated event?

I tried using updated event. But since I call list.filter() in the callback attached to the updated event which further calls update method.. This is causing a recursion: "Uncaught RangeError: Maximum call stack size exceeded".

Solved this using jquery callbacks.

Hello! I have the same question. But I couldn't figure out how to use this indexAsync option using Example 3: Create list on initialization: Version 2. Do you do something like and if so is there anything else I should be doing? I only have less than 2,000 records it seems to be blank.
var options = {
item: 'hacker-item',
indexAsync: true
};
// let say 2K records here instead of two
var values = [
{ name: 'Jonny', city:'Stockholm' }
, { name: 'Jonas', city:'Berlin' }
];
var hackerList = new List('hacker-list', options, values);


Lower tslib dependency

Could you lower tslib "^2.4.0" to tslib@^2, so (ironically) adding yarn-deduplicate to yarn.lock wouldn't add another entry to yarn.lock because some packages have<EMAIL_ADDRESS>dependency:
✖  grep ^tslib yarn.lock
tslib@^1, <EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>tslib@^2, <EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

It was bumped by dependabot:

https://github.com/scinos/yarn-deduplicate/commit/fcfee18fa51af03b7a08cd8aaa750ce5686f8796

Using tslib@^2 would mean it would be ok for this project to use tslib 2.0.0, which is not compatible (according to their release notes) to latest TypeScript, so I would need to downgrade TypeScript too. Is not a change I'm eager to make unless there is a very strong reason.
May I suggest you use resolutions to force those packages (packages that depend on<EMAIL_ADDRESS>to depend on tslib@^2 instead?

This was just an idea, the tslib duplicates aren't that big, so it's not a major issue.


Use MySQL 8 ODBC drivers for MariaDB

Using a modified build of the testing environment, I was able to watch all unit tests and core tests pass for an iRODS server with MariaDB 11.4.
The key to this was:

Using the MySQL 8.0.33 ODBC driver

I modified odbc_setup.py to download the MySQL 8 ODBC driver when launching MariaDB 11.4
The MariaDB ODBC driver appears to have a bug related to the use of SQLRowCount

Passing the following command line options to MariaDB (in the docker-compose.yml file)

--transaction_isolation=READ-COMMITTED
--character_set_server=utf8mb4
--collation_server=utf8mb4_bin

The testing environment needs to be updated to use the MySQL 8 ODBC drivers until we find a suitable MariaDB ODBC driver.

I only tried this with the MySQL 8.0.33 ODBC driver, but I believe the outcome would be the same if some other version of the MySQL 8 ODBC driver were used (e.g. v8.4.x).

Related to https://github.com/irods/irods_testing_environment/issues/223

I'll take care of this today

The MariaDB ODBC driver appears to have a bug related to the use of SQLRowCount

Their issue tracker is here if you want to open an issue about it (if there isn't one already).

Will take a look.


Remove updateKeys due to PATCH http method

The HTTP PATCH method has just been introduced in Meilisearch following the release of v0.25.0.
This method should be used in the new updateKey() method but it didn't pass the CI test so this method has been removed.

@alallema could you please, create an issue about this and make this PR as a reference?

bors merge


Add GitHub OAuth

GitHub OAuth. Follow this guide: Login with GitHub

Noice

@Fryingpannn this is up to date and should be good to merge preferably before the UI changes of the auth pages get pushed.

Will fix merge conflicts

Moving these changes to

https://github.com/trypear/pear-landing-page/pull/42


404 page (SOFTWARE-3253)

This time without the http.cat/404 image.

Can you give the website for the help desk ask well?  Maybe https://support.opensciencegrid.org/support/tickets/new ?

@djw8605, hopefully this is what you had in mind, but let me know if you'd like more flowery language.


fix: lint added/modified files only

Description
Makes no sense to always validate all files. It's enough to validate the added/modified files only. This PR configures the dorny/paths-filter action to

list added/modified files only
configures the actions for markdown, workflows and yaml to process these files only

Verification
During development within this branch.

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


Get rid of  component

in MC we have abstracted on this so much it made things unbearably complex. come to think of it here're some reasons to get rid of it:

pretty much any routing library / meta react framework has its own Link component.
it provides nothing specially useful.
links are rendered in a variety of ways depending on your app so even a common style is not really helpful.

@utkukaratas But in our case we use it at least for a consistent styling. At least in CloudUI we just wrap it into the Link component from NextJS, so the Link from Next provides functionality, and the Link from HIVE provides styling.
If we remove the Link in HVE then we might lose that consistent styling...


Add support for 64bit systems when looking for libmodsecurity

Hi,
configure fails on 64bit system since find_libsec macros does not look in /usr and <?>/lib64/
NB. This also will help modsec v3 packaging.

About the CI tests, it seems that httpd 2.4.27 tarballs have been moved somewhere else (returns 404).
$ export VER_APACHE=2.4.27
$ curl -I https://www.apache.org/dist/httpd/httpd-${VER_APACHE}.tar.gz
HTTP/1.1 404 Not Found
Date: Sat, 28 Oct 2017 12:48:17 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Type: text/html; charset=iso-8859-1

Merged! Thanks!


Fix entry name from npm registry for installation

I attempted to install the tool using the instructions in the README. When executing "npm install -g replace-jQuery", the response report 'replace-jQuery@*' is not in the npm registry.. However, "'replace-jquery" and it appears to be authored by @sachinchoolur, but perhaps npm dropped the capitalization.
Regardless, this PR changes the README to allow for installation based on the name in npm.

@Amorymeltzer The shell commands using camelcase (i.e., replace-jQuery) work as-is despite the package name, when installed from npm, requiring the name to be all lowercase.

Sure.  I figured it might as well match, esp. the executable, but it ain't a big deal.

Yes, it should be npm i replace-jquery https://www.npmjs.com/package/replace-jquery
Thank you  👍🏻


Combine EOmaps with streamlit?

Hi Raphael, I just suddenly came up with an idea. What if you or somebody (perhaps me), try to combine EOmaps with Streamlit?
I guess one benefit will be that more users with little or no Python knowledge can be able to use your EOmaps tools, at least locally.
I understand that a Streamlit APP can be quite big in size. But if just running them locally, then it may not be a big problem? Once a Streamlit App is built by an experienced Python user in a group, he/she can pass it to other users, who will just use the Streamlit APP to carry on some routine analysis?
I am just thinking, not sure about feasibility, challenges, whether it is worth the effort and time.

Hey, sorry for taking so long to respond!
I don't have any prior experience with streamlit but I can try to comment a bit on this...
As I see it streamlit seems to focus on web-apps and therefore I would see it more with packages that focus on wrapping javascript libraries like plotly holoviews etc..
If you want a gui wrapped around EOmaps for data-analysis, using Qt5, wxpython or tkinter is probably a more straight-forward way to go to build yourself a custom interface since matplotlib figures can easily be embedded in those frameworks.
(have a look at the companion-widget for an example how to interact with a Qt5 widget)
... concerning installing...

since EOmaps is on conda-forge, installing is as simple as running mamba install eomaps in a fresh environment, so that shouldn't actually be much of a problem...
... if you want to have something pre-configured, you could build yourself a docker-container?


Missing comma causes dataset crash

Missing comma in line 28 of config causes dataset to raise KeyError. Adding comma at the end of the line solves the issue. Full traceback:
$ python train.py
Experiment name resnet18_samp_aaff_wemd4

Create experiment directory:  (path)/samp-code/SAMPNet/./experiments/resnet18_samp_aaff_wemd4
Backup  test.py
Backup  train.py
Backup  cadb_dataset.py
Backup  samp_net.py
Backup  samp_module.py
Backup  config.py
Saliency-aware Multi-Pattern Pooling pattern: [1, 2, 3, 4, 5, 6, 7, 8], fusion manner: sum, dropout: 0.5
Create tensorboardX writer... (path)/samp-code/SAMPNet/./experiments/resnet18_samp_aaff_wemd4/logs
Traceback (most recent call last):
  File "train.py", line 258, in <module>
    trainer.run()
  File "train.py", line 99, in run
    self.run_epoch()
  File "train.py", line 168, in run_epoch
    for batch, data in enumerate(self.trainloader):
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in __next__
    data = self._next_data()
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
    return self._process_data(data)
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
    data.reraise()
  File "(path)/venv/lib/python3.8/site-packages/torch/_utils.py", line 434, in reraise
    raise exception
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
    data = fetcher.fetch(index)
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "(path)/venv/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "(path)/samp-code/SAMPNet/cadb_dataset.py", line 91, in __getitem__
    attrs = torch.tensor(self.get_attribute(image_name))
  File "(path)/samp-code/SAMPNet/cadb_dataset.py", line 104, in get_attribute
    attrs = [all_attrs[k] for k in self.attr_types]
  File "(path)/samp-code/SAMPNet/cadb_dataset.py", line 104, in <listcomp>
    attrs = [all_attrs[k] for k in self.attr_types]
KeyError: 'DoFObject'

Thanks for reminding, and I have fixed it.


How to validate the api using token

How To authenticate api using token
I had tried both the way
1.) Authorization: Bearer {yourtokenhere}
2.) http://api.mysite.com/me?token={yourtokenhere}

I got the issue
I regenerate of token solved the issue by using below command.
php artisan jwt:secret


JSX closing 'element' tags - styling bug

I'm experiencing the following issue with the JSX closing tags. It appears to only happen when I use Babel ES6 Highlighting.

See https://github.com/gandm/language-babel/issues/141 it's most likely a problem with your atom setup.

Thanks, after enabling SHadow DOM and a restart, it now works correctly. Its interesting that Atom advises to disable the feature if you are having a styling issue, yet that is what caused my issue. :)

Only disable if you have issues with old packages that were prior to shadow dom support. New packages should have it ticked.


Cannot read property 'x' of undefined

Expected behavior
Should be able to execute script without encountering an exception
Actual behavior
Getting the exception
TypeError: Cannot read property 'x' of undefined
    at click (.../taiko/lib/taiko.js:862:48)
    at module.exports.(anonymous function) (.../taiko/lib/taiko.js:2896:42)
    at global.(anonymous function) (.../taiko/bin/runFile.js:25:45)
    at .../taikoTestCases/clearTrip.js:28:15

Steps to reproduce

Execute the script

const { openBrowser, goto, toLeftOf, radioButton, click, below, text, inputField, into, write, reload, focus, press, link, comboBox } = require('taiko');

(async () => {
    try {
        await openBrowser({headless:false});
        await goto("cleartrip.com");
        await focus(inputField(below(text("From"))));
        await write("Bangalore, IN - Kempegowda International Airport (BLR)",into(inputField(below(text("From")))),{delay:100});
        await press("Enter");
        await click(comboBox({"id":"Adults"}));
        await comboBox({"id":"Adults"}).select("2")
    } catch (e) {
        console.error(e);
    } finally {
        closeBrowser();
    }
})();

The above exception occurs

Versions
commit - 7a49c17886d51b619dcfa53717fd88518d6499dc

Couldn't replicate the issue, seeing the error message looks like it could happen only with await click() where no selector or coordinates is passed to click.

It is quite consistent for me with the above script.
This is how the execution details look like
✔ Browser opened
 ✔ Navigated to URL http://cleartrip.com
 ✔ Wrote Bangalore, IN - Kempegowda International Airport (BLR) into the text field Below From
 ✔ Pressed the Enter key
 ✔ Wrote New Delhi, IN - Indira Gandhi Airport (DEL) into the text field Below To
 ✔ Pressed the Enter key
TypeError: Cannot read property 'x' of undefined
    at click (.../taiko/lib/taiko.js:862:48)
    at module.exports.(anonymous function) (.../taiko/lib/taiko.js:2896:42)
    at global.(anonymous function) (.../taiko/bin/runFile.js:25:45)
    at .../taikoTestCases/clearTrip.js:28:15
 ✔ Browser closed

Yes, it is because of the wrong usage of the API


Repo sync for protected CLA branch

The pull request is created from master637346847132347638 to master to fix git push error for protected CLA branch

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


Generate host functions in the plugin for use as a reusable library/SDK

Description of changes:
This PR makes it possible to generate a plugin consisting only of host functions that can be built into other plugins. Allows to create and distribute resusable SDK/library solutions that are compatible with this plugin.
The following changes have been made

[x] Able to specify wasm-module name ("env" by default if not specified")
[x] Exported Instantiate function for host functions
[x] PR specific test
[ ] Documentation adoption

Motivation
The wazero library allows you to create host functions and libraries based on them in golang, which can be used in any golang application. However, in some cases, the code that is generated by this plugin must be the source for other plugins, i.e. represent some standard interfaces that need to be implemented and a strict set of specific functions that can or should be used to access the host system.
For example, it can be a plugin that is an extension of the Kubernetes operator functionality that implements some small peace of logic. This plugin already has a simple description and generation of host functions with the described interaction interface in the form of gRPC. Eventually, it will be possible to write wrapper functions to easily interact with host functions and package them as a library or SDK.
Embedding libraries into the plugin should be implemented based on code introduced in #28
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for putting this together. I mostly understand. Can you help me understand fully by adding to the description a summary of the motivation? For example, what concrete problem were you solving before this change and how does it look afterwards. For example, an http handler or something? For example, I'm wondering if you are making an SDK and to what precisely "foreign" will mean in practice. This will help!

Thanks for putting this together. I mostly understand. Can you help me understand fully by adding to the description a summary of the motivation? For example, what concrete problem were you solving before this change and how does it look afterwards. For example, an http handler or something? For example, I'm wondering if you are making an SDK and to what precisely "foreign" will mean in practice. This will help!

Thanks for review and provided feedback. Added motivation description in the PR summary.
If this proposal is accepted by the community, I will add more documentation on these changes.

in the middle of release candidate which should be out tomorrow. If I don't respond in 2 days please nag me!


Activating windows feature fails

Description
I'm building a new pipeline for image generation.
Unfortunately I'm running into issues with Windows and receive an error. I've tried to use both Windows 2019 and 2022.
I'm building from the main branch.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[X] Windows Server 2019
[X] Windows Server 2022

Image version and build link
n/a
Is it regression?
no, it is our first attempt
Expected behavior
No error is produced and the script 'Install-WindowsFeatures.ps1' runs as expected.
Actual behavior
I get the following error:
==> azure-arm.image: Provisioning with powershell script: /agent/_work/1/s/rivm-cpt/runner-images/images/windows/templates/../scripts/build/Install-WindowsFeatures.ps1
    azure-arm.image: Activating Windows Feature 'NET-Framework-Features'...
==> azure-arm.image: Install-WindowsFeature : The request to add or remove features on the specified server failed.
==> azure-arm.image: Installation of one or more roles, role services, or features failed. Error: 0x80072f8f
==> azure-arm.image: At C:\Windows\Temp\script-65e82cba-1f7e-bb8c-ac59-5ed8a4244424.ps1:21 char:19
==> azure-arm.image: +         $result = Install-WindowsFeature @arguments
==> azure-arm.image: +                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.image:     + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
==> azure-arm.image:     Exception
==> azure-arm.image:     + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
==> azure-arm.image:    owsFeatureCommand
==> azure-arm.image: Failed to activate Windows Feature 'NET-Framework-Features'
==> azure-arm.image: At C:\Windows\Temp\script-65e82cba-1f7e-bb8c-ac59-5ed8a4244424.ps1:29 char:9
==> azure-arm.image: +         throw "Failed to activate Windows Feature '$($feature.name)'"
==> azure-arm.image: +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.image:     + CategoryInfo          : OperationStopped: (Failed to activ...ework-Features':String) [], RuntimeException
==> azure-arm.image:     + FullyQualifiedErrorId : Failed to activate Windows Feature 'NET-Framework-Features'

Repro steps
I'm running packer using the following command:
packer build -on-error=abort -var install_password=$installPassword -var managed_image_resource_group_name=$ManagedImageResourceGroupName -var build_resource_group_name=$BuildResourceGroupName -var virtual_network_name=$VirtualNetworkName -var virtual_network_resource_group_name=$VirtualNetworkRG -var virtual_network_subnet_name=$VirtualNetworkSubnet -var image_version=$ImageReleaseVersion -var managed_image_name=$ManagedImageName -var vm_size=$VMSizeName -color=false $TemplatePath
The packer file https://github.com/actions/runner-images/blob/main/images/windows/templates/windows-2019.pkr.hcl is used without modification.

Hey @robertreemsrivm!
It could be a transient issue. Night builds went fine: windows-2022, windows-2019. I'll check how it's going now here: windows-2022, windows-2019.

Yes, the assembly passes the specified moment on both images. I recommend just trying again.


Can't send from IP on local network

Context
Currently have Docker-Mailserver up and running on a PI and it is running great.
I can cannot to it via IMAP/SMTP from my mobile client and all is well.
Now, I am trying to setup one of my devices on the local network (outside of Docker) to send via SMTP port 587 but all attempts have failed.
Expected Behavior
Expecting to use SMTP port 587 (authenticated with valid user) and send email through Docker-MailServer.
Actual Behavior
Attempting to send results in:
Using port 587
mail    | Jul  1 17:08:53 mail postfix/submission/smtpd[2560]: connect from raspberrypi[<IP_ADDRESS>]
mail    | Jul  1 17:08:53 mail postfix/submission/smtpd[2560]: Anonymous TLS connection established from raspberrypi[<IP_ADDRESS>]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
mail    | Jul  1 17:08:53 mail postfix/submission/smtpd[2560]: lost connection after STARTTLS from raspberrypi[<IP_ADDRESS>]
mail    | Jul  1 17:08:53 mail postfix/submission/smtpd[2560]: disconnect from raspberrypi[<IP_ADDRESS>] ehlo=1 starttls=1 commands=2

Using port 25
mail    | Jul  1 17:09:31 mail postfix/postscreen[2711]: CONNECT from [<IP_ADDRESS>]:52942 to [<IP_ADDRESS>]:25
mail    | Jul  1 17:09:31 mail postfix/dnsblog[2716]: addr <IP_ADDRESS> listed by domain list.dnswl.org as <IP_ADDRESS>
mail    | Jul  1 17:09:31 mail postfix/postscreen[2711]: PASS OLD [<IP_ADDRESS>]:52942
mail    | Jul  1 17:09:31 mail postfix/smtpd[2719]: connect from raspberrypi[<IP_ADDRESS>]
mail    | Jul  1 17:09:32 mail postfix/smtpd[2719]: 0AE39461754: client=raspberrypi[<IP_ADDRESS>], sasl_method=LOGIN<EMAIL_ADDRESS>mail    | Jul  1 17:09:32 mail postfix/smtpd[2719]: lost connection after DATA (0 bytes) from raspberrypi[<IP_ADDRESS>]
mail    | Jul  1 17:09:32 mail postfix/smtpd[2719]: disconnect from raspberrypi[<IP_ADDRESS>] ehlo=1 auth=1 mail=1 rcpt=1 data=0/1 commands=4/5

Possible Fix
Allow whitelisting of client IPs.
Steps to Reproduce

Configure user for sending email
Setup user in smtp client (In this case, Unifi Controller)
Send via 587/25
Fail...

Your Environment

Amount of RAM available: 4GB
Docker version used: 18.06.1-ce

If it works from your mobile client with port 587 it should work from your other client as well. Looking at the logs the connection was lost after STARTTLS and there is nothing that indicates that the server closed the connection. Do you have logs from the client? Most likely it is doing something wrong.

Closing due to inactivity. Please reopen or file a new issue if the problem persists.


dispatch_failed for slash commands in production

Description
This is in socket_mode
I am getting dispatch_failed for slash commands in production. The slash commands work fine for my development bot. I'm trying to separate the two bots so I can develop features but only my dev bot responds to slash commands. It USED to work on my production bot. I'm having a pretty hard time figuring this out. the rest of the bot seems to work fine.
I saw other threads on this that were closed, but none of which helped me. Thanks
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:
app.command('/test', async ({ command, ack, respond, say, client }) => {
  try {
    await ack()
    await say('Ack worked')
  } catch (error) {
    console.error(error)
    void respond('There was an unknown error with your command')
  }
})

Expected result:
Works fine locally
Actual result:
Production Bot on heroku:

Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi @geoguide, thanks for asking the question!
Perhaps, this may be an issue on not your code but your infra. I would suggest double-checking the Request URL for the slash command is still valid. You can check the latest settings at https://api.slack.com/apps/{your app ID}/slash-commands. If the URL is still correct, checking if the connection between the public URL and your app running behind the load balancer is active.

@seratch I don't see the request url there maybe because I am using sockets mode?

@geoguide
The only cause that I think of is a know bug on the app config page: https://github.com/slackapi/bolt-python/issues/701#issuecomment-1220282710
If that's not your case, we may not be able to help you out as this is not an SDK issue. Sorry for bothering you but please contact our customer support agents from either /feedback in your Slack workspace or https://my.slack.com/help/requests/new . They may be able to help you as they can check the details of what's happening to your workspace and apps.

Hi @geoguide! I'm having the same issue as you. When I deploy my bot locally, the slash commands work fine, but in production from a GCP VM, I always get the dispatch_failed error. Have you been able to solve it?

🗒 Follow up issue for this is now in #2072!


Slack bot

It'd be neat to make a Slack bot that you could forward messages to

It could check URLs and complete messages potentially.


[Bug] Failed to download package: https://api.github.com/repos/BetterDiscord/BetterDiscord/releases - unable to verify the first certificate

Describe the Bug
There is log:
Starting Install...

Creating required directories...
✅ Directory exists: C:\Users\78160\AppData\Roaming\BetterDiscord
✅ Directory exists: C:\Users\78160\AppData\Roaming\BetterDiscord\data
✅ Directory exists: C:\Users\78160\AppData\Roaming\BetterDiscord\themes
✅ Directory exists: C:\Users\78160\AppData\Roaming\BetterDiscord\plugins
✅ Directories created

Downloading asar file
❌ Failed to download package https://api.github.com/repos/BetterDiscord/BetterDiscord/releases
❌ unable to verify the first certificate

The install seems to have failed. If this problem is recurring, join our discord community for support. https://discord.gg/0Tmfo5ZbORCRqbAd

To Reproduce
I first agreed to the agreement and then chose to install. After selecting the path (I changed the install path of discord), I clicked install. Suddenly, I was prompted that the ASAR file could not be downloaded. I also said that the certificate could not be verified! But I have no problem accessing this address.

Expected Behavior
I'm from the Internet. I'm going to download it to discord. I thought everything was going well, but I didn't expect this problem!

Screenshots

Discord Version
Discord Stable 124397 (2bf79b5) Host 1.0.9004 Windows 10 64-Bit (10.0.22000)

Additional Context
Nothing.

This is not the right repo, and you should get help in the Discord server rather than on GitHub regardless
https://betterdiscord.app/invite


Fix RawSocket buffer size

The buffer of RawSocket should account Ethernet header.

I don't think this is right. Could you please explain the exact rationale for this change?

sys::RawSocketDesc::recv gives the packet which might be up yo mtu bytes long plus the Ethernet header (or some other hardware header), if the packet length is not fit, it just cutoff the last bytes of payload. I actually saw it in the debugging logs.

The root cause of the bug is that Linux's MTU is the IP mtu, while smoltcp's MTU is the Ethernet MTU (ie, including the Ethernet header). The fix is to update RawSocketDesc to return the correct MTU, done in #393.
I've also opened #392 to track improving the docs. I totally see how this can be very confusing the way it is now.


statuses are not working [Minimal custom status 'w' seemingly not rendering in Minimal theme]

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
https://publish.obsidian.md/tasks/Getting+Started/Create+or+edit+Task
adding a custom task with the - [w] my win is going to show a win icon shown in the win theme

Current behaviour
I'm seeing the default checkbox instead

Steps to reproduce

install (https://publish.obsidian.md/tasks/Reference/Status+Collections/Minimal+Theme)
adding a custom task with the - [w] my win is just showing a checkbox

Which Operating Systems are you using?

[ ] Android
[X] iPhone/iPad
[X] Linux
[ ] macOS
[ ] Windows

Obsidian Version
1.4.14
Tasks Plugin Version
4.9.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
no clue

Please could you screenshot your Appearance settings and show where the Minimal theme is selected?

I am as confident as I can be that your vault does not actually have the Minimal theme enabled, or that something else is preventing its theming for custom checkboxes from being enabled.

Steps to reproduce

install (https://publish.obsidian.md/tasks/Reference/Status+Collections/Minimal+Theme)
adding a custom task with the - [w] my win is just showing a checkbox

When I do that on Mac I get:

And on iPhone I get this:

The only way I get the behaviour you show is by selecting a different theme, such as the default theme:

ahhh I also have to separately install a theme in the appearance/theme settings!

ahhh I also have to separately install a theme in the appearance/theme settings!

Yes that’s right.
I’m glad you figured it out. 😄

I can see why you missed it when starting from the Minimal page.
The intention was that people would come via this page and so already know they needed to install a CSS snippet or theme:
https://publish.obsidian.md/tasks/How+To/Style+custom+statuses

A note on that wiki or in the settings that those themes need to be set up
to work might be helpful
On Thu, Oct 5, 2023 at 10:08 AM Clare Macrae @.***>
wrote:

I can see why you missed it when starting from the Minimal page.
The intention was that people would come via this page and so already know
they needed to install a CSS snippet or theme:
https://publish.obsidian.md/tasks/How+To/Style+custom+statuses
—
Reply to this email directly, view it on GitHub
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2317#issuecomment-1748979074,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTUZTJPVHRCJ7WB7QYF5LX525PPAVCNFSM6AAAAAA5TNVOO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHE3TSMBXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

A note on that wiki or in the settings that those themes need to be set up to work might be helpful

Hi, thanks for the suggestion.
Indeed.... Here is what the settings already say... including a link to the entry-point of the documentation.

When I read this I interpreted it as clicking one of those colorful buttons below. A link here and a note that those other task states won’t work without setting that up first might be helpful. Or even a code check “has theme or css set up”. On Oct 5, 2023, at 10:30 AM, Clare Macrae @.***> wrote:
A note on that wiki or in the settings that those themes need to be set up to work might be helpful
Hi, thanks for the suggestion.
Indeed.... Here is what the settings already say... including a link to the entry-point of the documentation.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Or even a code check “has theme or css set up”.

That isn't feasible. They might be using a theme does not customise checklists - and parsing all the enabled CSS snippets is a non-starter... there are so many different ways to write the CSS, it's just not worth the effort.


Add ClinGen Haploinsufficency/Triploinsufficiency scores

Is your feature request related to a problem? Please describe.
ClinGen has curated haploinsufficiency and triploinsuffiency. We do not display this yet.
Describe the solution you'd like
Add support for this.
Describe alternatives you've considered
N/A
Additional context
N/A

Download https://search.clinicalgenome.org/kb/downloads


MGDOBR-70: add liveness and readiness probes

MGDOBR-70
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested and uses org.assertj.core.api.Assertions for Assertions
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-health</artifactId>
    </dependency>

has been added to manager, shard, ingress and executor because they will be moved to separated applications. Let me know if it's ok you otherwise I set it at runner level and we will add it the each application when we do the split

@r00ta We just need to ensure we have tickets in the backlog for shard and ingress as we start to separate things out so that we don't forget to add the liveness/readiness checks there. In particular, I'd expect the Ingress to be created dynamically by the Shard, mostly likely as a Deployment, so it's going to be an acceptance criteria of that work. I think lets add tickets to the backlog for Shard and Ingress liveness/readiness so that we don't forget them.
In reality this is liveness/readiness checks for the manager only (appreciating you've added the dependency to the pom.xml of the other components)

@r00ta We just need to ensure we have tickets in the backlog for shard and ingress as we start to separate things out so that we don't forget to add the liveness/readiness checks there. In particular, I'd expect the Ingress to be created dynamically by the Shard, mostly likely as a Deployment, so it's going to be an acceptance criteria of that work. I think lets add tickets to the backlog for Shard and Ingress liveness/readiness so that we don't forget them.
In reality this is liveness/readiness checks for the manager only (appreciating you've added the dependency to the pom.xml of the other components)

https://issues.redhat.com/browse/MGDOBR-72


Add ability to listen to Docker Cloud events

Description
The mapping between local Docker events and those in Docker Cloud isn't 100%, but the objects are pretty similar. Because of this, it would be great to be able to deploy docker-gen in a Docker Cloud stack and just flip a switch to have it generate templates based on Docker Cloud events rather than the local daemon ones.
Motivation
I've been working to provide Citus Docker resources, and found docker-gen incredibly easy to use with our product. In particular, I wanted to provide a docker-compose configuration that would listen to Docker events, regenerate a list of "worker nodes" (based on a label), and send a SIGHUP to a specific container. It works great.
Of course, my next thought was "hey, I can make this docker-compose.yml file work in Docker Cloud!". I hoped that there was some propagation of cloud events to the local Docker daemons, but no dice. As a short-term solution, I hacked up dockercloud-haproxy to generate my worker list file. It's not production ready yet, but it works.
However, this solution was one of convenience; if I knew Go better, I'd have added the go-dockercloud client to docker-gen, wrapped all client logic behind an interface, and added a switch to let users choose between normal Docker events or those emitted by Docker Cloud.
Proposal
Ideally, the same template language (or perhaps one resilient to missing fields) could be used whether using local events or cloud ones. The changes needed would look like:

Add a --cloud flag to options accepted by docker-gen
Wrap fsouza/go-dockerclient in an interface that abstracts away differences between the local/cloud APIs
Add an implementation of this interface that wraps docker/go-dockercloud, transforming its return values into those already expected by the rest of the docker-gen codebase
Key client instantiation off of the presence of the new --cloud flag

I may have some time to look into this in the coming months (I'd have to catch up on Go), but I wanted to open the feature request in case it hadn't occurred to you how empowering this could be for instantly enabling Docker Compose stacks to run on Docker Cloud using the same templates they already use with docker-gen.
Thanks for the great project!

Interesting idea.  I'm not that familiar with docker cloud so would need to look at it more.  The fields available in a template are primarily defined here: https://github.com/jwilder/docker-gen/blob/master/context.go  My main concern would be if there was not a good overlap or mapping between the local docker container struct and the cloud ones.


add function to save new task to local storage

add function to save new task to local storage

did not tread input. code does not work for now


chore: gitignore update & node-sass V5

Overview

Variance: Update gitignore for variance to prevent issues if .d.ts files get added to the src directory
Styleguide: Downgrade back to node-sass to prevent console warnings.

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages:@codecademy/gamut-icons@7.4.5-alpha.a12b2d.0@codecademy/gamut-illustrations@0.28.5-alpha.a12b2d.0@codecademy/gamut-kit@0.6.168-alpha.a12b2d.0@codecademy/gamut-labs@33.0.4-alpha.a12b2d.0@codecademy/gamut-patterns@0.8.11-alpha.a12b2d.0@codecademy/gamut-styles@14.0.2-alpha.a12b2d.0@codecademy/gamut-tests@4.0.10-alpha.a12b2d.0@codecademy/gamut@49.0.2-alpha.a12b2d.0@codecademy/markdown-overrides@0.9.8-alpha.a12b2d.0@codecademy/monaco@0.6.63-alpha.a12b2d.0@codecademy/styleguide@60.0.2-alpha.a12b2d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://62e3fbc2e5c279032aa6cd3b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@7.4.5-alpha.818cb7.0@codecademy/gamut-illustrations@0.28.5-alpha.818cb7.0@codecademy/gamut-kit@0.6.168-alpha.818cb7.0@codecademy/gamut-labs@33.0.4-alpha.818cb7.0@codecademy/gamut-patterns@0.8.11-alpha.818cb7.0@codecademy/gamut-styles@14.0.2-alpha.818cb7.0@codecademy/gamut-tests@4.0.10-alpha.818cb7.0@codecademy/gamut@49.0.2-alpha.818cb7.0@codecademy/markdown-overrides@0.9.8-alpha.818cb7.0@codecademy/monaco@0.6.63-alpha.818cb7.0@codecademy/styleguide@60.0.2-alpha.818cb7.0@codecademy/variance@0.20.2-alpha.818cb7.0


NS lookup should extract TLD

What problem has occurred? What issues has it caused?
Domains with a subdomain bypass NS checks (trivially, anything with www. before the server name).
Recent example, www.eduauraa.com should trigger watched NS but doesn't.
https://metasmoke.erwaysoftware.com/post/352164
What would you like to happen/not happen?
We already have the logic, it just needs to be applied in this section of the code, too.

So far, unable to repro. This is a pattern I have observed multiple times in the past but the basic logic is already working correctly.

@teward Do you see DNS errors around these posts? Another one just now https://metasmoke.erwaysoftware.com/post/352301

Another: https://metasmoke.erwaysoftware.com/post/352527

Another: https://metasmoke.erwaysoftware.com/post/353627

Yet another: https://metasmoke.erwaysoftware.com/post/361856

Still more: https://m.erwaysoftware.com/posts/uid/stackoverflow/72200261

Yet still another: https://metasmoke.erwaysoftware.com/post/368235

Another, I guess? https://metasmoke.erwaysoftware.com/post/368913

IDNA trouble: https://metasmoke.erwaysoftware.com/post/369464 should have triggered on watched NS mihanwebhost.com

Yet one more: https://m.erwaysoftware.com/posts/uid/stackoverflow/72486333

Another: https://metasmoke.erwaysoftware.com/post/372088 (vaguely at the same time as Metasmoke went down briefly, but I don't think it's related to that)

Yet still another: https://metasmoke.erwaysoftware.com/post/373871

Also https://metasmoke.erwaysoftware.com/post/380111

https://m.erwaysoftware.com/posts/uid/stackoverflow/73235810

https://metasmoke.erwaysoftware.com/post/381157 unrelated reasons?

https://metasmoke.erwaysoftware.com/post/381521

https://metasmoke.erwaysoftware.com/post/382495

Something really weird going on with outlookindia.com, the site www.outlookindia.com has a separate set of NSes but I can't match on that either. https://metasmoke.erwaysoftware.com/post/382637

Ditto for caramellaapp.com in e.g. https://metasmoke.erwaysoftware.com/post/383062

https://metasmoke.erwaysoftware.com/post/391301

@teward Do you see DNS errors around these posts? Another one just now https://metasmoke.erwaysoftware.com/post/352301

I have never seen DNS errors in the system on this.  However, what needs to be known is that to do forced subdomain stuff and picking up proper subdomain detections to base TLD and such is "what is the base tld?" and I mention this because things like .co.uk are actually secondary level domains despite being TLDs.
If you can suggest a proper way to extract the base domain and then do stuff with that for subdomain queries then it's a simple call to the resolver libraries we're using for the base domain.  That's not something that I'm going to write though, I don't have the spare cycles for it.

https://metasmoke.erwaysoftware.com/post/391301

Are you sure that's an instance?  Specified domain's NS records are Cloudflare, are we flagging Cloudflare as suspicious now?

https://metasmoke.erwaysoftware.com/post/392103

@teward  Cloudflare specifies a particular NS pair for each individual client, the NS watches and blacklists we have in place target a large number of these particular pairs (and in fact the collection of Cloudflare pairs dominate both of these files). This domain has the NS pair chance.ns.cloudflare.com.  ullis.ns.cloudflare.comwhich is inwatched_nses.yml` since a while back.

@teward We already have logic for extracting the base domain, it's a library called tld

https://metasmoke.erwaysoftware.com/post/392871

https://metasmoke.erwaysoftware.com/post/397211

https://metasmoke.erwaysoftware.com/post/397444

https://metasmoke.erwaysoftware.com/post/398112

https://metasmoke.erwaysoftware.com/post/398239

https://metasmoke.erwaysoftware.com/post/398251

Weirdly, https://metasmoke.erwaysoftware.com/post/398587 matched the watch on all of mochahost.com but not the specific blacklisting of the pair ns[56]001.mochahost.com.

https://metasmoke.erwaysoftware.com/post/400501

https://metasmoke.erwaysoftware.com/post/376202

https://metasmoke.erwaysoftware.com/post/401016 - weirdly the previous one https://metasmoke.erwaysoftware.com/post/401012 had "potentially bad NS"

Tangentially, https://metasmoke.erwaysoftware.com/post/402479 should have matched both IP address and name server, but bypassed those checks apparently because of the link obfuscation.

https://metasmoke.erwaysoftware.com/post/402514

https://metasmoke.erwaysoftware.com/post/408176

https://metasmoke.erwaysoftware.com/post/411601 is more straightforward and should be easy to fix.

https://metasmoke.erwaysoftware.com/post/412226

Weirdly, IP lookup failed on https://metasmoke.erwaysoftware.com/post/412865

https://metasmoke.erwaysoftware.com/post/412922

https://m.erwaysoftware.com/posts/uid/stackoverflow/75579124

https://metasmoke.erwaysoftware.com/post/416435

https://metasmoke.erwaysoftware.com/post/417301 and https://metasmoke.erwaysoftware.com/post/417302 (same spam reported again; still no NS).

Tangentially https://metasmoke.erwaysoftware.com/post/418986

https://metasmoke.erwaysoftware.com/post/420062

https://metasmoke.erwaysoftware.com/post/420270

https://metasmoke.erwaysoftware.com/post/420552

https://metasmoke.erwaysoftware.com/post/422480

https://metasmoke.erwaysoftware.com/post/422997 bare IP addresses are blacklisted but still not detected

Ditto https://metasmoke.erwaysoftware.com/post/422998

https://metasmoke.erwaysoftware.com/post/425265 crucially

https://metasmoke.erwaysoftware.com/post/425761

https://metasmoke.erwaysoftware.com/post/426937

https://metasmoke.erwaysoftware.com/post/427737

https://metasmoke.erwaysoftware.com/post/428898

https://metasmoke.erwaysoftware.com/post/428940

Blacklisted IP not reported: https://m.erwaysoftware.com/posts/uid/meta/389525

https://metasmoke.erwaysoftware.com/post/431658 didn't trigger for Brenda+Theo (tutuapp.uno)

https://metasmoke.erwaysoftware.com/post/463575 weirdly didn't trigger even though both www.nimbleappgenie.com and nimbleappgenie.com resolve to <IP_ADDRESS> (which has been watched for a long time, but which I am now promoting to blacklisted)

https://m.erwaysoftware.com/posts/uid/stackoverflow/78074913

https://metasmoke.erwaysoftware.com/post/476511


chore(install): renamed variable names for readability

@noahmmcgivern I was going to review/merge this PR, but the lint job is failing, can you look into it?


Custom setting char * get() returns '0'

I am trying out the custom settings for Homie.
I have two strings and a boolean.
The boolean works fine, the string function get() returns '0'.
I can see in an MQTT monitor that the setting is correctly stored in the config.
Has anybody have a working sample of the string custom setting?

I am using strings, they work ok for me;
HomieSetting<const char*> alt_ssid1("alternate_ssid1", "Alternate SSID 1");  // id, description
in setup() I have
alt_ssid1.setDefaultValue("");
I can print the value with
Serial1 << alt_ssid1.get() << endl;

My Json looks like this:

{"wifi":{"ssid":"XXX", "password": "xxx"},
"mqtt":{"host":"XXXX","port":1883,"base_topic":"devices/","auth":false},
"name":"XXXXX",
"ota":{"enabled":true},
"settings":{"alternate_ssid1":"XXXX","alternate_pwd1":"xxxx"}}

Thanks for the sample. It eventually helped my find my error.
I called the .get() from the setup() function. When I moved that to the setupHandler() everything works fine! Thanks again for your help.


[WIP] Refactoring #17

You can run this as follows:
python -m ulmfit.pretrain_lm --dir-path 'data/wiki/wikitext-2'  --qrnn=True train_lm --num_epochs=1

@dust0x @sebastianruder  have a look if we can go in that direction. This lets us run the experiments directly from command line using fire, and also load them in notebooks.
The only issue I've noticed so far is that fire gives a lot of options when you run, as it lists all the fields as a possible command to execute after init
python -m ulmfit.pretrain_lm --dir-path 'data/wiki/wikitext-2'
There is no support for loading the experiments yet, and we still use the same parameters as previously ie subword=True instead of tokenizer='subword'.

Sure, this makes a lot of sense! Thanks for this, @PiotrCzapla. Sorry that I've been so unresponsive in the past week. Just have a lot going on with writing up the thesis.

This will definitely be useful! One thing to note (in reference to the directory structure you proposed in the issue) is that the vocabulary and the sentencepiece model does not change for any two given experiments on the same dataset. So spm.model, spm.vocab and itos.pkl need not be separately placed into folders for the same dataset..

They may change if you change the vocabulary size, or you add preprocessing (like lowercasing). So it is rather important to keep them next to the models and in separated folders. Right now if you change the preprocessing rules you will break the model a bit I think.

Hi Piotr, I've written a self attention module for the classifier, and seeing that there are a lot of major changes in the refactor branch, I used it as the basis. Is there a way to create a new PR with my changes that branches from this one?

Also, please note that test_bilm_classifier_loads_encoder() isn't working, possible because of this commit in fastai.
A partial error trace:
~/Documents/anaconda3/lib/python3.6/site-packages/fastai/data_block.py in __getitem__(self, idxs)
     92     def __getitem__(self,idxs:int)->Any:
     93         idxs = try_int(idxs)
---> 94         if isinstance(idxs, numbers.Integral): return self.get(idxs)
     95         else: return self.new(self.items[idxs], xtra=index_row(self.xtra, idxs))
     96

~/Documents/anaconda3/lib/python3.6/site-packages/fastai/data_block.py in get(self, i)
    346         o = self.items[i]
    347         if o is None: return None
--> 348         if self.one_hot: return self.reconstruct(o.astype(np.float32))
    349         return MultiCategory(one_hot(o, self.c), [self.classes[p] for p in o], o)
    350

ValueError: could not convert string to float: 'fast ai is a cool project'

I'll have a look. @dust0x  you can simply make a branch out of the refactor branch and add your changes there.

Guys,  I've updated to newest fastai (the version that changes batch shape), fixed BiLM, fixed sentencepice so it gives good results on IMDB (94.6%), and clean up a bit.
I think I would like to merge it to master, so that we can recommend this branch to be used by others trying to train ULMFiT.
Let me know what you think.

I've created ulmfit_multilingual_refactor branch in n-waves/fastai with the version of fastai on which I've tested the code.

@sebastianruder, they are working. I'm not sure if xnli is working as I haven't yet tested it.
One change is that we use Fastai tokens xxbos, xxunk etc as they are left unchanged by MosesTokenizer, while the standard xml like tokens like <unk> are replaced to <, unk, > and there is no workaround for that.


1.2 nflx internal

Priam-pull-requests #150 FAILURE
Looks like there's a problem with this pull request


Introduce a new PT abstraction

Related to #572 and #1143

+1 with a comment and a question: the ProxyTicket is distinguished from the ServiceTicket, but I don't see any direct benefit in this PR, I assume more changes are to come, aren't they?

Yes. This is helpful because I want to start creating ticket factories that would encapsulate the expiration policies and clean up CAS impl. So having distinct ticket objects helps greatly and its also clearer to see distinct domain objects in the api.


FUSE for WSL2 not working

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.329]
Your Distribution version: Ubuntu Release:        18.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Steps to reproduce
sudo modprobe fuse

Expected behavior
Fuse successfully loaded.

Actual behavior
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.104-microsoft-standard/modules.dep.bin'
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.104-microsoft-standard

All of enabled kernel features are compiled as built-in.
No needs modprobe all time.

All of enabled kernel features are compiled as built-in.
No needs modprobe all time.

That's correct. FUSE is working without the need of modprobe.


How to edit appearance using an edited image?

Hi,
Thank you for your excellent work. The paper mentions that we can use StyleCLIP or other methods to edit the appearance by adding direction vectors on the latent code. Is there any way we can edit the appearance using an edited image from one of the training images?

Hi,
For the StyleCLIP experiment, It does not use an edited image in the training set. Instead, we have to first optimize for a latent code and then run StyleCLIP's process.
See here for more details.
https://github.com/orpatashnik/StyleCLIP/blob/main/notebooks/StyleCLIP_global_torch.ipynb

Thanks for your response!


Populate m:m cross adapter/connection issue

Discovered an issue when using m:m relations that live on two different adapters/connections.
The way we handle the operation building assumes that the child and the join table live on the same connection. So in a user/pets example if the association on the user model had the dominant key you could successfully populate using Pet.find().populate('users') because the join table and the child (user) would be on the same connection but running User.find().populate('pets') would return an empty result set.
Working on the operation builder to solve this now.

Fixed in #1016


adjust launch file to current head-pc setup

@ipa-fmw please review

CR: OK
merge https://github.com/ipa320/msh/pull/119 after merging this PR


feat(controller): Make MAX_OPERATION_TIME configurable. Close #4239

Signed-off-by: Alex Collins<EMAIL_ADDRESS>Checklist:

[x] My organization is added to USERS.md.

This change is to test to see if increasing this improve issues like #4560

@sarabala1979 @jessesuen I've increased defaulte maxOperationTime (and defaultRequeueTime) to 30s


Class lists with relationship

When try to put my Class to lists it did not find the translation
$var = Class::lists('title', 'id');
now title in another table so I got
Column not found: 1054 Unknown column 'title' in 'field list'

Check listsTranslations() in the docs

@dimsav Thanks very much,
I using this line to retrieve the list
{{ Form::select('category', [null=>'Please Select']+$serviceCategory, null, array('class'=>'form-control1')) }}
got the list with optgroup
<select class="form-control1" id="category" name="category">
<option value="" selected="selected">Please Select</option>
<optgroup label="0">
<option value="id">1</option>
<option value="title">Services 1</option>
<option value="brief">
with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</option>
</optgroup>

what I need is just something like this
<select class="form-control1" id="category" name="category">
<option value="" selected="selected">Please Select</option>
<option value="1">Services 1</option>
</option>

any suggestion please


language selector dialog UI tweaks

remove the checkboxes
remove the 'DONE' button
when a language is clicked, close the dialog
store the selection in localStorage as target-language (if you prefer another method or name ask me and explain)
when the dialog is opened, check localStorage and load the latest answer. show a checked mark or box to show the current answer.
update all current language input boxes (maps, site text) to check localStorage and load the saved language selection so that the user doesn't always have to input their language selection all the time when navigating around the site

Fyi, at the frontend, we have an app context and related reducers, the app context data automatically persists at localStorage.