Wrong day of month

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
console.log(moment('01-01-2022', 'DD-MM-YYYY').isoWeek());
-> isoWeek is 52, why -> Expected to be always 1
console.log(moment('01-01-2022', 'DD-MM-YYYY').isoWeek(1).isoWeekday(1));
-> logs Mon 04 -> expected to be Mon 03

ISO week 2021-W52 runs from Monday 27th December 2021 to Sunday 2nd January 2022.
2022-01-01 falls in Week 52 of ISO Weekyear 2021.
moment('01-01-2022', 'DD-MM-YYYY') // Saturday 1st Jan 2022
  .isoWeek(1) // Saturday Jan 9th 2021 (preserves ISO Weekyear and ISO Weekday)
  .isoWeekday(1) // Monday Jan 4th 2021 (preserves ISO Week)

Is there a way to get week number '1' of January in ISO standart ? Because there is an issue for building calendar? because start week is 52 & end week is 5 ?

First of all, what you expect is NOT ISO standard:
https://www.epochconverter.com/weeks/2022
The first week of the year according to the ISO-8601 is the first one that contains at least 4 days starting on Monday. Period.
Other numerations are not ISO, they are locale consideration.
So you have to first set the locale to the proper region which will handle the first day of week (Monday/Sunday/Saturday) then that handle the first-week-of-year rule (the minimum day the first week should include).
So now, the question, what is the locale you want to use for that (language and region) and so the rule settings you expect?

@Romko775 ISO Week 1 always contains January 4th.
You can manually get to the start of week 1 - e.g. for 2022:
moment('2022-01-04', 'YYYY-MM-DD', true).isoWeekday(1)
Or, you could just parse ISO week explicitly: moment('2022-W01', 'GGGG-[W]WW', true)


Just a short note...

... to say this library looks awesome! I don't have a use-case for it in my current work, but I've starred it and hope to some day. Keep up the good work <3

Thanks.


Disable isolation from ansible-compat Runtime

From now on, molecule will not rely on magic alteration of ansible
configuration for role paths, collections or plugins.

If we disable isolation, molecule may overwrite the existing collection/role.
Here is a scenario.
The version1 of role1 have been installed in ~/.ansible/roles for global use.
The version2 of role1 is defined in molecule's role-file. After molecule runs, the version1 would be overwritten.


Proposal: Disallow server parameters in basepath

Allowing server parameters in the path part of the URI creates potentially ambiguous paths.
In the following (unlikely) example, //example.com/France/Bourgogne could match either:

//example.com/{Country}, /Bourgogne
//example.com, /France/{Region}

openapi: 3.0.1
info:
  title: Example
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
- url: //example.com
- url: //example.com/{Country}
  variables:
    Country:
      default: France
paths:
  /France/{Region}:
    get:
      summary: Example
      parameters:
      - name: Region
        in: path
        required: true
        schema:
          type: string
      responses:
        200:
          description: successful operation
          content:
            'text/plain':
              schema:
                type: string
  /Bourgogne:
    get:
      summary: Example
      parameters:
      - name: Region
        in: query
        required: true
        schema:
          type: string
      responses:
        200:
          description: successful operation
          content:
            'text/plain':
              schema:
                type: string

Motivation:

Resolving this ambiguity would allow to create a proxy to validate requests/response against on OpenAPI schema, without knowing which server to validate against. Note that it wouldn't solve all theoretical ambiguities, which would require a different solution.
There is no guidance when a parameter can be server parameter, and when it must be path parameter. This may lead to inappropriate use of server parameters, where path parameters would be the correct choice.

Removing a well-used feature to resolve something which is "potentially ambiguous" and as you say "unlikely" seems like the wrong approach here. If tooling needs to know which server url to proxy (or pattern of server-variables) it can be provided with that information.
There is no guidance on use of in: path parameters versus server variables because this is an API design decision. We could highlight the potential ambiguity if server urls have different patterns of variables if you think a PR is warranted.

This is enlightening as to what OpenAPI considers a server. I will close this feature request.


Fix or ignore all warnings

I fixed the source of one warning related to the code in this project, and ignored some others that are issued by setuptools/distutils code. I think ignoring is the right call there because the whole purpose of this project is to process legacy configuration so we are naturally going to use some deprecated features, but I wouldn't mind having that double-checked.

Yep, the idea of this project is people will be able to run the old setup.py one last time… and finally retire it from service.
So if setuptools/distutils squawks… no big deal.  I think some of the warnings were file encoding issues… if memory serves, Python historically used ISO-8859-1 (aka latin1) encoding, and moved to UTF-8 with Python 3.

This one looks ready. I got rid of all the warnings I saw showing up in CI, not because it was really necessary to do so, but I figured I might as well get them all as long as I was looking into warnings in the first place.
We could configure pytest to upgrade all (unignored) warnings to errors if we want to, although it certainly doesn't have to happen as part of this PR.


Pull command name from package.json instead of letting commander to figure it out on its own

Solves #1796 by always showing create-react-app as a command name in help messaging.
Immediate consequence is that even if I explicitly run the job as node packages/create-react-app/index.js, it's going to show me create-react-app and not index, as before. Which in my opinion makes more sense, but might seem confusing to some experienced contributors.

I think the trade-off here is worth the less confusion for Windows users. Anyone running it by hand (in dev mode) should know what they're doing.

Thanks for this. 😄

Glad I was able to help! 😄


[BUG] ssh_remote_keys only add keys to root account

BlueBanquise allows being run as a privileged user.
Some roles now uses the ansible_env.SUDO_USER variable to check which user should be impacted with the role.
ssh_remote_keys isn't (yet).
Possible Fix
in tasks/main.yml, replace user: root with:
- name: authorized_key █ Add authorized key
  ansible.posix.authorized_key:
    user: "{% if ansible_env.SUDO_USER is defined %}/home/{{ ansible_env.SUDO_USER }}{% else %}/root{% endif %}/.ssh"
    key: "{{ item }}"
    exclusive: no
    state: present
  with_items: "{{ authentication_ssh_keys }}"

Dear @wlln
Thanks a lot for this issue.
Yes, you are right. I will fix that.


Change sort for rolling calcs or enable calcs to work on forward periods

Currently it's only possible to apply rolling calcs to prior periods and not forward periods. A scenario where it's useful to have both is applying a rolling calc to a prior period to generate a trade entry signal, and then apply a rolling calc to the forward period to see what the outcome of that entry signal would have been.

Hey Jonathan,
Can you provide an example of what you'd expect to see? I'm working on Pytimetk next version now. So if you have a good change, I'd be happy to review it. But I want to make sure I get the functionality correct.
Thanks, Matt

Thanks Matt,
Sorry I should have put together a reproducible example when I first raised this.
When testing again I don't seem to have any problems in using timetk to generate forward lags.
I think I might have made the mistake of creating a negative window size as opposed to a negative lag.
pytimetk is a really great package. Thanks so much for all of your work on this.
`import pytimetk as tk
df = tk.load_dataset('stocks_daily', parse_dates=['date'])
df.groupby('symbol').augment_lags(date_column='date', value_column='close', lags=[-1,-30], engine='polars')
`

Ok I'll close for now. Thanks!


feat(): add link to typescript client

I created a TS client that leverages the protobuff generated files of this repo. Figured I'd share a link. The CLI was mirrored after the Python Client as well.

@dmarx Any interest in merging this?

https://github.com/Stability-AI/awesome-stability/blob/main/README.md
^ Just created this, I listed stability-ts under "community links"

Thanks @jakiestfu for this, nice work! Apologies for taking so long to respond.
I see @cruhl has already added this to a separate list, but we could add it to a community-contributed section of the readme, if you would be happy with that.


Handling undefined pressingText

Fixes https://github.com/javisperez/vuelongpress/issues/3, This should prevent any crashes when pressingText is undefined.

Thanks for the PR @kdemoya 💪


Ender IO lower level conduits not limiting higher level conduits' power flow

Issue Description:
Energy conduits not limiting power flow under certain circumstances
What happens:
When for example an ender energy conduit with a max energy flow of 20,480 uI/t is connected on either end of an energy conduit line with normal or enhanced energy conduits connected in between, the lower level conduits don't limit the power flow
What you expected to happen:
I expected the conduits in between to limit the power flow so that when running long conduit lines one does not need to use high-level energy conduits anywhere except the end-points
Steps to reproduce:

Edit setting in config to allow different tiers of energy conduits to connect
Place two creative capacitor banks with at least 3 block spaces in between
Connect ender energy conduits to each creative capacitor bank
Set one of the ender energy conduits to insert only and one to extract only
connect the two ender energy conduits with normal or enhanced energy conduits
The flow of power through the conduits will not be limited by the lower level conduits

Affected Versions (Do not use "latest"):

EnderIO: 5.0.40
EnderCore: 0.5.45
Minecraft: 1.12.2
Forge: <IP_ADDRESS>15
SpongeForge? no
Optifine? no
Single Player

That's exactly the reason why this config option is set to disallow different tiers of conduits to connect. Only the end points / connectors decide how much energy can be tranferred.

as Matthias said


Add paper and convert latex to markdown

I want the sections of the paper to render alongside their respective categories on the site, so I will want to:

Add the LaTex to the repository here, broken down into sections
Convert to markdown https://tex.stackexchange.com/questions/341899/latex-to-markdown-converter
Build the site probably in a CI workflow
Push to gh-pages branch (instead of current main).

This will be closed by #4


CLOUDP-97422: Live Migration: Create One Link-Token

Proposed changes
Adding https://docs.atlas.mongodb.com/reference/api/live-migration/create-one-link-token/ to mongoCLI
_Jira ticket:_CLOUDP-97422
Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[ ] I have updated e2e/E2E-TESTS.md (if a new command or e2e test has been added)
[x] I have run make fmt and formatted my code

@gssbzn Thanks for the.  early comments - helps a lot!
While you're here, any idea why the Check Docs and GO tests are failing on the PR? The errors done seem to relate to my changes/can't figure out the root cause.

go docs is failing because you added a lot of commands and not generated their docs, run make gen-docs or install the pre commit hook to do this for you


Support percentage output format

Support percentage output format similar to the natively supported "% Done" field

I'll think about it.

Here is an example where I use a string output to show the % difference between estimated and spent time, negative or positive :
if self.total_spent_hours != 0 && self.estimated_hours !=0 then
  if self.total_spent_hours < self.estimated_hours then
    ((self.total_spent_hours-self.estimated_hours)/self.estimated_hours * 100).round(2).to_s+"%"
  else
    "+"+((self.total_spent_hours-self.estimated_hours)/self.estimated_hours * 100).round(2).to_s+"%"
  end
end

You can even play with HTML code (green for negative, red for positive as an example), it displays fin in the issue list, but unfortunately not in the issue view.
Hope this helps :)
By the way, thanks Annikoff, this is a fantastic and powerfull plugin!

Thanks @Atmis for the input. My only problem with the workaround of using a string field is that querying the computed field won't work properly, i.e. find all issues where the field value > 50% or between 75% & 85%
I second you thanking @annikoff, this is a very powerful plugin.

I added percentage output format, please update plugin and try it. Query filters for percentage field should work like for integer field.

I've tested it and it works fine so far. Thanks @annikoff


janitorial eclipse warnings: switch on As is missing cases

Hi,
I recently created #240 that fixes obvious eclipse warnings (in my setup).
I haven't included in the above patch a fix that doesn't look obvious enough.
I am referring to JsonEncoderDecoderClassCreator.java around line 226 where there is a switch statement  which is missing the two cases below:

EXISTING_PROPERTY
EXTERNAL_PROPERTY

I am not familiar with that part of the code and I don't know what's the correct way to handle that.
Vassilis

warning is better then silently ignoring ;)
thanx


Dimming Issue using intensity math

Im using LIghtwaverf dimmers that use UDP calls to dim. Dim levels are 1 to 32  so I am using ${intensity.math(X/8)} to take values down to the right range.
the UDP Command is 100,!R1D1FdP followed by the number 1 to 32
When testing on full dim I get the following, a dim level of 20 what am I doing wrong ?
02-04-2017 10:09:37.033	DEBUG	executing HUE api request to UDP: udp://<IP_ADDRESS>:9760/100,!R1D1FdP${intensity.math(X/8)}	com.bwssystems.HABridge.plugins.udp.UDPHome
02-04-2017 10:09:37.034	DEBUG	Math eval is: X/8, Where X is: 255	com.bwssystems.HABridge.hue.BrightnessDecode
02-04-2017 10:09:37.038	DEBUG	Sending response string: <<<100,!R1D1FdP20>>>

Just an update I am  using latest version 4.1.2
If I change the values I get very strange results. A  value of 227 from the test Dim give me a result of 1C
02-04-2017 10:48:47.192	DEBUG	Decode Json for url items: [{"item":"udp://<IP_ADDRESS>:9760/100,!R1D1FdP${intensity.math((X/8))}","type":"udpDevice"}]	com.bwssystems.HABridge.hue.HueMulator
02-04-2017 10:48:47.193	DEBUG	executing HUE api request to UDP: udp://<IP_ADDRESS>:9760/100,!R1D1FdP${intensity.math((X/8))}	com.bwssystems.HABridge.plugins.udp.UDPHome
02-04-2017 10:48:47.194	DEBUG	Math eval is: (X/8), Where X is: 227	com.bwssystems.HABridge.hue.BrightnessDecode
02-04-2017 10:48:47.198	DEBUG	Sending response string: <<<100,!R1D1FdP1C>>>

So, I looked at the code and I change it to hex representation by default, that is a bug.


New Board based on nRF9160 SiP

Dear Team,
I would like to commit the board definition files, the board is arm - nrf9160.
Could you please check?
Thank you & best
Oleh

Thanks for your contributions @olsky
To begin, with, could you follow the contribution guidelines, in terms of commit message format?

hi @ioannisg sure, thank you for pointing it. i will check and retry!


Amey live trains board

On the live trains board, you have the option to "Edit board". When you click this it brings you to the dot matrix home screen.

That's because the board is on a website.

But still worth fixing

That's because the board is on a website.

Although the board is from dot matrix, the dot matrix home screen should be removed from the Live Trains board.

It would be better to remove the "edit board" button from the rail announcements website because to edit the board, you need to either exit full screen or scroll up.


Media type can’t be set to cdrom

It seems that no one can change the media type to cdrom

There is a code in UTM/UTMQemuSystem.m
Line:254
removable ? @"cdrom" : @"disk"
It made the CD-ROM type change to the disk

So it’s impossible for users to import a ISO file and read it as a unremoveable device

What is the intended use case for a non-removable CD image?

There isn’t any help document to describe that cdrom can only use as removable devices.
Many users new to (especially from VMware etc.) will be puzzled. (Including me)
For them, they’ll never know this feature until they read the source code.
Eg.
https://github.com/utmapp/UTM/discussions/2415
In this situation his drive configuration
media=disk
https://github.com/utmapp/UTM/issues/2409
Also the same problem

these show that users are unaware of these changes of feature cause some problems in using UTM
We should add some tips or just modify the code

What is the intended use case for a non-removable CD image?

I believe there is no use, but the UI is confusing people. Other VM apps don’t offer Importing an ISO as a non-removable drive at all, because it doesn’t make sense. The Drives configuration UI should be re-vamped IMO, and I’d happily do it when I have the time.

I think remove that code will not affect its removable feature.


twister: add option to ignore skipped tests in reports

With --no-skipped, twister will skip over all tests marked as skipped
(filtered) in the junit report.
This is useful for CI where have 1000s of filtered tests that appear in
the report and in some cases cause tools parsing the output to fail or
provide incomplete results.
Fixes #38179
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

@nashif please rebase


Partition key datatype being changed to string

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

On migrating a container having partition key datatype as long int, the documents in the destination container have the same value of the partition key converted to string.

Expected/desired behavior

The partition key datatype should not change.

I'm currently fighting through the fall out of this bug, as well.


Switching to NixOS?

Resources
Bootable Installation:
https://nixos.org/manual/nixos/stable/#sec-installation
WSL QuickStart:
https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file#quick-start
Torrent (for shoddy internet):
https://github.com/AnimMouse/NixOS-ISO-Torrents
Package Search:
https://search.nixos.org/packages
Home-Manager:
https://nix-community.github.io/home-manager
Flakes:
https://nixos.wiki/wiki/Flakes
Journal

install NixOS on old machine using a NixOS iso on live USB w/ graphical installer
install NixOS WSL on Win machine
explore generated configuration.nix (sudo nano /etc/nixos/configuration.nix)
install every day programs (git, ..., thunderbird, pyenv, poetry, neovim etc.) using configuration.nix
rebuild nix: sudo nixos-rebuild switch
add config to dotfiles: [DannyDannyDanny/dotfiles/.../nixos/configuration.nix]

Nope to NixOS (for Now)
I'm not yet convinced by NixOS to point that I'd switch python environment management from Poetry / Pyenv to Nix.
For now I'm putting NixOs on the shelf. That being said, Nix package management is great and the repositories are impressively extensive. Maybe I'll return in a couple years once Homemanager and Flakes are less experimental and hopefully plain and friendly.
Back to Debian for now :)

Most people actually recommend poetry2nix as a dependency for any Python project on Nix, but NixOS is definitely a massive change

The issue I'm having is acknowledged in the NixOS wiki on python in section Running compiled libraries.

This means that the library use compiled dynamically linked binaries that your NixOs environment fail to resolve.

poetry2nix also fails to resolve the paths to these binaries. The NixOS wiki suggests several workarounds (fix-python, buildFHSUserEnv and nix-ld) which I just might look into 👀

Okay, I've got tmux (more or less) configured. I'm going to continue trying NixOS ✊🏻
For now, refining tmux config to look something more like: srid/nixos-config/blob/master/home/tmux.nix


Text Overflow out of Hexagon

Hi
I noticed when you insert a long string into the hexagon, the string overflows out of the hexagon boundary. Is there a way to allow the string to text wrap within a hexagon?
Thanks

Hey!
Currently there's no logic related to rendering the text. You might be able to work-around that using CSS for the text element, but might not be exactly what you're looking for.
That's on my list and I'll get to it at some point, but let me know if you'd like to contribute! :)
Cheers

It's been a while, but with the latest version it's not possible to add custom elements inside hexagon, so it's possible to achieve this through that. Something like this:
<Hexagon q={1} r={0} s={-1}>
    <text x="0" y="0.3em" textAnchor="middle">{children}</text>
</Hexagon>


[Feature] Method getRadiationRaw for Environment Sensor

Something I encountered while programming a radiation detection system that would print out the max radiation detected from a network of sensors was that I can't necessarily predict if "nSv" and "mSv" are the only units of measurement. It would be far more useful to just receive one unit of measurement that can easily be compared.
This untested broken function is what I ended up with when attempting to grab the current radiation level from a network of sensors:
    getRad = function()
        local radiationTable = {}
        local p = false
        for i=1, #equipment.radiationSensors do
            if peripheral.isPresent(equipment.radiationSensors[i]) then
                p = equipment.radiationSensors.getRadiation()
                if p.unit ~= "nSv" then
                    table.insert(radiationTable,p.radiation)
                end
            end
        end
        if #radiationTable > 0 then
            return {true, math.max(table.unpack(radiationTable)), p.unit}
        else
            for i=1, #equipment.radiationSensors do
                if peripheral.isPresent(equipment.radiationSensors[i]) then
                    p = equipment.radiationSensors.getRadiation()
                    if p.unit == "nSv" then
                        table.insert(radiationTable,p.radiation)
                    end
                end
            end
            return {false, math.max(table.unpack(radiationTable)), p.unit}
        end
    end,end
            end
            return false, math.max(table.unpack(radiationTable)), p.unit
        end
    end,

Something that would be a lot easier to code would be:
getRad = function()
    local radiationTable = {}
    for i=1, #equipment.radiationSensors do
        table.insert(radiationTable,equipment.radiationSensors[i].getRadiationRaw())
    end
    return math.max(table.unpack(radiationTable))
end

I think I figured out why my function isn't working, just looking at it...

I will add a raw function but the normal function should work

Added in 0.6.5b


[integration-test] disk-resize test failing on openshift CI

Recently (since ~4 sprints back) on the CI disk-resize integration test is failing, it does succeed always upon a retry

@anjannath can you put the logs or the link to failled CI job?

yes, here's the link to the logs: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/crc-org_crc/3769/pull-ci-crc-org-crc-main-integration-crc/1684072012844109824

As per job history https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-crc-org-crc-main-integration-crc this is not looking good (3 success out of 20 runs). @jsliacan Are you planning to take a look into this?

Yes yes, I put it on the list in planning yesterday.

I don't think this is an issue anymore after #3821 went in, let's reopen if the issue re-emerges.


Australia in Outbound IP ranges to Australia Southeast

Outbound IP range states Australia instead of Australia Southeast. This is misleading and better to have Australia East comes first to align with other sections.

@ahkim : Thanks for your contribution! The author, @ecfan, has been notified to review your proposed change.

@ahkim Thanks for suggestion, Aaron! I've asked the engineering team to review.

@ahkim: Approved, signing off now, thanks!
#sign-off


MDC 34

Excited about this release, things are getting cleaner and cleaner.
@j-o-d-o you're the most well versed in this stuff. Can you give this your seal of approval?
also @jrajav, I know you had a handful of issues recently, wanted you to take a look as well if you can.

This looks good! Was able to compile and test locally.

@j-o-d-o yeah it's a bummer about the select. But on the other hand, performance on mobile was so terrible before that I think this is the lesser of two evils.


Added DotnetTool module exits pipeline without running script

What You Are Seeing?
The cake script does not continue (Cake.CoreCLR) after loading DotnetTool module. Does not fail
What is Expected?
Continue with the script to use the dotnet scheme
What version of Cake are you using?
Cake.CoreCLR 38.5
Are you running on a 32 or 64 bit system?
64 bit ( MS Hosted macos-latest )
What environment are you running on?  Windows? Linux? Mac?
Mac on Azure hosted pipeline
Are you running on a CI Server?  If so, which one?
Azure
How Did You Get This To Happen? (Steps to Reproduce)
I added the --bootstrap flag
On MacOs it just quits with success
Output Log

  GET https://pkgs.dev.azure.com//40d6caec-ff15-49f3-a5d0-b4ac485b81ec/_packaging/287221a0-e0f0-43a4-9a4f-93fb20fa2b52/nuget/v3/registrations2-semver2/azurenuget/index.json
  OK https://pkgs.dev.azure.com//40d6caec-ff15-49f3-a5d0-b4ac485b81ec/_packaging/287221a0-e0f0-43a4-9a4f-93fb20fa2b52/nuget/v3/registrations2-semver2/azurenuget/index.json 1025ms
Missing /Users/runner/.nuget/packages/azurenuget/0.1.25/azurenuget.0.1.25.nupkg
  CACHE https://pkgs.dev.azure.com//40d6caec-ff15-49f3-a5d0-b4ac485b81ec/_packaging/287221a0-e0f0-43a4-9a4f-93fb20fa2b52/nuget/v3/registrations2-semver2/azurenuget/index.json
  GET https://pkgs.dev.azure.com//40d6caec-ff15-49f3-a5d0-b4ac485b81ec/_packaging/287221a0-e0f0-43a4-9a4f-93fb20fa2b52/nuget/v3/flat2/azurenuget/0.1.25/azurenuget.0.1.25.nupkg
  OK https://pkgs.dev.azure.com//40d6caec-ff15-49f3-a5d0-b4ac485b81ec/_packaging/287221a0-e0f0-43a4-9a4f-93fb20fa2b52/nuget/v3/flat2/azurenuget/0.1.25/azurenuget.0.1.25.nupkg 373ms
Acquiring lock for the installation of AzureNuget 0.1.25
Acquired lock for the installation of AzureNuget 0.1.25
Installing AzureNuget 0.1.25.
Completed installation of AzureNuget 0.1.25
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/addins.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_build.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_test.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_nugets.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_database.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/release_startrax.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/parameters.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/valueobjects.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_publish.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_deploy.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/appcenter_bundles.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_initialize.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_package.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/debugs.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/utilities.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/setup_arguments.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_restore.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_version.cake...
Analyzing /Users/runner/work/1/s/tools/AzureNuget.0.1.25/content/tasks_add_tools.cake...
Installing modules...
Missing /Users/runner/.nuget/packages/cake.dotnettool.module/0.4.0/cake.dotnettool.module.0.4.0.nupkg
  GET https://api.nuget.org/v3/registration5-gz-semver2/cake.dotnettool.module/index.json
  OK https://api.nuget.org/v3/registration5-gz-semver2/cake.dotnettool.module/index.json 104ms
  GET https://api.nuget.org/v3-flatcontainer/cake.dotnettool.module/0.4.0/cake.dotnettool.module.0.4.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/cake.dotnettool.module/0.4.0/cake.dotnettool.module.0.4.0.nupkg 2ms
Acquiring lock for the installation of Cake.DotNetTool.Module 0.4.0
Acquired lock for the installation of Cake.DotNetTool.Module 0.4.0
Installing Cake.DotNetTool.Module 0.4.0.
Completed installation of Cake.DotNetTool.Module 0.4.0
##[debug]$LASTEXITCODE: 0

##[debug]Exit code 0 received from tool '/usr/local/bin/pwsh'
##[debug]STDIO streams have closed for tool '/usr/local/bin/pwsh'
Finishing: PowerShell Script

I have a repo to demo this, but I can't share publicly

Just to make sure, pre Cake 1.0 you need to bootstrap then execute script example
https://github.com/cake-build/cake/blob/1b81b6da6829879a6c3bf394a928b95c88e06329/build.ps1#L149-L154
Is this what you're doing?

$cakeArguments = @()
if ($Script) { $cakeArguments += "`"$Script`"" }
if ($Target) { $cakeArguments += "-target=`"$Target`"" }
# if ($Configuration) { $cakeArguments += "-configuration=$Configuration" }
if ($Verbosity) { $cakeArguments += "-verbosity=$Verbosity" }
if ($ShowDescription) { $cakeArguments += "-showdescription" }
if ($DryRun) { $cakeArguments += "-dryrun" }
$cakeArguments += $ScriptArgs
$cakeArguments += "--bootstrap"
# Start Cake
Write-Host "Running build script..."
Write-Host "& $CAKE_EXE_INVOCATION $($cakeArguments -join " ")"
Invoke-Expression "& $CAKE_EXE_INVOCATION $($cakeArguments -join " ")"
exit $LASTEXITCODE

build_cake.txt

That works great! Thanks!

Am I right in that you got this sorted?


Merge pull request #1 from Itseez/master

update from original

update the forked opencv

It is wrong way.


Update api structure and use database for locations page

Move auth api to v1
Update internal api structure
Use database for locations name and type

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

33 of 61 (54.1%)  changed or added relevant lines in 7 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-1.7%) to 51.429%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/users.ts
6
7
85.71%

src/routes/locations.ts
6
19
31.58%

client/src/pages/LocationPage/index.tsx
1
15
6.67%

Files with Coverage Reduction
New Missed Lines
%

src/routes/auth.ts
1
90.0%

Totals

Change from base Build<PHONE_NUMBER>:
-1.7%

Covered Lines:
228

Relevant Lines:
376

💛  - Coveralls


Add support for Colima

The goal of this PR was to integrate support for Colima into testcontainers-node such that we could run the entire test suite with Colima as part of our CICD. As of 19/04/2023 this isn't possible for the following reasons:

Runner performance: Colima can only run on MacOS GHA runners, as only these runners support nested virtualisation. During this PR, the performance of the MacOS GHA runners has been terrible, with test runs ranging from 25m-55m, whereas with Docker and Podman we get consistent runs of ~13m. This is likely related to this issue which has been closed by GH: https://github.com/actions/runner-images/issues/1336. Although GH very recently added support for nested virtualisation in their Linux runners, this is hidden behind GH enterprise, and behind their larger runners which require payment. I therefore cannot rule out, that the following issues are in some way related to the MacOS runners, instead of Colima.
Flakiness:
2.1. We intermittently see Docker pull rate limits for official images, such as Mongo, PostgreSQL, etc (?!).
2.2. Dockerfiles which install dependencies when built are randomly unable to resolve dependencies, such as curl.
2.3. I have had to increase timeouts of some test suites by a multiplier, so that the tests complete in time.
Colima port forwarding delays: Because of the way Colima works, a container port can be bound, but inaccessible for seconds until it is port forwarded. We therefore run into the strange case where a container can bind a port, write a log message to say that it's ready, and yet when we try to connect we get connection refused. This PR attempted to work around it by changing all wait strategies to be a composite of its existing wait strategy + port wait strategy. This has polluted the codebase with a very specific Colima issue, to the extent where tests for other wait strategies have to include the port wait strategy: https://github.com/abiosoft/colima/issues/71.
Colima performance: The test suite cannot be run in parallel using Colima, unlike with other container runtimes such as Docker and Podman. Possibly related to https://github.com/abiosoft/colima/issues/603.
Lack of IPv6 support: Node versions >= 18 changed the way they resolve DNS, to respect the OS order. Therefore Node 18 and greater, in an IPv6 enabled environment, will resolve localhost to its IPv6 equivalent. Colima does not support IPv6, and so this has to be explicitly disabled: https://github.com/abiosoft/colima/issues/583

To re-emphasise, because of the way GH have structured its runners, I cannot rule out that a lot of the issues I've faced are because of the MacOS runners.
This comment is not to say that Colima is unsupported, it means that your mileage may vary. I will soon document some of these issues and workarounds in the official docs, and depending on your use cases and environment, Colima may work without issue.
I will re-visit Colima support in the future. In the meantime if I have missed anything, or someone is able to improve Colima support in testcontainers-node, any contributions are very welcome!

I've been looking into what it would take to get this working for Java as well, though it sounds like @eddumelendez might take care of that once this is done. Just out of curiosity, is the issue that waiting for log lines just isn't good enough for Colima, and you have to use a port-based wait strategy instead in practice?

Hi @glasser, I've updated the PR comment with all the info


NaN while running falcon 7b

I am getting the following error at time while prompting with userdata Expected type "Float", found NaN.\nIn field "vector": In element #1 this is completely random and couldn't figure out what exactly is happening. Any pointers would be really helpful. Thanks in advance!

Can you show more complete stack trace?


Webpack 2.1.0-beta.15 -- Handling circular references

// a.js, the entry point
import b from './b'
import d from './d'

console.log('b -- the circular reference', b) // prints
console.log('d -- the non-circular reference', d)

// b.js
import c from './c'

export default function () {
  return c()
}

export var doesntShow = 5

// c.js
import b from './b'

export default function doesntShow() {
  return b()
}

// d.js
export default {
  foo: 5
}

Firefox 46 on OS X El Capitan console prints

b -- the circular reference function exports.a()
d -- the non-circular reference Object { foo: 5 }

When the circular reference of b and c is loaded up by webpack_require:
// The require function
function __webpack_require__(moduleId) {

	// Check if module is in cache
	if(installedModules[moduleId])
		return installedModules[moduleId].exports;

	// Create a new module (and put it into the cache)
	var module = installedModules[moduleId] = {
		i: moduleId,
		l: false,
		exports: {}
	};

	// Execute the module function
	modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

	// Flag the module as loaded
	module.l = true;

	// Return the exports of the module
	return module.exports;
}

It looks when b goes to require c, its exports are {}. When c pulls in b's exports from installedModules[moduleId], they're {}. Is this the intended behavior?

Look at the actual parts that call __webpack_require__.
That's a consequence of export default -- unlike other exports, export default is not hoisted, is not a live binding, and it does not export an identifier, but an expression.
Importing something that was exported with export default will take a copy of the export. It's not defined yet, because of the circular dependency, so one of them is going to see undefined.
If you want to do a default export while keeping it a live binding, then you could do something like function doesShow () {}; export { doesShow as default }. Webpack generates getters in that case[^1], which will always DWIM. Unless you actually read/invoke them at the top level. Then it's up to the nasal demons.
[^1]: something roughly equivalent to exports = { get default () { return doesShow } } and replacing b() with importedB.default()

The semantic of export default often confuse people...


3.2 Regression: No thumbs in 'Choose File' interface

3.1: Lots could be improved but it's okay.

3.2: Help! I wanted to choose an image but somehow I ended up in Excel...

Looks like a regression from https://github.com/silverstripe/silverstripe-framework/pull/2734. I’m also not sure about the original commit - perhaps showing all files isn’t a great idea? Some of our sites have literally thousands of images, this would cause a huge slowdown trying to load them all in. I’d rather see the paginator still applied, but with a larger page size (e.g. 50 items per page instead of 8)

Yeah I think #2734 is probably doing more harm than good at the moment... That PR also appears to have introduced the ability to select Folders which causes an error - UploadField shouldn't allow the selection of a directory (I think?). Agree that a larger paginator (and maybe more compact thumbs) would be better.
I think there's an opportunity to reduce some overlap here - feels like we're reinventing the wheel between the Files section of the CMS and the 'Choose File' modal interface. Couldn't we use the same grid field from the Files section in the 'Choose File' interface, complete with clicking on Folder icons to open them, and the simple 'Up Directory' button? We could perhaps provide a drop-down menu as an additional shortcut way of quickly getting in to or out of a deeply nested Folder. I think we're making things difficult for users currently by forcing them to learn two different ways of doing the same thing, and in turn making things difficult for ourselves by having to maintain two different interfaces.
Think we should also be making use here of the 'Last Visited Folder' cookie (or whatever it is) that lets us return to the last Folder we had open when we visit the Files section, and use the same value for both interfaces so that if you open a folder in the Files section, it's open by default the next time you use an UploadField. This should be pretty helpful for common workflows where you spend a lot of time in one folder.

p.s. a Sorely missing feature here (that I was intending to address with a module but haven't had time to finish yet) is to be able to search for files by their name. We have a search box in this interface that lets you search only for a Folder name, then you have to manually locate the file you're looking for within the interface. This is not intuitive at all for who anyone who has grown up with Google.
Just FYI, the Asset Picker module I started on had/has the goal of improving both the UploadField and Insert Media interfaces to split it up in to tabs a bit like so:

Search This is an instant Ajax-y search that displays 10 or so results as you type
Browse Works much like as described above, letting you navigate through the File hierarchy structure.
Upload Upload a new file(s) and choose where they should go
Favourites List of the user's favourite files. Anywhere a thumb in the CMS is displayed you can click a little overlaid :star: icon to Fav it. This is mainly intended for short term workflows where you know you want to use a file somewhere else in the CMS soon, and lets you retrieve it quickly. I've got this part working but haven't had time to finish the rest yet!

For 3.2 lets just focus on addressing regressions and adding a smaller image and a larger paginator back.
3.3 (ie the 3 branch) is the best place to consider how the UI might be improved.
Given how old it is id be surprised if reverting #2734 was a viable option.

Quick fix is here: https://github.com/silverstripe/silverstripe-framework/pull/4441
Have added back pagination with a limit of 20... don't want people to have to scroll too far to find that 'Attach File' button. What I think we really need here is some sort of overflow:auto scrolling option for GridField rows so we can show as many records as we like while ensuring any fields or buttons below the GridField don't get pushed down too far and become hidden.
Have removed the dual Title/Filename fields because the Title inherits a friendly version of the Filename when first uploaded, meaning they are usually very similar. This is also consistent with what is displayed in the GridField in the Files section of the CMS.
p.s. I retract my comment about there not being a Search-for-file facility... it is already built in to the gridfield but is quite hard to spot for such an important feature so maybe needs a design tweak. At the moment it's appearance is too similar to the other field labels I think, plus it overrides the file label for the last column so that's a bit weird.

I see at least three different ways of accessing images that function differently. It would be great to make the experience more familiar and use more of the same css for each case. Even the spacing around the thumb in 3.1is broken (pictured above shouldn't have any spacing at all). I would say that the whole files area needs an overhaul as its never really been looked at in its entirety - so much room for improvement. Any of the suggested adjustments would be good from my point of view but the file name and title can be different at times although it does look repetitive in most cases – @jonom did you remove the title or the file name?

@clarkepaul I removed the file name - rationale is that the Title by default is a friendly version of the file name and if you change the Title you're probably changing it to something more rather than less descriptive... so figured this was the better option if only showing one of the two. Plus this is already the case in the Files section - only the Title is shown, even thought it's labeled Name, which according to the data model would be the filename... confusing! :)

Cool at least its becoming more consistent. I'm wondering how often versions of files are added with the same title (different file name but same title), making it hard to distinguish which is which. The "Title" has thew bonus of being more easily read but the file name has the benefit of being unique – I'll just keep that in mind if/when we get around to reworking the area (there might be a chance we get to take a proper look at this whole area soonish).

That would be great if you get a chance to look at the File area soon! In the mean time I've updated this PR with a few more tweaks to neaten things up as a stop gap: https://github.com/silverstripe/silverstripe-framework/pull/4441


ERROR: unable to open RTSP for listening / Cannot assign requested address

Trying to use a RTSP (h.265) camera (Steinel L620) stream in browser with go2rtc-1.9.2 I only get errors on address.
The errors only appear when using a URL of type "ffmpeg:rtsp://MYIP:554/MYPATH" -- whereas "rtsp://MYIP:554/MYPATH" doesn't give errors - but Chrome&FF browser do not support h.265 with WebRTC an therefor I need to use ffmpeg for transcoding to h.264.
with go2rtc.yaml:
streams:
  L620HT:
    - "ffmpeg:rtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp#video=h264#audio=opus"
log:
  level: info
  api: debug
  rtsp: debug
  streams: debug
  webrtc: debug
  exec: debug

running go2rtc and and just using web-ui/"probe" or access "stream" URL results in:

21:42:31.990 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
21:42:31.990 INF config path=/home/stefan/go2rtc/go2rtc.yaml
21:42:31.991 INF [rtsp] listen addr=:8554
21:42:31.991 INF [api] listen addr=:1984
21:42:31.991 INF [webrtc] listen addr=:8555/tcp
21:42:59.265 DBG [webrtc] new consumer src=L620HT
21:42:59.267 DBG [exec] run cmd="ffmpeg -hide_banner -v error -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a libopus -application:a lowdelay -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://<IP_ADDRESS>:8554/802bfa2f1f149eaa99fddbcbc83395c8" url="exec:ffmpeg -hide_banner -v error -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a libopus -application:a lowdelay -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://<IP_ADDRESS>:8554/802bfa2f1f149eaa99fddbcbc83395c8"
[rtsp @ 0x5572ab117040] Unable to open RTSP for listening
rtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp: Cannot assign requested address
21:42:59.352 DBG [webrtc] add consumer error="streams: exec: [rtsp @ 0x5572ab117040] Unable to open RTSP for listening\nrtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp: Cannot assign requested address\n"

Interesting other information:
FFPLAY works OK as ..
ffplay -hide_banner -v error -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i "rtsp://<IP_ADDRESS>:554/user=admin&password=MYSECRET&channel=1&stream=0.sdp"

Any hints what I could be doing wrong here or how I can further debug this.

FFmpeg 4 not supported

FFmpeg 4 not supported

Sorry - what does that mean - any suggestion for a work around ?

Update ffmpeg version

OK - switched to docker and had success with Chrome, while FF (125.0.3) now complains:
webrtc/offer : unable to populate media section, RTPSender created with no codecs.
LOG:
5/30/2024, 1:39:53 PM	error	undefined error=unable to populate media section, RTPSender created with no codecs caller=github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:183
PROBE:
producers
0
type	"RTSP passive producer"
url	"rtsp://<IP_ADDRESS>:8554/802bfa2f1f149eaa99fddbcbc83395c8"
remote_addr	"<IP_ADDRESS>:33822"
user_agent	"ffmpeg/go2rtc"
sdp	"v=0\r\no=- 0 0 IN IP4 <IP_ADDRESS>\r\ns=RTSP Session\r\nc=IN IP4 <IP_ADDRESS>\r\nt=0 0\r\na=tool:libavformat 60.16.100\r\nm=video 0 RTP/AVP 96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKay0A8ARPyzUBAQFAAADAAEAAAMADI8YMqA=,aO8Pyw==; profile-level-id=640029\r\na=control:streamid=0\r\nm=audio 0 RTP/AVP 97\r\nb=AS:64\r\na=rtpmap:97 opus/48000/2\r\na=control:streamid=1\r\n"
medias
0	"video, recvonly, H.264 High 4.1"
1	"audio, recvonly, OPUS/48000/2"
receivers
0	"96 H264, bytes=0, senders=1"
1	"97 OPUS/48000/2, bytes=0, senders=1"
consumers
0
type	"probe"
remote_addr	"<IP_ADDRESS>:39916"
user_agent	"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
medias
0	"video, sendonly, ALL"
1	"audio, sendonly, ALL"
2	"audio, recvonly, ANY"
senders
0	"96 H264, bytes=0, receivers=1"
1	"97 OPUS/48000/2, bytes=0, receivers=1"

@stbuerger I also try to get the L620 streaming in go2rtc or frigate...
I can open the SD stream in VLC and it plays. The HD stream only is a still image but audio plays.
In go2rtc and frigate I only get an error that the connection has a timeout.
Any good hints for this camera?

Hints:

disable backchannel
set manual timeout
use ffmpeg source

@thesebastianf

Any good hints for this camera?
Here is my current config which works "somehow" - i.e. I get

a lot of protocol error
crashes of ffmpeg process - but frigate recovers from this
But overall it detects motion and I can connect other programs and browsers to the re-stream URL
As AlexxIT said: Use ffmpeg source

`go2rtc:
streams:
L620HT:
- ffmpeg:rtsp://myCamIP:554/user=admin&password=myPWD&channel=1&stream=0.sdp#video=h264
webrtc:
candidates:
- myFrigateIP:8555
- stun:8555
detectors:
cpu1:
type: cpu
num_threads: 3
cameras:
L620HT: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://<IP_ADDRESS>:8554/L620HT
input_args: preset-rtsp-restream
`


JavaScript Functional Programming Concept

This issue is...

[ ] Edit typos or links
[ ] Inaccurate information
[ ] New Resources
[ ] Suggestions
[ ] Questions
[x] Enhancement
[ ] Comments

Description

[Part 2] JavaScript Functional Programming Concept

https://javascript.info/bubbling-and-capturing


Payment API

It would be great to add deep link to handle payment api link in app manifest

Hello @bodrych.
Thanks for your feedback. A Payment API is planned to be added soon..

But when?

As soon as possible. I can't give an exact date. Stay tuned

@bodrych Hello
Since version 2.6.2 (current master branch) support all features from Payment API and deeplink for send/order.
Feel free to write feedback,
Good luck


HTML minification is imperfect

Currently the HTML minification in this module is far from perfect.
It treats pre and textarea specially, but not other cases, such as newlines in textarea placeholder attributes or elsewhere. It corrupts strings of ~~s~~ in the source code and further.
Perhaps instead of this manual processing step using a 3rd party tool, such as a popular html-minifier would be warranted?
As a matter of fact, that tool can also minify inlined css and js.
As a matter of fact, perhaps it would be valuable to keep the tool minimal and suggests users to use html-minifier on the output themselves, keeping the current tool focused on inlining more interesting resources?

I like the approach of making the inliner do as much of the leg work for you (allowing you to opt out when it makes sense), so I think it makes sense to use the html-minifier as a module to compress the output.
My only slight concern is aggressive compression on HTML can result on a different visual representation of the markup (ie. I'd want to use the conservativeCollapse flag for instance to ensure spaces remained intact).
I'd be open to a PR if you wanted a shot at it (please check out the contributing doc as it helps with tests and commits).

I like the approach of making the inliner do as much of the leg work for you (allowing you to opt out when it makes sense), so I think it makes sense to use the html-minifier as a module to compress the output.

Sure! Some projects at some point choose to spin-off a module (say, inliner-lib) that only contains the minimum core logic and make the primary module depend on that and wrap it with more extra functionality. I suggest to keep this possibility in mind if you notice at some point such a need.

My only slight concern is aggressive compression on HTML can result on a different visual representation of the markup (ie. I'd want to use the conservativeCollapse flag for instance to ensure spaces remained intact).

Well, yes. The point is, your current compression on HTML already results in a different visual representation of the markup. As I mentioned in the original issue, for example, you change the visual representation of a placeholder attribute for a textarea, a visual representation for ~~s~~ and others.
Minifying html is pretty hard to do for a general case. In particular, any element may have a white-space: pre specified in CSS. Thus it's important to allow disabling and possibly customize the minification process. If you keep HTML minification as part of the module, I'd suggest exposing the ability to pass options to html minifier.
I can't make any promises about PRs though, but maybe.

+1 for html-minifier with "conservative"/non-agressive options ;-)

+1

I also have the issue when I include JS minified code: when the collapseWhitespace option is enabled, it breaks the JS code. The html minification should really be done by a separate proven package, such as htmlmin for example.
It would also be nice if the minifier options for html/css/js could be further customized by passing through arguments directly to the minifier (I also have issues with uglifyjs default options, and there's no way to override them). This way everyone should be happy 😁

+1 for html-minifier with non-agressive options

Folks, remember, if you want this feature, either use the native 👍 or include a real test or use case, or even better: a PR.
I've not personally hit this issue at all, so I've no real motivation to work on it myself (that's not to say others aren't hitting the issue).
I'm generally deleting github issues with just +1 in them these days.


missing crypto functions in all_default_functions?

Hello, I'am Arroyo (which is Distributed stream processing engine based on DataFusion) user. Arroyo upgrade datafusion version latest (i.e. 0.40) recently. But I meet below error
2024-08-06T11:41:41.861247Z DEBUG datafusion_functions::crypto: /home/zhuliquan/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/datafusion-functions-40.0.0/src/lib.rs:127: crypto functions disabled
test arrow::expression_match::test::test_execuator_process_batch ... FAILED

failures:

---- arrow::expression_match::test::test_execuator_process_batch stdout ----
thread 'arrow::expression_match::test::test_execuator_process_batch' panicked at crates/arroyo-worker/src/arrow/expression_match.rs:64:88:
called `Result::unwrap()` on an `Err` value: Execution error: UDF sha256 not found

according to error info, sha256 udf is missing and not registry. Meanwhile, I found other crypto udfs are not available. It's seems that missing some builtin udfs in all_default_functions, I click crypto::functions, then jump to stranger micro code () but others jump to own package (

I notice that arroyo patchs crate DataFusion in Cargo.toml
https://github.com/ArroyoSystems/arroyo/blob/9f1832387f7d1518bcf2d6b7a433d0c4dc3acf69/Cargo.toml#L67-L75
I try click same functions in real datafusion (see below image), It can jump to correct package, is there somethine wrong.

Thanks for the report! After digging it, it looks like datafusion moved the crypto functions behind a non-default cargo feature. I'll get out a PR to add that back.

Fixed in #713


[Functions] Support for creation Python 3.8

Capturing a note to indicate Python 3.8 would not be intended to be the default yet.

This is a good candidate for the new "stacks API".


Errors with npm run dev when running on Windows

1 - "The specified path does not exist", this happens because windows cant run .sh file that "hwy-dev-serve" is calling.
Solution: change dev script to the following
"scripts": {
    "dev": "cross-env NODE_ENV=development hwy-build && cross-env NODE_ENV=development nodemon --watch .dev/refresh.txt"
  },

2 - Unsupported file paths "file:///C:/" in node_modules/hwy/dist/index.js
Initializing Hwy app...
Listening on http://localhost:3000
<-- GET /
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
    at new NodeError (node:internal/errors:399:5)
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:975:11)
    at defaultResolve (node:internal/modules/esm/resolve:1052:3)
    at DefaultModuleLoader.resolve (node:internal/modules/esm/loader:306:12)
    at DefaultModuleLoader.getModuleJob (node:internal/modules/esm/loader:155:32)
    at DefaultModuleLoader.import (node:internal/modules/esm/loader:265:12)
    at importModuleDynamically (node:internal/modules/esm/translators:107:35)
    at importModuleDynamicallyCallback (node:internal/modules/esm/utils:87:14)
    at getMatchingPathData (file:///C:/xampp/htdocs/htmx-hwy-todolist/node_modules/hwy/dist/index.js:598:37)
    at renderRoot (file:///C:/xampp/htdocs/htmx-hwy-todolist/node_modules/hwy/dist/index.js:768:32) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'

λ node -v
v20.0.0
λ npm -v
9.6.4
but I did manage to run the project using wsl, going to update the issue #3 now, thank you!

That's great about getting WSL working!
I was able to get a Windows VM spun up and did some work on Windows compatibility.  If you get a chance, would you mind giving the following a try on your system @gabrielrbarbosa?
npm create<EMAIL_ADDRESS>
It seems to be working now on a clean Windows 10 build with Git Bash installed, at least :)

Just tried<EMAIL_ADDRESS>and now it's working here on windows 11 too, great work!

Amazing! I'll close this once 0.2.0 gets landed then. Don't hesitate to reach out if you run into anything else.


Installing with Bower

Hi,
I will prefer use bower, the dependancy are ready to use with Gulp.
How can I use bower?
Thank you
EDIT: I readed your bower.json and I saw PACE, please change the case sensitive is very confuse.
I didn't find pace here: http://bower.io/search/?q=pace

If you are not able to find pace in bower repository, you can link in bower.json GitHub page directly with specifying appropriate release version of library for example as below :
{
"name": "Test Web",
"version": "1.0.0",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"pace": "https://github.com/HubSpot/pace.git#1.0.2"
}
}
You can find different versions under this link - https://github.com/HubSpot/pace/tags

thanks


Improve home page and nav responsiveness

The title was pretty snug at certain screen sizes even with FoCo abbreviated, and much more so now with it spelled out in full:

Just need to drop the font size and line-height down a bit on a breakpoint or two.

Several things are truncated or not looking great on tablet-ish:

Closing as I no longer see the issue here 🤓


eval win2012r2 standard checksum does not match

I had to undo the recent commit 7142f52313ef427ffe393909531a7da32cc8a08f on eval-win2012r2-standard.json because the checksum does not work for me. Reverting to the old checksum does work.

This has been fixed on master


Instructions needed for multi-arch driver submissions

If each folder needs to support the same set of architectures, how does one folder support multiple architectures? It seems from the examples here that each folder can only have one INF and one SYS in it.

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

ID: ed287852-04b7-1569-fd51-2640cfa24f57
Version Independent ID: a8ce732f-5b41-f1ce-e37d-a7c2794546a4
Content: Attestation signing a kernel driver for public release - Windows drivers
Content Source: windows-driver-docs-pr/dashboard/attestation-signing-a-kernel-driver-for-public-release.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @EliotSeattle
Microsoft Alias: eliotgra

@jkunkee. Before installing the driver software, I usually extract the contents, I have seen both the folders namely Win32 and AMD64 or x64. But only only .inf file contains both x86 x64 scripts.  But two separate .sys files, for example,
avidmedia32.sys
avidmedia64.sys

Refers to Note in https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/attestation-signing-a-kernel-driver-for-public-release#create-a-cab-files-submission

Thanks for the question and apologies for the delay.  I think the solution here is to specify multiple architectures in the INF.  Please let me know if this remains an issue and that doesn't help!


vmq.acl definition sensitive to formatting

Environment

VerneMQ Version: 0.15.3
OS: Linux (Ubuntu 16.04) from official package
Erlang/OTP version (if building from source): N/A

Expected behavior

When defining topics in vmq.acl as it is a text file I expected the parsing to be insensitive to extra or the type of spaces between different tokens or values.
Example of two different entries with the same expected behaviour:

topic read myhome/myroom/mylight
topic read   myhome/myroom/mylight
Actual behaviour

It seems that the extra leading space is been used as part of the topic string and clients are unable to address it unless the extra spacing is deleted.

If this is working as designed, although the documentation is rigorously correct (showing just one blank character), I think a note on this matter would be nice.

Hi @hcimdea thanks for bringing the discussion here. I've been thinking a bit about the right thing to do. I guess strictly a topic should be allowed to contain spaces (IIRC any non-astral utf-8 character is allowed) and if we allow for more than one space as delimiter we can no longer say what belongs to the delimiter or to the topic. So I think either introducing string quotes or documenting our way of of this would be the best way. For now I'll go with adding a note to the docs in this case as it's the cheapest solution that won't break existing configs.
I've added a note to the docs: https://vernemq.com/docs/configuration/file-auth.html#authorization
Thanks again for reporting!

Cool.
Thank you!
On 2017-03-02 08:18, Lars Hesel Christensen
wrote:

Hi @hcimdea [1] thanks for bringing the discussion here. I've
been thinking a bit about the right thing to do. I guess strictly a
topic should be allowed to contain spaces (IIRC any non-astral utf-8
character is allowed) and if we allow for more than one space as
delimiter we can no longer say what belongs to the delimiter or to the
topic. So I think either introducing string quotes or documenting our
way of of this would be the best way. For now I'll go with adding a note
to the docs in this case as it's the cheapest solution that won't break
existing configs.
I've added a note to the docs:
https://vernemq.com/docs/configuration/file-auth.html#authorization [2]

Thanks again for reporting!
--
You are receiving this
because you were mentioned.
Reply to this email directly, view it on
GitHub [3], or mute the thread [4].

Links:
[1]
https://github.com/hcimdea
[2]
https://vernemq.com/docs/configuration/file-auth.html#authorization
[3]
https://github.com/erlio/vernemq/issues/284#issuecomment-283576179
[4]
https://github.com/notifications/unsubscribe-auth/AFhkdDjho-hRiW2tF26-h8EsbFniUmdTks5rhm1hgaJpZM4MP1-A


Favorite/Bookmark Project to pin it on top when start program

Feature Request

Pin my fav. project
Open Recent -> Sort my fav project first
When program start, show my fav project

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


CircleCI: Tests against more Mbed OS releases

This small PR adds more backwards compatibility tests against Mbed OS tools versions - 5.9.6 and 5.10.2.

@screamerbg Are the tests suppose to pass as-is?

@cmonr See bug in mbed-os test tools described here https://github.com/ARMmbed/mbed-os/issues/8619

@cmonr Any rough estimation when the python 3 fixes will be available on mbed-os master?


Update sys-query-store-plan-transact-sql.md

Fixed typo in the "find the reason SQL Server couldn't force a plan via QDS" query (missing the "F" in "FROM").

Learn Build status updates of commit 34774ad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-catalog-views/sys-query-store-plan-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@awickham10 Thanks Andrew!
#sign-off


[util] Wide character conversion changes

Replaces tows with an easier helper that fits in nicer with fixed-size arrays in DXGI, etc.
Make setThreadName take a wide char name by default given we know this entirely deterministically. Avoids needing to convert this and alloc a std::vector every time we call this.
Prefer UTF8 in tows/fromws.

Make setThreadName take a wide char name by default given we know this entirely deterministically.

I deliberately changed setThreadName to not take wide string arguments because I don't think we should pollute the backend with win32 specifics. This would need a ws->mbs conversion with your dxvk-native work anyway should you ever implement thread names.
Also, for future notice, please split separate changes into separate commits.

Would a fixed-size limit on the thread name be acceptable? I kinda want to remove the alloc in setThreadName too...
Could constexpr magic the length with a string_view, but that'd mean the impl needs to be in a header...
If you're OK with an ifdef for that in the header platform-specific stuff for native, then I can do that.

I've force pushed a new version.

I've force pushed a new version, removing template stuff as per discussion on Discord.


failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED

How can I save this problem? I use 3080ti /tensorflow 1.15 / python 3.7.10 / cuda 10.1
2022-12-27 15:27:14.672772: E tensorflow/stream_executor/cuda/cuda_blas.cc:428] failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED
ERROR:tensorflow:Error recorded from training_loop: 2 root error(s) found.
(0) Internal: Blas GEMM launch failed : a.shape=(4096, 2), b.shape=(2, 128), m=4096, n=128, k=2
[[node electra/embeddings_1/MatMul (defined at /opt/conda/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
[[add_10/_9743]]
(1) Internal: Blas GEMM launch failed : a.shape=(4096, 2), b.shape=(2, 128), m=4096, n=128, k=2
[[node electra/embeddings_1/MatMul (defined at /opt/conda/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
0 successful operations.
0 derived errors ignored.

Hey, you have to use NVIDIA version of TF, which supports training on RTX cards.
https://github.com/NVIDIA/tensorflow#install


Dhanks geo branch

Please update the title of this PR and body to talk about adding support for CA providences so that it'll show up if/when people search the history for it. Otherwise lgtm and will merge.


Clean Python3.12.6 install results in python-flirt error

I'm on:

Apple M2
Python 3.12.6

I simply ran:
pip3 install flare-floss

Which presented the following error:
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python <3; 0.1.0rc1 Requires-Python <3; 0.1.0rc2 Requires-Python <3; 0.1.0rc3 Requires-Python <3; 0.2.0 Requires-Python <3; 0.2.1 Requires-Python <3
ERROR: Could not find a version that satisfies the requirement python-flirt==0.7.0; extra == "flirt" (from viv-utils[flirt]) (from versions: 0.8.9, 0.8.10)
ERROR: No matching distribution found for python-flirt==0.7.0; extra == "flirt"

I assume the version needs bumped?
Thanks in advance!

Yup that's it exactly. I'll try to push an update tomorrow and tag you again here. Thanks for the report!

need to bump viv-utils to v0.7.11. v0.7.10 added support for py3.12.

❯ uv pip install flare-floss
  × No solution found when resolving dependencies:
  ╰─▶ Because python-flirt==0.7.0 has no wheels are available with a matching Python implementation and viv-utils[flirt]==0.7.5 depends on python-flirt==0.7.0, we can
      conclude that viv-utils[flirt]==0.7.5 cannot be used.
      And because flare-floss>=2.0.0,<=2.1.0 depends on viv-utils[flirt]==0.7.5 and only flare-floss>=2.0.0 is available, we can conclude that flare-floss<2.2.0 cannot be
      used. (1)

      Because python-flirt==0.8.6 has no wheels are available with a matching Python ABI and any of:
          viv-utils[flirt]==0.7.7
          viv-utils[flirt]==0.7.9
      depends on python-flirt==0.8.6, we can conclude that any of:
          viv-utils[flirt]==0.7.7
          viv-utils[flirt]==0.7.9
       cannot be used.
      And because flare-floss==2.2.0 depends on viv-utils[flirt]==0.7.7, we can conclude that flare-floss==2.2.0 cannot be used.
      And because we know from (1) that flare-floss<2.2.0 cannot be used, we can conclude that flare-floss<2.3.0 cannot be used. (2)

      Because python-flirt==0.8.6 has no wheels are available with a matching Python ABI and viv-utils[flirt]==0.7.9 depends on python-flirt==0.8.6, we can conclude that
      viv-utils[flirt]==0.7.9 cannot be used.
      And because flare-floss>=2.3.0 depends on viv-utils[flirt]==0.7.9, we can conclude that flare-floss>=2.3.0 cannot be used.
      And because we know from (2) that flare-floss<2.3.0 cannot be used, we can conclude that all versions of flare-floss cannot be used.
      And because you require flare-floss, we can conclude that the requirements are unsatisfiable.

      hint: Pre-releases are available for flare-floss in the requested range (e.g., 1.7.0a1), but pre-releases weren't enabled (try: `--prerelease=allow`)

ahh, in #1012 which is in master, but not part of a release yet, we relax the versioning requirements. viv-utils and python-flirt install just fine on my py3.12 installation. So I think we just need to do a release of floss with the relaxed requirements.

Can you confirm that it works now with the new release?

Hey, sorry for getting back a bit later than expected - yes, all working on my end now after the version bump. Thanks a lot!


Actually add skeleton for actions and reducers

...left off a couple files :/

Merging own pr b/c I left off a couple files and nothing changed in the interim!


Recent versions not published?

It seems like the last published version is 0.0.19, but there are releases listed to 0.0.21
See eg https://repo1.maven.org/maven2/com/filippodeluca/jsonpath-parser_3/

Sorry I have missed this one,
I have promoted the latest release from yesterday


Django 1.11 and 2.0 compatibility

Hello Stephen,
I needed Django 2.0 compatibility for a project of mine, so I took a few minutes to try it out. This build works fine with 2.0, and hopefully with all majors down until 1.8. Travis will let us know, right? :-)
-- Ludwig

Thanks Ludwig


Problem in the example of parametric elliptic control problem

Describe the bug
Training not leading to the expected solution
To Reproduce
examples/run_parametric_elliptic_optimal.py
Expected behavior
We expect the solution to be close to the PINN solution in paper https://arxiv.org/pdf/2110.13530 (Figure 4)

Maybe #317 is related! I will check and update you :)


added jest testing framework, and unit tests for helpers modules

Adding Jest for unit testing. npm run test runs  the tests.
Each module should have a moduleName.test.js file next to it, containing relevant unit tests. I've added for src/helpers to start out.
Question for @neocarto : In order to use imports in the tests, I've added a babel.config.js file. Will this interfere with anything going on in rollup?

Re: #4


Fixed: The off-canvas mobile menu was not working correctly

because the correct side was not set when calling 'foundationpress_mobile_off_canvas' (therefore the side always defaulted to 'left')
This prevented second level menus from being displayed correctly.

:+1:

You forgot to merge, or did you fix it already in your branch? :)

Added a bug label, gave a thumbs up and closed it. Haha, I need more coffee. Well thank you :)

Hehe, git should have known that you wanted to merge, hehe. Bad programming on their parit ;)


Add RBF module

added RFBModule from https://github.com/rssalessio/PytorchRBFLayer/tree/main

quick experiments on the hyperparameter search space.

set module__input_size and module__output_size default values to None

this requires us to initialize module within fit and partial_fit by inferring the input and output dimensions from X and y.

we need to ignorecheck_estimators_empty_data_messages test case because it expect the error message to contain the required size of the input data, however, at that point of the code, we don't know what is the expected input dimension.

create tests/test_torch.py for all our custom test cases for TorchModule and NeuralNetTorch

address https://github.com/alan-turing-institute/autoemulate/issues/165 and https://github.com/alan-turing-institute/autoemulate/issues/160

Codecov Report
Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (bdfc97b) 90.07% compared to head (0348ac3) 89.09%.

Files
Patch %
Lines

autoemulate/emulators/neural_networks/rbf.py
66.66%
32 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
- Coverage   90.07%   89.09%   -0.98%
==========================================
  Files          42       44       +2
  Lines        1854     1972     +118
==========================================
+ Hits         1670     1757      +87
- Misses        184      215      +31

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use old Chromiun 2008 icon to differentiate from standard present chromiun icon

been a user of thorium for 3 months, very solid browser, i have a small suggestion i don't know if you agreed but it would be cool if thorium uses the old 2008 chromium icon to differentiate it from stock chromium builds

fork thorium and change the logo to that

@FriskTheFallenHuman Sorry, but I actually dislike skeomorphic icons. Plus I don't wanna change the icon this late in its lifecycle (Thorium's been around for 3 years), due to potential confusion, etc.
However, as far as skeomorphic icons go, the old Chromium one is pretty great.
If you so desire though, you can change the icon that is displayed on Windows or Linux.
If you want help with that I can guide, and would be willing to make a version of this logo with the black inner ring. This way it satisfies your desire while keeping the source code unchanged.


Feat/issue 743

Output of npm run test:donationResolver
I have added 2 test cases in donationResolver.test.ts inside createDonationTestCases.

Summary by CodeRabbit

New Features

Implemented validation to prevent users from donating to their own projects.
Enhanced donation functionality to allow donations only from users who are not project creators.

Tests

Added test cases to verify donation restrictions and successful donation processes.

#743


chore: Convert to controller-runtime's new reconcile.AsReconciler

Fixes #N/A
Description
Removes our controller.TypedController and replaces it with controller-runtime's typed controller implementation e.g. reconcile.AsReconciler()
Takes in the upstream change from https://github.com/kubernetes-sigs/karpenter/pull/1247
How was this change tested?
make presubmit
/karpenter snapshot
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

28 of 68 (41.18%)  changed or added relevant lines in 9 files are covered.
6 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.02%) to 82.282%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/nodeclass/termination/controller.go
10
13
76.92%

pkg/controllers/controllers.go
0
4
0.0%

pkg/controllers/interruption/controller.go
0
4
0.0%

pkg/controllers/nodeclaim/garbagecollection/controller.go
0
4
0.0%

pkg/controllers/providers/instancetype/controller.go
0
4
0.0%

pkg/controllers/providers/pricing/controller.go
0
4
0.0%

pkg/controllers/nodeclass/hash/controller.go
6
11
54.55%

pkg/controllers/nodeclass/status/controller.go
6
11
54.55%

pkg/controllers/nodeclaim/tagging/controller.go
6
13
46.15%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/providers/pricing/controller.go
1
79.17%

pkg/controllers/interruption/controller.go
1
72.32%

pkg/controllers/nodeclass/status/controller.go
1
74.07%

pkg/controllers/nodeclass/hash/controller.go
1
70.97%

pkg/controllers/providers/instancetype/controller.go
1
60.0%

pkg/controllers/nodeclaim/garbagecollection/controller.go
1
72.13%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5415

Relevant Lines:
6581

💛  - Coveralls


I have a question. How to check when there are no items.

How can I check when there are no photos or videos in an album?

I would suggest using the PHAsset.fetchAssets(in assetCollection: PHAssetCollection, options: PHFetchOptions?) function.


Sticky session invalid cookie handling

Do you want to request a feature or report a bug?

Bug

What did you do?
Hit an IngressRoute CRD backed by a TraefikService CRD and finally a single K8 Service backed by two pods with cookies enabled several times.
This was done several times with no cookie set to verify the Pod IP cookie we get back from Traefik matches the actual pod that served the request.
This was then done several more times with lvl1/lvl2 set to verify whether Traefik honors the Pod asked for in the cookie.

What did you expect to see?

The pod that services the request to match the Pod IP returned on the Traefik cookie (i.e. <IP_ADDRESS> instead of <IP_ADDRESS>).
When the cookie is set on a request, for Traefik to honor that Pod IP as the destination

What did you see instead?
This returns a cookie as expected, but the Pod IP that does not match the actual destination that served the request (note sometimes it will because this example is just two pods and therefore has 50-50 chance to be 'lucky').
If the lvl1 and lvl2 cookies are set on the request, the same behavior is observed -- i.e. it does not honor the pod IP requested.

We are running in Rancher, but using IngressRouter CRD providers.
Stickyness is configured as per the below:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: {{ .Values.name }}
  namespace: {{ .Release.Namespace }}
spec:
  entryPoints:
    - web
  routes:
  - match: PathPrefix(`{{ .Values.prefix }}`)
    kind: Rule
    services:
    - name: wrr-{{ .Values.name }}
      namespace: {{ .Release.Namespace }}
      kind: TraefikService
---
apiVersion: traefik.containo.us/v1alpha1
kind: TraefikService
metadata:
  name: wrr-{{ .Values.name }}
  namespace: {{ .Release.Namespace }}

spec:
  weighted:
    services:
      - name: {{ .Values.service }}
        port: {{ .Values.apiport }}
        kind: Service
        weight: 1
        sticky:
          cookie:
            name: lvl2
    sticky:
      cookie:
        name: lvl1

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

Tested this in AKS with the whoami service and it worked fine there.
Will deploy whoami on prem i.e. in Rancher and see if that works - if it does it's something specific to our environment if not then it's Rancher related.
Will update shortly

Tested this in AKS with the whoami service and it worked fine there.
Will deploy whoami on prem i.e. in Rancher and see if that works - if it does it's something specific to our environment if not then it's Rancher related.
Will update shortly

This also appeared to work on-prem with Rancher using just the whoami service so it may be something environmental with the other service we are testing against instead of a Traefik bug will post back and close if that turns out the be the case.

This also appeared to work on-prem with Rancher using just the whoami service so it may be something environmental with the other service we are testing against instead of a Traefik bug will post back and close if that turns out the be the case.

Seems like this was environment specific so will close the issue.

Seems like this was environment specific so will close the issue.


moved default_invoke_tx_args to be associated with InvokeTxArgs

This change is

The PR contains several commits, which probably happened due to the rebase I asked you to do. Make all your changes in a single commit above 13.1 and make sure you don't "import" new features from main to main-v0.13.1.


Option for Explain exec plan in Postgres

"Explain execution plan" always do EXPLAIN ANALYZE ...  that executes the query during analyse, but when the query is rather big and complex and not yet optimized, it may take very much time to wait.
The additional option is needed here - do the ANALYZE or not.

Even the removal of the analyze is better. If the analyze is necessary, you can do it manually.

Agreed

Hi, any news about this?


Jm terrain reference

Description
First draft of the Terrain Reference has been completed.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New content (non-breaking change which adds functionality)

Fixed the tables for you and changed colors/formatting a bit


refactor(#606): organize controllers into folders

IMPORTANT: Always create an issue before a PR and provide enough information so that others can review

Explain the details for making this change.
What existing problem does the pull request solve?

Test plan (required)
Demonstrate the code is solid.  Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Closing issues
List all issues this PR resolves

closes #606

Pre-Merge checklist
Complete these items before requesting reviews

[x] Static Analysis Rules Validated
[x] All commits follow naming conventions

Made the sorting though they may not be in the perfect folders.

You have one smell to address https://sonarcloud.io/project/issues?id=CSU-Booking-Platform_application&pullRequest=619&resolved=false&types=CODE_SMELL

You have one smell to address https://sonarcloud.io/project/issues?id=CSU-Booking-Platform_application&pullRequest=619&resolved=false&types=CODE_SMELL

@alexstojda I went over this last time but i'll do it again since i am force to re-touch this code. We cannot remove this unnused variable and we have no use for it. Laravel puts the attribute name as the first parameter, but we don't use it since we display errors using english instead of things like time.0.start.time .
There is no way to remove the code smell without just setting a variable and then unsetting it just to waist processing power.

You have one smell to address https://sonarcloud.io/project/issues?id=CSU-Booking-Platform_application&pullRequest=619&resolved=false&types=CODE_SMELL

@alexstojda I went over this last time but i'll do it again since i am force to re-touch this code. We cannot remove this unnused variable and we have no use for it. Laravel puts the attribute name as the first parameter, but we don't use it since we display errors using english instead of things like time.0.start.time .
There is no way to remove the code smell without just setting a variable and then unsetting it just to waist processing power.

On the first line of that anonymous function, add unset($attribute); and it should supress the warning. The smell is for code quality. So when someone is reading the code and trying to understand what it does, they don't waste time trying to see what that parameter is for, when it is infact unused.
So I suggest adding that code there with a comment explaining its un-used. Future maintainers may change that!


Contribution Recognition for Taiko Team - Assistance with GITPOAP 2024 Minting

I hope this message finds you well. I am reaching out regarding my contributions to the Taiko project throughout 2023 and 2024. I have been an active member of the community, dedicating time and effort to various aspects of the project.
I recently noticed the release of the GITPOAP 2024, an exciting milestone for our team. However, I encountered an issue where I am unable to mint it. I would greatly appreciate any assistance or guidance you could provide in this matter.
My contributions have been a source of pride for me, and I am eager to continue supporting the Taiko project in any way I can. Your help in resolving this matter would mean a lot to me.

Hey. I was able to mint it. What's the issue you're encountering?

@samui68400 currently only these repositories qualify for the contributor role:
taiko-mono
taiko-client
simple-taiko-node
taiko-geth
zkevm-circuits

@KorbinianK
Sir, those who were active in these repositories, left commits, can they mint for GitPoap? I have also been active, but still do not have the right to mint GitPoap Taiko Contributor


Fix the mem leak of table function node

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #4185
Problem Summary(Required) ：

TableFunctionOperator will create table function state in prepare(), but not destroy it in close()
move _table_function::init() from TableFunctionOperator::init() to TableFunctionOperation::prepare();, otherise it will init twice in pipeline engine

Why previous ASAN test doesn't cover this issue?

Why previous ASAN test doesn't cover this issue?

Memory leaks are only detected when they exit gracefully


cdn.polyfill.io/v1 not accessible

Not sure if this is the right place for this bug report, but its the only one i found:
since Feb-21-2023, a https request to https://cdn.polyfill.io/v1/polyfill.min.js returns 404 on many locations of the world (but not all), so there seems to be an issue with the CDN.

it is failing for US
it is succeeding in Germany

Thanks
Martin

Hi thanks for the report, this was an issue with the CDN provider we use and has since been resolved 👍


automate creation of :nihgtly images — whenever there is a merge to the main branch trigger a process to update the :nightly tag on docker registry — nightly is different than :latest; :latest is more stable; :nightly does not have that guarantee

This is already done.


Cinnamon 6.0

This updates Cinnamon to 6.0, which is part of Mint 21.3.
Various useful links:

Cinnamon wayland status (still experimental): Trello board.
Things we need to do: GitHub board.
List of upstream changes: this page.
Semi-automatic commit generater: this gist.

@ofborg test cinnamon

I tested the wayland session on my laptop, it works like a breeze (minus known issues)

(Aware of the 6.0 tag, will try to do that in 22 hours when I get back to a NixOS laptop, unless serious issue happens on the x11 session I try to also finish my remaining review and undraft this)


Powerful Alchemy error

There is an error in PowerfulAlchemy.js preventing the update of the DC in the description:
In the updateDescription function, on line 18, const itemName = item.name;

took a quick peek and spotted the issue right away. Fixed in Release 2.5.1


DB driver issue

This has been asked numerous times, and there have been no clear answers on it. I am attemping to setup a test FiveM server with the vRP framework, and I am getting this issue:

[vRP] Extension Garage loaded.
[vRP:Business] 1 commerce chambers
[vRP] Extension Business loaded.
[vRP] Extension Home loaded.
[vRP] Extension home_components loaded.
[vRP:Police] 3 PCs 3 jails 6 fines
[vRP] Extension Police loaded.
[vRP] Extension Radio loaded.
[vRP] Extension PedBlacklist loaded.
[vRP] Extension Edible loaded.
[vRP] Extension Warp loaded.
Started resource vrp
Creating script environments for GHMattiMySQL
Loaded GHMattiMySQL.net, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null into ScriptDomain_1840484399
Instantiated instance of script GHMattiMySQL.Core.
Started resource GHMattiMySQL
Authenticating server license key...
Server license key aucfx> thentication succeeded. Welcome!
Sending heartbeat to live-internal.fivem.net:30110
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
Started map fivem-map-skater
Started resource fivem-map-skater
server thread hitch warning: timer interval of 163 milliseconds
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
c[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).
[vRP] DB driver "ghmattimysql" not initialized yet (39 prepares cached, 5 queries cached).

As you can see from the log, GHMattiMySQL is loading, but the ghmattimysql db driver is still not initializing. It say for 35 minutes throwing that same error out.

https://github.com/ImagicTheCat/vRP-db-drivers

This does not help. I am already using this, and it's not initializing the driver.

Issues are not for help, most of the time people are not reading/understanding about the DB driver concept.

still does not work

CLEARLY you need to provide more information in your documentation!

You're probably looking for a tutorial, which the documentation doesn't aim to be currently.

Nice attitude @ImagicTheCat !

Guys, Show some respect to @ImagicTheCat, He is probably a very busy guy and the first reply he wrote actually works if you follow it correctly, if you still cant get it, watch this tutorial : https://www.youtube.com/watch?v=MlyRDgdya-4 thats should answer all of this.

Guys, Show some respect to @ImagicTheCat, He is probably a very busy guy and the first reply he wrote actually works if you follow it correctly, Still cant get it? Try this, Delete the normal ghmattimysql folder, go to this link https://www.youtube.com/redirect?v=MlyRDgdya-4&event=video_description&q=https%3A%2F%2Fgithub.com%2FGHMatti%2FFiveM-MySQL%2Freleases%2Fdownload%2F0.6.1%2FGHMattiMySQL.zip&redir_token=8AE8CaP_SO3YRMKRNs2NRybgMZl8MTU5MDk3ODgwM0AxNTkwODkyNDAz
And download that fix, now drag it to your server folder and open the settings file, set your database, username, pass etc and it should work.

In Linux dont work :(

Guys, Show some respect to @ImagicTheCat, He is probably a very busy guy and the first reply he wrote actually works if you follow it correctly, Still cant get it? Try this, Delete the normal ghmattimysql folder, go to this link https://www.youtube.com/redirect?v=MlyRDgdya-4&event=video_description&q=https%3A%2F%2Fgithub.com%2FGHMatti%2FFiveM-MySQL%2Freleases%2Fdownload%2F0.6.1%2FGHMattiMySQL.zip&redir_token=8AE8CaP_SO3YRMKRNs2NRybgMZl8MTU5MDk3ODgwM0AxNTkwODkyNDAz
And download that fix, now drag it to your server folder and open the settings file, set your database, username, pass etc and it should work.

In Linux dont work :(

When did I say that it worked in linux?

Guys, Show some respect to @ImagicTheCat, He is probably a very busy guy and the first reply he wrote actually works if you follow it correctly, Still cant get it? Try this, Delete the normal ghmattimysql folder, go to this link https://www.youtube.com/redirect?v=MlyRDgdya-4&event=video_description&q=https%3A%2F%2Fgithub.com%2FGHMatti%2FFiveM-MySQL%2Freleases%2Fdownload%2F0.6.1%2FGHMattiMySQL.zip&redir_token=8AE8CaP_SO3YRMKRNs2NRybgMZl8MTU5MDk3ODgwM0AxNTkwODkyNDAz
And download that fix, now drag it to your server folder and open the settings file, set your database, username, pass etc and it should work.

In Linux dont work :(

When did I say that it worked in linux?

Pool Soul

how can i use db_driver in vrp0.5?


cross fails to recompile build script correctly when there are project changes

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
My first compile works great.  I'm having it use a custom build ubi7 image with rustup installed.
I need an older version of glibc to link against.
When I edit a file and try to re-build, I get an error that the build script can't run because I don't have the correct glibc version:
error: failed to run custom build command for `project v0.1.0 (/home/user/git/project)`

Caused by:
  process didn't exit successfully: `/target/debug/build/project-de133d924a686ebc/build-script-build` (exit status: 1)
  --- stderr
  /target/debug/build/project-de133d924a686ebc/build-script-build: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /target/debug/build/project-de133d924a686ebc/build-script-build)
  /target/debug/build/project-de133d924a686ebc/build-script-build: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /target/debug/build/project-de133d924a686ebc/build-script-build)
  /target/debug/build/project-de133d924a686ebc/build-script-build: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /target/debug/build/project-de133d924a686ebc/build-script-build)
  /target/debug/build/project-de133d924a686ebc/build-script-build: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /target/debug/build/project-de133d924a686ebc/build-script-build)
  /target/debug/build/project-de133d924a686ebc/build-script-build: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /target/debug/build/project-de133d924a686ebc/build-script-build)

I am doing this in WSL2(Ubuntu) in Windows 11
So it looks to me like something saw I needed to recompile stuff, re-compiled my build.rs on the host machine, and then tries to run it in the docker container.
What target(s) are you cross-compiling for?
x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[X] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[X] x86_64 / AMD64
[ ] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[X] docker
[ ] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.4 (8d8d84b 2022-09-08)
Example
No response
Additional information / notes
No response

@Alexhuszagh I've looked through the contents of the linked issues (thank you, by the way, I missed your open issue).
What I'm not understanding here is that the build script is compiled in the docker container the first time... otherwise the first build wouldn't work, right?
On the subsequent build, the scripts look to have been recompiled, but cross didn't do it this time.
Is there no way for cross to get in front of that, or to make sure the build script is compiled in the container each time?

We don't execute cargo except in the container, but it's an issue with fingerprinting I believe where they don't want a full recompile even if rustc changes. See https://github.com/rust-lang/cargo/issues/10367#issuecomment-1053678306.

I've updated that linked issue description to make the issue somewhat clearer, as well as possible solutions.

@Alexhuszagh Ok but I'm not doing any other builds in between.. why do you think rustc is changing?
Is my dev env compiling things for me with my host env?

do you have rust-analyzer or something else that builds the project in the background?

yeah that's probably it...  I'm using vscode and that plugin...  can that work with cross?

yeah that's probably it... I'm using vscode and that plugin... can that work with cross?

It can, it just makes it more likely to cause the above issue. It's unfortunate, since there's not much we can do about it (except exporting CARGO_TARGET_DIR or using --target-dir is a great workaround).