Could not update Xcode project file.

I tried a few times to add or remove files in nvim-tree, and I get an error Could not update Xcode project file.
In the error log I see:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- xcodeproj (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/joel/.local/share/nvim/lazy/xcodebuild.nvim/tools/project_helper.rb:3:in `<main>'

I used Lazy to install:
  {
    "wojciech-kulik/xcodebuild.nvim",
    lazy = false,
    dependencies = {
      "nvim-telescope/telescope.nvim",
      "MunifTanjim/nui.nvim",
      "nvim-tree/nvim-tree.lua", -- if you want the integration with file tree
    },
    config = function()
      require("xcodebuild").setup {
        -- put some options here or leave it empty to use default settings
      }
    end,
  },

And my Neovim setup is using NVChad (which installed nvim-tree itself), like this:
  {
    "nvim-tree/nvim-tree.lua",
    cmd = { "NvimTreeToggle", "NvimTreeFocus" },
    init = function()
      require("core.utils").load_mappings "nvimtree"
    end,
    opts = function()
      return require "plugins.configs.nvimtree"
    end,
    config = function(_, opts)
      dofile(vim.g.base46_cache .. "nvimtree")
      require("nvim-tree").setup(opts)
    end,
  },

Here's the config NVChad uses for nvim-tree:
local options = {
  filters = {
    dotfiles = false,
    exclude = { vim.fn.stdpath "config" .. "/lua/custom" },
  },
  disable_netrw = true,
  hijack_netrw = true,
  hijack_cursor = true,
  hijack_unnamed_buffer_when_opening = false,
  sync_root_with_cwd = true,
  update_focused_file = {
    enable = true,
    update_root = false,
  },
  view = {
    adaptive_size = false,
    side = "left",
    width = 30,
    preserve_window_proportions = true,
  },
  git = {
    enable = false,
    ignore = true,
  },
  filesystem_watchers = {
    enable = true,
  },
  actions = {
    open_file = {
      resize_window = true,
    },
  },
  renderer = {
    root_folder_label = false,
    highlight_git = false,
    highlight_opened_files = "none",

    indent_markers = {
      enable = false,
    },

    icons = {
      show = {
        file = true,
        folder = true,
        folder_arrow = true,
        git = false,
      },

      glyphs = {
        default = "󰈚",
        symlink = "",
        folder = {
          default = "",
          empty = "",
          empty_open = "",
          open = "",
          symlink = "",
          symlink_open = "",
          arrow_open = "",
          arrow_closed = "",
        },
        git = {
          unstaged = "✗",
          staged = "✓",
          unmerged = "",
          renamed = "➜",
          untracked = "★",
          deleted = "",
          ignored = "◌",
        },
      },
    },
  },
}

return options

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- xcodeproj (LoadError)

It indicates that you are missing CocoaPods/Xcodeproj. Please install all required dependencies:
brew install xcode-build-server
brew install xcbeautify
gem install xcodeproj
python3 -m pip install -U pymobiledevice3

and also please check the results of :checkhealth xcodebuild (zR to unfold)
Additionally, I noticed that you are using old Ruby (2.6.0) so it's also worth updating it.

Ah, never mind - I just needed to install xcodegen tool with sudo gem install xcodeproj. Now it works great!

🎊 make sure to update Ruby, the minimum required version is (I believe) 2.7.0.
brew install ruby


Added contribution instructions to the readme

Felt that with issues being created for changes to the website, that it would be beneficial to have a section in the readme to instruct contributors on the way to run and work on the site.

Good call. Thanks a lot! 🙂


Cannot install gnumake on MacOS

Issue description
When I try to install gnumake on MacOS, the install aborts with
gcr5ic6mrhqvbf1askrlf-gnumake-4.2.90pre2491_48c8a11/lib\" -DINCLUDEDIR=\"/nix/store/6aynfx4wrbsgcr5ic6mrhqvbf1askrlf-gnumake-4.2.90pre2491_48c8a11/include\" -DLOCALEDIR=\"/nix/store/6aynfx4wrbsgcr5ic6mrhqvbf1askrlf-gnumake-4.2.90pre2491_48c8a11/share/locale\"  -DMAKE_MAINTAINER_MODE   -Wall -Wextra -Werror -Wwrite-strings -Wshadow -Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast -Wformat-security -Wtype-limits -Wunused-but-set-parameter -Wlogical-op -Wignored-qualifiers -Wformat-signedness -Wduplicated-cond -g -O2 -c -o src/ar.o src/ar.c
error: unknown warning option '-Wunused-but-set-parameter'; did you mean '-Wunused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-signedness' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wduplicated-cond'; did you mean '-Wduplicate-enum'? [-Werror,-Wunknown-warning-option]
make[1]: *** [Makefile:890: src/ar.o] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-gnumake-4.2.90pre2491_48c8a11.drv-0/make-48c8a116a914a325a0497721f5d8b58d5bba34d4'
make: *** [Makefile:985: all-recursive] Error 1
builder for '/nix/store/0in971qbdzdsbv3m113hbmngqbhmcx8k-gnumake-4.2.90pre2491_48c8a11.drv' failed with exit code 2
error: build of '/nix/store/0in971qbdzdsbv3m113hbmngqbhmcx8k-gnumake-4.2.90pre2491_48c8a11.drv' failed

This might be because Nix on MacOS uses a different (older) GCC version than Nix on other operating systems.
Steps to reproduce
On MacOS (High Sierra), install nix 2.0, then type nix-env -i gnumake.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-darwin"`
 - host os: `Darwin 17.5.0, macOS 10.13.4`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0`
 - channels(eschnett): `""`
 - channels(root): `"nixpkgs-18.09pre133932.ee28e35ba37"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

It's not trying to install the default version, see https://nixos.wiki/wiki/FAQ/nix-env_-iA.


v15: Generate angular workspace/application with change detection set to onPush

Command
new
Description
As a developer, I should be able to generate all my angular applications and their components with changeDetection strategy set to onPush by default.
- npx @angular/cli@15 new control-center --create-application false --strict true --package-manager yarn
- cd control-center
- yarn ng config schematics.@schematics/angular:component.changeDetection OnPush
- yarn ng generate application admin-panel --routing true --style scss
- yarn ng add @angular-eslint/schematics@latest
- ng generate application support-panel --routing true --style scss

Neither projects/admin-panel/src/app/app.component.ts nor projects/support-panel/src/app/app.component.ts contain any change detection strategy

Describe the solution you'd like
Angular CLI should provide a new argument to set change detection globally for all applications/libraries in a workspace

npx @angular/cli@15 new control-center --create-application false --strict true --change-detection onPush

Describe alternatives you've considered
Previously, it was suggested to configure angular cli by executing this command,

ng config schematics.@schematics/angular:component.changeDetection OnPush

however this statement does not behave as expected in comparison to the previous releases (v14 and lower)

Duplicate of https://github.com/angular/angular-cli/issues/21523

@alan-agius4 The workaround you mentioned here

https://github.com/angular/angular-cli/issues/21353#issuecomment-882246989

no longer works for Angular CLI v15. The original issue was closed citing the reason that there is a configuration option available.

ng config schematics.@schematics/angular:component.changeDetection OnPush

However, with v15, this option no longer does anything. At this point, there is no way to generate onPush components by default in angular CLI project.
Why has this issue been closed without a proper resolution?


Shortcut command not showing

Cant see what command each assigned shotcut/hotkey is assigned to:

I am sorry I must have missed this issue. The command can be seen when hovering over the select command button. This is because different commands have different lengths that, in some cases, vary vastly. So to remove visual clutter I have chosen not to show the commands. If you have ideas to improve this feel free to suggest them.


TS-4227: Remove auto_ptr in SPDY plugin

This only applies to 5.3.x and is because F22 has a version of GCC that has deprecated auto_ptr.

+1


allow fromJSON to restore history

looks plausible to me

sorry @ara4n was just going to get you to take a look at the branch will all the commits on instead of 3 separate PRs


Feature Request: Support static builds

Running on Container Linux, I recently built kata-runtime in an Alpine linux container so I could use it as a static binary, all it required was changing the go build command to the following:
go build --ldflags '-linkmode external -extldflags "-static"' -i -o $@
Could building statically be supported natively in the Makefile? Maybe a variable like GO_BUILD_OPTS could be introduce additional options, and then another variable or different target entirely for doing static builds?
After moving the generated binary to the Container Linux machine, it seems to be working OK:
core@localhost ~ $ ./kata-runtime kata-check
INFO[0000] CPU property found                            description="Intel Architecture CPU" name=GenuineIntel pid=2437 source=runtime type=attribute
INFO[0000] CPU property found                            description=SSE4.1 name=sse4_1 pid=2437 source=runtime type=flag
INFO[0000] CPU property found                            description="Virtualization support" name=vmx pid=2437 source=runtime type=flag
INFO[0000] CPU property found                            description="64Bit CPU" name=lm pid=2437 source=runtime type=flag
INFO[0000] kernel property found                         description="Kernel-based Virtual Machine" name=kvm pid=2437 source=runtime type=module
INFO[0000] kernel property found                         description="Intel KVM" name=kvm_intel pid=2437 source=runtime type=module
WARN[0000] kernel module parameter has unexpected value  description="Intel KVM" expected=Y name=kvm_intel parameter=nested pid=2437 source=runtime type=module value=N
INFO[0000] Kernel property value correct                 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=2437 source=runtime type=module value=Y
INFO[0000] kernel property found                         description="Host kernel accelerator for virtio" name=vhost pid=2437 source=runtime type=module
INFO[0000] kernel property found                         description="Host kernel accelerator for virtio network" name=vhost_net pid=2437 source=runtime type=module
INFO[0000] System is capable of running Kata Containers  name=kata-runtime pid=2437 source=runtime

I haven't gotten to make a OCI bundle or run it behind containerd/frakti yet but will update when I do.

/cc @jcvenegas @jodh-intel

go build --ldflags '-linkmode external -extldflags "-static"' -i -o $@

This command doesn't work for me.
 # github.com/kata-containers/runtime/cli
/tmp/go-link-199539456/000001.o: In function `_cgo_b0c710f30cfd_C2func_getaddrinfo':
/tmp/go-build/net/_obj/cgo-gcc-prolog:46: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libpthread.a(libpthread.o): In function `sem_open':
(.text+0x6a23): warning: the use of `mktemp' is dangerous, better use `mkstemp'

@caoruidong Are you attempting the build in a distribution that supports musl libc?
From the warning text it looks like you're linking to glibc. Also, the warning text you posted is warnings, where was the actual error? is that the whole output?

@t3hmrman Oh, my fault. It is a warning and binary is still compiled out.

No problem! Just to note I did get this working behind containerd's untrusted runtime system, but it didn't ultimately end up working, plan on making a blog post about it, but that should be separate from the meat of this ticket, otherwise I'd just delete this ticket.

+1 to add this to our Makefile

Oh I do want to note that since I went through this the normal install (via a set of kubernetes resources) works for me now, so I didn't have to statically compile the runtime myself and put it on the machine. I also switched to Container Linux and don't use Container Linux anymore.
I did write that blog post though.


fix: return only boolean when useGlobalLibvips is used by gyp

The debug log is compromising the gyp variable use_global_libvips and therefore breaks compilation when the detection adds additional output.
/app/node_modules/sharp # SHARP_FORCE_GLOBAL_LIBVIPS=true node -p "Boolean(require('./lib/libvips').useGlobalLibvips()).toString()"
sharp: Detected SHARP_FORCE_GLOBAL_LIBVIPS, skipping search for globally-installed libvips
true

see also https://github.com/lovell/sharp/issues/4060 and https://github.com/lovell/sharp/commit/579cf93030cf2a27c50976e106a23dfe5bd6795e

Thanks for the PR. Given the "skipping search for globally-installed libvips" log message is somewhat confusing when SHARP_FORCE_GLOBAL_LIBVIPS is set, could this be simplified to something like the following?
+++ b/lib/libvips.js
@@ -172,7 +172,7 @@ const useGlobalLibvips = () => {
     return skipSearch(false, 'SHARP_IGNORE_GLOBAL_LIBVIPS');
   }
   if (Boolean(process.env.SHARP_FORCE_GLOBAL_LIBVIPS) === true) {
-    return skipSearch(true, 'SHARP_FORCE_GLOBAL_LIBVIPS');
+    return true;
   }
   /* istanbul ignore next */
   if (isRosetta()) {

i guess it could, but at the same time it is a helpful information that the detection is enforced/influenced by a the env variable.

Also, giving the output is used in a script we already got lucky as we never checked for the false value.


Does not fail when in jest mode and error happens

When in jest mode and any of steps errors, because we are not evaluating the returned value test will pass.

Fixed. Closing the issue


Mention countyAPI in config instructions?

https://github.com/cfpb/owning-a-home#configuration doesn't include information about the countyAPI. Does this need mentioning in the public instructions and/or is it required to run the project?

It's required to make the rate checker page work correctly...


⚠ Bofrost.be has degraded performance

In b180c4f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1691 ms

Resolved: Bofrost.be performance has improved in 0bb36ad.


WIP: Finetuning module, Hybrid module, New models

This branch includes the changes for my Bachelor thesis and can be merged into main afterwards:
Finetuning Module

[x] Add Finetune Module
[x] Add needed configs
[x] Add run script

Hybrid Module

[x] Add Hybrid Module that inherits from Finetune Module
[x] Add needed configs
[x] Add run script

Embedding module

[x] Non-centered padding in Embedding Module like in Pipeline
[x] Removed resampling from Embedding Module
[x] Add run script

Models

Merged BEATs into branch
Merged AudioMAE into branch
[x] Add get_embedding() for ConvNeXt
[x] Add get embedding() for EAT
[x] Integrate AVES model
[x] Test with AVES
[x] Integrate BioLingual model
[x] Test with BioLingual

Other

Reactivated valid accuracy metric
Added ability to use "ckpt_path" for testing
Added plot notebook and result CSVs

Maybe the results folder should be excluded in the merge 🤔 It contains the notebook for my plots, the results CSVs and the plot PNGs.

Should I move the experiment configs in some special folder like "Thesis" or into Biofoundation? They are in local right now

Ah I see some experiments were renamed automatically with the merge but others are still in the local folder as well as all the finetune and hybrid experiments

I made small changes to BEATS for example that the feature extractor is only frozen if train_classifier is true so that finetuning works.

I added two plots to the README for reference which could be removed or changed in the future when the BioFoundation Paper is done :)


Re-implement MutableDictionary with primitive type, when possible.

There are two motivitations behind this change, both of which will
benefit by reduced memory consumption by avoiding java objects where
primitives could be used.

Mutable dictionary implementations are currently used for realtime
segments in consuming state. This increase memory consumption (due to
non-primitive key/values) throughout the life of the segment in
consumption.

No-dictionary group key generator can now use the mutable dictionary
as a on the fly dictionary.

Added unit tests for the new implementations.

Changes look good. Do you have any data on the memory improvement?

Codecov Report

Merging #1042 into master will increase coverage by 17.42%.

@@             Coverage Diff             @@
##           master    #1042       +/-   ##
===========================================
+ Coverage   39.46%   56.89%   +17.42%
===========================================
  Files         860      860
  Lines       42116    42235      +119
  Branches     5376     5385        +9
===========================================
+ Hits        16620    24028     +7408
+ Misses      24052    16605     -7447
- Partials     1444     1602      +158

Impacted Files
Coverage Δ

...ltime/impl/dictionary/MutableDictionaryReader.java
29.26% <100%> (-11.72%)
:x:

...ltime/impl/dictionary/DoubleMutableDictionary.java
59.57% <67.27%> (+5.72%)
:white_check_mark:

...realtime/impl/dictionary/IntMutableDictionary.java
64.64% <70.49%> (+4.64%)
:white_check_mark:

...ltime/impl/dictionary/StringMutableDictionary.java
78.66% <72%> (-0.5%)
:x:

...altime/impl/dictionary/FloatMutableDictionary.java
67.39% <72.22%> (+4.31%)
:white_check_mark:

...ealtime/impl/dictionary/LongMutableDictionary.java
67.39% <73.58%> (+10.46%)
:white_check_mark:

...ealtime/converter/RealtimeSegmentRecordReader.java
89.74% <ø> (-7.7%)
:x:

...manager/realtime/HLRealtimeSegmentDataManager.java
73.33% <ø> (-2.23%)
:x:

...ata/manager/realtime/RealtimeTableDataManager.java
50% <ø> (-1.05%)
:x:

...regation/function/customobject/QuantileDigest.java
55.36% <ø> (-0.22%)
:x:

... and 383 more

Continue to review full report at Codecov.

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


Permissions required in the home tenant?

My account has Global Admin permissions (via B2B guest account) in selected customer tenants but not in my home tenant.
In my home tenant my account doesn't have any admin role at all (not necessary).
Now when I open the M365 admin center I don't see the tenant switcher as I only see the error message regarding the missing admin role.
What minimum permissions are required in the home tenant to see the tenant switcher?

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

ID: 7b378de4-ca71-a16b-6669-369e3e3ff9d4
Version Independent ID: 1a1a6ec6-8c04-2172-7afa-49d268191687
Content: Manage multiple tenants - Microsoft 365 admin
Content Source: microsoft-365/admin/multi-tenant/manage.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@taikuli Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/8199
This is only available for Microsoft 365 partner admins (delegated admin access) for now.
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @taikuli Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Fix #303 - Reorder columns in query instance

Fixes #303 by reordering the columns of query_instance_df_dummies so that the resulting array has the same format as data_df_copy in the KD-tree.

I updated the commit to includ a Signed-off-by message.

Codecov Report

Merging #304 (5b6f5f2) into master (6b5a521) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   71.31%   71.42%   +0.10%
==========================================
  Files          26       26
  Lines        3462     3464       +2
==========================================
+ Hits         2469     2474       +5
+ Misses        993      990       -3

Flag
Coverage Δ

unittests
71.42% <100.00%> (+0.10%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

dice_ml/explainer_interfaces/dice_KD.py
91.66% <100.00%> (+0.12%)
:arrow_up:

dice_ml/explainer_interfaces/explainer_base.py
89.64% <0.00%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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


lnurl with amount

issue: when selecting paycode, there is currently in the mobile app no way to set an amount
why?:
because lnurl endpoint from galoy-pay didn't accept an amount
why?
because there was an amount, but it was for callback only
this PR https://github.com/GaloyMoney/galoy-pay/pull/539/files and a few other before "solve" the issue, and now the callback is behind a different url, such that we can pass an amount.
https://pay.blink.sv/.well-know/lnurlp/nicolas?amount=300&currency=EUR

this was done?


Nothing was returned from render when trying to use any graphics wrapped in an Entity

When I pass "point" to Entity, I can get a circular point rendering on the globe as expected, but as soon as I wrap any Graphic component with Entity, the app crashes with this error:

All the code is on the same level, and there isn't any custom data.
import React, { useState, useEffect } from "react";
import { hot } from "react-hot-loader/root";
import { Cartesian3, Color } from "cesium";
import { Viewer, Entity, BoxGraphics } from "resium";

import "./App.css";

function App() {
  return (
    <Viewer full>
      <Entity
        name="BoxGraphics"
        description="BoxGraphics!!"
        position={Cartesian3.fromDegrees(0, 0, 0)}
      >
        <BoxGraphics
          material={Color.RED}
          dimensions={new Cartesian3(400000.0, 300000.0, 500000.0)}
        />
      </Entity>
    </Viewer>
  );
}

export default hot(App);

Has anyone encountered this bug before, and can refer to me to any resources that might be of help? Thanks

What Cesium and Resium's version are you using?

hi rot @rot1024,
I'm using:
cesium 1.73.0
resium 1.13.0
craco-cesium 1.2.0

I tried to update the example project in the Resium repository as following:
app.js
import React from "react";
import { Cartesian3, Color } from "cesium";
import { Viewer, Entity, BoxGraphics } from "resium";

function App() {
  return (
    <Viewer full>
      <Entity
        name="BoxGraphics"
        description="BoxGraphics!!"
        position={Cartesian3.fromDegrees(0, 0, 0)}
      >
        <BoxGraphics
          material={Color.RED}
          dimensions={new Cartesian3(400000.0, 300000.0, 500000.0)}
        />
      </Entity>
    </Viewer>
  );
}

export default App;

And then it works well:

So that issue may be due to your environment. If you use yarn, try to delete yarn.lock and reinstalling modules.

Also I tried it at https://github.com/rot1024/create-react-app-cesium-example and I found the issue. So I guess the issue occurs only in the CRA environment. I am investigating it...

I found there is a bug in Resium. I will fix it soon and release a new version. Thank you!

v1.13.1 has been released! Try it!

Wow, thank you! Very much appreciated :)


DynamoDb Sink Plugin Implementation

For design and requirements:
https://wiki.cask.co/display/CE/AWS+DynamoDb+batch+sink

I'm getting a build failure with this plugin:
{code}
[ERROR] Failed to execute goal on project dynamodb-sink-plugin: Could not resolve dependencies for project co.cask.hydrator:dynamodb-sink-plugin:jar:1.0.0-SNAPSHOT: Could not find artifact co.cask.hydrator:hydrator-common:jar:1.5.0-SNAPSHOT in sonatype (https://oss.sonatype.org/content/groups/public) -> [Help 1]
{code}

Build was getting successful with hydrator-common version as 1.5.0-SNAPSHOT for -  mvn clean package
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default) @ dynamodb-sink-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.219s
[INFO] Finished at: Thu Feb 02 15:04:18 IST 2017
[INFO] Final Memory: 69M/563M
[INFO] ------------------------------------------------------------------------
However, to check this build issue, I tried manually removing the hydrator-common (1.5.0-SNAPSHOT) jar from my local repo and now I am facing the same issues.
I am able to run the build successfully for hydrator-common version 1.4.0. Will change the pom to point to this.

@abhinavbansal246 have all your comments been addressed?

LGTM

@ananya-bhattacharya  Please squash commits and merge


evm_api: Implement evm_mine API endpoint

Description:
The evm_mine endpoint needs to be implemented. The purpose of this endpoint is to force a single block to be mined.
Will mine an empty block if there are no available transactions to mine. Ganache docs for reference.
NOTE: As of v0.1.0, we only support one transaction per block. So the difficulty might increase if this changes in the future.
// Interface in the `trait`
#[rpc(name = "evm_mine")]
fn mine(
    &self,
) -> BoxFuture<Result<String>>;

// Actual code in the `impl`
fn mine(
    &self,
) -> BoxFuture<Result<String>> {
    // TODO: Solution here
}

Expected response
Command returns proper response:
curl -X POST http://localhost:8011 \
     -H "Content-Type: application/json" \
     --data '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "evm_mine",
       "params": []
     }'

Response:
{"jsonrpc":"2.0", "result":"0x0", "id":1}

Requirements:

Implement the API:

The endpoint should return "0x0" hard-coded string upon success.
Ensure the method executes the call reliably and efficiently.
Ensure errors are properly returned.

Unit Tests:

Write unit tests to verify the functionality of the mine method.
Ensure coverage for multiple edge-case scenarios.

Documentation:

Add inline Rust documentation (/// comments) detailing the method's purpose, return values, and any potential edge cases or error scenarios.
Update SUPPORTED_APIS.md with updated documentation and examples.
(Optional) Add request to test_endpoints.http for easier manual verification.

Task Checklist:

[ ] Implement the mine method.
[ ] Write unit tests for the mine method.
[ ] Add inline documentation for the evm_mine endpoint.
[ ] Update documentation for the evm_mine endpoint in SUPPORTED_APIS.md.

Additional Notes:
If you're an external contributor looking to take on this issue, please comment below to let us know you're working on it. If you need further clarification on the requirements or need assistance with anything related to the implementation, feel free to ask!

Resolved in #116


[UBS Admin Cabinet] When adding 'Add service', the number in the 'Basic cost' column is not displayed correctly

Environment: Windows 10 Pro 20H2
Google Chrome 113.0.5672.93
Reproducible: always
Build found: 19.09.2023
Preconditions

The user should be logged in https://www.greencity.social/#/greenCity as a Super Admin

Steps to reproduce

Click on the 'Tariffs' tab
Choose the pricing card without 'Services'
Click on the  'Add service' button
Fill in all required fields
In the 'Basic cost' field, write the number '100'
Click on the  'Add' button
Pay attention to the number in the 'Basic cost' column

Actual result
The number '1.00' is displayed
Expected result
The number '100.00' should be displayed
User story https://github.com/ita-social-projects/GreenCity/issues/4428
"Bug", Priority ("Medium"), Severity ("Major"), Type ("Functional")

The price '1.00' is displayed when the Admin enters the '100'. But after editing the basic price for '100', the number '100.00' is displayed.
This problem reproduces only when the Admin adds the new tariff.


Add POLAR_BEAR_START/STOP_STANDING animations, fixes #1902

Awesome!
Thanks!
Finally, I can train a frozen circus...


should PS607634 be connected to multiple MONDO records?

Mondo term (ID Label)
https://www.ebi.ac.uk/ols/search?q=omimps_607634&ontology=mondo
returns both MONDO:0017198 and MONDO:0020645
Bug/Typo/Error description
Given that the term for  https://www.omim.org/phenotypicSeries/PS607634 is Osteopetrosis, autosomal dominant, should OMIMPS_607634 be an XRef only for MONDO:0020645?

yes, I believe so. @cmungall please let us know if otherwise


enable lora-adapters for dev mode

Describe the problem you're trying to solve
dev mode should be able to load lora-adapters if they are present in the modelkit
Describe the solution you'd like
dev mode should detect if there is a lora-adapter type on the modelkit and load it to the dev-mode.

Does the llamafile we are downloading support --lora tag to run lora adapters?

Yes it does. Here are the related options. They are just inherited from llama.cpp
--lora FNAME
Apply LoRA adapter (implies --no-mmap)
--lora-scaled FNAME S
Apply LoRA adapter with user defined scaling S (implies --no-mmap)
--lora-base FNAME
Optional model to use as a base for the layers modified by the LoRA adapter


Migrate collect.earth to GCP server

This is done for the existing back end.  This will need to be updated when we create the new back end.

Karen :: Test all pages on ceo.sig-gis.com with the dev database

Matt  :: Rebase development onto master and deploy to ceo.sig-gis.com
Matt  :: Take down collect.earth and move the production DB to ceo.sig-gis.com
Jeff  :: Change DNS records for collect.earth to point to ceo.sig-gis.com and drop ceo.sig-gis.com DNS records
Matt  :: Retire collect.earth server


net: dns: Allow using resolver and responder at the same time

This allows user to have both mDNS resolver and responder enabled at the same time.
Fixes #72553

@besmarsh, I have a fix proposal for the mDNS resolver/responder co-existence issue you created. Would you be able to try it and report if it works for you or not?

@besmarsh, I have a fix proposal for the mDNS resolver/responder co-existence issue you created. Would you be able to try it and report if it works for you or not?

For sure, I should be able to test it in the next couple of days.

While testing, I noticed an issue when wrong context was used in dispatcher callback

Updated according to comments


Add license file

The license is hidden away at the end of the readme.
For clarity, I recommend add the license file to the root of the repository.

good catch.
License added.


Handling non-local image sources

First of all, thank you for your package, I find it very helpful.
I have run into an issue where it does not deal well with a new blog I am managing. The content is curated with a headless Ghost and then the Next.JS site is built and exported to creates a static site. I found that in our index page where I pass the URL of the featured image directly to ExportedImage directly caused issues unless I used the flag "unoptimized".
I entirely see why. But I was thinking it would be great if this package could pull/download the image at build time and create optimised versions to be used just like a locally referenced version. If this is already possible and I have set things up wrongly, please let me know. If this is not possible, I am willing to do the coding work to make this possible.
My end goal is to have a headless CMS that when a none engineering user edits a post the site is rebuilt in automation and it creates a static website with as much optimisation as reasonable/sensible.
The index page for reference: https://wordcloudplus.com/blog/
I wanted to check in before embarking on potentially unneeded development.

Hi @wpoynter,
Thank you very much for your kind words!
At the moment you can only use the remote images in an unoptimised fashion as you are currently using.
I have an idea on how to make it work with remote images. I am currently experimenting and will update you on the progress. 🙂

I have created an initial concept for remote images in #101
I have to test it more and write some test but it is looking promising

Sorry for the slow response on this, I have yet to test the work, but thank you for taking a crack at it. I expect I will get to test it within the next week or two.


Remove path for nodeIntegration value of 'disable'

This looked to be a no-op since node_integration already defaulted to true and this check was setting it to true based on the value not equaling "disable".
/cc @zcbenz

There are also pieces to remove in lib/renderer/init.js.

👍


Add authentication to the backend

Currently, we only authenticate users in the frontend.
Of course, we need to also perform these checks in the backend.
This guide might be helpful: https://auth0.com/docs/microsites/protect-api/protect-api

This was just suggested to me on the CF Discord: https://www.npmjs.com/package/jose
Looks promising! I shall give that a try.

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @qiujian444, @srishilesh, @danielhamlett7, @fernando801, @ru19wu06, @skribled, @operaboy

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @lucker6666, @dapurv5, @djtriptych, @mohseenrm, @nkabiru, @seanlim, @brt


Bad keyboard navigation in Details view

Description
In the Details view, opening a new folder gives focus to the column headings. So you can't easily use keyboard navigation in the new folder.
Steps To Reproduce

Use the Details view.
Open a folder with the keyboard (key enter).
The focus is on the header (Name).

Steps to fix
In the Details view, give focus to the first item when opening a folder.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22621.819
Windows Version
Windows 11 22621.674
Relevant Assets/Logs
https://user-images.githubusercontent.com/46631671/204158777-105cfb19-499f-4646-9804-fb81af094714.mp4

Is this still an issue in the preview version? https://files.community/download/preview

I have the problem in the preview, but not anymore in the updated dev version. So it seems corrected.


GDScript - "" escape character isn't recognized for print method.

Godot version:
3.0 / Master Branch
OS/device including version:
Windows 10
Issue description:
The following code won't work
func _ready():
    print( \
      "some string" \
      )

However, the below code WILL work, making an inconsistancy
func _ready():
    _other_print( \
            "some string" \
            )

func _other_print( value ):
    print( value )

This illustrates an inconsistency with the escape character when dealing with built in methods! Probably has to do with issues during code parsing.
Steps to reproduce:
Copy + Paste the above into a script and check the results!

It seems that restarting the editor will fix this behavior, but I will leave this here because it does seem to cause an error without restarting the editor.

I can't reproduce this. I just copied and pasted and it worked fine. Were there any errors or it simply didn't print when you run?

I got an error if there's a space character after the "". But without spaces it works fine.

The newline must be the next thing after \, any other character (including space) will give an error. That's expected, it's not a bug.

@vnen, right, perhaps @TheYokai had spaces there.

The space must have been my issue! I've opened the project in question and it seems to have been resolved then. Sorry for the false alarm.

Alright then, I'm closing this.


how can i add a crf layer into my model?

i can't find crf (conditional random field) , plz tell me if there's a crf block in djl. thanks.

There isn't a CRF block in DJL right now. Are you interested in creating it?

I'm sorry that I have no ability to create a CRF block myself, thx for replying. I'm now trying to build my model with pytorch and export using TorchScript. Can djl load, train and predict?

Yeah. If you export your model with TorchScript, then you can load it with DJL for transfer learning or prediction. You can follow this example to load the model.

i can't find crf (conditional random field) , plz tell me if there's a crf block in djl. thanks.

Are you using crf block to train on some dataset, or do you already have a well trained crf model and just want to inference with it?


Fix AVS3 10 bit decode on Windows

Now, Actions' builds can not decode AVS3 10 bit. A bug in uavs3d causes COMPILE_10BIT to always be 0.
https://github.com/uavs3/uavs3d/blob/b8f8e215297ff98ee78162fdc3d9c52d16b113d5/source/decore/com_def.h#L39-L58
I changed script to remove #define COMPILE_10BIT 0.

Will this pr fix the problem？
https://github.com/uavs3/uavs3d/pull/31/files#diff-eb9db869f6f37c7a704618b76e545195fbedc089867bafadcc20132c3fbf9e76

Will this pr fix the problem？ https://github.com/uavs3/uavs3d/pull/31/files#diff-eb9db869f6f37c7a704618b76e545195fbedc089867bafadcc20132c3fbf9e76

Yes, he fixed the problem.

I'd prefer to have the PR merged that fixes is properly than work around it here, which will potentially be forgotten about.
Or is upstream inactive, and the PR won't be merged anytime soon?
In any case, please use sed -i instead of shuffeling around files like that.

@BtbN I also think it would be better to wait for upstream fixes, but the PR in question has been submitted for two weeks and still hasn't been merged, so it probably won't be done soon.😗

Can you squash this into one commit, without any merges?
Fine to merge otherwise.

uavs3d merged.

Ah, sorry. Github did not send me a notification for the push.
Updated the dependency, so it should be fixed in the next build.


Dependencies of migrations/0014_auto_20160215_1331.py aren't complete

Hi,
in our latest project we're using many of your djangocms plugins. Great work, thanks!
However we recently encountered one tiny problem. After adding one of our app, we've suddenly started to get strange error when applying all migrations on empty database (project is still in development, so we drop database quite often). Error was strange, and nobody knew what was going on.
We didn't notice at first that migrations suddenly started to apply in different order, and that was the reason why it started to crash. Normally it wouldn't be an issue, because Django can resolve dependencies if they are defined properly. Unfortunately IMO they are not properly defined in your migrations/0014_auto_20160215_1331.py file.
To explain why, let me show you log from applying migrations to our project before adding our last app:
$ python manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, cms, cmsplugin_filer_file, cmsplugin_filer_folder, cmsplugin_filer_image, contenttypes, djangocms_blog, djangocms_column, djangocms_googlemap, djangocms_highlightjs, djangocms_link, djangocms_page_meta, djangocms_redirect, djangocms_snippet, djangocms_style, djangocms_text_ckeditor, djangocms_video, easy_thumbnails, filer, menus, more_from_category, most_popular_posts, robots, sessions, sites, taggit
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying sites.0001_initial... OK
  Applying cms.0001_initial... OK
  Applying cms.0002_auto_20140816_1918... OK
  Applying cms.0003_auto_20140926_2347... OK
  Applying cms.0004_auto_20140924_1038... OK
  Applying cms.0005_auto_20140924_1039... OK
  Applying cms.0006_auto_20140924_1110... OK
  Applying cms.0007_auto_20141028_1559... OK
  Applying cms.0008_auto_20150208_2149... OK
  Applying cms.0008_auto_20150121_0059... OK
  Applying cms.0009_merge... OK
  Applying cms.0010_migrate_use_structure... OK
  Applying cms.0011_auto_20150419_1006... OK
  Applying cms.0012_auto_20150607_2207... OK
  Applying cms.0013_urlconfrevision... OK
  Applying cms.0014_auto_20160404_1908... OK
  Applying cms.0015_auto_20160421_0000... OK
  Applying cms.0016_auto_20160608_1535... OK
  Applying filer.0001_initial... OK
  Applying cmsplugin_filer_file.0001_initial... OK
  Applying cmsplugin_filer_file.0002_auto_20160112_1617... OK
  Applying cmsplugin_filer_file.0003_filerfile_link_attributes... OK
  Applying cmsplugin_filer_file.0004_auto_20160705_1334... OK
  Applying cmsplugin_filer_file.0005_auto_20160713_1853... OK
  Applying cmsplugin_filer_folder.0001_initial... OK
  Applying cmsplugin_filer_folder.0002_auto_20160113_1318... OK
  Applying cmsplugin_filer_folder.0003_auto_20160713_1853... OK
  Applying filer.0002_auto_20150606_2003... OK
  Applying filer.0003_thumbnailoption... OK
  Applying cmsplugin_filer_image.0001_initial... OK
  Applying cmsplugin_filer_image.0002_auto_20160108_1708... OK
  Applying cmsplugin_filer_image.0003_mv_thumbnail_option_to_filer_20160119_1720... OK
  Applying cmsplugin_filer_image.0004_auto_20160120_0950... OK
  Applying cmsplugin_filer_image.0005_auto_20160224_1457... OK
  Applying cmsplugin_filer_image.0006_auto_20160427_1438... OK
  Applying cmsplugin_filer_image.0007_filerimage_link_attributes... OK
  Applying cmsplugin_filer_image.0008_auto_20160705_1334... OK
  Applying cmsplugin_filer_image.0009_auto_20160713_1853... OK
  Applying taggit.0001_initial... OK
  Applying djangocms_blog.0001_initial... OK
  Applying djangocms_blog.0002_post_sites... OK
  Applying djangocms_blog.0003_auto_20141201_2252... OK
  Applying djangocms_blog.0004_auto_20150108_1435... OK
  Applying djangocms_blog.0005_auto_20150212_1118... OK
  Applying djangocms_blog.0006_auto_20150214_1907... OK
  Applying djangocms_blog.0007_auto_20150719_0933... OK
  Applying djangocms_blog.0008_auto_20150814_0831... OK
  Applying djangocms_blog.0009_latestpostsplugin_tags_new... OK
  Applying djangocms_blog.0010_auto_20150923_1151... OK
  Applying djangocms_blog.0011_auto_20151024_1809... OK
  Applying djangocms_blog.0012_auto_20151220_1734... OK
  Applying djangocms_blog.0013_auto_20160201_2235... OK
  Applying djangocms_blog.0014_auto_20160215_1331... OK
  Applying djangocms_blog.0015_auto_20160408_1849... OK
  Applying djangocms_blog.0016_auto_20160502_1741... OK
  Applying djangocms_blog.0017_thumbnail_move... OK
  Applying djangocms_blog.0018_thumbnail_move2... OK
  Applying djangocms_blog.0019_thumbnail_move3... OK
  Applying djangocms_blog.0020_thumbnail_move4... OK
  Applying djangocms_blog.0021_auto_20160823_2008... OK
  Applying djangocms_blog.0022_auto_20170304_1040... OK
  Applying djangocms_column.0001_initial... OK
  Applying djangocms_column.0002_auto_20160915_0818... OK
  [... more here, but irrelevant - all were applied to the last one]

And here is log/traceback from the same operation when there's one more migration to apply from our app (authors):
$ python manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, authors, cms, cmsplugin_filer_file, cmsplugin_filer_folder, cmsplugin_filer_image, contenttypes, djangocms_blog, djangocms_column, djangocms_googlemap, djangocms_highlightjs, djangocms_link, djangocms_page_meta, djangocms_redirect, djangocms_snippet, djangocms_style, djangocms_text_ckeditor, djangocms_video, easy_thumbnails, filer, menus, more_from_category, most_popular_posts, robots, sessions, sites, taggit
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying filer.0001_initial... OK
  Applying filer.0002_auto_20150606_2003... OK
  Applying filer.0003_thumbnailoption... OK
  Applying filer.0004_auto_20160328_1434... OK
  Applying filer.0005_auto_20160623_1425... OK
  Applying filer.0006_auto_20160623_1627... OK
  Applying filer.0007_auto_20161016_1055... OK
  Applying taggit.0001_initial... OK
  Applying sites.0001_initial... OK
  Applying cms.0001_initial... OK
  Applying cms.0002_auto_20140816_1918... OK
  Applying cms.0003_auto_20140926_2347... OK
  Applying cmsplugin_filer_image.0001_initial... OK
  Applying cmsplugin_filer_image.0002_auto_20160108_1708... OK
  Applying cmsplugin_filer_image.0003_mv_thumbnail_option_to_filer_20160119_1720... OK
  Applying djangocms_blog.0001_initial... OK
  Applying djangocms_blog.0002_post_sites... OK
  Applying djangocms_blog.0003_auto_20141201_2252... OK
  Applying djangocms_blog.0004_auto_20150108_1435... OK
  Applying djangocms_blog.0005_auto_20150212_1118... OK
  Applying djangocms_blog.0006_auto_20150214_1907... OK
  Applying djangocms_blog.0007_auto_20150719_0933... OK
  Applying djangocms_blog.0008_auto_20150814_0831... OK
  Applying djangocms_blog.0009_latestpostsplugin_tags_new... OK
  Applying djangocms_blog.0010_auto_20150923_1151... OK
  Applying djangocms_blog.0011_auto_20151024_1809... OK
  Applying djangocms_blog.0012_auto_20151220_1734... OK
  Applying djangocms_blog.0013_auto_20160201_2235... OK
  Applying djangocms_blog.0014_auto_20160215_1331...Traceback (most recent call last):
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: column cms_page.path does not exist
LINE 1: SELECT "cms_page"."id", "cms_page"."path", "cms_page"."depth...
                                ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/core/management/base.py", line 294, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 189, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/djangocms_blog/migrations/0014_auto_20160215_1331.py", line 18, in forwards
    for page in Page.objects.drafts().filter(application_urls='BlogApp'):
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/models/query.py", line 256, in __iter__
    self._fetch_all()
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/models/query.py", line 1087, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/models/query.py", line 54, in __iter__
    results = compiler.execute_sql()
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
    cursor.execute(sql, params)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/wiktor/venvs/project/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column cms_page.path does not exist
LINE 1: SELECT "cms_page"."id", "cms_page"."path", "cms_page"."depth...
                                ^

As you can see, main difference (and as I said, we didn't notice it at first - it cost us many hours of debugging :)) is that cms migrations load now only up to 0003 and jump to a different app. And when it comes to djangocms_blog.0014_auto_20160215_1331 there's no column cms_page.path (which is created in cms.0004_auto_20140924_1038 migration). Thats why we think, that dependencies in djangocms_blog.0014_auto_20160215_1331 are incomplete. cms.0004_auto_20140924_1038 should be added there, and as soon as I finish writing this report I will request a pull with quick fix of that file.
Needless to say, after applying that fix, log from loading migrations looks like that:
$ python manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, authors, cms, cmsplugin_filer_file, cmsplugin_filer_folder, cmsplugin_filer_image, contenttypes, djangocms_blog, djangocms_column, djangocms_googlemap, djangocms_highlightjs, djangocms_link, djangocms_page_meta, djangocms_redirect, djangocms_snippet, djangocms_style, djangocms_text_ckeditor, djangocms_video, easy_thumbnails, filer, menus, more_from_category, most_popular_posts, robots, sessions, sites, taggit
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying filer.0001_initial... OK
  Applying filer.0002_auto_20150606_2003... OK
  Applying filer.0003_thumbnailoption... OK
  Applying filer.0004_auto_20160328_1434... OK
  Applying filer.0005_auto_20160623_1425... OK
  Applying filer.0006_auto_20160623_1627... OK
  Applying filer.0007_auto_20161016_1055... OK
  Applying taggit.0001_initial... OK
  Applying sites.0001_initial... OK
  Applying cms.0001_initial... OK
  Applying cms.0002_auto_20140816_1918... OK
  Applying cms.0003_auto_20140926_2347... OK
  Applying cmsplugin_filer_image.0001_initial... OK
  Applying cmsplugin_filer_image.0002_auto_20160108_1708... OK
  Applying cmsplugin_filer_image.0003_mv_thumbnail_option_to_filer_20160119_1720... OK
  Applying djangocms_blog.0001_initial... OK
  Applying djangocms_blog.0002_post_sites... OK
  Applying djangocms_blog.0003_auto_20141201_2252... OK
  Applying djangocms_blog.0004_auto_20150108_1435... OK
  Applying djangocms_blog.0005_auto_20150212_1118... OK
  Applying djangocms_blog.0006_auto_20150214_1907... OK
  Applying djangocms_blog.0007_auto_20150719_0933... OK
  Applying djangocms_blog.0008_auto_20150814_0831... OK
  Applying djangocms_blog.0009_latestpostsplugin_tags_new... OK
  Applying djangocms_blog.0010_auto_20150923_1151... OK
  Applying djangocms_blog.0011_auto_20151024_1809... OK
  Applying djangocms_blog.0012_auto_20151220_1734... OK
  Applying djangocms_blog.0013_auto_20160201_2235... OK
  Applying cms.0004_auto_20140924_1038... OK
  Applying djangocms_blog.0014_auto_20160215_1331... OK
  Applying djangocms_blog.0015_auto_20160408_1849... OK
  Applying djangocms_blog.0016_auto_20160502_1741... OK
  Applying djangocms_blog.0017_thumbnail_move... OK
  Applying djangocms_blog.0018_thumbnail_move2... OK
  Applying djangocms_blog.0019_thumbnail_move3... OK
  Applying djangocms_blog.0020_thumbnail_move4... OK
  Applying djangocms_blog.0021_auto_20160823_2008... OK
  Applying djangocms_blog.0022_auto_20170304_1040... OK
  Applying authors.0001_initial... OK
  Applying cms.0005_auto_20140924_1039... OK
  Applying cms.0006_auto_20140924_1110... OK
  Applying cms.0007_auto_20141028_1559... OK
  Applying cms.0008_auto_20150208_2149... OK
  Applying cms.0008_auto_20150121_0059... OK
  Applying cms.0009_merge... OK
  Applying cms.0010_migrate_use_structure... OK
  Applying cms.0011_auto_20150419_1006... OK
  Applying cms.0012_auto_20150607_2207... OK
  Applying cms.0013_urlconfrevision... OK
  Applying cms.0014_auto_20160404_1908... OK
  Applying cms.0015_auto_20160421_0000... OK
  Applying cms.0016_auto_20160608_1535... OK
  Applying cmsplugin_filer_file.0001_initial... OK
  Applying cmsplugin_filer_file.0002_auto_20160112_1617... OK
  [... more here, but also irrelevant - all goes well to the end :)]

We still don't know why order of migrations changed, and why just one random custom app can change it (and not two other added earlier). Maybe you know? I understand it's very random and rare if, for all those months, nobody reported you that kind of issue. :) It is also hard to reproduce, so I cannot give you exact instructions for it. That's why all I can show you is this set of three logs and many descriptions. :)
Anyway, I believe mentioned dependency should be updated if you don't want this issue to happen in future in somebody else project. :) What do you think?
Wiktor

Fixed by #364 , #365
Thanks @pywkm for reporting and fixing this!


62 create every component

This PR will add the needed and basics components for the ECS
The list is in #62

Codecov Report

Merging #64 (9c1123e) into master (14e0485) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 9c1123e differs from pull request most recent head 064b83e. Consider uploading reports for the commit 064b83e to get more accurate results

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   30.50%   30.50%
=======================================
  Files          16       16
  Lines         318      318
  Branches      152      152
=======================================
  Hits           97       97
  Misses        151      151
  Partials       70       70

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Re-evaluate in memory job scheduling

There's a unique InMemoryScheduledJobProcessor for each lightweight, local queue + the JasperRuntime. The diagnostics are useless.
Might be worth just improving the diagnostics on IJasperRuntime to show you everything that's outstanding.

Maybe take advantage of the observable publishing as a way to aggregate that data?

Meh, it's fine. No real reason to take any action here.


how can i find proxy server

how can i run proxy server to used as proxy connect to proxy pool

Just use docker.
docker-compose up

Then just visit http://localhost:5555/random

yes i know that
but how can i use it in my browser as proxy like localhost:5555

No, you can't use it for proxy, this is just an endpoint for you to fetch proxy. And it is used for coding not directly used. You should use code to request this endpoint then parse the result to get a proxy. Then use this proxy to do other things.


XClipper Makes My PC Stutters

Please complete the following information:

Platform: Windows 10 Pro 21H2
PC Specs: Ryzen 5 5600X, 16GB DDR4, RX 5600XT
App Version: Latest version of XClipper app

Hello,
As you already know, i installed XClipper app in my PC, the thing is whenever XClipper active (working in the background - in system tray), it caused my PC stutters, the screen keeps stuttering in random short interval, when i closed the app, there was no stuttering anymore.
I knew this because i use Typing Test websites (MonkeyType, 10FastFinger, Keybr), so whenever stutttering occur i know by looking at the typing transition between word to word. Hope you understand what i mean.
Best regard
Febryan Valdo

I've same laptop configuration but intel i7 never face this problem. Could you screen record something and also share your %appdata%/XClipper/logs/recent-log.txt to also help me understand about the problem.

Hello,
It's micro stuttering, i don't think it can be seen in the screen record, as i also using 144Hz monitor. But i can give you my latest log, latest 3 logs. Here you go: https://pastebin.com/YjmhBYHF

So when does the stuttering occurs? Like when you start the XClipper & immediately it happens or after some key presses.

Will check this & let you know currently busy with other work :)

Hi, I tried using XClipper on MonkeyType and Keybr however I did not experience any stuttering. Are you using a second monitor with some refresh rates? If so could you mention them?

Nope, i neither use them. As i said, i have 144hz monitor, so i knew when my PC has "stuttering" issue or not, but this is micro stuttering, happened randomly, but at least every 10 seconds i have this micro stuttering. When i close xClipper in system tray, no more micro stuttering.


Unexpected behavior when updating to the latest Next.js version

Current behavior
When updating Next.js to the latest version 14.2.3 this happens:

Steps to reproduce the bug
Using ariakit 0.4.5

Update Next.js to 14.2.3
Run npm run dev
The error happens

Expected behavior
Run the server without errors
Workaround
No response
Possible solutions
No response

Hey @irangarcia
Could you provide a reproducible so we can investigate?

Turn out to be an internal problem with our library


Unexpected server response (612) on loading pdf by using query url file parameter

we used the new PDFJS version(1.10.100) to load file at the mobile side, but we found many pdf files are not properly loaded.and I google it but I can't find the PDFJS error code named 612.so I am confussed.the pdf file can download properly,but can't view it online at the mobile side.
result in an error message:
PDF.js v1.10.100 (build: ea29ec83)
Message: Unexpected server response (612) while retrieving PDF.

we used the new PDFJS version(1.10.100)

As can be seen in https://github.com/mozilla/pdf.js/releases, the latest stable release as of this writing is 2.0.943, and the version you're using is no longer supported. Hence you'll need to update to the latest release, before asking for further assistance here.

and I google it but I can't find the PDFJS error code named 612

Note that it's the server which responds with that error (when the file is requested), hence this suggests a configuration problem on the server itself which the PDF.js library obviously cannot fix/support.

Finally, this issue is missing too many of the required details to be actionable in its current form. When opening an issue you need to provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md, and in this case you'll also need to follow https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.


How do you turn on the -o --hop flag?

Are you able to toggle this flag on and off? And if so how do you do that? Or is it automatically set to true?

can you describe the issue in more detail?


Spelling and grammar fixes

@ahmedyarub Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@ahmedyarub Thank you for signing the Contributor License Agreement!

Thanks for the corrections. It's nice to see that someone cares about the wording. :)

Thanks for the corrections. It's nice to see that someone cares about the wording. :)

Well thank you for contributing to this great project.


remove all references to elemental-cli from docs/code/everywhere

Few issues found while working on this, which made the issue bigger:

initrd/kernel for alpine werent updated with immucore as they are separated packages
building those packages broke due to arches not being taken into consideration
alpine broken due to the machine-id changes in kairos
Fixes to tests due to the kairos-agent taking over elemental and run stages
systemctl running in several stages under non-systemctl systems
agent/webui sharing the same pid file -> alpine broken on boot
alpine not saving the machine-id properly

All of those should be fixed shortly in the attached PR


MachineLearning.GetTrainedModelsStats always throws a deserialization exception

Elastic.Clients.Elasticsearch version: 8.14.6
Elasticsearch version: 8.14.3
.NET runtime version: 8.0
Operating system version: Windows
Description of the problem including expected versus actual behavior:
I'm using the MachineLearning.GetTrainedModelsStatsAsync call to get the stats of a trained model, this request always results in System.Text.Json.JsonException: The JSON value could not be converted to System.Int32. Path: $.trained_model_stats[0].model_size_stats.required_native_memory_bytes. Invoking the route manually http://localhost:9200/_ml/trained_models/intfloat__e5-small-v2/_stats works.
Upon inspection of the Model class the response is deserialized into, I found the required_native_memory_bytes is defined as an int rather than ByteSize as the other fields of the same type:
namespace Elastic.Clients.Elasticsearch.MachineLearning;

public sealed partial class TrainedModelSizeStats
{
	/// <summary>
	/// <para>The size of the model in bytes.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("model_size_bytes")]
	public Elastic.Clients.Elasticsearch.ByteSize ModelSizeBytes { get; init; }

	/// <summary>
	/// <para>The amount of memory required to load the model in bytes.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("required_native_memory_bytes")]
	public int RequiredNativeMemoryBytes { get; init; }
}

The required_native_memory_bytes is much bigger than an int.
Steps to reproduce:

Deploy an ML model
Use the .NET elastic client to invoke the model like await client.MachineLearning.GetTrainedModelsStatsAsync(new Ids("intfloat__e5-small-v2"), cancellationToken);
The code throws a deserialization exception

Expected behavior
The TrainedModelSizeStats class should type the RequiredNativeMemoryBytes field as Elastic.Clients.Elasticsearch.ByteSize, and the GetTrainedModelsStatsAsync call should succeed.

https://github.com/elastic/elasticsearch-specification/issues/2739

@svalbuena Thank you for creating the spec PR! The fix should already be included in the latest patch release which I did on Monday :-)

Thanks @flobernd !
I had a look at how the code generation works, I really like doing a spec-first approach where both the server api (mostly the controllers and DTO classes) and all clients are generated from the spec. I'm not sure what happens in Elastic for the server-side, but for the clients I saw that the spec is generated from the TS client and the rest of clients are generated from the spec. I'm curious of why this is done like this instead of generating the TS client from the spec as well, do you know?

@svalbuena I think you did not get this completely right here. The spec is created by hand (*.ts files) and processed into a schema.json file by the spec compiler. There is another step, the compiler-ts, that produces *.ts output from the schema.json again. These files are not part of any official TS client, but only used internally to validate the structure against actual ES JSON requests/responses.
The TS bindings for the official JS client are as well generated from the spec 🙂
Regarding server-side: Currently, the controllers etc. are not generated from the spec, but I agree, that such approach could have a lot of benefits. For a new project, I would always chose this path as well, but it's often hard to change workflows for a software like ElasticSearch that exists for such long time.

@flobernd ahh gotcha, so the .ts files that are just used to generate the spec. why not editing the spec .json directly? is it to have some type-safety/compilation checks that you would not have by working against the json directly?

@svalbuena Yes, mainly because it's way more convenient writing TS code than raw JSON 🙂 The schema.json has more than 200.000 lines right now and besides that, we make use of organizing code by grouping multiple *.ts files in directories, etc. JSON as well does not easily allow to include comments, etc.

@flobernd I've opened a follow-up pr to this, seems like there were two other type errors that are failing the request, this time I manually edited the .net client locally and verified there are no other errors left https://github.com/elastic/elasticsearch-specification/pull/2763


Add code snippet to readme

I think a great thing about Animate is that we can adapt a mesh with only a few lines of code, without requiring much user knowledge/effort, e.g.
P1ten = TensorFunctionSpace(mesh, "CG", 1)
metric = RiemannianMetric(P1ten)
metric.set_parameters(...)
metric.compute_hessian(f)
metric.normalise()
adapted_mesh = adapt(mesh, metric)

I think it would be great to show this off in the readme.

Yeah that'd be good!


Doubt about pragma in HLS code

Hi,
I have a doubt about the following piece of code in top.cpp
// signals to be mapped to the AXI master port (hostmem)
#pragma HLS INTERFACE m_axi offset=slave port=in bundle=hostmem depth=512
#pragma HLS INTERFACE s_axilite port=in bundle=control
#pragma HLS INTERFACE m_axi offset=slave port=out bundle=hostmem depth=16
#pragma HLS INTERFACE s_axilite port=out bundle=control

The two HLS INTERFACE m_axi have an offset=slave, then Vivado generates for each of them an offset port mapping them as Axi4-Lite slave interfaces.
Indeed, I have seen that the driver automatically creates the two data signal related to these slave interfaces.
Then, what is the functionality of the other two HLS INTERFACE s_axilite?
If I delete these two HLS INTERFACE s_axilite the driver doesn't change.
Thanks,
Sara

It might be redundant, but it assures that the axi-lite register used for the m_axi address is bundled in the same axi_lite interface (the bundle control used for the other axi_lite registers).


 The changes should be pretty easy to follow.
Note that my planned amount error work is not complete by this, so if this happens to get ACK by tomorrow, I'll wait for this to merge, if not I'll add more commits (without changing the existing ones).
I want to get this stuff into the first units release.

I'm not really following what InnerParseError is for right at the moment

It needs to carry Overflow which then gets converted to appropriate OutOfRangeError depending on which type was parsed. The parse function can't return OutOfRangeError because it doesn't know which type it is parsing.
The rest doesn't really matter that much. I used usize in this PR because I was lazy but InputTooLargeError would've been equally good. I'm not sure sure which is better.

The CI fail is unrelated. This is exactly why I proposed pinning nightly.

I opened https://github.com/rust-bitcoin/rust-bitcoin/pull/2489 to pin nightly. (It starts by pinning to yesterdays' nightly so amusingly I think it does fix CI, for now.)


Reading from a list on a webpage - use count(), for loop and XPath

I want to use the "read" step to get the text from an element on a web page but...
The element is on multiple rows. The number of rows can vary. I would like the flow to go down the list picking up the texts for the element as it appears on the rows until there are no more rows with the element.
The collected text will be written to a file and then picked up by a mailer.
I know I can probably use the"write" step to add new lines of text to file after each iteration but how would one get the "read" step to iterate down the list/

I suppose counting the number of times the element occurs and using "for" would be the standard method if the number of items in the list wasn't so ephemeral.

That's correct, you can use something like the following -
number_of_rows = count('identifer')
for row from 1 to number_of_rows
{
...
...
...
}

Normally there is an identifier in XPath which can match the first element. Then you use this syntax to mean for the subsequent elements - ('x_path_identifier')[n]
See example here - https://github.com/aimakerspace/TagUI-Bricks/tree/master/DBS-Forex-Gmail
Copying @siowyisheng fyi.

As always, thank you for your prompt and apt response. There is indeed an x-path to the element... I will try this out this weekend!

Closing for now but feel free to open to add on!

Hi i am trying to get the text of every li tag one by one
Here are the codes :
rows = count('//*[@id="simple-menu"]/div[3]/ul/li')
for (n=1; n<rows; n+=1)
{
read (/html/body/div[7]/div[3]/ul/li)[n] to value
if value equals to "Civics"
// Perform actions if the condition is true
click /html/body/div[7]/div[3]/ul/li[9]
break;
}
but I get and error and error is "ERROR- cannot find (/html/body/div[7]/div[3]/ul/li)[n]

The code looks wrong, need backticks to refer to variables. Maybe something like this. Tagging @pankajbnsl, and @ruthtoh from AI Singapore who is maintaining TagUI project.
read (/html/body/div[7]/div[3]/ul/li)[`n`] to value


VS-mode perform csr write operation to read-only csrs which are disabled by hstateen0 raise illegal or virtual instruction exception?

(1) Normally when we perform csr write operation to read-only csrs, a illegal-instruction-exception should be raised.
(2) But with Smstateen extension, when mstateen0[59]=1, hstateen0[59]=0, AIA spec states that access stopi should raise virtual-instruction-exception:

But since stopi is a read-only csr, so when VS-mode perform csr write operation to stopi or vstopi,  the above rule (1) also applies. In this case, which exception should be taken?
Thank you.

One can view rule (1) as the default rule that applies both inside an doutside of a guest VM, and then rule (2) selectively overrides the default behavior when accessing from inside a VM and for certain stateen bit settings.  Also note that rule (2) is not specific to access type, but applies to all accesses to a CSR.
So, in short, rule (2) applies when it is in effect.

Thanks a lot 👍

Does rule (2) applies to instruction csrw vstopi while executing in VS/VU-mode?

I can't say definitively, but I believe rule (2) - since it applies to all accesses in VS/VU-mode - applies to all forms of CSR instructions that try to access a CSR (such as vstopi).

According to the RISC-V specification, the illegal instruction exception takes precedence over the virtual instruction exception (Table 33). It is also standard practice to conduct broad CSR address validations, which include verifying privileges and read/write or read-only statuses, prior to executing specific CSR evaluations, such as *stateen checks. Consequently, it would be appropriate to trigger an illegal instruction exception in this scenario. Would you agree with this approach, @gfavor @Jahhow?

The figure you quoted actually indicates that illegal and virtual instruction exceptions have the same priority level, since they are in the same cell in the table.
Informally, the rule is: if the same instruction when executed in HS-mode would have raised an illegal-instruction exception, it should raise an illegal-instruction in VS-mode.  Otherwise, it should raise a virtual-instruction exception.
Following this rule, it sounds to me like writing stopi should cause an illegal-instruction exception regardless of mode.


Use BRAVO rwlock for ReplaceablePtr

Problem
My pthread mutex lock profiler says a mutex in the Cache::open_read is heavy on cache hit benchmark.
        mutex b'[unknown]' ::: wait time 680245.52us ::: hold time 139069.39us ::: enter count 28602 ::: try-lock failure count 0
                b'std::__1::mutex::lock()+0x6 [libc++.so.1.0]' (7f86927927a6)
                b'Cache::open_read(Continuation*, ts::CryptoHash const*, HTTPHdr*, HttpConfigAccessor const*, CacheFragType, char const*, int)+0x48 [traffic_server]' (55bab493e338)
                b'HttpSM::do_cache_lookup_and_read()+0x2ce [traffic_server]' (55bab47ea71e)
                b'HttpSM::state_read_client_request_header(int, void*)+0xdf3 [traffic_server]' (55bab47ccea3)
                b'HttpSM::main_handler(int, void*)+0x133 [traffic_server]' (55bab47cb813)
                b'HttpSM::state_add_to_list(int, void*)+0x66 [traffic_server]' (55bab47cb8e6)
                b'HttpSM::attach_client_session(ProxyTransaction*)+0x528 [traffic_server]' (55bab47cbf98)
                b'Http1ClientSession::new_transaction()+0x57 [traffic_server]' (55bab47a8a67)
                b'Http1ClientSession::state_keep_alive(int, void*)+0xf9 [traffic_server]' (55bab47a86f9)
                b'read_signal_and_update(int, UnixNetVConnection*) [clone .llvm.3458165247859049333]+0x17a [traffic_server]' (55bab4a5501a)
                b'UnixNetVConnection::net_read_io(NetHandler*, EThread*)+0x6c1 [traffic_server]' (55bab4a53fd1)
                b'NetHandler::process_ready_list()+0x221 [traffic_server]' (55bab4a43e21)
                b'NetHandler::waitForActivity(long)+0xdc [traffic_server]' (55bab4a4436c)
                b'non-virtual thunk to NetHandler::waitForActivity(long)+0xd [traffic_server]' (55bab4a443ed)
                b'EThread::execute_regular()+0x59a [traffic_server]' (55bab4a83e9a)
                b'EThread::execute()+0x15d [traffic_server]' (55bab4a8448d)
                b'spawn_thread_internal(void*) [clone .llvm.16199673917350461532]+0x57 [traffic_server]' (55bab4a82007)
                b'start_thread+0x2d2 [libc.so.6]' (7f8692289c02)

I think this is a ReplaceablePtr in the Cache::key_to_stripe. It uses std::shared_mutex and it doesn't scale well on multi-thread.
https://github.com/apache/trafficserver/blob/c20661125764e6472763d586cd736184782865cb/src/iocore/cache/Cache.cc#L750-L753
Approach
Replace std::shared_mutex with ts::bravo::shared_mutex. With this patch, the heavy mutex is gone from profiler and benchmark show improvement.

Protocol
Test (with this patch)
Control (without this patch)
Diff

HTTP/1.1 on TCP
743,879
624,634
1.191

HTTP/1.1 on TLS
629,364
567,375
1.109

HTTP/2 on TLS
539,059
518,023
1.041

Some conditions of the benchmark is below.

63 threads
5 volumes
100 URLs
100 % cache hit

ASan detected something. I'm checking it.

[approve ci rocky]

[approve ci rocky]

[approve ci autest]

[approve ci freebsd clang-analyzer]

[approve ci clang-analyzer]

[approve ci autest]
[approve ci freebsd]

[approve ci freebsd]

[approve ci autest]

[approve ci freebsd]

This PR is ready. For the ASan issue on Rocky, it'll be fixed by #11797.

[approve ci rocky]


Updated GTX 1080 drivers now OpenCL HW doesn't work

Did NVidia change an API as I now get the folllowing error.
Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27, in
File "butterflow/main.py", line 12, in
File "butterflow/cli.py", line 287, in main
RuntimeError: opencl call failed
I am not sure when this happened but if I roll back the drivers to a very old version from a year ago it works.
Is this a known issue?

I see it is already a known issue. So please duplicate and close.

Would there be a way to force OpenCL to use the Intel IGP?


feat: Only set ARGO_TEMPLATE env for init container.

Fixes #8790
Motivation
duplicative env var ARGO_TEMPLATE result in etcd size 1MB limit
Modifications
Only set ARGO_TEMPLATE env for init container, wait container read it from the template file written by init container.
Verification

@jswxstw this is great but can u make this change enabled via an environment variable (ARGO_TEMPLATE_ONLY_ON_INIT)? @juliev0 mentioned one of their workflows in main container uses the variable: https://github.com/argoproj/argo-workflows/issues/8790#issuecomment-1743614552 whereas 99% of users (including me) won't and would benefit from your PR

@jswxstw this is great but can u make this change enabled via an environment variable (ARGO_TEMPLATE_ONLY_ON_INIT)? @juliev0 mentioned one of their workflows in main container uses the variable: #8790 (comment) whereas 99% of users (including me) won't and would benefit from your PR

Thanks for noticing that @tooptoop4 ! I believe this is one motivation for your making this configurable, right?
@jswxstw will it make the code too ugly to do that? I'll admit that my use of that environment variable was a hacky workaround for exceeding the maximum size of an argument, as opposed to a promise that Argo Workflows makes will exist. And admittedly, I was later in a separate situation in which for a different Workflow even this hack didn't work, as the environment variable size made the overall Container size too big as I recall. If needed, I can adjust our Workflow so it doesn't try to do this at all. I guess the only question is whether there's anyone else out there for which this will break.

@jswxstw will it make the code too ugly to do that?

@juliev0 Agree, I think we should exercise restraint in adding environment variables, as it could increase complexity and confuse users.
Also, #12325 has supported ARGO_TEMPLATE env offload by default, it will also affect users who use this env. @tooptoop4
I do think ARGO_TEMPLATE is an internal environment variable, which is not documented and users should not rely on it.

Hey @shuangkun - do you want to review this since you added this PR which it's based on?

@jswxstw
when i tried to patch this got below error in the wait container:

time="2024-10-17T01:57:33 UTC" level=info msg="Starting Workflow Executor" version=v3.4.11
panic: unexpected end of JSON input
goroutine 1 [running]:
github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands.checkErr({0x3517da0, 0xc000011a40})
        /go/src/github.com/argoproj/argo-workflows/cmd/argoexec/commands/root.go:146 +0x6b
github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands.initExecutor()
        /go/src/github.com/argoproj/argo-workflows/cmd/argoexec/commands/root.go:101 +0x3b5
github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands.waitContainer({0x3547bb8, 0xc0009a3e40})
        /go/src/github.com/argoproj/argo-workflows/cmd/argoexec/commands/wait.go:28 +0x4f
github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands.NewWaitCommand.func1(0xc0008dbb80?, {0x2d958d7?, 0x0?, 0x0?})
        /go/src/github.com/argoproj/argo-workflows/cmd/argoexec/commands/wait.go:18 +0x2a
github.com/spf13/cobra.(*Command).execute(0xc0008dbb80, {0x4cda578, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:876 +0x67b
github.com/spf13/cobra.(*Command).ExecuteC(0xc0008da000)
        /go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918
github.com/spf13/cobra.(*Command).ExecuteContext(0x3546178?, {0x3547bb8?, 0xc0009a3e40?})
        /go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:911 +0x4a
main.main()
        /go/src/github.com/argoproj/argo-workflows/cmd/argoexec/main.go:21 +0x9e

time="2024-10-17T01:57:33 UTC" level=info msg="Starting Workflow Executor" version=v3.4.11

It seems you are using the argoexec image of old version: v3.4.11. Not updated? @tooptoop4

@jswxstw what command do u use to build the controller locally?

@tooptoop4 I used make start UI=true, like developing locally.
Please note this, make argoexec-image  will build latest image and import it into the k3d cluster:k3s-default by default.

So this is no longer a feature (unlike #13742, which added an env var) as it doesn't add anything; could be a fix or refactor depending on if we want to auto-backport it

@agilgur5 Agree, this PR should be a refactor, based on the feature configmap offloading.

This seems like a breaking change. I remember Intuit or other vendors depend on this. @juliev0 Do you remember?

accepted in https://github.com/argoproj/argo-workflows/pull/13761#discussion_r1802282712

This seems like a breaking change.

It's also an undocumented, internal environment variable, so shouldn't be relied on as mentioned by @jswxstw and I above

Thanks for keeping that in mind, though, @terrytangyuan!

Hey @shuangkun - do you want to review this since you added the configmap offloading PR which it's based on?

Sorry, I just found time now. This PR has been merged and it seems there is no problem.


Flag when a group has too many issues on their agenda.

Fixes #25 and looks like

I could make this louder, but I think I'd want a matching increase in the out-of-SLO volumes too, and my engineer's design sense fell over when I thought about making links red. Any thoughts @fantasai, @svgeesus, @astearns?

You could make the bullet red 😁
I think it’s fine as it is (I am not going to be paying much attention to the styling, just the numbers)


[RFC] Query fetch by primary key

Maybe need a query method to fetch by a primary key.
Currently:
ATM I use Query(User).where(id: id) and it seems to be simple enough.
 I don't want to use Schema's constants in Query

Any comments?

Nice project! Looks awesome!
One of the things I like least about ActiveRecord is having a billion ways to do everything. Query(User).where(id: id) is logical and clear to me.
I'd just stick with the where syntax :) 2c

@Brusalk,

ActiveRecord is having a billion ways to do everything

Very nice point. Crystal philosophy says "one method for one action", and I love it.
However, there are Query#last and Query#first methods already. Are they odd? :thinking:

I kind of feel like they're alright as they're a helper for an action that would otherwise take multiple actions to build together, compared to find/where where it's a 1:1 swap. At least, that's my feeling on it 😄

Just spotted the open PR that introduces the Query(User)[id] helper. One hang up that I have on using the array accessor for this is that is could be potentially confusing for ordered responses and possibly lead to an inconsistent implementation depending on context. Here's how I mean, given some users in the DB:

Query(User)[1] - Returns the user with the ID of 1
Query(User).order_by(:first_name)[1] - Returns the user of index 1 from the ordered array

Unless of course this would only be if it was the first action on the query.
In all honesty, my vote would be for find. For my money its a common enough use-case to warrant the extra method, rather than pulling the array and accessing the first item each time you want to get a single user by ID, although I can definitely see all points of view.

@jackturnbull, Repository#query returns an array of Models, not a single one. Using Query#find may look like this:
query = Query(User).find(42)
user = repo.query(query).first

However, it may be possible to add Repository#query_one...

 The [] sytax seems much more reasonable in that case, since I'd expect the find method to be on the repository itself (alongside insert, for example) rather than on the query.
Is there a reason that its going on the query rather than on the repository? Or is the goal not to overload the repository here?


The solution to 65 doesn't make sense

The task is as follows: How to accumulate elements of a vector (X) to an array (F) based on an index list (I)? To me this means that F should contain some elements of X, in the order defined by the indices vector.
The proposed solution looks like this:
X = [1,2,3,4,5,6]
I = [1,3,9,3,4,1]
F = np.bincount(I,X)
print(F)

Which results in: [0. 7. 0. 6. 5. 0. 0. 0. 0. 3.]. X doesn't contain 0 or 7. Why is this a solution?

I think the question is ill-posed but the result is the expected one. The idea is that instead of directly accumulating values in I, there is an indirection. For example, at index 1 in the results, instead of 2 (because there are two 1 in I), we have X[0] + X[5] = 7 where 0 and 5 corresponds to the indices of value 1 in I.
So the question needs to rephrased, if you have a suggestion...

@rougier I see, thanks. "Accumulate" means sum up, not collect. And the task directly corresponds to weights in numpy.bincount. Here's how they describe it:

If weights is specified the input array is weighted by it, i.e. if a value n is found at position i, out[n] += weight[i] instead of out[n] += 1.

I think you can mention F[n] += X[i] too to make it more specific.

Even with this mention, I'm not sure it clarifies the question. I wrote the original question but I had some difficulties in finding what I meant 😞. Would you have some better formulation?


🍒[5.9.0][TaskGroup] Fix unlock order, add missing detaches and add more assertions

Cherry pick of https://github.com/apple/swift/pull/67819/commits to release/5.9.0

Description: A task group resumes the "waiting task" in numerous situations. Currently tasks were scheduled and then the group was unlocked -- this can lead to races between the scheduled task and the group unlock and unpredictable behavior. Instead, we must unlock the group and THEN schedule the waiting task on order to avoid potential use-after free of the lock (as the unlock() happens).
Risk: Medium, the change reorganizes code in order to allow us to unlock and THEN schedule the task. This forced some general refactoring in order to be able to get this pattern.
Reward Medium, resolves very rare crashes which could occur when just the right scheduling timing would happen. These issues are very rare, and have remained undetected until recently.
Review by: @mikeash  @DougGregor
Testing: CI testing, enabled all task group tests for the first time in a long time and all passing consistently on all platforms.
Original PR: https://github.com/apple/swift/pull/67590
Radar: rdar://113331923 (test reenable rdar://113016918)
Related Radar: The following was the same issue however in a more crucial code path: rdar://113032582

@swift-ci please test


Duplicated Tx's in the list (an update)

This was reported a while ago but there was no way to reproduce it consistently.
Now there is a way:
URL: https://rinkeby.gnosis-safe.io/safes/0x1E5e1Fb1356038D07d20857D20A49d482Aad04f6/transactions (old cancellation workflow)
https://pr451--safereact.review.gnosisdev.com/safes/0xaBeB100af6FD732f67A3Bf0b1bED24541eb4F272/transactions
(new cancellation workflow)
The issue happen in both cases
1 - Create a safe with 3 owners and set the req conf "3 out of 3"
2 - Go to the settings and create 2 Tx one right after the other
2.1- Change the req conf to "1 out of 3"
2.2- Change the req conf to "2 out of 3"
3 - Cancel with all 3 owners the "2 out of 3" Tx. It should not be executed yet since there is a previous Tx yet to be executed
4 - Approve and Execute the "1 out of 3" Tx
5 - Put some tokens into the safe so we can do a "send funds" Tx
6 - Send funds to any address by any amount. Since the rule is "1 out of 3" it should execute right away
Now when the "Send funds" Tx is approved you will see that 2 Tx are created, one that remains in pending forever and a clone of the previous one with the "success" status.
Notice that the "pending" one has a nounce of 2 and the "success" one has a nounce of 1

It works fine, I got no duplicated tx anymore


Update contributing doc for testing in the doc site

It's unclear how to test components changes in the documentation site. We've also made testing in a separate project much easier.
Additions

Added instructions for testing in the documentation site.

Changes

Updated the instructions for testing in an outside project.

Testing

Follow the instructions.

Review

@anselmbradford
@sebworks
@cfarm
@contolini
@Scotchester

Screenshots
Notes

Hopefully this clears some things up for people. Feel free to tear it apart and tell me it's still unclear and I need to make it better. I'm definitely closest to the process at the moment.

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍


FileNotFoundError

Thanks very much for providing the codes!
I tried to train the interactron model with the commond:

python train.py --config=configs/interactron.yaml

But some data is missing:

File "/disk1/chenze/code/interactron/interactron-main/datasets/sequence_dataset.py", line 60, in getitem
frame = Image.open(img_path)
File "/disk1/chenze/anaconda3/envs/interactron/lib/python3.8/site-packages/PIL/Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'data/interactron/train/FloorPlan6_00014/pos=[-1.12,0.90,-1.49]_rot=[240deg].jpg'

I have downloaded the data you provided,  but this problem still exists.
Directory FloorPlan6_00014 does not exist:

FloorPlan6_00000/  FloorPlan6_00002/  FloorPlan6_00004/  FloorPlan6_00007/  FloorPlan6_00010/  FloorPlan6_00013/ FloorPlan6_00018/ FloorPlan6_00020/ FloorPlan6_00023/
FloorPlan6_00001/ FloorPlan6_00003/ FloorPlan6_00006/ FloorPlan6_00008/ FloorPlan6_00011/ FloorPlan6_00016/ FloorPlan6_00019/ FloorPlan6_00022/ FloorPlan6_00024/

Any suggestions for this problem? Thanks!

I also found that some training data folders are missing. Any solutions here?

Hey @GilgameshD and @Cccanvas. Thank you for your interest. I am currently working on a big update to address several issues including this one. I will let you know as soon as I push it.

Thanks for your reply @klemenkotar. One follow up question, is it possible to release the scripts for generating this dataset in AI2-THOR? That would help a lot of active vision tasks!

Hi @GilgameshD and @Cccanvas,
I have pushed a solution to this problem as well as a few other issues. After running some additional tests we discovered that there was quite a bit of instability in the training process. We also found a bug in the saving code which kept the best-performing checkpoint around. After fixing the code and re-running the experiments we found that the main trends still hold but the numbers are slightly different. You can find the updated numbers in our latest arxiv update.
You will need to re-download both the dataset and model checkpoint tar files to get things working. We also increased the training duration so the model should take about 5 days to train on a single high-power gpu machine.
@GilgameshD I have also added the script for collecting the AI2-THOR data. It contains a few settings that can be easily modified to adjust the data collection parameters.
If you have any questions about the work feel free to also reach out to me directly at<EMAIL_ADDRESS>


bug: Scrolling in Edit profile

Describe the bug
While Scrolling the Edit Profile layout in landscape mode the content hides behind the Done buttoon
To Reproduce

Go to Edit Profile
Change to landscape mode
Scroll down to bottom
See error

Expected behavior
The date should scroll above  the button
Screenshots

Smartphone Info:

Device
Redmi Note 4

Android Version
Nougat 7.0

Would you like to work on the issue?

[x] Yes
[ ] No
Other:

I like to work in it

The issue already contain a pr.

what this issue is solved or not

@mariobehling @dheerajkotwani  can i work on this issue???

Take one issue at a time

@iamareebjamal yes i am taking this one

I want to work on this issue

Can I solve this problem?

Can I solve this problem?


Edit Tag Featrue / Delete Tag Feature

Is your feature request related to a problem? Please describe
After a tag is created there is no facility to edit that tag. something like tag Name.
Describe the solution you'd like
Edit Tag Name support so that edit name of the tag.
or Delete Support so that I can delete that tag and create new one.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Sorry, my bad. I played with it but couldn't find those options. so raised it.


Gold Standard SNP and Indel files

Hello! I understand that this resource is meant for use on the compute clusters in Jackson Lab but I'm trying to setup my own docker containerised pipelines based on yours.
I have been looking at the list of gold standard SNP and indel files you have listed in the config files for WES, can you help me understand what it means when the file is annotated GATK formatted? Is there a particular formatting for VCF files that GATK prefers?

Hi @quarkstar-codes thanks for your interest in the pipelines! To get running in an external location, the main thing you would need (as you note) are the reference data. Second to that would be a profile configuration for your local envrionment (HPC type, or cloud etc.). The tools for the pipelines are already full Dockerized and in publicly accessible locations, so you shouldn't need to change anything there.
Regarding the files, much of the human data comes from the GATK Hg38 Resource bundle:
https://gatk.broadinstitute.org/hc/en-us/articles/360035890811-Resource-bundle.
The GATK bundle includes the reference genome, gold standard SNP and InDEL files.
The main difference between the GATK resource bundle files, and what you might find from ENSEMBL (or elsewhere) is the naming of the chromosomes, and which unplaced / localized contigs are present (and how they are named).
Hopefully the GATK resource link helps, but feel free to reopen this issue (or put a new one in) if you require anything else.