[Memory] Add calloc_static method

Adds new method calloc_static to class Memory
The logic of
ptr = (int *)Memory::calloc_static(size * sizeof(int));

is the same as
ptr = (int *)Memory::alloc_static(size * sizeof(int));
memset(ptr_zero, 0, size * sizeof(int));

But then why this is necessary?
The point is that calloc is much more optimized for this.
Read more here https://stackoverflow.com/questions/2688466/why-mallocmemset-is-slower-than-calloc

I'd suggest presenting and using actual use cases when adding a core method like this, and discussing the need for it with the team, as it's very core

Nice catch!
When searching with the following regex alloc.*\n.*memset I found a few more places where this can be used:
in audio_stream_wav.cpp and shader_gles3.cpp


Walls not spawning properly.

I installed the plugin via git clone (maybe I should have done via package?) and tried it out only to realize that the walls don't align with the handle properly.
All I've done is:

Install
Create handle
Set create walls to true from inspector
Press space
Hold control while moving the handle

I'm using Unity 2018.3.2f1 and no errors appear in the console while moving handle.
Here's a screenshot  of what I see:

The Editor-side API has always been a little wonky;  It seems to do what you're describing only in versions older than 2019.1 - I guess for now it's a limitation I can't seem to wrap my head around! I'll add a bit about in the readme.

Update: I have solved the issue.
The issue was with the tileset that comes with the plugin and not with anything code-side. Two of the prefabs (walls and pillars) are offset from their parent in the prefab itself. If you have this issue, open the pillar and wall prefab and set the actual model of the prefab, which is a child of an empty, to 0,0,0.

Update: I have solved the issue.
The issue was with the tileset that comes with the plugin and not with anything code-side. Two of the prefabs (walls and pillars) are offset from their parent in the prefab itself. If you have this issue, open the pillar and wall prefab and set the actual model of the prefab, which is a child of an empty, to 0,0,0.


Build error invalid argument r.snaplen (type uint32) for len

Happens when running go get or go build.
Debian 8.5 x64
# github.com/google/gopacket/pcapgo
../../google/gopacket/pcapgo/read.go:124: invalid argument r.snaplen (type uint32) for len

what's your libpcap version?

I could be able to duplicate this issue, looks the github gopacket updated 8 hours ago w/ a bug at read.go, i just opened an issue #225 google.com/gopacket

libpcap-dev is 1.6.2-2

This seems to be a go version related issue. Build fails with go 1.6, succeeds with go 1.7

I get the same issue on Fedora 23
golang-1.5.4-3.fc23.x86_64
golang-src-1.5.4-3.fc23.noarch
golang-bin-1.5.4-3.fc23.x86_64
libpcap-devel-1.7.4-1.fc23.x86_64
libpcap-1.7.4-1.fc23.x86_64

fixed by google w/ below commit:
https://github.com/google/gopacket/commit/1b746f68116cb7c7ada4625eb718cf45e67dc31a

Fixed, build now works after removing $GOPATH/src/github.com/google/gopacket/ and rerunning 'go get' in the mylg folder.


[APIPolicy] Multiple interceptors support

Purpose
$subject

Codecov Report
Patch coverage has no change and project coverage change: -0.91 :warning:

Comparison is base (bf1f4b8) 34.04% compared to head (c3df72b) 33.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1090      +/-   ##
==========================================
- Coverage   34.04%   33.14%   -0.91%
==========================================
  Files         352       87     -265
  Lines       39020    10958   -28062
  Branches    12180     1228   -10952
==========================================
- Hits        13286     3632    -9654
+ Misses      25494     7206   -18288
+ Partials      240      120     -120

Flag
Coverage Δ

adapter
26.76% <ø> (-0.09%)
:arrow_down:

admin-domain-service
?

backoffice-domain-service
50.15% <ø> (-1.46%)
:arrow_down:

devportal-domain-service
52.36% <ø> (ø)

idp-domain-service
79.25% <ø> (ø)

runtime-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 277 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update repo name in lib/hbc/utils.rb

Changes to the core

[x] Followed hacking.md.

For non-ancient installs of HBC, brew untap phinze/cask does not remove casks but brew untap caskroom/cask does.
Do we need to include both commands in case someone has a really old installation?

The point of the command is not to remove the current instalation (which your new command would) but to get rid of all the old ones that may be lingering.

I find that in some cases (if the cask files or git repo are corrupt), removing the current installation and adding it back is required for fixing issues.
I submitted this PR specifically because I ran into an issue and tried the command given and it did not work fix the problem. Untapping caskroom/cask (and letting the next invocation of brew cask re-install it) did the trick.

How about a compromise: ... brew untap phinze/cask; brew untap caskroom/cask; ...
This is what we recommend in pre_bug_report.md.

That's what I meant by "include both commands". I'm totally for this!

Didn’t realise we had both in the pre_bug_report. Thought we only had phinze, and was on a phone, so did not check.

I submitted this PR specifically because I ran into an issue and tried the command given and it did not work fix the problem. Untapping caskroom/cask (and letting the next invocation of brew cask re-install it) did the trick.

I’m all for changes that lead to less bug reports and more user-fixing. If that command can also fix things, then by all means, lets add both.


Fixed issue #21 of having to install each dependency manually using pip install.

I have created a new python environment and created a requirements.txt file containing all the dependencies needed to run the codebase. Hence these dependencies need not be installed manually if the user doesn't have a python environment already set up. Also updated the readme markdowns to include how to install using the requirements.txt file.

@akshayLoginradius isn't this a minor text change. The same thing I did.

@akshayLoginradius I have made the same PR, That too before @shreayan98c did and mine was noted as ineligible why is that?

Just like me...

@DanBrown47 same for me buddy...

@shreayan98c thanks for your suggestion, we will include it in the next release.

@shreayan98c thanks for your suggestion, we will include it in the next release.


get keyup word

Summary
how to get keyup word?
Screenshots

Version
Write the version of the Editor you are currently using.
Additional context
Add any other context about the problem here.

@seanwang1998
Can you try as below?
events: {
  keyup(editorType, ev) {
    console.log(ev)
  }
}

@js87zz   ok,i'll try it


All panel text is wrong

Describe the bug

Steps to reproduce
very obvious question
Expected behavior
very obvious question
Are you using the mobile app?
Yes
Obsidian debug info
very obvious question
Relevant log output
No response

Thanks for your issue, I have fix this.


Cannot set visibility of Post webpage from cms dashboard

Cannot set visibility of Post webpage from cms dashboard

Working on it.

Fixed.


eml: 1.8.15-3 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository eml to 1.8.15-3:

upstream repository: https://www.cse.unr.edu/~dave/eml/eml-r36.tar.gz
release repository: https://github.com/ros-gbp/eml-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: null

Holding for sync


Issue running training for HED

I am getting the following error when I run training for the HED module by running the following command. Any ideas on how this can be fixed?
./hed.py --load vgg16.npy
[0408 17:57:57 @sessinit.py:189] Restoring from dict ...
[0408 17:57:58 @concurrency.py:36] Starting EnqueueThread ...
[0408 17:57:58 @base.py:158] Start Epoch 1 ...
0%|                                                                                |0/1000[00:00<?,?it/s][0408 17:58:02 @input_data.py:119] ERR Exception in EnqueueThread:
Traceback (most recent call last):
File "/home/agupta/TensorPack/tensorpack/tensorpack/train/input_data.py", line 115, in run
self.op.run(feed_dict=feed)
File "/root/anaconda3/envs/TF_1.0_Master/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1550, in run
_run_using_default_session(self, feed_dict, self.graph, session)
File "/root/anaconda3/envs/TF_1.0_Master/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3774, in _run_using_default_session
session.run(operation, feed_dict)
File "/root/anaconda3/envs/TF_1.0_Master/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 769, in run
run_metadata_ptr)
File "/root/anaconda3/envs/TF_1.0_Master/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 940, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/root/anaconda3/envs/TF_1.0_Master/lib/python3.5/site-packages/numpy/core/numeric.py", line 482, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'dict'
[0408 17:58:02 @base.py:173] Training was stopped.
[0408 17:58:02 @input_data.py:125] EnqueueThread Exited.

Cannot reproduce the problem.

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Will it be possible to share your Vgg16.npy file? I am just wondering if there are issues with converting the caffe model.
Thanks !
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 7:46 PM, Yuxin Wu<EMAIL_ADDRESS>wrote:
Cannot reproduce the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The model is unrelated here. I'd guess it's better to try a different version of numpy or tensorflow?
Others have seen this as well: http://stackoverflow.com/questions/43071987/tensorflow-typeerror-float-argument-must-be-a-string-or-a-number-not-dict

Or if you're curious you can print the feed_dict at "/home/agupta/TensorPack/tensorpack/tensorpack/train/input_data.py",. It should be a dict of numpy array.

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Thanks Yuxin ! I did print it but the value dp[0] was a dict object with raw bytes as keys and values but should instead be a numpy array. Is it possible that the decoding of the input data has some issues ?
Can you please let me know the versions of the following packages you are using ? I installed all these packages using conda install .- numpy- msgpack-Python - msgpack-numpy
Thanks,Ajay
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 8:04 PM, Yuxin Wu<EMAIL_ADDRESS>wrote:
Or if you're curious you can print the feed_dict at "/home/agupta/TensorPack/tensorpack/tensorpack/train/input_data.py",. It should be a dict of numpy array.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Also can you please let me know the dimensions and data type of input data fed into feed_dict ?
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 8:28 PM, Ajay Gupta<EMAIL_ADDRESS>wrote:
#yiv0669968416 blockquote, #yiv0669968416 div.yiv0669968416yahoo_quoted {margin-left:0 !important;border-left:1px #715FFA solid !important;padding-left:1ex !important;background-color:white;}Thanks Yuxin ! I did print it but the value dp[0] was a dict object with raw bytes as keys and values but should instead be a numpy array. Is it possible that the decoding of the input data has some issues ?
Can you please let me know the versions of the following packages you are using ? I installed all these packages using conda install .- numpy- msgpack-Python - msgpack-numpy
Thanks,Ajay
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 8:04 PM, Yuxin Wu<EMAIL_ADDRESS>wrote:
Or if you're curious you can print the feed_dict at "/home/agupta/TensorPack/tensorpack/tensorpack/train/input_data.py",. It should be a dict of numpy array.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Then it's probably msgpack or zmq related issue.
I'm using numpy 1.12.1, msgpack-python 0.4.8, msgpack-numpy 0.3.9, pyzmq 16.0.2.

The shape and type are
        return [InputDesc(tf.float32, [None, None, None, 3], 'image'),
                InputDesc(tf.int32, [None, None, None], 'edgemap')]

Where the first dimension (batch size) is set to 8 in the data pre-processing stage.
If an upgrade works for you, could you identify which package is causing the problem? so I can update the requirements.

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Thanks ! Sure I will let you know which package helps.
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 8:54 PM, Yuxin Wu<EMAIL_ADDRESS>wrote:
The shape and type are
return [InputDesc(tf.float32, [None, None, None, 3], 'image'),
InputDesc(tf.int32, [None, None, None], 'edgemap')]
Where the first dimension (batch size) is set to 8 in the data pre-processing stage.
If an upgrade works for you, could you identify which package is causing the problem? so I can update the requirements.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It looks like after I updated my numpy, opencv and msg-pack numpy packages, it worked. I used the versions you listed and for opencv I used version 3.1.0
Thanks for your help !
I will let you know if I run into any other issues.
On Saturday, April 8, 2017, 8:56:44 PM PDT, Ajay Gupta<EMAIL_ADDRESS>wrote:#yiv5068476196 blockquote, #yiv5068476196 div.yiv5068476196yahoo_quoted {margin-left:0 !important;border-left:1px #715FFA solid !important;padding-left:1ex !important;background-color:white;}Thanks ! Sure I will let you know which package helps.
Sent from Yahoo Mail for iPhone
On Saturday, April 8, 2017, 8:54 PM, Yuxin Wu<EMAIL_ADDRESS>wrote:
The shape and type are
return [InputDesc(tf.float32, [None, None, None, 3], 'image'),
InputDesc(tf.int32, [None, None, None], 'edgemap')]
Where the first dimension (batch size) is set to 8 in the data pre-processing stage.
If an upgrade works for you, could you identify which package is causing the problem? so I can update the requirements.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I was able to complete the training. In order to make sure that my training process went OK, can you please verify if the following graphs look reasonable (graphs below were generated using tensorboard)?

I don't remember what number you should get in the end, but the shape looks good.


Scatter FillY Double Fill

Issue: (Describe the bug here)
When FillY is enabled with a non-zero FillYValue, the area to be filled is filled twice. When alpha is < 1.0, the result is two shades of the fill color.
ScottPlot Version: (What NuGet package are you using?)
<IP_ADDRESS>
I cloned the repo and modified the Sandbox.Winforms.Form1.cs
Code Sample: See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples
This code was put into the Form1 constructor in the Sandbox.Winforms:
 double[] xs = { 2, 200, 2000, 20000 };
 double[] ys = { -50, 10, -80, -100 };

 // add log-scaled data to the plot
 var sp = formsPlot1.Plot.Add.Scatter(xs, ys);
 sp.LineWidth = 2;
 sp.FillY = true;
 sp.FillYColor = Colors.Blue.WithAlpha(0.5);
 sp.FillYValue = -200;

And the resulting output is as shown. Note that alpha is 0.5, so filling it twice changes the apparent color.

Inside Scatter.cs, there is the following around line 135:
https://github.com/ScottPlot/ScottPlot/blob/6cc3bbb5b98b62c35622056f2a9d55f2f3d51f8e/src/ScottPlot5/ScottPlot5/Plottables/Scatter.cs#L134-L162
Note that rectAbove and rectBelow are both drawn. If the 5 lines for rect below are commented out, then the fill is as expected (shown below). So, at first glance, it seems either one or the other should be selected, based on the FillY value being positive or negative. However, there are a lot of considerations here, and I don't understand the breadth of the code base enough to know if such a simple change might have impacts elsewhere.

Thanks for reporting this @BendRocks! I believe it is fixed in https://github.com/ScottPlot/ScottPlot/commit/90f05ee8f1fd62b6ae08788ba5a84da7ebfb8988 and will be in the next release 👍 🚀


Make OpaqueStruct methods more explicit in FzString docs

Like other traits, the OpaqueStruct methods are a little hard to notice on the FzString type.  They're also inaccessible from another crate unless is depends on ffizz_passby, which adds a bit of friction.  Maybe:

highlight these methods with some automatic-ness
highlight the methods in the type docs
reproduce these methods as explicit methods on the type

Automatic-ness in "notable traits"? https://doc.rust-lang.org/beta/rustdoc/unstable-features.html#adding-your-trait-to-the-notable-traits-dialog


White border around legend shapes

Add white border around symbols within legend item buttons so that they will ensure passing contrast against gray button background or other colors with new theming.
Example:

:tada: This issue has been resolved in version 1.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Helloworld

remove docker so we can run this in TC (there were docker on docker issues)

I tested on DCOS

:ship: it.

This relies on the host python3 in DCOS, which is strictly against the Service guidelines. Please don't do that! The python is not guaranteed to be there and will likely move without notice).

can you link me to the service guidelines?
On Wed, May 13, 2015 at 2:10 PM, Cody Maloney<EMAIL_ADDRESS>wrote:

This relies on the host python3 in DCOS, which is strictly against the
Service guidelines. Please don't do that! The python is not guaranteed to
be there and will likely move without notice).
—
Reply to this email directly or view it on GitHub
https://github.com/mesosphere/universe/pull/118#issuecomment-101817254.

Not shared publicly at the moment I don't think. Sending to you privately.


"Push back" time bar

Describe your problem here.
I want to be able to set a "fake song end time" so when a certain event happens in the song, it sets it to the song's actual length.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
I've added songs, characters and 2 weeks. No source code edits though.

#8299

thanks!


Add fit() to fit page width

Hi @winkerVSbecks, I want to show pdf which can fit page width when first rendered or resized by user later, so this commit is created. If you think it's useful, please merge it.

Not a good commit which can JUST process scale="page-fit", so close it, and an new commit will be created to fix it.


Ci

That push build has been going for 30 minutes...

Hopefully the build cache works :)

@luke-clifton It's OK - done now. It didn't have a cache. ;-)
I'll merge this, but feel free to swap to a different build infrastructure! (Bearing in mind we also need a way to build LaTeX stuff. The TeX stuff is in another branch at the moment: https://github.com/lancelet/space-workshop/tree/old/notes  I'm going to start bringing back a cut-down version of that this afternoon.)


How do i know the error information when log to file failure

when i set the logrus out with a file,and if i close the file,log will fail with "Failed to write to log, write somefile.log: file already closed".
but how can i get the error when logrus write failure,is there have a way like below:
if err := logrus.Error("some err");err!=nil{
    //do something
}

There are no errors returned from the top level api. If you have an error writer on the out writer a trace on stdout will be issued. You should not close the out file associated with a Logger.

in some situation,i need to close the log file,such as i open one log file for each user,i should close the log file when a user's operation done

i know i can do it this way , but since there have a error in log function,why not return this error

logrus initially try to keep a compatible interface with the standard log package which does not return error code either. Most of traces also happen while handling, adding an error handling in an error code branch may add too much complexity.
Also I don't see any good reason to handle an error which can be totally avoided.

ok,thank you


Issues with registering (triangulation) histology slices to atlas

Hi Jingyi! I can now load my tif images in HERBS but I am having issues with registration. I am following the steps in the cookbook (sec 6.5.1) but I am not clear about a couple of things.
First, does it matter whether we move the triangulation points on the atlas first, or on the histology slice first? Can I move a hypothetical point 1 on the atlas and then the corresponding point 1 on the histology image, and then move hypothetical point 2 on the histology image and then point 2 on the atlas image (i.e. Point 1 atlas -> Point 1 histology -> Point 2 histology -> Point 2 atlas, etc.)?
Second, I am not seeing any numbers next to the triangulation points like it shows in the cookbook [see screenshot 1]. When I click on the 'Transform to Atlas tool' button, you can see in screenshot 2 that there is no registration at all, and nothing in the histology slice is lined up with the atlas slice, even at the triangulation points.
Third, when I click on the bounding box icon, I get an error on the bottom left of the GUI that says "No in-image triangulation points are selected" [see screenshot 3]. It also seems like all the border triangulation points are movable, unlike what it says in the cookbook.

Thank you again for your help!

HI Natalie, Thanks for the update and issue report. could you please repeat each step you did, check if there is error message after each step, and make a screen shot after each step? I suspect there are some error messages before you select the points on the window. I could not tell what that is without your help. The more information I got, the easier for me to debug. For example, What type of histological image are you using? how many channels? what type of cleaning did you do to the image? I am also trying to reproduce the same situation. will see.

Hi Jingyi, I am using a tif image. I first loaded a tif image with 3 channels (I had sent you an example previously), and then the atlas, and then I clicked on the triangulation tool. The error comes up when I click on the triangulation tool.

Hei Natalie, thank you so much for the error message. The message says that the error comes when you change the number of triangulation points on the boundary of the image/atlas. When you delete the number 2, the text input will be empty string. This is not valid for the later calculation.  I fixed the text input value issues in the new version just now.
But I can not re-produce the same error as you mentioned

Second, I am not seeing any numbers next to the triangulation points like it shows in the cookbook [see screenshot 1].

I think probably you have other steps, or some combinations of button clicking that leads to this result. Again, I need your help to reproduce the same error to find the problem.
And about

First, does it matter whether we move the triangulation points on the atlas first, or on the histology slice first? Can I move a hypothetical point 1 on the atlas and then the corresponding point 1 on the histology image, and then move hypothetical point 2 on the histology image and then point 2 on the atlas image (i.e. Point 1 atlas -> Point 1 histology -> Point 2 histology -> Point 2 atlas, etc.)?

It does not matter the order of points you move. you can move the points with any order you like. that means, you can move the points as you said, or you can move all the points in atlas window and then histological image window. But again, the text that indicates the order of points should be displayed. If they are not displayed, there must be some errors. I am trying to debug this.

Hi Jingyi, thank you. I updated my HERBS but now I can't change the number of points - the 2 is fixed. I can add another digit to the 2, but I cannot change the number of points to 5 or 30, etc.
There is no error message in the terminal or the GUI when I press the triangulation button. The points just show up, but they are not labeled.

what I always do is to select number 2, and type in the number I want without deleting the number first.

Ah okay, that works. Thank you.

Hi Jingyi, do you think that the reason the numbers aren't appearing is because I am using a TIFF image? Are you able to replicate the problem with the files I had shared with you?

Hi Natalie,
I could not re-produce the same problem that the numbers are not displayed on both atlas and histological window. I would like to know your detail steps that lead to this problem. I also wonder if the numbers show up when you click points directly after loading the images. Many thanks for the help.

This issue is solved by clicking points at desired locations on the image window instead of dragging boundary points to the desired locations. Please open new issues if there is further problems.


Mismatch of attributes between original and converted datasets

I did julia runconvert.jl -m -c and got a bunch of .data files, but found the attributes of the original and converted acute-inflammations-2 datasets do not match: the original dataset description at http://archive.ics.uci.edu/ml/datasets/Acute+Inflammations shows there are 6 features and 2 labels, but the converted .data file only has 8 columns, with the first being IDs ranging from 1 to the number of datasets. I wonder if I am doing something wrong, or there does exist a mismatch in between. Thanks!

Sorry for my negligence. It seems each multilabel dataset is outputted as multiple single-label datasets.


Update iperf example documentation with console interface details.

I wanted to try iperf on a custom project but the serial seemed stuck after booting. I am using USB to power the board, flash and see the monitor traces. I deployed the example on a ESP32-S3-DevKitC-1 with the same results since I was connected to the micro-usb labeled as USB. After taking a brief look to the code I noticed that the console configuration is dependent of menuconfig values.
I updated the iperf documentation with some details about the menuconfig configuration to warn users about which micro-usb interface is being used by default and how to change this configuration in case they want to use the other connector like me.

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

@StevenMacias LGTM, will sync this PR to internal.


add recaptcha, keys

closes #34 adding recaptcha to the user registration form.
Since I'm adding keys here, I created a .env.example , this file is used to show the environmental variables that we store in .env file.
To faciliate this and to continue with our os.getenv method, I've used python-dotenv, there are others : django-environ, django-dotenv etc, and we can change at a later date if required, but I needed something in this PR.

I'll add the values to azure and when we set up the CI/CD and merge develop into main, it'll already be there. Is there a problem when developing locally without it?

@dawnwages yeah good catch, let me make sure it's going to work without recaptcha locally.


resource_owner_id is null on login

What
This error occurs when you try to login
{
    "status": 500,
    "error": "Internal Server Error",
    "exception": "#<ActiveRecord::NotNullViolation:\"PG::NotNullViolation: ERROR:  null value in column \\\"resource_owner_id\\\" of relation \\\"devise_api_tokens\\\" violates not-null constraint\\nDETAIL:  Failing row contains (1, User, null, aVVZU8x26XqyetX4LWXSc6ovS5Ri2P-27yzPDyb_PwAvw7UUSzkHboLMxEyJ, SjVyHn43yomfgMbqQGHmMFAHmg8sV4xCCymTFcB2kX4HA2dn-ffzDux5XM5f, 3600, null, null, 2023-05-29 13:02:32.346515, 2023-05-29 13:02:32.346515).\\n\">",

Why
Because the resource_owner_id is null and database migration has null: false
t.belongs_to :resource_owner, null: false, type: :uuid, polymorphic: true, index: true

Additional Info
This is what happens if I remove the null: false from the migration
[
  {
    "id": 1,
    "resource_owner_type": "User",
    "resource_owner_id": null,
    "access_token": "JbxfzM9-NVEx1SSiz_Y616cQtA36hMHQsqe_yxSthqRQkzzZbycZdx3hF8tZ",
    "refresh_token": "xuj_jozE1gA4py886MVSp83-dapP4g3VhzyusVyCyra9v-ecsi5YGSBDhPzM",
    "expires_in": 3600,
    "revoked_at": null,
    "previous_refresh_token": null,
    "created_at": "2023-05-29 13:08:16.431017",
    "updated_at": "2023-05-29 13:08:16.431017"
  }
]

Need to know what in Rails 7 resource_owner_id is coming as null. The Users table is "users" the standard table.
route.rb
  devise_for :users
  resources :users

User Model
class User < ApplicationRecord
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :validatable,
         :confirmable, :lockable, :timeoutable, :trackable,
         :api

The API response I get after login
{
    "token": "JbxfzM9-NVEx1SSiz_Y616cQtA36hMHQsqe_yxSthqRQkzzZbycZdx3hF8tZ",
    "refresh_token": "xuj_jozE1gA4py886MVSp83-dapP4g3VhzyusVyCyra9v-ecsi5YGSBDhPzM",
    "expires_in": 3600,
    "token_type": "Bearer",
    "resource_owner": {
        "id": 1,
        "email"<EMAIL_ADDRESS>        "created_at": "2023-05-29T13:08:10.694Z",
        "updated_at": "2023-05-29T13:08:16.449Z"
    }
}

However in the database "resource_owner_id" is null (if I remove not null in the migration)

please check the #11


Trading carry on weekend.

Hello, thanks for sharing your work.
When I try the ddpg_experiments.ipynb, I find that the model didn't recognize weekend and still buy at
the open price and sell at close price, hence it keep accumulate rewards at weekend using the open/close price ratio at Friday.
You can find the error by checking env.infos
env = PortfolioEnv(target_history, target_stocks, window_length=3, steps=1000, sample_start_date='2012-08-17')
test_model(env, ddpg_model)
for i in range(500):
print(env.infos[i]['date'], env.infos[i]['portfolio_value'], env.infos[i]['return'])
the partial results shows:
2012-09-02 1.058014239550557 0.0013116319398563077
2012-09-03 1.059402875785309 0.0013116323757466268
2012-09-04 1.0607933903235898 0.0013116849102682993
2012-09-05 1.0675025217029879 0.006304718720860286
2012-09-06 1.0637071820637054 -0.003561680119160464
2012-09-07 1.090686865405708 0.025047501078305816
2012-09-08 1.0773419908170259 -0.012310761424490245
2012-09-09 1.0641603946671545 -0.012310761448217923
2012-09-10 1.0511400792449224 -0.012310761426362674
2012-09-11 1.0297269828798703 -0.020581662744926732
2012-09-12 1.0308227588613141 0.0010635764348758947
2012-09-13 1.016849685771081 -0.013647973711283193
2012-09-14 1.0218781309497884 0.004932934435793886
2012-09-15 0.9946166375396496 -0.027040143728223203
2012-09-16 0.9986255719667779 0.004022531505118037
2012-09-17 1.0026506649364386 0.004022531505279921
The almost identical rewards we got at 9/2, 9/3, 9/4 and every weekend messed up our portfolio value.
Any ideas?

Yes. This is just a course project and there are a lot of practical issues regrading the environment. I suggest you look at other environment like this one https://github.com/wassname/rl-portfolio-management.


Arkadium5e ( working in progress )

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is:  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is:  (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: < Dungeon an Dragons 5e  > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

@Giusus94 I just wanted to check: will the update leave the sheet in a functioning state? The title would imply that there are still things you are working on; I don't want to push a broken sheet on users.

Character Sheet Info Roll20 Internal Use only.


Model has not been built yet

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.0.0-beta1
Python version:3.7..3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source): [GCC 7.3.0] :: Anaconda, Inc. on linux
CUDA/cuDNN version:
GPU model and memory: VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)

I have downloaded the official example of Convolutional Variational Autoencoder from this link.
If one starts to execute this file everything looks fine but the problem arises when one wants to save the weight or call the summary() method. (i.e.) model.summary(). This produces the following error:
ValueError: This model has not yet been built. Build the model first by calling build() or calling fit() with some data, or specify an input_shape argument in the first layer(s) for automatic build.
PS, I faced the same issue in  my costume code as well. since the file is large I prevent to provide it here but you can find it in this link.
Any Idea what's going on?! And how to overcome this challenge.
Thanks in advance.
#tensorflow

Issue replicating for the given gist when tried using model.summary(), @Sorooshi can you also provide working link for your custom model as the provided link is not working.Thanks!

Issue replicating for the given gist when tried using model.summary().
@Sorooshi can you also provide working link for your custom model,as the provided link is not working.Thanks!

Sorry for the inconvenience, (I mistakenly removed it from my repo) Please find it here.
Please let me know if it doesn't work

@Sorooshi,
Can you please refer this link and let us know if it helps. Thanks!

@Sorooshi,
Can you please refer this link and let us know if it helps. Thanks!

@rmothukuru I have seen this post previously, but this post has nothing to do with my problem.
In that (stack overflow post) the model is not build because input shape is not passed in the first layer. But the problem which I reported completely different.

Could reproduce the issue in TF Version 2.0. Here is the Gist. Thanks!

Could reproduce the issue in TF Version 2.0. Here is the Gist. Thanks!

@rmothukuru  No I can't reproduce this error with TF Version 2.0.
PS: Initially, I assumed that the latest version of a product like TF is the best one, though few days ago when I downgrade to TFV2 the problem was solved automatically.

@Sorooshi This is intended behavior. The error clearly mentions root-cause of the issue.
This is the response from @fchollet for a similar issue as yours.

You can do model.summary or saving weights with Sequential or functional models because those models are static graphs. In contrast, a subclassed model is a piece of Python code (a call method). There is no graph of layers here. We cannot know how layers are connected to each other (because that's defined in the body of call, not as an explicit data structure), so we cannot infer input / output shapes.
Please see this detailed explanation of the differences between Functional/Sequential models and imperative models: https://medium.com/tensorflow/what-are-symbolic-and-imperative-apis-in-tensorflow-2-0-dfccecb01021

I am closing the issue as it was resolved. Please feel free to open a new issue if there is any other related issue. Thanks!


2 sove

Just check i notice there are 2 sove. One with all the images and icons (uuid:- 320b2a48-4d9b-a075-30f1-1f93a9b638fa) and other with no bust and full potrate (uuid:- ded3520f-4264-bfed-162d-b080e2abccf9)
Just have a check
Sove with all images :- https://valorant-api.com/v1/agents/320b2a48-4d9b-a075-30f1-1f93a9b638fa
Sove with no images :- https://valorant-api.com/v1/agents/ded3520f-4264-bfed-162d-b080e2abccf9
Correct me if i am wrong
Thanks You

Just check i notice there are 2 sove. One with all the images and icons (uuid:- 320b2a48-4d9b-a075-30f1-1f93a9b638fa) and other with no bust and full potrate (uuid:- ded3520f-4264-bfed-162d-b080e2abccf9)
Just have a check Sove with all images :- https://valorant-api.com/v1/agents/320b2a48-4d9b-a075-30f1-1f93a9b638fa Sove with no images :- https://valorant-api.com/v1/agents/ded3520f-4264-bfed-162d-b080e2abccf9
Correct me if i am wrong Thanks You

Try passing this query '?isPlayableCharacter=true'
The URL should look like this:
https://valorant-api.com/v1/agents?isPlayableCharacter=true

Thank you for the solution

Thank you for the solution

I'm glad to help!

Can I know why is this implemented in such a way?
I cannot fathom having a use case where you want multiple sova agents with different information.
Curious to know.
Thank you


phpExtensions.gnupg: init at 1.5.0

Motivation for this change
It's a requirement for the nextcloud gpgmailer app.
Things done

Built on platform(s)

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

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

package tests

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build php74Extensions.gnupg php80Extensions.gnupg

Hi @taikx4! I see this is your very first contribution to nixpkgs, welcome!
You'll need to add yourself to the maintainer list file, otherwise it will fail the evaluation due to the reference to your username that is missing in that list: https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix
You'll find the instructions on how it should be formatted at the top there, it doesn't have to be a separate pull request, it can be added as a separate commit to this pull request :slightly_smiling_face:


Pull

Implement what I've learned so far in Pull.  I was focusing on Push. Afterward (or at the same time) see what we can combine / what abstractions make sense, with an eye toward how #23  will fit into those abstractions.

Closing, as this is handled with the rewrite to use go-car-mirror.


Devel

Pull request for including imas2tofu (first operational version)
Also includes tf.data.plot() for spectral data

Codecov Report

Merging #56 into master will decrease coverage by 4.36%.
The diff coverage is 7.74%.

@@            Coverage Diff            @@
##           master     #56      +/-   ##
=========================================
- Coverage   59.36%     55%   -4.37%
=========================================
  Files          60      66       +6
  Lines       14714   16027    +1313
=========================================
+ Hits         8735    8815      +80
- Misses       5979    7212    +1233

Impacted Files
Coverage Δ

tofu/version.py
100% <ø> (ø)
:arrow_up:

tofu/imas2tofu/_load.py
0% <0%> (ø)

tofu/imas2tofu/_utils.py
0% <0%> (ø)

tofu/imas2tofu/_configloader.py
0% <0%> (ø)

tofu/imas2tofu/_diagloader.py
0% <0%> (ø)

tofu/imas2tofu/_plasma2Dloader.py
0% <0%> (ø)

tofu/data/_core.py
51.25% <10.5%> (-13.7%)
:arrow_down:

tofu/data/_comp.py
35.62% <100%> (+0.4%)
:arrow_up:

tofu/utils.py
57.62% <18.75%> (-0.42%)
:arrow_down:

tofu/imas2tofu/__init__.py
52.63% <52.63%> (ø)

... and 11 more

Continue to review full report at Codecov.

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


changes made

Project
Name of the project
Changes
What was updated (new pages, weekly update, etc.)
Notes
If there are any further notes.

@kartiktongaria added some comments please check that, also put the images inside the assets folder and update the links. Do these changes I will handle the package and yarn issue myself.

@kartiktongaria update the links to the assets now that you placed them inside the assets folder. Also, Add checkbox to the milestones

Steps, Download the yarn.lock or generate it. Simplest way is to go to your forked repo and there click on upload new file and just upload the file

Merged with #315


About the latest release

It looks like the latest release still points to 0.6.0, shall 0.6.3 get marked as the latest release? Thanks!
relates to https://github.com/Homebrew/homebrew-core/pull/108315

Hi @chenrui333,
0.6.1-0.6.3 are all patches so we didn't want to make a big announcement about them. When we create a release in GitHub our followers are notified so we want to not be spammy by creating noise multiple times a week.
Hope this makes sense.


Whether there are plans for generic support

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Motivation 🔦

much of the code is now not reusable.
the same code cannot be accessed through a unified interface due to different types.
I want to add some generic methods for ent.

Hey @godcong and it's great to see you here again 👋
We plan to publish a proper roadmap for v0.12 after releasing v0.11 (really soon). In v0.12, we'll start experimenting with generics, and mainly work on reducing the amount of the generated code. I'll update the issue after v0.11 is released and you're welcome to join our Discord server as we may discuss some ideas and thoughts there while working on it.
Closing because there's no action to take here. Thanks 🙏


[CERT-TEST-FAILURE] - [TC-DEMM-3.3] Test failing due to CurrentMode value missmatch with OnMode value.

Feature Area
Other
Test Case
TC-DEMM-3.3
Reproduction steps

Execute the below mentioned command to put DUT into a commissionable state :
 ./chip-all-clusters-app
Once DUT reach the commissionable state sent below mentioned command on TH.
./chip-tool pairing onnetwork 1 20202021

Once after successful pairing provide the below commands:

TH reads from the DUT the StartUpMode attribute.
./chip-tool deviceenergymanagementmode read start-up-mode   1 1

[1721642000.514] [55438:55440] [TOO] Endpoint: 1 Cluster: 0x0000_009F Attribute 0x0000_0002 DataVersion:<PHONE_NUMBER>
[1721642000.514] [55438:55440] [TOO]   StartUpMode: null

if startup_mode_dut is null, Set the StartUpMode to any mode value listed in the SupportedModes entries. For getting list of supported mode please read the SupportedModes attribute and select the value.
./chip-tool deviceenergymanagementmode read supported-modes   1 1

TH writes to the DUT the StartUpMode attribute with the any value listed in the supported modes.
./chip-tool deviceenergymanagementmode write start-up-mode 1  1 1

[1721729733.438] [93998:94000] [DMG]                                 status = 0x00 (SUCCESS),
[1721729733.438] [93998:94000] [DMG]                         },

As default value of OnMode attribute is NULL. Set the OnMode to any mode value listed in the SupportedModes entries.

./chip-tool deviceenergymanagementmode write  on-mode 2 1 1

[1721729733.438] [93998:94000] [DMG]                                 status = 0x00 (SUCCESS),
[1721729733.438] [93998:94000] [DMG]                         },

TH reads from the DUT the OnMode attribute.

./chip-tool deviceenergymanagementmode read on-mode   1 1

[1721642080.817] [55449:55452] [TOO] Endpoint: 1 Cluster: 0x0000_009F Attribute 0x0000_0003 DataVersion:<PHONE_NUMBER>
[1721642080.817] [55449:55452] [TOO]   OnMode: 2

If startup_mode_dut is equal to old_on_mode_dut proceed to next step, Otherwise change the OnMode value to different from StartUpmode value.

In above StartUp Mode and onMode values are different So proceeding with next step

TH writes to the DUT the StartUpOnOff attribute with the value 1.

./chip-tool onoff write start-up-on-off 1 1 1

[1651101661960] [90832:7598169] CHIP: [DMG] status = 0x00 (SUCCESS),
[1651101661960] [90832:7598169] CHIP: [DMG] },

Physically power cycle the device

TH reads from the DUT the StartUpMode attribute.

./chip-tool deviceenergymanagementmode read start-up-mode   1 1

[1721642215.511] [55471:55473] [TOO] Endpoint: 1 Cluster: 0x0000_009F Attribute 0x0000_0002 DataVersion:<PHONE_NUMBER>
[1721642215.511] [55471:55473] [TOO]   StartUpMode: 1

TH reads from the DUT the CurrentMode attribute.

./chip-tool deviceenergymanagementmode read current-mode   1 1
Actual Outcome:

[1721642237.336] [55475:55477] [TOO] Endpoint: 1 Cluster: 0x0000_009F Attribute 0x0000_0001 DataVersion:<PHONE_NUMBER>
[1721642237.336] [55475:55477] [TOO]   CurrentMode: 1(CurrentMode attribute value should be same as Onmode value read in the step 4)

Expected Outcome:

[1721642237.336] [55475:55477] [TOO] Endpoint: 1 Cluster: 0x0000_009F Attribute 0x0000_0001 DataVersion:<PHONE_NUMBER>
[1721642237.336] [55475:55477] [TOO]   CurrentMode: 2

Bug prevalence
Whenever I do
GitHub hash of the SDK that was being used
f6022e4b0ff020835f02b85e13875e51a0de3d19
Platform
raspi
Anything else?
As per the Modebase Spec, If the On/Off feature is supported and the On/Off cluster attribute StartUpOnOff  is present, with a value of On (turn on at power up), then the CurrentMode attribute SHALL be set to the OnMode attribute value when the server is supplied with power, except if the OnMode attribute is null. However, in the Device Energy Management Mode cluster, the value of the CurrentMode is not being set to the OnMode value after powering up the DUT in the current SDK.
Spec References:

https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/ModeBase.adoc#651-onmode-with-power-up

Test plan References:

https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/mode_device_energy_management.adoc

Test step that require Review:
Step 12
Note:  This functionality is working fine in other mode-based clusters, such as the Laundry Washer Mode Cluster and the Dishwasher Mode Cluster
Reference Log:
TC-DEMM-3.3.txt

Based on discussion in DM TT and EM TT on 1st Aug - we plan now to disallow the OnMode and StartUpMode attributes in the DEMM, EVSEM and WHMM clusters - I will reference this issue in the PR.
These attributes don't make sense for DEM, EVSE and WHM - like the Microwave Oven etc.


Error in redirect when using Google auth provider

I am using Google provider for auth.
When i signin, I want to redirect to /dashboard. How can i do that?
Currently it redirects to homepage only.
Also is there any common setting to manage the redirect because i want my default redirect after any auth signup to /dashboard.

Bard has a pages based answer for this prompt that you might be able to implement in the app router: Using https://vercel.com/templates/next.js/subscription-starter redirect after login open the account page.

@reveurguy did you figure this out.  I am trying to do the same thing.

Change this line in "app/auth/callback/route.ts" with the route/url you want to redirect to:
// URL to redirect to after sign in process completes
  return NextResponse.redirect(requestUrl.origin)


Update dependency version for HTMLPurifier?

HTMLPurififier is now on 4.8.0, current dependent version is 4.6.0 from 2013-11-30

No, it's not. ~4.6 means any 4.x version more or equal than 4.6 but not 5.0.

So it should install 4.8.

My bad, my composer.json was missing the tilde character ~, thought it was being locked by Yii's.


Flake - test TestExamples/v1alpha1/taskruns/step-script

As part of the PR #4429, alpha integration tests ran into a failure:
test TestExamples/v1alpha1/taskruns/step-script 10m3s
go run hack/e2e.go -v --test --test_args='--ginkgo.focus=test\sTestExamples\/v1alpha1\/taskruns\/step\-script$'
    init_test.go:135: Create namespace arendelle-xwdmb to deploy to
    init_test.go:163: Verify SA "default" is created in namespace "arendelle-xwdmb"
    examples_test.go:62: Failed waiting for task run done: timed out waiting for the condition

The detailed logs can be found here.
/kind flake

This specific flake should be dealt with by #5005, since that removes the v1alpha1 tests entirely, but I believe this (and other v1alpha1 flakes, namely #4645, #4427, and #4415) may well continue to be flaky in their v1beta1 equivalents. In general, I think most, if not all, of the flakes we hit in e2e tests are due to timing issues on clusters created in our test project in GKE, since I've failed to reproduce any of them in repeated runs in a local kind setup...

Pipelines WG - deleted v1alpha1 examples and tests but might happen with v1beta1. Closing this for now since havent seen this in a while. We can reopen if needed!


link with matlab

Hi, I have  problems. I don't have an idea  to import your code on matlab. thanks for help.

This package is only tested for use in the common ROS platforms of C++ and python.


[DefApp] Conhostv1 activation fails from runbox when Default Terminal is set

Have Default Terminal set up
Set legacy conhost (ForceV2 registry key off / the setting in the prop sheet) for conhostv1
Run conhost cmd from the runbox which should launch it

Expected: it launches
Actual: nothing happens
Bonus points.... conhost cmd -ForceV1 doesn't seem to do what I want either

@miniksa  I'm pretty sure this isn't a regression.
https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/src/host/exe/exemain.cpp#L298-L313
But even before defterm: (harder to find since the file moved and git considered it rewritten):
https://github.com/microsoft/terminal/blob/d09fdd61cbb11b7ef2ccdd4820349ffe898ad583/src/host/exemain.cpp#L178-L192
Pretty sure conhost cmd goes down the ShouldCreateServerHandle path, and _createServerHandle is only set to false when it actually gets the 0x4 on the commandline.
So,

not a defterm regression
conhost cmd -ForceV1 may still be busted, but I doubt it ever worked
punt from 1.14? Close?

Icebox it I guess.


Powershell error

Using Powershell within Windows Container:
Type Powershell on the command line, tried to get the previous command (thought still at Command Prompt) then Powershell returns:
Last 3 Keys:
UpArrow UpArrow g
Exception:
System.ComponentModel.Win32Exception (0x80004005): Incorrect Function

This no longer repros - probably a fix in containers as lots has changed.


Why Quote spring-cloud-alibaba-dependencies 2.2.1.RELEASE not found

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
eg. Nacos Discovery, Sentinel
Describe what problem you have encountered
A clear and concise description of what you want to do.
Describe what information you have read
eg. I have read the reference doc of Sentinel

had solved


Default values

While very interesting to see my options, it's unclear what the default values are when they are not set in the config file.

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

ID: 26c87342-40f7-0da9-4922-dc323b44cf49
Version Independent ID: 4f3ea40a-cf0e-e9f0-07e2-ca37879b1318
Content: Cache settings for an app-tier server - Azure DevOps
Content Source: docs/admin/change-caching-app-tier.md
Product: devops-server
Technology: tfs-admin
GitHub Login: @aaronhallberg
Microsoft Alias: aaronha

I second this issue. I am struggling with disk usage on a server and have no idea how large I can expect the cache to get, or what recommended values would look like.


Change count to NSUInteger, make local constants static const

This makes count an @property of type NSUInteger, which is a more typical Objective-C type.  This precludes negative values for count, so the decrement method was modified accordingly.  This also makes most of the internal constants static so that they don't enter the global linker namespace and const so that the compiler knows they are constants.  The default diameter is exported, made const, and prefixed to avoid naming collisions.

I'm a huge fan of this, and I LOVE how you did all the podspec stuff already hahahahaha. give me a second to look over the code

for legacy reasons, the modification to remove negative values worries me a little, what are your thoughts?

I hadn't put much thought into it—my expectation was that the count would be unsigned (the count properties of NSArray, NSDictionary, and other collections are NSUIntegers), so I made that change first, then realized that necessitated removing the ability to have negative counts.  I wouldn't necessarily be opposed to replacing NSUInteger with NSInteger to allow negative values, but I don't really see the point in having a negative count (but I'm coming from a particular use case in which it wouldn't make sense).
Given that leaving it as NSUInteger is a potentially breaking change, the version number should probably be 1.1.0 or 2.0.0 rather than 1.0.6 if it's left that way, though.

agreed, but I think you're right in that intuitively it should be unsigned. if you can make the changes (and I agree with 2.0.0), I'll run a few tests and merge

As soon as I get free of midday meetings, I'll make those changes.

Changes to insert the missed return; and make the version 2.0.0 should be pushed now.

looks great, thanks for the input

Thanks for this project & for the quick response to the pull request.


Remote code execution vulnerability in jackson-databind before <IP_ADDRESS> (CVE-2019-14379)

The latest release https://github.com/swagger-api/swagger-core/releases/tag/v2.0.9 is using jackson-databind 2.9.9 which has a known vulnerability with a CVSSv3 score of 9.8/10 (CRITICAL).
This tends to blocks the use of this dependency in most security aware CI/CD-systems.
https://nvd.nist.gov/vuln/detail/CVE-2019-14379

jackson updated in #3307 and #3308


In dropdown, rename applicants to new

This would leave our workflow as new, favorite, archive and review.

went through and changed everything from applicants to new.


make spago run write a JS file and execute it

Description of the change
Fixes #295
Checklist:

[ ] Added the change to the "Unreleased" section of the changelog
[ ] Added some example of the new feature to the README
[ ] Added a test for the contribution (if applicable)

P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊

as it should:
$ spago run --node-args "hello world"
Installation complete.
Build succeeded.
argv length:4
argv: ["/nix/store/trash-nodejs-10.16.0/bin/node","/home/justin/Code/spago-run-behavior/.spago/run.js","hello","world"]

$ .spago/run.js hello world
argv length:4
argv: ["/nix/store/trash-nodejs-10.16.0/bin/node","/home/justin/Code/spago-run-behavior/.spago/run.js","hello","world"]


dparse 0.4.0 breaks safety

safety version: 1.8.0
Python version: 3.6
Operating System: Container build (debian python container)

Description
safety check no longer runs. Suspect breaking API change in new version of dparse.
What I Did
Clean install of safety, followed by safety check. Produces stack trace:
$ safety check
Traceback (most recent call last):
  File "/usr/local/bin/safety", line 7, in <module>
    from safety.cli import cli
  File "/usr/local/lib/python3.6/site-packages/safety/cli.py", line 9, in <module>
    from safety.util import read_requirements
  File "/usr/local/lib/python3.6/site-packages/safety/util.py", line 1, in <module>
    from dparse.parser import setuptools_parse_requirements_backport as _parse_requirements
  File "/usr/local/lib/python3.6/site-packages/dparse/__init__.py", line 9, in <module>
    from .parser import parse
  File "/usr/local/lib/python3.6/site-packages/dparse/parser.py", line 31, in <module>
    from .vendor import toml
ModuleNotFoundError: No module named 'dparse.vendor'

Seems to have occurred on dependency being resolved from dparse version 0.3.0 to 0.4.0.

Yup, dparse 0.4.0 has a packaging error. 0.4.1 is currently being pushed to PyPi. Once that's complete, I'm going to issue a new Safety release 1.8.1.

Thanks - I'm pinning the dparse version for now.

1.8.1 is now available on PyPi :)

Thanks, can confirm this is working.


Problem precompiling assets "Same file" error

I ran into a problem identical to the following open issue in the tinymce-rails project: https://github.com/spohlenz/tinymce-rails/issues/183
In my reply to that issue I describe at least part of what causes the following crash:
Removing digest from public/assets/tinymce/plugins/uploadimage/langs/de-bef79730ed6c1394d01a609e466817ce.js
rake aborted!
public/assets/tinymce/plugins/uploadimage/langs/de-bef79730ed6c1394d01a609e466817ce.js and public/assets/tinymce/plugins/uploadimage/langs/de.js
~/.rvm/gems/ruby-2.1.5/gems/tinymce-rails-4.2.8/lib/tinymce/rails/asset_installer/copy.rb:42:in `block in move_asset'

The summary is that lib/tasks/tinymce-uploadimage-assets.rake probably needs to be updated to use the tinymce-rails configuration variable defined in application.rb (ie, :compile or :copy).
The fix is pretty simple but if you prefer I can issue a pull request for the following commit:
https://github.com/zkarpinski/tinymce-rails-imageupload/commit/06db01685a708c84625d070f38ad1e74628d07a9

Hello @zkarpinski, can you open a pull request?

This was resolved by pull request #77.

Thanks!
Try with v4.0.17.beta.3, which should fix it


request: travel a distance

Say I wanted to get, roughly, a 30km by 30km square around a given lat/long, how would I do this?
Something like geolib.travel(lat, long, 30, 'km', degrees) where degrees is a number between 0 and 359.9999, and indicates the direction of travel..

Good idea!

http://www.movable-type.co.uk/scripts/latlong.html#destPoint

http://www.geomidpoint.com/destination/
Some nice sources to get some inspiration from ;)

Short update: we now have a half finished pull request which implements the movable-type function I mentioned above: #66

So, I assume this is still open, because you requested some unit tests in #66?

Nope. This one is still open because I just forgot to close it ;) The PR was merged and tests were added!


data-src img without width not lazyloading on ajax'd page

I really love your plugin more and more, really like the auto initialization and watching, just learned about MutuationObserver from your code! Thanks for that ;)
I'm using the simplest markup (the first one from the readme) in one project right now
<img data-src="image.jpg" class="lazyload" />
which is working fine on page load, but on pjax page load they wont load at all..just found out that adding a width to the img tag helps, is that right? Am I missing something?
Don't know if it's a but or my misunderstanding, just had the feel to share and maybe learn something ;-)

I would need to see a test case or a live page that demonstrates the issue. In case an image has a height and width of 0 it might be considered as invisible to the user and won't get lazyloaded.

don't have the time right now and I'm fine specifying width on the images which did the trick..I think this could be interesting information in the readme because (at least for me) it works without width/height on page load..just the ajax loaded won't show up..
just a thought..

I'm having this same issue, lazyload is working fine but when i try use it after ajax call it won't load img
"+
but if i remove the lazy class and set the data-src to src then it works why is this happening in ajax call and how to fix this

I would need to see a test case or a live page that demonstrates the issue. In case an image has a height and width of 0 it might be considered as invisible to the user and won't get lazyloaded.

currently my project is not on live server, but the portion of the code that fail looks like

the image width and height is set to 100% and this code works with the same image in php file and lazyload works good also, but using it in ajax return data it won't work


Disable welcome tab on firefox profiles.

This tab can cause profile loading failures if the developer
is offline or has a poor internet connection. That means
s/he can't test against localhost. Setting the firefox
profile to always load with that page disabled.

@jzoldak @raeeschachar @Muddasser
This should help a few of us immensely for bok-choy development when using FF 42.

:+1:

Note that the CHANGELOG was not updated to state what is in the new release.

oh @cahrens we haven't cut a new release yet. @benpatterson and I were just talking this morning about whether we'll also want to wait to include the XSS changes if they're close.

Cool, my PR is very close to being ready for review (and I was going to bump the major version number).


Creating a graph through the REST APi fails if orphanCollections has more than one element

I'm using the latest ArangoDB of the respective release series:

[x] 3.2

Mode:

[x] Single-Server

On this operating system:

[x] Windows, version: 10

[x] I'm using graph features
I'm issuing a POST request to http://<IP_ADDRESS>:8529/_db/[database]/_api/gharial via:

[x] web interface with this browser:  Chrome   running on this OS: Windows 10
[ ] arangosh
[x] this Driver: ArangoDB-NET

The issue can be reproduced using this dataset:
{
	"name": "MyGraph",
	"edgeDefinitions": [{
			"collection": "EdgeCol1",
			"from": ["ColA", "ColB"],
			"to": ["ColC"]
		},
		{
			"collection": "EdgeCol2",
			"from": ["ColD"],
			"to": ["ColE"]
		}
	],
	"orphanCollections": [
		"OrphanColA",
		"OrphanColB"
	],
	"isSmart": false
}

These are the steps to reproduce:

open the browser on http://<IP_ADDRESS>:8529
log in as ...
use database [x] _system [x] other:
SUPPORT -> REST API -> POST /_api/gharial

The following problem occurs:
{
	"error": true,
	"errorNum": 500,
	"errorMessage": "Internal Server Error",
	"code": 500
}

The graph does not get created. All collection in the edgeDefinitions array get created.
Only the first collection in the orphanCollections array gets created.
If the orphanCollections array has just one element, or is empty, the graph gets created successfully.

Hi, confirmed and fixed. Will be part of the next maintenance release next week.

ArangoDB 3.2.3 is now available for download. Please note that we switched our webserver and changed our download URLS for better performance.
Closing.


Phantomjs 2.0- [CRITICAL] QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written

I am using Phantomjs 2.0 as a screenshot service and about 5-10% of the time I run it to generate an image I get the following error:
[Error: Command failed: 2015-04-20T12:23:27 [CRITICAL] QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written ] killed: false, code: 1, signal: null
I've seen the issue using both the compiled mac binary running Yosemite as well as when building form source on a machine running Ubuntu 14.04.1.
I was able to find this issue reported in the phridge repository but it just points to phantomjs, without specifying a particular issue https://github.com/peerigon/phridge/issues/23
Below is a minimal script that can reproduce the error (5-10% of the time):
var page = require('webpage').create(),
    system = require('system');

var url = 'http://localhost:4000/screenshot/' + system.args[1];
page.open(url, function(status) {
  if (status !== 'success') {
    phantom.exit(1);
  } else {
    console.log(page.renderBase64('PNG'));
    phantom.exit();
  }
});

Thank you for your report.  We need some more information from you: specifically, we need the definition of the web page, CGI script, or whatever you have running at http://localhost:4000/screenshot/.  The PhantomJS script is not enough by itself.
Note that this is almost certainly a bug deep in the guts of Qt and we may wind up asking you to report it to them, but let's not worry about that right now.

Thanks for the quick response, I'm running an angular app locally and below is the document when the page initially loads as well as when everything has loaded, let me know if there is more info I can give.
<!doctype html>

    <title>Title</title>
    <link rel="stylesheet" href="/styles/main.css">
    <link rel="icon" type="image/x-icon" href="/images/favicon.ico">

    <title>Title</title>
    <link rel="stylesheet" href="/styles/main.css">
    <link rel="icon" type="image/x-icon" href="/images/favicon.ico">

        zendesk

      Average

      reopens

      of

      tickets

      grouped

      by

      assignee

    <tooltip-content ng-if="!preview" tooltip-position="top" tooltip-hover="false" ng-show="tooltip.showing" class="tooltip-wrapper ng-scope ng-isolate-scope ng-hide" style="left: 1340.1px; top: 305px;">

        assignee id

        average reopens

        Ted

        0

</tooltip-content>

<svg width="100%" ng-attr-height="{{svgHeight}}" height="375">
  <g ng-switch="" on="vizType" ng-attr-transform="translate(0, {{margin.top}})" transform="translate(0, 30)">
    <svg bar-viz="" ng-switch-when="barViz">
  <g class="viz-container" ng-attr-transform="translate({{margin.left}},0)" transform="translate(56,0)">

    <g axis="" ng-if="!preview" class="y axis" letter="y" tick-width="1833" scale="heightScale">
    <g class="tick" transform="translate(0,275)" style="opacity: 1;"><line x2="1833" y2="0"></line><text dy=".32em" x="-3" y="0" style="text-anchor: end;">0.0</text></g><g class="tick" transform="translate(0,137.5)" style="opacity: 1;"><line x2="1833" y2="0"></line><text dy=".32em" x="-3" y="0" style="text-anchor: end;">0.5</text></g><g class="tick" transform="translate(0,0)" style="opacity: 1;"><line x2="1833" y2="0"></line><text dy=".32em" x="-3" y="0" style="text-anchor: end;">1.0</text></g><path class="domain" d="M0,0H0V275H0"></path></g>
    <g clip-path="url(#cliphkfccocvdcissjor)">
      <g ng-attr-transform="translate({{-shifted.amount*(vizWidth - width)}},0)" transform="translate(0,0)">
        <g class="page" ng-attr-transform="translate({{pageIndex * (barWidth + barMargin)}},0)" transform="translate(0,0)">
          <g ng-repeat="barLabel in page" ng-attr-transform="translate({{$index*(barWidth+barMargin)}},0)" class="ng-scope" transform="translate(0,0)">
            <rect class="bar-background" ng-mouseover="showTooltip(pageIndex + $index, barLabel)" ng-mouseleave="tooltip.showing=false" ng-attr-width="{{barWidth}}" height="40" ng-attr-y="{{height-35}}" width="362.6" y="240">
            </rect>
            <rect ng-repeat="c in config" class="bar blue" ng-attr-width="{{barWidth/config.length}}" ng-if="values[barLabel][$index]" ng-attr-height="{{height - heightScale(values[barLabel][$index])}}" ng-attr-x="{{$index*(barWidth+barMargin)/config.length}}" ng-attr-y="{{heightScale(values[barLabel][$index])}}" ng-mouseover="showTooltip(pageIndex + $parent.$parent.$index, barLabel)" ng-mouseleave="tooltip.showing=false" width="362.6" height="275" x="0" y="0">
            </rect>
            <text class="tick ng-binding ng-scope" ng-if="!preview" ng-attr-transform="translate({{barWidth/2}},{{height + 15}})" transform="translate(181.3,290)">
              Testing
            </text>
          </g><g ng-repeat="barLabel in page" ng-attr-transform="translate({{$index*(barWidth+barMargin)}},0)" class="ng-scope" transform="translate(367.6,0)">
            <rect class="bar-background" ng-mouseover="showTooltip(pageIndex + $index, barLabel)" ng-mouseleave="tooltip.showing=false" ng-attr-width="{{barWidth}}" height="40" ng-attr-y="{{height-35}}" width="362.6" y="240">
            </rect>
            <rect ng-repeat="c in config" class="bar blue" ng-attr-width="{{barWidth/config.length}}" ng-if="values[barLabel][$index]" ng-attr-height="{{height - heightScale(values[barLabel][$index])}}" ng-attr-x="{{$index*(barWidth+barMargin)/config.length}}" ng-attr-y="{{heightScale(values[barLabel][$index])}}" ng-mouseover="showTooltip(pageIndex + $parent.$parent.$index, barLabel)" ng-mouseleave="tooltip.showing=false" width="362.6" height="6.346153846153868" x="0" y="268.65384615384613">
            </rect>
            <text class="tick ng-binding ng-scope" ng-if="!preview" ng-attr-transform="translate({{barWidth/2}},{{height + 15}})" transform="translate(181.3,290)">
              Andrew Vigneault
            </text>
          </g><g ng-repeat="barLabel in page" ng-attr-transform="translate({{$index*(barWidth+barMargin)}},0)" class="ng-scope" transform="translate(735.2,0)">
            <rect class="bar-background" ng-mouseover="showTooltip(pageIndex + $index, barLabel)" ng-mouseleave="tooltip.showing=false" ng-attr-width="{{barWidth}}" height="40" ng-attr-y="{{height-35}}" width="362.6" y="240">
            </rect>

            <text class="tick ng-binding ng-scope" ng-if="!preview" ng-attr-transform="translate({{barWidth/2}},{{height + 15}})" transform="translate(181.3,290)">
              Thor
            </text>
          </g><g ng-repeat="barLabel in page" ng-attr-transform="translate({{$index*(barWidth+barMargin)}},0)" class="ng-scope" transform="translate(1102.8000000000002,0)">
            <rect class="bar-background" ng-mouseover="showTooltip(pageIndex + $index, barLabel)" ng-mouseleave="tooltip.showing=false" ng-attr-width="{{barWidth}}" height="40" ng-attr-y="{{height-35}}" width="362.6" y="240">
            </rect>

            <text class="tick ng-binding ng-scope" ng-if="!preview" ng-attr-transform="translate({{barWidth/2}},{{height + 15}})" transform="translate(181.3,290)">
              Ted
            </text>
          </g><g ng-repeat="barLabel in page" ng-attr-transform="translate({{$index*(barWidth+barMargin)}},0)" class="ng-scope" transform="translate(1470.4,0)">
            <rect class="bar-background" ng-mouseover="showTooltip(pageIndex + $index, barLabel)" ng-mouseleave="tooltip.showing=false" ng-attr-width="{{barWidth}}" height="40" ng-attr-y="{{height-35}}" width="362.6" y="240">
            </rect>

            <text class="tick ng-binding ng-scope" ng-if="!preview" ng-attr-transform="translate({{barWidth/2}},{{height + 15}})" transform="translate(181.3,290)">
              Ryan Atallah
            </text>
          </g>
        </g>
      </g>
    </g>

  </g>

  <clipPath id="cliphkfccocvdcissjor">
    <rect ng-attr-width="{{width}}" ng-attr-height="{{height+margin.bottom}}" width="1833" height="345">
    </rect>
  </clipPath>

  <g ng-if="!preview" class="ng-scope">
    <g ng-attr-transform="translate({{width/2 + margin.left}},{{height + margin.bottom - labelPadding}})" transform="translate(972.5,325)">
      <text class="x label ng-binding">
        Assignee ID
      </text>
    </g>
    <g ng-attr-transform="translate({{labelPadding + labelHeight}},{{height/2}})" transform="translate(30,137.5)">
      <text class="y label ng-binding">
        Average Reopens
      </text>
    </g>
  </g>
</svg>

  </g>
</svg>
</viz>

We need a complete and self-contained test page: something that we can run
for ourselves.  Ideally it would be reduced to the minimum amount of code
and data necessary to trigger the problem, with dependencies on third-party
code eliminated, and packed into one file.  If specific server
configuration is required, we need to know that too.
I'm sorry to have to ask you to do a bunch more work, but we really can't
make any forward progress without it.
Here are some guidelines for minimizing test cases that may be helpful:
https://wiki.mozilla.org/QA/Minimal_Test_Cases
http://sscce.org/
http://stackoverflow.com/help/mcve
http://www.achievo.org/wiki/Minimal_testcase

Had this problem as well on some internal code. The workaround I found is to prophylactically turn on disk cache.
Eg. phantomjs --disk-cache=true

I can confirm this happens for me too on Mac, with Phantom 2.1.1. The problem seems to happen only with localhost (very-high-speed-connection) and with websockets.. I'll try to provide a small example to reproduce soon

I've got an Ember app that uses websockets and I'm hitting the same issue.

May be related to https://github.com/ariya/phantomjs/issues/14173

I have a reproduction, there is a lot of files, but at least it's spitting that error so maybe you can catch it
https://github.com/javascriptlove/phantomjs-qnetworkreplyimpl

This error happens when you have disk caching disabled.

@Vitallium someone else mentioned this earlier. IIRC I tried this and it didn't help.

@wagenet test case? I tried the sample from @javascriptlove and it worked. Also, the new PhantomJS with new WebKit doesn't have this error.

@Vitallium did you try to run that phantom script again? i noticed first time there's no error, and then there is it all the time.. btw what OS did you try on?

@javascriptlove yes, I tried. I got this error on each launch. I am on macOS Sierra (PJS 2.1.1)

Oh ok, i thought "it worked" means it is fine.. nvm

@javascriptlove no, sorry, I meant that with you sample it reproduces 100%.

I can reproduce it as well, but only in a very specific context, and randomly:
On our continuous integration, we run functional tests using Cucumber for java, Selenium and PhantomJS, on an Ubuntu.
The first test to run after the server is started fails due to this error most of the time. All other tests pass.
The tests nevers fails when we run them locally on Windows.

The workaround "--disk-cache=yes" did not work for us.

--disk-cache=yes also didint work for us, once it a blue moon it would work as expected, but 80%+ of the  test runs fail with this error.

Is there any progress being made on this issue. We are experiencing this issue  and it appears we have the exact same behavior as @javascriptlove  described.

I noticed first time there's no error, and then there is it all the time..

Also reporting this issue using Argus Eyes / phantomJS 2.1.7 to test visual regressions against a local site on macOS. [CRITICAL] QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written

One MAC - node index.js --disk-cache=true works for me!!
package - "phantom": "^4.0.2"

I received this error when I started optimising my code. It seems to only happen on really fast page loads. Although far from ideal, This hack has made the problem go away.

...

As a contribution, the error is trigged here: https://github.com/RLovelett/qt/blob/v4.8.6/src/network/access/qnetworkreplyimpl.cpp#L483
It looks like phantomjs is trying to enable cache after the page already started downloading. Even when disk cache is disable by default. The workaround to enable disk cache prevent this issue because in this mode the cache will be enabled from start. But, What happen if use cache is not desired?

Note that this fix: https://github.com/ariya/phantomjs/issues/13165#issuecomment-316260715 is going to use CPU as much as possible to block temporary the execution. No so efficient.

@josenobile

Note that this fix: #13165 (comment) is going to use CPU as much as possible to block temporary the execution. No so efficient.

I agree 100% but I would love another decent solution --disk-cache=true doesn't make any difference for me

Happened to me when I tried to load multiple stylesheets in the HTML file head, namely bootstrap (minified).
I moved to dynamically load the stylesheet and the problem is resolved.


compile issue

Nice work!  Added a standard compile chain to have a look but doesn't compile "as is".  Feel free to borrow.
Dockerfile: builder.Dockerfile
ARG base_tag=bullseye
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}

FROM --platform=linux/amd64 ${base_img} AS builder-install

RUN apt-get update --fix-missing && apt-get -y upgrade
RUN apt-get install -y --no-install-recommends \
    apt-utils \
    curl \
    cmake \
    build-essential \
    gcc \
    gdb \
    g++-multilib \
    locales \
    make \
    ruby \
    gcovr \
    wget \
    python3 \
    && rm -rf /var/lib/apt/lists/*

Makefile:
# project
project_name=c_std

builder-build :
	docker build \
                    -f builder.Dockerfile
                    -t ${project_name}-builder:latest .

builder-run :
	docker run \
		--rm \
		-it \
		--platform linux/amd64 \
		--workdir /builder/mnt \
		-v ${PWD}:/builder/mnt \
		${project_name}-builder:latest \
		/bin/bash
                #/bin/bash -c "python3 compile.py b"

Compile:
make builder-build
make builder-run

(container) python3 compile.py b

Output:
...truncated...
file_io/file_writer.c: In function ‘file_writer_lock’:
file_io/file_writer.c:494:15: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]
  494 |     if (fcntl(fileno(writer->file_writer), F_SETLKW, &fl) == -1) {
      |               ^~~~~~
file_io/file_writer.c: In function ‘file_writer_truncate’:
file_io/file_writer.c:580:9: warning: implicit declaration of function ‘ftruncate’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  580 |     if (ftruncate(fd, size) == -1) {
      |         ^~~~~~~~~
      |         strncat
Compilation failed.

1 - Feature Test Macros: In some Unix-like systems, including certain function prototypes from headers like <unistd.h> requires defining specific feature test macros. This is especially relevant for functions that are part of the POSIX standard but not part of the C standard library itself. Add the following line at the top of your file_writer.c file (before any includes)
#define _POSIX_C_SOURCE 200809L
2 -  Ensure that your compiler and linker flags are not inadvertently causing these functions to be omitted. For example, strict ANSI mode might exclude non-ANSI functions. Review the flags used in your compilation process for anything that might restrict available functions.
3 - To confirm whether this is an issue specific to the Docker environment, try compiling the code on a different Unix-like system or environment. If it compiles without warnings elsewhere, it points to a configuration issue within the Docker environment.
4 - also please check that docker have all the necessary standard libraries and headers installed. packages like libc6-dev or build-essential .
Compiling with Cmake will come soon.
I will do the configuration as soon as possible.

The point that I was trying to make (unsuccessfully) related to having one or more standard compile chains as Dockerfiles in this git repository so that the end-to-end reference compile chain(s) are visible to everyone (i.e., no looking for libraries, since they're part of the reference Dockerfile).  It will help your smoke test process as well since each reference compile chain in succession could be triggered by github actions.


Added support to expose docker-api via tcp

Added a var that enables to exposure of the docker API via TCP
Issue #344

This will only add an option regarding the unsafe tcp, I think it would be more proper to update the documentation on how to enable it.
Otherwise, we'll soon see an issue regarding tls support.

I think it would be more proper to update the documentation on how to enable it.

With "it" you mean adding to the Readme how to enable secure TLS as well?
Regarding adding it to the role: I do not have an environment available to test this out, but I can add the right vars if that helps...

Done, let me know if this is enough info for someone to get the right idea

Can you add docker_expose_docker_api_via_tcp: true to https://github.com/konstruktoid/ansible-role-docker-rootless/blob/main/molecule/default/molecule.yml#L41 and https://github.com/konstruktoid/ansible-role-docker-rootless/blob/main/molecule/default/molecule.yml#L59 so it will be included when testing?

Basic test.
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
index d5241a1..7d10b7a 100644
--- a/molecule/default/verify.yml
+++ b/molecule/default/verify.yml
@@ -88,6 +88,8 @@
           register: ps_dockerd
           changed_when: docker_user[:7] not in ps_dockerd.stdout
           failed_when: docker_user[:7] not in ps_dockerd.stdout
+          when:
+            - not docker_expose_docker_api_via_tcp

         - name: Verify docker_rootless.sh
           ansible.builtin.stat:
@@ -178,6 +180,20 @@
         delay: 10
         timeout: 120

+    - name: Verify tcp exposure
+      become: true
+      ansible.builtin.shell:
+        cmd: |
+          set -o pipefail
+          ss -ltnp | grep '\:2375.*rootlesskit'
+      args:
+        executable: /bin/bash
+      register: tcp_exposure
+      changed_when: false
+      failed_when: tcp_exposure.rc != 0
+      when:
+        - docker_expose_docker_api_via_tcp
+
     - name: Ensure no docker-compose.yml exists
       become: true
       become_user: "{{ docker_user }}"

All done 👍


Fix sign of fractional units in Duration initializers from Double.

When separating a double duration into integral and fractional parts, we got the sign wrong. This fixes that bug.

@swift-ci smoke test


Fix misc wasm compilation issues

Set opt_level correctly for all subcommands
Properly run dev when requested
use wasm32-wasi for llvm host and wasm backend
fix wasm-ld warnings

@bhansconnect Thank you!!! 🎉 this works well for me.


ocnews sync issues

Hello, this is Newsboat version 2.10.2
I have urls-source "ocnews" working for my nextcloud news instance, but I've  realized syncing is not fully correct. Although the majority of feed sources have unread items matched with NC, some have not. On those problematic ones, a manual refresh will get them to sync fine. I've already tried the vacuum option and even deleting the actual cache file.
In addiction to that, I find refreshing all feeds very slow compared to the official app I run on my android phone.  I have the options reload-threads 20 set, which seems to be already a big number.

@dirb, are you still using ownCloud News? Do you have any insight into what might be going on here?
@aleprovencio, reload-threads is only used with local urls-source, so it shouldn't affect this at all. (But you'd better check this bit :)
Run Newsboat with debug logging and look for lines saying "ocnews_api::query: connection error code":
$ newsboat --log-level=6 --log-file=newsboat.log

@Minoru, yes lots of these lines on the logs, all showing error 28. The reload-threads seem to make a difference, as I just tested with htop.

Error 28 means timeout. The default for Newsboat is 30 seconds.
I'm actually glad I was mistaken about reload-threads thing; does it help if you set it to a lower value, maybe just 1? Otherwise (but separately) try tweaking download-timeout to see if larger values help.
How many feeds have you got, by the way?
Last but not least, you might take a look at the logs at your nextCloud instance to see if there's any traces of timeout there.

@Minoru thanks for figuring that out.
I increased reload-threads in the past to maybe improve syncing speed which is still slow, but setting it to 1 as suggested doesn't get me unread feeds mismatch or "connection errros" on the newsboat logs. NC logs are also clean.
I'll keep an eye on it and maybe tweak timeout.
My feed subscriptions totals 55.

Cool, so that issue's resolved, then! I'll open a separate one for slowdown compared to the official app. I'm also adding some code that'll convert numeric error codes to text, to make debugging easier.


Remove Stakeholder.md

This list is now available on
https://solidproject.org/use-solid/ for Pod and WebID providers
and
https://solidproject.org/use-solid/apps for Solid Apps.
I propose to delete this list to avoid wiki rot.

Assuming that the intention here is to remove stakeholder tracking, which seems reasonable. This really should be one pull that removes this file, along with the references in the process document. The title and description of the PR should be updated to actually reflect what is being done. Stakeholders doesn't appear in the title or description anywhere, and there's no physical wiki involved.

PR closure, even by the original submitter, without merge and without comment, especially after meaningful and/or approving comment/discussion on that PR, is baffling to later readers like myself.  Such closure should always be accompanied by some explanation thereof.  Adding it now would be better than not adding it at all.


HorizontalColorPicker: Fixes animation when selected color changes

Before:

After:

asking @njarecha to review, I think he wrote this component


UIButton onClick event not working

I'm trying to register a mouse click using the following:
const btn = UIButton.fromCircle( [p1, p2] );
btn.onClick( ui => {
    console.log('btn clicked');
});
btn.render( g => form.fillOnly("#000").circle( g ) );

The button renders but nothing appears in console when clicking.

Hi @cbergen , you also need to put a UI.track in a player's "action" callback, so that the actual UI events are passed into UIButton. For example:
    action:( type, px, py) => {
      UI.track( arrayOfUIs, type, new Pt(px, py) );
    }

Take a look at line 85 in the UI demo here.
I do realize this might be a bit unintuitive, but this also makes the UI classes more flexible (eg, you can stop tracking anytime by not passing values to UI.track, or pass arbitrary values to it).
The API for UI classes will need some more thinking. If you have feedbacks after using it, please file issues. Thanks for trying it out!

That's a big help, thank you!