Radio's version of dataset is out of date

I'd like to add a some metrics (described here https://analysiscenter.github.io/dataset/api/dataset.models.metrics.html#dataset.models.metrics.Metrics) however it seems that the version of dataset that is shipped with radio is out of date.
To reproduce, attempt to
import radio.dataset.models.metrics
Returns:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/media/nvme/TRAIN/notebooks/PE/John's Exploration/trainModel.py in <module>()
----> 1 import radio.dataset.models.metrics

ModuleNotFoundError: No module named 'radio.dataset.models.metrics'

Expected:
nothing

The updated version of radio is under review now and will be realeased in the next few days.

Thanks @roman-kh I don't see a pull request about it in Radio? Is it somewhere else?
Any chance I could get a look at the early release?

radio is updated with the newest version of batchflow


Service Invokation - Service not found

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community:
https://aka.ms/dapr-discord
In what area(s)?
/area runtime
CLI version: 1.4.0
Runtime version: 1.5.0
Ask your question here
Good morning,
I'm creating this issue regarding service invokation :
I'm running two APIs (One in .NET 5.0 and the second in NodeJs) both ran with the below command :
.NET
dapr run --app-id nlp --dapr-http-port 7000 --dapr-grpc-port 6000 --app-port 5001 dotnet run

Node
dapr run --app-id nodeapp --dapr-http-port 7000 --dapr-grpc-port 6000 --app-port 5001 npm start

When I ran both APIs on the same laptop, it is working as expected however we ran the APIs on two different laptops (same network, same range) it's not working from time to time (sometimes 200 otherwise 500 with the below error).
{
    "errorCode": "ERR_DIRECT_INVOKE",
    "message": "fail to invoke, id: nodeapp, err: couldn't find service: nodeapp"
}

In order to eliminate any "middleman", I'm testing using postman  and the following request:
http://localhost:7000/v1.0/invoke/nodeapp/method/command

Could you please advise ?
Thank you

The default name resolution when running in self-hosted mode is mDNS, so the fact this happens intermittently probably speaks to a multicast issue on the local network.
Why would you need to run two apps on two different laptops if you can run both on the same machine?

The default name resolution when running in self-hosted mode is mDNS, so the fact this happens intermittently probably speaks to a multicast issue on the local network.
Why would you need to run two apps on two different laptops if you can run both on the same machine?

Hi,
I will try on a different network for testing purposes.
Running both applications on the same laptop was a workaround, normally they would have to communicate between two laptops. Isn't it the purpose of the mDNS component ?
Thank you for your answer ! I will try to add some logs during the week.


Slogan functionality

[x] View all slogans
[x] Edit/add/remove slogans (note: this should work on the fly, in case new slogans get chanted)
[ ] Function that highlights a specific slogan in a way that's not jarring

Note that this all can be programmed using hardcoded/test data until the Etebase connection is done

Improved slogan display at df4a9d7831fd6465c0bae9f319780380fb6b2cd1 !


Oakley... again.

Hi! Any news about Oakley?

No, I'm working on some other (slightly related) projects at the moment.


Is there a way to connect the dapr dashboard to dapr services launched locally with Tye?

Ask your question here
As title says, I have a set of services hosted locally using Tye. I'd like to use the dapr dashboard to verify that my services are ok, however the dashboard does not detect the said services (while tye is running).
Can anyone comment on this?
Best regards

Working on this here: https://github.com/dotnet/tye/issues/965


Huggingface download error

When I'm trying to download the weights from huggingface
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False
I'm getting error no matches found: ckpt-0/*

Try this:
The correct directory is ckpt
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt/* --local-dir checkpoints --local-dir-use-symlinks False

See: https://github.com/xai-org/grok-1/discussions/129

https://huggingface.co/xai-org/grok-1/tree/main/ckpt
Has it been moved?

change to :
git clone https://github.com/xai-org/grok-1.git && cd grok-1 pip install "huggingface_hub[hf_transfer]" huggingface-cli download xai-org/grok-1 --repo-type model --include "ckpt-0/*" --local-dir checkpoints --local-dir-use-symlinks False
user " " to cover huggingface_hub[hf_transfer] and ckpt-0/*


Shrink attention_mask if it's larger than the cache

Resolves #22
Hello!
Pull Request overview

Shrink the attention_mask if it's larger than the cache.

Details
The attention_mask in transformers lives under a condition that it can only grow. Makes sense: we only add a new token on every new model forward call. However, that isn't the case with attention_sinks. The first forward call will parse the entire input text, and the subsequent one will process just one token, with the history in the cache.
However, if the cache is smaller than the input size, the attention_mask will still have the input size, e.g. [1, 3700] while the history + key_size is just 257.
Tests
I ran the script from #22 and got the following output:
According to only the information in the document sources provided within the context above, Give an extremely detailed report that is well-structured with step-by-step sections (and elaborate details for each section) that describes the documents. Do not stop or end the report, just keep generating forever in never-ending report.
 [/INST]'

Introduction:

The field of natural language processing (NLP) has seen significant advancements in recent years, with the development of deep learning techniques such as recurrent neural networks (RNNs) and transformers. These models have shown remarkable performance on a wide range of NLP tasks, including language translation, sentiment analysis, and text classification. However, the success of these models relies heavily on the availability of large amounts of high-quality training data. In this report, we
 will explore the different types of NLP datasets and their characteristics, as well as the challenges and opportunities associated with their collection and use.

Types of NLP Datasets:

NLP datasets can be broadly categorized into three types: text, speech, and multimodal.

1. Text Datasets:

Text datasets are the most common type of NLP datasets and are used for a wide range of tasks such as text classification, sentiment analysis, and named entity recognition. Text datasets can be further categorized into two types: parallel corpora and monolingual corpora.

a. Parallel Corpora:

Parallel corpora consist of text data in multiple languages that are aligned with each other. These datasets are commonly used for machine translation tasks, where the goal is to translate text from one language to another. Parallel corpora can be obtained from various sources such as bilingual websites, parallel news articles, and multilingual books.

b. Monolingual Corpora:

Monolingual corpora consist of text data in a single language. These datasets are commonly used for tasks such as sentiment analysis, named entity recognition, and text classification. Monolingual corpora can be obtained from various sources such as news articles, social media posts, and books.

2. Speech Datasets:

Speech datasets are used for tasks such as speech recognition, speech synthesis, and speaker diarization. Speech datasets can be obtained from various sources such as
 audio recordings, transcriptions, and speech databases.

3. Image Datasets:

Image datasets are used for tasks such as object detection, image classification, and segmentation. Image datasets can be obtained from various sources such as public
 image datasets, medical images, and satellite images.

4. Text Datasets:

Text datasets are used for tasks such as sentiment analysis, named entity recognition, and text classification. Text datasets can be obtained from various sources such as news articles, social media posts, and books.

5. Video Datasets:

Video datasets are used for tasks such as action recognition, object detection, and video classification. Video datasets can be obtained from various sources such as public video datasets, surveillance videos, and sports videos.

6. Audio Datasets:

Audio datasets are used for tasks such as speech recognition, music classification, and sound event detection. Audio datasets can be obtained from various sources such as audio recordings, music libraries, and sound effect libraries.

7. Time Series Datasets:

Time series datasets are used for tasks such as forecasting, anomaly detection, and trend analysis. Time series datasets can be obtained from various sources such as financial data, weather data, and sensor data.

8. Graph Datasets:

Graph datasets are used for tasks such as community detection, network analysis, and recommendation systems. Graph datasets can be obtained from various sources such as social networks, scientific networks, and knowledge graphs.

9. Image Datasets:

Image datasets are used for tasks such as object detection, image classification, and segmentation. Image datasets can be obtained from various sources such as public
 image datasets, medical images, and satellite images.

10. Text Datasets:

Text datasets are used for tasks such as natural language processing, sentiment analysis, and topic modeling. Text datasets can be obtained from various sources such as social media, news articles, and books.

These datasets are used in various fields such as machine learning, data science, artificial intelligence, and computer science. They are also used in research and development to advance knowledge and technology. It is important to choose the right dataset for the task at hand to ensure accurate and reliable results. Additionally,
 it is important to consider the ethical implications of using certain datasets, such as ensuring privacy and avoiding bias. Overall, datasets play a crucial role in advancing technology and improving our understanding of the world around us.

In conclusion, datasets are an essential component of machine learning, data science, and artificial intelligence. They provide valuable information that can be used to train models, test hypotheses, and make predictions. There are many different types of datasets available, each with its own unique characteristics and applications. Choosing the right dataset for the task at hand is crucial to ensure accurate and reliable results. Additionally, it is important to consider the ethical implications of using certain datasets to ensure privacy and avoid bias. Overall, datasets play a crucial role in advancing technology and improving our understanding of the world around us.

References:

1. Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT press.
2. Kaggle. (n.d.). Datasets. Retrieved from https://www.kaggle.com/datasets
3. Open Data Network. (n.d.). Datasets. Retrieved from https://www.opendatanetwork.org/datasets
4. UCI Machine Learning Repository. (n.d.). Datasets. Retrieved from https://archive.ics.uci.edu/ml/datasets
5. World Bank. (n.d.). Datasets. Retrieved from https://data.worldbank.org/dataset

cc: @pseudotensor I do want to point out that attention_sinks doesn't extend the context size of a model - if the window size is 256 tokens (i.e. 252 window size and 4 sink tokens), then the model won't be able to use the full 3700 tokens of the document when generating its output. You likely know this, but I'm just making sure.

Tom Aarsen

@tomaarsen Cool, thanks!  It's very late here, I'll try when I wake.
Yes, I'm aware it doesn't extend the context for input tokens.
One gotcha was that I didn't realize the window size had to be >= input token count.  It makes sense, just the failure was not clear.
If possible it would be nice if the window automatically adjusted to the input token size instead of having to always keep it at the max just in case the model is used for more tokens up to the max.

One gotcha was that I didn't realize the window size had to be >= input token count. It makes sense, just the failure was not clear.

After this PR the window size can be less than the input token count, though the excess tokens beyond the window size will be removed as the model generates. It's actually quite normal for tokens to be removed, this is how the memory usage is kept so low while the model stays fluent.

Yes thanks, runs my test without any failure even though window size is only 252.  Thanks!

Awesome! Thanks for confirming :)


KAFKA-4898: Add timeouts to streams integration tests

Why did we close this? Seems like a good idea and might have helped contain the damage from https://issues.apache.org/jira/browse/KAFKA-7933


time.sleep between unpausing and pausing gazebo in def step

https://github.com/reiniscimurs/DRL-robot-navigation/blob/dea37acfc65f702f7fa792787e09602416cf85d4/TD3/velodyne_env.py#L201
I noticed the follwoing processes in def step.

unpausing gazebo, which means the robot starts to move in the gazebo environment.
the laser_state and dataOdom are obtained
time.sleep(0.1) is called for executing action for a while.
pausing gazebo.
return state (=np.append(laser_state, toGoal))

This makes me confused, since the retured state is not the state after executing action, but actually the state before executing action. However, I think the returned state needs to be input of policy network which generates the action for next step. Then, laser_state and dataOdom should be obtained after time.sleep(0.1) is called, i.e., step 2 and step 3 needs to be exchanged.
Is my understanding correct?

Good spot! Yes, you are correct, it should go "publish twist message->propagate state->get reward->return new state and reward"
The action publishing should happen first like:
    def step(self, act):         # Publish the robot action         vel_cmd = Twist()         vel_cmd.linear.x = act[0]         vel_cmd.angular.z = act[1]         self.vel_pub.publish(vel_cmd)
And only then unpause the simulator. I must have moved the code around at some point.
Can you confirm that if the placing the velocity publishing command there, does not break anything, and it works fine?

After changing the code as follows, it also works.  The code obeys the process of  "publish twist message->propagate state->get reward->return new state and reward". In "propagate state", time.sleep is first called then state value is obtained by rospy.wait_for_message.

def step(self, act):
    target = False

    # Publish the robot action
    vel_cmd = Twist()
    vel_cmd.linear.x = act[0]
    vel_cmd.angular.z = act[1]
    self.vel_pub.publish(vel_cmd)

    rospy.wait_for_service('/gazebo/unpause_physics')
    try:
        self.unpause()
    except (rospy.ServiceException) as e:
        print("/gazebo/unpause_physics service call failed")

    time.sleep(0.1)

    data = None
    while data is None:
        try:
            data = rospy.wait_for_message('/r1/front_laser/scan', LaserScan, timeout=0.5)
        except:
            pass
    """
    laser_state = np.array(data.ranges[:])
    v_state = []
    v_state[:] = self.velodyne_data[:]
    laser_state = [v_state]
    done, col, min_laser = self.calculate_observation(data)
    """
    dataOdom = None
    while dataOdom is None:
        try:
            dataOdom = rospy.wait_for_message('/r1/odom', Odometry, timeout=0.5)
        except:
            pass

    rospy.wait_for_service('/gazebo/pause_physics')
    try:
        pass
        self.pause()
    except (rospy.ServiceException) as e:
        print("/gazebo/pause_physics service call failed")

    laser_state = np.array(data.ranges[:])
    laser_state[laser_state == inf] = 10
    laser_state = binning(0, laser_state, 20)
    done, col, min_laser = self.calculate_observation(data)

    # Calculate robot heading from odometry data
    self.odomX = dataOdom.pose.pose.position.x
    self.odomY = dataOdom.pose.pose.position.y
    quaternion = Quaternion(
        dataOdom.pose.pose.orientation.w,
        dataOdom.pose.pose.orientation.x,
        dataOdom.pose.pose.orientation.y,
        dataOdom.pose.pose.orientation.z)
    euler = quaternion.to_euler(degrees=False)
    angle = round(euler[2], 4)

    # Calculate distance to the goal from the robot
    Dist = math.sqrt(math.pow(self.odomX - self.goalX, 2) + math.pow(self.odomY - self.goalY, 2))

    # Calculate the angle distance between the robots heading and heading toward the goal
    skewX = self.goalX - self.odomX
    skewY = self.goalY - self.odomY
    dot = skewX * 1 + skewY * 0
    mag1 = math.sqrt(math.pow(skewX, 2) + math.pow(skewY, 2))
    mag2 = math.sqrt(math.pow(1, 2) + math.pow(0, 2))
    beta = math.acos(dot / (mag1 * mag2))
    if skewY < 0:
        if skewX < 0:
            beta = -beta
        else:
            beta = 0 - beta
    beta2 = (beta - angle)
    if beta2 > np.pi:
        beta2 = np.pi - beta2
        beta2 = -np.pi - beta2
    if beta2 < -np.pi:
        beta2 = -np.pi - beta2
        beta2 = np.pi - beta2

    # Publish visual data in Rviz
    markerArray = MarkerArray()
    marker = Marker()
    marker.header.frame_id = "base_link"
    marker.type = marker.CYLINDER
    marker.action = marker.ADD
    marker.scale.x = 0.1
    marker.scale.y = 0.1
    marker.scale.z = 0.01
    marker.color.a = 1.0
    marker.color.r = 0.0
    marker.color.g = 1.0
    marker.color.b = 0.0
    marker.pose.orientation.w = 1.0
    marker.pose.position.x = self.goalX
    marker.pose.position.y = self.goalY
    marker.pose.position.z = 0

    markerArray.markers.append(marker)

    self.publisher.publish(markerArray)

    markerArray2 = MarkerArray()
    marker2 = Marker()
    marker2.header.frame_id = "base_link"
    marker2.type = marker.CUBE
    marker2.action = marker.ADD
    marker2.scale.x = abs(act[0])
    marker2.scale.y = 0.1
    marker2.scale.z = 0.01
    marker2.color.a = 1.0
    marker2.color.r = 1.0
    marker2.color.g = 0.0
    marker2.color.b = 0.0
    marker2.pose.orientation.w = 1.0
    marker2.pose.position.x = 5
    marker2.pose.position.y = 0
    marker2.pose.position.z = 0

    markerArray2.markers.append(marker2)
    self.publisher2.publish(markerArray2)

    markerArray3 = MarkerArray()
    marker3 = Marker()
    marker3.header.frame_id = "base_link"
    marker3.type = marker.CUBE
    marker3.action = marker.ADD
    marker3.scale.x = abs(act[1])
    marker3.scale.y = 0.1
    marker3.scale.z = 0.01
    marker3.color.a = 1.0
    marker3.color.r = 1.0
    marker3.color.g = 0.0
    marker3.color.b = 0.0
    marker3.pose.orientation.w = 1.0
    marker3.pose.position.x = 5
    marker3.pose.position.y = 0.2
    marker3.pose.position.z = 0

    markerArray3.markers.append(marker3)
    self.publisher3.publish(markerArray3)

    markerArray4 = MarkerArray()
    marker4 = Marker()
    marker4.header.frame_id = "base_link"
    marker4.type = marker.CUBE
    marker4.action = marker.ADD
    marker4.scale.x = 0.1  # abs(act2)
    marker4.scale.y = 0.1
    marker4.scale.z = 0.01
    marker4.color.a = 1.0
    marker4.color.r = 1.0
    marker4.color.g = 0.0
    marker4.color.b = 0.0
    marker4.pose.orientation.w = 1.0
    marker4.pose.position.x = 5
    marker4.pose.position.y = 0.4
    marker4.pose.position.z = 0

    markerArray4.markers.append(marker4)
    self.publisher4.publish(markerArray4)

    '''Bunch of different ways to generate the reward'''

    # reward = act[0]*0.7-abs(act[1])
    # r1 = 1 - 2 * math.sqrt(abs(beta2 / np.pi))
    # r2 = self.distOld - Dist
    r3 = lambda x: 1 - x if x < 1 else 0.0
    # rl = 0
    # for r in range(len(laser_state[0])):
    #    rl += r3(laser_state[0][r])
    # reward = 0.8 * r1 + 30 * r2 + act[0]/2 - abs(act[1])/2 - r3(min(laser_state[0]))/2
    reward = act[0] / 2 - abs(act[1]) / 2 - r3(min(laser_state[0])) / 2
    # reward = 30 * r2 + act[0] / 2 - abs(act[1]) / 2  # - r3(min(laser_state[0]))/2
    # reward = 0.8 * r1 + 30 * r2

    self.distOld = Dist

    # Detect if the goal has been reached and give a large positive reward
    if Dist < 0.3:
        target = True
        done = True
        self.distOld = math.sqrt(math.pow(self.odomX - self.goalX, 2) + math.pow(self.odomY - self.goalY, 2))
        reward = 80

    # Detect if ta collision has happened and give a large negative reward
    if col:
        reward = -100

    toGoal = [Dist, beta2, act[0], act[1]]
    state = np.append(laser_state, toGoal)
    return state, reward, done, target


Bump libgit2

There's a change made to the file vendor/libgit2/src/xdiff/xdiff.h:
#include "util.h" -> #include "../util.h"
This causes mac osx to fail merges on osx/linux because it causes git__malloc to be undefined.

Test failed because of timeout on travis. Someone please restart it!

Thanks for also getting rid of the file mode changes as well.


Try arping as last resort

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?

Code changes:

[x] Did you format your code with Black?

[x] black getmac tests

[ ] Are the linting checks passing?

[ ] tox -e check -- no, but they weren't passing before this change either:

check run-test: commands[3] | flake8 getmac tests setup.py
getmac/getmac.py:1:1: T499 Success: no issues found in 1 source file
# -*- coding: utf-8 -*-
^
ERROR: InvocationError for command [...]/getmac/.tox/check/bin/flake8 getmac tests setup.py (exited with code 1)

[x] Do all tests pass locally?

[x] tox

[x] Have you updated the CHANGELOG with a summary of your change?
[x] Did you add your name to the contributors list in the README?

Summary of changes:
When other things have yielded no results, try arping. Depending on system, it may require an interface to be specified and fail without one, but would improve things where it doesn't.

This looks great, thank you! Hopefully this helps fix the problem in the mentioned issue (or at least avoid related issues in the future)!

Will try to get this released on PyPI as 0.8.2 by this Saturday

Thanks! Turns out it doesn't immediately seem to fix the problem, but I believe it's a good addition to have in getmac anyway.
Alas, I've learned that the https://github.com/ThomasHabets/arping arping implementation doesn't support the -f option, and its output differs from the iputils/busybox arping somewhat as well. So for now this implementation doesn't work with the ThomasHabets one -- I'll see if I can get the -f option supported there too, as well as submit a followup PR here to recognize its output. (The -f could in theory be dropped, but it makes the call a bit faster, so I think it's good to keep it.)


Adds files to initalize data for events and their sponsors

Commits squashed and merged with a little fix (revert of a3e0e6a )


crash on assigning result of a switch expression to a constant

Environment data
dotnet --info output: info.txt
VS Code version: 1.93.1
C# Extension version: 2.45.25, 2.39.29, presumably others
OmniSharp log
4-C#.log
Steps to reproduce

Open any .cs file in the editor that contains following code:

const float //this is where i forgot to write the rest of the line lol
angVel = (firstChunk.vel.magnitude, angVel, firstChunk.ContactPoint.x, firstChunk.contactPoint.y) switch
{
	( <= 1f, _, _, _) => 0f,
	( >= 1f, 0f, not 0, 0) => Random.Range(5, 10f) * Mathf.Sign(firstChunk.vel.x),
	( >= 1f, _, not 0, -1) => 1f,
	_ => angVel,
};
rot = Mathf.LerpAngle(rot, rot + angVel, 1f);

Expected  behavior
A compiler error is displayed for assigning a non-static expression to a const value.
Actual behavior
microsoft.codeanalysis.languageserver.exe crashes with a stack overflow

This causes the LSP to implode. the compiler exhibits similar behavior

Additional context
Bug is seemingly context-independent as it occurs even if i paste the snippet into a completely blank project. Doesn't show up for shorter switches.

i just had an Idea and narrowed it down to this
const float angVel = angVel switch
{
	_ => 0f,
};

Can repro, and can repro on the CLI, so likely a compiler bug.  Transferring over to Roslyn


Scrutinizer Auto-Fixes

@Spomky requested this pull request.
It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/Spomky-Labs/jose/

Coverage decreased (-1.4%) to 90.082% when pulling 28bb6283a1e20de9d81b47fff33988a530b9d0be on scrutinizer-patch-1 into 1d0ab9367e32c9b9211d46db3924eda27a938ebb on master.


Old architecture i new architecture IOS onLoad Image prop

Description
Hello, I am the maintainer of react-native-svg.
We tried to include the same onLoad feature in our Image element. However, we noticed that the data obtained from the 'onLoad' function varies between old architecture and new architecture on iOS devices. This difference is specifically seen on iOS devices only.
In old architecture, the ‘onLoad’ data seems to show the actual image size, while in new architecture, it displays information about size of the component returned by yoga, which can differ from the real image size.
Steps to reproduce
1. git clone git@github.com:bohdanprog/react-native-image-onLoad-prop.git
2. cd react-native-image-onLoad-prop
3. yarn
4. yarn start
5. yarn ios

React Native Version
0.75.0-nightly-20240612-fd618819c
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of npx react-native info
System:
  OS: macOS 14.4.1
  CPU: (11) arm64 Apple M3 Pro
  Memory: 104.17 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.9.0
    path: ~/.nvm/versions/node/v20.9.0/bin/node
  Yarn:
    version: 3.6.4
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.1.0
    path: ~/.nvm/versions/node/v20.9.0/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.3 AI-233.14808.21.2331.11709847
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.75.0-nightly-20240611-5b3a32142
    wanted: 0.75.0-nightly-20240611-5b3a32142
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs
It logs with returned value from onLoad:
1. New architecture:

Running "reactNativeImageOnLoadProp" with {"rootTag":1,"initialProps":{"concurrentRoot":true},"fabric":true}
 (NOBRIDGE) LOG  RNImage:ios load JPEG image from url {"source": {"height": 852, "uri": "https://image-placeholder.com/images/actual-size/75x75.png", "width": 393}, "target": 2}

Old architecture:

Running "reactNativeImageOnLoadProp" with {"rootTag":1,"initialProps":{"concurrentRoot":false}}
 LOG  RNImage:ios load JPEG image from url {"source": {"height": 25.333333333333332, "uri": "https://image-placeholder.com/images/actual-size/75x75.png", "width": 25.333333333333332}, "target": 3}

Reproducer
https://github.com/bohdanprog/react-native-image-onLoad-prop
Screenshots and Videos
No response

I think it has been fixed on main already - I saw several commit to fix Image-related stuff in the New Arch - but not picked in 0.74.
Can you try to spin up a nightly and verify?
To spin up a nightly:
npx react-native@nightly init <NameOfTheApp> --version @nightly


[2.1.1] Analyze Initial Requirements

Issue Details
Description
This Sub-Issue is for me to Elicitate and Analyze the 11 Initial Requirements that was given to me in the Project Brief.
Goals
I will have a better understanding of the 11 Initial Requirements and I will be able to generate questions that needs more clarification as it might be ambiguous. I will share these with my team mates so that we can brainstorm more questions to ask the Client.
Success or Completion Criteria
A list of Initial Requirements that have been analyzed to the best of my abilities, and also any questions that is important.
Allocated Time
3 Days
Start Date: 29/08/23, 1800
End Date: 01/09/23, 2359

Used 7 validation rules on the 11 requirement, and couple with different methods of elicitation such as survey and lo-fi prototypes to better assist during the meeting with clients

Description: Able to gather more information such as system configuration is required by IT administrator. Improved on the projection description in background literature review based on this new information.
Changes to success or completion criteria? y/n (if y, describe): Yes
Start Date: 29/08/23, 1800
End Date: 30/08/23, 2359


Write out more metadata about fit

Most metadata of interest is already written to the log file, but it would be good to have it in a structured form. The header and/or table extension of the result file would be an obvious place.

final chisq/pixel (for each epoch and total)
time and number of iterations (total or for each step?)
Other measures of residuals that don't depend on pixel weights? (RMS?)

Actually, until there is some plan to ingest such values into database, it's unclear to me how this will be useful or what the best output format is.

There are plenty of technical values which are not stored in the DB, e.g. extract_star effective parameters. They can still be very useful for a posteriori analysis. You can store them in ad hoc files (e.g. json or simple txt files) that would be stored in the DB, or directly in output FITS file headers. Note that while it's pratically impossible to add new keys to the DB, it's relatively easy to store new files (figures or data dump).

OK, I'll just use the result FITS file.

I added position bounds and chisq per epoch to the result file. I don't plan to add any more diagnostics until I feel like they're needed, but I'll leave this issue open.


Upgrade to pyarrow 14.0.1

Addresses the following:

https://www.cve.org/CVERecord?id=CVE-2023-47248

/cc @orliac


[🐞] Error with TailwindCSS 4 when used in Qwik

Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
I'm experimenting with TailwindCSS version 4, but there's an issue when it's used with Qwik. I created an issue in the TailwindCSS repository, but it seems that the problem originates from the Qwik Vite plugin (that's what the issue comments suggest).
TailwindCSS Issue: tailwindlabs/tailwindcss#13112
Reproduction
https://codesandbox.io/p/devbox/loving-glade-zdpd88?file=%2Fsrc%2Froutes%2Findex.tsx
Steps to reproduce
No response
System Info
System:
    OS: macOS 14.3.1
    CPU: (8) arm64 Apple M2
    Memory: 571.66 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.6.1 - ~/.nvm/versions/node/v21.6.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v21.6.1/bin/npm
    pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
    bun: 1.0.30 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 122.0.6261.111
    Edge: 122.0.2365.63
    Safari: 17.3.1
  npmPackages:
    @builder.io/qwik: 1.5.1 => 1.5.1
    @builder.io/qwik-city: 1.5.1 => 1.5.1
    undici: 6.7.0 => 6.7.0
    vite: 5.1.5 => 5.1.5

Additional Information
No response

conversation from the other thread

So from this answer there is a space for improvement.
From their response this is the piece of code to improve
https://github.com/BuilderIO/qwik/blob/c88e53d49dc65020899d770338f4e51f3134611e/packages%2Fqwik%2Fsrc%2Foptimizer%2Fsrc%2Fplugins%2Fvite-server.ts#L102-L126

@devcaeg I can't see the preflight.css file in the reproduction project. Can you add it pls?

Tailwind v3

Tailwind v4

@import "tailwindcss"; inside global.css trigger our code to add that links in the <head>

For those interested in continuing to explore TailwindCSS version 4 without encountering this problem, I have shared a temporary and provisional solution in this comment https://github.com/tailwindlabs/tailwindcss/issues/13112#issuecomment-1983444305

Is there any news about this? It should be noted that this problem only happens in dev mode, when the build is done for production, the error disappears.

Tailwind v4 it's in alpha now

any PRs are welcome


desktop support

I was wondering if the ffmpeg version works with desktop ?
if it does then we could use that for desktop.

I was wondering if the ffmpeg version works with desktop ?
if it does then we could use that for desktop.

I'm looking for a good opensource package in C or C ++ with a permissive license to do this. Do you know some?
I'm running away from ffmpeg, but if I find anything like that I can easily use ffi for this task.
I will not use ffi for android or ios, because they already have native tools for that and this plugin basically doesn't add anything of size to them, but for desktop it may be the only way out

I was wondering if the ffmpeg version works with desktop ?
if it does then we could use that for desktop.

I'm looking for a good opensource package in C or C ++ with a permissive license to do this. Do you know some?
I'm running away from ffmpeg, but if I find anything like that I can easily use ffi for this task.
I will not use ffi for android or ios, because they already have native tools for that and this plugin basically doesn't add anything of size to them, but for desktop it may be the only way out

Yes i heard ffmpeg is slow on mobiles.
Suggest that might want to look at the pion / ion project. They are implementing web, desktop and mobile using flutter and golang with c++ also.  I think that they would be really helpful and many there can help with adding video editing.
You should intro yourself on forums because i think others will want to work on the same thing with you.
https://github.com/pion/ion
https://github.com/pion/mediadevices


Fixes issue with latest ng4rc5 release

Fixes store#357, fixes #56

Angular 4 is just around the corner. This fix is so simple, would be really nice to have it merged and released.

Yes! Can we get a merge please :)

+1

+1

I think that tomorrow we'll have to decide whether we prefer to use the devtools or the brand new release of Angular v4 :disappointed: ...
(thanks @robertohuertasm for the fix BTW :smile: !)

Published as v3.2.4


bug on menus on iOS mobile device

Hi
Not sure which one, but I think its RMWC. If you open the menu on mobile device (iOS in my case) menus are not closed clicking outside.
Reproduce: just open https://jamesmfriedman.github.io/rmwc/menus on your mobile, the menus open but don't close any more. Only by clicking an item inside the menu-items its closing
I also used rmwc for testing and menus are not closing for me on mobile. On desktop it works fine
Cheers
UPDATE
The same occurs on MDC components and their website. Is there a current workaround? Thats quite a dealbreaker to use menus at the moment

I agree, this has been quite a pain for me as well and is definitely and MDC bug on their docs site https://material-components.github.io/material-components-web-catalog/#/component/menu
I’d rather get it fixed upstream, I’ll check with the maintainers and see if it’s on their radar. Otherwise it’s long overdue to be fixed!
A workaround for now would be to control the open prop and set it to false manually. Clicking on another clickable element also causes it to close, just not the body on iOS for some reason.

I referenced the issue on their project: https://github.com/material-components/material-components-web/issues/4441
I'd love to use this library in an upcoming project but menus are mandatory to work on all devices. I am wondering how this could slip through Google's radar :-) No offence though I'm just kidding..

Well, I hope you enjoy using this library and get used to things getting fixed fast ;).
Publishing 5.1.8 as we speak, was as simple as adding a touchstart listener to the body. Please reopen / report back if there are any additional issues.

@jamesmfriedman nice man! yeah I really start enjoying my journey.. was playing around with material-ui, mwc-react and all the other libs doing material stuff at the moment (I am actually a Vue - guy doing some field work in the React department). The way of theming and your docs were the reason I ended up here keep up the great work 👍

Great to hear @dohomi :)


Bump version to 1.0

@lrhn ?

@lrhn ?

We don't need a reply from @lrhn here, that was for https://github.com/dart-lang/ffi/pull/83.
I'm running a final g3 sanity check (cl/352762630) before merging this.

Woo hoo!
On Thu, Feb 11, 2021 at 9:23 AM Daco Harkes<EMAIL_ADDRESS>wrote:

@lrhn https://github.com/lrhn ?
We don't need a reply from @lrhn https://github.com/lrhn here, that was
for #83 https://github.com/dart-lang/ffi/pull/83.
I'm running a final g3 sanity check (cl/352762630
https://critique.corp.google.com/#review/352762630) before merging this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/ffi/pull/78#issuecomment-777657501, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEFCQFH3JKRWURJHQ27T3S6QHBDANCNFSM4XKU6BCA
.


How to fix Locksmith.LocksmithError.interactionNotAllowed

We keep receiving crashing from our users with the error Locksmith.LocksmithError.interactionNotAllowed. Unfortunately we can't replicate in our tests. The code only performs simple task:
func updateUserAccessToken(forAccount account: String, token: String) {
    var userAccessToken = Locksmith.loadDataForUserAccount(userAccount: account) ?? [String: Any]()
    userAccessToken[“token”] = token
    try! Locksmith.updateData(data: userAccessToken, forUserAccount: account)
}

UPDATE:
We're able to trace and replicate the issue. The error occurs when the app calls the Locksmith.updateData() while the app is locked. This happen in our app during login, we assume that during the login process the app suddenly locked and when the process finally done and we try to save the user's token we can't because of that error.
Anyone know how to fix this?
Thanks!

I fixed this by changing the accessible option to LocksmithAccessibleOption.afterFirstUnlock

Where exactly did you make that change?

You can easily change it if you're using a protocol based  approached. While in my case I'm not using that approach. What I did is to create an extension as follow:
extension Locksmith {
    fileprivate static func loadDataForUserAccount(userAccount: String,
                                                   inService service: String = LocksmithDefaultService,
                                                   accessibleOption: LocksmithAccessibleOption) -> [String: Any]? {
        struct ReadRequest: GenericPasswordSecureStorable, ReadableSecureStorable {
            let service: String
            let account: String
            var accessible: LocksmithAccessibleOption?
        }

        let request = ReadRequest(service: service, account: userAccount, accessible: accessibleOption)
        return request.readFromSecureStore()?.data
    }

    fileprivate static func updateData(data: [String: Any],
                                       forUserAccount userAccount: String,
                                       inService service: String = LocksmithDefaultService,
                                       accessibleOption: LocksmithAccessibleOption) throws {

        struct UpdateRequest: GenericPasswordSecureStorable, CreateableSecureStorable {
            let service: String
            let account: String
            let data: [String: Any]
            var accessible: LocksmithAccessibleOption?
        }

        let request = UpdateRequest(service: service, account: userAccount, data: data, accessible: accessibleOption)
        return try request.updateInSecureStore()
    }
}

Then you can pass the accessible option when you call these methods.
NOTE I notice that if you access your "old/existing" data before implementing a different accessible option you will get a nil as you can't access them. If you must have the "old/existing" data you may need to handle that separately.

What if you don't want to store a username/password, but something like an accessToken/refreshToken pair?

NOTE I notice that if you access your "old/existing" data before implementing a different accessible option you will get a nil as you can't access them. If you must have the "old/existing" data you may need to handle that separately.

This is a problem. If I get nil, then I need to update them the "new" way so as to use the correct LocksmithAccessibleOption. But if I try to update them this way, I get a LockSmithError (duplicate).

So, I tried the following, but I still get the interactionNotAllowed error:
`struct Authentication: GenericPasswordSecureStorable, CreateableSecureStorable, ReadableSecureStorable {
let accessToken: String
let refreshToken: String
let service = LocksmithDefaultService
let account = "test-account"
let accessible = LocksmithAccessibleOption.always

var data: [String: Any] {
    return ["accessToken" : accessToken, "refreshToken" : refreshToken]
}

}`

Suppose I should use afterFirstUnlock.


[bug] No such file or directory: /Users/joe/.js/.jsrc

When I start iTerm for the first time, it prints this message before starting

I believe this is because the project got moved to a .simple directory which is what will be used from here on out.
You should be able to delete the config trying to source that .js file
The updated config looks like this:
source /Users/zac/.simple/.simplerc

@jsjoeio yeah, open your ~/.zshrc and delete the source ~/.js/.jsrc line

Ah, didn't even think of that! Thanks all!


Generalize Drive impls for collection types

With this rewrite, basically all collection types are automatically supported without the need to write code manually.
Unfortunately this is a breaking change, because it is a conflicting trait impl if someone has already made a custom impl for their collection class with iterates over references of Drive-able items.

Thanks for your contribution!
This seems like a reasonable change considering the following:

Crate users would still be able to implement their own collection iteration logic using #[drive(with = "...")]
This crate is small so collection libraries will never provide implementations of Drive
Implementing Drive on foreign collections for end users would be painful because of the orphan rule.

I will review this and hopefully merge soon.

I bumped the versions.
I also added Range, RangeInclusive, etc. to the std-types implementations, because that would make my life easier in my other project. Hope it's not a problem.
Thanks for being so responsive and open about these stuff.

Hmm, apparently this doesn't work with Vec, I'll have to check why.


Implement a simple way to make HTTP request on Rust side

Is your feature request related to a problem? Please describe.
Recently I've encountered a situation where I had to explicitly write every value for HttpRequestOptions, most of them are set to None except method, url, response_type field.
thinking that there's maybe a way that makes this simple, I started looking through the codebase, then I realized that there's no other way to create HttpRequestOptions other than what I just did.

example code
let first_option = HttpRequestOptions {
    method: "get",
    url: api_url.to_string(),
    params: None,
    headers: None,
    body: None,
    follow_redirects: None,
    max_redirections: None,
    connect_timeout: None,
    read_timeout: None,
    timeout: None,
    allow_compression: None,
    body_type: None,
    response_type: Some(ResponseType::Text)
};

let response = make_request(option);
if let Ok(inner_data) = response {
    let image_url = inner_data.get("image_url").to_owned().unwrap_or(String::from("https://example... /some_image.png"));
    let next_option = HttpRequestOptions {
        method: "get",
        url: image_url,
        ....
    }
}

Considering the size of struct this could quickly become a pain if I start using make_request everywhere.
I want web API's authentication process and data retrieving to be handled in a separate thread, and I thought it would be nice to have somewhat simple way to make an HTTP request.
Describe the solution you'd like
Some way to abbreviate struct initialization, without stripping the flexibility off.
something like
// implement From trait that takes method and url
impl From<(&'_ str, &'_ str)> for HttpRequestOptions {
    ...
}

// and change make_request function to take impl Trait
fn make_request(options: impl Into<HttpRequestOptions>) -> crate::Result<String> {
    ...
}

// so that now I can call it like this:
let result_one = make_request(("get", "https://some/url/here"));
// or like this
let result_two = make_request(HttpRequestOptions { method: "get".to_string(), url: "https://..." });

// Maybe this is too much
impl From<(&'_ str, &'_ str, Option<HashMap<String, Value>>, Option<HashMap<String, Value>>)>
for HttpRequestOptions {
}

// I think this is reasonable
impl From<(&'_ str, &'_str, ResponseType)> for HttpRequestOptions {
}

Describe alternatives you've considered
Implement Builder for HttpRequestOptions, and make new to take both method and url field.
struct HttpRequestBuilder {
    ...
}

impl HttpRequestBuilder {
    fn new(method: String, url: String) -> Self {
        Self {method, url, params: None, headers: None, ...}
    }

    fn params(mut self, new_params: Option<HashMap<String, Value>>) -> Self {
        self.params = new_params;
        self
    }
    ....
}

Additional context
I'm thinking about making pull request on my own, if that's okay.
English is not my native language, I'm sorry if there's a grammar error that makes it hard to understand.

You're totally correct, sorry I didn't think about it when writing the API. If you have the time to PR the builder pattern, that would be lovely. Otherwise let me know and I'll make some time to do it.

Pull request merged, closing.


add and show logo for event-028

This PR adds the logo for the EESSI software demo (event 028, see https://sorse.github.io/programme/software-demos/event-028/)

Here is a preview
https://1499-267395254-gh.circle-artifacts.com/0/SORSE/programme/software-demos/event-028/index.html

@boegel, @alisonrclarke mentioned that you would like to see the EESSI-Logo on your events page. Please have a look at https://1507-267395254-gh.circle-artifacts.com/0/SORSE/programme/software-demos/event-028/index.html
If this is okay for you, we can merge this PR.

@Chilipp Thank you very much for looking into it!
I was more thinking of adding the logo on the page itself, for example just above the 2nd paragraph which starts with "The European Environment for Scientific Software Installations (EESSI, ...".
Is that an option too?
One downside of the EESSI logo is the small text, which is now unreadable when the logo is added as an "avatar".

sure @boegel, than it looks like this
https://1509-267395254-gh.circle-artifacts.com/0/SORSE/programme/software-demos/event-028/index.html

@Chilipp That's perfect as far as I'm concerned, thanks a lot!

you're welcome! Thanks for your contribution :+1:


Add Apache 2.0 License

Per the metadata.json, this module is licensed under the Apache 2.0 license.

Fair enough


Quality

Quality

DiffBIR v2.1, upscale=8, cfg_scale=6, seed=231: https://imgsli.com/MzIyMDg2
If you think this result is good, welcome to try out DiffBIR v2.1. If you still find the results unsatisfactory 😞, we will continue to make improvements!

The cfg_scale in this case is different from the default value (8).
How can one decide the value of cfg_scale?

DiffBIR v2.1, upscale=8, cfg_scale=6, seed=231: https://imgsli.com/MzIyMDg2
If you think this result is good, welcome to try out DiffBIR v2.1. If you still find the results unsatisfactory 😞, we will continue to make improvements!

The cfg_scale in this case is different from the default value (8).
How can one decide the value of cfg_scale?

Thanks for your question. In a reasonable range, such as 1 ~ 10, the larger the cfg_scale, the better the quality of the final restoration result. However, a cfg_scale that is too large (> 10) may introduce artifacts.


Create personal access token to push Doxygen docs to github.io

Please create a personal access token with the right permissions (link) and save it as a secret key in the travis settings for our project.
This should automatically push the documentation on the next build from the master branch.

Ping.

I've been thinking about this, and I'm a bit concerned about the security aspects of this. By adding a Travis-encrypted GitHub token into our .travis.yml as an environment variable, given that we run Travis CI on every PR, any user will be able to submit a PR, where they can run an arbitrary script and reference that env var and have the ability to do just about anything (either on this, or any other repo) as the owner of the GitHub auth token.
They can also just echo the token to stdout (which will be visible on Travis), copy that token, and automate any number of actions using that token until it's discovered, possibly causing quite a bit of damage in the meantime (some recoverable, some possibly not).
Maybe I'm paranoid, but that makes me nervous.
I'd much rather:

update the docs manually, if infrequently (e.g., weekly/monthly)
update the docs automatically, using a private process (cron job?) without posting the access token

Travis does not provide the secret tokens to PRs for this reason.  Also Travis filters out all the secret tokens from the output.  So for example if you set MY_SECRET to a-public-value, then a-public-value will not appear in the output, even if it is printed from A_NON_SECRET_VARIABLE.
The risk is that we accept a PR that secretly steals the token away.

For more details: https://docs.travis-ci.com/user/environment-variables#Defining-Variables-in-Repository-Settings
In particular:

Similarly, we do not provide these values to untrusted builds, triggered by pull requests from another repository.

And this is also relevant:
https://blog.travis-ci.com/2017-05-08-security-advisory

Per our discussion, we agreed to create a bot account with limited privileges to push into this repo.
I have created:
https://github.com/google-cloud-cpp-bot
The secret for this account is shared with you.  You are also invited to the email list that receives emails for that account.  I think you need to add the account to the repository with enough privileges to push code.  Then we need to create a personal access token for the bot account and add that token to Travis.


⚠ TorrentLeech has degraded performance

In f8e9c76, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 5881 ms

Resolved: TorrentLeech performance has improved in d7e92b8 after 25 minutes.


Create parameters structure that distinguishes between Datacube-set parameters and MCMC runner parameters

Probably best to subclass the MetaParameters to create classes for these two types of parameters.

Closed by #13


about ground truth trajectory

Hi,
I tried to use the trajectory from https://star-datasets.github.io/vector/download/ (sofa-normal txt file) to reconstruct the whole scene. It looks the camera is not on the right track. Is there any preprocesses necessary? For example, I encounter one dataset needs to apply a rotation transformation before reconstructing the 3D scene. Thanks!

You need to transform the ground truth poses from the lidar frame to the camera frame. You can find such a transformation in the extrinsic calibration files.

You need to transform the ground truth poses from the lidar frame to the camera frame. You can find such a transformation in the extrinsic calibration files.

Thanks for your reply! Do you have an example to show?


Option for visitor to add subtitle

Hello, just finished do some customs on this script for my site http://moviesxx1.com/
Is there possible to add some code for the visitor to allow add some subtitle ?

Hello. Thank you for using CinemaPress. This is a CMS, the same as WordPress. You add subtitles to your video hosting players. Then these players are inserted into your website. Therefore, please contact your video hosting company on this issue.


Explore the generation of OpenAPI documents from Spring Boot REST APIs

We initially used a single REST API. A stub was generated from an OpenAPI document with the OpenAPI generator. Because of the large and growing size of the API specification, the process of regenerating the implementation of the API was tedious.
Since then I moved away from having a single API to adopt a microservice architecture. I want to explore the following workflow:

Develop a microservice in Java with Spring Boot.
Automatically generate the OpenAPI document for the API.
(optional) Merge multiple OpenAPI documents from the different microservices into one OpenAPI document.

Note
I learned how to do that in the NLP Sandbox project.

Generate the challenge registry client library for TS-Angular.
Import the client library in the challenge registry app.

Steps 4 and 5 are already implemented in this project. The main task is the implementation of Steps 2 and 3.
Tasks

[ ] Read Documenting a Spring REST API Using OpenAPI 3.0
[ ] Review https://github.com/springdoc/springdoc-openapi

API doc:

http://localhost:8083/v1/api-docs/openapi.json
http://localhost:8083/v1/api-docs/ui => Swagger UI

https://stackoverflow.com/questions/68470105/how-do-i-configure-a-custom-url-for-the-springdoc-swagger-ui-html-page

Blocked by #481.


Some of the info are Old and Misleading. And also throwing potential ideas.

Going through the Information for some of the sections of the Github, I found some information that seems to be outdated. Hopefully I can guide you with where the errors are and that you don't tell me to spin a sign outside the shop for the rest of my life. Not only that but it will be better if the arrangement of the villages are place in chronological order (Nyr, Agni, Nogrod, Kuan-Ti and so on) It help with knowing where you are currently and you dont have to scroll all the way down just to get info for your first playthrough of the story.
Unique NPC's
The first problem that I have seen is that the information here is wrong, There isn't a spiral staircase or having to pay a Mind Badge to the Move Relearner. The Move Relearner is located to the right of /warp training

Nyr's General Pokemart Stock
The information here is plain has most of the vendors are located at /warp Market.  It will be more helpful that way instead of people running around Nyr. Not only that but the /warp crate is at the opposite side of where the market is actually located. Just putting the information that /warp market will send you there seems to be a better choice.

Instead of going through all of the pages and repeat the same progress all of the Move Tutors in the villages says that you will be charge with HS (Heart Scales). Which is untrue, here's some of the screenshots I took. All of them shows a price for it.

Another Issues that I have already brought up but forgot to mention further, some of the Gym description do not show the proper level requirement to challenge the gym. Also including that some of the rewards here are not the same on the Pixelmon Server.  (P.S you might want to also check if the National Dex Rewards are also correct.)
Example of both issues:

This is the ones that I have seen not updated. For now, all I have time for to look into. When I have more time, I will look for more errors or outdated information that needs readjusting.
Thank you for your time
Helper WxllyDox

I've forwarded this to our internal planning pages. Thanks for report.


[pkg/otlp] Add support for OTLP metrics

What does this PR do?

Add TracesEnabled OTLP pipeline configuration.
Add a serializerexporter that translates and sends OTLP metrics to a metrics serializer.
Add support for OTLP metrics to the OTLP pipeline.

Motivation
DataDog/architecture#892
Additional Notes
Metrics are enabled by default since this is still experimental. Should they be?
Describe how to test your changes
Set up the OTLP pipeline by providing a port. Check that:

[ ] if sent via an instrumentation library, timeseries metrics (e.g. OTLP Gauges or Sums) are correctly sent to the backend and that there are no logs.
[ ] OTLP Histograms are sent correctly: if you send a test.histogram metric it will come up as test.histogram in the backend and have the usual functions available, with no extra .count or .sum metrics.
[ ] The endpoint can receive metrics and traces at the same time.
[ ] Both gRPC and HTTP work correctly.

Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] The need-change/operator and need-change/helm labels has been applied if applicable.
[x] The appropriate team/.. label has been applied, if known.
[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The config template has been updated if applicable.

Note: Adding GitHub labels is only possible for contributors with write access.

Maybe by default the *_port options should have a value (if there's a default value that makes sense to use) and _enabled be false? Then you would enable OTLP by setting the *_enabled options to true, which is what one might expect.

I think that makes sense, but I don't want to break config for existing OTLP traces users twice (one now with that change and another one for the stable configuration). We can definitely do something like that for the stable configuration, for now metrics_enabled and traces_enabled will work more as failsafes in case something is broken

Merging since the failing test is a known unrelated issue


No module named 'tensorflow'

Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Please fill out the template or your issue will be closed. Thanks!

Try opening issues this way:
https://github.com/tensorflow/tensorflow/issues/6548
or:
https://github.com/tensorflow/tensorflow/issues/647
Possible solutions on stackoverflow:
https://stackoverflow.com/questions/42970106/modulenotfounderror-no-module-named-tensorflow
https://stackoverflow.com/questions/42244198/importerror-no-module-named-tensorflow
https://stackoverflow.com/questions/42970106/modulenotfounderror-no-module-named-tensorflow
https://stackoverflow.com/questions/37756452/no-module-named-tensor-flow-ipython-notebook
https://stackoverflow.com/questions/42528563/no-module-named-tensorflow-error-after-installation

Closing for now but please reopen with the issue if it isn't a problem best addressed on stackoverflow.


Pre-Processing Data

Hey @Hangz-nju-cuhk @liuziwei7 @liuyuisanai!
I am trying to understand and reproduce the results of this repository end-to-end, So I could create a docker file and contribute. I have already read the paper thoroughly and analyzing the code now. But I am having a problem with pre-processing the data. Could you please guide how could I do this? Step by step process.
Looking forward to you.
Thank you.

@MrAsimZahid Hi, you have to specify your problem before we can help you.

@Hangz-nju-cuhk Let's say I have the "VoxCeleb" dataset How could I prepare it for training? By understanding your example I would be able to understand This folder code. How to use it?
Plus do you have access of LRW dataset? I am unable to gain access of it.

@MrAsimZahid Have you read our paper carefully? Cause we state clearly that we do not use Voxceleb for training. The access to LRW dataset can be granted by VGG group and BBC only. Please refer to the dataset homepage.

I have already read the paper carefully 4 times. And I wrote to BBC for LRW dataset access. They have declined it. As they stated:

Issue resolved. I will soon write an article about the whole project.
Thanks @Hangz-nju-cuhk  for helping out.


Add documentation for CA1872

See issue https://github.com/dotnet/runtime/issues/81796 and PR https://github.com/dotnet/roslyn-analyzers/pull/6967.

Internal previews

📄 File
🔗 Preview link

docs/fundamentals/code-analysis/quality-rules/ca1872.md
CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'

docs/fundamentals/code-analysis/quality-rules/index.md
Code quality rules overview

docs/fundamentals/code-analysis/quality-rules/performance-warnings.md
Performance rules

Thank you @mpidash!


Function erroneously returns null when compiled in release mode

I've discovered a bug that causes a function to return null even if every possible return value is non-null. The issue does not happen if the project is compiled in debug mode. Please see the code attached that reproduces this issue.
using System;
using System.Collections.Generic;

namespace DotNetBug
{
    internal class Foo : IDisposable
    {
        public void Dispose()
        {
        }
    }

    class Program
    {
        public static string Aargh()
        {
            using (var foo = new Foo())
            {
                foreach (var i in new List<int>())
                {
                    try
                    {
                        Console.WriteLine("here"); // This doesn't get printed
                    }
                    catch (Exception)
                    {
                        return "wibble";
                    }
                }
                foreach (var i in new List<int>())
                {
                }
            }

            return "wobble";
        }

        static void Main(string[] args)
        {
            Console.WriteLine(Aargh() == null);
        }
    }
}

The code above prints True.
For your information, my system details are below:
$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.300
 Commit:    adab45bf0c

Runtime Environment:
 OS Name:     centos
 OS Version:  7
 OS Platform: Linux
 RID:         centos.7-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.300/

Host (useful for support):
  Version: 2.1.0
  Commit:  caa7b7e2ba

.NET Core SDKs installed:
  2.1.300 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

I can also reproduce the issue on Windows with a slightly older SDK and Host version:
$ dotnet --info
.NET Command Line Tools (2.1.201)

Product Information:
 Version:            2.1.201
 Commit SHA-1 hash:  7932dc6179

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

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.7
  Build    : 2d61d0b043915bc948ebf98836fefe9ba942be11

I tried to reproduce the issue targeting .NET Framework 4.5 and 4.6.1 and it worked correctly in both of those cases.

I ran your code on Mac, Fedora 28 and a clean CentOS 7 image and all return false. Going to move this to the CoreFX to start.

Issue moved to dotnet/corefx #30173 via ZenHub


Support for Portals

Been talking over what would be required for a fully-featured portal api. Here's some features/requirements that should be considered when someone takes a whack at it.
Portals should be ...

managed through a service
persistent
able to be enabled/disabled
have dependent blocks which trigger a check if the portal is still valid
are dependent on a plugin being loaded (no plugin no portal (don't delete it just disable))
be represented by a PopulatorObject
target either a relative position (think nether) or an absolute position (think end)

can target either another portal or a non-portal 'landing zone'
extry / exit zones

support clumping targets so multiple portals can target a single portal in the other dimension (how the nether does it)
behavior must be dependent on the dimension (so a portal type can do different things in different dimensions)
support for delays before activating
Add some additional portal events with phases for entering the portal, just before activation, and upon arrival.
have cake

Any other suggestions are welcome.

How would it work with mods? Usually mods (along with vanilla Minecraft itself) hardcode the "from" and "to" dimension IDs.

have cake

CAKE! CAKE! CAAAAAKE!!!!! :cake:

IIRC this has been a previous issue on this topic: https://github.com/SpongePowered/SpongeAPI/issues/504
Portals

have an entry zone
have an exit zone
may be limited to specific dimensions or behave differently across dimensions
may be constructable/destructible by normal users or admin users
may require a target portal building
may require some kind of permission
may prepare the target location (clear space, place portal etc)
may be instantly or may be triggered after an interval
may cause sounds, particles, potion effects or spawned monsters
may mess with your inventory, require payment
may require a manual teleport confirmation
can be mono directional or bidirectional

have an entry zone
have an exit zone
may be limited to specific dimensions or behave differently across dimensions

added

may be constructable/destructible by normal users or admin users
may require some kind of permission
may cause sounds, particles, potion effects or spawned monsters
may mess with your inventory, require payment
may require a manual teleport confirmation

All of these extra effects / alternate triggering condiditions / permissions are better handled through some better portal events which pre and post phases.

may require a target portal building
may prepare the target location (clear space, place portal etc)

Covered by targeting either another portal or a non-portal landing space.

may be instantly or may be triggered after an interval

Added, we can fix the nether portals lack of a delay at the same time heh.

can be mono directional or bidirectional

A bidirectional is just two portals targeting each other, no need for special handling since they could even be many-to-one (as the nether portals are)

What about one-to-many? I imagine this as a random choice of an exit node. Or should we leave this up to plugins?

yeah if there was an event just before the entity was teleported then it could have a field for which portal is targeted, and you could use this to change the targeted portal.

Update @Deamon5550 ?

Not sure what the point of the API resulted in, but PortalAgents are exposed, and with mods, we aren't able to take advantage of over half of these issues. Going to close as the PortalAgent can be created by plugins to manage their own portals with entry and exit points, and our events are powerful as is to modify portal teleportation. Unless other objections are brought up, I'll keep the issue closed.


CLOUD-55042 Fix some class casting

@bbihari plz review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2369/


Write general docs

@benjaminpope has set up a gh-pages branch for docs https://louisdesdoigts.github.io/dLux/, but I think starting out with this is a good idea, and then we can merge it together cohesively once we have most of it written.

Ahhh, I was wondering what the gh-pages branch was for. I'll keep writing docs on the Documentation branch for now then. But move them over long term.

Also how do we want to document the __init__ and __call__ dunder methods. At the moment I have been documenting both parameter sets just under a #### Parameters: label in Documentation. This is confusing because it does not specify when to provide the parameters. The other option is to have a #### Constructor: heading and then a #### Parameters: heading.
Let me know what you think.

Spoke with @benjaminpope and we are using mkdocs.

Hello again,
Just checking in with an update. The Wavefront branch now contains full documentation for the PhysicalWavefront class although this has been spread over Wavefront and PlanarWavefront (name subject to change, I just wanted something more physical). As part of the documenting I have been updating names to match the PEP 8 style guides. This will be subject to review and will probably require @LouisDesdoigts and I to sit down and review each case individually. Some examples are get_XXYY became get_pixel_grid and invertXY became invert_x_and_y. Some probably more annoying ones will be pixelscale to pixel_scale. @LouisDesdoigts I will probably make a pull request for the Wavefront branch into the GaussianWavefront branch either today or tomorrow and we can go over these details then.
Regards
Jordan

Hi all,
While I was updating the GitHub issue I thought I would comment on the current state of this. I have set-up the mkdocs.yml with the following structure:
nav:
	- Home:
	- User Documentation:
		- Optical System:
		- Layers:
			- Create Wavefront:
			- ect.
	- Developer Documentation:
		- Propagators:
			- Propagator:
			- Variable Sampling:
				- Variable Sampling Propagator:
				- ect.
			- Fixed Sampling:
				- Fixed Sampling Propagator:
				- ect.
		- Wavefronts:
			- Wavefront:
			- Physical Wavefront:
			- Angular Wavefront:
			- Gaussian Wavefront:

These will be available from the GitHub pages by the end of the day and are pending the pull request of the Propagators branch.
Regards
Jordan

So this did not make it through the pull request because of the following error:
ERROR    -  Error building page
            'developer_documentation/propagators/propagator.md': Could not
            resolve equinox
Traceback (most recent call last):
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 78, in _get_item_url
    return self._url_map[identifier]
KeyError: 'src.wavefronts.eqx.Module'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/dataclasses.py", line 945, in resolve_target
    resolved = self.modules_collection[self.target_path]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/mixins.py", line 26, in __getitem__
    return self.members[parts[0]]  # type: ignore[attr-defined]
KeyError: 'equinox'

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

Traceback (most recent call last):
  File "/home/jordan/anaconda3/envs/jax/bin/mkdocs", line 8, in <module>
    sys.exit(cli())
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs/__main__.py", line 192, in build_command
    build.build(config.load_config(**kwargs), dirty=not clean)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs/commands/build.py", line 314, in build
    _build_page(file.page, config, doc_files, nav, env, dirty)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs/commands/build.py", line 220, in _build_page
    output = config['plugins'].run_event(
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs/plugins.py", line 102, in run_event
    result = method(item, **kwargs)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 205, in on_post_page
    fixed_output, unmapped = fix_refs(output, url_mapper)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/references.py", line 191, in fix_refs
    html = AUTO_REF_RE.sub(fix_ref(url_mapper, unmapped), html)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/references.py", line 157, in inner
    url = url_mapper(unescape(identifier))
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 107, in get_item_url
    url = self._get_item_url(identifier, fallback)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 83, in _get_item_url
    new_identifiers = fallback(identifier)
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocstrings/handlers/base.py", line 508, in get_anchors
    anchors = handler.get_anchors(handler.collect(identifier, fallback_config))
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/mkdocstrings_handlers/python/handler.py", line 200, in collect
    doc_object = self._modules_collection[identifier]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/mixins.py", line 27, in __getitem__
    return self.members[parts[0]][parts[1:]]  # type: ignore[attr-defined]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/mixins.py", line 27, in __getitem__
    return self.members[parts[0]][parts[1:]]  # type: ignore[attr-defined]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/mixins.py", line 27, in __getitem__
    return self.members[parts[0]][parts[1:]]  # type: ignore[attr-defined]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/dataclasses.py", line 821, in __getitem__
    return self.target[key]
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/dataclasses.py", line 921, in target
    self.resolve_target()
  File "/home/jordan/anaconda3/envs/jax/lib/python3.10/site-packages/griffe/dataclasses.py", line 947, in resolve_target
    raise AliasResolutionError(self.target_path) from error
griffe.exceptions.AliasResolutionError: Could not resolve equinox

which as all mkdocs errors seem to be is very cryptic.
Any help appreciated,
Jordan

So I managed to fix this using the typing module.

Just an update on the docs front. The gh-pages cannot be deployed at the moment because all the docs point at the old locations under the src. structure. I will update this but not immediately.

The docs pages now deploy and are more or less fully populated with low-level tutorial notebooks, so I consider this to be complete


cchore: add scala days

@jdegoes, kindly take a look.
I couldn't find any relevant information as regards the SEA and the speaker's compensation. I also went through some of their blog posts. No definite information.
/claim #4

Please write an email to them to ask for clarification on whether they would be willing to sign SEA if a speaker they invited requires them to sign SEA on condition of speaking.

Okay, great! I'll do that and get back to you.

@kaf-lamed-beyt I will close this for now, please re-open when you have confirmed. Thank you! 🙏

No problem


Update request: mesa 24.1.1 → 24.1.3

Package name: Mesa
Latest released version: 24.1.3

Current version on the unstable channel: 24.1.1
Current version on the stable/release channel: 24.0.7

[x] Checked the nixpkgs pull requests

Notify maintainers
@primeos
@vcunat

Note for maintainers: Please tag this issue in your PR.
Current version has some bugs like not being able to run Cyberpunk 2077.

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

24.1.2 was on nixpkgs master, already when you opened this.  .3 will come soon.  It's not a small rebuild, so it takes a bit of time because of https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging

.3 is in staging, will come to master and nixos-unstable in its due time.

.3 is in staging

Can you link a PR / commit? I can only find .2 on staging / master.

It wasn't there; now it is: 5a56b5dfb19b1b2db9360a3bc1dd98c7cc42b331


docs: make installing a Downloaded Binary in the $PATH clearer

If you follow the current instructions, you lose the path, since it is only temporary. So we should clarify that you need to actually  add an extra line in ~.bashrc.
This is easy for us (more or less) but for people just starting with Unix and the command line, it's not easy at all. I remember it well.
So let's make it more welcoming for those not yet CLI veterans :)

The Issue

#

How This PR Solves The Issue
Manual Testing Instructions
https://ddev--6777.org.readthedocs.build/en/6777/developers/building-contributing/#testing-a-pr
Automated Testing Overview

Release/Deployment Notes

I agree that we should take care, that the docs don't get bloated, but the current instructions were not correct.
So it's a case of just stating "add the binary in your path, and you're good to go" for the CLI veterans, or something a little bit more elaborate ... it's all about striking the balance.

Please take a look
https://ddev--6777.org.readthedocs.build/en/6777/developers/building-contributing/#testing-a-pr

Thanks @stasadev, stellar work as always, it looks great and works well.

@rpkoller actually does this all the time, so let's wait for his review.

Let's simplify this by doing the same thing in each place, and we probably don't need two tabs.

The only difference between the homebrew and the download-binary is that you need to brew unlink ddev first (perhaps) if you use homebrew, to make sure it doesn't show up in the path. So let's just add that as a step.
Using ~/bin is probably better because it doesn't require sudo. It also doesn't require creating /usr/local/bin on macOS systems that don't have that (and might not have it in PATH)

The bottom line is, this isn't complex, so let's not make it complex.

Probably we should make a script for people, the script could download the particular artifact, choose the right one, etc. Could validate that they have ~/bin in path, or ask them to add it. Could validate that they then have the right thing in their path.

The only difference between the homebrew and the download-binary is that you need to brew unlink ddev first (perhaps) if you use homebrew, to make sure it doesn't show up in the path. So let's just add that as a step.

We add the binary to ~/bin/ddev, and have export PATH="$HOME/bin:$PATH", do we really need to unlink homebrew given that '$HOME/bin' will come first?

It works well, and is more straight forward than before, and will be a good guide for new users. It will also be helpful for me, next time I need to test a PR, and I forgot how to :)
The only thing that might give a false impression, is that the downloaded file will be called something like "2246879499.zip" and not nicely named "ddev-linux-amd64.zip" ... but that's a detail, and most will probably figure this out.
Perhaps it could be made clear where the artifacts are placed? Something like this? I have bolded and italicized my insert. It should just be plain text if it gets added:

Each PR build creates GitHub artifacts, you can use for testing, so you can download the one you need from the PR page under "Download the artifacts for this pull request", install it locally, and test using that build.

Also, could this be added somewhere in case someone wants to try out the process, and just needs a quick zip.file?

You can use the nightly build zip-files if you need a zip-file to try out the process.

But these my comments are just details, and it will be a big improvement in the current state.

The only thing that might give a false impression, is that the downloaded file will be called something like "2246879499.zip" and not nicely named "ddev-linux-amd64.zip" ... but that's a detail, and most will probably figure this out.
if you hover over the different artifact links in the "download the artifacts for this pull request:" list then each file is numeric only that is true, but when downloaded it turns into the name that is listed on list created by github actions (and also seen on the screenshot). so at least i am ending up with the correctly named file name, ddev-macos-arm64.zip in my case. for you the file is not renamed automatically by the browser?

Thanks @rpkoller I did try that, and that's correct -- but I don't click -- I use wget :)

After sleeping on it, I have realized that clicking is the way to go after all, and have added two comments.

Thanks to everyone who helped improve the docs, they look really good now.
https://ddev.readthedocs.io/en/latest/developers/building-contributing/#testing-a-pr


Why isn't the sqlBatch method in this implemention?

I was checking out the SQLite plugin docs and found out that it was possible to execute multiple SQL statements with the  sqlBatch method and it could be GREAT to do the same with this plugin.

SQL Batch is part of #1314. This function should be availble im the next release.

Correct. Aiming for a release this week.

Any news on that one?


allow more than one type string

I've come across a binary which contains two instances of the string "N10__cxxabiv117__class_type_infoE". One of those was the typeinfo name and the other one seems to be unused. This pr allows a type string to exist more than once.

Is the extra string a result of debug info or in a debug section? If so then maybe those should be filtered out.
If that's not the case then I think this merge request is acceptable as is.

Is the extra string a result of debug info or in a debug section? If so then maybe those should be filtered out.

The extra string is in the ".data" section and the correct string is the ".rodata" section. AFAICT the binary in question does not contain debug information.

Is the extra string a result of debug info or in a debug section? If so then maybe those should be filtered out.

The extra string is in the ".data" section and the correct string is the ".rodata" section. AFAICT the binary in question does not contain debug information.

Ok. I'll take a closer look at it tonight.


zn_poly: Add darwin support

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build zn_poly

Success on x86_64-linux (full log)
Attempted: zn_poly
Partial log (click to expand)
All tests passed.
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9
shrinking /nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9/lib/libzn_poly.so
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9/lib
patching script interpreter paths in /nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9
checking for references to /build in /nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9...
/nix/store/3hkdyvsplk0mppsjk7yc8lbr6m79489l-zn_poly-0.9

Success on aarch64-linux (full log)
Attempted: zn_poly
Partial log (click to expand)
All tests passed.
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9
shrinking /nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9/lib/libzn_poly.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9/lib
patching script interpreter paths in /nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9
checking for references to /build in /nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9...
/nix/store/lr71y5api2aqbrx26snvllm0d410wqi7-zn_poly-0.9

Success on x86_64-darwin (full log)
Attempted: zn_poly
Partial log (click to expand)
zn_array_mul_fft_dft()... ok
zn_array_invert()... ok

All tests passed.
installing
post-installation fixup
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/7y6cxdjb0fplgr7glfrksd11qy6ivq6g-zn_poly-0.9/lib
patching script interpreter paths in /nix/store/7y6cxdjb0fplgr7glfrksd11qy6ivq6g-zn_poly-0.9
/nix/store/7y6cxdjb0fplgr7glfrksd11qy6ivq6g-zn_poly-0.9


Option to set colors via hex code

I feel like this had been an option at one time, but I can't say for certain.
An option to set the color of quotes would be nice too, but that may start end up being too much.

Yeah you're right, that disappeared when we dropped jQuery and had to switch color picker. I agree it would be very nice to have, but I haven't found any decent and tiny color picker with text inputs, but I'll look into it some more.

Hmm, any way to write a custom textbox that updates the relevant color
picker?
Yeah, I had a feeling doing quotes would be too much.
On Mon, May 8, 2017 at 6:50 PM, EasyPeasy<EMAIL_ADDRESS>wrote:

Yeah you're right, that disappeared when we dropped jQuery and had to
switch color picker. I agree it would be very nice to have, but I haven't
found any decent and tiny color picker with text inputs, but I'll look into
it some more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/easyfuckingpeasy/chrome-reddit-comment-highlights/issues/8#issuecomment-300022153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJES3hCBZM3GPsmLjiELUe-Xrm9mlB6ks5r36pQgaJpZM4NUmPk
.

That could be done, but I would prefer a picker that supports it rather than hacking it in. So I tried switching to the native color picker and it looks pretty good and it's one less dependency to worry about! I also added ability to change the link & quote text color, but it's hidden behind 'advanced options'! I need to test it (using the very reliable method of test-by-usage) before I push it to chrome web store, so it may take a week until you see the changes :)

Hurray! Can't wait.


Windows 2008r2 guest network got unusable accidentally

Hi, everybody:
I got a guest network issue when using vhost-user + dpdk + win2008r2 image, most parts of vhost-user are coming from opensource ovs-2.7.0.
The issue is: win2008r2 guest vm can send packets to host backend, but host backend can't send pakcets to guest vm. It happens accidentally and I don't know how to trigger/reproduce it. When this issue happens, host backend shows some desc_vring[idx].len is 0, and reseting the guest NIC can solve the problem.
We have analyzed win2008r2 frontend and host backend driver, none of them will modify desc_vring[idx].len to zero except the initialization routine. We also captured the packets coming from/sending to the vm, and no special/huge TCP/UDP packets found.
Any thoughts? Hope for your reply!

Hello,
Can you try and record driver trace on the guest?
https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/NetKVM/Documentation/Tracing.md
https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/Documentation/Tracing.md
Thanks,
Yan.

Closing the issue as there is no response. Please reopen if needed


Mapbox API Key Not Set

Overview
Mapbox API key is not being set on the map, because it is using the new style environment injection introduced in https://github.com/open-apparel-registry/open-apparel-registry/commit/e9b95288a34566410ddfa53e9b122d9e89c31d16. Compile time variable replacement only works when the entire string is specified using dot notation, e.g. process.env.REACT_APP_MAPBOX_TOKEN, not via the indirection being used now.
For unclear reasons, this has not caused a crash on staging.
Expected Behavior
Mapbox API key is set.
Actual Behavior
Mapbox API key is not set.
Steps to Reproduce

Open the developer tools and look under Debugger / Sources, and isolate the missing variable

Additional context
See here for more on build-time environment variables for Create React App: https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables.
We may have to adopt fundamentally different strategies for compile time and run time variables.

This seems to have been a false alarm, so I'm closing this for now.


Dropdown menu appear out of screen with menu-right prop

Hi! 👋
Firstly, thanks for your work on this project! 🙂
I have a use-case in our app where we allow dynamic use of dropdown component and it can appear next to the screen edges. In the current implementation with the menu-right set everything will be okay if the dropdown component is on the right edge of the screen. However, if it's too close to the left edge of the screen the menu will appear out of the screen (minimal repro on CodeSandbox).
I propose a tiny fix to uiv/src/utils/dom.utils.js to disallow negative values for the left property when the menu-right prop is set. Please let me know what you think.
Here is the diff that solved my problem:
diff --git a/node_modules/uiv/src/utils/dom.utils.js b/node_modules/uiv/src/utils/dom.utils.js
index 91bd160..4a00988 100644
--- a/node_modules/uiv/src/utils/dom.utils.js
+++ b/node_modules/uiv/src/utils/dom.utils.js
@@ -189,8 +189,9 @@ export function setDropdownPosition(dropdown, trigger, options = {}) {
   dropdown.style.right = 'auto'
   dropdown.style.bottom = 'auto'
   if (options.menuRight) {
+    const left = containerScrollLeft + rect.left + rect.width - dropdownRect.width
     dropdown.style.left =
-      containerScrollLeft + rect.left + rect.width - dropdownRect.width + 'px'
+      left < 0 ? 0 : left + 'px';
   } else {
     dropdown.style.left = containerScrollLeft + rect.left + 'px'
   }

uiv - version 1.4.1

pls try v1.4.2. Thank you.

pls try v1.4.2. Thank you.

everything works, thank you for publishing the new version so quickly!


Unmask prisma client not generated error

When running the project for the first time, with an empty prisma model, the generate command won't do anything at postinstall. So, when attempting to run the nestjs project locally, the following error occurs:
TypeError: Cannot read property 'PrismaClientKnownRequestError' of undefined
After the fix, the users can now see the original error:
ERROR [ExceptionHandler] @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues

Which is a lot better, to let the user know what happened and what to do.

@omar-dulaimi thanks again for your contribution!


mac problems

pex is saying it could not be launched and to check the console for possible error messages. I'm new to this stuff and i'm kind of confused. Is it not compatible for mac? thanks for the help.

check the console for possible error messages
did you do this?

No reply in a month, closing.


Add fields to update repository API and create branch protection API to match GitHub APIs

Thank you @gmlewis !

@gmlewis Do you have a set release schedule or can this be cut whenever?

@verbanicm - we typically shoot for a release approximately once per month, but we are flexible and can release on demand if there is a pressing need.  We are already at 3 weeks since the last release so I can go ahead and prepare a new one.

@gmlewis No rush, but you are able, then 🎉

@verbanicm - here is the latest release: https://github.com/google/go-github/releases/tag/v50.2.0


Appstudio update test-component-pac-jwoz

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-jwoz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
34 seconds
build-container

✅ Succeeded
27 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
8 seconds
optional-label-check

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-jwoz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
34 seconds
build-container

✅ Succeeded
27 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
8 seconds
optional-label-check

✅ Succeeded
8 seconds
show-summary


NFT test suite warnings

That test suite is printing some warnings related to FullERC721 ABI.
  TasitAction.NFT
WARNING: Multiple definitions for safeTransferFrom
    ✓ should call a read-only contract method
    should throw error when instantiated with invalid args
WARNING: Multiple definitions for safeTransferFrom
      ✓ constructor without address
WARNING: Multiple definitions for safeTransferFrom
      ✓ constructor with invalid address
    ERC721 functions
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
      ✓ should transfer an owned token (121ms)
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
      ✓ should transfer an approved token (161ms)
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
      ✓ should transfer an owned token using safeTransferFrom (132ms)
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
      ✓ shouldn't do a safeTransferFrom to a contract that doesn't implement `onERC721Received` - Contract Subscription (81ms)
WARNING: Multiple definitions for safeTransferFrom
WARNING: Multiple definitions for safeTransferFrom
      ✓ shouldn't do a safeTransferFrom to a contract that doesn't implement `onERC721Received` - Action Subscription (82ms)

@marcelomorgado I think we can close this now


modality_offset

Thank you for the great work, though I have a question about the modality_offset, did you use that during the noise injection training? If no, the only modulation to the embeddings is the noise from N(0, variance), where variance is calculated from multiple samples, is that right?

[ ] Hi, thanks for the interest in our work. We describe in the paper both with and without modalities offset. When it is without the offset so yes, it's just the variance that needs to be estimated using a few samples.


Add new metrics tracker and deploy to IBM cloud button

button is updated
not doing trackers anymore (especially in notebooks)


Milestone 02 feedback

Hello,

I see that you are on track and did everything required in Milestone 02.
The package setup and tests run without any problems
You have efficiently used github workflow efficiently including branching, issue tracker,...
I suggest you relocate your tests folder to the main directory to comply with the conventions

Thanks!

@hsmohammed
Thank you for your feedback.


[bugfix] make copy of dict to avoid "dictionary changed size during i…

…teration" error

Fixes https://github.com/ucldc/rikolti/issues/587#issuecomment-1817012687


Issue 140 add possibility to disable component depending on tau

I'm experiencing issue on first page load with this PR.
Other cases are correct

@lslachciak Thank you :)
There was a problem with calling _render method. The _render did nothing in case if last rendering was done earlier that timeout value.
I have added a parameter to _render method which forces redrawing components tray if timeout was not reached.

I re-verified PR, it works OK
@pkaczmarczy as discussed please create separate issue for dropdown