Fixes #705 : Resume Builder WebApp

Related Issue
Fixes the issue no. #705
Description
The Resume Builder WebApp consists of the following features:

It would make the resume building process a cakewalk!
Just enter the details like, name, personal details, academic details, work experience, skills, etc and boom, the resume will be ready in just a click!
Also, the user will be able to update the details dynamically, including adding or removing sections, update personal information, or update new skills that they've learnt.
The users will also be able to view the live resume, while creating it.
More interestingly, the users will also be able to download their generated resume as PDF.

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[x] Other (specify): Addition of a new project

Screenshots / Videos (if applicable)
https://github.com/CodeHarborHub/codeharborhub.github.io/assets/138088550/c141e353-5535-45a4-a81b-b2a3457f6774
Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

Code Harbor Hub Community Features
Docusaurus Documentation
React.js Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Resources for DSA Features on Our Site:

Tabs: Switch Languages
Line Numbering
Math Equations

@Ajay-Dhangar Done Sir. Kindly check.


chart.css modfied to reduce the size of legend, axis text and labels.

@mark-velez - Please review this pull request.. Thanks, Mark!!!

Thanks @juh7007. The fonts were somewhat small to begin with on some views and appear even smaller with the new styles (see before and after screenshot below). Does this fix a higher priority issue? Sorry if I'm missing it. Copying @cukarthik for feedback.

@mark-velez and @cukarthik - Is this better? I adjusted the size so that it looks better on both person and data density reports.


fix(tier4_simulator_component): add missing argument

Description
This PR necessary for prevent dying of planning_simulator.launch.
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@yukkysaito could you check it?, planning simulator cannot launch because missing parameters


"Project name "test" "app" is not a supported name"

okay but WHY

just WHY

Hi,
In version 8 we will be supporting these names. See https://github.com/angular/angular-cli/pull/13909
The reason being is that historically ember-cli uses the package name if you wanted to use custom plugins and app and test were not allowed.
Ps: it would be great if next time the issue template is followed when filling an issue.
Thanks.


sqs: service docs

What
adds docs for using the SQS service

creating a service, difference between "fifo" and "standard" (and polling for ready)
updating a service, what options you have to configure it
how to set up your secondary queue as a dead-letter queue
binding (and polling for ready)
unbinding (and polling for ready)
destroying

@chrisfarms I contributed to this but you're the PR author, I've left an approval but you should probably merge it to signify approval of my changes

We have said we will not merge this to the public docs until we are ready to release into general availability and it will require tech writer approval etc. As such, I'm going to put it back into draft state for now.

Oh, so we did, thanks

⚠ SQS is not enabled for our tenants yet, because of questions around billing. Don't merge this as it'll be documenting something we don't support yet ⚠

We should add a note to say that it is a beta service in testing and if you would like to test the service get in contact with support. That way we get some feedback and we can announce it to our tenants.


How to launch rrt_exploration package for MiR using simple.launch

Hello Hasauino. I am trying to test your package in an industrial mobile robot as part of my thesis. Here, this device launches the navigation stack automatically so the case is slightly different. I managed to run gmapping and it does without problems. So, at this point as everything is set up properly I am trying to launch your package.
I saw that you made the proper modifications for a unique robot so I don't need to make any modifications and mappings of the topics related with robot_1.
So what I've tried so far the following procedure:
From the mir_robot which provides IP bridging, remapping and removing of topics,... stuff that makes possible a good connection between my computer and the robot.
roslaunch mir_driver mir.launch disable_map:=true
Now I roslaunch this launcher I have created to execute gmapping, rviz and setting use_sim_time = false:
<launch>

  <param name="use_sim_time" value="false" />

  <arg name="scan_topic" default="/f_scan" />

  <node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen">

    <param name="odom_frame" value="odom"/>
    <param name="base_frame" value="base_link"/>
    <param name="map_frame" value="map"/>

    <!-- Process 1 out of every this many scans (set it to a higher number to skip more scans)  -->
    <param name="throttle_scans" value="1"/>

    <param name="map_update_interval" value="5.0"/> <!-- default: 5.0 -->

    <!-- The maximum usable range of the laser. A beam is cropped to this value.  -->
    <param name="maxUrange" value="5.0"/>

    <!-- The maximum range of the sensor. If regions with no obstacles within the range of the sensor should appear as free space in the map, set maxUrange < maximum range of the real sensor <= maxRange -->
    <param name="maxRange" value="10.0"/>

    <param name="sigma" value="0.05"/>
    <param name="kernelSize" value="1"/>
    <param name="lstep" value="0.05"/>
    <param name="astep" value="0.05"/>
    <param name="iterations" value="5"/>
    <param name="lsigma" value="0.075"/>
    <param name="ogain" value="3.0"/>
    <param name="minimumScore" value="0.0"/>
    <!-- Number of beams to skip in each scan. -->
    <param name="lskip" value="0"/>

    <param name="srr" value="0.01"/>
    <param name="srt" value="0.02"/>
    <param name="str" value="0.01"/>
    <param name="stt" value="0.02"/>

    <!-- Process a scan each time the robot translates this far  -->
    <param name="linearUpdate" value="0.1"/>

    <!-- Process a scan each time the robot rotates this far  -->
    <param name="angularUpdate" value="0.05"/>

    <param name="temporalUpdate" value="0.1"/>
    <param name="resampleThreshold" value="0.5"/>

    <!-- Number of particles in the filter. default 30        -->
    <param name="particles" value="10"/>

    <!-- Initial map size  -->
    <param name="xmin" value="-10.0"/>
    <param name="ymin" value="-10.0"/>
    <param name="xmax" value="10.0"/>
    <param name="ymax" value="10.0"/>

    <!-- Processing parameters (resolution of the map)  -->
    <param name="delta" value="0.02"/>

    <param name="llsamplerange" value="0.01"/>
    <param name="llsamplestep" value="0.01"/>
    <param name="lasamplerange" value="0.005"/>
    <param name="lasamplestep" value="0.005"/>

    <remap from="scan" to="$(arg scan_topic)"/>
  </node>

  <node pkg="rviz" type="rviz" name="rviz" />

</launch>

And finally the last thing I do is:
roslaunch rrt_exploration simple.launch
The problem comes when I try to publish the points in RViz, there won't appear any of them RViz so they won't be published and your algorithm won't run. What am I doing wrong?

Hi chbloca,
I would first check the topic names on which Rviz publishes clicked points, which you use to define the area. The global and local detectors expect the points to be published on /clicked_point. This topic is by default the topic name Rviz publishes any clicked point. Most likely this is not your problem.
The second thing you need to check, whether you visualize  Markers on Rviz. The detectors publish Marker messages on /global_detector_shapes and  /local_detector_shapes.
I have added a launch file in the rrt_exploration_tutorials package, for launching a robot without name prefix. It uses a Rviz config file to visualize everything correctly. You may need to make changes according to your topic names.
If the problem still persists, can you show me all the topic names when you run your system?

I just added this line in the launcher I posted:
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find rrt_exploration_tutorials)/launch/includes/rviz_config/simple.rviz">
  </node>

Now with the RViz running your custom configuration it works! Just the rrt algorithm, but the robot won't move.

Here are the list of topics:

Are the command move orders based on 2D Nav Goal? Because when I try to send orders manually to the robot with 2D Nav Goal, it won't move. Maybe that's the problem. So if I manage to solve this, will it work? Or what might be another problem?
Thanks for your quick answer, Hasauino.

Can you also show me your tf tree, all the frames?

I will try to answer your questions and provide your the rosservice list tomorrow when I have access again to the robot.
Meanwhile, here I provide you the tf tree and the frames.

frames with launcher.pdf

Here is the rosservice list:

The topic used to send Nav goal is: /move_base_simple/goal
move_base action is for the navigation stack
relative_move_action is a feature built-in the robot which provides the posibility of moving it with a virtual joystick as if it was a "rosrun teleop_twist_keyboard teleop_twist_keyboard.py" but smoother.

Hi chbloca,
It looks like both the filter and the assigner nodes are not running. I first will list what both of these nodes depend on. Then I will try to expect what your setup is missing.
1-Filter node:
It depends on:

Global cost maps, which the navigation stack should be publishing.
the cost maps are expected to be published on /move_base_node/global_costmap/costmap.
Map.

2-Assigner node:
it depends on:

Map.
tf:

/base_link to be the robot frame
a transformation between /map frame to /base_link.

/move_base action server. Which is normally run by the navigation stack.
/move_base_node/NavfnROS/make_plan service. Also run by the navigation stack.

What I think is missing in your setup:

Global costmap.
are you sure it's being published? if so, is it on the same topic name /move_base_node/global_costmap/costmap? why is it marked orange in Rviz, indicating a warning or error.
If there is no problem with the global costmap, the filter node should be running. The only possible reason why it's not is the global cost map.

-/move_base_node/NavfnROS/make_plan service.
In your rosservice list it was not there. I also don't see other navigation stack services. They are not required though.
-Regarding the move_base action. You said you were not able to send a Nav goal manually. This is strange, since Rviz publishes on the /move_base_simple/goal  topic too. If the move_base action is running correctly, you should be able to send Nav goals. Try to check tool properties of Rviz, and check 2D Nav goal topic if it's set correctly.

Ok great!   :thumbsup:
glad it finally worked. I will close this issue now.
thanks for providing this launch file, I think it might be helpful for others running through the same problem


Usability Testing for Each Supported Task

Currently ExplainaBoard supports several tasks. We should try to do one usability test for each task. I'll add a check when the usability test has been started, and cross it off when it's finished.

[x] Text classification (https://github.com/neulab/explainaboard_web/issues/63)
[x] Summarization (https://github.com/neulab/explainaboard_web/issues/77)
[x] Named entity recognition (https://github.com/neulab/explainaboard_web/issues/89)
[x] SQuAD-based extractive QA (#103)
[x] Aspect-based sentiment classification (https://github.com/neulab/explainaboard_web/issues/106)
[x] Text pair classification (https://github.com/neulab/explainaboard_web/issues/101)
[x] KG link tail prediction (https://github.com/neulab/explainaboard_web/issues/98)

Done, yay!


[stable/mailhog] Deprecate chart after moving to new repo

Signed-off-by: Reinhard Nägele<EMAIL_ADDRESS>

/lgtm


Inference

I know that it’s in the notes that inference doesn’t work in all cases, but is there a reference anywhere about how to even test that? That is, how would you generate the spectrogram for just one audio file and then run it through the learn.load module ?

Here's a function I wrote that accepts a path to a wav file, generates the spectorgram, and performs inference
from IPython.display import Audio
config = AudioConfig()
config.duration = 4000
config.resample_to = 16000
config.cache = False

def predict_from_file(wav_file, leaner, verbose=True):
    item = AudioItem(path=wav_file)
    if verbose: display(item)
    al = AudioList([item], path=item.path, config=config)
    ai = AudioList.open(al, item.path)
    y, pred, raw_pred = leaner.predict(ai)
    if verbose: print(y)
    if verbose: print(pred.item())
    if verbose: print(raw_pred)

I create a new AudioConfig, but you should be able to use the same config from the learner
before calling this, you'll need to export the learner like so:
export_learn = load_learner({path_to_learner})

then call the function:
wav_file = {path_to_wav}
predict_from_file(wav_file, export_learn)

This will bring out the predictions from the given file

@tbass134 Would you consider creating a PR adding this code in for other people to use?
@srevay  Did this solve you problem?

yes thank you @tbass134 !

@mogwai : I am new to pytorch and wanted to know how I can load the model after saving it like you did using learner.save() #function and then do the inference from the saved model, so as to use it separately from the training part. Thanks


Can't input chinese

Steps
1.create a form with a input
2.turn on  chinese input
3.try to type some chinese character
4.the input only show the ascii character instead of the chinese
Expected Result
the input should get the chinese character
Actual Result
The input only show the ascii character
Version
semantic-ui-react: 0.72.0
mac osx: 10.12.6
chrome: 60.0.3112.113

The default <Input /> renders a plain HTML <input />.  If this does not work it is likely something unrelated to SUIR.  Does this work for you with a default React <input /> element?

I did some more test and found that the input component has following problem even input english:
I input some english character, move the cursor to the beginning, try to input some characters, however, the cursor will move to the end automatically after I input ONE chacracter so the rest characters will be input into the end.

Please fork http://codepen.io/levithomason/pen/ZpBaJX and demonstrate the problem.  Will reopen if we can show the issue.  Right now, I believe the docs and tests are all working correctly.


Prepare Blockwise + IO infrastructure

This PR is an optional prerequisite for #7042.  In other words, this includes a small subset of the changes introduced in that PR, and is intended to simplify the review process.
Changes included here:

Introduces the io_deps input/attribute to a Blockwise layer.  This attribute is needed to materialize a collections within a Blockwise layer (i.e. IO).
Moves dask.array's zeros, ones, and full over to Blockwise.
Adds distributed test coverage for array creation with zeros, ones, and full.

@jrbourbeau @jsignell - We can review/merge this PR before #7042 (to simplify the review process).

Thanks you for the review @crusaderky - Your comments/suggestions are very valuable!
I am still unsure about the current blockwise_io_reg registration approach.  I will try my best to think of something a bit cleaner.

Oops - looks like #7312 just added a new clone method to Blockwise.  Just added a fix to make sure io_deps are passed through when a layer is cloned.

Oops - looks like #7312 just added a new clone method to Blockwise.  Just added a fix to make sure io_deps are passed through when a layer is cloned.


Using reverseData also reverses series

For me, reversing the series (css-classes / styles) is undesirable. All I want is to be able to reverse the order in which the items appear for the bar chart. This is because I have non-reversed pie charts and reversed bar charts that I would like to use together (matching items = matching colors).
Is the current behavior really desirable with reverseData: true? Any advice on how to achieve this?

Why aren't you using class names for your series?
  series: [{
    className: 'series-1',
    data: [5, 2, -4, 2, 0, -2, 5, -3]
  }, {
    className: 'series-2',
    data: [4, 3, 5, 3, 1, 3, 6, 4]
  }, {
    className: 'series-3',
    data: [2, 4, 3, 1, 4, 5, 3, 2]
  }]

And then manually apply styles to those classes? This way the reversing wont have any effect on the automatically created class names.

Closing becauase of inactivity

https://github.com/gionkunz/chartist-js/issues/851


Add orders seed data

think of faking dynamic data flow in order of having something close to real data populating

https://fakerjs.dev/


How to use mediapipe on iOS?

I have created an iOS project according to the tutorial, but I get an error when I run it:
Showing Recent Messages

/Users/apple/Desktop/Code/MediaPipe/mediapipe/mediapipe/examples/ios/facedetectioncpu/BUILD:34:16: //mediapipe/examples/ios/facedetectioncpu:FaceDetectionCpuApp_entitlements: missing input file'//mediapipe:provisioning_profile .mobileprovision'
2,
Showing Recent Messages
/Users/apple/Desktop/Code/MediaPipe/mediapipe/mediapipe/examples/ios/facedetectioncpu/BUILD:34:16 1 input file(s) do not exist
Showing Recent Messages
Build did NOT complete successfully

Showing Recent Messages
/Users/apple/Desktop/Code/MediaPipe/mediePipe_ios/Mediapipe.xcodeproj/.tulsi/Scripts/bazel_build.py:581: Bazel build failed with exit code 1. Please check the build log in Report Navigator (⌘9) for more information.
This is my first question,
Another question is: How can I package it into a framework and use the ability of mediapipe in my project?
thanks！

Hi @cckv, For your first query look at this. And if you still not resolved, Please let us know at what step here you are facing the error.

@sgowroji thanks, I will try it.

@sgowroji  i try it , but here is the error:
MacBook-Pro mediapipe % bazel build -c opt –config=ios_arm64 mediapipe/example/ios/handtrackinggpu:HandTrackingGpuApp
ERROR: Skipping '–config=ios_arm64': Bad target pattern '–config=ios_arm64': package names may contain A-Z, a-z, 0-9, or any of ' !"#$%&'()*+,-./;<=>?[]^_{|}~' (most 7-bit ascii characters except 0-31, 127, ':', or '\') ERROR: Bad target pattern '–config=ios_arm64': package names may contain A-Z, a-z, 0-9, or any of ' !"#$%&'()*+,-./;<=>?[]^_{|}~' (most 7-bit ascii characters except 0-31, 127, ':', or '')
INFO: Elapsed time: 0.281s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

@sgowroji
when i build, here has a error:
ERROR: /Users/apple/Desktop/cckv/Code/MediaPipe/mediapipe/mediapipe/examples/ios/iristrackinggpu/BUILD:34:16: in entitlements rule //mediapipe/examples/ios/iristrackinggpu:IrisTrackingGpuApp_entitlements: Traceback (most recent call last):
File "/private/var/tmp/_bazel_cckv/eb5acd1c8a9a78619e586b58525642aa/external/build_bazel_rules_apple/apple/internal/entitlement_rules.bzl", line 223, column 40, in _entitlements_impl
bundling_support.validate_bundle_id(bundle_id)
File "/private/var/tmp/_bazel_cckv/eb5acd1c8a9a78619e586b58525642aa/external/build_bazel_rules_apple/apple/internal/bundling_support.bzl", line 92, column 25, in _validate_bundle_id
fail("Invalid character(s) in bundle_id: "%s"" % bundle_id)
Error in fail: Invalid character(s) in bundle_id: "SEE_IOS_INSTRUCTIONS.mediapipe.examples.IrisTrackingGpu"
ERROR: Analysis of aspect '@tulsi//:tulsi/tulsi_aspects.bzl%tulsi_sources_aspect of //mediapipe/examples/ios/iristrackinggpu:IrisTrackingGpuApp' failed; build aborted: Analysis of target '//mediapipe/examples/ios/iristrackinggpu:IrisTrackingGpuApp_entitlements' failed
General failure: Bazel aspects could not be built.

Hi @cckv, Could you please share your code repo or changes.

thank you for your reply，but code repo is too large.

@sgowroji here has a new error:

@sgowroji Thank you very much, I have successfully run the demo, but how can I apply mediapipe to my own project? Are there related documents for reference?

Hi @cckv, Please check  here

Hi @cckv, Did you able to build the code or still facing any error?

build a framework is so complex for a iOS developer, Gave up temporarily!

@cckv look at my example here. I did it base on an article. https://github.com/google/mediapipe/issues/2132

That's great for sharing with the community. We are closing this issue now. Thanks!

@sgowroji Thank you very much, I have successfully run the demo, but how can I apply mediapipe to my own project? Are there related documents for reference?

What's your solution to this problem? I also encountered it


[staging/cloud-controller-manager] move cloud-controller-manager to ex

move cloud-controller-manager to examples

Similarly, it would be great if you can bring this example by importing commit history for the file so we can keep the contribution credits, history and other context on this file. [@]sebgoa might be able to help on how to do that.


Oj Runtime Dependency

Would you accept a PR for removing Oj as a dependency? Since this is a C gem, it prevents non-MRI VMs from using this gem. With MultiJson, just having Oj loaded in the host app is enough to make to_json use it.

Interesting... I like the concept. I'm curious if we can somehow detect MRI vs non-MRI to load Oj on automatically when using MRI. Otherwise, I think it will be a matter of good documentation. I will confess that I've not done much work outside of the MRI world.

@grossadamm a few others and myself have been working on a similar serialization gem, and we also came across this problem. We decided to make it configurable to allow the host app to specify which JSON library to utilize: https://github.com/procore/blueprinter#oj
Just wanted to share what our approach was because it could be useful for this as well.

I will do some reading and see what we can learn from your implementation. Thanks for sharing!

Released as a part of version 1.1.0

Is Oj no longer needed? Should we be installing Oj separately? I'm a bit confused as to what the protocol is now.

Looks like all you need to do now is have the oj gem installed. If it
detects that oj is installed it will automatically require and use it.
On Tue, May 15, 2018 at 5:14 PM Trevor Hinesley<EMAIL_ADDRESS>wrote:

Is Oj no longer needed? Should we be installing Oj separately? I'm a bit
confused as to what the protocol is now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/fast_jsonapi/issues/7#issuecomment-389354443,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFQ5O7yD2NGPJX7UOhh3mrpHtkb2t3wKks5ty2-CgaJpZM4R1mNS
.

--
Philip Nguyen
<EMAIL_ADDRESS>eBay ID: ffmegaman
Skype ID: ffmegaman


Detect mismatch between idlgen nuget version and the version required by the IDE extension

Related to #56 , as devs can add idlgen/idlgen.h to pch.h, and updating the nuget can cause clang to complain.


[Bug]: server crash on startup

General Info

[X] I am running a modpack
[ ] I can reproduce this issue consistently in single-player
[X] I can reproduce this issue consistently in multi-player
[X] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
[X] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the mod

Forge version
40.1.0
Mod version
1.18.2-1.0.0
Java version
17
Issue Description
A bug happened!
server fails to start here is the bug report
https://pastebin.com/BXxb8Cki
Additional Information
No response

Fix has been uploaded (Forgot to upload it a week ago)


Warnings in console when installing CLI

When running npm i -g @sasjs/cli the following appears in the console:

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

Expected - there are zero warnings in the console when installing SASjs packages
This should be easy to fix - npm i @types/tough-cookie

fixed now


Checklist in "Completed Objectives" is broken

The bolded words in this section: https://chibisnorlax.github.io/acnhbeginners/walkthrough/day 1/#completed-objectives are appearing broken. They either do not have spaces at all or are formatted vertically? Photos posted in Discord for reference.

@cestislife you fixed this right?

herp derp. yes it's fixed by using html instead of the baked in markdown.


Explicitly list maintenance changes that can be self merged

Part of ongoing effort to reduce total amount of review effort needed, so it can be spent towards things where the return on investment of review time is high.

I would like at least two approvals before merging this.


code generation for repetitive graph structure

First, thanks for this great project!
My question is about way to generate the code taking advantage of the repetitive graph structure. For example, in the HMM case, the message passing algorithm could be really short with for loops. However, when I execute the HMM demo varying the number of samples, I found that the amount of the generated source code linearly increased as the n_sample increases.
Not only this will take long computational time, but also stackoveflow error occurs, when n_sample is large. In my application n_sample would be around 30000, and it will be problematic. I think the mentioned problem can be avoided by generating the code using for-loops.
So, my question is

is there a way to generate code using repetitive structure?"
and if it's not possible
is there any workaround to avoid the stackoverflow error when the graph is large"

Just for information, I paste the source code (copied and pasted from the demo and change n_sample) to reproduce the stackoverflow error.
tmp.jl
using ForneyLab

function main()
    n_samples = 30000
    A_data = [0.9 0.0 0.1; 0.1 0.9 0.0; 0.0 0.1 0.9] # Transition probabilities (some transitions are impossible)
    B_data = [0.9 0.05 0.05; 0.05 0.9 0.05; 0.05 0.05 0.9] # Observation noise

    s_0_data = [1.0, 0.0, 0.0] # Initial state

    # Generate some data
    s_data = Vector{Vector{Float64}}(undef, n_samples) # one-hot encoding of the states
    x_data = Vector{Vector{Float64}}(undef, n_samples) # one-hot encoding of the observations
    s_t_min_data = s_0_data
    for t = 1:n_samples
        a = A_data*s_t_min_data
        s_data[t] = sample(ProbabilityDistribution(Categorical, p=a./sum(a))) # Simulate state transition
        b = B_data*s_data[t]
        x_data[t] = sample(ProbabilityDistribution(Categorical, p=b./sum(b))) # Simulate observation

        s_t_min_data = s_data[t]
    end

    g = FactorGraph()

    @RV A ~ Dirichlet(ones(3,3)) # Vague prior on transition model
    @RV B ~ Dirichlet([10.0 1.0 1.0; 1.0 10.0 1.0; 1.0 1.0 10.0]) # Stronger prior on observation model
    @RV s_0 ~ Categorical(1/3*ones(3))

    s = Vector{Variable}(undef, n_samples) # one-hot coding
    x = Vector{Variable}(undef, n_samples) # one-hot coding
    s_t_min = s_0
    for t = 1:n_samples
        @RV s[t] ~ Transition(s_t_min, A)
        @RV x[t] ~ Transition(s[t], B)

        s_t_min = s[t]

        placeholder(x[t], :x, index=t, dims=(3,))
    end;

    pfz = PosteriorFactorization(A, B, [s_0; s], ids=[:A, :B, :S])
    algo = messagePassingAlgorithm(free_energy=true)
    source_code = algorithmSourceCode(algo, free_energy=true);
end
main()

julia> include("tmp.jl")
ERROR: LoadError: StackOverflowError:
Stacktrace:
 [1] promote_eltype(::Set{Edge}, ::Set{Edge}, ::Vararg{Set{Edge}, N} where N) (repeats 39991 times)
   @ Base ./abstractarray.jl:1463
in expression starting at /home/h-ishida/documents/julia/ForneyLab.jl/tmp.jl:45

Hi @HiroIshida! Thanks for trying out ForneyLab.jl (FL).
Unfortunately, FL doesn't take advantage of "the repetitive graph structure" automatically.  This means that you can't avoid StackOverflow errors for your problem by coding it up as you did.
However, you have a couple of options to circumvent the problem. First, you can split your data into batches and use batch learning procedure, where the posterior of the previous batch is used as a prior for the next batch. Here is a code snippet for your problem (also check this issue and this demo)
using ForneyLab
import ProgressMeter

n_samples = 30000
A_data = [0.9 0.0 0.1; 0.1 0.9 0.0; 0.0 0.1 0.9] # Transition probabilities (some transitions are impossible)
B_data = [0.9 0.05 0.05; 0.05 0.9 0.05; 0.05 0.05 0.9] # Observation noise

s_0_data = [1.0, 0.0, 0.0] # Initial state

# Generate some data
s_data = Vector{Vector{Float64}}(undef, n_samples) # one-hot encoding of the states
x_data = Vector{Vector{Float64}}(undef, n_samples) # one-hot encoding of the observations
s_t_min_data = s_0_data
for t = 1:n_samples
    a = A_data*s_t_min_data
    s_data[t] = sample(ProbabilityDistribution(Categorical, p=a./sum(a))) # Simulate state transition
    b = B_data*s_data[t]
    x_data[t] = sample(ProbabilityDistribution(Categorical, p=b./sum(b))) # Simulate observation

    s_t_min_data = s_data[t]
end

# Initialize batch size
batch_size = 100
n_batch = Int(n_samples/batch_size)

g = FactorGraph()

# clamp placeholders to pass priors as data
@RV A ~ Dirichlet(placeholder(:A_0, dims=(3, 3)))
@RV B ~ Dirichlet(placeholder(:B_0, dims=(3, 3)))
@RV s_0 ~ Categorical(1/3*ones(3))

s = Vector{Variable}(undef, batch_size) # one-hot coding
x = Vector{Variable}(undef, batch_size) # one-hot coding
s_t_min = s_0
for t in 1:batch_size
    @RV s[t] ~ Transition(s_t_min, A)
    @RV x[t] ~ Transition(s[t], B)

    s_t_min = s[t]

    placeholder(x[t], :x, index=t, dims=(3,))
end;

pfz = PosteriorFactorization(A, B, [s_0; s], ids=[:A, :B, :S])
algo = messagePassingAlgorithm(free_energy=true)
source_code = algorithmSourceCode(algo, free_energy=true);
eval(Meta.parse(source_code))

# Define values for prior statistics
A_0_prev = ones(3, 3)
B_0_prev = [10.0 1.0 1.0; 1.0 10.0 1.0; 1.0 1.0 10.0]

n_its = 10

s_ = []
A_ = []
B_ = []
F = Matrix{Float64}(undef, n_batch, n_its)

ProgressMeter.@showprogress for i in 1:batch_size:n_samples-batch_size
    data = Dict(:x => x_data[i:i+batch_size], :A_0 => A_0_prev, :B_0 => B_0_prev)
    marginals = Dict{Symbol, ProbabilityDistribution}(:A => vague(Dirichlet, (3,3)), :B => vague(Dirichlet, (3,3)))
    for v in 1:n_its
        stepS!(data, marginals)
        stepB!(data, marginals)
        stepA!(data, marginals)

        # Compute FE for every batch
        F[div(i, batch_size)+1, v] = freeEnergy(data, marginals)
    end

    # Extract posteriors
    A_0_prev = marginals[:A].params[:a]
    B_0_prev = marginals[:B].params[:a]

    # Save posterior marginals for each batch
    push!(s_, [marginals[:s_*t] for t in 1:batch_size])
    push!(A_, marginals[:A])
    push!(B_, marginals[:B])
end

I will leave data extraction for you.
In case you want to run inference for the full graph with 30000 observations, I refer you to another package that is developed in our lab Reactive.jl. In particular, you can look up this demo which is exactly what you want. Note when creating big models in ReactiveMP.jl you must supply an optional argument limit_stack_depth to avoid StackOverflow errors, e.g.
... = create_my_model(..., options = (limit_stack_depth = 100, ))

Hope this helps!

@albertpod
Thank you very much for the prompt response and suggestion! I tried your method, and it works.
I will also look deeper into ReactiveMP.jl (new programming paradigm is hard to learn but seems much faster than FornyLab)

@HiroIshida you are welcome.
Don't be discouraged by the engine of ReactiveMP.jl. While it implements message passing differently, from the user's perspective it is very similar to ForneyLab.jl. Reach us out at ReactiveMP repo if you have other questions.
Good luck!


Add Watch support in the personal workspaces virtual workspace

@sttts is this p3?

Clearing milestone to re-triage


[Suggestion] EnderBattery

Kinda self-explanatory, akin to the existing tank and chest, a way to teleport RF, (seeing as tesseracts won't be back for a while, and EIO's thing is weird), possibly with an in-inventory item to charge your inventory.

There are already a plethora of mods that offer teleportation of energy.  Additionally, Ender Storage was always a concise mod that could work along vanilla as well as along other mods.  Until such a time that vanilla has an energy system of its own, I do not agree with adding an energy teleportation in Ender Storage.

Yeah but they all either are buggy (FluxNetworks) or can only transmit a small amount of power.

Your argument does not change my position at all.


iOS 9 Song Does not start playing

I also found this problem.

There seems to be a problem playing MP4's on iOS9. I've detailed the issue here,
http://stackoverflow.com/questions/32809111/mp4-m4a-audio-streaming-issue-in-ios9-using-audiotoolbox

the same problem,who can solve this problem?


Bots have the ability to break and pick up objects from the ground

Can you make the bots of zombie mods have the skills to be able to break objects on the ground and then be able to pick them up?

I tried and it doesn't help!

@jeefo Can bots be made to break doors or windows during a game?

@jeefo Is there a solution because the bots are constantly standing near fallen weapons until the round is over?

I believe issues should be fixed in current master.


Image URL not escaping

Characters like ampersand can cause xmlParseEntityRef on images URL, image:loc need to xml-escape.
https://github.com/ekalinin/sitemap.js/blob/8c96fb32558a10fd9db9e8bf0f60d7146752c210/lib/sitemap.js#L165

This appears to also be present in the video tag and most likely others as well


Global Roster

It looks as if Candy.Core.Action.Jabber.Roster() doesn't reach out for the global roster, nor can I find any place that would already be easily available to get it to return this to me... I am working on a global roster plugin, but it looks as if I'd need to include the strophe plugin for roster to the grunt file (which also needs to be updated) and then add a function to run it (provided something like fetchGlobalRoster: true is set in the Candy.init() function) and then perhaps add a trigger event for each incoming stanza?
Should I leave it at that and allow the plugin I'm working on to handle creating a lobby-like roster, or should I continue that in Candy core?
Or, can you think of a way to accomplish this without altering Candy's core?

A global roster is now included in Candy core.


[cmake] Refactor check_working_std_regex into its own cmake file Swif…

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

…tCheckCXXNativeRegex.cmake and rename it appropriately.
It is better to have the top level CMake file only consist of includes and
settings, rather than have it include business logic like this.
Should be NFC.

@swift-ci Please test and merge


Downgrade push-build-action

Reasons for downgrade & how to later upgrade docker build workflows can be found in #274


Possibly broken branching when expressions are repetitions

I definitely could be missing something here, but I'm having a bit of trouble creating a "fallback" rule for when parsing of one rule fails. For example:
Expr = A / Anything
A = "a"+
Anything = .*

For an input like aaaab, I'd expect this grammar to first test the A rule, which would fail due to the b being present in the input. It should then try the Anything rule which should be able to parse this input successfully (this can be confirmed by removing the A branch).
However, it seems that it fails at the first sign of trouble when parsing the A branch:
Error: Expected "a" or end of input but "b" found.
 --> input:1:5
  |
1 | aaaab
  |     ^

This behavior seems odd to me since the documentation for branches states:

Try to match the first expression, if it does not succeed, try the second one, etc. Return the match result of the first successfully matched expression. If no expression matches, consider the match failed.

It does seem to work with a simpler grammar like:
Expr = A / Anything
A = "a"
Anything = .

I tried to work around this issue by doing the following:
Expr = (!A Anything) / A
A = "a"+
Anything = .*

But I still get the same error, I think possibly because the A rule is being processed for the negation and causes the parsing to fail early still?

I did some digging into the Peggy source code and I believe I may have found the root cause for this. For rules that are "optional" in some way (i.e. A? or A*), they are treated as "always matches" which causes the parser generator to "ignore" any following branches since they are always expected to match.
I'm not sure if this is intended behavior -- it seems a bit counterintuitive to me. I believe changing these rules to be "sometimes match" rules fixes the issue I was experiencing. Is this an acceptable solution? If so, I'm happy to make a PR for this!

This is intended. Your A rule is matched, but implicit EOF rule after it is not, that is why you get error. In other words, you should read your grammar as:
Expr = (A / Anything) EOF
A = "a"+
Anything = .*
EOF = !.

Ah, that makes sense. The A rule is matched successfully which makes it not follow the Anything branch so the only valid characters here are a or an EOF.
I guess in this case the fix that would give me my intended behavior is asserting in the A rule that the as reach to the EOF so it will not match for as mixed with other characters:
Expr = A / Anything
A = "a"+ EOF
Anything = .+ EOF
EOF = !.

Thanks for the help -- sorry for the noise!


getting an error when joining a group

Hello,
I am getting an error when joining a group
await<EMAIL_ADDRESS>joinGroup : exception: XMPP error reply received from<EMAIL_ADDRESS>XMPPError: registration-required - auth [Membership is required to enter this room]

Looks like you are trying to join member-only room, Where first you need to add the member to that group and you can try to join that room again later, If still happens please re-open the issue.


[5045] Add new academic year filter to registered trainees index page

Context
Trello: https://trello.com/c/q3r1pMkl/5045-l-add-new-academic-year-filter-to-registered-trainees-index-page
We want to be able to filter registered trainees by their academic year. This PR introduces that. The new trainee filter for academic year can also be used for the performance profile reports.
One thing to note - when selecting trainees by their academic year I have reused def trainees_starting and def trainees_ending. These methods also return trainees that have no start/end academic cycle in the current academic year. As we are only implementing the filter for registered trainees, this shouldn't really affect the trainees returned (they should all have start and end cycles by this point). But calling AcademicCycle.current.total_trainees will return those with nil cycles as well.
New filter:

Changes proposed in this pull request

Add def self.previous and def total_trainees to AcademicCycle
Add def academic_year to Trainee::Filter
Add relevant filter UI

Guidance to review

Navigate to registered trainees, observe filter
Test filter returns correct trainees
If possible try and create some trainees with start/end cycles that span across academic years - check they are returned correctly
Check counts make sense
Test the filter as an admin too

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [L] Add new academic year filter to registered trainees index page


Implement support for IAM Roles

Description
Fixes #000.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide
Implements support for inspecting and nuking IAM Roles.

Thanks for review! I'm closing this PR in favor of https://github.com/gruntwork-io/cloud-nuke/pull/330 which merges together #251 and my own changes.


lost 683 dfi under transfer

What happened:
I had to little dfi in the voult and had to send some dfi from another wallet to make up for it. When i sent the dfi back to the original wallet i only recieved 586 dfi instead of 1270 dfi. It says on defiscan that the missing dfi was sent straight to another adresse before it was sent back again to to original wallet, but it was never recieved by the origanl wallet which i tjink can be verified by the amount of dfi on the wallet.
What you expected to happen:
I expected to recieve 1270 dfi back in the original wallet
How to reproduce it (as minimally and precisely as possible):
send dfi from an app wallet to a mobile wallet and then send it back
Anything else we need to know?:
transaction as it was sent:
https://defiscan.live/transactions/661bac2fe27ab6a2db633ec1488eac51cdbe110007da5e04d7924fa3ee782ba2
transaction as it was recieved:
https://defiscan.live/transactions/5c16b60a6cae6b004eed26dd469aa1a7b71569b55ad5c8cd4f850c9e6b39551f
I dont understand why it was split up like this and what happened with the last 683 dfi...

the transfer took way longer for the last 683 dfi for some reason i dont understand but it ended up in the wallet at last


Add Sound Swap

Adds the option to add sound swaps for transmogs

Should only fire when the transmog is applied
Can have multiple sound swaps per transmog to cover specific weapon sounds

Undid changes to TransmogSetPanel.java to resolve the conflicts from rebasing

I pushed 2 commits, let me know if they're good.

LGTM. Honestly pretty sick you can get the preview of sounds, had no idea you could make that happen. Thanks for cleaning it up.


Allow a button to look like a link or link to work like a button

Summary
Its common to have an element that looks like a link but behaves like a button. Its a button that looks like a link.
Basic example
Currently with the link component you can add an on:click but this still triggers a page load with a # as the href.
<!-- this will work but it sends the page scroll to the top because of the default href as # -->
<A on:click={()=> show_full_link = !show_full_link}>view full link</A>

As for button there is no way to make a button look like a link, a prop detailing it should look like a link would be amazing:
<Button as="link" on:click={()=> show_full_link = !show_full_link}>view full link</Button>

Motivation
To be able to have buttons that look like links.

I think this can be confusing for users, especially those who rely on visual cues to navigate. Screen readers might also misinterpret the element.

This is beneficial to screen readers - you dont want someone using a link just to get something that looks like a link when they should be using a button.
Why can you make a link look like a button but you cannot make a button look like a link? That does not make sense. Visually they both attract the customer to do the same thing - click on them.
So with your logic - if its confusing for customers then tell every UI library that they must please stop making their links look like buttons because its confusing to customers that sometimes button looking element go to other pages and sometimes they open modals or whatever else they do.


AttributeError: 'BinanceAPIException' object has no attribute 'code'

I have a wrapper around the Client object that retries any call that fails and raises immediately if the exception matches a list of search strings:
from time import sleep

def Retry(func, max_retries, raise_immediately_strs):

    def wrapper(*args, **kwargs):

        num_tries = 0
        while True:
            try:
                return func(*args, **kwargs)
            except Exception as exc:

                for raise_immediately_str in raise_immediately_strs:
                    try:
                        if raise_immediately_str in str(exc):
                            raise
                    except Exception:
                        raise

                if num_tries >= max_retries:
                    raise

                print('Retrying {}'.format(func.__name__))
                num_tries += 1
                sleep(0.3)

    return wrapper

class BinanceClientWrapped(object):

    def __init__(self, client, max_retries, raise_immediately_strs):
        self._client = client
        self.max_retries = max_retries
        self.raise_immediately_strs = raise_immediately_strs

    def __getattr__(self, name, *args, **kwargs):
        attr = self._client.__getattribute__(name)
        if callable(attr):
            return Retry(attr, self.max_retries, self.raise_immediately_strs)
        else:
            return attr

I use it like this:
client = Client(api_config['api_key'], api_config['api_secret'])
client = BinanceClientWrapped(client, MAX_API_RETRIES, RAISE_IMMEDIATELY_STRS)

This works perfectly most of the time but my program just failed with the following message:
  File "/home/ubuntu/a/binance_client_wrapped.py", line 15, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/client.py", line 908, in get_orderbook_ticker
    return self._get('ticker/bookTicker', data=params, version=self.PRIVATE_API_VERSION)
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/client.py", line 206, in _get
    return self._request_api('get', path, signed, version, **kwargs)
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/client.py", line 180, in _request_api
    return self._request(method, uri, signed, **kwargs)
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/client.py", line 175, in _request
    return self._handle_response(response)
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/client.py", line 199, in _handle_response
    raise BinanceAPIException(response)
binance.exceptions.BinanceAPIException
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./a.py", line 755, in <module>
    main()
  File "./a.py", line 751, in main
    update()
  File "./a.py", line 609, in update
    update_prices_buffer()
  File "./a.py", line 209, in update_prices_buffer
    for ticker in client.get_orderbook_ticker():
  File "/home/ubuntu/a/binance_client_wrapped.py", line 20, in wrapper
    if raise_immediately_str in str(exc):
  File "/home/ubuntu/a/venv/lib/python3.4/site-packages/binance/exceptions.py", line 22, in __str__
    return 'APIError(code=%s): %s' % (self.code, self.message)
AttributeError: 'BinanceAPIException' object has no attribute 'code'

So this occurs when I am reading the ___str___ version of the BinanceAPIException on line 22 of exceptions.py. The sequence goes like this:

The client throws a BinanceAPIException after receiving an error message from the API
My wrapper catches this exception, and then tries to read from the exception by doing if raise_immediately_str in str(exc)
The program fails because BinanceAPIException.code is not defined

This is very strange to me because it appears from the source of BinanceAPIException that if it's __init__ function is called, self.code will unconditionally be set:

    def __init__(self, response):
        self.code = 0
        try:
            json_res = response.json()
        except ValueError:
            self.message = 'Invalid JSON error message from Binance: {}'.format(response.text)
        else:
            self.code = json_res['code']
            self.message = json_res['msg']
        self.status_code = response.status_code
        self.response = response
        self.request = getattr(response, 'request', None)

Anybody have any ideas how it is possible that a BinanceAPIException is being instantiated without setting self.code?

Hi @alexanderkoumis,
You're right that is a really strange error, reviewing the current code doesn't seem to indicate that the error could occur.
Can you check that you have the latest version of the library? There was an update last month that added the self.code = 0 line

The version I'm running is 0.6.6 (came from pip3 install python-binance). Looks like in 0.6.6 the variable is incorrectly named self.status_code:

    def __init__(self, response):
        self.status_code = 0
        try:
            json_res = response.json()
        except ValueError:
            self.message = 'Invalid JSON error message from Binance: {}'.format(response.text)
        else:
            self.code = json_res['code']
            self.message = json_res['msg']
        self.status_code = response.status_code
        self.response = response
        self.request = getattr(response, 'request', None)

I'll upgrade to 0.6.8, thanks.


fix(v2): allow relative sidebar path resolution in docs:version command

Motivation
Resolves #4844
Because we do not seem to have a strict requirement that the sidebar file path be absolute, currently users who use relative path in the sidebarPath field will get an error when creating new docs version.
Although after merging of #4775 docs:versions command will no longer fails, and just silently create empty sidebar file. However, this is not what the user expects - copy of current sidebar file in new docs folder.  So I think instead of forcing users to specify only absolute path to the sidebar file, we can automatically resolve relative path to it when cutting new docs version.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Not sure if tests are needed here?
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

LGTM thanks 👍
Just extracted resolveSidebarPathOption so that the 2 places share the exact same path resolution logic
Also dogfooding on our site: docs use relative path, community use absolute path, so we'll notice more easily potential regresssions

I too facing this issue while running npm run docusaurus docs:version 1.1.0
Iam currently using the docusaurus version as mentioned below
"@docusaurus/core": "2.0.0-alpha.72",
"@docusaurus/preset-classic": "2.0.0-alpha.72",

Under which version of docusaurus this issue is solved ?

@sriramgroot will be rerleased soon but you can try the @canary npm dist tag

@slorber whether this needs to be executed in terminal where the package.json is located ?

Version generation worked with this config changes sidebarPath: require.resolve('./sidebars.json') under docusaurus.config.js

yes because require.resolve converts to absolute path
Or you can keep it as it used to be and use a canary: https://www.npmjs.com/package/@docusaurus/core
For example: 2.0.0-beta.aff848e87


machine explodes

Issue Description:So i don't know if this is intended but if u have a stellar capacitor in a machine and place a creative energy source from ex2 next to it the machine will blow up
What happens:machine blows up
What you expected to happen:nothing
Steps to reproduce:
1.place any machine that accepts capacitors
2.place down a creative energy source from ex2
3.watch it blow up amazingly
...

Affected Versions (Do not use "latest"):

EnderIO:5.0.37
EnderCore:na
Minecraft:1.12.2
Forge:<IP_ADDRESS>68
SpongeForge? no
Optifine? no
Single Player and/or Server?single player

Not a bug. Its a feature added to stop mods from spamming power packets bypassing enderios hard coded  limits to intake/output

https://github.com/rwtema/Extra-Utilities-2-Source/blob/master/1.10.2/src/main/java/com/rwtema/extrautils2/tile/TileCreativeEnergy.java#L59-L67


Parser Error: The identifier "Lua" isn't a valid type (not a script or class), or couldn't be found on base "self".

Parser Error: The identifier "Lua" isn't a valid type (not a script or class), or couldn't be found on base "self".

hi, thanks for your interest in my project! i used a godot addon to add lua scripting support: https://github.com/WeaselGames/godot_luaAPI
specifically, the latest version 1 release should still work: https://github.com/WeaselGames/godot_luaAPI/releases/tag/v1.0-stable
i can't try this just yet, so please let me know if you get it working!
i would love to update this for godot 4 & luaAPI v2 at some point.

@labolado i've just hacked together some godot 4 support, and commented out the lua api stuff since it wasn't really being used yet anyway. the project should now run out of the box on the latest godot version!

It works now, thank you.


installation problems

hi,
D=$(osascript -e 'tell application "Xcode" to get path of project 1'); cd "$D/..”
that command won't work with the directory names that i have, which contain spaces.
D=/Users/dkliman/Documents/iOS dev experimentation/Labels test/Labels test.xcodeproj; cd /Users/dkliman/Documents/iOS: No such file or directory
also I'm still quite a beginner at iOS and swift, so i could be doing something wrong, but i was able to manually move into the correct directory and run the script...
but I don't think it worked...
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:
xcodeproj 'path/to/Project.xcodeproj'

Daves-MacBook-Pro:Labels test.xcodeproj dkliman$ osascript -e 'tell application "Xcode" to quit' && open *.xcworkspace
LSOpenURLsWithRole() failed with error -600 for the file /Users/dkliman/Documents/iOS dev experimentation/Labels test/Labels test.xcodeproj/project.xcworkspace.

All the first script does is cd to the directory of the Xcode project that is currently open. It's just a shortcut. You can cd manually otherwise. I will fix it though since it does need to be able to account for spaces in directory names.
And the second script simply closes the Xcode project file and opens the new Xcode workspace file that is created after running pod install. So you can also do that manually.
Not sure why cocoapods is forcing you to specify an Xcode project file. Did you put your Podfile in the same directory as the Xcode project file? You can also just do what the error says i.e. in the Podfile specify the path to the project file relative to the location of your Podfile.

Also, welcome to iOS! We're stoked your starting off with PromiseKit.


exclude test.ts files

Informations
How can I exclude test files, at the moment I have the following structure for example:
- services
   |_ uuid
   |_ index.ts
   |_ uuid.test.ts

My server configuration looks like this:
@ServerSettings({
  rootDir: path.resolve(__dirname),
  acceptMimes: ['application/json'],
  port: process.env.PORT,
  mount: {
    // tslint:disable-next-line
    '/v1': '${rootDir}/controllers/**/*.ts'
  },
  // tslint:disable-next-line
  componentsScan: [
    '!${rootDir}/services/**/*.test.ts',
    '${rootDir}/services/**/**.ts',
    '${rootDir}/middleware/**/**.ts'
  ]
})

But I get this error:
 ReferenceError: describe is not defined
    at Object.<anonymous> (//api/src/services/uuid/uuid.test.ts:17:1)

The test is not being excluded.

Type
Version

Question
4.30.1

Description
To exclude tests from the component scan

For anybody else, there is the exclude option for ServerSettings.
God bless typescript, instant documentation.


Optimize volumetric dataset creation in linprog

Use voxel indexing to speedup the volume creation at the last step of the linear program.
Running the INH densities rule in atlas pipeline:
Before : 2515.45s
After  : 122.5s

Introduced a ~20x speedup.

I verified that these changes give identical results with the old implementation.


Add the common GS output files

About This Pull Request
This modification provides the subroutines of the common output file format for SALMON-TDDFT. This PR experimentally implements the output for GS calculation.
I employ the file formats discussed on SALMON June meeting:
https://www.dropbox.com/s/43qyhxj0n5y7a5z/uemoto0805_output_format.pdf?dl=0
(Attached is document distributed in previous meeting)
The ordinary output files (e.g. SYSName_band.out ...) have also remained for now to keep the compatibility of the old calculation results.
Output Files

SYSName_k.data : describe the k-point coordinates (only in 3d mode)

Column
Detail
Unit

1
k-point index
integer starts from 1

2:4
kx, ky, kz coordinates
1 / length

5
k-point weights
dimensionless

SYSName_eigen.data : describe the eigenenergies and occupation number

Column
Detail
Unit

1
k-point index
integer starts from 1

2
band index
integer starts from 1

3
eigenenergy
energy

4
occupation
dimensionless

Additional Work

In this time, I add the function (open_filehandle) to salmon_file module, which provides the similar functionality of fopen (in C) or open (in Python).

fh=open_filehandle("filename.txt", status="old")

open_filehandle opens a file with assigning the free io unit number automatically, and it is equivalent to get_filehandle and open statement.

fh = get_filehandle()
open(fh, "filename.txt", status="old")

Future Work

Add the similar output subroutines for GCEED section
Add the common output formats of RT calculation

I'd like to check for this PR. Maybe I'll check next Monday. Sorry for inconvenience.

Thank you! I'm looking forward it.

Thank you for your development, @uemoto1 san. But from I've seen, it seems that several problems exist in this modification. These might be my misunderstandings, so please do not hesitate to disagree my opinion.
I checked both the ARTED part and the GCEED part. For the GCEED part, calculations successfully finished. And for the ARTED part, generated current is same as previous one.
I run the ARTED part in the intel environment. The problems what I find are following three.

Si_k .data is not generated.
Somehow k-point index generated in Si_eigen.data is 1 to 12 although number of k points is 64.
It seems that there is no description "if (comm_is_root(nproc_id_global)) then" for the part in this modification, so access from many processess might happen at the same time if users do a calculation for a large system.

Thanks in advance for your consideration.

I forgot to say one thing. Since today is holiday, my reply will be tomorrow at the earliest.

Sorry, I forgot to say another thing. The problem no. 1 may caused by my environment. If @uemoto1 san can generate Si_k.data, you can ignore this problem.

I understand the problem no. 2. In the ARTED, symmetry is considered. So number of k points in this calculation is 12. Sorry for my misunderstanding.

Thank you for reviewing, it is very practical mistake. I send a bug fix.

I confirmed that problems have been solved with running the code. So I merge this PR. Thanks a lot, @uemoto1 san.


chunk-tasks plugin

Plugin for one-chunk accounts to track tasks imported from the chunk picker site. Player will be notified with a collection log style popup when a task is either auto-detected as complete or manually checked off.

quick review: You can't use example as your config group, and there's a couple other example's as well

@Felanbird thanks for the review. Replace all the "example"s

I've not done an extensive review, but make sure to remove the NavButton on plugin shutdown.

@YvesW updated to remove NavButton on shutdown

We don't allow reflection on the hub

@Bram91 - good to know! Removed reflection from the plugin.

https://github.com/nathanreidok/chunk-tasks/blob/50872f225a2b8377b7c80750f3af3c34a5fd993d/src/main/java/com/chunktasks/panel/ChunkTasksPanel.java#L347-L350
https://github.com/nathanreidok/chunk-tasks/blob/50872f225a2b8377b7c80750f3af3c34a5fd993d/src/main/java/com/chunktasks/managers/ChunkTasksManager.java#L37-L39
Use ChunkTasksPanel.getResourceAsStream and ChunkTasksManager.getResourceAsStream, respectively

@LlemonDuck removed one getResourceAsStream that wasn't needed and updated the other.


signal_channels in header information not read correctly for Neurolynx .ncs file

Describe the bug
Signal_channels in the header are empty when reading the neuralynx file.
To Reproduce
I have a neuralynx file and when I read it with this code:
reader = neo.io.NeuralynxIO(dirname=folder_path, include_filenames=file_name)
header = reader.header
signal_channels = header.get('signal_channels', [])
signal_channels['name']
Out[20]: array([], dtype='<U64')
signal_channels['sampling_rate']
Out[21]: array([], dtype=float64)

The signal_channels and sampling_rate are empty.
Expected behaviour
My neuralynx file has the following header:
######## Neuralynx Data File Header
-FileType NCS
-FileVersion 3.4
-FileUUID ded50ee7-381d-43bf-913d-eaacd544c964
-SessionUUID 3d33ae15-dd0e-4e2a-b44d-c8728eca80c7
-ProbeName
-OriginalFileName "E:\ATLASData\D562\EXP2_Screening\2023-02-01_12-03-25\A1.ncs"
-TimeCreated 2023/02/01 12:03:25
-TimeClosed 2023/02/01 12:54:09
-RecordSize 1044
-ApplicationName Pegasus "2.1.2 "
-AcquisitionSystem AcqSystem1 ATLAS
-ReferenceChannel "Source 03 Reference 1"
-SamplingFrequency 2000
-ADMaxValue 32767
-ADBitVolts 0.000000091552734375000002
-AcqEntName A1
-NumADChannels 1
-ADChannel 81
-InputRange 3000
-InputInverted True
-DSPLowCutFilterEnabled True
-DspLowCutFrequency 0.1
-DspLowCutNumTaps 0
-DspLowCutFilterType DCO
-DSPHighCutFilterEnabled True
-DspHighCutFrequency 500
-DspHighCutNumTaps 256
-DspHighCutFilterType FIR
-DspDelayCompensation Enabled
-DspFilterDelay_µs 3984
I expect the channel_names to be 'A1' and sampling_frequency to be 2000
Environment:

OS: macOS Ventura 13.5.1
Python version  3.10.14
Neo version '0.13.3'
NumPy version '1.26.4'

Additional context
Add any other context about the problem here.

Is this a file you can share with us to debug?

Is this a file you can share with us to debug?

Hi Zach, I can read the header of other .ncs files in our project. The one failed seems to be an empty file (as it only has a size of 16k). Can you send me your email so I can share the file? Thank you!

Could you try one thing out of curiosity since you have the file.
from neo.rawio.neuralynxrawio.nlxheader import NlxHeader
header = NlxHeader('path/to/file', props_only=True)

If the file is empty with just a header our reader may fail, but the header reader portion by itself should work.

Could you try one thing out of curiosity since you have the file.
from neo.rawio.neuralynxrawio.nlxheader import NlxHeader
header = NlxHeader('path/to/file', props_only=True)

If the file is empty with just a header our reader may fail, but the header reader portion by itself should work.

Yes, HlxHeader works!

Perfect. So that would be the way to read a file if it only has header information. The rest of the code is designed to prevent you from reader a file with just a header. Let us know if you run into anything else!


CIF-1135 - Random concurrency error in ResourceMapper

make sure the lock was acquired before releasing it

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[x] All unit tests pass on CircleCi.
[x] I ran all tests locally and they pass.

Verified by navigation product tree in the console, no errors in the logs.


Question: Merge/import html, json or csvs with an html report?

Hello, thanks for taking a look. The question is: Is there a way to take an already processed report (in html, json, csv) and combine it with another report? Either one being generated or one that has already been completed. Not including on-disk dbs with TokyoCabinet, reasoning below.
an example might be:
$ goaccess -f full_log.01.20.2017.log.bz2  --combine-file=./full_log.01.19.2017.html --log-format=COMBINED -o ./full_log.01.19-20.2017.html

(process the 20th and add already aggregated data from the 19th to the final report)
The reasoning is: We have ~30 million lines per day, which on our current system takes 60-90 minutes using goaccess with TokyoCabinet, so if we wanted to generate a week's  data we would be looking at 7-12 hours CPU give or take.
As for why TokyoCabinet isn't the best option - Ideally, we'd like to be able to do it on demand. Let's say we wanted to look at last Tuesday and Thursday together in one report, but it wasn't generated at the time. keeping the db data doesn't save us any work then.

Interesting point. It's not possible right now to merge a report with another report. However, I do see the advantage of having this feature, especially for large data sets.
Though, I see a few things that seem to make this a bit challenging, for instance,

How should goaccess handle reports that contain some metrics such as time served or bandwidth and reports without them?
Should it be able to merge the same report, e.g., --combine-file=./full_log.01.19.2017.html --combine-file=./full_log.01.19.2017.html
Should there be only one type of source format? e.g., JSON -> JSON/HTML/CSV/terminal?

Thanks for your feedback! BTW I and my team do love this project.
My thoughts (from a sysadmin, non-developer, little programming experience perspective) on the challenges:

Default to only include data that exists in both, but give an option to override. Perhaps default option could exist in the config file.
There are two situations I can immediately see that being useful. I would say maybe default to adding values together but add options for something like FIFO/LIFO type of thing - first file gets all the values that they both have and only it has, second file gets only values that only it has, or the inverse.
2.1. If you have multiple systems running the same website and wanted to run reports on the servers locally and then combine them
2.2. If you have multiple sites and wanted to get an overall metric
JSON would make sense, because if you have an HTML you can generate JSON. That would make JSON and HTML reports easily converted between the two.

It should be really great if we can get this. I also searched for an solution to this actually and landed here :)

I'm trying to parse logs from 3 different load-balancers over a year and it would really be great to have a way to combine reports, since the logs are a bit too big to have them all on the same machine at once, but then I have no way of displaying all the data in the same report.


Using the Past Image extension - updating the setting.json

Found these setting to solve the issues i had
    "pasteImage.path": "${projectRoot}/static/snapshots",
    "pasteImage.basePath": "${projectRoot}/static",
    "pasteImage.prefix": "/",
    "pasteImage.insertPattern": "![${imageFileName}](${imageFilePath})",

Just FYI - this really speeds up the process of painting images into the markdown documentation in docusroud wiki.
@roman012285 please add this to the extension section - this is nice info to add there

Thanks, I have played with it today and also added them to json file. I see that the second line seems to be allitle differente than mine and maybe this will solve an issue I had.
PASTE IMAGE Extension put the picture to /static/snapshot as supposed to be but docosaurus compiled it as its PATH is  /static/static/snapshot so I had to remove one /static manualy from the PATH, I try this.

issue in the previous commit is solved
I have added the extension to extension section


multicluster: fix panic caused by invalid kubeconfig

fixes: #13412

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hzxuzhonghu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [hzxuzhonghu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

maybe this should also cherry-pick to 1.1 branch

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
d257af3735ee0debeae61397dba2a45d68ab9b61
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/assign @howardjohn
Maybe should also to 1.1

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, hzxuzhonghu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [hzxuzhonghu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
d257af3735ee0debeae61397dba2a45d68ab9b61
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Added classification quickstart

Partial solution to the quick start guides, focusing on classification.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.15%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2366

Relevant Lines:
2513

💛  - Coveralls

please wait for a few mins til the docs build again and ensure the quickstart looks good

As per this roadmap we should have section wise quickstarts. Currently there is one general quickstart in the docs with classifiers. It's going to get longer if we keep adding other sections like regression, clustering, etc.
Thoughts? @idomic @edublancas

Yeah I did it on it's own on purpose, that way you can concentrate all of the quickstart guides in one location.
It's also always on top vs scrolling to the section let's say clustering, and then hitting the quick start.

I think it should be separate files so they appear as different sections and users can click on whatever section is relevant to them, rather than clicking on quickstart and then scrolling

Yeah of course, just like we talked offline, else it will be confusing if all is meshed.


📦 lint:fix => !global standard

Add a script  call (yarn lint:fix) to run standard --fix so
standard does not need to be installed globally.
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.

🤔 I thought this used to be in next at one point.
Would we want to alter lint-staged to attempt to handle simple formatting updates automatically?

What's the difference between this and yarn lint --fix?

@JeromeFitz i guess it'd be good to add this to contributing.md

@timneutkens Would adding a section at the end be helpful?
Lint
Run yarn lint for the linting rules
yarn lint --fix can be run to attempt to automatically update any warning or errors that your code may have introduced

Or would a section on overall Code Style or Committing be more useful? I'd imagine being as generic as possible to keep it "evergreen" would be of benefit.


instrument react source code with cypres

I've read through issue #13, and it seems this is possible but I can't seem to get it to work. I'm trying to instrument the code for when a cypress component test is ran. Here is my current setup.
// cypress/plugins/index.js

const path = require('path');
const { startDevServer } = require('@cypress/vite-dev-server');

module.exports = (on, config) => {
  require('@cypress/code-coverage/task')(on, config);

  on('dev-server:start', (options) => {
    return startDevServer({
      options,
      viteConfig: {
        configFile: path.resolve(__dirname, 'vite.config.js')
      }
    });
  });

  return config;
};

// cypress/plugins/vite.config.js

import react from '@vitejs/plugin-react';
import istanbul from 'vite-plugin-istanbul';
const path = require('path');

export default {
  build: {
    sourcemap: true
  },
  plugins: [
    react(),
    istanbul({
      include: path.resolve(__dirname, '../../src/*'),
      exclude: ['node_modules', 'cypress/'],
      extension: ['.ts', '.tsx'],
      cypress: true
    })
  ]
};

I have tried various configurations of the istanbul vite plugin but I can't seem to get it to instrument the source code. Cypress is correctly looking for a coverage report, I just seem to be missing how to get the istanbul vite plugin to provide coverage data off the window object.
Any ideas on what I might be missing?  Also do you know when the plugin instruments the code with cypress: true, does it stick it under window.__coverage__ or window.coverage?

I should also add I have tried the forceBuildInstrument config option but given this is a component test I don't think that applies to my setup.

Had to read through the source code but finally figured out what I needed for it to work. Cypress component testing still uses vite in serve mode so did not want forceBuildInstrument on. Needed the following config for it to work for me:
import react from '@vitejs/plugin-react';
import istanbul from 'vite-plugin-istanbul';

export default {
  build: {
    sourcemap: true
  },
  plugins: [
    react(),
    istanbul({
      cypress: true,
      requireEnv: false
    })
  ]
};

Hi @charleshimmer.
Great that you solved it, yes the Cypress component testing is very specific with how vite needs to run. By default this plugin only runs when Vite is in serve mode. To prevent accidental instrumentation sneaking its way into production or staging builds.
Therefore the forceBuildInstrument option was added for users who know what they want and can opt into this feature to get coverage at build time. Which by default is set to false to prevent the issue i mentioned earlier.
I will see if i can add some kind of detection to if the plugin has malformed options when running in cypress component testing. But this will not be a priority and i'll look into it in the future.

@dependabot close

@charleshimmer and @iFaxity , I am trying to get coverage for a Vue+Vite app using Cypress as the test framework. I have a similar setup, except that I am trying to run coverage on the ./dist folder post building the app. However, I am still getting coverage for the ./src folder for some reason and no coverage information from the ./dist folder. All the files do show up in the report but coverage is available only for the ./src folder. If possible, could you probably tell me what I am doing wrong here?
P.S: I am running the app using vite preview and running cypress e2e tests after that. This is also done in a docker container.
// .nycrc

{
    "all": true,
    "extends": "@istanbuljs/nyc-config-typescript",
    "report-dir": "test/coverage",
    "temp-dir": "test/.nyc_output",
    "include": ["dist/"],
    "exclude": ["test", "src"]
}

// vite.config.ts

const config = defineConfig({
  build: {
    target: "esnext",
    sourcemap: process.env.CI_ENV == "test" ? true : false,
  },
  plugins:
    process.env.CI_ENV == "test" ?
      [vue(), istanbul({cypress: true, nycrcPath: "./.nycrc", forceBuildInstrument: true})] :
      [vue()],
  resolve: {
    alias: [
      {
        find: '@',
        replacement: path.resolve(__dirname, "./src"),
      },
    ],
    extensions: ['.js', '.ts', '.d.ts', '.vue']
  },

  server: {
    host: "<IP_ADDRESS>",
    port: 80,
    https: false,
  },
  preview: {
    host: "<IP_ADDRESS>",
    port: 81,
    https: false,
  }
})

Below is a screenshot of the coverage report.

It sure would be good to get Cypress to play nicely with this out of the box. I know Cypress pretty well by this point, if there's anything needed on the Cypress end, let me know and I'll make it happen.
I am also going to play around with this a bit. I'll see what I can come up with.

Hi @lmiller1990, yes that would be great!
I've not looked anymore into this, but I would imagine that this is a issue by how the coverage report is created. Not sure if it is a Vite issue or Cypress.
I'll be waiting if you have any more information on your end.
In the meantime I'll do some digging into Vite.

Closing this as the original issue was fixed


Build failure with JDK 17

Hi guys,
I got the following error while trying to build with openjdk 17 2021-09-14
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.700 s
[INFO] Finished at: 2021-11-03T16:08:42+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jfrunit: Compilation failure
[ERROR] jfrunit/src/main/java/org/moditect/jfrunit/internal/SyncEvent.java:[26,8] cannot access jdk.internal.event.Event
[ERROR]   class file for jdk.internal.event.Event not found

I also read the #39, but I didn't understand the solution :)
Could you explain to me how to build jfr?
Do I need to set some "special" configuration to my JDK?
Cheers
Daniele

Hey @danieledipompeo, yes, I'm observing the same when building with Java 17. JDK 16 will work, or 17, if you adjust the target release version in the POM to 17. It's not clear to me yet why this happens, building with 17 but targetting 16 should work, too. If you get to the grounds of it, any ideas would be much appreciated.

That said, if you would like to send a PR for updating the target release to 17, I'd be happy to merge that. 16 doesn't make much sense anyways at this point (unmaintained). If there is an earlier version that we'd want to support, it'd be 11 (previous LTS). In order to do so, we'll need an alternative implementation though which polls on recording files instead of using JFR event streaming, which only was introduced in 14. // CC @Croway, @phejl @aalmiray

Hi @gunnarmorling, @danieledipompeo, I wanted to do the same and had the same error, I think it is due to jdk.internal.event module exposure is changed in jdk17, I managed to let jfrunit build on jdk17 https://github.com/moditect/jfrunit/tree/build-jdk-17 but I'm not 100% sure this can be a solution. changes

Hi @Croway, @gunnarmorling
I changed the java.release variable to 17 along with JDK17, and I got the following error
Execution default of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce failed: Unknown JDK version given. Should be something like "1.7", "8", "11", "12", "13", "14", "15", "16"
I've thought the problem was related to the unsupported JDK version on that plugin.
Therefore, I've found the parent project where maven-enforcer-plugin has been defined (https://search.maven.org/artifact/org.moditect/moditect-org-parent/1.0.0.Final/pom), and I set the version.enforcer.plugin variable to the latest version (should be the 3.0.0) via CLI. However, I got the following error:
Unable to parse configuration of mojo org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce for parameter enforceBytecodeVersion: Cannot create instance of class org.apache.maven.plugins.enforcer.EnforceBytecodeVersion
Here, I have no idea of the next step :).
I'll try the solution by @Croway. I've also tried to set that args to the compiler, but I didn't find the right way.
BTW, I can build the project when using the JDK17 along with java.version=16.

@danieledipompeo interesting, can you open a PR? or link the branch? I'd like to try it.
BTW my solution was not working for you?

@Croway yes I'm from L'Aquila :)
I'll prepare the PR in the next few days,
I'll keep you posted


zcash: Add libsnark to stop build failures

Motivation for this change
Wanted for #68361
zcash build fails due to missing profiling.hpp which is provided bylibsnark.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] 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)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @rht

Tagging @worldofpeace for an ofborg build.

Tagging @worldofpeace for an ofborg build.

ofborg is currently "out of order" so I'll QA this locally.

backported ea765f50b341c2a6f9d4866eb372f08da920c143


Error running the simple plotly example

I have been trying to get a PlotlyWidget to show a plot but have been getting an error. I decided to try using the simple example given on the docs page a try just to make sure it was something I was doing on my end. But when running the example I get the same error.
Code:

Traceback:

This error does not occur if I remove the line with flx.PlotlyWidget(data)

Can the Flexx PlotlyWidget run offline? I know that when using plotly you can specify that you want to run offline and am hoping that there is a way to set the PlotlyWidget to utilize that.

I think what you'd have to do in that case is copy the code in flexx/ui/widgets/_plotly.py, download the plotly.js to your project, and change the associate_asset call to eomething like this:
plotlyjs_source = open("path/to/plotly-latest.min.js").read()
app.assets.associate_asset(__name__, 'plotly-latest.min.js', plotlyjs_source)

That worked, thanks.

I couldn't locate any file called 'plotly-latest.min.js' but did find 'plotly.min.js' and using that worked just fine.


start upload torrent file if Kinozal updated at date is absent.

fix for #241

@DmitryRibalka will merge it soon


Trying to connect to wfreerdp-server, disconnected every time.

I am trying to connect to the wfreerdp-server with the FreeRDP android client. Although everytime I do so it starts connecting and then disconnects. I don't think it is getting past authentication or something. I have attached an image to show what the server is outputting.

I have no idea what the problem is or how to fix it.

Closing due to lack of feedback.


TTP Tree Structure

Proposed Changes
Recommending the tree structure of Forge Armory be changed to reference the MITRE ATT&CK structure for TTPs. The changes I have made create three parent folders (Enterprise, Mobile, and ICS) that display the tactics. Within each folder will be a main folder that lists the techniques (Reconnaissance, Execution, etc.) and their respective technique IDs. Within each of the technique folders will be the procedures (YAML files) and a message digest that provides an summary of what each technique means. There will also be a link to the MITRE ATT&CK webpage for viewers to refer back to within the message digests.
I believe this will help platform users who are not well versed in the realm of TTPs better understand each one. Lastly, the new structure will help account for growth of newly developed TTPs and where they should be placed within ForgeArmory.
Related Issue(s)
Not applicable
Testing
Not applicable.
Documentation
Several message digests have been created that contain a summary of each technique as it is stated on the MITRE ATT&CK website.
Screenshots/GIFs (optional)
Checklist

[x] Ran mage runprecommit locally and fixed any issues that arose.
[x] Curated your commit(s) so they are legible and easy to read and understand.
[x] 🚀

Closing this pull request in favor of a new, more complete one.


Batch experiments

Two main changes:

Fix a bug when running TreeLite with batch size 1.
Fix a bug in HummingbirdTVMCPU when the data_size%batch_size!=0

Small changes:

Updated readme.md to allow tf-df for xgboost model.
delete some unused imports.

It looks great. Thanks Hong!


Hide cursor in fullscreen mode

Actually the mouse cursor is always showed, perhaps it could be hide when in fullscreen mode

Does the problem also occur on SDL1 ?
From what I noticed it occurs on SDL2(sdl12-compat).
Can you confirm this ?
This was intentionally done. The cursor on SDL-2.2.28 was behaving a bit strangely when hiding it.
Especially in window mode. It could be hidden and to bring it back required a lot of moving and clicking of the mouse.
Once the mouse was in a different position, other programs could be started.
As far as I know, version 2.2.30 already has this fixed, but I have not yet checked whether mouse hiding works.

Fixed for SDL2 - mouse hide
Binary at: https://github.com/smarkusg/dgen/releases/tag/snapshot-7032024

@Javier & Marek
Ok, tested some more with new exe/GUI

Mouse cursor in SDL2 now sort of works, it hide the mouse correctly
In GUI: 320x256 checkbox did not saved at exit, maybe another tooltype to
add?
In main config settings, actually scale2x was choosen by default, i tried
to see if instead normal "scale" was faster but unfortunately seems pretty
the same in term of general performance, so scale2x is maybe the right
choice as default for now (and it looks better aswell)

Closed #1 https://github.com/smarkusg/dgen/issues/1 as completed.

—
Reply to this email directly, view it on GitHub
https://github.com/smarkusg/dgen/issues/1#event-12040560324, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBDVAMT66VXLGIVLDKTQWLYXBCZBAVCNFSM6AAAAABEJXJVV2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGA2DANJWGAZTENA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Respond to commit is slow

When I make a new commit in the Elegit repo, it's not clear if I successfully clicked the button or not; response is slow.

And when I do any other operations as well. It's sooo sloowww...

This was fixed (thanks Julia)


Connect to the doc

Hi All, unsure if this is SRSv2 related, but thought I would ask here.
Win10 E  v1809
OS: 17763.292
Doc: Logitech SmartDock
we get as far as the UI advising is to plug into the doc and press next (which I believe is the final step) however, "next" is never enabled .. its always faded (unable to be pressed). We can see the 2nd screen on the TV (this lets us know the HDMI cables work on the Doc.. but we are stuck
Has anyone ever seen this issue?

@cvanoosbree - thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:  https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@officedocsbot close


[Suggestion] Add option to temporarily disable Carry effect

There is a mod called "Sandwichables" that allows you to make sandwiches; there is a block in this mod called the sandwich table, in which you create your sandwich on. However, in order to gather the finished sandwich from the table, you must sneak while right-clicking to retrieve it, which activates the Carrier effect. I was unable to get the sandwich, instead carrying the table.

Never mind, I hadn't looked in the controls until after I had made this post. Found the carry keybind in the options menu. Sorry!


My Teams memory usage is above 750MB

My memory usage is way higher than the described usage.  I wonder how that can be explained.

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

ID: fc21902c-d522-3851-8587-177f01bc085c
Version Independent ID: 590bcc64-a86d-b61e-7d94-4e4322c4e71d
Content: How Microsoft Teams uses memory - Microsoft Teams
Content Source: Teams/teams-memory-usage-perf.md
Service: msteams
GitHub Login: @msdmaguire
Microsoft Alias: dmaguire

@HansKappert Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Suggest

Hi,Thank you for the components you provided.
Sorry if this exists already, I want the form to be an optional configuration that offers radio and multiple options, e.g:
<ReactTable data={data} columns={columns} rowSelection={{ type: 'checkbox/radio' }}/>
And add a row click event, e.g:
<ReactTable data={data} columns={columns} onRowClick={(item, index) => {}}/>
Thanks again.

Sorry, did not see the documentation. I found the way to handle row click events, which is getTrProps.

Awesome


get amount of solar power

Hi everyone,
i need this as LUX indicator to automate some switches in HomeKit.
Ex: if solar power >2000 LUX (W is meant) than turn on IR-heating
thx for your help

nice idea, will implement it when having time in the next weeks.

hi @akassa89 new lux sensor was added in v 2.86


Add a method to create admin user for InnoDB Cluster

See https://github.com/wwwted/Oracle-Cloud/blob/master/kubernetes-mysql/k8s_innodb_cluster.md#create-innodb-cluster

Fixed in #18

Fixed in #18


Add CSS animation to steps section

Hi I'm a participant of GSSoC'21
I can contribute by using CSS animations to add visual transition to the Steps section
Please assign me this task
Thank you!

Hello I am 'a participant of GSSoC'21
I can contribute to this issue.
Please assign me this task
Thank you!

Closed due to inactivity


Highlight typos in wallet words during restore process

User feedback from @crwatkins has indicated that it would be useful for any non-standard BIP39 words (or typos) to be highlighted in the text area.
This would seem to be a simple improvement to the UX and a method is described here: http://stackoverflow.com/questions/20341719/how-to-highlight-a-single-word-in-a-jtextarea
for implementation.

Agreed


authlib testing framework for external usage

Is your feature request related to a problem? Please describe.
In a project that uses authlib, I want to write tests without having to re-invent all the setup that authlib has for its own unit testing.
Describe the solution you'd like
In a project that uses authlib, I would like to reuse some of the features within authlib's "test" directory for my own tests. It would be nice if I could import the Python modules, and also have a way to reuse the included resource files. Maybe that latter part could be done using importlib.resources for Python 3.9 or later, and the backported importlib_resources for older versions of Python.
https://importlib-resources.readthedocs.io/en/latest/
Describe alternatives you've considered
Create a separate and duplicative tooling to create fixtures and factories for use in testing my project that uses authlib.
Additional context
Add any other context or screenshots about the feature request here.

I don't think I can provide this data for now. Because I'm thinking of refactoring all the tests in the future.


feat(bump): add --config flag to cog bump

This PR adds the --config flag to cog bump closing #74.
I couldn't figure any better way to pass the custom config file path to the Settings struct apart from passing it in the Settings::get function.
But this change results in having to pass None whenever a custom config path is not needed.
For example: Settings::get(&repo, None).unwrap_or_default().authors in lib.rs:69
Please let me know if this approach is acceptable, or if there could be a better approach to passing the custom config_path parameter to the Settings struct.
Also, I've tested this flag manually on sample git repos, and the hooks specified by the config file path run correctly.  Would we need to add any unit tests to test this flag?
Thanks.

It seems fine, thank you @renaultfernandes  ! I still need to make some manual tests there. I'll let you know when it's done.

:partying_face: sorry for the delay !


vkGetInstanceProcAddr code in the loader does not match specifiction description

The vulkan spec says:
Table 1. vkGetInstanceProcAddr behaviour

instance
pName
return value

.*
NULL
undefined

invalid instance
*
undefined

NULL
vkEnumerateInstanceExtensionProperties
fp

NULL
vkEnumerateInstanceLayerProperties
fp

NULL
vkCreateInstance
fp

NULL
* (any pName not covered above)
NULL

instance
core Vulkan command
fp1

instance
enabled instance extension commands for instance
fp1

instance
available device extension2 commands for instance
fp1

instance
* (any pName not covered above)
NULL

However when passing in a valid instance and "vkCreateInstance" the code will return NULL, whereas row 7 states it should return the function pointer. This also applies for the other two mentioned entry points.
The code should be changed to:
if (instance == VK_NULL_HANDLE) {
	// Get entrypoint addresses that are global (no dispatchable object)

	return addr;
}

I just pushed a fix for this to master with commit 8f9d7ca19ea3ec0b45de929de561e5e4b3e79183. Thanks for the bug report.


Stats leftmembers error

What is the issue here? It is explaining that there haven't yet been enough roles captured of people that left the server to display a useful graph.
https://github.com/CSSUoB/TeX-Bot-Py-V2/blob/241f78ff0d4e4b51b1596bdb7b54d3c2bc47bff2/cogs/stats.py#L550
There has to be at least 15 data points to display a graph. Double check that there are at least 15 records in your deployment's database.


Ubuntu | logout does not work | newly added group does not show up via groups

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.88.1
OS Version: Ubuntu 20.04.6 LTS

Steps to Reproduce:
In a standard terminal:

Connect to another system via ssh
Create a new group by sudo groupadd example
Add self to the group sudo adduser username example
Check if example is added to the groups by groups command. It will not show up because changes have not taken effect.
logout
login again with ssh and check groups. Now example shows up in groups

In a VS code terminal:

Connect to another system via ssh
Create a new group by sudo groupadd example
Add self to the group sudo adduser username example
Check if example is added to the groups by groups command. It will not show up because changes have not taken effect.
logout (Or reload the window which should have logout effect)
login again with ssh and check groups. Still example group does not show up.
rm -rf ~/.vscode-server/
Reload the window
Now, groups shows example group added in the groups.

Why does it matter?
I was creating a folder with mixed permissions to specific users and specific groups. However, changes do not take effect unless new people added to a new group delete their ~/.vscode-server which also deletes their extensions. I am sure there should be some way to either: 1) delete only some specific file/folder to kick in the groups change on window reload or 2) implement this check inside the vscode so that it checks the change of groups on window reload or new window open and updates the policy automatically.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.88.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@VSCodeTriageBot Thanks for flagging this. Updated the version to 1.88.1 but the issue persists.

You'll have to restart the remote server by running "Kill VS Code Server on Host" and reconnecting

@roblourens Thank you for the suggestion. I tried this and it didn't work.

Following the workaround suggested by @JaneX8 worked. Even deleting VS code folder by rm -rf ~/.vscode-server/ is not working now.
https://github.com/microsoft/vscode-remote-release/issues/5813#issuecomment-958770528
@vs-code-enginnering @roblourens This should be reopened and worked upon.