How to update SASS to the latest version ?

Expected behavior and actual behavior
Hi,
I'm trying to add bootstrap 4 to my middleman site.
Though the SASS version that is used seems to be an old one.
I couldn't find a way to update SASS version
Steps to reproduce the problem (from a clean middleman installation)
via Gemfile
gem 'bootstrap', '~> 4.0.0'
Can't bundle install
Bundler could not find compatible versions for gem "sass":
  In snapshot (Gemfile.lock):
    sass (= 3.4.25)

  In Gemfile:
    bootstrap (~> 4.0.0) was resolved to 4.0.0, which depends on
      sass (>= 3.5.2)

    middleman (~> 4.2) was resolved to 4.2.1, which depends on
      compass-import-once (= 1.0.5) was resolved to 1.0.5, which depends on
        sass (< 3.5, >= 3.2)

    middleman (~> 4.2) was resolved to 4.2.1, which depends on
      sass (< 4.0, >= 3.4.0)

    middleman-livereload (~> 3.4) was resolved to 3.4.6, which depends on
      middleman-core (>= 3.3) was resolved to 4.2.1, which depends on
        sass (>= 3.4)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

via Yarn
yarn add bootstrap jquery popper.js
@import "../../node_modules/bootstrap/scss/bootstrap.scss";
Getting a SASS error:
Error: Invalid CSS after \"...lor}: #{$value}\": expected \"{\", was \";\"\a on line 4 of /path-of-my-app/node_modules/bootstrap/scss/_root.scss\a from line 11 of /path-of-my-app/node_modules/bootstrap/scss/bootstrap.scss\a from line 4 of /path-of-my-app/source/stylesheets/site.css.scss\a \a 1: :root {\a 2: // Custom variable values only support SassScript inside `#{}`.\a 3: @each $color, $value in $colors {\a 4: --#{$color}: #{$value};\a 5: }\a 6: \a 7: @each $color, $value in $theme-colors {\a 8: --#{$color}: #{$value};\a 9: }

Additional information

Ruby version: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
Middleman version: 4.2
OS version: mac OS high sierra 10.13.1 (17B1003)

I used the Gemfile and config.rb from https://github.com/mattolson/middleman-bootstrap-template and it worked.

Is there any update for sass dependency to at least 3.5.2?

@BerkhanBerkdemir
I'm also wondering the same thing. I'm trying to use [col-start] for gird-templates which is only available as of 3.5.


SOIL CARBON AMENDMENT (336)

Identified as a high priority standard.

[x] Extract level 1 yaml from pacific island standard
[x] Extract level 1 yaml from national standard
[x] Manual cleaning from level 1 to 2 of pacific island standard
[x] Manual cleaning from level 1 to 2 of national standard
[x] run diff comparison
[x] annotate diff comparison in a discussion post

No differences between standards found. See discussion #11


Add rule to forbid "short" unsemantic parameter names

This rule would require parameter names to be of a certain length. It would default to requiring 2+ in length, but configurable to increase the required threshold to 3 or more.

This rule is similar to: https://eslint.org/docs/rules/id-length but would be focused only on parameters of arrow functions.


Updating housing burden

Instructions are:
Adjustment to existing housing cost burden indicator to capture percentage of renter households that are both earning less than 50% of HUD Area Median Family Income by county and are spending more than 50% of their income on housing costs. HUD made this recommendation.

I interpreted as:

do not touch owners
do not touch places where HAMFI isn't computed
remove only for renters places where hamfi exceeds 50% but we were including them

I have taken that the existing calculations are correct and only removed these columns from the numerator for renters.

(Waiting on HUD to clarify guidance)

From HUD:
I can’t speak for whoever from HUD was giving comment previously, but very low income (50% HAMFI) renter households with severe cost burden is a population of specific interest for the department. Our Worst Case Needs reports, for instance, only consider VLI renter households. VLI renter households with severe cost burden (or overcrowding) is also used as a proxy for households at risk of homelessness in some of our formula allocations and studies. Owner households are excluded in these applications, so it’s not unprecedented. I would say you should either just include 50/50 renters or apply the 50/50 standard to both renters and owners (you’ll find that it will identify far fewer owners, which is probably one reason they’re often simply excluded.) I don’t think applying a different and less stringent standard for owners would be appropriate.

For consistency, I excluded owners.

@lucasmbrown-usds Are we going with this or the original?

As of 8/3, this is NOT going to be merged in.


Unable to build project locally due to unresolvable dependencies

The following dependencies could either be remediated, or this project could use Godeps to vendor all of the versions that are currently being used to simplify checking out this project for the first time.

Dependency on code.google.com/p/go-charset/charset can't be resolved because this dependency is no longer go "gettable"
Package github.com/cloudfoundry/bosh-agent/blobstore has been relocated to github.com/cloudfoundry/bosh-utils/blobstore
Package github.com/cloudfoundry/bosh-agent/errors has been relocated to github.com/cloudfoundry/bosh-utils/errors
Package github.com/cloudfoundry/bosh-agent/logger has been relocated to github.com/cloudfoundry/bosh-utils/logger
There are a number of other dependencies on the old github.com/cloudfoundry/bosh-agent/* packages which have all been relocated to github.com/cloudfoundry/bosh-utils
Packages in dependency cppforlife/bosh-provisioner/* also depend on packages that have been relocated from the bosh-agent repo to the bosh-utils project

I believe this pull request from @voelzmo has updated the dependencies https://github.com/cppforlife/bosh-hub/pull/6

moved to bosh-io org and resolved.


[FEATURE] Testing compatibility on different platforms

Is your feature request related to a problem?
We test our clients for Linux platform but we do not know if these clients work smoothly on platforms like windows/mac etc.
Coming from https://github.com/opensearch-project/opensearch-clients/issues/18
What solution would you like?
Test the client with most popular platforms and CPU architectures:

x64
ARM
Linux
Windows
MacOS

I think I merged #208 too fast. Looks like this doesn't run unit tests (it probably should) and those are in https://github.com/opensearch-project/opensearch-java/blob/main/.github/workflows/test-unit.yml.

Raised PR #210 for adding support in unit tests.

Done in PRs #208 and #210


Add dev report for June 23, 2017

Dev report for changes from last week and summit notes

https://github.com/containerd/containerd/pull/1074
https://github.com/containerd/containerd/pull/1059
https://github.com/containerd/containerd/pull/1062
https://github.com/containerd/containerd/pull/1072
https://github.com/containerd/containerd/pull/1073

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1085   +/-   ##
=======================================
  Coverage   54.51%   54.51%
=======================================
  Files          16       16
  Lines        1229     1229
=======================================
  Hits          670      670
  Misses        386      386
  Partials      173      173

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 8644a08...69f6780. Read the comment docs.

@dmcgowan @estesp can you merge? I need the url for the Moby summit recap blog post.

LGTM

Thx!


Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: KDE e.V.
Publisher Url: http://kde.org
Package Name: KDE.KMPlot.Nightly
Description: http://apps.kde.org/kmplot
Package Version: master-982
Installer URL: http://binary-factory.kde.org/view/Windows 64-bit/job/KMPlot_Nightly_win64/lastSuccessfulBuild/artifact/kmplot-21.12.0-982-windows-msvc2019_64-cl.exe
Current Package Identifier (for new versions): master-982

Duplicate of #39190
Please post your KDE requests here


Add chatbot tutorial

Fixes #208
Blocking:

Can't override a provider yet. Will track this on aiodine.
Also waiting for #212 to be merged to reference the cookie-based sessions usage guide.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #214   +/-   ##
=======================================
  Coverage   95.51%   95.51%
=======================================
  Files          24       24
  Lines        1026     1026
  Branches       99       99
=======================================
  Hits          980      980
  Misses         38       38
  Partials        8        8

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 ef3bd09...4aa59d8. Read the comment docs.


Set HTMLElement's base type to DOMNode, and DOMNode's base type to object

This makes all the regular 'object' assertions work for the types defined by unexpected-dom.

Thanks :tada:

Published in v0.2.0


Prove Rust code on MacOS

We use MUSL as the C standard library, but it doesn't work on MacOS.

Let's work around via ubuntu docker image.
The basic steps look like:
# Pull and run the image
git clone https://github.com/zkMIPS/zkm
cd zkm
docker run -it -v ${PWD}:/app ubuntu bash

# Install Rust

# Install deps
apt install -y curl gcc pkg-config libssl-dev

# Run your MIPS zkVM example


amazing speed!

I'm new to Julia Lang. It runs faster than the llama2.c implementation. On average, it's 300%+ faster. And Julia utilizes all the CPU cores.
I'm curious to know

is there any way we can run Meta's llama chat models in Julia?

can Julia utilize OMP to share the load of the GPU?

has Julia implemented the CPU AVX2 instruction? Or will Julia run faster with AVX2?

Thanks!

is there any way we can run Meta's llama chat models in Julia?

Getting Llama 7B to run with <= 8GB RAM usage is my top priority right now.
I am making good progress with porting the quantization code (from llama.cpp/k-quants.cpp).
As soon as that is working, the inference code will need some work... I cannot promise anything yet; but it should be done soon.

can Julia utilize OMP to share the load of the GPU?

The current implementation uses BLAS for the matmuls. I am focussing on the CPU right now.

has Julia implemented the CPU AVX2 instruction? Or will Julia run faster with AVX2?

Julia uses LLVM and LLVM can emit AVX2 instructions. So, yes.

I think we can close this issue.

Is done.

We are using BLAS for matmuls and native Julia multithreading (`Threads.@threads') for the quantized matmuls.

SIMD-optimized dot product routines for quantized numbers are now pushed (https://github.com/cafaxo/Llama2.jl/commit/f19424604253334bfaffc7511f84cfe525e86224)

Please open a new issue you notice a specific performance problem.
The 7B model should run very well now; I cannot test >= 13B models since my laptop has only 8GB RAM.

superb :+1:


🐛 Bug Report: Creating an index with index type key fails. Then the error toast is unreadable.

👟 Reproduction steps
When i create an index with index type "key, " an error toast appears, but the toast is blurred ( not readable)
👍 Expected behavior
Error toast should be readable.
👎 Actual Behavior
Toast is blurred. It could be a UI problem.
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
new Version of SDK.
👀 Have you spent some time to check if this issue has been raised before?

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

🏢 Have you read the Code of Conduct?

[x] I have read the Code of Conduct

Instead of showing a notification, we should be setting the error like we do for the create attribute modal:
https://github.com/appwrite/console/blob/b3ac06b27dd62708950352d8da51596afee0e177/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/createAttribute.svelte#L79

perhaps a css z-index problem

Should be fixed via - https://github.com/appwrite/console/pull/1538.


Examples not working

Hi,
I've tried the example on the page along with the sample base_list.py. Neither works for me. Python 2.7 or 3.4 on FreeBSD.
2016-02-21 19:33:37,906 INFO [main():77] Vultr API Client Python Library
2016-02-21 19:33:37,907 INFO [main():78] URL: https://www.vultr.com/api/
Traceback (most recent call last):
  File "basic_list.py", line 81, in <module>
    main()
  File "basic_list.py", line 79, in main
    dump_info()
  File "basic_list.py", line 25, in dump_info
    vultr.account.info(), indent=2
AttributeError: 'Vultr' object has no attribute 'account'

Basically the same error on both. I'm setting my API key as an environment variable and it should be passed properly.
Is the example out of date or am I doing something wrong?
Thank you,
Teran

Can you post a gist with the code that isn't working?

Hi,
I can reproduce it with the basic_list.py example:
#$ pwd
/tmp/python-vultr/examples
 #$ echo $VULTR_KEY
.....(same key works with vultr go client)
 #$ python basic_list.py
2016-02-25 05:40:58,441 INFO [main():77] Vultr API Client Python Library
2016-02-25 05:40:58,441 INFO [main():78] URL: https://www.vultr.com/api/
Traceback (most recent call last):
  File "basic_list.py", line 81, in <module>
    main()
  File "basic_list.py", line 79, in main
    dump_info()
  File "basic_list.py", line 25, in dump_info
    vultr.account.info(), indent=2
AttributeError: 'Vultr' object has no attribute 'account'

Thanks for your reply!
Sincerely,
Teran

Which version of python-vultr do you have installed? It sounds like you're using the version from pip, 0.1.2, with examples from the master branch, which is latest dev and hasn't been released to pip yet.

Hi,
I may not in the position to speak, but I have trying to reproduce this issue, but I can't reproduce.
# uname -a
FreeBSD freebsd 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
# python2 basic_list.py
2016-08-23 15:20:17,614 INFO [main():77] Vultr API Client Python Library
2016-08-23 15:20:17,615 INFO [main():78] URL: https://www.vultr.com/api/
2016-08-23 15:20:18,797 INFO [dump_info():25] Listing account info:
{
  "last_payment_amount": "-20.00",
  "balance": "-30",
  "pending_charges": "0.21",
  "last_payment_date": "2016-08-22 11:13:29"
  ... snip ...

I have used master branch.
Therefore, I think master branch doesn't have this issue.
Thank you.

@nishiokay @teran-mckinney I'm closing since it couldn't be re-produced on master. @teran-mckinney if you can reproduce on master let me know and re-open.
Thanks for your help.


Cannot find module @agentic/stdlib/ai-sdk & @agentic/stdlib/e2b

Cannot find module '@agentic/stdlib/ai-sdk' or its corresponding type declarations.
There are types at<EMAIL_ADDRESS>but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.ts(2307)
Cannot find module '@agentic/stdlib/e2b' or its corresponding type declarations.
There are types at<EMAIL_ADDRESS>but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.ts(2307)
Stack:
pnpm install @agentic/stdlib
node --version = v20.11.0
"next": "14.2.1"
"@agentic/stdlib": "^6.2.4",

This should no longer be an issue given that all tools are now isolated to their individual packages.
See the updated docs for more info: https://agentic.so


Improved configuration parsing

Is your feature request related to a problem? Please describe.
Currently, the configuration parsing is done by a single submodule [ref], which is creates issues with maintenance as more functionality is introduced.
Describe the solution you'd like
Using a configuration validation mechanism that is more standardized would make the developer and user experience much better. Some examples are (and this is by no means an exhaustive list):

Package
Documentation
Example

Cerberus
https://docs.python-cerberus.org/
https://stackoverflow.com/a/46626418

PyDantic
https://docs.pydantic.dev/latest/
https://stackoverflow.com/a/61021183

Marshmallow
https://marshmallow.readthedocs.io/en/stable/
https://stackoverflow.com/a/63739747

Describe alternatives you've considered
N.A.
Additional context
It would make sense to eventually move GaNDLF's various functionalities to something like Hydra, and this could potentially be a good starting point.

Hi @sarthakpati can you please assign this issue to me.

Hi @vedik2002, are you still working on this?

Hey @vedik2002 are you still working on this?

Hi @sarthakpati can please remove me from this issue.

Here are a few viable alternatives to our current configuration management system:

Data Classes:

dataclasses module [ref] provides a decorator and functions for automatically adding special methods to user-defined classes. This can make your code cleaner and more efficient when dealing with a large number of parameters.

from dataclasses import dataclass

@dataclass
class Parameters:
    param1: int
    param2: float
    param3: str

Named Tuples:

collections.namedtuple module [ref] can be used to create tuple subclasses with named fields. This can be faster than dictionaries for certain operations.

from collections import namedtuple

Parameters = namedtuple('Parameters', ['param1', 'param2', 'param3'])
params = Parameters(param1=1, param2=2.0, param3='three')

Did you have something else in mind, @VukW?

I'd prefer to stick to pydantic models (BaseModel, BaseSettings) as they actually give the same experience and simplicity as dataclass but with additional handy tools like custom fields validation, runtime type checking, etc

Do you mean these?

https://docs.pydantic.dev/latest/api/base_model/
https://docs.pydantic.dev/latest/api/pydantic_settings/

@sarthakpati yes, exactly

Cool, thanks. 👍🏽

Hi @sarthakpati could you please assign this issue to me.


Hiding Connection string when running scaffold

Hi,
I am developing an asp.net core app that will communicate with a postgres sql database. Am using Ef core.
Will be dockerizing the asp.net app and pushing the docker image to docker hub. We don't want to push that image with the database connection string.
I am aware that a warning is placed where the connection string lies once the context has been scaffold-ed and I am aware that we can just remove it and replace it with an Environment variable or secret (not sure how yet but working on it).
My issue is this feels like a huge risk as I have come close to committing that connection string to version control on various occasions. Is there a way of not specifying the connection string in the scaffold command. Any other workarounds?
Much appreciated

Duplicate of https://github.com/aspnet/EntityFrameworkCore/issues/10432.

Note that this issue has nothing to do with the Npgsql provider specifically - it's a general EF Core question which belongs in https://github.com/aspnet/EntityFrameworkCore/ (although it's true it's sometimes hard for users to know where each component's responsibility ends etc).


rcutils/src/time_unix.c fails on foxy

Time_unix.c fails

Hardware: STM32F4_Discovery
RTOS: Zephyr
Installation type:  module
Version: foxy

Steps to reproduce the issue
I have taken the folder "modules/libmicroros" from the foxy branch and added them to my application. When building, the following output happens:
/home/jan/zephyrproject/autonomous-system-controller/Software/application/modules/libmicroros/micro_ros_src/src/rcutils/src/time_unix.c:33:10: fatal error: posix/time.h: No such file or directory
   33 | #include <posix/time.h>  //  Points to Zephyr toolchain posix time implementation
      |          ^~~~~~~~~~~~~~

There the include path for Zephyr is wrong (at least for my tested versions 3.1.0 and 3.2.0). Is has to be
#include <zephyr/posix/time.h>

Changing this makes it compile and link without any error.

COuld you test again from a clean environment? Ensure that rcutils package is downloaded again.
I have just backported https://github.com/ros2/rcutils/pull/390 to foxy.

It seems to only be applied to the "rolling" branch right?
If I rerun it, it clones branch foxy and there these changes do not apply and so it still gives me the same error. Porting these changes manually I can confirm it is working

Be careful because we at micro-ROS use a fork: https://github.com/micro-ROS/rcutils/tree/foxy

Check the last commit in foxy branch. It is a cherry-pick of the commit that fixes your issue.

Then I guess I am missing something.
But for me the foxy branch has the #if defined(ZEPHYR), but is missing the #if ZEPHYR_VERSION_CODE >= ZEPHYR_VERSION(3, 1, 0).
I tried both branches, humble and foxy, in a clean environment and foxy fails with the posix/time.h error while humble builds just fine

... Sorry ... I did the backport locally and I did not push the changes...
Here you have: https://github.com/micro-ROS/rcutils/blob/foxy/src/time_unix.c

Can confirm, it is working now 👍🏼


Tracing config updates in archetype

See https://github.com/helidon-io/helidon/issues/4892
Signed-off-by: tvallin<EMAIL_ADDRESS>

Hi @arjav-desai,
Here is some work to update tracing configuration in archetypes. I am still testing manually but I thought in the mean time you could have a look if it matches your expectation.

Hi @arjav-desai, Here is some work to update tracing configuration in archetypes. I am still testing manually but I thought in the mean time you could have a look if it matches your expectation.

So far looks good to me. Was there something to be set/mentioned about tracing in README files generated as well?


Porting SAP changes in Train

This includes all the SAP changes done on oslo.vmware.

Can we squash fix tests for "Optionally block on new connections (making pool_maxsize a hard limit) and Fix cookiejar access in CompatibilitySudsClient into the corresponding commits, please?

Done.


how to manipulate with tabs?

how to open tab, navigate url and close tab?

Using CDP.New(), client.Page.navigate() and CDP.Close().
All together:
const CDP = require('chrome-remote-interface');

async function navigateInANewTab(url) {
    const tab = await CDP.New();
    const client = await CDP({tab});
    const {Page} = client;
    await Page.enable();
    await Page.navigate({url});
    await Page.loadEventFired();
    await CDP.Close({id: tab.id});
}

navigateInANewTab('https://github.com');

@cyrus-and thanks,
Error: Could not create new page, i think not in stable chrome release?
What's the differences between CDP.Close and client.close?

Error: Could not create new page, i think not in stable chrome release?

Maybe related to #124?
As you can see from the doc:

CDP.Close closes the chosen tab (and implicitly detach the client from it, if that tab was inspected);

client.close detach the client from a currently inspected tab.

thanks, which better CDP.New({url}) or Page.navigate({url})?

Not better, different. With the former you cannot keep track of the page load, e.g., registering events as I did in the above example.

btw, how to handle errors for CDP.New(); and CDP({tab}); in the above example?

As you usually do in JavaScript. Since navigateInANewTab is an async function which uses await to handle the promises you can either use a try/catch inside that function or handle the errors from outside:
navigateInANewTab('https://github.com').then(() => {
    console.log('OK');
}).catch((err) => {
    console.error('ERROR', err);
})

You can even call it within a try/catch inside another async function...

@cyrus-and: getting some problems on attaching to chrome on a remote machine. Seems to hang when I do CDP.Close({id: tab.id}). I checked the the ID at http://host:port/json of my server, and the ID matches.
I then run the exact same code, but point it to a local instance of chrome (same machine as script) and it works.
var tab = await CDP.New({
  host: CHROME_FE_HOST || 'localhost',
  port: CHROME_FE_PORT || 9222,
});

This is the only thing that's different.

@pthieu
need also pass the option to Close method
e.g.
const options = {
  host: CHROME_FE_HOST || 'localhost',
  port: CHROME_FE_PORT || 9222,
};

var tab = await CDP.New(options);
...
do some stuff
...
await CDP.Close(Object.assign(options, {
  id: tab.id
}));

@hbakhtiyor: options were applied to the tab upon creation of it though. It works on localhost but not on remote host.

because default options are localhost and 9222, since you're connecting to remote host, need to pass host and port to another methods too

@hbakhtiyor
host and port are passed in here:
const options = {
  host: CHROME_FE_HOST || 'localhost',
  port: CHROME_FE_PORT || 9222,
};

hmm, it was clear, if you want to connect to remote host, you need to pass the option to another methods too, check the docs

@pthieu, @hbakhtiyor yes DevTools methods such as List, New, etc. require the HTTP endpoint information as it's specified in the doc.

It works on localhost but not on remote host.

Chrome will always listen on localhost meaning that you cannot attach to a Chome instance running on another host without some tricks (e.g., SSH tunnel).

Suggest your reply "how to open tab, navigate url and close tab?" be added to wiki thanks.

@bootrino Inspect a new tab.


student.karstula.fi

official website URL: https://peda.net/karstula/lukio
official website where a long-term (>1 year) IT related course is offered: https://peda.net/karstula/lukio/di-it-opinnot

@ajlakanen First stage of verification passed, official domain for Karstulan lukio, Karstula is student.karstula.fi as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Just for clarification: they have separate domains for students (@student.karstula.fi) and teachers (@edu.karstula.fi).

@ajlakanen  Thank you for the clarifications. Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Typo

elect (Default workspace configuration) is missing the letter S.

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

ID: 8267e218-3748-2820-3eee-80479705eec2
Version Independent ID: 8c6d5fce-6383-a0f8-7df3-f5e0a77bbad6
Content: Data Collection in Azure Security Center
Content Source: articles/security-center/security-center-enable-data-collection.md
Service: security-center
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@msghaleb Thanks for your feedback! We will investigate and update as appropriate.

@msghaleb We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


libatomic.so.1 not found

The reason for suggesting this package is because some nodejs packages require it for some reason.
Project description
Support library providing __atomic built-in functions.
When an atomic call cannot be turned into lock-free instructions, GCC will make calls into this library.
Metadata

homepage URL: https://pkgs.org/download/libatomic1
source URL:  http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-10/libatomic1_10-20200411-0ubuntu1_amd64.deb
license: N/A
platforms: linux

Have you tried gcc.cc.lib?

Yep, unfortunately that doesn't work either. I get the same error.

Have you tried gcc.cc.lib?

Yep, unfortunately that doesn't work either. I get the same error.

Could you provide a bit more context? What kind of node.js package are you trying to build?

I was actually experimenting with vosk which is a transcription package/api. Supposedly, it needs this libatomic.so.1 package to load voice models.

where are you adding gcc.cc.lib

where are you adding gcc.cc.lib

I'm actually just doing things through Replit's Nix system.
There's a replit.nix file which allows adding packages and so it looks like this:
deps = [
    pkgs.nodejs-16_x
    pkgs.python39
    pkgs.gcc.cc.lib
	];
}

By all means though, I could be doing this completely wrong since I have very little knowledge about Nix in general so please let me know if that is the case.


MySQL queries should wrap set operations

The MySQLQuery dialect doesn't wrap set operations in parens, but UNION queries that have LIMITs and ORDERs in the subqueries fail without parens. The documentation states:

You cannot have a query block with a trailing ORDER BY or LIMIT without wrapping it in parentheses...

For example, this fails:
SELECT 1 LIMIT 1 UNION SELECT 2 LIMIT 1;

but this does not:
(SELECT 1 LIMIT 1) UNION (SELECT 2 LIMIT 1);

The example you provided uses MSSQLQuery instead of MySQLQuery. Here's an example:
from pypika.dialects import MySQLQuery

query = MySQLQuery.from_("table").select("id").union(MSSQLQuery.from_("another_table").select("id"))
query.get_sql() # or str(query)

results in
'SELECT `id` FROM `table` UNION SELECT `id` FROM `another_table`'

I misread that then.
Here in the code, the wrap_set_operation_queries is set to False.
https://github.com/kayak/pypika/blob/8841520e906970d76c5ed81c7dd5d154f0d5259d/pypika/dialects.py#L90
Would you want to make a PR to change?
In the meantime, you might be able to set the wrap_set_operation_queries attribute of your query to True.

The temporary solution works, thanks. I opened a PR: https://github.com/kayak/pypika/pull/782


We probably don't need grids at low (far) zoom levels

Do we? Would save rendering time, for sure. Individual features are too hard to pick out, anyways.

We've removed the grids when zoomed far out, but still don't have a notice for the user.


Compatibility-breaking structure upgrades

In order to make our format more flexible and attractive, we should make some changes to the structure of the datasets.
I think we should have one recordings folder with two subfolders : "raw" and "converted" (or "processed", whichever you prefer). And we should do the same for annotations. For annotations, we should even do something like :

annotations

vtc

raw
converted

annotator1

raw
converted

Why ? Because by nesting folders, we can benefit from DataLad's dataset nesting functionality. So, we could have everything into one dataset, but people could also split the datasets and set different permissions for all the recordings altogether, or for all annotations altogether, or for all sets of annotations except one if one of them might have identifying data (e.g. transcriptions)
I think this would make our solution much more attractive.
What do you think ?
Since this is compatibility-breaking, we should make this move early.

"people could also split the datasets and set different permissions for all the recordings altogether, or for all annotations altogether, or for all sets of annotations except one if one of them might have identifying data (e.g. transcriptions)"
That is a key point. Other than that, the two seem equivalent. But this one argument heavily biases things in the direction of making the switch.
However, I fear this could break things downstream in N's code -- so tagging him here.

"people could also split the datasets and set different permissions for all the recordings altogether, or for all annotations altogether, or for all sets of annotations except one if one of them might have identifying data (e.g. transcriptions)"
That is a key point. Other than that, the two seem equivalent. But this one argument heavily biases things in the direction of making the switch.
However, I fear this could break things downstream in N's code -- so tagging him here.

Yep, @alsonicr would definitely have to reflect these upgrades - but it should not take that much work. Once the implementation is set, he could do that in a separate branch. I might be able to help. I'll try to bear most of the burden in any case (including upgrading the current datasets).

Yep, @alsonicr would definitely have to reflect these upgrades - but it should not take that much work. Once the implementation is set, he could do that in a separate branch. I might be able to help. I'll try to bear most of the burden in any case (including upgrading the current datasets).

Yes, but the metadata only contains the paths relative to something, and this something will change :/ but this should be super quick to reflect

Yes, but the metadata only contains the paths relative to something, and this something will change :/ but this should be super quick to reflect

"vtc/converted/childID/xxx.csv" it should look something like this non ?

"vtc/converted/childID/xxx.csv" it should look something like this non ?

You might very well be right actually !

You might very well be right actually !


Getting "The file may be too large" error on a 3kb file

Uploading fails.  Can't see that it created the uploads directory anywhere, but I get file too big error, even on a 3 kb file

What is you environment ?
Do you use apache2 or nginx ?
Can you provide you configuration file please ?
Which distribution do you use and which Taskboard branch do you use ?
Thanks


Dev guides: add csharp-monero to 'libraries and helpers'

Closes #1375

Are we waiting on someone here? If so, who? It's been a week, let's give them a poke?

Are we waiting on someone here? If so, who? It's been a week, let's give them a poke?

Can we please change

csharp-monero-rpc-client - {% t developer-guides.csharp-monero %}

to

csharp-monero-rpc-client (Monero Ecosystem) - {% t developer-guides.csharp-monero %}

?

Can we please change

csharp-monero-rpc-client - {% t developer-guides.csharp-monero %}

to

csharp-monero-rpc-client (Monero Ecosystem) - {% t developer-guides.csharp-monero %}

?

Are we waiting on someone here? If so, who? It's been a week, let's give them a poke?

We need somebody else reviewing this PR. I sometimes poke people on #monero-website but cannot really do more than that.

Can we please change

Good point. Changed.

Are we waiting on someone here? If so, who? It's been a week, let's give them a poke?

We need somebody else reviewing this PR. I sometimes poke people on #monero-website but cannot really do more than that.

Can we please change

Good point. Changed.

Reviewed

Reviewed


Add checks to prevent assignment of some map types

These are special map aggregation types that cannot be assigned to scratch variables or from one map
to another e.g. these are both invalid:
@a = hist(10); let $b = @a;
@a = hist(10); @b = @a;
https://github.com/bpftrace/bpftrace/issues/3540
Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Very interesting that avg(), count(), sum(), etc. all work. Intentional or just lucky?

Intentional. Min and max also work because we generate single values for all of these by looping over the per-cpu map e.g. https://github.com/bpftrace/bpftrace/pull/3268


Data screen - finish design of data score

As a developer, I want the design finalised, so I can build it. :)
As a user, I want to have a simple and clear way to see how my account scores in terms of data privacy and security, so that I know what to do / how to fix it.
Acceptance criteria: A finished design for development to work from.
Technical specs: To finish the design of:

Design score section:

Illustrations: - may be add our pineapple in various states - sad, neutral, happy

Improve score button

Improve score section: explaining how people can improve their score.

close. will create relevant stories once feature is designed.


Makefile parallelization is broken

I want to be able to use 'make -j#' but parallelization breaks the build process.

Most recent commit fixes this somewhat eee3a8a.
The problem is that the user really needs to run 'git submodule --init --recursive' before running make. Having the makefile execute this really complicates parallel building. Currently, you'll need to either run that command exclusively, or run single threaded make at least once before being able to use parallel make.


Raise error when dataType was not provided

throw Error explicitly,  if dataType was not provided for DeltaColumnBuilder :
issue Raised and Discussed here: https://github.com/delta-io/delta/issues/698

Thanks for reviewing the code and giving the helpful comments !!

Hi @jaceklaskowski
Thanks a lot for taking the time to review the code and giving comments.
(btw your books are awesome ❤ )


FIX: apply transform before plotting sensors in 3D

closes #7136
Not sure if this is robust enough to handle all use cases...  @larsoner are sensor coords ever going to be in some other space besides dev or head?  If so maybe I need a trans dict that maps from the info['chs'][n]['coord_frame'] integer to the appropriate transform in each case.

here's the rendering; now the EEG sensors are where they should be relative to the MEG sensors.
https://17205-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/epochs/plot_20_visualize_epochs.html#plotting-sensor-locations

@drammock you have conflict in latest
feel free to merge when fixed and green
thx


Fetch n98-magerun2 instead of tracking file

This update removes the tracked n98-magerun2.phar file and instead fetches a specified version, compares checksum, and installs locally. A passing Kitchen test is included as well that better matches the format of the new recipe.

Yeah @mfdj keeping n98 in the repo made me feel real bad


add 'node' label to metrics exported by prometheus

add 'node' label to metrics exported by prometheus.
The metrics obtained from Prometheus do not have node information, which prevents grouping and statistical analysis based on nodes.

/ok-to-test

Adding a label could be breaking change. Testing the changes locally.

Adding a label could be breaking change. Testing the changes locally.

@vteratipally Were you able to test this?
/retest

/reopen

/remove-lifecycle stale

/auto-cc

/remove-lifecycle stale

@wangzhen127 @vteratipally Did you get a chance to test this?


FFXV's Wrapper Lighting doesn't work

Expected behavior:
FFXV has a bunch of Chroma compatibility. Here's an example. I made a profile pointed at the ffxv_s.exe and made a Wrapper Lighting Layer, but it didn't work.
This is using a Blackwidow Chroma V2 btw.
Actual behavior:
The entire keyboard stays dark no matter what.
How often does this problem occur?
All the time.
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Make a new profile pointed to here:

Set the settings like this:

Make sure Chroma apps are enabled in Synapse:

Try playing the game:
 It should be glowing blue here.

What is the version of Aurora you are experiencing this issue with?

My version is beta v0.6.3
Does the previous version of Aurora have this issue?
I don't know, I haven't used it.
Please include any logs, screenshots, or files that are related to this issue:
https://pastebin.com/du8ZN8RK

Try applying the chroma wrapper patch to that games folder.

Sorry, what is that? Where do I find that? I don't think I've heard of that before.

Click this button and then select the folder that games's exe is in

That worked perfectly, thanks! Is that safe to use in multiplayer games, or would I get banned? Has anyone gotten banned for it yet?


emacs25pre: 25.0.95 -> 25.1-rc1

Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Works for me, to the extent that I've been able to test it since it was released.


Call Recording Data Migration  - sample data

User Story
MoJ are changing call centre provider from 8x8 to a new provider. As part of this they need to transfer sensitive data from one provider to the new one.
To enable this we need to create a secure SFTP client with connectivity to 8x8 and the new provider.
The work will be done in 2 stages, the first a sample copy and upload, after which any data will be fully deleted. This needs to be done over the next few weeks.
The 2nd stage will be sometime next year.
A user will be responsible for copying the data from 8x8 to the SFTP client and then uploading to the new  providers S3 bucket.
As this is a temporary requirement we will do this within modernisation platform accounts - rather than creating any new accounts
Value / Purpose
This is to meet contractual agreements to transfer data from current to new provider
Context / Background
The MoJ has looked at a number of alternative methods for migrating the data - particularly looking at a direct transfer. However these have all been ruled out.
The new call centre provider needs data from historic (and ongoing) calls.
The new provider will need some time to validate the import process.
8*8 will delete all of the existing data by 31st March 2025.
The MoJ team do not have the required skills to do this work themselves, so it has been agreed that we will do this.
Useful Contacts
<EMAIL_ADDRESS><EMAIL_ADDRESS>Dave Elliott
Additional Information
The full dataset size is around 1TB
We should consider if we can do this with AWS file transfer family of services https://aws.amazon.com/aws-transfer-family/ rather than a traditional EC2.
Definition of Done

[x] Decide where to host it in ModP (use long-term-storage account?)
[x] Confirm connectivity details
[ ] SFTP client built
[ ] It can access both sites
[ ] The device and access routes are as secure as possible
[ ] The user will be able to access the Sftp client
[ ] Data downloaded into a secure S3 bucket
[ ] When the upload is complete - all data is securely deleted within mod platform - ideally provide some evidence of this to the MoJ team
[ ] A new ticket is raised to cover doing this all over again for the full data set

I've been looking at this issue this week from a few different angles. I arranged a roundtable with the Analytical Platform team to see if the analytical-platform-ingestion service was suitable but the outcome was unclear. I don't think - as is - the ingestion service is suitable.
We were originally under the impression that the first supplier would be pushing files to us, but on further discussion it appears we'll be pulling from them via SFTP. The method for the transfer onwards isn't clear - hopefully we'll be able to leverage S3 Bucket Replication.
I've been putting together an interim build using AWS Transfer (leveraging AWS Transfer Connectors for the pull) in the long-term-storage account in our modernisation-platform-environments repository but I'm not convinced that AWS Transfer Connectors are the right approach. If nothing else, there's a 50Mbps per-account quota which would make for a very very slow transfer of the data in scope.
I've also arranged a call with our AWS Solutions Architect to talk through alternatives. Possibly a simple Lambda to pull the files and load them into S3 as a one-off is the best way forward?

In the spirit of making small PRs, you can see the work that's been involved in creating the Transfer Server & Connector here:

https://github.com/ministryofjustice/modernisation-platform-environments/pull/8824
https://github.com/ministryofjustice/modernisation-platform-environments/pull/8851
https://github.com/ministryofjustice/modernisation-platform-environments/pull/8907
https://github.com/ministryofjustice/modernisation-platform-environments/pull/8946
https://github.com/ministryofjustice/modernisation-platform-environments/pull/8958

At present we're ready to test connectivity to the remote provider's SFTP server, but we need some details from them. At the very least, a username & authentication details. When I've tested connectivity with incorrect details we get timed out, so I suspect there's some IP allow-listing taking place too.


Step plugin 1.18.22. Slot Seconds DEV -> LIVE

Problem
Summary of Changes
Fixes #

Closing since this got moved to agave


Lossfunction issue

when i tyoe the command“python ./trainSpeakerNet.py --model ResNetSE34V2 --log_input True --encoder_type SAP --trainfunc
angleproto --save_path exps/exp1 --nClasses 5994 --batch_size 2 --margin 0.3”, I'll get the result below,
"IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)“
but "--trainfunc amsoftmax" not

error "nloss   = self.criterion(cos_sim_matrix, label) "

You have to set nPerSpeaker to 2 or a higher value to use angleproto as it is a metric learning loss function.

Excuse me, what is the result of using this loss function? I got eer=2.6 minDCF=0.2. Is this normal? Does it belong to self-supervised learning method or supervised learning method?

您必须设置为 2 或更高的值才能使用，因为它是指标学习损失函数。nPerSpeaker``angleproto

thanks a bunch.


fix(deps): update terraform ibm to latest for the landing zone da extension

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
minor
1.55.0 -> 1.56.0

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.56.0
Compare Source
Removal

Remove SCC V1 version resources/datasources (4689)
Remove atracker v1 changes  (4684)

Features

Support Secret Manager

Resources

ibm_sm_public_certificate_action_validate_manual_dns

Support IAM

Resources

ibm_iam_user_mfa_enrollments

Support VPC

Datasources

ibm_is_virtual_network_interface
ibm_is_virtual_network_interfaces

Support EVent Notification

Resources

ibm_en_destination_huawei
ibm_en_subscription_huawei
ibm_en_ibmsource

Datasources

ibm_en_destination_huawei

ibm_en_subscription_huawei

ibm_en_ibmsource

Enhancements

Modified TGW connection resource to support powerVS dependency (4657)
DL Route Report changes (4570)
added trait field in enterprise child account (4696)
Tekton simplify CRON validation (4668)
Remove Key Protect ID and Transition to v5 API (4420)
Git broker parameter updates (4675)
fix(4630): added computed to lb pool member target id and address (4642)
add(image): support for image lifecycle management (4698)
SSH Key: Support additional encryption algorithms (4677)
backup: added suuport for cross region copy for vpc backup (4692)
enhancement(snapshot): added support for cross region snapshot copy (4678)
Update container-registry SDK  (4706)
Remove deprecated connection string and cert path from database datasource (4406)
Akamai authentication method upgraded (4700)
support no_sg_acl_rules argument in VPC (4702)
enhancement(bm): added support for console type and nic count for bm server (4716)

BugFixes

update doc files for Projects (4681)
handle nil network id in dhcp detail (4683)
fix: CIS - documentation fix (4688)
Update initialization block (4675)
fix import example in code engine document (4646)
pDNS documention correction for CR forwarding rule (4695)
always read and set datacentervalue (4703)
Doc Fix: Updated IBM Cloud Metrics Routing (4705)
Failed to update resource ibm_is_instance_group_manager_policy update (4647)
Crash while creating COS bucket (4699)
fix(Cloud Databases): marshal blank string for latest PITR time (4718)
doc update for container addons (4730)
Doc fix: Updated subcategory of ibm_metrics_router_targets (4737)
fixed(backup_policy_plan): delete_over_count null issue fixed (4735)
move trait field from acc import to acc create (4729)
Fix ibm_pi_dhcps example (4727)
Updated the documentation to cleanup l1bm (4741)
fix(ssh): resolved password decryption for pkcs8 (4707)
Update ibm_pi_instance Doc (4728)
Fix ibm_database plan documentation error (4742)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.4.5 :tada:
The release is available on:

GitHub release
v1.4.5

Your semantic-release bot :package::rocket:


Add option to create note in DevonThink automatically

This is a feature request to add an option that creates a new note in DevonThink with the excerpt and other specified parameters (e.g., creator, link to original document).
Right now, my workflow is to select text in the PDF, right click and select the excerptor service, copying text to the clipboard, then going into DevonThink and creating a new note with the text (or using the DevonThink note shortcut to create a new note and pasting the clip into the note body). It would be great to eliminate the manual steps of creating a note and pasting the excerpt.

The feature Excerpt To File might meet your requirement. In Excerptor's settings, switch to Excerpt To File, choose Location to DEVONthink's inbox. Then in PDF, select text and select Excerptor's another service Excerpt Selection To File.

That's close, but there's a couple of problems with the workflow still.

The new items are not dropped directly into the global inbox. Instead, there is a newly created folder with the title of the document that I clipped from, with the clip inside. I end up with multiple folders, each with one clipping, if I make multiple extracts from a single document. This behavior occurs with the File Template Location set to both ~/Library/Application Support/DEVONthink Pro 2/Inbox/{{PDFFileName_NoExtension}} as well as ~/Library/Application Support/DEVONthink Pro 2/Inbox/.

When I view the file, it displays as unrendered md. I need to manually convert to RTF in order to see a properly formatted hyperlink. I tried changing the File Template Filename extension to .rtf, but that resulted in no clipping being made (it was as if I hadn't chosen the Extractor service at all). I tried a couple of times to verify that I hadn't misclicked.

What I would like is for the new clip to end directly in my inbox (not a folder within the inbox), with the note rendered. Is there a preference setting I am missing?

I just noticed the issue that duplicated folders with same folder name are in DEVONthink's Inbox. Thank you for your message. The issue depends on DEVONthink's implementation. I have no way to fix it. But DEVONthink provides a way to merge folders. You can select duplicated folders and Control - Click to get merge in context menu.

This behavior occurs with the File Template Location set to both ~/Library/Application Support/DEVONthink Pro 2/Inbox/{{PDFFileName_NoExtension}} as well as ~/Library/Application Support/DEVONthink Pro 2/Inbox/
For the issue above, could you screenshot your config page?

The file template only supports plain text. Personally I prefer to use https://github.com/ttscoff/MMD-QuickLook/, with this, you can select your excerpt file and tap space bar to QuickLook the excerpt, and the link will be available to click. If you want edit the excerpt, there are lots of good Markdown editors available.

Please let me know if any questions.

I've attached the screenshot for the extra subfolders issue.

I couldn't reproduce the issue. Can we make it clearer?
You mean, with the settings in your screenshot, and then make multiple extracts from a single document, you'll get the file hierarchy below?
| Inbox
  | PDFFileName
     | ExcerptText1
  | PDFFileName
     | ExcerptText2
  | PDFFileName
     | ...

It seems the settings didn't take effect. Could you send me the preference file? ~/Library/Preferences/name.guoc.excerptor.Excerptor.plist
What's the version of your Excerptor, OS X, Preview/Skim, DEVONthink Pro?
Thank you.

Your summary and picture is correct. However, now I'm getting an even more strange behavior.
I created a new PDF document for testing (the results of a Google search for DevonThink) and created some clips from Preview using Excerpt to File.
What is happening is that the excerpts are now being created in the global inbox, but each time, an empty new folder is being created with the title of the first PDF that I made clips from.
So, after creating two clippings, my global Inbox looks like:
| Inbox/
--| PDF1FileName/
--| PDF1FileName/
--| ExcerptTextfromPDF2_1.md
--| ExcerptTextfromPDF2_2.md
OS X 10.10.5, DevonThink Pro Office 2.8.7, Preview 8.0, Excerpter 1.1
There seem to be two preference files in my home library: name.guoc.excerptor.plist and name.guoc.excerptor.Excerptor.plist. I had to add a .txt to each file to attach them here.
name.guoc.excerptor.Excerptor.plist.txt
name.guoc.excerptor.plist.txt

I setup as the system environment you give on my MacBook for testing. It's almost brand new system.
Then I restarted my system to make sure there is no preferences cache for Excerptor. Then copied your .plist file to overwrite my .plist and launch Excerptor.
For the previous issue, it still did not happen. Considering the new strange behaviours, I guess perhaps there are two or more Excerptor instances running. Could you open Activity Monitor in /Applications/Utilities/ and search Excerptor? If there are more than one Excerptor, the assumption could be verified, and it may be fixed by quitting them then reopening Excerptor or restarting system.
Another supposition is about DEVONthink's Inbox behaviours. The Inbox in DEVONthink's library and the Inbox in Finder (the path set in Excerptor's selection Location) are different. New files put into Finder's Inbox are imported to DEVONthink's Inbox, the original files in Finder's Inbox will be removed. That's why twice excerpt actions on a same PDF file will generate two duplicated folders if PDF file name is set as part of selection Location like default settings. Could you change the settings for Excerptor selection Location to a different folder? This would better be done after restarting system. If restarting system is not allowed in your situation, please use Activity Monitor to kill Excerptor.
I appreciate your patience.

I confirmed that there's only one copy of Excerptor running. I'll test the
inbox locations later today.
Thanks for your help in working through this issue. And, thank you for
creating this utility!
Colin J. Hahn
On Tue, Nov 17, 2015 at 7:45 PM, guoc<EMAIL_ADDRESS>wrote:

I setup as the system environment you give on my MacBook for testing. It's
almost brand new system.
Then I restarted my system to make sure there is no preferences cache for
Excerptor. Then copied your .plist file to overwrite my .plist and launch
Excerptor.
For the previous issue, it still did not happen. Considering the new
strange behaviours, I guess perhaps there are two or more Excerptor
instances running. Could you open Activity Monitor in
/Applications/Utilities/ and search Excerptor? If there are more than one
Excerptor, the assumption could be verified, and it may be fixed by
quitting them then reopening Excerptor or restarting system.
Another supposition is about DEVONthink's Inbox behaviours. The Inbox in
DEVONthink's library and the Inbox in Finder (the path set in Excerptor's
selection Location) are different. New files put into Finder's Inbox are
imported to DEVONthink's Inbox, the original files in Finder's Inbox will
be removed. That's why twice excerpt actions on a same PDF file will
generate two duplicated folders if PDF file name is set as part of
selection Location like default settings. Could you change the settings for
Excerptor selection Location to a different folder? This would better be
done after restarting system. If restarting system is not allowed in your
situation, please use Activity Monitor to kill Excerptor.
I appreciate your patience.
—
Reply to this email directly or view it on GitHub
https://github.com/guoc/excerptor/issues/2#issuecomment-157570557.

I just tried restarting the system and changing the folder location. I
experienced the same behavior: the clipped document showed up in my global
Inbox, and a new (empty) folder was created in the global Inbox with the
name of the first document that I clipped from (NOT the name of the file
that I clipped from when doing the experiment).
On Thu, Nov 19, 2015 at 7:25 AM, Colin J. Hahn<EMAIL_ADDRESS>wrote:

I confirmed that there's only one copy of Excerptor running. I'll test the
inbox locations later today.
Thanks for your help in working through this issue. And, thank you for
creating this utility!
Colin J. Hahn
On Tue, Nov 17, 2015 at 7:45 PM, guoc<EMAIL_ADDRESS>wrote:

I setup as the system environment you give on my MacBook for testing.
It's almost brand new system.
Then I restarted my system to make sure there is no preferences cache for
Excerptor. Then copied your .plist file to overwrite my .plist and launch
Excerptor.
For the previous issue, it still did not happen. Considering the new
strange behaviours, I guess perhaps there are two or more Excerptor
instances running. Could you open Activity Monitor in
/Applications/Utilities/ and search Excerptor? If there are more than one
Excerptor, the assumption could be verified, and it may be fixed by
quitting them then reopening Excerptor or restarting system.
Another supposition is about DEVONthink's Inbox behaviours. The Inbox in
DEVONthink's library and the Inbox in Finder (the path set in Excerptor's
selection Location) are different. New files put into Finder's Inbox are
imported to DEVONthink's Inbox, the original files in Finder's Inbox will
be removed. That's why twice excerpt actions on a same PDF file will
generate two duplicated folders if PDF file name is set as part of
selection Location like default settings. Could you change the settings for
Excerptor selection Location to a different folder? This would better be
done after restarting system. If restarting system is not allowed in your
situation, please use Activity Monitor to kill Excerptor.
I appreciate your patience.
—
Reply to this email directly or view it on GitHub
https://github.com/guoc/excerptor/issues/2#issuecomment-157570557.

Now the issue is, what you do in preferences does not affect how Excerptor works. The preferences' changes can be reflected in configuration file. Perhaps something about reading configuration files is wrong in my code. I'll check it and let you know if fixed.
Thank you.

Do other preferences changes work? such as Content, and settings in other tabs Excerpt To Pasteboard. This will be helpful to locate bugs.

I know that I made changes to the Excerpt to Pasteboard tab that modified
the content of the clipping, and those changes took effect. I will test
making other changes to the Excerpt to File tab.
On Fri, Nov 20, 2015 at 2:19 PM, guoc<EMAIL_ADDRESS>wrote:

Do other preferences changes work? such as Content, and settings in other
tabs Excerpt To Pasteboard. This will be helpful to locate bugs.
—
Reply to this email directly or view it on GitHub
https://github.com/guoc/excerptor/issues/2#issuecomment-158514062.

I just released an update. I don't know if it could fix the issue, because I still can not reproduce it. Could you check this new version? Thank you.

Same problem occurs with 1.1.1.
On Sun, Nov 22, 2015 at 2:52 AM, guoc<EMAIL_ADDRESS>wrote:

I just released an update. I don't know if it could fix the issue, because
I still can not reproduce it. Could you check this new version? Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/guoc/excerptor/issues/2#issuecomment-158737719.

I am sorry. I still could not reproduce these issues.
If you'd still like try a full reinstallation for Excerptor (this is the last thing I can think of), these are wiki pages Uninstallation and Installation (a little changes since the beginning).
Thank you again for your patience.


bug: doesn't work for some function

The crabviz doesn't work for some function, like finish_task in following image:

Please check about incoming calls of Task::update_task_status_result and Resource::finish_task to see if finish_task is there. (right click on the function name, select “Show Call Hierarchy” on the context menu, and then switch to show incoming calls.)

when i open finish_task call graph, it will show following result:

The call graph is right, but why didn't it appear in previous image?

Crabviz fetches just incoming calls when generating call graphs for selected files. While generating call graphs for selected functions, Crabviz fetches both incoming calls and outgoing calls.
I guess maybe those two calls are returned in outgoing calls, but not in incoming calls.
So, please help check about call hierarchies of these functions, show incoming calls of Task::update_task_status_result and Resource::finish_task, and outgoing calls of finish_task.

The outgoing calls of finish_task are as follows:

The incomming calls of Task::update_task_status_result is as follows:

The incoming calls of Resource::finish_task is as follows:

Crabviz fetches just incoming calls when generating call graphs for selected files. While generating call graphs for selected functions, Crabviz fetches both incoming calls and outgoing calls.
I guess maybe those two calls are returned in outgoing calls, but not in incoming calls.
So, please help check about call hierarchies of these functions, show incoming calls of Task::update_task_status_result and Resource::finish_task, and outgoing calls of finish_task.

It might be possible to add some options, so that when generating a call graph for selected files, it fetches both incoming calls and outgoing calls.

Thank you so much! The language server does return the calling relationships which were not drawn on the graph. Is this bug reproducible? If yes, then is the code open source? Or could you provide a minimal reproducible sample? Many thanks!

It might be possible to add some options, so that when generating a call graph for selected files, it fetches both incoming calls and outgoing calls.

There are cases that calls are returned in incoming calls but not in outgoing calls, and not vice-versa. So just fetching incoming calls should be enough.

I try to generate a minimal reproducible sample, but it doesn't work. The call graph of finish_task will show. And when I delete other function in my project, the call graph of finish_task will also show.

My code repo is private, but I can invite you as collaborators temporarily.

Thanks for your help very much.

I just tested crabviz on your project, and I think it worked as expected. Here is the output graph.

All information is from the language server, so you should wait till the language server is ready before generating a call graph.

This is very strange, my language server is already prepared. Could this possibly be related to the version of the toolchain or rust-analyzer?
My toolchain version is 1.77.0 nightly, my rust-analyzer version is v0.3.1860.

when i try it in another computer with 1.78.0 nightly, it still doesn't show call graph of finish_task:

Same RA version here, and toolchain version is 1.78.0-nightly (fc3800f65 2024-02-26), no issues.
Please check the call hierarchies again, if the results are as expected, then run crabviz again to generate a new call graph.

I still get the wrong results, and I'm not quite sure why that is. Anyway, thank you for your patient help and the outstanding project.


Something went wrong during the creation of a file

installed windows monokle.
opened my existing folder with kubernetes templates.
existing templates are showing up as  like this
��a��a��a��a��a��a
i tried create new file its showing up
Creating failed
Something went wrong during the creation of a file

Looking at it. Thank you for reporting.

Hello @SawantDarshan, and thank you for reporting this. We have just released 2.0.1 which should fix the problem that you had. Please let us know if everything works as expected.

Thanks for reply i will check on my side and let you know.
Darshan Sawant
On Thu, Feb 23, 2023, 2:02 PM Razvan Topliceanu @.***>
wrote:

Hello @SawantDarshan https://github.com/SawantDarshan, and thank you
for reporting this. We have just released 2.0.1 which should fix the
problem that you had. Please let us know if everything works as expected.
—
Reply to this email directly, view it on GitHub
https://github.com/kubeshop/monokle/issues/3242#issuecomment-1441372573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUQ5WRL7EW4PRNQNSKQ4XQ3WY4ODBANCNFSM6AAAAAAVAFBGQ4
.
You are receiving this because you were mentioned.Message ID:
@.***>


[FEATURE] add progress bar on top

Description
I have a suggestion,
When navigating to a different route in our LinkFree web application, there is currently no visual indication that the page is loading. This can be confusing for users who may think that the application is not working or responding. To improve the user experience, i would like to add a progress bar at the top of the page that shows the loading progress when navigating to a different route.
The progress bar should appear at the top of the page as soon as the user clicks on a link or button that navigates to a different route. It should remain visible until the new page is fully loaded. The progress bar should provide visual feedback to the user on the loading progress, such as a percentage or a loading animation. I will be happy to work on this feature, what you think about my idea.
Screenshots
https://user-images.githubusercontent.com/73095526/235506626-6cd83814-8318-4b02-afc4-560f24ae967d.mp4
Additional information
No response

Thank you for the suggestion 👍
A few issues have been raised on this topic already and here are our thoughts..

As we move to using the database, the app should improve performance https://github.com/EddieHubCommunity/LinkFree/issues/6244
Also when we upgrade to the latest version of NextJS we get features like this more easily (need to merge open PRs)

We will revisit this after the above 2 steps are complete.


Nested block

Now, two nested block are not cute and it’s hard to distinguish them.
\documentclass[small]{zmdocument}

\usepackage{blindtext}

\begin{document}
\begin{Information}
   \blindtext
   \begin{Information}
      \blindtext
   \end{Information}
\end{Information}
\end{document}

A solution is to indent text in the block. What do you think about it?

I don't indent much with LaTeX (probably because unlike python, my IDE does not indent for me). Why not, thought (related to #20, then, but we need to say exactly when to indent and when not, for example, here you didn't indent after \begin{document}, which I prefer). Note that it is only for us, since the zMd parser will probably not care :p

There is a misunderstanding. I was thinking about the final outcome.

Oh, that ? Indeed.

I obtain a good result with this code (add indentation with \theoremindent).
\newcommand{\newZdSbox}[3]{
   \theoremprework{~\\ \textcolor{#3}{\rule{0.6\linewidth}{1pt}}}
   \theorempostwork{\hfill \textcolor{#3}{\rule{0.6\linewidth}{1pt}} \\}
   \theoremindent=2em
   \theoremheaderfont{\scshape\hspace{-2em}}
   \theoremseparator{ ---}
   \theoremstyle{break}
   \theorembodyfont{\normalfont}
   \newtheorem*{#1}{\textcolor{#3}{#2}}
}

Oh, your solution is even better than mine (based on counters ^^). I test that :p

... Or you already did :p

Yep. :) What do you think about the indentation length ?

It's a yes :)


Create To find quotient and remainder.c

#include <stdio.h>
int main(){
int dividend, divisor, quotient, remainder;
printf("Enter dividend: ");
scanf("%d", &dividend);
printf("Enter divisor: ");
scanf("%d", &divisor);
// Computes quotient
quotient = dividend / divisor;
// Computes remainder
remainder = dividend % divisor;
printf("Quotient = %d\n", quotient);
printf("Remainder = %d", remainder);
return 0;
}

I would be highly obliged if you could guide me on the same
On Fri, Nov 1, 2019, 18:38 Adithya Anilkumar<EMAIL_ADDRESS>wrote:

@adithyaanilkumar requested changes on this pull request.
Please put the algorithm in the respective C folder
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adithyaanilkumar/project-zeus/pull/23?email_source=notifications&email_token=ANMC2OSNNLEQKKNJKPHGBWDQRQS5LA5CNFSM4JHMXTNKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCKAPSFA#pullrequestreview-310442260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANMC2OSMV6HHBFZDZMNPBJLQRQS5LANCNFSM4JHMXTNA
.

please refer here


Bit vector

Opened this pull request to bring the discussion from #8 from standstill.
First question to be adressed is: Is this something you wish to implement in this crate or should I rather create a new crate that depend on this crate (or if needed, a fork)?
Second question: Is the change from self.bit_length() to Self::bit_length acceptable, cause the alternative is to have O(n) indexing in [BitField] (as mentioned in #8) and I don't think that is better.
When all the technicalities is sorted out i will add docs and complete tests.

@phil-opp I believe I've fixed the issues you addressed. Do you see anything more that should go into this PR? I assume we're waiting with implementing either BitField or BitArray for  [T: BitField; N] as suggested in #8?
@le-jzr You commented on some use cases for treating slices as bits in #4. Will this PR help or is it lacking something?
I guess it's also to some degree addressing the issue in #7.

Thanks! Looks good to me now.
I think the implementation for [T] suffices for now. It should be possible to use it on arrays too, by slicing it through &array[..] or &mut array[..].

There haven't been any new comments or concerns over the past week, so I decided to merge this.
Thanks a lot, @kjetilkjeka!

Released as 0.8.0.

That's great, I guess this means #8 can be closed. And possibly #7 as well?


Typing changes in 8.1.4 cause failure of mypy check

Click's simple example https://github.com/pallets/click#a-simple-example doesn't pass mypy 1.4.1 since 8.1.4.  With click 8.1.3 the example did pass. This affects not only the simple example but also existing projects that use click. I ran mypy on one of my projects and everything passed, ran it 30 minutes later and saw failures out of the blue. Click 8.1.4 was published to PyPI between my checks.
To reproduce:

Save the simple example as click.py
pip install mypy==1.4.1 click==8.1.3
mypy click.py

This is the output:
click.py:3: error: Argument 1 has incompatible type "Callable[[Any, Any], Any]"; expected <nothing>  [arg-type]
click.py:12: error: <nothing> not callable  [misc]

Environment:

Python version: 3.11
Click version: 8.1.4

Happy to review a PR.

We ran into this as well. Unfortunately I won't be able to work on a fix for several hours at least, but I'm happy to try things out and submit a PR if I can. If someone else gets to it first, I'd also be happy to help review and check the fix against our codebase if that would be useful.
I think the issue stems from the definition of the _Decorator type alias in the decorators. I'm not quite sure how the types should be shaped, but I tried a change which swaps an underlying TypeVar for a TypeAlias.
I put together a reproducer for the expected <nothing> behavior which tries to ignore most of the details, and a possible fix (though I'm not 100% sure that the types I played with are correct):
import typing as t

from click import Command

T = t.TypeVar("T")
_AnyCallable: t.TypeAlias = t.Callable[..., t.Any]
_Decorator: t.TypeAlias = t.Callable[[T], T]
FC = t.TypeVar("FC", bound=t.Union[_AnyCallable, Command])

def option() -> _Decorator[FC]:
    def decorator(f: FC) -> FC:
        return f

    return decorator

FC2: t.TypeAlias = t.Union[_AnyCallable, Command]
FC2_Decorator: t.TypeAlias = t.Callable[[FC2], FC2]

def option2() -> FC2_Decorator:
    def decorator(f: FC) -> FC:
        return f

    return decorator

def foo() -> None:
    pass

reveal_type(option)
reveal_type(option2)
foo = option()(foo)
foo2 = option2()(foo)

A minor note: I'm now fairly certain that my "solution" above is incorrect.
If FC2 is defined as an alias for _AnyCallable | Command, then it won't allow subtypes of _AnyCallable, which is not acceptable. (It would mean that a command whose callback is defined with a return type other than Any gets rejected.)
It might be okay to use Callable (with no parameters) in lieu of _AnyCallable, but I haven't yet learned why _AnyCallable is being used rather than Callable.

I'm guessing the right way to type these decorators is to use the facilities described here, which are intended to deal with exactly this problem of decorating functions that may have arbitrary signatures:
https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators

That was what I used originally. It was apparently lacking, because we continue to get reports from users saying that their type checker doesn't like something, then we add more complexity to the type, then something else isn't correct, etc. Typing is a huge mess.

Also, note that typing in Python is optional. Click is not broken by this, 8.1.4 works just fine and fixes a lot of issues. You have the power to ignore any typing errors that are not useful.

Taking a quick look at this.
Would you consider changing the signature of option (and maybe others) to:
def option(
    *param_decls: str, cls: t.Optional[t.Type[Option]] = None, **attrs: t.Any
) -> t.Callable[[FC], FC]:

? This syntax is equivalent to what we have today.
The current implementation with a generic type alias might be a little too much for Mypy at this time (I'm getting note: Revealed type is "<nothing>"). This by itself won't solve this issue but it might be a necessary step.
After that, I think this overload is the issue:
# variant: name omitted, cls _must_ be a keyword argument, @command(cmd=CommandCls, ...)
# The correct way to spell this overload is to use keyword-only argument syntax:
# def command(*, cls: t.Type[CmdType], **attrs: t.Any) -> ...
# However, mypy thinks this doesn't fit the overloaded function. Pyright does
# accept that spelling, and the following work-around makes pyright issue a
# warning that CmdType could be left unsolved, but mypy sees it as fine. *shrug*
@t.overload
def command(
    name: None = None,
    cls: t.Type[CmdType] = ...,
    **attrs: t.Any,
) -> t.Callable[[_AnyCallable], CmdType]:
    ...

If I comment it out, the example type-checks. So we need to figure out how to fix it. Given the comment, it might not be super easy.

Like the command comment mentions, the proper way to type that overload is:
@t.overload
def command(
    name: None = None,
    *,
    cls: t.Type[CmdType],
    **attrs: t.Any,
) -> t.Callable[[_AnyCallable], CmdType]:
    ...

The comment also mentions this doesn't actually pass Mypy. Now I haven't really used custom command in click, so I googled and found this example from the official docs: https://click.palletsprojects.com/en/8.1.x/advanced/#command-aliases. It looks like this example might be exercising the problematic overload?
If I try pasting the first part of the example into a file, Mypy seems to work fine with it:
import click

class AliasedGroup(click.Group):
    def get_command(self, ctx, cmd_name):
        rv = click.Group.get_command(self, ctx, cmd_name)
        if rv is not None:
            return rv
        matches = [x for x in self.list_commands(ctx) if x.startswith(cmd_name)]
        if not matches:
            return None
        elif len(matches) == 1:
            return click.Group.get_command(self, ctx, matches[0])
        ctx.fail(f"Too many matches: {', '.join(sorted(matches))}")

    def resolve_command(self, ctx, args):
        # always return the full command name
        _, cmd, args = super().resolve_command(ctx, args)
        return cmd.name if cmd is not None else None, cmd, args

@click.command(cls=AliasedGroup)
def cli():
    pass

reveal_type(cli)  # note: Revealed type is "a02.AliasedGroup"

So maybe Mypy fixed this in the meantime and we can use the proper overload variant?

I'm fine with changing signatures. I'm also fine with writing the "right" external signature, even if mypy doesn't like it when checking click itself; we can just add ignores and comments.
Another wrinkle in this, as shown by that comment, is that people want both mypy and pyright to work, and they have different behaviors regarding decorators.

I can put together a PR over the weekend. How about I set up some typing tests too (by stealing them from @hynek in attrs)?

That would be great!
We added some typing tests to Flask after talking with Hynek at PyCon. The tests/typing directory has files with different examples that should pass (they don't have to be sensible/useful code). MyPy is configured to type check that directory as well, so it runs as part of tox and CI.

How about I set up some typing tests too

Probably the first thing to do is to add tests/ and examples/ to https://github.com/pallets/click/blob/main/pyproject.toml#L62
They are generally the only place in a repo that actually use the public API, so you should get a lot of typing coverage by type checking them. We do this in all our project these days.

I'd prefer to use the layout I described above.

It depends on how the test suite is written. I've not looked at the tests here, so maybe it's too difficult. But, remember that you can use different strictness settings for tests and examples (e.g. https://github.com/aio-libs/aiohttp-jinja2/blob/master/.mypy.ini#L26-L29).
Though, I've personally found when keeping the strictness for tests, I've found and fixed poorly done mocking, tests which could never fail (often because of the mocking) and tests that were not actually testing anything.

Here's a very minimal reproduction of this issue using just version_option (which returns _Decorator[FC]) that might help narrow things down:
@click.group()
@click.version_option()
def foo():
    pass

PR up at https://github.com/pallets/click/pull/2562. I've also added simple Mypy and Pyright tests that should be fleshed out over time.

Click 8.1.5 is available on PyPI.

FYI this:
@click.group(
    context_settings={'help_option_names': ('-h', '--help')},
)
def foo():
    ...

still errors in Pyright as mentioned here if you wanna reopen this issue.

Happy to review a PR.

I think this is still broken but maybe I'm doing something incorrectly:
~\Desktop\j ddev{repo: core, org: staging}
❯ pip freeze | rg "click|mypy"
click==8.1.5
mypy==1.4.1
mypy-extensions==1.0.0

~\Desktop\j ddev{repo: core, org: staging}
❯ mypy .
t.py:17: error: <nothing> has no attribute "add_command"  [attr-defined]
Found 1 error in 1 file (checked 1 source file)

import click

@click.group(context_settings={'help_option_names': ['-h', '--help']}, invoke_without_command=True)
@click.version_option(version='0.1.0', prog_name='ddev')
@click.pass_context
def ddev(ctx: click.Context):
    print('ddev')

@click.command(name='ci')
@click.pass_context
def ci(ctx: click.Context):
    print('ci')

ddev.add_command(ci)

def main():
    return ddev(prog_name='ddev', windows_expand_args=False)

if __name__ == '__main__':
    main()

I'm still experiencing this issue, the examples in https://click.palletsprojects.com/en/8.1.x/quickstart/#nesting-commands fail to typecheck under MyPy 1.4.1. I imagine whatever type adjustments were done to click.command for 8.1.5 also needs to be done to click.group.
import click

@click.group()
def cli():
    pass

@cli.command()
def initdb():
    click.echo('Initialized the database')

@cli.command()
def dropdb():
    click.echo('Dropped the database')

❯ python3 -m pip list
Package           Version
----------------- -------
click             8.1.5
mypy              1.4.1
mypy-extensions   1.0.0
pip               23.1.2
setuptools        68.0.0
typing_extensions 4.7.1

❯ mypy --pretty example.py
example.py:7: error: <nothing> has no attribute "command"  [attr-defined]
    @cli.command()
     ^~~~~~~~~~~
example.py:11: error: <nothing> has no attribute "command"  [attr-defined]
    @cli.command()
     ^~~~~~~~~~~
Found 2 errors in 1 file (checked 1 source file)

Can you try #2565?

Can confirm #2565 resolves this issue for me. Thanks! Now to wait for 8.1.6...

Same, #2565 seems to work on my end. Looking forward to 8.1.6

Locking to avoid "me too" comments.

Click 8.1.6 is available on PyPI.

For anyone that runs mypy with pre-commit, make sure to add click>=8.1.6 to additional_dependencies


Cannot play video files

To Reproduce
Steps to reproduce the behavior:

Create new drive and add a file
Share it (i tested on LAN)
Open the file on the other side
Video does not even load (0 bytes in network panel) (tested with 80mb .m4v)

Expected behavior
See the video
Desktop (please complete the following information):

OS: Manjaro
Browser: Beaker
Version 1 beta

Thanks for filing but please check for existing issues first! This is a known issue: https://github.com/beakerbrowser/beaker/issues/1560


JSQMessagesViewController incomingMessagesBubble is sticking to the right

I'm playing around with the library.
the incomingMessagesBubbleI sticks to the right side.
do i need to add code for the incoming to align to left?
thanks

My mistake i didn't change the senderID.


Several issues with compiling Caffe2 on Mac OSX without GPU

Hi,
I have been trying to get Caffe 2 to work on Mac OSX without GPU/CUDA .
Here are the list of issues I have encountered.
The BREW files should have 'lopencv_imgcodecs'
I added following lines to register third party target  and added "opencv_imgcoded" in each BREW file where opencv was used.
cc_thirdparty_target(
name="opencv_imgcodecs",
srcs=["BREW"],
commands=[],
cc_obj_files=["-lopencv_imgcodecs"],
)
This solved the linking issue and I was able to build.
After this even though I had specified non existing CUDA_DIR in build_env.py.
it did not detect and set following PYCAFFE2_CPU_ONLY correctly, resulting in cublas_2.h not found errors. I then went to caffe2_python.cc and manully commented out all portions that relied on #ifndef PYCAFFE2_CPU_ONLY.
With this I was able to build caffe2_python.cc .
Eventually all non GPU dependencies succeed except toy models.
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: caffe/proto/caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1018] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
Pycaffe+GPU is not available. Using CPU only version.
/bin/sh: line 1: 81061 Abort trap: 6           python generate_mnist_linear_classifier.py
This seems to be result of two copies of Protobuf being linked / mixed.
http://stackoverflow.com/questions/33017985/static-linking-with-generated-protobufs-causes-abort
I am now trying to edit BREW file to force it to use only the system protobuf.

This issue appears even when simply import pycaffe in the alexnet notebook.
Here is the dump from the crash.
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
/Users/aub3/Dropbox/Career/Technical/caffe2/gen/pycaffe2/libcaffe2_python_nogpu.so
abort() called
terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: generated_database_->Add(encoded_file_descriptor, size):

(Adding @n3011 in case interested)

Hi @AKSHAYUBHAT - could you let me know your opencv version? opencv_imgcodecs does not exist on my machine but I am using opencv 2, so I am wondering if it is a new target introduced in the new opencv 3 - in which case we should change the BREW file to support opencv3 as well.
Regarding the protobuf: there is a flag to force the use of system protobuf:
https://github.com/Yangqing/caffe2/blob/master/build_env.py#L18
Not sure if that solves your problem, but maybe give it a try? The whole build script is kind of experimental for now, so a bit cleaning might be needed.

pkg-config --modversion opencv
3.0.0
Regarding using system protobuf, I manually edited out the protobuf to force it to use system protobuf.
Even then it gave me the same error.
Here is my edited caffe_python.cc
https://github.com/AKSHAYUBHAT/DeepLearning/blob/master/caffe2/pycaffe2/caffe2_python.cc
The fatal exception occurs in  libcaffe2_python_nogpu.so
Looking at following two issues It might be due to my system:
https://github.com/BVLC/caffe/issues/1917
https://github.com/rbgirshick/py-faster-rcnn/issues/24

I hope this one helps.
https://github.com/Yangqing/caffe2/issues/25


Unable to validate otp

@pallupz  I am running code but after entering otp it is showing unable to validate otp.
It shows as below :
Unable to Validate OTP
Response: {"message": "Endpoint request timed out"}
Previously this doesn't happen today only it is happening.
Please check this.
Thanks

Please use the latest code


Kudu Auth: Publish auth method to telemetry from tasks

Task names:

AzureAppServiceManageV0
AzureFunctionAppContainerV1
AzureFunctionAppV1
AzureFunctionAppV2
AzureRmWebAppDeploymentV3
AzureRmWebAppDeploymentV4
AzureWebAppContainerV1
AzureWebAppV1

Description: Publish used authentication method.
Documentation changes required: N
Added unit tests: N
Attached related issue: https://eng.ms/docs/cloud-ai-platform/devdiv/serverless-paas-balam/serverless-paas-benbyrd/app-service-web-apps/antares-trouble-shooting-guides-tsg/partnertsgs/basicauth
Checklist:

[X] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

Bypassing as CI checks passed here.


LTC lost when trying to swap for RUNE

Issue description
I sent .680836 LTC to asgardex wallet (ltc1qmz0xeqdh3pyhj4fj68relf4sgp6ucruda5qz2t)  on June 13 at 5:19am MST United States (more or less 12 hours ago). Shortly after I attempted to swap for RUNE. I got a message to the effect "insufficient funds to do the swap". When I went back to my wallet, the LTC was gone but no RUNE had been added to my RUNE wallet.
I sent .2979989 LTC to asgardex wallet  (ltc1qmz0xeqdh3pyhj4fj68relf4sgp6ucruda5qz2t) on June 13 at 2: 57pm MST United States (more or less  2 hours ago). The results were the same: error message, LTC gone, no RUNE added.
Here are the transactions from blockchair.com:
https://blockchair.com/litecoin/address/ltc1qmz0xeqdh3pyhj4fj68relf4sgp6ucruda5qz2t
I had successfully swapped BTC for RUNE on June 4. Neither of the attempted LTC swaps show up here:
https://thorchain.net/#/address/thor1ny4d4a20k6v7hfugxetd5k96f82wufnutzsqy7
Is there anyway to recover my coins?
Thanks.

Your Environment

ASGARDEX desktop version: Linux Mint 20

Operating system and version: Asgardex v0.2.1

Transaction hash(es):

Wallet address(es):

@fred561 What are the steps you have tried to swap in ASGARDEX?
Both of your "swap" transactions went to ltc1q3awehhw5ma6vn8unfx8qm2044tfvfp2dac52tc, which seems not to be a valid vault. This address just received your both txs and still hold the amount if it. Also both "swap" transactions don't include a memo in it's raw data, which is needed for a swap. Another note: You still run an older version v0.2.1 of ASGARDEX, pls update to latest version v0.3.3.

Thanks for your response!
I took these swap steps:
Clicked POOLS tab > clicked the LTC SWAP button > set top coin to LTC > set bottom coin to RUNE > clicked SWAP
I am now running v0.3.3
How do I get my LTC back from the invalid wallet (ltc1q3awehhw5ma6vn8unfx8qm2044tfvfp2dac52tc)? Can you provide step by step instructions?
Thanks!

@fred561

Clicked POOLS tab > clicked the LTC SWAP button > set top coin to LTC > set bottom coin to RUNE > clicked SWAP

I've just run a similar SWAP in a same order and the swap went through without any issues.

How do I get my LTC back from the invalid wallet (ltc1q3awehhw5ma6vn8unfx8qm2044tfvfp2dac52tc)? Can you provide step by step instructions?

The address ltc1q3awehhw5ma6vn8unfx8qm2044tfvfp2dac52tc has been double checked by the team, but that's not a vault address of THORChain. Please note: Before sending a swap transaction, ASGARDEX checks always the receiver address (which should be a valid pool address) by comparing it with latest addresses in https://thornode.thorchain.info/thorchain/inbound_addresses. In case of an invalid address (such as ltc1q3awehhw5ma6vn8unfx8qm2044tfvfp2dac52tc) it would throw an error, but not sending the transaction. Also all of your transactions are missing a memo such as SWAP:THOR.RUNE:{thor-address}, which would be added by ASGARDEX as well.
One reason for this issue might be sending such transaction manually, but in a wrong way and not by using swap interface of ASGARDEX. I'm very sorry, but from my perspective I don't see any way to refund your LTC amounts.

Thanks for your speedy responses on this issue. I appreciate it.
As you can imagine, I'm quite disappointed that my LTC is lost. Not to question your perspective (only as a last grasp), is there anyone else, or a group of people that might be able to offer a second opinion? (like I said, last grasp)
What's interesting to me is that I don't even know how to send the transaction manually, and I've only used the swap interface (and only a few times). I'll still want to buy some RUNE, but maybe I'll swap BTC rather than LTC, since that worked for me before.
Anyway, thanks again!

Not to question your perspective (only as a last grasp), is there anyone else, or a group of people that might be able to offer a second opinion? (like I said, last grasp)

DM @kkkilo (THORChain team member) at Telegram - maybe he can give you a second opinion - thx!

Hey veado!
I never got a response from @kkkilo. Might be to busy, or not interested. Would it be possible for you to check with him? If not, I understand. Thanks for your assistance.

Not to question your perspective (only as a last grasp), is there anyone else, or a group of people that might be able to offer a second opinion? (like I said, last grasp)

DM @kkkilo (THORChain team member) at Telegram - maybe he can give you a second opinion - thx!

Hey bro,  I'm sorry I don't know you. Maybe you are confusing me with someone else!

Sorry for the bother! No harm intended! Have a good day!

@fred561 @kkkilo is the user name at Telegram - pls ping him there only (not here). Sorry if the information might be confusing...

Not a problem, veado. I did ping him on Telegram, but didn't hear back from him. I'll go ahead and close the ticket. Thanks!

I did ping him on Telegram, but didn't hear back from him

@fred561 Let me ping him as well. Thank you for your patience


Pressing enter in replace widget should replace current match in notebook

Testing #180768

open a notebook with some content
use the replace widget to replace an existing string
press enter while focused in the replace box
🐛 no effect, string should be replaced as it does in a text editor

It's a bad bug, but fixing it is not trivial. Considering it's not regression, I'll fix it next week.


refactor(deploy): use internal cfn package as dependency instead of SDK

Created internal/aws/cloudformation as a package like the rest of our AWS dependencies to abstract away CFN workflows.
Replaced occurrences of the SDK in deploy/cloudformation to use internal/aws/cloudformation. This way the deploy package can focus its logic to eventually transform CLI structs into CFN structs.

Left over work: I've yet to move all the StackSet work to internal/aws/cloudformation, that will be in a follow-up PR as this one is already humongous.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@iamhopaul123 I agree with you that deploy seems shallow but that's because DeployApp is not a good example. It already takes CFN concepts as inputs. Instead, deploy should take CLI concepts and transform them into CFN concepts and call internal/aws/cloudformation. Similar to DeployEnvironment for example.
In the long run, it'd be neat if  deploy can become something like this:
type CFNAppDeployer struct {...}
// Deploy deploys the application with AWS CloudFormation.
func (d *CFNAppDeployer) Deploy() error

type CFNEnvDeployer struct {...}
func (d *CFNEnvDeployer) Deploy() error

Note that this way all CLI concepts can have the same signature to get deployed Deploy() error.

The e2e tests pass:PASS

Ginkgo ran 5 suites in 1h37m44.1227643s
Test Suite Passed

Deployed the same app again after a change, and the changes were picked up.
Created a pipeline:✔ Successfully added pipeline resources to your project: kudos
✔ Successfully created a new pipeline: pipeline-kudos-efekarakus-shame-bot


webpack static site

now you can dev the official site of smart-color in demo/
once deploy by gh-pages, users can visit it via https://antvis.github.io/smart-color
@cxxxxxn


chore: add .pre-commit-hooks.yaml

This PR adds a pre-commit hook.

hi, can you briefly explain what is this used for?

I can't explain it well, but pre-commit is the most famous CLI tool for managing Git Hooks, next to Husky.

The hook must exit nonzero on failure or modify files.

I think typstyle doesn't support this at this moment?

If typstyle does not do linting, then I think the current behavior is fine.

Sorry but I don't really understand what pre-commit does. I guess, it will format files before you commit them?

Runs hooks before committing.
If an error occurs (linting / formatting) or a file is changed (formatting), the commit is not performed.
The files on the machine are formatted and you can see what has changed by comparing them to the staged files.

or a file is changed (formatting), the commit is not performed.

Ah.. I think typstyle will fall into this path then? And if your typ source is not formatted, it will block you from git-commiting.

Thank you!


$(el).popover("update") not calling placement method

Hi.
From unknown reason the function used for set up popover position is called only once when popover is on showing. After window resize I want again display popoup using my custom placement function, but unfortunately $("el").popover("refresh") not using it
https://codepen.io/gtdc/pen/XZBRQq?editors=1111
scenario:

click the "click me!" button <- function placement is used
click the "refresh" button
is: placement function isn't called out
should be: placement function is called out

Thanks a lot

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

@Johann-S I prepared codepen script. Let to know if you need any additional info. thanks,

Hmm I think we should disable Popper.js auto repositionning when user provide a placement method

sure

Closing as stale for v4. We'll be moving onto focus entirely on v5 and v4 will only see critical updates.


Broken link on v1/sdk/output-viewer

This page: https://www.kubeflow.org/docs/components/pipelines/v1/sdk/output-viewer/#single-html-file
Says in the “Next Steps” at bottom to go to this page: https://www.kubeflow.org/docs/components/pipelines/metrics/pipelines-metrics/
^ but that gives an HTTP 404 error
I think this is the correct link: https://www.kubeflow.org/docs/components/pipelines/v1/sdk/pipelines-metrics/

hey, @terrytangyuan  I would like to work on this, can you please assign me?


Using this library with Labstack's Echo framework

Hi guys,
I am using the echo framework which uses a custom context (echo.Context) which doesn't seem to be compatible with the standard context.Context library.
I have a JWT middleware like so:
func (api *API) Bind(group *echo.Group) {
	group.Use(middleware.JWTWithConfig(middleware.JWTConfig{
		SigningKey:		[]byte("SOME_REAL_KEY"),
		SigningMethod:	"HS256",
	}))
	group.GET("/graphql", api.GraphQLHandler)
	group.POST("/query",  echo.WrapHandler(&relay.Handler{Schema: schema}))
}

and a resolver function like so:
func (r *Resolver) Viewer(ctx context.Context, arg *struct{
	Token *string
}) (*viewerResolver, error) {
    token := ctx.Value("user").(*jwt.Token)
    ...
}

that line fails because ctx.Value("user") returns nil, since it is not in the standard context, and is in echo.Context.
How would I be able to get the values from echo.Context in my resolvers.
Thank you so much!

A custom warp handler.
func warpHandler(h http.Handler) echo.HandlerFunc {
	return func(c echo.Context) error {
		oriReq := c.Request()
		oriCtx := oriReq.Context()
		req := oriReq.WithContext(context.WithValue(oriCtx, "echo_ctx", c))
		h.ServeHTTP(c.Response(), req)
		return nil
	}
}

And I don't recommend using this library with echo framework.

@sanae10001 ok, thank you :) What would you recommend using with this library, if anything.  For example, buffalo (https://gobuffalo.io/)? Or just building from scratch, which I'm not entirely sure I want to do.
Thanks again

@sikula
For me.I use standard http library net/http and negroni .

@sanae10001 So my stack is ReactJS for the frontned, Go for the backend with a Postgres database and GraphQL.  The server would essentially just serve the static files.  It would seem that you're suggesting that using a framework would be too much, and should just use standard library + negroni?
Sorry if the question seems basic, just started picking up Go and do not fully know the best practices yet.  Thank you for the help though.  I appreciate it.

It would seem that you're suggesting that using a framework would be too much, and should just use standard library + negroni?

Yes. Using standard library can better help you learning how to process http in go.
For my experience, the solution what standard library contain always is best practices in go.
And recommend close this issue if you have no other problems.

You can try to encapsulate the echo version of graphql-go/relay。
Call graphql.MustParseSchema(s, &query{}) to generate *Schema， then parse it
exmaple:
GqlResponse(ctx, graphql.MustParseSchema(s, &query{}))

func GqlResponse(ctx echo.Context, Schema *graphql.Schema) error {

	r := ctx.Request()

	var params struct {
		Query         string                 `json:"query"`
		OperationName string                 `json:"operationName"`
		Variables     map[string]interface{} `json:"variables"`
	}

	if err := json.NewDecoder(r.Body).Decode(&params); err != nil {
	}

	response := Schema.Exec(r.Context(), params.Query, params.OperationName, params.Variables)
	responseJSON, err := json.Marshal(response)
	if err != nil {
	}

	ctx.Response().Write(responseJSON)

	return nil
}

echo_graphql is what you need
https://github.com/gwuhaolin/echo_graphql


Add Mobile portfolio

pull request for portfolio mobile

In this Personale portfolio mobile I:
section of projects I have done.
selection of Technical skills for the job.
contact form that leads  reaching me.