Difficulties loading GO obo files using GoSearch

It seems that the latest (pip installable) goatools on the lastest (fresh from GO.org) obo don't like to work with each other.
If I try go-basic.obo it tells me that the GO Dag is basically empty (no terms , no relationships). If I try go.obo it results in a recursion stack overflow.
I'm using it in python 3.6.4 if that may have any effect.
Thanks for taking a look.
Here is the code to reproduce:
import goatools as goa
from goa.go_search import GoSearch
import urllib.request as ur
ur.urlretrieve("http://purl.obolibrary.org/obo/go.obo", 'go.obo')
ur.urlretrieve("http://purl.obolibrary.org/obo/go-basic.obo", 'go-basic.obo')
print(goa.__version__)

0.8.4
go_search = GoSearch('go-basic.obo',dict())

go-basic.obo: fmt(None) rel(None) 0 GO Terms; optional_attrs(comment def relationship synonym xref)
go_search = GoSearch('go.obo',dict())

...
/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/goatools/obo_parser.py in _init_reldepth(rec)
384                 up_terms = rec.get_goterms_upper()
385                 if up_terms:
--> 386                     rec.reldepth = max(_init_reldepth(rec) for rec in up_terms) + 1
387                 else:
388                     rec.reldepth = 0
RecursionError: maximum recursion depth exceeded while calling a Python object

vruano,
Thank you for your interest in GOATOOLS and taking the time to write to us.
When you do this 'ls' command, what do you see? Do you see the following?:
ls -rlth *.obo
-rw-r--r--+ 1 note2 note2 35M May  3 21:45 go.obo
-rw-r--r--+ 1 note2 note2 33M May  7 15:10 go-basic.obo

GOATOOLS requires the acyclic version of the go and so requires the information in go-basic.obo.
go.obo will definitely not work and you will see this fatal error if you try to use go.obo:
RuntimeError: maximum recursion depth exceeded while calling a Python object

Can you provide a test which reproduces the error?
I am not able to reproduce your error with this new test which uses the go-basic.obo:
$ tests/test_gosearch_emptydict.py
go-basic.obo: fmt(1.2) rel(2018-05-03) 47,215 GO Terms; optional_attrs(comment def relationship synonym xref)

Could you try running the new test, tests/test_gosearch_emptydict.py, and copy the messages printed to the screen?

I am going to close this issue for now since tests/test_gosearch_emptydict.py shows how to run with GoSearch without the error.
It may be that there is some error in usage resulting in an error message which should be more helpful. We would like to improve the error message if this is the case and correct the error if it is a GOATOOLS error. But currently, we are not able to reproduce this error. If you have a test which reproduces this error, please re-open this issue and we will either correct the error or provide a more informative error message if it may be a usage issue.
Thank you for your interest in GOATOOLS and taking the time to write us. I wish the resolution could be more satisfying. Please do re-open if you can help us reproduce the error.


[unittest/layer] Enable fp16 golden test in fc layer

[unittest/layer] Enable fp16 golden test in fc layer

fp16 tensor validation metric

value-by-value : with epsilon 1e-2, since _FP16 decimal digit is 3
cosine similarity
mean squared error with epsilon 1e-4, since it is 'squared' value

Add fclayer fp16 tensor golden data when build
fix cosine_similarity function to avoid zero division error (NaN value generation)

Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

<EMAIL_ADDRESS>

Please note that this is verification of fp16fp16, not mixed precision


Stop printing the logs generated by facebook prophet in python

How do I stop printing the "the print statements" generated by prophet? For eg: Dosabling yearly seasonality ,convergence terminated etc. I just do not want anythinh to be printed on stdout.

#197 swaps the print() out with logger calls which will handle the seasonality messages (#188). The messages about convergence and optimization related stuff come from Stan, and these seem to be harder to remove (see #170).

@nikitagupta55 see #223 for a decorator that can suppress all (I think) output.

I'm going to close this and further discussion will happen in #170 and #223.


The Code of FedMTL Seems Wrong.

@TsingZ0 Hi, my friend,
According to Readme, the code of FedMTL is refered to Federated multi-task learning NeurIPS 2017, which is called MOCHA in the paper.  However, I read the paper and the code offered by the author, it's quite different from your code.
Can you check it?
Thank you very much.

Hi, @sc1101
You are right. The key algorithm provided by Federated multi-task learning NeurIPS 2017 is called MOCHA not FedMTL. In this platform, FedMTL is not MOCHA either. Thje code of FedMTL is mainly related to Equation (1) and Equation (2) in this paper.
I implement the code of FedMTL based on FedRep's official code: https://github.com/lgcollins/FedRep/blob/main/main_mtl.py

OK, fine. But it would be better if your platform contained MOCHA.


Trim polyfils break in phantom

TypeError: Can't call method on  null [
  {
    "file": "http://stocktonca.localhost:3000/assets/vendor.js",
    "line": 810,
    "function": ""
  },
  {
    "file": "http://stocktonca.localhost:3000/assets/vendor.js",
    "line": 1601,
    "function": ""
  },
  {
    "file": "http://stocktonca.localhost:3000/assets/vendor.js",
    "line": 3439,
    "function": "trim"
  }
]

I have includePolyfil set in my ember-cli-build.js. Specifically this part errors:
// 1 -> String#trimLeft
// 2 -> String#trimRight
// 3 -> String#trim
var trim = exporter.trim = function(string, TYPE){
  string = String(defined(string)); // <-------- HERE
  if(TYPE & 1)string = string.replace(ltrim, '');
  if(TYPE & 2)string = string.replace(rtrim, '');
  return string;
};

Really I'm not sure what the cause is, or if this is the right place for it.

Issue in 1.9  and 2.1..

the issue is upstream https://github.com/zloirock/core-js

For anyone else coming here, the issue was with https://github.com/pixelhandler/ember-cli-es5-shim (the version of the shim is outdated).

@knownasilya oh, great catch!


Extension: Enhanced Thread Pool

A thread pool that can provide faster processing speeds when there are more tasks (of course it consumes more resources)

When the number of tasks exceeds the core size, a new thread is first started to execute the task instead of putting it into the queue.
When the number of tasks is lower than the core size for a long time, the core size threads are maintained and redundant threads are recycled.
Compared to the fixed pool：When there are more tasks, provide more workers to handle the tasks.
Compared to the cached pool：The task queue in the cached pool is actually a SynchronousQueue and does not have the ability to cache tasks.
Whether to fail fail or put into a queue when a thread runs out：Both are feasible and need to consider which way should be applied according to the business scenario. Delayed scenarios are not allowed. Failfast is more reasonable than queues. However, if there is a certain tolerance for delays, queues are more reasonable than failfast.
Reference: Tomcat's thread pool design

@carryxyh
Please add a license at the beginning of your codes to fix ci failed.

Codecov Report

Merging #1568 into master will increase coverage by 0.15%.
The diff coverage is 68.29%.

@@            Coverage Diff            @@
##           master   #1568      +/-   ##
=========================================
+ Coverage   32.14%   32.3%   +0.15%
=========================================
  Files         682     685       +3
  Lines       32972   33013      +41
  Branches     6597    6603       +6
=========================================
+ Hits        10600   10665      +65
+ Misses      20480   20450      -30
- Partials     1892    1898       +6

Impacted Files
Coverage Δ

...threadpool/support/enhanced/EnhancedTaskQueue.java
56.25% <56.25%> (ø)

...l/support/enhanced/EnhancedThreadPoolExecutor.java
66.66% <66.66%> (ø)

...hreadpool/support/enhanced/EnhancedThreadPool.java
90% <90%> (ø)

...bo/remoting/transport/netty/NettyCodecAdapter.java
55.22% <0%> (-1.5%)
:arrow_down:

.../alibaba/dubbo/config/AbstractInterfaceConfig.java
38% <0%> (-0.46%)
:arrow_down:

...on/src/main/java/com/alibaba/dubbo/common/URL.java
25.93% <0%> (+0.89%)
:arrow_up:

...ba/dubbo/remoting/transport/netty/NettyServer.java
71.42% <0%> (+3.57%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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

@beiwei30 @zonghaishang
CI failure has been resolved.


bump block size and a few related const

Motivation
Allow larger batches for throughput
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

every time touching those numbers, I'm increasingly concerned about requests fail because of it exceeds frame size limit

/land


Fix ngl and unwrap issue

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


Does not seem to hide bars when bank is open

It does not seem like the status bars turns invisible, when the bank interface is opened.

hello and thanks for the observation. please be advised that this is just a wording error - the intended hiding behaviour of the bars is currently inverted, so ensure the checkmark is actually UNSELECTED if you wish to hide the vital bars. sorry about the inconvenience :(


docker: Stop using docker exec

We're currently dealing with a docker bug in which the docker daemon
deadlocks occasionally.  While looking through stack traces we've
noticed that the docker daemon appears to be processing exec calls.
Additionally, a month or two ago we noticed that the minion was making
an exec call at the time of the deadlock.  This patch deals with the
issue by removing all exec calls from the minion.
A happy side effect of the approach this patch takes, is slightly
cleaner code.  All of the exec calls before this patch were to access
OVS utilities that are now bundled with the minion container directly.

I'll do it as a separate patch, all those other constants should be unexported too.
Thanks!


Standalone kdl_parser library

The kdl_parser is used in a couple of robotics applications outside of ROS. It would be nice, if the ROS and catkin dependencies would be removed or become optional (e.g. only use catkin and rosconsole if they are available).
The dependency on ROS is very low, since only the logging capabilities from rosconsole (ROS_ERROR, ...) are used. This could be disabled at compile time and just be stream to cerr if rosconsole is not available. Since the urdf package is now part of the Ubuntu repo, there is no need to use catkin to discover its location. A plain CMakeLists.txt could achieve the same.
Are there other outstanding issues, which prevent to disentangle kdl_parser from ROS?

There isn't much preventing ROS from being an optional dependency. Would those applications not using ROS be fine with building kdl_parser from source?
The package could use tests that are not dependent on rostest. They should be built if either BUILD_TESTING or CATKIN_ENABLE_TESTING is set. If catkin is not available then the library should install a kdl_parser-config.cmake and kdl_parser-config-version.cmake.
If you would be willing to make the changes then it would make sense to start it from the melodic-devel branch. Might as well bump up the minimum cmake version since melodic requires cmake 3.7.2 at the lowest.

I created PR https://github.com/ros/kdl_parser/pull/13 for this feature. I did not bumped the cmake version to allow the standalone building on older platforms. Also, the tests are disabled on standalone builds since the CI is done on the ROS buildfarm anyway.
There are some minor drawbacks, since kdl_parser is depending on urdf, which itself is again depending on ROS for similar reasons (see PR).

@sloretz Does the proposed PR address the issue in a proper way?

Resolved by #13


Delete obsolete apps during deployment

Coverage decreased (-0.2%) to 90.652% when pulling 24c15b9c22fcedbc2b0eabb144fa7d6d93080f0d on SAP:delete-obsolete-apps into 7ccdcfed31d95a576e74c1aea05f2e72dad20773 on cloudfoundry-incubator:master.

Coverage decreased (-5.02%) to 85.877% when pulling 24c15b9c22fcedbc2b0eabb144fa7d6d93080f0d on SAP:delete-obsolete-apps into 7ccdcfed31d95a576e74c1aea05f2e72dad20773 on cloudfoundry-incubator:master.


Keivan/login_bugs

Address a few bugs/issues with this PR:

Add highlighted states to buttons in login flow
Fixed bug "If Facebook Login clicked multiple times, multiple FB windows open"
Remove "@" symbol when username textfield is empty
Touch outside now closes keyboard
Animated a fade in and out of profileImageView when keyboard opened and closed
Shorten long last names (Will need to consult with design team about length, I currently have it in a test state of 6 character max last name)

Maybe this is a larger effort and should be done as part of technical refresh later but CreateUsernameViewController.swift, FacebookLoginViewController.swift and SpotifyLoginViewController.swift maybe could inherit from a parent class of some sort?

merged, nice work keivan


(GH-2951) Reorganize bolt integration and unit tests

Bolt now has a clearer distinction between its unit and integration tests.
This will allow the majority of Bolt tests to run faster and provide faster
feedback on changes.
!no-release-note

It looks like there are ~600 tests not running on Windows that were previously. It'd be good to figure out where those are so we can add them to the correct workflow.

@artlawson This needs a rebase and also has a couple tests still failing.

@beechtom, rebase done, we already talked about the Linux Integration failure (the test passed locally but doesn't pass when uploaded) and I thought the windows failure might have been a transient but I'll check that one once it's done running.

@artlawson For the linux integration test, I would run commands similar to the ones the workflow does, including the 'setup' step. Then run the ci:linux:integration rake task and see if it fails or passes. We can't merge this in with a test failing, so should investigate what's causing the issue.


saltern map fixes (curadrobe and evac fire closet)

About the PR

Added a curadrobe to the librarians room and fixed a fire closet near evac.
Media

before fix

after fix

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

hopefully none

gamer diff

why is the diff so high

why is the diff so high

no clue honestly, i just saved the map and then replaced the old file with the one i saved

ill incorporate these changes tomorrow


feat: add test for createWithOptions.ts

PR Checklist

[x] Addresses an existing open issue: fixes #874
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Unit tests with Vitest were added to test functions used in createWithOptions, ensure that data in options variable is correctly being passed.

I think that this is finally covering everything but let me know what you think!

Hey Josh, thanks for all the notes! I'll take a look at all of these and respond!

Ok, I think all of the changes have been made but I need to close this down and open a new PR. I've made the PR from my main branch and it seems like the easiest way to correct that is to create a new PR.


Create different distributions for Pulsar 2.7 and Pulsar 2.8+

Closing in favour of https://github.com/datastax/pulsar-sink/pull/20


InProgress changes

Checklist:

[ ] My organization is added to USERS.md.

Something we need to think about. Can this function (and all functions down the call stack) fail to halt?
Glancing at the code it looks like we eventually end up here. We need to be sure that this function will eventually timeout if it does not get a response (which I think it does, we just need to be sure so that the entire program cannot hang). If we are to never ack this message, then the sensor (well, technically just the one trigger) can never process another a message.

Quickly reading the docs it looks like wait.ExponentialBackoff will eventually return a ErrWaitTimeout error.

Alright, after some digging I have come to the following conclusions.

When the action function is called, eventually the trigger implementations Execute method will be called. The maximum execution time for the action function depends on how this method is implemented and there are currently 13 implementations (I am unsure if any could theoretically halt indefinitely). It may make sense to implement a global timeout on all trigger execute methods (since running this in conjunction with at least once blocks processing future messages), but if it is deemed necessary to do this I would argue it should be done in a separate PR. So for now I say we call this out, but leave as-is.

The stan EventBus sets a message timeout of 1s and seems to provide no api to indicate that the message is still being processed. I think we should make our new option only available for the Jetstream implementation and disregard the field if using a stan EventBus.


Update Composer dependencies (2020-11-19-00-04)

Visual regression test passed!
View the visual regression test report


docs(config): added an example about proxying websockets

Description
I had trouble with the proxy option and socket.io: it only worked with long polling.
Additional context
I feel like working with websockets is not a rare use-case, and adding an example on how to make it work is relevant.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Sorry I updated the commit to fit the styleguide, could you please re-review @haneenmahd?


[WIP] Test cases of controllers for file share services

What this PR does / why we need it:
Test cases of controllers for file share services
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Please change the base branch to master.

Need raise on development branch


⚠ Bofrost.at has degraded performance

In 54a15fe, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2670 ms

Resolved: Bofrost.at performance has improved in c4611fb after 42 minutes.


Rendering artifacts on non-square elements

Everything that is not a square, such as most of the stuff on the demo custom rendering window, roundings and tabs are rendering with very weird, distorted artifacts:

Some other artifacts are also appearing depending on the options:
https://github.com/kotlin-graphics/imgui/assets/33992396/60171f8c-3c5b-4afe-8fe6-dbd9951d8cd8
I didn't do anything fancy for the setup (note this is a Minecraft mod running on a Apple M1 Max, macOS 13.0.1):
object ImGui {
    val instance = ImGui
    val implGl3: ImplGL3
    val implGlfw: ImplGlfw

    init {
        MINECRAFT_BEHAVIORS = true

        val glfwWindow = GlfwWindow(MinecraftClient.getInstance().window.handle)
        val window = GlWindow(glfwWindow, Caps.Profile.COMPATIBILITY, true)

        window.makeCurrent(true)
        Context().setCurrent()

        implGlfw = ImplGlfw(window, false, null)
        implGl3 = ImplGL3()
    }
}

@Environment(EnvType.CLIENT)
open class ImGuiScreen(title: Text) : Screen(title) {
    override fun render(context: DrawContext?, mouseX: Int, mouseY: Int, delta: Float) {
        ImGui.implGl3.newFrame()
        ImGui.implGlfw.newFrame()
        ImGui.instance.newFrame()

        ImGui.instance.showDemoWindow(booleanArrayOf(true))

        ImGui.instance.render()
        ImGui.implGl3.renderDrawData(
            Objects.requireNonNull<DrawData>(ImGui.instance.drawData)
        )
    }
}

Any hints on how I can solve this?

Thanks for reporting
I got on the private test suite almost 300 tests, but that wasn't included.
It should be fixed now, fetch 1.89.7-1 and reopen this if it's still there


CPU Quantization Specification Error (DQ Parameter?)

When I use DQ parameter in Stable-ts in the latest version, it without fails invokes: "RuntimeError: Didn't find engine for operation quantized::linear_prepack NoQEngine" And I have since then asked on PyTorch Github issues and that is apparently because in every code specifying linear engine in ARM environment:
torch.backends.quantized.engine = 'qnnpack'

qconfig = get_default_qconfig('qnnpack')  # or 'fbgemm'

The first line must be included along with the second line, otherwise it would always throw the Runtime error. I am hoping this would be fixed. Thank you ! Also I am not sure if this is a standalone fix of the problem or a part of the bigger problem with PyTorch.

Small update on the issue, for some reason why I use DQ and runs it without error, ironically the speed of transcription becomes ~40% slower. Medium on M2 Pro CPU transcribes about ~1.7sec/s without DQ, 1sec/s with DQ.

There are many factors that can cause the model to running slower with DQ. The overhead can make it run slower (e.g. DQ only ran faster for the large models in my testing). The slower start-up can also make it seem slower for short audio tracks. But DQ should run with a smaller memory footprint than normal.

@jianfch I have submitted a pull request which fixes it, please review: https://github.com/jianfch/stable-ts/pull/341


Removes legacy getStore method

Continuing the work initiated in 7cf90b1c3c7a130298675386fe13edd50477ed78, this PR removes the last occurrences of FactoryGuy.getStore().

Thanks again .. I also changed all the internal code ( tests ) to no longer use FactoryGuy.getStore() so we can probably remove that method in a few months as well.

I'm not sure I understand.
The getStore method is already gone from all the code.

Sorry .. yeah .. I realized that what you did was add to what I started after your PR merged.
After the merge I changed all internal code to use get('store') and you added to that to change the TestHelper code ( which I forgot ) .. anyway..
whatever happened .. was good .. so I am happy

and I thought we could get rid of FactoryGuy.getStore if other people using it ( but they probably are not )

whatever happened .. was good .. so I am happy

That's the most important :smile:
Thanks for clarifying.


d3.geo.path.bounds returning pi

I have a GeoJSON feature, which is a simple rectangle with clockwise winding.
var bboxFeature = {
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
<PHONE_NUMBER>6886902,
          -37.834369664262354
        ],
        [
<PHONE_NUMBER>1181335,
          -37.834369664262354
        ],
        [
<PHONE_NUMBER>1181335,
          -37.83140388052918
        ],
        [
<PHONE_NUMBER>6886902,
          -37.83140388052918
        ],
        [
<PHONE_NUMBER>6886902,
          -37.834369664262354
        ]
      ]
    ]
  },
  "properties": {}
};

I'm creating a D3 geo visualisation, and am attempting to zoom / scale / translate the viewport to fit this bounding box.
expected

When I input this feature into d3.geo.path.bounds(), it returns a 2-dimensional array where every point equals PI.
[
  [3.141592653589793, 3.141592653589793],
  [3.141592653589793, 3.141592653589793]
]

When I attempt to render this via .append('path'), the shape is incorrect. It renders a square, with a small dot inside it (though I'm assuming the rendering bug is probably a symptom of the fact that the bounds are off). It's the orange square below.

Further hacking shows improved results if I reverse the order of my polygon coordinates.
The docs state

Important: the inside of a polygon is all points that the polygon winds around in a clockwise order. If your GeoJSON input has polygons in the wrong winding order, you must reverse them, say via ST_ForceRHR; you can also convert your GeoJSON to TopoJSON, and this will happen automatically.

I read this as saying the outer ring of the polygon should be clockwise, and interior rings should be anti-clockwise. Yet, the backwards is what is giving me better results. Am I taking crazy pills?

I have demonstrated by issues with 2 bl.ocks

using GeoJSON polygons with clockwise ordering: https://bl.ocks.org/timiyay/9192e5cd48b7f8f70f55c5fac6b83e4b

using GeoJSON polygons with counter-clockwise ordering: https://bl.ocks.org/timiyay/7e65e62f9d2c87909cbf5163ee89665d

One common point of confusion in understanding clockwise and anticlockwise is that in spherical coordinates (latitude and longitude), positive y is up; however, in the Cartesian coordinates used by Canvas and SVG, position y is down. So, if a given sequence of coordinates form a clockwise ring in the Cartesian coordinate system used by Canvas and SVG, the same sequence forms an anticlockwise ring in spherical geographic coordinates.
I haven’t inspected your data to verify this, but I assume that’s the case here, so I’m closing the bug. I’ll reopen this bug if you tell me that’s not the case. (Though also see #1317 #2024 #2025, as there are a few cases where D3 gets the winding order wrong for very small polygons due to floating point error.)

@mbostock Thanks for your reply. I think you're correct that this isn't a bug, but a misunderstanding on my part.
The CW vs CCW issue definitely non-obvious, but it should be easy to handle now you've explained it to me. I'll ensure my geographic coordinates use an exterior->CCW / interior-> CW structure, before rendering in D3.
The docs suggests using PostGIS's ST_ForceRHR to enforce winding order. In light of the fact the geographic winding order is reversed, when projecting to Cartesian coordinates, shouldn't the suggestion be to use ST_ForceLHR? Or am I still not fully grasping the issue?


Scan with clamscan

I personally use this script in the context menu to scann file and move it in quarantine if infected.
If you want to add it:
#!/bin/bash
# Script to scan files or folders with clamscan, with user-specific quarantine and intrusive notifications

QUARANTINE_DIR="$HOME/quarantine"  # User-specific quarantine directory

# Create the quarantine directory if it doesn't exist
if [ ! -d "$QUARANTINE_DIR" ]; then
    mkdir -p "$QUARANTINE_DIR"
    chmod 700 "$QUARANTINE_DIR"  # Protects access to the quarantine folder
fi

for ITEM in "$@"; do
    ORIGINAL_NAME=$(basename "$ITEM")
    DIRECTORY=$(dirname "$ITEM")
    TEMP_NAME=""

    # Check if it's a file or folder and rename accordingly
    if [ -f "$ITEM" ]; then
        TEMP_NAME=".$ORIGINAL_NAME.in-progress"
    elif [ -d "$ITEM" ]; then
        TEMP_NAME="$ORIGINAL_NAME-in-progress"
    else
        zenity --error --title="Error" --text="'$ITEM' is not a valid file or folder." --width=300
        continue
    fi

    # Rename the item
    mv "$ITEM" "$DIRECTORY/$TEMP_NAME"
    RENAMED_ITEM="$DIRECTORY/$TEMP_NAME"

    # Run the scan with clamscan
    SCAN_RESULT=$(clamscan -r "$RENAMED_ITEM")

    # Analyze the scan result
    if echo "$SCAN_RESULT" | grep -q "Infected files: 0"; then
        # Safe file
        zenity --info --title="ClamAV Scan" --text="The file or folder '$ORIGINAL_NAME' is safe." --width=300
        # Restore the original name
        mv "$RENAMED_ITEM" "$ITEM"
    else
        # Infected file: Move to quarantine
        zenity --warning --title="WARNING: Infected File" --text="'$ORIGINAL_NAME' is infected and will be moved to quarantine!" --width=300
        QUARANTINE_PATH="$QUARANTINE_DIR/$ORIGINAL_NAME"
        mv "$RENAMED_ITEM" "$QUARANTINE_PATH"
        zenity --error --title="File Moved to Quarantine" --text="The infected file has been moved to quarantine: '$QUARANTINE_PATH'" --width=300
    fi
done

ps. i am not so good with sh but it work so.
The script :

rename the folder / file this "in-progress" suffix
run clamscan
remove the suffix
if ok send invasive notification with zenity
if KO send invasive notification with zenity and move it into a quarantine folder

Tested on Fedora Linux 41 (Workstation Edition) with Nautilus
Dependences:

clamscan
zenity on my os already installed (not by me)

[!WARNING]
You shoud install freshclam for update Virus Database with little configuration

[!TIP]
you can download and infected file from eicar.org to test the result

Hi @Belingheri !
Thank you for the great suggestion! I've implemented the script, and you can check it out here:
Scan for Malware (ClamAV)
At the moment, it performs basic operations: the script uses ClamAV (clamscan) to detect malware and lists any found threats. The user can then click on a detected file to view it in the folder, allowing them to either remove it or move it manually to another directory.
Could you please test the script and let me know your thoughts?
Thanks again for your idea!

Tested on Fedora Linux 41 (Workstation Edition) with Nautilus.
It worked perfect!
The only note that i can do is that if the user do not install FreshClam and create the service to update the signature database we can introduce a false state of security  because clamav use old signatures.
Maybe the in the installation process it can be done!
Thanks a lot for your work!
Some screen:


WIP: OAI-PMH server

I'm working on OAI-PMH module for new Invenio. Currently I have implemented most of the protocol (v.2.0) and I will soon start connecting it to Invneio - I made it stand-alone for simplicity.
After speaking with @lnielsen I know that the key elements from his point of view are:

smart way of creating OAI sets
OAuth autentication and sets restriction

I will implement new user interfaces for creating sets and managing access by OAuth.
Currently in SCOAP3 we are using authentication were keys are generated by Invenio, I will try to make OAuth authentication backward compatible so my users can still use the same keys.
Do you have any other needs or recommendations?

There is a requirement for OA repos (DINI) to expose a large number of sets based on ddc classification of the content. Currently, this will result in a large number of set definitions and probably record updates. Probably, on could tackle this in a better way. @skaplun had some idea when he recently checked out BASE / Bielefekd repos.

Yes, in Base they have implemented this dynamic set functionality which is basically making OAI-PMH super useful:
http://oai.base-search.net/index.html#dynamic-sets
That would cause sets to be created on the fly for the time of the request.
In fact we consider sets as simple queries over the set of records. We can think of pre-creating them but this could simply becoming nothing more than adding an alias and a description to a search query and exposing through ?verb=ListSets.
The only tricky thing is what to do with records that are deleted, or that are moving in and out of a defined query.
But maybe, too bad for that functionality of OAI-PMH. One can always re-harvest a given set to have exactly the list of corresponding current records.

We can support both types of sets. Some can be classic OAI sets following standard and we can add the ad hoc setts as an extension.

Agreed - Dynamic sets looks like a very nice way to support very large number of sets (and allows anyone to harvest exactly what they like).

One can always re-harvest a given set to have exactly the list of corresponding current records.

Be careful with that as a general solution. As a repo I have no way to drop a note to OpenAIRE or BASE that they should reharvest foo and bar but not X and Y.
So I think @Dziolas point of having both should be there to keep those services happy. (Thinking of sets like open_access, ec_funded_ressources etc. from DINI/DRIVER/OpenAIRE and whatnot guidelines.)
OTOH a dynamic set would be superuseful for this IMHO strange requirement from DINI to offer some 100 sets based on DDC for whatever use case this has.

Yes yes, dynamic set were not meant as the only available sets. But even with static sets the question remains: in order to properly expose the fact that a record now entered a set (e.g. because the set definition has been amended) or it leaves it, we have to either:

don't care about it
keep track of all the timestamps of all the N records x M sets defined.

In Invenio legacy this was done by directly store the set information in the metadata, but we might want to:

no longer do it
move it to a dedicated Model that would implement such matrix and that a new daemon would keep up-to-date.

In Invenio legacy this was done by directly store the set information in the metadata

Is this per see such a bad idea for the non-dynamic sets? For something more static, this ID e.g. can come in quite handy for dupe detection. (I think there was even an issue related.)

I was referring not about the ID but the set information (what was going into $p - current sets,  and $q - previous sets).

CC-ing @jirikuncar as per recent Sprint-OAIServer

Dynamic sets are not part of OAI-PMH 2.0 standard hence we haven't implemented. If some is interested in having listRecords like output he can use the serializer and plug it as new output format to Invenio-Records-REST with full OAuth2 support.


Urplay.se not working since Sept 2020

[x] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2020.12.14
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

URPlay.se har been broken since at least September 2020.
https://urplay.se/program/219630-historia-forklarad-franska-revolutionen
"[12/14/20 07:16:02] ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))"
Before Youtube-DL was shut down here, there were some suggestions by Amigatomte, like these two:
=== 2020-10-10 ===
This was fun.. It seems urplay.se changed quite a bit. I made this new version of youtube_dl/extractor/urplay.py that works for me:
https://pastebin.com/crUVtEJS
However, I'm new here and I've never even programmed in Python before, so code suggestions are welcome. :-)
=== 2020-10-11 ===
The "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" error you get above is not helped by my change, but you can work around that by using the "--no-check-certificate" option until it gets fixed.
=================
Perhaps someone with the the knowledge could try to get Urplay.se to work again ?!
/Thanx!

Perhaps it would HELP if you told me WHAT is wrong with my issue, before you just close it...
Just adding ‘Incomplete’ doesn’t exactly HELP, does it ...

I posted an issue with urplay.se as well (#28292), which was promptly closed, no explanation why.


RecordBatchReceiverStreamBuilder: don't stringify errors

The error is a DataFusionError already, so don't stringify it, just use it as-is.
Are these changes tested?
cargo test passes; the behavior doesn't seem to be covered by tests.
Are there any user-facing changes?
Technically yes but I doubt anybody was matching on the error value. And if they were, this change is even more desirable!

🚀


Very rare SIGSEGV at compile-time and render-time caused by iterator localization

Very rarely, a segmentation fault occurs due to the fact that iterator localization overshoots the shift count when the input buffer is shifted before appending the localization suffix. The match index  does not increase after the prefix has been applied, while the start pointer does. Hence, the shift count is bigger than it should be.
The reason this issue appears very rarely is that iterator names tend to be short, while the buffer expansion scheme provided by remem uses powers of 2. Therefore, in most cases, the buffer is actually bigger and can fit the extra bytes. In very rare cases, however, the new size is very close to the needed size, and cannot fit any extra bytes.

Fixed in 802033f.


Update Composer dependencies (2023-08-01-00-13)

Visual regression test passed!
View the visual regression test report


W-11939773-The Result Message after a scatter gather

Specify how the resultlist after scatter-gather is designed.
Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

@ca-stefan-cordes Thanks for your contribution. We've added it to our issue tracking system for review. :)


Add ws and socket.io-client to nodejs image

As pointed out in this stackoverflow question it could be a very common usecase to push to a websocket via an action. We should add at least ws and socket.io-client (the socket.io package, which is already included doesn't seem to be able to act as a client solely)

Merged with 364e61ad03372eb80e0ba2b09e18df8b09e8859f

@markusthoemmes Perhaps we should add a comment to the SO question saying that this change is making its way to Production?


Document how to render notebooks on GitHub

Shot out to @polvalente for discovering that option!

Ahh, good point. It would actually fail to import, sorry :0 We don't want any content before the title, because it cannot be edited in Livebook, so we need to put this comment somewhere else. One option is to place it at the end, but it won't show up in the rendered markdown, so it's easy to accidentally remove it :thinking:

Could we parse and preserve any comment before the title?

Yeah, this would solve it, the only downside is that the comment would need to be added outside of Livebook, but maybe that's fine?

Yeah, that would be fine. :)

@josevalim updated! We now keep any comments before the title heading. I also went with normalizing the comments similarly to how we do it for markdown cells.
So we should wait with merging this until the next release, so the GitHub trick works properly.

Ah, fair point! :rocket:


[BUG]: Requires numpy 1.18.0 conflict with other packages

Contact Details [Optional]
<EMAIL_ADDRESS>What happened?
zenml requires numpy 1.18.0 and this conflicts with another library that I am using, is it possible to bump the version of numpy for zenml or is there a specific reason it needs 1.18.0?
The error I get is:
The conflict is caused by:
    sdv 0.13.1 depends on numpy<2 and >=1.20.0; python_version >= "3.7"
    zenml 0.1.1 depends on numpy==1.18.0

Reproduction steps

pip install sdv==0.13.1
pip install zenml

...
ZenML Version
0.5.0rc2
Python Version
No response
OS Type
Windows
Relevant log output
The conflict is caused by:
    sdv 0.13.1 depends on numpy<2 and >=1.20.0; python_version >= "3.7"
    zenml 0.1.1 depends on numpy==1.18.0

Code of Conduct

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

Hey @halvorot ! Thank you for the report!
In your reproduction steps, you cited an installation of ZenML 0.1.1 which we no longer support. Also you are mentioning 0.5.0rc0 as the version you use -> That is also fairly outdated. I would suggest you update to ZenML >= 0.6.3.
Having said that, with Python 3.8.10 and on Ubuntu 20.04 I was able to do
pip install sdv==0.13.1
pip install zenml>=0.6.3

And then it works without any problem. Could you try this and let me know if it worked?

Thank you for the quick response. You're right, for some reason when i ran pip install zenml it tried to install version 0.1.1, but now i tried again with pip install zenml>=0.6.3 and it worked. It was probably something with my environment before.


REST API listCatalogs endpoint does not use parameters page_token and max_results

Describe the bug

When calling the Unity Catalog REST API endpoint listCatalogs, the parameters page_token and max_results specified in the API spec aren't used.
To Reproduce
Steps to reproduce the behavior:
Python example. With Unity Catalog running locally with more than one catalog created, running
import requests

print(
    requests.get(
        "http://localhost:8080/api/2.1/unity-catalog/catalogs",
        params={
            "max_results": 1,
        },
    ).json()
)

prints all catalogs, not just 1, and next_page_token is null. For comparison, running
import requests

print(
    requests.get(
        "http://localhost:8080/api/2.1/unity-catalog/tables",
        params={
            "catalog_name": "unity",
            "schema_name": "default",
            "max_results": 1,
        },
    ).json()
)

only prints 1 table and next_page_token is not null.
Expected behavior

When setting max_results parameter, don't return all catalogs and specify next_page_token.
System [please complete the following information]:

OS: Ubuntu 20.04.6 (GitHub Codespaces, default image)

Additional context

I'm not a Java dev, but I'm guessing the problem stems from

the handler not getting the parameters here: https://github.com/unitycatalog/unitycatalog/blob/main/server/src/main/java/io/unitycatalog/server/service/CatalogService.java#L27
and the listCatalogs method of CatalogRepository class not taking the parameters here: https://github.com/unitycatalog/unitycatalog/blob/main/server/src/main/java/io/unitycatalog/server/persist/CatalogRepository.java#L55

In

Was fixed by #292


41x4dyt

Issue ticket number and link
https://app.clickup.com/t/41x4dyt
Description
Decouple exporter services from monitoring services.
Type of change
Please delete option that is not relevant.

[X] New feature (non-breaking change which adds functionality)

We shouldn't assume root. Lets use default docker group and update file permissions. It would be a good idea to also include chown and chmod steps in the setup.py ..


Merge main into develop

Once more, let's try and get this working!

@mathomp4 I am puzzled - github shows 0 files have changed

@atrayano Yup. I'm trying to figure out how to stop GitHub from having me do hand-merges of develop into main. My one thought is let's just merge main into develop so that develop gets "ahead" of main? I'm just trying things!

So I should approve a merge with 0 file changes?


The DeleteMapping is not implemented

This class is empty. I will submit a pull request with the branch 'delete-mapping'.

I develop the class and test but i may not commit for permission reason.

Merged


<EMAIL_ADDRESS>- 550 #5.1.0 Address rejected.

Hello, I would like to evaluate the cisco sd wan in Azure vwan hub.
But If I try to email the provided E-Mail address I get back a
<EMAIL_ADDRESS>550 #5.1.0 Address rejected.

Reported error:
550 5.0.350 Remote server returned   an error -> 550 #5.1.0 Address rejected.

DSN generated by:
VI1PR03MB3694.eurprd03.prod.outlook.com

Remote server:
alln-inbound-f.cisco.com

https://docs.microsoft.com/en-us/azure/virtual-wan/how-to-nva-hub

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

ID: 5020d43e-4701-c801-394c-6a30e65a3726
Version Independent ID: f785a3a9-965a-7621-60cd-93fa1c1de175
Content: Azure Virtual WAN: Create a Network Virtual Appliance (NVA) in the hub
Content Source: articles/virtual-wan/how-to-nva-hub.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@keamas, Thanks for reaching out. We will investigate and update this thread.

@keamas , Appreciate your patience. We tried reaching cisco. As there is a delay in communication, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support. In this case, could you send an email to AzCommunity[at]Microsoft[dot]com referencing this thread and your subscription id.
Thank you for your cooperation on this matter and look forward to your reply.

@keamas , I was wondering if you have had a chance to look over our previous reply yet. Let us know if you have any query or input for us or if we good to close this issue.

@keamas, since we have not heard back from you, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


aitches, explemental

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,e]

/trunk merge


python3Packages.spacy-legacy: 3.0.9 -> 3.0.12

Description of changes
Update spacy-legacy to 3.0.12.
spacy{,-transformers} and textacy are already broken due to a version mismatch in blis at #207070.
Result of nixpkgs-review run on x86_64-linux 1

3 packages failed to build:

python310Packages.spacy
python310Packages.spacy-transformers
python310Packages.textacy

2 packages built:

python310Packages.spacy-legacy
python311Packages.spacy-legacy

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python310Packages.spacy-legacy python311Packages.spacy-legacy


Critical security vulnerability

npm WARN deprecated<EMAIL_ADDRESS>Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410

just wanted to second this issue. i get the same warning. I get the same error from dependabot.
Dependabot cannot update axios to a non-vulnerable version
The latest possible version that can be installed is 0.19.0 because of the following conflicting dependency:
<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>The earliest fixed version is 0.21.1.
https://github.com/advisories/GHSA-4w2v-q235-vp99

just wanted to second this issue. i get the same warning. I get the same error from dependabot.
Dependabot cannot update axios to a non-vulnerable version
The latest possible version that can be installed is 0.19.0 because of the following conflicting dependency:
<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>The earliest fixed version is 0.21.1.
https://github.com/advisories/GHSA-4w2v-q235-vp99


Issue

Hi Callahanrts,
Tried setting up slack chat.
After keying in the client id and client secret, restarted Atom, the pop-up browser provided the following error. OAuth Error: redirect_uri did not match any configured URIs.

You must add a redirect_url from application configuration in Slack site

Thanks,
We got it going end of last week.
Hehehe.
Sincerely,
Richard Ong
LollipopLab.io Team
On Sat, Jun 3, 2017 at 1:24 AM, Said<EMAIL_ADDRESS>wrote:

You must add a redirect_url from application configuration in Slack site
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/callahanrts/slack-chat/issues/48#issuecomment-305857493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATSN0KdS65POR_z6xQXdHJLbKv_9HV2aks5sAEVZgaJpZM4Np-w7
.

im new to atom and tried installing the chat only to get a bunch of red text and no way to access the chat at all. im running windows 10 and am very new to the program. found a book at my library called " The Gamers Guide to Coding " and thought i would have some fun.


Removed Headers And Uneccesary Imports

Codecov Report

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

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          30     30
=====================================
  Hits           30     30

Impacted Files
Coverage Δ

.../integrations/slate/core/DefaultJsonProtocol.scala
100% <ø> (ø)
:arrow_up:

...a/edu/eckerd/integrations/slate/core/Request.scala
100% <ø> (ø)
:arrow_up:

...u/eckerd/integrations/slate/core/RequestLike.scala
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


2.8 v-hacd creates a console error with version blender_vhacd-v-035

Hi Kmamou
Greetings
We love your Addn but am having difficulties with your repository. I note this update blender_vhacd eliminates the error in blender preferences and the shows  a further error in run.py
Please note in the blender 2.8 console it reports:
fake module: addon missing ‘bl_info’ gives bad performance ! ‘C:\…\…\AppData\Roaming\BlenderFoundation\Blender\2.8\scripts\addons\run.py’
Is this ‘run.py’ file you are using different too ours from v-hacd-master zip is 1.25kb and without bl_info? Do you have a later version please?
Please note this does all work in 2.79 but not in 2.8 . I have the feeling that your repository does not contain all the files to make this fabulous software work. Would you be so kind and provide your latest run.py please so that We can move forward ?
Thank you for your assistance.

I have looked at your run.pl and provide the contents. As you can see there is no bl_info suggesting this is the wrong 2.8 file:
#!/usr/bin/env python
import sys
import os
import shutil
import subprocess
def cmake(platform_dir, src_dir, arg):
if not(os.path.exists(platform_dir)):
os.mkdir(platform_dir)
os.chdir(platform_dir)				# go to platform directory
cmd = "cmake " + arg + " ../" + src_dir
print("cmd")
subprocess.call(cmd, shell=True)						# run cmake
def clean(platform_dir):
if os.path.exists(platform_dir):
shutil.rmtree(platform_dir)
if name == 'main':
src_dir = '../src/' 					# source code directory
bin_dir = '../build/' 				# binary directory
if not(os.path.exists(bin_dir)): 	# binary directory is created if not found
    print("Creating bin directory: " + bin_dir)
    os.mkdir(bin_dir)

platform = sys.platform
cmd = ""

if (platform == 'darwin'): 			# platform directory is created if not found
    platform = 'mac'
    cmd = '-G Xcode'

platform_dir = bin_dir + platform

if len(sys.argv) == 1:
    print("Invalid arguments to run: please specify --cmake or --clean")
    sys.exit(-1)
else:
    for arg in sys.argv:
        if   (arg == '--cmake'):
            cmake(platform_dir, src_dir, cmd)
        elif (arg == '--clean'):
            clean(platform_dir)

The new update for 2.8 v 35 has this entry or similar which seems to be missing :
bl_info = {
'name': 'V-HACD',
'description': 'Hierarchical Approximate Convex Decomposition',
'author': 'Alain Ducharme (original author), Andrew Palmer (Blender 2.80)',
'version': (0, 35),
'blender': (2, 80, 0),
'location': 'Object Mode | View3D > V-HACD',
'warning': "Requires Khaled Mamou's V-HACD v2.0 executable (see Documentation)",
'wiki_url': 'https://github.com/kmammou/v-hacd',
"tracker_url": "https://github.com/andyp123/blender_vhacd/issues",
'category': 'Object',
}
Can you please provide an updated run.pl which will work with blender 2.8
Thank you

Can i place this
bl_info = {
'name': 'V-HACD',
'description': 'Hierarchical Approximate Convex Decomposition',
'author': 'Alain Ducharme (original author), Andrew Palmer (Blender 2.80)',
'version': (0, 35),
'blender': (2, 80, 0),
'location': 'Object Mode | View3D > V-HACD',
'warning': "Requires Khaled Mamou's V-HACD v2.0 executable (see Documentation)",
'wiki_url': 'https://github.com/kmammou/v-hacd',
"tracker_url": "https://github.com/andyp123/blender_vhacd/issues",
'category': 'Object',
}
INTO RUN .PL TO ADDRESS THE 2.8  COMPATIBILITY PROBLEMS PLEASE?

The readme has been updated with a link to @andyp123 for a version of the updated tool. (the one which you've been using it seems)
This issue can be closed.


chore: fix signup link on student page

Description
There seems to be a wrong registration link on the Student GitHub Education Pack page. I do not know if it should be corrected to the general one I added, but it certainly should not be this form on Google.
Also recently, I noticed that the broken option that should allow verification with a GitHub account has disappeared from the New Relic One panel. Can you still get the New Relic GitHub Education Pack?
I tried to contact the email provided on GitHub Education Pack page but no one has been writing back for over a month. However, if this promotion is over, it might be better to remove this article.
Reviewer Notes
If there are links or steps needed to test this work, add them here.
Related Issue(s) / Ticket(s)
If there are any related GitHub Issues or JIRA tickets, add links to them here.

issue

Screenshot(s)
If relevant, add screenshots here.
Use Conventional Commits
Please help the maintainers by leveraging the following conventional commit
standards in your pull request title and commit messages.
Use chore

for minor changes / additions / corrections to content.
for minor changes / additions / corrections to images.
for minor non-functional changes / additions to github actions, github templates, package or config updates, etc

git commit -m "chore: adjusting config and content"

Use fix

for minor functional corrections to code.

git commit -m "fix: typo and prop error in the code of conduct"

Use feat

for major functional changes or additions to code.

git commit -m "feat(media): creating a video landing page"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@jaesius do you mind taking this review? 🙏


WIP - Session persistence POC

Description

WIP
Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/backend
[ ] @clerk/chrome-extension
[ ] @clerk/clerk-js
[ ] @clerk/clerk-expo
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] @clerk/localizations
[ ] @clerk/nextjs
[ ] @clerk/clerk-react
[ ] @clerk/remix
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/themes
[ ] @clerk/types
[ ] build/tooling/chore

Closing as we're going to move everything into clerk/backend with a 2nd PR

Closing as we're going to move everything into clerk/backend with a 2nd PR


✍ @Zedd's Blog

Hi and welcome to Content Lab! Here is a self paced guide to ensure you get feedback as you publish your technical blog.
Resources:

Previous workshop recording
Previous blog posts

Timeline:

📋 Dec 1st have an outline and open up issue
📰 Dec 8th have rough draft in

Mentor reviews by 12/15

[ ] Dec 15th-20th turn in final draft

📋 Blog Outline: Write your outline in the issue directly
Requirements
Questions to consider:

Who’s reading this? Where are they in your dev journey? What do they need to know before they can dive into this story?
If people could leave with just one action, what would it be?
Were there surprises or alternative problem solving you want to give a heads up to?

Sample Topics for your blog post

Creating tests for Stripe/Cicero/Twilio
Using Vuetify and V-cards
Debugging a PR test failure affecting entire codebase and creating an issue for it
System Design/Architecture design for caching capability
Implementing Text to Speech
Configuring secrets for APIs in codespaces
Building Actions for [security|community|CI| etc]

Example Outlines

What makes good documentation on open source?

Could this be a list? (3 pieces of documentation thats easy to check for and add to the project to add immediate value?
What inspired you from the Tech documentation workshop?
What would you help encourage other first time contributors to do?
Is a learning curve for everyone? And whats the balance between good documentation and too much documentation? Choice architecture
What is each space used for? Wiki vs Discussion vs Pages
How do we search and find?
Reference: https://blackgirlbytes.dev/conquering-the-fear-of-contributing-to-open-source
Reference issue/PR for photos
Conclusion: Documentation is always changing, will always be needed`

To Do: when you complete the requirements, add "outline ready" label on your issue

[x] Identify your topic from one of the PRs approved
[x] Outlining bullet points of blog roadmap
[x] Is your blog a List, Survey, or demo?
[x] Which Visuals or Diagram or Code snippets will you add
[x] References to resources

📰 Blog Rough draft: Format into a google doc
Questions to answer across draft

Why is this helpful for a reader?
What problem does this help them solve?
What kind of experience should the reader have or that you will provide so they’re up to speed
What larger problem is this solving?
Were there other ways of solving this problem - what made you choose the one that you did?
What were the positive tradeoffs? (Did it save time? Save hours? Was more secure?)
What is the best way to present the content (i.e. code snippets, graphics) ?
What additional resources can they provide the reader if they want more information?
Is there a call to action?

To do: when you complete the requirements, add "draft ready" label on your issue

[x] intro paragraph
[ ] context of Amplify
[x] paragraph on problem
[ ] paragrph compare your solution
[ ] paragraph impact your solution
[ ] Less than 600 words
[ ] Drop link to your google doc (with permissions for edits) in review issue

Outline placeholder
Choose Your Topic
Start by identifying the main topic of your blog. It should be specific and relevant to your audience. For example: "Introduction to APIs," "Getting Started with React," or "Understanding Big O Notation."
Title of the Blog
Create a compelling title for your blog that grabs the reader’s attention. Keep it concise and reflective of the content.
Example: “An Introduction to REST APIs for Beginners”
Outline Sections with Titles
Organize your blog into sections. Each section should cover a key point or subtopic related to your main theme. Here are common sections to include:
a. Introduction
Title: “What is [Topic]?”
This section introduces the main topic and its relevance to the reader. Explain why it’s important to know or learn about this.
b. Background or Context
Title: “Why [Topic] Matters in [Industry/Field]”
Give a brief history or context for the topic. If it's technical, explain how it relates to real-world applications or trends.
c. Key Concepts or Features
Title: “Understanding the Key Features of [Topic]”
Break down the topic into major concepts, features, or ideas. This section often has multiple subheadings to explain each key point.
d. Practical Application / How-To
Title: “How to Use [Topic] in Your Projects”
If it's a tutorial or technical walkthrough, this section should cover step-by-step instructions on how to implement or use the technology.
e. Common Pitfalls or FAQs
Title: “Common Mistakes to Avoid with [Topic]”
Address common issues or questions people might have about the topic, and provide solutions or tips.
f. Conclusion
Title: “Wrapping Up: Final Thoughts on [Topic]”
Summarize the blog’s key points. You can also provide resources for further reading or encourage the reader to apply what they’ve learned.
Call to Action
Title: “Where to Learn More or Get Started”
Encourage readers to take action by pointing them to more resources, tutorials, or next steps. Maybe even encourage them to contribute to open source!

Make sure to replace your boiler template with your actual Blog topic.
For example, you could write about how to add Pull Request templates to your workflow

For some reason, I'm unable to add a label. Maybe I'm doing it wrong. I tried selecting the labels on the right-hand side, but it doesn't work.

Link:
https://docs.google.com/document/d/1IdMMlu77iponmCwgLeuv1g-BEk8C-UuMrInVfqnn_nI/edit?usp=sharing


Resolving image_tag issue

It looks like in the original code for extension.rb image_tag (when resizing) was calling the super method on the result from image_path. When relative_assets is activated, this leads to the images_dir being added to the path twice. I think.
I've resolved it here by having a separate function image_name that either modifies the image name or returns the base64 data, then calling super on the result of this from both image_path and image_tag.
I think ideally, this would not be another helper method, but I'm not sure how to achieve this. I also haven't added any tests as I'm pretty new to ruby. This currently passes the existing tests though.

Thank you for the PR.
I was in fact working on a fix myself that I just released.
Our corrections are very close, but your PR doesn't contain tests that check the issue.
Therefore I will not merge your PR and close it.
But thank you very much for your time and efforts.
Regards,
ymh


xchi初始化

xchi的初始化，包括中断内存等配置。

我最近乱翻的时候看到这里 https://forums.raspberrypi.com/viewtopic.php?t=343755&sid=f0402f7ad3b90c803cc38279cb0e9799
好像说可以通过某种方式绕过pci来着，但是鉴于这个项目的语言我完全没了解过，直接原地摆烂
While it's traditional that an XHCI controller be attached to PCI it isn't essential, in fact the Pi 4 contains a second one that is memory mapped (MMIO) and the specification allows for that as well, the good news is that one driver will cover both controllers.
虽然传统上XHCI控制器连接到PCI并不是必需的，但事实上Pi 4包含第二个内存映射（MMIO），并且规范也允许这样做，好消息是一个驱动程序将覆盖两个控制器。

里面还提供了一些可行的技术思路，比如说
lookup the xhci specs, and follow those when talking to it
added complication on the rpi, after you assign the pci-e BAR's and i think after you do the xhci scratch space allocation you need to use a mailbox call to the closed firmware, to bootstrap the vl805 firmware
以及一些可以参考的文件

USB 3.2 gen 1 specification (which in turn references USB 2.0 standard...)
USB HID specification
Intel xHCI specification
VLI VL805 data sheet
PCIe (6.0/7.0?) specification
Linux / xinu / RISCOS / freebsd / u-boot / circle implementations of USB for bcm2711 xhci (pcie) * Linux / xinu / RISCOS / freebsd / u-boot / circle implementations of USB for bcm 2711 xhci（pcie）

已修复


ICNet

Hello ,Did you train the IcNet network? I trained it on the VOC2012 dataset and found the result was no better than the paper.I trained  it for 15k iterations.

Hi, @InstantWindy .
I would suggest you to load pre-trained model (see #81) and to use larger image size and batch size, and then keep fine-tuning.


[Bug - RTS] Activity status is shown as success even though the activity failed

Hey team! Please add your planning poker estimate with Zenhub @ayushpahwa @nsarupr

Duplicate of #32875


Beta: Over-eager autocompletion in anonymous functions

Environment data
dotnet --info output:
.NET SDK:
 Version:   7.0.100
 Commit:    e12b7af219

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19045
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.100\

VS Code version: 1.78.2
C# Extension version: v2.0.206
Note: I have disabled the extension "IntelliCode for C# Dev Kit".
OmniSharp log
Not applicable.
Steps to reproduce

Open any C# file.
Write an anonymous function

Expected  behavior
The C# extension will not autocomplete with random, irrelevant suggestions.
Actual behavior
I'll use "|" to mark my cursor position.
var foo = myList.Where(|)
-> type "y"
var foo myList.Where(y|)
-> type " " (space)
var foo myList.Where(YDecoder |)

Alternative example:
Func<int, int> square = |
-> type "x"
Func<int, int> square = x|
-> type " "
Func<int, int> square = X25519 |

This happens with a lot of one-letter variable names. It can also happen with proper names, although at least so far I have not encountered that all to often. Seems to depend on how close the name matches whatever types are available.

This is quite annoying indeed. It's caused by not handling the case equivalent to what we call SuggestionMode in VS. Working on a fix


commonservicelocator == 1.0 dependency

Could you please change it to to >1.0 ?

I had that problem too and what I did was an assembly binding redirect. That did the trick.

should help, thank you!


fix: Overwrite of darwin amd64 binary w/ arm + version bump in Makefile

I will fix this with the new provider after I am done testing locally. Good catch though.

Okay great, thanks @ns-sbrown


Document existing architecture

Todo:

[ ] Document the existing API calls in the SDK and the overall flow.
[ ] Create a flow chart of the existing flow
[ ] Update the flow based on missing pieces

Document the existing API calls in the SDK and the overall flow.

ChatwootChatDialog.show() opens the widget and will create a new contact.
Sending a messsage will call action createMessage().
Message received will call getContact() and getConversations().
Opennig SDK with previous conversation will call getAllMessages() and getContact().
updateContact() and updateMessage() actions is there but i think it is not used.


getTokenAccountsByOwner only works with one matching token account

If the owner account has 0 token accounts for that mint: it crashes.
If the owner account has 2+ token accounts for that mint: it only returns one.
The offending line: https://github.com/ajamaica/Solana.kt/blob/master/solana/src/main/java/com/solana/api/getTokenAccountsByOwner.kt#L33

This is definitely something to fix.


Added new resource DSA playlist

Added the resource under the youtube section

Fixes Issue
Closes the issue number #839

please review the PR @CBID2 and @rupali-codes
thankyou


index.d.ts: fix header types

From the example that's given in the README, the functions should accept a { [key: string]: string } instead of a Map<string, string>.
I don't know if this is intended, but when I tried to pass a map to the function the headers didn't work, but with this they do.

Thanks for contributing! Unfortunately this is a read-only mirror of https://github.com/tauri-apps/plugins-workspace/tree/v1/plugins/upload/ and the dist-js folder is auto-generated so we can't merge this PR.
That said, it's much appreciated if you want to try to fix it in the upstream repo :)


A session file is likely missing for this cwd.

I started to receive this message:
"info Could not load session. A session file is likely missing for this cwd. ". What does it mean and how can I fix it?
I started after PackerUpdade

Hey @xbladesub, this happens upon handling the DirChanged autocmd. It shouldn't be happening a lot unless you've got something changing your cwd frequently.
https://sourcegraph.com/github.com/rmagatti/auto-session/-/blob/lua/auto-session-autocmds.lua?L45
Do you see any degradation in any existing functionality or just the message?

I'm also noticing this issue, maybe it's nvimtree or project.nvim but I never noticed this behavior before.


[Bug]: When the iceberg table is empty, clean orphan file NPE

What happened?
2023-12-13 01:54:44,591 ERROR [async-orphan-files-cleaning-executor-4] [com.netease.arctic.server.table.executor.OrphanFilesCleaningExecutor] [] - ice-01.ods_bps.ods_ebeb(tableId=677) failed to clean orphan file
java.lang.NullPointerException: null
     at com.netease.arctic.server.optimizing.maintainer.IcebergTableMaintainer.cleanOrphanFiles(IcebergTableMaintainer.java:140) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

     at com.netease.arctic.server.table.executor.OrphanFilesCleaningExecutor.execute(OrphanFilesCleaningExecutor.java:61) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

     at com.netease.arctic.server.table.executor.BaseTableExecutor.executeTask(BaseTableExecutor.java:74) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

     at com.netease.arctic.server.table.executor.BaseTableExecutor.lambda$scheduleIfNecessary$4(BaseTableExecutor.java:83) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_392]

     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_392]

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_392]

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_392]

     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_392]

     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_392]

     at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]

Affects Versions
master-snapshot [ at 2023-12-08 ]
What engines are you seeing the problem on?
No response
How to reproduce
No response
Relevant log output
2023-12-13 01:54:44,591 ERROR [async-orphan-files-cleaning-executor-4] [com.netease.arctic.server.table.executor.OrphanFilesCleaningExecutor] [] - ice-01.ods_bps.ods_wl_pcn_batchapplydetail(tableId=677) failed to clean orphan file

java.lang.NullPointerException: null

         at com.netease.arctic.server.optimizing.maintainer.IcebergTableMaintainer.cleanOrphanFiles(IcebergTableMaintainer.java:140) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

         at com.netease.arctic.server.table.executor.OrphanFilesCleaningExecutor.execute(OrphanFilesCleaningExecutor.java:61) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

         at com.netease.arctic.server.table.executor.BaseTableExecutor.executeTask(BaseTableExecutor.java:74) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

         at com.netease.arctic.server.table.executor.BaseTableExecutor.lambda$scheduleIfNecessary$4(BaseTableExecutor.java:83) ~[amoro-ams-server-0.7.0-SNAPSHOT.jar:?]

         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_392]

         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_392]

         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_392]

         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_392]

         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_392]

         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_392]

         at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]

Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@XiaoGerGer thanks for reporting this, from the code seems the property table is null, could you please share how to reproduce this error, thanks.


MarkdownRemark

the plugin gatsby-theme-portfolio-minimal has defined a GraphQL type called MarkdownRemark, which has already been defined by the plugin gatsby-transformer-remark. This situation is causing problems when trying to change the site.

Hey @LioneltheBuilder 👋 Can you specify what types of issues does it cause?

Cannot read properties of null (reading 'childImageSharp')
./node_modules/gatsby-theme-portfolio-minimal/src/sections/About/index.tsx:21
Open in Editor
19 |
20 |                             <GatsbyImage

21 |                                 image={data.frontmatter.imageSrc.childImageSharp.gatsbyImageData}
|                                                                 ^
22 |                                 className={classes.Image}
23 |                                 alt={data.frontmatter.imageAlt || About Image}
24 |                             />

I'm getting this error from trying to replace the image in the about section. Everything was working fine until then.

hm, maybe you can try if any of those ideas fix it:

check if the imageSrc path is correctly specified
check if it works with a different image (maybe the image itself is corrupted)
check if it works after running gatsby clean to remove the cache

Hope it helps 🙏

Thank you! Got it working again, this is my first client and I'm very thankful shout out to you and GatsbyJS


Collision events already get the manifold so shouldn't be heaps of effort to do.

we have this.


docs: Add a design directory for future purposes.

Signed-off-by: Michael Adam<EMAIL_ADDRESS>

This change is

LGTM


[Bug]: xr.DataArray.from_cdms2() deprecated in newer versions of xarray

What happened?
Running the precipitation variability metrics with xarray version > 2023.06.0 leads to a failure with the following message:
AttributeError: type object 'DataArray' has no attribute 'to_cdms2'

This is due to the following calls to 'to_cdms2' and 'from_cdms2':
https://github.com/acordonez/pcmdi_metrics/blob/variability_fixes/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py#L393
https://github.com/acordonez/pcmdi_metrics/blob/variability_fixes/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py#L395C12-L395C41
What did you expect to happen? Are there are possible answers you came across?
The driver should not fail here. The calls to 'to_cdms' and 'from_cdms' need to be removed, and ideally the call to cdutil to generate the land sea mask should also be removed.
Minimal Complete Verifiable Example (MVCE)
No response
Relevant log output
/home/ordonez4/miniconda3/envs/pmp_var/lib/python3.10/site-packages/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py:202: RuntimeWarning: Mean of empty slice
  clim = np.nanmean(dseg, axis=0)
Traceback (most recent call last):
  File "/home/ordonez4/git/pcmdi_metrics/pcmdi_metrics/precip_variability/variability_across_timescales_PS_driver.py", line 68, in <module>
    precip_variability_across_timescale(
  File "/home/ordonez4/miniconda3/envs/pmp_var/lib/python3.10/site-packages/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py", line 74, in precip_variability_across_timescale
    psdmfm_forced = Avg_PS_DomFrq(ps, freqs, ntd, dat, mip, "forced", regions_specs)
  File "/home/ordonez4/miniconda3/envs/pmp_var/lib/python3.10/site-packages/pcmdi_metrics/precip_variability/lib/lib_variability_across_timescales.py", line 393, in Avg_PS_DomFrq
    d_cdms = xr.DataArray.to_cdms2(d[0])
AttributeError: type object 'DataArray' has no attribute 'to_cdms2'

Anything else we need to know?
No response
Environment
xarray                    2023.11.0          pyhd8ed1ab_0    conda-forge
I am using a dev version of PCMDI Metrics I believe this error will occur in any recent version.

It looks like the cdms component is still remaining here only for land sea mask generation in this line.
As a part of ENSO code conversion I have made a land sea mask generation function using xarray, which could be applied here. I will work on it, thank you for reporting it!


Store the random selection of albums for navigation in history

Title was: Add optional seed to /random in api, have webui use it
In the web ui, you access /#random to see a list of random albums, expanding this to /#random-{seed} would make the ui more predictably when going forward and backward in the browser history, allowing you to queue more than one of the albums from the current selection. This could perhaps be done by adding an optional seed query parmaters to the /random api endpoint.
The sqlite query however is a bit more difficult to change because you need a way to make random numbers from a seed, which sqlite does not support.
One option is demonstrated here where they use fancy sql to compute random values. It is however not very clean in my option.
An another option is to implement your own random function in rust and have sqlite use it as shown here with C. I'm not familiar with rust and diesel, but from some quick googling, i determined it should be possible, with lots of nice macros to make the code more easy to read.

I think this is a valid request, I've ran into this a few times myself too. Note that if you want to queue entire albums from the random view you can drag their cover into the playlist, without leaving the random page.
I don't think either of the two implementation options are very attractive. If/when I look into it, I think I would consider client-side solutions first.

history.pushState may be an option.


Fixed typo in new-feature-tutorial.

Automated message from Dropbox CLA bot
@jajodiaraghav, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @jajodiaraghav!


testAdd group by aggregate negative case

Proposed changes
testAdd group by aggregate negative case

run buildall

run buildall

run buildall


truststore_nss: retry certtool with sudo when it fails due to permissions

Based on @rfay's investigation and fix.
Fixes #192
Closes #193

@rfay I made a smaller version fo your fix, could you test that it works? Thank you!

Tested with a simple Docker image, seems to work.
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y libnss3-tools sudo
RUN adduser --disabled-password --ingroup sudo filippo
ADD mkcert /usr/local/bin

@FiloSottile Tested manually on Ubuntu 16.04, works. Reverted the workaround in our testing environmen (so it now gets Linuxbrew version v1.4.1) and that's working too. Thanks!


libsemiempirical.so documentation

Hi, I am trying to go play around/test the am1 semi-empirical method - I understand this is still being tested . It calls for the 'libsemiempirical.so' library but there is no mention of this library on the pyscf documentation. Who should I contact to get a copy of the source code/documentation for this library?
PS: This is my first time working with C libraries so I might have confused myself somewhere.

Did you build pyscf? It is built from the files in pyscf/lib/semiempirical.
On Fri, May 1, 2020 at 6:41 AM notoriousntb<EMAIL_ADDRESS>wrote:

Hi, I am trying to go play around/test the am1 semi-empirical method - I
understand this is still being tested . It calls for the
'libsemiempirical.so' library but there is no mention of this library on
the pyscf documentation. Who should I contact to get a copy of the source
code/documentation for this library?
PS: This is my first time working with C libraries so I might have
confused myself somewhere.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/597, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NREDXW2YXCQPSBO427TRPLGR3ANCNFSM4MXDJJ7A
.

Thanks for the quick reply. That was indeed the case.

Sorry for writing here, I got the same problem with the library. I tried both installing through pip and compiling from source, the library is still missing, preventing from using AM1. Any suggestion?
I wrote more here


remove references to mcrypt

Need to remove use of mcrypt, since it is deprecated in PHP 7.1 AND removed in 7.2.
The manual http://php.net/manual/en/function.mcrypt-create-iv.php states:
Warning
This function was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.
Alternatives to this function include:
random_bytes()
There is an alternate solution if you don't want to use random_bytes(), and it is shown here:
PHP 7 - mcrypt deprecated, need alternative
https://stackoverflow.com/questions/41272257/mcrypt-is-deprecated-what-is-the-alternative

btw, its in CodeIgniter/system/core/compat/password.php

Need to do your research before opening issues, and being more clear about it when you do.
If you did the first, you'd know we've already covered this. If you did the former, we'd at least know what you're talking about - there's 4 different libraries that use at least a part of mcrypt.
Now, you did do that that last thing while I was writing the reply, but you didn't look literally 5 lines above the mcrypt_create_iv() call that you're referring to ...

BUT why leave it in there?

The particular occurence you're talking about is a forward-compatibility function that only gets declared on PHP versions lower than 5.5, because that's when ext/password was added into PHP - not even remotely affected by the deprecation & removal of mcrypt in PHP 7+.
In other instances it's for backwards-compatibility. Deprecating and removing stuff from PHP doesn't magically modify existing code bases to work without the stuff in question.
Prior to the introduction of random_bytes() in PHP 7, mcrypt_create_iv() was THE best CSPRNG function available in PHP. If you look at the popular random_compat package (linked in the official manual page for random_bytes()) you'd see that even there it is used behind the scenes as a first option.
ext/mcrypt was deprecated because its underlying C shared library - libmcrypt - is abandoned, but contrary to how it might look like, mcrypt_create_iv() is NOT a part of libmcrypt. It's a function written specifically for PHP, because the base libmcrypt lacked a CSPRNG function, which is an essential utility for any cryptographic library. In short, even though mcrypt was deprecated, there's nothing wrong with mcrypt_create_iv() in particular and every expert on the topic will confirm this.

That's why.
Look, I know what you're doing and it's a good thing; I would advocate the same things. But you can't be a hero for technological progress without some effort. You have to do your homework, so to speak, and consider where it's applicable ... Instead, you're just parroting today's popular trend on the topic and putting zero thought into it. Nobody appreciates blind white-knighting.


Revert "updated python test document outside notebook"

Reverts kylemath/pyoptical#1
So check before merging to master?

no need to revert I think the changes work and we can go from there


feat(cpp): add insertion_sort

Here I implemented insertion sort.
I had to copy and paste the functions I used in the bubble sort file. Should I create an utils.cpp file to reduce repetition?

Here I implemented insertion sort.
I had to copy and paste the functions I used in the bubble sort file. Should I create an utils.cpp file to reduce repetition?

You sure can,sorry for not being active !!!!


📮 Support multiple articles in a single export

article is now coerced to articles in export frontmatter
Multiple articles are only valid for tex/pdf - other cases raise errors
To support this, tex preamble must be kept as structured data and compiled at the end (similar to how tex imports are already handled)

This works great! Have added the first book template and it works well out of the gate. There needs to be another pass to maintain the titles and change the headings before exporting to tex, and having this be based on the table of contents (e.g. chapters).


Update sbt-scalafix to 0.9.32

Updates ch.epfl.scala:sbt-scalafix from 0.9.31 to 0.9.32.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch

Codecov Report

Merging #520 (1cd79a5) into release/next (ef1d9ac) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           release/next     #520   +/-   ##
=============================================
  Coverage         57.16%   57.16%
=============================================
  Files                66       66
  Lines              1473     1473
  Branches             50       50
=============================================
  Hits                842      842
  Misses              631      631

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 ef1d9ac...1cd79a5. Read the comment docs.


ngtcp2: 1.8.0 -> 1.8.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ngtcp2/ngtcp2/releases.
meta.description for ngtcp2 is: ngtcp2 project is an effort to implement QUIC protocol which is now being discussed in IETF QUICWG for its standardization
meta.homepage for ngtcp2 is: https://github.com/ngtcp2/ngtcp2
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.1 with grep in /nix/store/xhvsnps7hzkg7rg9b8dfi1cp0b13mab1-ngtcp2-1.8.1
found 1.8.1 in filename of file in /nix/store/xhvsnps7hzkg7rg9b8dfi1cp0b13mab1-ngtcp2-1.8.1

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

curlHTTP3
ngtcp2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xhvsnps7hzkg7rg9b8dfi1cp0b13mab1-ngtcp2-1.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ngtcp2 https://github.com/r-ryantm/nixpkgs/archive/bdf775a246782281a412d5ca79603fa298819a07.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/bdf775a246782281a412d5ca79603fa298819a07#ngtcp2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xhvsnps7hzkg7rg9b8dfi1cp0b13mab1-ngtcp2-1.8.1
ls -la /nix/store/xhvsnps7hzkg7rg9b8dfi1cp0b13mab1-ngtcp2-1.8.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 9 packages built:

curlHTTP3
curlHTTP3.bin
curlHTTP3.debug
curlHTTP3.dev
curlHTTP3.devdoc
curlHTTP3.man
ngtcp2
ngtcp2.dev
ngtcp2.doc

Maintainer pings
cc @Izorkin for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Tested curlHTTP3.


problem in vite: isExcludeFile may not be correctly set

Part of my vite.config.js:
import postCssPxToRem from 'postcss-pxtorem'
{
  ...,
  css: {
    postcss: {
      plugins: [
        postCssPxToRem({
          rootValue: 16,
          propList: ['*'],
          exclude: function (file) { return file.indexOf('Register') === -1; },
        }),
        {
          postcssPlugin: 'internal:charset-removal',
          AtRule: {
            charset: (atRule) => {
              if (atRule.name === 'charset') {
                atRule.remove();
              }
            }
          }
        },
      ]
    }
  }
}

Once and Declaration callback execution order can be like this:
filePath: Register.vue
transforming (652<EMAIL_ADDRESS>filePath: List.vue
transforming (671) node_modules\ant-design-vue\es\_util\warning.js
filePath: Risk.vue
filePath: Verify.vue
filePath: Role.vue
transforming (687) node_modules\ant-design-vue\es\_util\vnode.js
filePath: Detail.vue

Register.vue declaration:
<ref *1> Declaration {
  raws: { before: '\n  ', between: ': ' },
  type: 'decl',
  parent: Rule {
    raws: { before: '\n\n', between: ' ', semicolon: true, after: '\n' },
    type: 'rule',
    nodes: [ [Circular *1], [Declaration], [Declaration], [Declaration] ],
    parent: Root {
      raws: [Object],
      type: 'root',
      nodes: [Array],
      source: [Object],
      lastEach: 2,
      indexes: [Object],
      [Symbol(isClean)]: false,
      [Symbol(my)]: true
    },
    source: { start: [Object], input: [Input], end: [Object] },
    selector: '.pife1-card',
    lastEach: 2,
    indexes: { '2': 1 },
    [Symbol(isClean)]: true,
    [Symbol(my)]: true
  },
...

In my case, i just want to include Register.vue and exclude all other files. However, if Once callback is not directly followed by corresponding Declaration callback, isExcludeFile would be true, it's not as what i expected.
I have glanced at all issues, but i didn't got a similar one.
I’d appreciate some help.

any reproduction?

/^(?!\.pife1-).*/.test('.pife1-card')   // false

any reproduction?

I made a mistake, i have edited my description.

I tested it, it can achieve what you want
Maybe that you made a small mistake

exclude有的时候正常有的时候不能过滤正常转为了rem，源码打印文件style里面import引入的样式，是拿不到的，请问你是咋解决的


⚠ Minecraft has degraded performance

In 0e65892, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1465 ms

Resolved: Minecraft performance has improved in f6c3db0.


move to sbt 0.13.15 (from 0.13.13)

test run: https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-integrate-community-build/593/consoleFull

after merge, we should promptly merge forward onto 2.11.x-jdk8->2.12.x->2.13.x

utest failure is unrelated. merging

fyi @eed3si9n @dwijnand this was smooth, no resulting problems
confession: I sometimes only @-mention Dale because I have to think in order to type "eed3si9n" :-)

This might help: the tail bit is "design", with the necessary letter alternatives. So it's "Eugene eDesign"?


VerifyTextCount doesn't work if real count is zero and expected_count is more than zero

Describe the bug
VerifyTextCount always passes when text isn't found at all. It only works properly when text is found X times.
To Reproduce
Steps to reproduce the behavior:

Go to _https://en.wikipedia.org/wiki/New_Britain_friarbird_
VerifyTextCount of any text that is not on the page expecting it is there, e.g.
VerifyTextCount    Punatulkku    1
Keyword passes

Expected behavior
Keyword should be failing.

Fixed, will be included in version 1.0.5 which will be released this week.


"Function called outside component initialization" when using URQL with SvelteKit production server (dev server works fine)

Describe the bug
I'm experiencing an interesting bug in which using URQL on the client-side throws a "Function called outside component initialization" error... however, it only happens after building a production build with the Node adapter.  I'm curious about the difference between how the two servers are run that could hint as to what is happening here.
I started a discussion over on https://github.com/FormidableLabs/urql/issues/1938, but as I'm not sure if the issue lies with SK or URQL, I figured I'd cover both bases. A little bit more context can be found in the linked ticket, but overall, this is the issue I'm facing.
Reproduction
I managed to reproduce the issue in https://github.com/Nickersoft/urql-repro. Just be sure to run yarn first.

To check the dev server: yarn dev
To check the production build: yarn build && yarn preview

Logs
Error: Function called outside component initialization
    at get_current_component (file:///Users/tnickerson/base/urql-repro/node_modules/svelte/internal/index.mjs:938:15)
    at setContext (file:///Users/tnickerson/base/urql-repro/node_modules/svelte/internal/index.mjs:968:5)
    at setClient (file:///Users/tnickerson/base/urql-repro/node_modules/@urql/svelte/dist/urql-svelte.mjs:155:3)
    at file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1532:3
    at Object.$$render (file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1327:18)
    at Object.default (file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1385:117)
    at file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1494:42
    at Object.$$render (file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1327:18)
    at file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1384:78
    at $$render (file:///Users/tnickerson/base/urql-repro/.svelte-kit/output/server/app.js:1327:18)

System Info
System:
    OS: macOS 11.5.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 2.20 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.4 - /var/folders/yh/cv0rc4pd0px2xktclp4yt49h0000gq/T/fnm_multishells/44377_1631239888327/bin/node
    Yarn: 3.0.2 - ~/.yarn/bin/yarn
    npm: 6.14.14 - /var/folders/yh/cv0rc4pd0px2xktclp4yt49h0000gq/T/fnm_multishells/44377_1631239888327/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 93.0.4577.63
    Firefox: 89.0.2
    Safari: 14.1.2
  npmPackages:
    @sveltejs/adapter-node: next => 1.0.0-next.45
    @sveltejs/kit: next => 1.0.0-next.162
    svelte: ^3.42.4 => 3.42.4

Severity
blocking all usage of SvelteKit
Additional Information
I'm aware that this topic has been discussed at length in both communities (using URQL with SvelteKit), but in this particular case I'm not attempting to run any code on the server, and am following all of the advice found in various discussions surrounding the use of URQL.

I'm not attempting to run any code on the server

I'm not familiar with urql, but that may be your problem. You are running code on the server. If I set ssr: false then it works

Without globally disabling SSR, is there any way around this until URQL supports SSR out-of-the-box?

You can disable SSR on a per-page basis. Is there any information about why SSR does not work with urql? I wonder if it might be a Vite bug such as https://github.com/vitejs/vite/issues/4306

Yeah, so there's been quite a large discussion about it here. The general consensus seems to be that initClient / setClient (used to initialize the GraphQL client) calls setContext under the hood, which errors when called on the server.
The urql docs suggest that adding optimizeDeps: { exclude: ['@urql/svelte'] } to your Svelte config should fix this error, but myself and others have tried and it hasn't made a difference, so perhaps it is a Vite issue.

Dug into this today, the issue is that we add svelte to ssr.noExternal in vite-plugin-svelte during build here. Per the comment, it's needed so we can resolve svelte as svelte/ssr. But this breaks for @urql/svelte since it, in turn, imports svelte, but @urql/svelte itself is externalized so we never got to resolve it's imported svelte to svelte/ssr, causing two Svelte instances running hence the error.
You can observe the behaviour by building the repro repo, and open .svelte-kit/output/server/app.js. Notice we bundled setContext, and we also import @urql/svelte, which it's setClient function isn't using our bundled setContext.

Workaround

Set config.kit.vite.ssr.noExternal to ['@urql/svelte']. vite-plugin-svelte could automate this by checking deps with svelte as peer dep.
Or set config.kit.vite.ssr.external to ['svelte']. You won't get the benefits of https://github.com/sveltejs/svelte/issues/6372 though

Honestly, I don't think svelte/ssr was the right path all along, but the work has been done. cc @dominikg

svelte/ssr helps to avoid boilerplate code in onMount for SSR with client only dependencies. The fix on vite-plugin-svelte is the way to go 👍


Release 1.0.dev0 - notitle

Release https://github.com/TakesxiSximada/sximada.djangoutils/releases/tag/untagged-9d532013b190c2171c1d

Released!! https://github.com/TakesxiSximada/sximada.djangoutils/releases/tag/1.0.dev0


fix for issue #39

Might be a fix?

Looks good for now. I'm going to redo that code now that the facebook-chat-api 2FA is working. Thanks @billcccheng

jks @billcccheng, don't need to redo any of it!


dracut: don't explicitly remount /sysroot rw

This feels a bit weird doing the remount in this module, but I don't really have any better ideas.

Also, it may be possible to override the default of ro or a kernel command line that includes ro with a fstab but it's been like two months since I last read that code so I don't specifically recall the behavior.

Depends on https://github.com/coreos/coreos-overlay/pull/1250.

LGTM