Getting "failed to execute message; message index: 0: exceeds limit: create wasm contract failed" on a cw721_base contract

Hi there! I've compiled the cw721_base contract from the cw-nfts repository and I've been trying to upload it to the blockchain (my own, on cosmos sdk). I don't think I have any problems with the chain itself coz I've been able to successfully upload other contracts (nameservice, escrow). The error message I'm getting is very strange: "failed to execute message; message index: 0: exceeds limit: create wasm contract failed". Would be grateful if you guys could somehow assist.

yes, this error messages is returned when the wasm contract is to big

okay, in this case we should make the error message easier to understand


fix: deprecation of Theme._vars by using config attributes

Supersedes #206
Closes #205

I've asked on Material discussion: https://github.com/squidfunk/mkdocs-material/discussions/6453


Cow: Watch tecguru.com.au

Cow requests the watch of the watch_keyword tecguru\.com\.au. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tecguru\.com\.au has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by double-beep in Charcoal HQ


example gives false UNSAT

pigment20b in mzn_probs2020 gives unsat although it shouldnt

liner-sf-repositioning/fm3_3.mzn gives false unsat

Was already fixed, didn't update ...


Regarding parsing error

Thanks for making the code available for the paper. I am running the code with the example data you provided. I am running in to error related to parsing.
iterators/table_adjacency_parsing_iterator.py", line 78, in train
    model.sanity_preplot(sess, summary_writer)

tensorflow.python.framework.errors_impl.InvalidArgumentError: Key: global_features.  Can't parse serialized Example.
	 [[{{node ParseSingleExample/ParseSingleExample}} = ParseSingleExample[Tdense=[DT_INT64, DT_INT64, DT_INT64, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], dense_keys=["adjacency_matrix_cells", "adjacency_matrix_cols", "adjacency_matrix_rows", "global_features", "image", "vertex_features", "vertex_text"], dense_shapes=[[810000], [810000], [810000], [3], [1049088], [4500], [27000]], num_sparse=0, sparse_keys=[], sparse_types=[]](arg0, ParseSingleExample/Const, ParseSingleExample/Const, ParseSingleExample/Const, ParseSingleExample/Const_3, ParseSingleExample/Const_3, ParseSingleExample/Const_3, ParseSingleExample/Const)]]
	 [[node IteratorGetNext_1 (defined at /table_detection/graphparsing/ties_v2/readers/image_words_reader.py:67)  = IteratorGetNext[output_shapes=[[?,4500], [?,27000], [?,1049088], [?,3], [?,810000], [?,810000], [?,810000]], output_types=[DT_FLOAT, DT_INT64, DT_FLOAT, DT_FLOAT, DT_INT64, DT_INT64, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](OneShotIterator_1)]]
	 [[{{node IteratorGetNext_1/_9}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_11_IteratorGetNext_1", tensor_type=DT_INT64, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

I think the issue  is related to getfeeds. I think there is mismatch between how TFRecords are packed and how they are parsed. I also tried by generating new data using the code provided in READ file and I am facing the same issue.

Changing
; Number of total global features
num_global_features=4

; Unknown? (remove it next time)
num_data_dims=5

I had the same issue. That particular error was gone after changing the variables in the config (as mentioned above). However, now the program segfaults after one iteration.
...
Starting iterations
Training Iteration 0:
Accuracy - cells: 0.500672102 rows: 0.487090439 cols: 0.495236427
 Loss     - cells: 0.694381773 rows: 0.72147584 cols: 0.726865649
 Fraction - cells: 0.493346483 rows: 0.514542282 cols: 0.504710674
 Total loss: 0.72147584
---------------------------------------------------
Validation Iteration 0:
Accuracy - cells: 0.504660308 rows: 0.500964344 cols: 0.496350169
 Loss     - cells: 0.692633688 rows: 0.709815621 cols: 0.721956372
 Fraction - cells: 0.495503753 rows: 0.495069176 cols: 0.503972471
 Total loss: 0.709815621
---------------------------------------------------
Visualizing
Training Iteration 1:
Accuracy - cells: 0.495369285 rows: 0.498303801 cols: 0.499932796
 Loss     - cells: 0.692240357 rows: 0.711595178 cols: 0.726988494
 Fraction - cells: 0.504212081 rows: 0.496714324 cols: 0.500122249
 Total loss: 0.711595178
Segmentation fault (core dumped)

@dexterslabs Did you encounter this? What do you think could be the reason for this segfault?

@dexterslabs Yes, you are right, global features are supposed to be four. That was causing the issue. I am using  the following configuration myself which works fine:
[gravnet_fast_conv_1]
from_scratch=1
is_sampling_balanced=1
batch_size=25
train_for_iterations=20000000000
learning_rate=0.0001
num_testing_samples=100
summary_path=/home/shahrukh/SundayOnwardOut/gravnet_fast_conv/summary
model_path=/home/shahrukh/SundayOnwardOut/gravnet_fast_conv/model
test_out_path=/home/shahrukh/SundayOnwardOut/gravnet_fast_conv/test

training_files_list=/home/hassanmahmood/tukldataset/train_files.txt
validation_files_list=/home/hassanmahmood/tukldataset/validate_files.txt
test_files_list=/home/hassanmahmood/tukldataset/test_files.txt

model=conv_grav_net_fast_conv
profiler_output_file_name=/home/shahrukh/SundayOnwardOut/gravnet_fast_conv/profiler
visual_feedback_out_path=/home/shahrukh/SundayOnwardOut/gravnet_fast_conv/visual_feedback
max_vertices=900
num_vertex_features=5
max_image_height=768
max_image_width=1366
image_channels=1
max_words_len=30
dim_vertex_x_position=0
dim_vertex_y_position=1
dim_vertex_x2_position=2
dim_vertex_y2_position=3
dim_num_vertices=2
num_global_features=4
dim_width=1
dim_height=0
num_data_dims=3
variable_scope=conv_grav_net_fast_conv_1
samples_per_vertex=6
loss_alpha=1
loss_beta=1
loss_gamma=1
save_after_iterations=50
validate_after=100
visualize_validation_results_after=150

@munikarmanish I am not sure about the segmentation fault. Have you managed to resolve it yet?

@shahrukhqasim When using your config, the training ran for about 300 iterations and then segfaulted again! Could this be caused by insufficient memory? By the way, one interesting thing I noticed is that one of row and cell accuracies never reached more than ≈50% while the other two went up to 98%.
Also, what is the "Fraction" in the output?
Training Iteration 319:
 Accuracy - cells: 0.986933231 rows: 0.975857377 cols: 0.494874418
 Loss     - cells: 0.0397053286 rows: 0.213991225 cols: 0.420835525
 Fraction - cells: 0.504426718 rows: 0.500666559 cols: 0.505125642
 Total loss: 0.224844024

Finally, how to use the saved model in "inference" mode? For instance, I want to send an image of a table along with the text blocks (from OCR). Is there a way to get the 3 matrices from these inputs?

@munikarmanish fraction was for debugging purposes as an estimate of classes distribution. It shows: class 0/(class 0 + class 1) fraction averaged over all the vertices and over the batch.
Yeah, I think it could be something related to memory; however, normally, TensorFlow throws a memory exception. I'll run again tonight to see if I am getting it. It was working fine last time I worked with this repository.

@munikarmanish
Did you get better results ?
Did you generate a synthetic dataset provided, if so, how many images did you save per record?

@hasslercastro Yes, I generated the synthetic dataset, and I noticed that it didn't have enough variations—same font, always 2 header rows, same alignment for all columns, similar shapes, etc.

@munikarmanish Ah okay, did you try with your own dataset?

@munikarmanish where you able to figure out how to send a image with OCR textblocks and get the 3 adj matrics.

@munikarmanish how did you resolve the segfaults issue. I am facing the same error and my GPU memory, for sure, is not exhausting as I am using very small batch size. nvidia-smi shows, 1200 MB/ 24GBs only


[IO-483] FilenameUtils.getPrefixLength fix for unix files/folders starting with colon

FilenameUtils.getPrefixLength now works correctly for unix files/folder that are in the root folder and start with colons

I think the proposed solutions works with no regressions in the code. Checked out the pull request locally, played with the tests adding a few other entries, but found no issues.
Will leave it open for others to review. Might be interesting to add the new test case examples to the method Javadoc too, IMO.

Thank you for the quick follow up.
Let us see what will others say.

Pull request merged. Mentioned you in the issue entry in changes.xml @marko-vasic. Let me know if your name is not Marko Vasic, or if you'd like me to use a different in that file.
https://github.com/apache/commons-io/blob/593de775be9e5cb9c9a6cbcebe9a40ce80cc4bfd/src/changes/changes.xml#L50
And thank you for your contribution
Bruno


Synthetic Proj construction?

It would be good to have a synthetic version of the Proj construction, as it would be useful for constructing projective schemes.

Yes that would be nice. Also to have a correspondence of schemes of the form $\mathrm{Proj}(S)$ to closed subsets of $\mathbb{P}^n$ as defined in foundations, "6 Projective Space". Maybe some of the things @mnieper wrote in random facts under "2 Homogeneity" can be used. Note that - as far as I know - it is also still open if every closed subset of $\mathbb P^n$ is a common zero set of homogeneous polynomials.

We at least have Definition 18.13 of my thesis. I don't know whether the description can be simplified.

Thanks @iblech! I think that should work.

When now rereading that passage, I also noticed that I should have been clearer!
I was referring to a version of the usual rescaling relation: Homomorphisms $\alpha,\beta : A \to R[T]$ are equivalent iff there is an invertible number $\lambda : R$ such that for all natural numbers $n$ and all homogenuous elements $x$ of degree $n$, $\alpha(x) = \lambda^n \beta(x)$.

Maybe the question was also what quotients are in the internal language?
I know how to answer that in HoTT: We would use a set-quotient (6.10 in the HoTT-book).

Ah, yes! In my thesis I was working in the internal universe of the 1-topos, so everything was set-truncated, so yes, in the context of HoTT I mean the set quotient.

Thanks for clarifying! Yes, everything here seem to be sets at least as far as I know of

Now that the winter term is coming to an end and I have some time, I am going to revisit this again.

There is already some stuff in the branch called "projectivity". I still have to write a number of sections.

Thanks! Let's talk about this in Gothenburg.


[FR]: I am a developer from China and need to use the app in order to learn Compose. However, the Google Store is not available in my country.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the problem
I am a developer from China and need to use the app in order to learn Compose. However, the Google Store is not available in my country.
Describe the solution
I am a developer from China and need to use the app in order to learn Compose. However, the Google Store is not available in my country, is it possible to place an installer in https://developer.android.google.cn/ and provide updates?
Additional context
No response
Code of Conduct

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

If you are learning Compose, presumably you're using Android Studio. In which case, what's stopping you from building and running the project from there? Wouldn't that be more useful for learning since you have direct access to the source code.
I'm open to publishing the APK on github but would like to understand your requirements first.

nowinandroid has been installed on my device, when launch the app, can't get data from the network.
I grabbed the log：

can I use this app in China？and How do I configure it? thanks.

Ignore above message, I installed app-demo-release.apk on device, That's OK.

Enable ssl service http: here but you change to https: for protocol


Rounding is wrong

print('Cx = Cs = %s' % Quantity(12.25, 'F').render(prec=2))

gives
Cx = Cs = 12.2 F

while 12.25 should be rounded to 12.3

OK, sorry for the noise, now I see it follows Python convention of rounding half to even, not to Round half up as I originally expected.


[Feature] Project tasks

Could it be possible to add 'Tasks' subpage per repository (something like Jira or GitHub Projects), so that every project could have its own board with a list of tasks? I think there should be several columns, best configurable per project.

Duplicate of https://github.com/go-gitea/gitea/issues/3476
Will be implemented in https://github.com/go-gitea/gitea/pull/8346


Please release for Foxy

I'm being inundated by users of Nav2 and your customers for issues with TB3 not being released or available in ROS2 foxy. It would be good for you to release this so your customers can use it.

@SteveMacenski
Most of the TB3 related packages have been released already and are available as of August 28th, 2020 (ref). I assume they will only have to $ rosdep update to install newly distributed packages.
Jaehyun

Ah makes sense, thanks!


FPS drop when running MercuryTrade

I experience fps drop when run MercuryTrade, poe in background fps are good (constants 144 in town), but when foreground fps drops to 65 (in town), i think its for the toolbar overlaying the poe making some issues, idk what to do. (Win 7, recently switch to gtx1070)
Thanks in advance and for the effort doingthat useful tool. :)

Just checked windows aero is off, turn in up and the issue dissapear

thanks, u have 144hz monitor?

yeah have 144 hz monitor, desktop fps is at 144 aswell. Thanks for the reply
On Thu, Apr 6, 2017 at 1:23 PM, Konstantin<EMAIL_ADDRESS>wrote:

thanks, u have 144hz monitor?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Exslims/MercuryTrade/issues/67#issuecomment-292144287,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZtexIK53aC8OC2bCyV7uN7ZZvbq8ITjks5rtMssgaJpZM4M1USC
.


Project Goal: Wheel of Date Night

AS A user
I WANT to click a button
SO THAT I will be given options on a genre for a movie with suggestions on what to watch
AND I will be given options for a food cuisine with suggestions on a meal for the occasion

How about
AS A user I will be given options for movie genres and food cuisines
WHEN i click a button
I will be given a pairing of movie and cuisine
THEN I will be presented with  a list of options for each category.


[move-only] Initial patch for move only address checking.

I handle now var, inout, mutating self that are non-trivial/loadable. Also, I handle inits correctly. Still a work in progress, but enough is done to get something into tree.

@swift-ci test

@swift-ci test

One thing to keep in mind with this patch series is that I left out the address only tests that I have on a branch. This was done on purpose since until I fix SILGen to make it so that we borrow move only var like things when we pass them to function arguments, we hit a ton of spurious errors on the tests. I am going to upload those tests together with the borrow fix just to save my hands a ton of unnecessary typing.


feat: add RecvRaw

To address the need for reading raw stream lines or customizing stream responses, we have introduced a RecvRaw method to the streamReader. This enhancement allows for more flexible and direct interaction with stream data.
Fixes #887, #889.

@WqyJh thank you for the PR! Please the latest changes from master here, so the CI will pass

Fixed @sashabaranov


Consider update Electron Version min to 9.0.1

My Setup

Operating System: Windows 10
App Version: 2.17.10
Install method: Appx

Description
Consider updating Electron Version min to 9.0.1.
In the previous version, the electron js has a problem with process.windowsStore.
This may cause a problem with auto-update if you have installation from an Appx.
Useful links:
describe bugs: https://github.com/electron/electron/issues?q=is%3Aissue+process.windowsStore
fixed version: https://www.electronjs.org/releases/stable?page=2#release-notes-for-v901
Current Behavior
Chat installed from the Appx package show auto-update dialog and install another one chat desktop client. As a result, we have two desktop clients in the system.
Expected Behavior
Chat installed from the appx package shouldn't show an auto-update dialog and shouldn't start the auto-update process.

Thank you very much! I'm closing it as develop already is using Electron 10. It will soon be merged into master.


Stormpy interface

This PR builds on #236. (It makes some modification to synchronous parallel composition.)
It adds interface to stormpy by introducing the following classes/modules.

tulip.transys.MarkovChain and tulip.transys.MarkovDecisionProcess to define a Markov chain and a Markov decision process. MarkovChain derives from KripkeStructure and adds "probability" to transition attribute. MarkovDecisionProcess derives from MarkovChain and adds "action" to transition attribute.

Update ks_synchronous_parallel to synchronous_parallel and takes care of composition of Markov models.

Add mathfunc module that includes FunctionOnLabeledState class. This class can be used, .e.g, to define a policy. Currently, it is used to store a policy generated by stormpy.

tulip.interfaces.stormpy is the interface to stormpy. It contains functionality such as parsing tulip transys structure to prism file and vice versa.

@slivingston @murrayrm
I just rebased this PR with the current master. It's ready for review.

@tichakornw I plan to review it today

I want to add stormpy to CI builds. Because the installation involves some non-Python tools like carl and Storm, we should create a script that is known to work at least on Debian-like GNU/Linux hosts. E.g., extern/get-lily.sh.
I can make such a script during my review, following instructions at https://moves-rwth.github.io/stormpy/installation.html and https://moves-rwth.github.io/pycarl/installation.html

Yeah, installing all the dependencies for stormpy is not so simple. It will take a few hours. At the time I installed mine, which was around late Feb, I couldn't get the latest stormpy to work with the stable branch of storm, so I had to revert stormpy to commit 7ae4d0806edde02093d4f90ee25d381b344180ff. I wrote an instruction at the bottom of this page
https://www.cds.caltech.edu/~murray/wiki/index.php?title=EECI-IGSC_2020
regarding how to install carl, pycarl, z3, storm, and stormpy.

Thanks for sharing your instructions. I will explore the possibility of caching the resulting installation on Travis CI.

Thanks @slivingston .

I almost have a script to build and install stormpy. My goal is to finish it and complete review of this PR tomorrow.

Sounds good. Thanks @slivingston .

quick update: I became stuck at installing pycarl, but now it is working, so I will be able to finish tonight or tomorrow.

update: I now have a script that builds stormpy, Storm, etc. on Fedora and Ubuntu 18.04. I observed what you warned: building requires more than 1 hour. today I will try either the Travis CI cache or saving the Storm and CArL files somewhere and downloading for each CI job.

Thank you @slivingston and sorry for the trouble.
Does Travis allow using a docker image? If so, we can create a docker image with these libraries installed.

@tichakornw yes, Travis supports Docker, and I have experience using it there, but it might not be possible to run Tulip tests outside a Docker container with dependencies inside a Docker container. 1 idea: for stormpy-related tests, Tulip is copied into the container, so Tulip tests are executed entirely inside there. I will try this if copying bin and lib files does not work.
No worries. This is not trouble. It is a journey and an opportunity!

I have a script that pulls built files of CArL and Storm from https://sourceforge.net/projects/cudd-mirror/files/ and builds and installs pycarl and stormpy from these. In my local trials on Ubuntu 18.04 it works reliably, so now I am trying it on Travis CI with the temporary branch stormpy-travis-ci.

this is working on my temporary branch, so I am going to apply the changes onto the branch of this PR, and finally finish my review.
note that stormpy requires Python 3, whereas Tulip still supports Python 2.7. @tichakornw do you have a recommended way to proceed?
my proposal is

skip the tests if Python major version number is 2
check the Python major version number when users import interfaces.stormpy and, if 2, print warning

the disadvantage of item 2 is it incurs a small, unnecessary cost for users of Python 3, which seems unfair because Python 3 is what everyone should be using anyway. therefore, we could also skip item 2 and let it crash for users of Python 2 who try the stormpy interface

Thanks, @slivingston. I thought that with the removal of python 2 support (which should be coming soon), 1 might be sufficient. What do you think?

@tichakornw this interface with Stormpy is exciting in general because it introduces probabilistic objects into Tulip, and in particular because interacting with Storm is well motivated.
re: https://github.com/tulip-control/tulip-control/pull/237#issuecomment-722053959 yes, I agree that item 1 ("skip the tests if Python major version number is 2") is sufficient.

Adding Stormpy on Travis increases CI job total durations by approximately 3 times; e.g., 4 minutes 52 s of the Python 2.7 job vs. 15 minutes 3 s of the Python 3.8 job at https://travis-ci.org/github/tulip-control/tulip-control/builds/741525664
We can make this faster by compiling Stormpy and pycarl and saving the files as done for Storm and CArL. However, I am not available to work on that yet, so I am going to go ahead and merge.


handle_s3_sns: encode tag values in base64 to comply with AWS tags restrictions

We also make ContentDisposition handling more lenient & do some tidying here. It sometimes seems a bit silly to fuss over the logging so much especially when it comes to the testing, but as this is unattended and we're unable to spoof being the caller (easily), having the logs and knowing they're right is the only way we can see what's actually going on.

I've pushed a couple of fixes on top of this too now.

Note that though it looks as though a lot of the view module is new/has changed, the vast majority of it is just it being un-indented a step. If you want a better idea of what has actually changed, look at the individual commits.

Closing in favour of https://github.com/alphagov/digitalmarketplace-antivirus-api/pull/13

Leaving branch in place in case it's useful.


?

Would you mind clarifying in the readme what  is for vim n00bs? Or linking to an explanation or something? I've not found Google very helpful on the matter, so I've not been able to livecode in tidalvim. I'd imagine people who are as unfamiliar with vim as I am would find it very useful.
Thanks!

Hi! you're right, it was poorly explained.
I've just added something about local leaders on the README file. Hopefully it's clearer now.
Also, there's more info if you type :help leader or :help localleader inside Vim.
Thank you!

Got it! :D It turns out my issue was a combination of things including ss mapped to stripWhitespace in my vimrc, and some weird issues with plugin conflicts that I didn't really understand. It kind of suddenly started working, which was handy.
One other suggestion I'd have is if there was a way to close everything at once - the dirt instance, the tidal prompt and vim so that it felt more like a cohesive program (which obviously I realise it's not).
Thanks for your help!

One other suggestion I'd have is if there was a way to close everything at once - the dirt instance, the tidal prompt and vim so that it felt more like a cohesive program (which obviously I realise it's not).

Yeah, it's a pity you can't have a buffer for REPLs inside Vim (at least I couldn't find an easy way to do it), so using tmux or screen for communication was the best method I found.
You can detach from a tmux session with c-b a (that is "tmux prefix key + a", ctrl+b is the default). Running tidalvim again will open your session just as you left it. You can also kill the sesssion with c-b : and typing kill-session.


Run without VSCode

It's possible to run it without VSCode and generate html page only?

The extension doesn't support it, but in general it uses a HTML document with graph generated as SVG so it is possible to dig how it happens and recreate using data read once from exploring the files. But unfortunately I won't be able to help with it.


Frequency spectrum

Hi! Was wondering if it is possible to visualise a frequency spectrum using this library?

Hi!
There's a plugin for that, but it's not very stable: http://www.wavesurfer.fm/example/spectrogram/

Cool! That's alright, it's what I was looking for. Thank you! :smile:


Fixed package name in module-info

see https://github.com/eclipse-ee4j/orb-gmbal/tree/master/impl/src/main/java/org/glassfish/gmbal

Can you open new PR for module-info only, please?


Update DG

Codecov Report

Merging #204 (90b8787) into master (183cf0b) will decrease coverage by 0.61%.
The diff coverage is 1.13%.

@@             Coverage Diff              @@
##             master     #204      +/-   ##
============================================
- Coverage     54.96%   54.34%   -0.62%
- Complexity      699      701       +2
============================================
  Files           143      144       +1
  Lines          3022     3060      +38
  Branches        393      394       +1
============================================
+ Hits           1661     1663       +2
- Misses         1170     1208      +38
+ Partials        191      189       -2

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/CommandBox.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/HelpBox.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/MemberCard.java
0.00% <ø> (ø)

.../main/java/seedu/address/ui/MemberDetailsCard.java
0.00% <ø> (ø)

.../java/seedu/address/ui/MemberDetailsListPanel.java
0.00% <ø> (ø)

...rc/main/java/seedu/address/ui/MemberListPanel.java
0.00% <ø> (ø)

...c/main/java/seedu/address/ui/MemberViewWindow.java
0.00% <ø> (ø)

...rc/main/java/seedu/address/ui/ReservationCard.java
0.00% <ø> (ø)

... and 16 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 672bf23...90b8787. Read the comment docs.


Request: don't require "iOS GPU family 4" unless explicitily needed..

Hi,
nice to see now all units tests came with IOS support.. but seems I compiled 01 unit test and doesn't run
on ipad Pro 10.5 (iOS GPU family 3) because says texture cube map arrays need ios gpu family 4..
this is only supported on latest iphones and iphone x..
don't know if engine could lower requiriments to "ios gpu family 3" with much more use base..
for example 07 tesselation unit test should run on family 3 devices..
thanks..

We do not support iOS in the moment :-) but we are building up a build system to test various iOS devices. As soon as we have some confidence that it runs on a wider range of devices, we will ship the iOS support. Give us a bit more time ... it will be in the news section of the website, when it happens.

We're targetting iOS_GPUFamily3_v3 with our latest iOS release, so this should no longer be an issue :)


COLLECTIONS-575: Add synchronized queue wrapper

Added QueueUtils#synchronizedQueue(Queue) wrapper and SynchronizedQueue with tests. Please check if I used proper conventions as it's my first PR to commons-collections.

Coverage decreased (-0.01%) to 85.107% when pulling 91725eb4f518826254c4c8d53903f2193dc58d32 on Xaerxess:COLLECTIONS-575-synchronized-queue into 3c1867e231093319b1bbbe5b0362d4063517cf24 on apache:trunk.

Coverage decreased (-0.005%) to 85.115% when pulling 3f964189485ddf3153339e9186e38a072a6a11f6 on Xaerxess:COLLECTIONS-575-synchronized-queue into 3c1867e231093319b1bbbe5b0362d4063517cf24 on apache:trunk.

Coverage decreased (-0.005%) to 85.115% when pulling 3f964189485ddf3153339e9186e38a072a6a11f6 on Xaerxess:COLLECTIONS-575-synchronized-queue into 3c1867e231093319b1bbbe5b0362d4063517cf24 on apache:trunk.

Coverage decreased (-0.02%) to 85.101% when pulling 6b132217b8a1ba33fbeb2296b896359a9987d20a on Xaerxess:COLLECTIONS-575-synchronized-queue into 3c1867e231093319b1bbbe5b0362d4063517cf24 on apache:trunk.

@Xaerxess - As posted in the Jira Issue, do you mind rebasing to master and re-opening this pull request?


Blog Post: Immutable Data Structures vs. Data Encapsulation

Write a blog post contrasting functional, immutable data as a strategy as compared to data encapsulation.

In progress https://github.com/lance/lance.github.io/blob/develop/src/words/immutability.md

Done http://lanceball.com/words/2016/11/28/forget-data-encapsulation-embrace-immutability/


How to autostart?

Should I just create ,service in /etc/systemd/system/ for each jet service separately? What do worker and daddy do?

daddy is a watchdog service that is responsible for keeping all other services alive: rebalancer, worker, logger, and telegram. daddy has a small codebase, to minimize the possibility of a crash; the idea is that daddy will keep on running until stopped. all other services have a more complex codebase, with a higher probability of a crash.
subsequently, you just need to add daddy service to the /etc/systemd/system.


Rebellion can't start via systemctl

In docker 1.12.1, systemctl start rebellion.service failed.
Here is the output of journalctl -fn
Oct 13 10:41:00 c1-lain17 docker[25236]: Error response from daemon: No such container: rebellion.service
Oct 13 10:41:00 c1-lain17 systemd[1]: rebellion.service: control process exited, code=exited status=1
Oct 13 10:41:00 c1-lain17 systemd[1]: Unit rebellion.service entered failed state.
Oct 13 10:41:00 c1-lain17 systemd[1]: rebellion.service failed.
Oct 13 10:41:00 c1-lain17 systemd[1]: rebellion.service holdoff time over, scheduling restart.
Oct 13 10:41:00 c1-lain17 systemd[1]: Started rebellion.
Oct 13 10:41:00 c1-lain17 systemd[1]: Starting rebellion...
Oct 13 10:41:00 c1-lain17 docker[25243]: /bin/docker: Error response from daemon: network "host" not found.
Oct 13 10:41:00 c1-lain17 docker[25243]: See '/bin/docker run --help'.

The ExecStart config of rebellion.service is
ExecStart=/usr/bin/docker run \
          --name %n --rm --net="host" -p 8178:8178/tcp \
          -e NODE_NAME=c1-lain17 -e LAINLET_PORT=9001 -e GRAPHITE_PORT=2003 \
          -v /data/lain/volumes/:/data/lain/volumes/:ro \
          -v /data/lain/rebellion/heka/cache/:/data/heka/cache \
          -v /data/lain/rebellion/heka/local/:/data/heka/local \
          -v /data/lain/rebellion/logs/:/var/log/supervisor/ \
          rebellion:2.0.2

The parameter --net should be without quotes and be named to --network.


while i try to run my aplication after setting the java aruguments it showing like this error #2561  2017-02-06 13:18:51 WARN  pinpoint-commons-x.x.x(-SNAPSHOT).jar not found 2017-02-06 13:18:51 WARN  Agent Directory Verify fail. skipping agent loading. *****************************************************************************

Description

Environment

Pinpoint version:
OS, WAS, affected library, etc:
Additional details (e.g. how your collector/web is set up):

Additional Info

Please ask questions according to the format of the guidelines.


Extending test to use model and demonstrate memory leak

Fixes the Session to not immediately dispose the graph.
When running the model there appears to still be a memory leak (though much smaller). Checking the stack after the test has completed shows some tensorflow ops and a graph still in memory:

@Oceania2018 even if  the memory leak isn't fixed completely, could we get this merged in? It's still a substantial reduction in memory growth compared to the last release with a working SavedModel

@LukeBolly Can you resolve the conflicts?


For Swift 5.10, mark Storage defaultInstance nonisolated(unsafe)

Part of the issues in #1560

Once we sort out rest of the warning, we'll probably want to pull these all to the 1.x branch.


How generate right credentials for  Google Sign-in?

In my flutter project which is for both Android and  iOS, I want to implement authentication with Google. Supabase wants from me the Client ID and Client secret. When I go to the Google Cloud Platform and try to generate an OAuth Client ID, it asks from me the project type(Web, Android, iOS).

What type should I select, if my project is for both Android and iOS, but Supabase asks from me only one Client ID and Client secret.
For example if I select Android, it gives me only Client ID, not client secret, but Supabase waits from me both.
Then I selected web application, and filled the client id and client secret fields in Supabase google sign in credentials. But when I try to sign in with Provider.Google in supabase, it in the same moment returns null data.

p.s. Even consent screen is not opening

@dshukertjr @phamhieu @bdlukaa

https://github.com/supabase-community/gotrue-dart/pull/68#issuecomment-1117017649 may be related

@hmarat At the moment, Supabase supports web based OAuth login. The PR @bdlukaa has mentioned is one that brings Supabase closer to adding a fully native OAuth login, but there are some works to be done so it will take a little more time for it to land.
In the mean while, you mentioned that you are not able to sign in even using the web version. Are you using the signInWithProvider() method to sign in?

@dshukertjr I didn't try web, I need only mobile for now :) So I can't use native google sign in with normal consent screen for now? When it will be implemented and available?

@hmarat

I didn't try web, I need only mobile for now

Sorry, I wasn't clear enough. It does work on mobile app, but it will take users to the web version of the consent screen, which might not be ideal for some situations. Give signInWithProvider() a try and you will see it!

So I can't use native google sign in with normal consent screen for now? When it will be implemented and available?

Hopefully not so far away from now, but we do not have a definite timeline on this.

@dshukertjr okay, thanks :) What about getting access token on frontend and write some cloud function on Supabase?)And then send it from frontend to the supabase, and with just rest api, get all google user data for sign in?

@hmarat If your goal is to obtain user's Google profile information and not sign users in via Google account, then I think that will work!

My goal here is Sign in user with google. Can I get user's data with cloud function and just create new user or generate some token if user already exists?

@hmarat If you are trying to sign users in via their Google account, then the method I provided here will be the best option, but have you tried it?

Sorry, I wasn't clear enough. It does work on mobile app, but it will take users to the web version of the consent screen, which might not be ideal for some situations. Give signInWithProvider() a try and you will see it!

With the cloud functions route, you might be able to get user information, but you won't be able to sign the user in via our auth system unfortunately.

Okay @dshukertjr , thanks. I will try it and let you know ;)

@dshukertjr and if I do in the way you told, what is your suggestion about redirecting back to the app with already signed in user?😀

@hmarat You can use deeplinks to bring the users back to the app.

@hmarat

I didn't try web, I need only mobile for now

Sorry, I wasn't clear enough. It does work on mobile app, but it will take users to the web version of the consent screen, which might not be ideal for some situations. Give signInWithProvider() a try and you will see it!

So I can't use native google sign in with normal consent screen for now? When it will be implemented and available?

Hopefully not so far away from now, but we do not have a definite timeline on this.

I'm getting a similar issue when trying to login with Google locally. Since only web version is working, I cannot enter my local android simulator address (http://<IP_ADDRESS>:54321/auth/v1/callback) as authorized redirect uri when creating Google web credentials in Google Cloud console. I get: 'Invalid Redirect: must end with a public top-level domain (such as .com or .org).'
How do I get around that? I'd like to do testing in my local supabase running in docker.

@hmarat You can use deeplinks to bring the users back to the app.

I tried this, it can work, yes, but it's very uncomfortable, because asks from user open the link in app or continue with browser :(
Any other comfortable ways to do this?

@dshukertjr If I will go firebase, will I be able to migrate all data into supabase in the upcoming future, if authentication will be fully implemented for mobile?

I tried this, it can work, yes, but it's very uncomfortable, because asks from user open the link in app or continue with browser :(
Any other comfortable ways to do this?

We are right around the corner at implementing native auth, which is what you are looking for it seems like!

If I will go firebase, will I be able to migrate all data into supabase in the upcoming future, if authentication will be fully implemented for mobile?

Yup, we have Firebase to Supabase migration tool here.

@dshukertjr Amazing, thanks!

@hmarat I will go ahead and close this issue. You can follow the progress on proper mobile auth flow here!

@dshukertjr any news? :)

@hmarat Sorry, not quite yet. We will deliver the news once it has been implemented!

@dshukertjr Okay, so what do you suggest ? :) I should release the app in july.

Implement it with firebase and then later migrate to supabase.
Wait for native auth and implement it with supabase.
Thanks )

@hmarat If I were you, I would just go with Supabase now and build the social login with the current implementation. Currently, you can still sign people in using Google account from your native app by redirecting the users to the browser only for signing in. You can follow the example here on how you can do that. Eventually when true native sign in lands on Supabase, I would upgrade the supabase-flutter plugin to start using that.
If you can release your app with just email + password auth to begin with, that might be a good option as well.
If for some reason true native sign in is an absolute requirement, and you absolutely must release your app by July, then I would initially go with Firebase to play it safe.

@dshukertjr Okay, thank you for the answer :) And lastly can you tell me the approximate time, when this will be ready ? :)

@hmarat We are really hoping to get it shipped by August!

@hmarat We are really hoping to get it shipped by August!

Hey @dshukertjr :) We decided to wait  your  Auth implementation :) Do you think it will be done by August?

Hey @hmarat,
We are working hard, but the auth team of Supabase have a lot on their plates, so cannot promise anything for sure. With that being said, native auth is a very demanded feature, so we would love to bring it ASAP.
BTW, what is the auth provider that you plan to use? Maybe we can prioritize those ones.

I'm looking forward to this feature too, hoping to have this ASAP. I'm planning to use google and apple

Hey @hmarat,
We are working hard, but the auth team of Supabase have a lot on their plates, so cannot promise anything for sure. With that being said, native auth is a very demanded feature, so we would love to bring it ASAP.
BTW, what is the auth provider that you plan to use? Maybe we can prioritize those ones.

Google and Apple :) Thanks. Will be very happy to see it implemented :)

@dshukertjr any news about the progress? :)

There will be updates posted on this issue https://github.com/supabase-community/supabase-flutter/issues/5 when there is one.


Fixed 2591 delete view focus bug after refresh

Modified code of action table for this issue, hence closing this PR.


Fix Categories in .desktop (linux)

"Network" should be included in Categories.
As far as I know, there is no "Chat" category in Linux.

It is listed under the "additional" categories on freedesktop.org. The docs don't mention being able to set multiple categories. I'm not sure which distros/DEs do or do/not support the "Chat" category--the website makes it seem relatively common.

@chrisknepper can you add this to your .desktop config in /local on linux?
StartupWMClass=Android Messages
If not there it creates duplicate apps when pinned to the gnome dock and the running window.


[NL] Add an action classifier and strict mode to enable it

Also added a golden test case. Right now this is only used (and enabled) in chart server path not in the explore page.


Derive debug for params struct in server macro

Is this something worth doing? I came across wanting this while writing a little app to get more familiar with leptos. It means that all params to #[server] functions need to implement Debug but they already must implement Serialize and Deserialize so I imagine that's fine? In any case, feel free to close if not wanted / needed!
The specific use where I came across this was something like:
let pending_todos = move || {
  submissions
  .get()
  .filter(|submission| submission.pending().get())
  .into_iter()
  .map(|submission| {
      view! {cx,
      // Inspect the whole struct not just one field

{move || format!("{:?}", submission.input.get()) }

      }
    })
  .collect::<Vec<_>>()
};

Thanks, this is useful and should be totally fine.


Revamp Getmore Inventory

About the PR

Revamped Getmore inventory to better suit the purpose of it. Added pistachios, sunflower seeds and CnDs from tg. Made the syndicakes box not cabinet perspective
Why / Balance

the inventory did not have unique items apart from the raisins, the chocolate and the syndicakes (which are now emag only like tg)
Media

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

Make sure to take this Changelog template out of the comment block in order for it to show up.
:cl: Potato1234_x

tweak: Changed the contents of the snack vendor to better fit snacks.
add: Added C&Ds, Bob's sunflower seeds and Sweetie's pistachios.

test fails not my fault??

test fails not my fault??

I have the same garbage with tests, I'm glad that you embodied the idea that I wanted to do at some point but could not

these are cute and i like them

why does the bottom item look doctored bruh

why does the bottom item look doctored bruh

how so

the e's are all fucked


libselinux: fix build without python

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 119090 at c04482ce run on x86_64-linux 1

796 packages marked as broken and skipped:

adobe-reader
adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
agdaPackages.iowa-stdlib
...

11177 packages skipped due to time constraints:

AusweisApp2
DisnixWebService
EBTKS
EmptyEpsilon
Fabric (python38Packages.Fabric)
MIDIVisualizer
MMA
OSCAR
OVMF
OVMF-CSM
...

2 packages built successfully:

python38Packages.libselinux
python39Packages.libselinux

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/os-specific/linux/libsepol/default.nix:37:5:
   |
37 |     license = lib.licenses.gpl2;
   |     ^


Fix warning about data type range

A greater than comparison between a uint8_t and a value of 255 will always be false due to the limited range of uint8_t.
Closes #13.

Thank you as always :)


Creating issues results in "[Poeschl/Hassio-Addons] Run failed: Issue Labeler - main" emails

Which addon?
n/a
Describe the bug
When you create an issue, the GH action has issues and sends multiple "Run failed: Issue Labeler - main" emails
https://github.com/Poeschl/Hassio-Addons/actions/runs/5991071856
https://github.com/Poeschl/Hassio-Addons/actions/runs/5991040103/job/16248983453
shows two warnings:
Warning: Unexpected input(s) 'not-before', valid inputs are ['repo-token', 'configuration-path', 'enable-versioned-regex']

then an error further down...
Removing label pixelflut from issue #414
/home/runner/work/_actions/github/issue-labeler/v2.3/node_modules/@octokit/request/dist-node/index.js:66
        const error = new requestError.RequestError(message, status, {
                      ^

RequestError [HttpError]: Label does not exist
    at /home/runner/work/_actions/github/issue-labeler/v2.3/node_modules/@octokit/request/dist-node/index.js:66:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 404,
  headers: {
    'access-control-allow-origin': '*',
    'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
    connection: 'close',
    'content-encoding': 'gzip',
    'content-security-policy': "default-src 'none'",
    'content-type': 'application/json; charset=utf-8',
    date: 'Sun, 27 Aug 2023 12:53:36 GMT',
    'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
    server: 'GitHub.com',
    'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
    'transfer-encoding': 'chunked',
    vary: 'Accept-Encoding, Accept, X-Requested-With',
    'x-accepted-oauth-scopes': '',
    'x-content-type-options': 'nosniff',
    'x-frame-options': 'deny',
    'x-github-api-version-selected': '2022-11-28',
    'x-github-media-type': 'github.v3; format=json',
    'x-github-request-id': '1026:18BC:A7E2E:156B6F:64EB4750',
    'x-oauth-scopes': 'repo, workflow, write:packages',
    'x-ratelimit-limit': '5000',
    'x-ratelimit-remaining': '4997',
    'x-ratelimit-reset': '1693144416',
    'x-ratelimit-resource': 'core',
    'x-ratelimit-used': '3',
    'x-xss-protection': '0'
  },
  request: {
    method: 'DELETE',
    url: 'https://api.github.com/repos/Poeschl/Hassio-Addons/issues/414/labels/rsync-local',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit.js/16.43.2 Node.js/16.20.1 (Linux 5.15; x64)',
      authorization: 'token [REDACTED]',
      'content-length': 0
    },
    request: {
      hook: [Function: bound bound register],
      validate: {
        issue_number: { required: true, type: 'integer' },
        name: { required: true, type: 'string' },
        number: { alias: 'issue_number', deprecated: true, type: 'integer' },
        owner: { required: true, type: 'string' },
        repo: { required: true, type: 'string' }
      }
    }
  },
  documentation_url: 'https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue'
}

To Reproduce

Create an issue
Check email

Expected behavior

No error email
Screenshots

xref https://github.com/github/issue-labeler/issues/60 and https://github.com/github/issue-labeler/pull/59#discussion_r1093345415
Currently on v2.3 - https://github.com/Poeschl/Hassio-Addons/blob/e3fd61e/.github/workflows/issue-labeler.yaml#L11
https://github.com/github/issue-labeler/releases/tag/v2.3
https://github.com/github/issue-labeler/releases/tag/v3.2
https://github.com/github/issue-labeler/compare/v2.3...v3.2

Possibly related to https://github.com/github/issue-labeler/issues/24

Tags are completely wrong on this task too


k8s e2e tests [144/151]

Not that bad for a very first run of k8s e2e tests: 117/151 :smile_cat:
Full logs available at:

https://runcom.red/e2e.log (117/151)
https://runcom.red/e2e-1.log (139/151)
144/151

test yourself with:
$ sudo setenforce 0

# either this way or start crio.service
$ cd $GOPATH/src/github.com/kubernetes-incubator/cri-o && \
  sudo ./crio --cgroup-manager=systemd --log debug.log --debug --runtime \
  $GOPATH/src/github.com/opencontainers/runc/runc --conmon $PWD/conmon/conmon \
  --seccomp-profile=$PWD/seccomp.json

$ sudo PATH=$GOPATH/src/k8s.io/kubernetes/third_party/etcd:${PATH} \
  PATH=$PATH GOPATH=$GOPATH \
  ALLOW_PRIVILEGED=1 \
  CONTAINER_RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT='/var/run/crio.sock \
  --runtime-request-timeout=5m' ALLOW_SECURITY_CONTEXT="," ./hack/local-up-cluster.sh

$ KUBERNETES_PROVIDER=local KUBECONFIG=/var/run/kubernetes/admin.kubeconfig \
  go run hack/e2e.go -v --test -test_args="-host=https://localhost:6443 --ginkgo.focus=\[Conformance\]" \
  | tee e2e.log

# enjoy

Summarizing 7 Failures:

[Fail] [k8s.io] Projected [It] should project all components that make up the projection API [Conformance] [Volume] [Projection]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2213

[Fail] [k8s.io] PreStop [It] should call prestop when killing a pod [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pre_stop.go:174

[Fail] [k8s.io] DNS [It] should provide DNS for the cluster [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/dns.go:223

[Fail] [k8s.io] Kubectl client [k8s.io] Guestbook application [It] should create and stop a working application [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1718

[Fail] [k8s.io] Networking [k8s.io] Granular Checks: Pods [It] should function for intra-pod communication: http [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:217

[Fail] [k8s.io] Kubectl client [k8s.io] Kubectl run --rm job [It] should create a job from an image, then delete the job [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2113

[Fail] [k8s.io] Networking [k8s.io] Granular Checks: Pods [It] should function for intra-pod communication: udp [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:217

Ran 151 of 603 Specs in 5721.093 seconds
FAIL! -- 144 Passed | 7 Failed | 0 Pending | 452 Skipped --- FAIL: TestE2E (5721.12s)
FAIL

Ginkgo ran 1 suite in 1h35m21.34754297s
Test Suite Failed

Nice - next target is getting these to 0 failures :)

alright, trimming down the list above a lot :) many of the failures is just beacuse local-up-cluster.sh runs with SecurityContextDeny. I'll re-run the test and post an updated list :)

FYI I figured the following test:
[Fail] [k8s.io] EmptyDir volumes [It] volume on default medium should have the correct mode [Conformance] [Volume]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:76

will be fixed by using ALLOW_PRIVILEGED=1 in local-up-cluster.sh or, if you run k8s directly, by adding --allow-privileged  to kubelet.
Not sure that fixes other tests here, I'll re-run them once I finish the run I started in my previous comment :)

first comment updated with new result, 137/151, going to re-run the suite as per my previous comment.

diff --git a/server/container_create.go b/server/container_create.go
index c15985e..5cbab69 100644
--- a/server/container_create.go
+++ b/server/container_create.go
@@ -589,6 +589,14 @@ func (s *Server) createSandboxContainer(ctx context.Context, containerID string,

 	containerImageConfig := containerInfo.Config

+	// TODO: volume handling in CRI-O
+	//       right now, we do just mount tmpfs in order to have images like
+	//       gcr.io/k8s-testimages/redis:e2e to work with CRI-O
+	for dest := range containerImageConfig.Config.Volumes {
+		destOptions := []string{"mode=1777", "size=" + strconv.Itoa(64*1024*1024), label.FormatMountLabel("", sb.mountLabel)}
+		specgen.AddTmpfsMount(dest, destOptions)
+	}
+
 	processArgs, err := buildOCIProcessArgs(containerConfig, containerImageConfig)
 	if err != nil {
 		return nil, err

The patch above makes many other tests pass for tests with images that defines a Config.Volumes map. Can be used as a workaround for now till we have correct volume handling in CRI-O. I'll make a PR for it shortly cause there's no reason for now to have those images not working. The tmpfs stuff is an hack, yes, still useful for now.

I think we can add this tmpfs volume as a temporary fix. The downside is more RAM usage for containers with VOLUMEs so would want to move to disk-backed cri-o managed volumes.

I think we can add this tmpfs volume as a temporary fix. The downside is more RAM usage for containers with VOLUMEs so would want to move to disk-backed cri-o managed volumes.

I'll test with that patch and see how it goes. Will report status here

for the record, I'm running e2e on Fedora 25 and all network tests currently failing seem to be resolved by just sudo iptables -F before running tests again - no clue why but it's something documented

@runcom iptables -F removes all the rules so not surprising :) We do want to fix it the right way by just adding the right rules. I wouldn't advise running iptables -F outside of a test VM.

139/151, updated first comment and logs available at https://runcom.red/e2e-1.log

One of them is the projected failure which is really a bug in kube so one less to worry about ;)

1st and 2nd test used to pass with node-e2e though, we need to understand why they're failing now, they didn't in my first run also...

1st and 2nd have been fixed by #537 - will re-test this out soon

[Fail] [k8s.io] PreStop [It] should call prestop when killing a pod [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pre_stop.go:174

Fixed by #537

[Fail] [k8s.io] Kubectl client [k8s.io] Kubectl run rc [It] should create an rc from an image [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1165

[Fail] [k8s.io] Kubectl client [k8s.io] Kubectl rolling-update [It] should support rolling-update to same image [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:177

fixed as well

Nice!

On May 28, 2017, at 4:33 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:
[Fail] [k8s.io] Kubectl client [k8s.io] Kubectl run rc [It] should create an rc from an image [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1165
[Fail] [k8s.io] Kubectl client [k8s.io] Kubectl rolling-update [It] should support rolling-update to same image [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:177
fixed as well
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Port forwarding tests panic, fix is here https://github.com/kubernetes-incubator/cri-o/pull/542
though, it seems our nsenter/socat implementation isn't correctly working (even if it's copy/pasted from the dockershim one, I verified this by running the same tests with docker, and they pass with it, but fail with CRI-O for some weird, network, issue I guess).

I suspect that it might be related to iptables. We might need a rule or something may be blocking it.

On May 28, 2017, at 8:31 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:
Port forwarding tests panic, fix is here #542
though, it seems our nsenter/socat implementation isn't correctly working (even if it's copy/pasted from the dockershim one, I verified this by running the same tests with docker, and they pass with it, but fail with CRI-O for some weird, network, issue I guess).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

found the root cause, it's actually a bug in CRI-O itself, port forwarding tests now passes with #542 + a fix coming in a moment :sunglasses:

All port forwarding tests fixed by #542 and https://github.com/kubernetes-incubator/cri-o/pull/543 - @mrunalp PTAL at those :)

I'll re-run the whole e2e once those 2 PRs are merged.

we're now at 144/151 :tada: , I've updated the result in the first comment so look there for failing test. The remaining failing tests are either network issues (probably because of my laptop) or tests that relies on attach (but @mrunalp is working on it :+1:)

@sameo @mrunalp this test works fine only after disabling firewalld and flushing iptables, otherwise it always fail.
systemctl stop firewalld
iptables -F

[Fail] [k8s.io] PreStop [It] should call prestop when killing a pod [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pre_stop.go:174

So 3 of the 7 failures are flaky or misconfigurations, we need to tackle just 4 then, that are all related to attach :)

Awesome 👍😀

On May 29, 2017, at 11:23 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:
So 3 of the 7 failures are flaky or misconfigurations, we need to tackle just 4 then, that are all related to attach :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Turns out this test:
[Fail] [k8s.io] Kubectl client [k8s.io] Guestbook application [It] should create and stop a working application [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1718

is failing just because we run the tests w/o a DNS service when doing local-up-cluster, one way to fix it when running the test is to follow this https://github.com/linzichang/kubernetes/blob/master/examples/guestbook/README.md#finding-a-service
(in the CI, we'll likely switch to env DNS as pointed out in that readme)

Yeah, we could switch to env for that test :+1:

That test is basically failing because hack/local-up-cluster.sh is docker specific I guess https://github.com/kubernetes/kubernetes/blob/master/hack/local-up-cluster.sh#L52-L58

So the only test failing now is the attach one :) I just confirmed the following test works fine (it was a kubelet misconfiguration wrt to kube-dns). We need to enable kube-dns in local-up-cluster to test it, like this:
$ sudo PATH=$GOPATH/src/k8s.io/kubernetes/third_party/etcd:${PATH} \
  PATH=$PATH GOPATH=$GOPATH \
  ALLOW_PRIVILEGED=1 \
  CONTAINER_RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT='/var/run/crio.sock \
  --runtime-request-timeout=5m' ALLOW_SECURITY_CONTEXT="," DNS_SERVER_IP="<IP_ADDRESS>" API_HOST="<IP_ADDRESS>" API_HOST_IP="<IP_ADDRESS>" KUBE_ENABLE_CLUSTER_DNS=true ./hack/local-up-cluster.sh

After setting KUBE_ENABLE_CLUSTER_DNS=true and setting API_HOST and API_HOST_IP to the vm ip address, the test passes:
• [SLOW TEST:116.981 seconds]
[k8s.io] Kubectl client
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:656
  [k8s.io] Guestbook application
  /home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:656
    should create and stop a working application [Conformance]
    /home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:375
------------------------------
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSJun  7 10:54:12.965: INFO: Running AfterSuite actions on all node
Jun  7 10:54:12.965: INFO: Running AfterSuite actions on node 1

Ran 1 of 603 Specs in 117.032 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 602 Skipped PASS

Ginkgo ran 1 suite in 1m57.331986003s
Test Suite Passed

So, we are at 149/151 :) (one is always skipped). We just have 1 test left!

Updated first comment :)

attach test now passes!
@rajatchopra @dcbw @sameo  could you help figuring out the network flakyness? probably some misconfiguration:
[Fail] [k8s.io] DNS [It] should provide DNS for the cluster [Conformance]

the above is never passing for some reason
The test below passes only if we stop firewalld and flush iptables before running tests:

# systemctl stop firewalld
# iptables -F

[Fail] [k8s.io] PreStop [It] should call prestop when killing a pod [Conformance]
/home/amurdaca/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pre_stop.go:174

@mrunalp Can we close this issue?  I think all tests are passed now

let's leave this open till we figure the DNS stuff out

FYI I got all tests running in the CI :) so i've updated the title and I'm just waiting for #631 to be merged :)

FYI I got all tests running in the CI :) so i've updated the title and I'm just waiting for #631 to be merged :)

#631 was merged last September.  I'm not sure if we want to leave it open as some sort of tracker issue?  Personally, I prefer issue labels for that sort of thing.

I am going to close this issue, Since it seems to be fixed.


fmt/894 (v85)

Hi Ross
the second byte sequence in this signature is a "#" (hex 23). It should appear at an absolute offset from the BOF at 128. In yours it is at offset 170, appended to the end of the first byte sequence. This seems a bit like that EOF issue I reported: where you have two byte sequences that can overlay each other, rather than being adjacent.

Rich

Thanks Richard, I do need to sit down and investigate this some more. As
well as fmts 899/900 which I haven't an instinct as to why those two have
failed (the new PE signatures). But I'll set aside some time next week
hopefully and feed back some more information.
On Thu, Jun 30, 2016 at 10:54 PM, Richard Lehane<EMAIL_ADDRESS>wrote:

Hi Ross
the second byte sequence in this signature is a "#" (hex 23). It should
appear at an absolute offset from the BOF at 128. In yours it is at offset
170, appended to the end of the first byte sequence. This seems a bit like
that EOF issue I reported: where you have two byte sequences that can
overlay each other, rather than being adjacent.

Rich
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/exponential-decay/skeleton-test-suite-generator/issues/5,
or mute the thread
https://github.com/notifications/unsubscribe/AByxXOe0kIIfPju0bdZheih2Oz7szO7sks5qQ6BVgaJpZM4JCCXL
.

edit - not an absolute 128 offset for that "#", but a range 0-128. Issue still applies as it appears at offset 170 in the skeleton file

Write-up of how to fix this here: https://github.com/digital-preservation/droid/issues/115#issuecomment-250342003

Hmm, it's an odd signature with the two variable offsets for byte sequences one and two starting from offsets zero and one... http://www.nationalarchives.gov.uk/PRONOM/fmt/894

yes, I wonder what the rationale was? a very weird signature


IGNITE-23052 Sql. Fix flaky testGlobalMinimumTxBeginTime

https://issues.apache.org/jira/browse/IGNITE-23052

Thank you for submitting the pull request.
To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:
The Review Checklist

[ ] Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
- There is a single JIRA ticket related to the pull request.
- The web-link to the pull request is attached to the JIRA ticket.
- The JIRA ticket has the Patch Available state.
- The description of the JIRA ticket explains WHAT was made, WHY and HOW.
- The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[ ] Design: new code conforms with the design principles of the components it is added to.
[ ] Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
[ ] Code quality: code is clean and readable, necessary developer documentation is added if needed.
[ ] Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

Apache Ignite Coding Guidelines

@korlov42 can you explain what was fixed.
I checked TeamCity and did not find the failure described in JIRA.
This test had 614 successful runs and one failure, but that failure was unrelated to the test (I think it was something with the environment).
https://ci.ignite.apache.org/project.html?projectId=ApacheIgnite3xGradle_Test_IntegrationTests&buildTypeId=&tab=testDetails&testNameId=-1062067507657448801&order=TEST_STATUS_DESC&branch_ApacheIgnite3xGradle_Test_IntegrationTests=__all_branches__&itemsCount=50

@xtern
This test assumes, that transactions started in the order T1, T2, and T3 will have monotonically increased start time with respect to the order they were started in. This is true for transactions started from the same node, but may not be hold for transactions started from different nodes. The reason is hybrid clock that used during transaction creation. Hybrid clock backed by real clock provided by environment, but also have logical part which is incremented every time now() is invoked.
If we take a look at exception message, we could see, that expected time (start time of tx1) is 5 tick more that actual time, which may be a start time of one of the remaining transactions (tx2 and tx3).
java.lang.AssertionError:
Expected:  is <113027528011677701L>
     but: was <113027528011677696L>

Given that all tree transactions are started immediately one after another, I think it is possible, that all of them are started at the same millisecond of the real clock. But we may be unlucky enough, and the hybrid clocks on one of node runs forward by logical part of the time (on node 1 has 5 more invocation of clock.now() than others).
My fix aimed to address this problem. I made sure, that start time of the transactions remains in the order in which those transactions were started.


Adding Activity and its Tests

Hey Anthony, not sure if you've already seen, but there are some compilation errors in Activity.java pertaining to the DateTimeFortmatter. Not sure if it's compiling for you, but I think the Travis tests are complaining about it.


Syntax error and 'use strict' not found after update (3.0.0)

Descript your bug
Errors after executing scss-bundle:
project/node_modules/.bin/scss-bundle: 1: project/node_modules/.bin/scss-bundle: use strict: not found
project/node_modules/.bin/scss-bundle: 2: project/node_modules/.bin/scss-bundle: Syntax error: word unexpected (expecting ")")

To Reproduce
Steps to reproduce the behavior:

npx scss-bundle

Package version: 3.0.0
Node version: v12.8.1
OS: Linux

Fix is already on the way. https://github.com/reactway/scss-bundle/pull/70. Thanks @savushkin for that.

v3.0.1 is released 🎉. I am closing this issue, if it doesn't fix your problem, please re-open.


Add eslint and apply eslint format fixes

Adds capability to run eslint on the javascript files.
Using google's js linting rules.
Added default ignore rules for requiring jsdoc, and max-line length (to avoid too many changes)
Applied eslint fixes throughout -- this performs only minor reformatting, no actual runtime code changes.
To use: run the following in the repo root (assuming nodejs and npm are already installed)
# installs eslint runtime in the repo root directory
npm install

# Check for linting errors
npm run eslint

# Fix all auto-fixable linting errors
npm run eslint-fix

Is it possible to add or reference google config?
$ npm run eslint

><EMAIL_ADDRESS>eslint
> npx eslint **/*.js

Oops! Something went wrong! :(

ESLint: 8.56.0

ESLint couldn't find the config "google" to extend from. Please check that the name of the config is correct.

The config "google" was referenced from the config file in "$HOME/git/chrome-extensions/.eslintrc.js".

It seems I cannot fix any files using the commands above. I am sure it worked before but now it just does nothing. (no error, just finishes without applying any changes).

To close the loop - the problem was with the shell expansion and subdirectories. It is now fixed.


Collect session warnings

After we implemented SHOW WARNINGS, right now we need to collect to session warnings.
PR: https://github.com/src-d/go-mysql-server/pull/464 extended Session interface by:

AppendWarning(warn *sql.Warning)
Warnings()[]*sql.Warning
So, what left is to collect session warnings and call ctx.Session.AppendWarning(...)

Related to:

https://github.com/src-d/go-mysql-server/issues/442

https://github.com/src-d/go-mysql-server/pull/464

https://dev.mysql.com/doc/refman/8.0/en/show-warnings.html

AppendWarning is perhaps too specific to how it's implemented. How about AddWarning or just Warn?


Not sure if it is a bug and not using source code

Describe your bug here.
PlayState.hx (line 4633)
PlayState.hx (line 3240)
flixel/group/FlxGroup.hx (line 769)
PlayState.hx (line 3179)
flixel/FlxState.hx (line 202)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

when and how does this happen? need info to recreate
are you using a custom note texture?


Add llvm-strings to the distribution

@ostannard would you please cherry-pick into the llvm-19 branch as well, thank you!

@voltur01 sure, do you think #512 should be cherry-picked too?

Yes, please, to be consistent, thank you!

Cherry-pick: #513


[auto-merge] bot-auto-merge-branch-23.08 to branch-23.10 [skip ci] [bot]

auto-merge triggered by github actions on bot-auto-merge-branch-23.08 to create a PR keeping branch-23.10 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

SUCCESS - auto-merge


ImportError: No module named job

Hello,
My code:
from cvpysdk.commcell		import	Commcell
commcell	= Commcell(data.cvwebsvc, data.cvapiuser, data.cvapipwd)
print(commcell.clients)
commcell.logout()

The error i get on version 11.13 and version 11.14:
Traceback (most recent call last):
  File "./test.py", line 10, in <module>
    from cvpysdk.commcell		import	Commcell
  File "/.../venv/local/lib/python2.7/site-packages/cvpysdk/commcell.py", line 226, in <module>
    from .disasterrecovery import DisasterRecovery
  File "/.../venv/local/lib/python2.7/site-packages/cvpysdk/disasterrecovery.py", line 37, in <module>
    from cvpysdk.job import Job
ImportError: No module named job

In disasterrecovery.py, line 37:
It is corrected if i replace:
from cvpysdk.job import Job
from cvpysdk.exception import SDKException
from cvpysdk.client import Client

With:
from .job import Job
from .exception import SDKException
from .client import Client

Thanks

Hi @f-red ,
Thanks for bringing this to our attention.
Apparently we had faced this issue earlier as well, but realized it is only limited to Python 2.7, and works well with Python 3.6, and somehow the changes got lost.
We'll fix this.

Please open Commvault support ticket.


not working

its not working, Mastertable ist empty
PB

Screen
Container
Emitter
MiningUnits

on 3rd Connection it responds with a hit, that filters have to be deleted

i copied the wrong json in 1st PB


lxc copy doesn't change hostname

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:
apicompat: 0
auth: trusted
environment:
addresses: []
architectures:

x86_64
i686
driver: lxc
driverversion: 2.0.1
kernel: Linux
kernelarchitecture: x86_64
kernelversion: 4.4.0-31-generic
server: lxd
serverpid: 27876
serverversion: 2.0.3
storage: dir
storageversion: ""
config: {}
public: false

Issue description
This is exactly as https://github.com/lxc/lxd/issues/2103.  I've copied a container to new one, started the new container, but hostname is still not updated.
Steps to reproduce
userx@memoir:~$ lxc list
+------+---------+------+------+------------+-----------+
| NAME |  STATE  | IPV4 | IPV6 |    TYPE    | SNAPSHOTS |
+------+---------+------+------+------------+-----------+
| base | STOPPED |      |      | PERSISTENT | 0         |
+------+---------+------+------+------------+-----------+
userx@memoir:~$ lxc copy base brkcoin
userx@memoir:~$ lxc start brkcoin
userx@memoir:~$ lxc exec brkcoin cat /etc/hostname
base

The hostname does change but you have to give it a while as it's cloud-init that's doing that change for the official Ubuntu images during container boot.

Hello, this happens on lxc 3.0 as well, i've created a container with the 'download' template and when i lxc-copy it the hostname of the new container doesn't change.


Import TS types for options

Is your feature request related to a problem? Please describe.
Currently I have a defined component and interface (in React), I have no type hinting while I use CVA for options.
Describe the solution you'd like
I would like to import the TS interface to improve DX while using CVA, heres what I'd like to have:
export interface IButtonProps {
	/**
	 * Size of the button
	 */
	size?: TSize;

	/**
	 * Variant of the button
	 */
	variant?: 'primary' | 'secondary';

	/**
	 * Visually disables the button and shows a loading spinner and also disables the button.
	 */
	isLoading?: boolean;

	/**
	 * Visually and functionally disable the Button.
	 */
	disabled?: boolean;

	/**
	 * Label as a string
	 */
	label: string;
}

const buttonClasses = cva<IButtonProps>([
	'...'
], {
	variants: {
		variant: {
			primary: [
				'...',
				'...'
			],
			secondary: ['...']
		}
	}
});

export const Button: FC<IButtonProps> = ({ label, ...props }) => {
	const { disabled, isLoading } = props;
	const button = useRef<HTMLButtonElement>(null);

	return <button
		ref={button}
		className={buttonClasses(props)}
		disabled={disabled || isLoading}
	>
		{label}
	</button >;
};```

Hey @itsezc! This isn't something I plan to support
I would instead recommend something like the following:
import * as React from "react";
import { cva, type VariantProps } from "class-variance-authority";

interface IButtonVariantProps extends VariantProps<typeof buttonClasses> {}

// If you're wanting create a `size` type you can do so like this:
export type TSize = IButtonVariantProps["size"];

export interface IButtonProps extends IButtonVariantProps {
  /**
   * Label as a string
   */
  label: string;
}

const buttonClasses = cva<IButtonProps>(["..."], {
  variants: {
    disabled: { false: ["..."], true: ["..."] },
    isLoading: { false: ["..."], true: ["..."] },
    size: {
      /* ... */
    },
    variant: {
      primary: ["..."],
      secondary: ["..."],
    },
  },
});

export const Button: FC<IButtonProps> = ({ className, label, ...props }) => {
  const { disabled, isLoading } = props;
  const button = React.useRef<HTMLButtonElement>(null);

  return (
    <button
      ref={button}
      className={buttonClasses({ class: className, ...props })}
      disabled={disabled || isLoading}
    >
      {label}
    </button>
  );
};


Update README file

Since we dropped PHP 7.2 and Guzzle PSR-7 packages does not requires http-interop/http-factory-guzzle anymore.

Coverage remained the same at 100.0% when pulling 7d79af5684a52bb1f7e4ab732c821cb4f6fcc0d8 on t0mmy742:update_readme into b9b6339768a07089a6efc49730a47fa5d91c7992 on slimphp:4.x.


Is it possible to have frozen columns as you scroll horizontally?

Hi! Just want to know if it is possible to have freeze columns as you scroll horizontally in your table?  Thank you so much. God bless.

Hi @dummyjaysel,
no, unfortunately the library does not provide this functionality.
Best regards,
Ingo

Waiting for this update


Add all required migration fallback ref data (eg "Unmapped") values to tenant if not present

To avoid having to step through these errors:
2022-01-14 13:33:54,260 CRITICAL        Critical Process issue. Check mapping files and reference data  No callNumberTypes - Unmapped - set up in map or tenant. Check for inconstencies in callNumberTypes naming.Add a row to mapping file with *:s and a valid callNumberTypes Critical Process issue. Transformation failed.          holdings_csv_transformer.py:113

we shouldn't add all unmapped values to tenant automatically.

The "fallback reference data" should be covered by the "opinionated reference data" upload in FOLIO IC Tool. Marked for closure.


Enumerate necessary permissions

We should enumerate the permissions necessary for the packer builds, per cloud provider.  It can be frustrating when this is unclear, and this would make a much better user experience.

I'll take a stab at this, starting with the AWS permissions.

The Packer documentation outlines the "minimum" permission as this:

  "Version": "2012-10-17",
  "Statement": [{
      "Effect": "Allow",
      "Action" : [
        "ec2:AttachVolume",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CopyImage",
        "ec2:CreateImage",
        "ec2:CreateKeypair",
        "ec2:CreateSecurityGroup",
        "ec2:CreateSnapshot",
        "ec2:CreateTags",
        "ec2:CreateVolume",
        "ec2:DeleteKeyPair",
        "ec2:DeleteSecurityGroup",
        "ec2:DeleteSnapshot",
        "ec2:DeleteVolume",
        "ec2:DeregisterImage",
        "ec2:DescribeImageAttribute",
        "ec2:DescribeImages",
        "ec2:DescribeInstances",
        "ec2:DescribeRegions",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSnapshots",
        "ec2:DescribeSubnets",
        "ec2:DescribeTags",
        "ec2:DescribeVolumes",
        "ec2:DetachVolume",
        "ec2:GetPasswordData",
        "ec2:ModifyImageAttribute",
        "ec2:ModifyInstanceAttribute",
        "ec2:ModifySnapshotAttribute",
        "ec2:RegisterImage",
        "ec2:RunInstances",
        "ec2:StopInstances",
        "ec2:TerminateInstances"
      ],
      "Resource" : "*"
  }]
}

However, I tested with this policy statement and was successful:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ec2:Describe*",
                "ec2:TerminateInstances",
                "ec2:StartInstances",
                "ec2:CreateSnapshot",
                "ec2:CreateImage",
                "ec2:RunInstances",
                "ec2:StopInstances",
                "ec2:CreateKeyPair",
                "ec2:DeleteKeyPair",
                "ec2:CreateSecurityGroup",
                "ec2:DeleteSecurityGroup",
                "ec2:AuthorizeSecurityGroupIngress",
                "ec2:CreateTags",
                "ec2:DeleteVolume"
            ],
            "Resource": "*"
        }
    ]
}

Closing thanks to @scottslowe's work on #81 and #82


Creates custom scrollbar

ISSUE
Resolves issues #3.
Description

Adds a custom scrollbar when page has vertical overflow.

Removed scrollbar background color and rounded the scrollbar thumb.

the rounded edge definitely looks good. i included some margining around the top/bottom of the scrollbar so it looks like it's embedded in the container vs. outside of it, lmk if you think we should revert


log proxy entry asap when the request is received

use this option to log the requests upon being received, to future pinpoint some dropped connections/requests etc.

/lgtm

/lgtm

/approve

/approve

/lgtm

/lgtm


add missing import repeat directive

The repeat directive isn't used in this example - string.repeat is being used.


Add ARM Trusted Framework for Rpi4 to enable kexec?

I can't really get kexec to work on Raspberry Pi 4, even with upstream kernel. This article suggests that the ARM Trusted Framework might assist without requiring the user to limit their cpu for their initial boot.
https://www.thegoodpenguin.co.uk/blog/booting-linux-from-linux-with-kexec/
I don't know if this is true, though.

Interesting, it would need to be investigated if it applies to the Pi family of devices.
I was led to believe "TrustZone" stuff was handled already by the proprietary firmware. Anyway, it must be since there's no TF-A (ARM Trusted Firmware) needed.
Is kexec supposed to work with an entirely-vendor-based system?

I have ARM Trusted Firmware working for RPi4 in Tow-Boot. I'm not sure if I'll send a PR for it though, given that I can't seem to tell that it matters much (kexec gets further, but still doesn't work - there might be some USB teardown necessary - not going to look into that though).
Also, a reason to not pursue --> it seems to necessitate blocking extlinux from advertising the upstream DTB so that the one passed to u-boot from firmware is used. If this isn't done, the upstream dtb will be used, and then only a single core will come up (and likely the Watchdog will reboot you, if enabled, for booting too slowly).

Keywords I don't actually know enough about that may be relevant:
The PSCI is AFAIUI involved for setting up cores. I don't know what it actually means in this context at this point in time.

Yes, I was able to confirm that I saw messages about PSCI in kernel log and saw some associated devices or sys entries or something related to it. And when I mentioned that 'kexec' got further - I meant that it didn't complain about being unable to park the other CPU/cores (indicating PSCI available+working), and went all the way into shutting down. (But ultimately it fails to complete or boot, with some "sounds related to kexec" usb messages being the last thing printed out. This was actually the same behavior I observed when booting without-ATF, with-nr_cpus=1, which should've also allowed to kexec in theory)
I opened a related issue, too, which I mostly link to show the exact thing I tried with kexec: https://github.com/raspberrypi/firmware/issues/1675#issuecomment-1008696856

Same issue here, do we have any updates on this one, or if it works with any other models?


watchConfigFiles in falco README

Update the falco README to include the new watchConfigFiles field

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Checklist

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] CHANGELOG.md updated

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

25240ff watchConfigFiles in falco README

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.

Welcome @sahil-lakhwani! It looks like this is your first PR to falcosecurity/charts 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sahil-lakhwani
To complete the pull request process, please assign nestorsalceda after the PR has been reviewed.
You can assign the PR to them by writing /assign @nestorsalceda in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

falco/OWNERS

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

LGTM label has been added.  Git tree hash: 56e37e0a973ad3130fd46e0816f2aa4fd782034a

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, sahil-lakhwani
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:

falco/OWNERS [leogr]

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


Issue when removing/replacing a Routing policy from a Routing Zone

Environment

Terraform v1.6.2
Provider: v0.39.0
Apstra: v4.2.0

Brief description
When you attempt to remove / replace a route policy from a routing zone that was initially created with that routing policy, no changes are produced.
This issue may be related to that reported in https://github.com/Juniper/terraform-provider-apstra/issues/420.
Logs

STEP 1: Create RZ "rz_test" initially with RP
Result: OK

resource "apstra_datacenter_routing_zone" "prueba" {
  blueprint_id = local.blueprint_ids["B_TB"]
  name         = "rz_test"
  vlan_id      = "17"
  vni          = "6666"
  routing_policy_id = try(apstra_datacenter_routing_policy.routing_policies["B_TB.rp_test"].id, null)
}

Terraform change:
# module.blueprints.apstra_datacenter_routing_zone.prueba will be created
  + resource "apstra_datacenter_routing_zone" "prueba" {
      + blueprint_id             = "189f19a6-43bb-49f8-beb5-76aae447013b"
      + had_prior_vlan_id_config = (known after apply)
      + had_prior_vni_config     = (known after apply)
      + id                       = (known after apply)
      + name                     = "rz_test"
      + routing_policy_id        = "4YjWG18wiSWFUn82VgQ"
      + vlan_id                  = 17
      + vni                      = 6666
    }

terraform.tfstate:
"attributes": {
      "blueprint_id": "189f19a6-43bb-49f8-beb5-76aae447013b",
      "dhcp_servers": null,
      "had_prior_vlan_id_config": true,
      "had_prior_vni_config": true,
      "id": "j8679TCYjZVULrT-g1c",
      "name": "rz_test",
      "routing_policy_id": "4YjWG18wiSWFUn82VgQ",
      "vlan_id": 17,
      "vni": 6666
},

STEP 2: Remove the RP from RZ "rz_test"
Result: No changes, but an Apstra commit is executed

resource "apstra_datacenter_routing_zone" "prueba" {
  blueprint_id = local.blueprint_ids["B_TB"]
  name         = "rz_test"
  vlan_id      = "17"
  vni          = "6666"
  # routing_policy_id = try(apstra_datacenter_routing_policy.routing_policies["B_TB.rp_test"].id, null)
}
}

Terraform change:
 # module.blueprints.apstra_blueprint_deployment.deploy["B_TB"] will be created
  + resource "apstra_blueprint_deployment" "deploy" {
      + blueprint_id            = "189f19a6-43bb-49f8-beb5-76aae447013b"
      + comment                 = "[$USER] Deployment by Terraform {{.TerraformVersion}}, Apstra provider {{.ProviderVersion}}."
      + has_uncommitted_changes = (known after apply)
      + revision_active         = (known after apply)
      + revision_staged         = (known after apply)
    }

terraform.tfstate:
 "attributes": {
            "blueprint_id": "189f19a6-43bb-49f8-beb5-76aae447013b",
            "dhcp_servers": null,
            "had_prior_vlan_id_config": true,
            "had_prior_vni_config": true,
            "id": "j8679TCYjZVULrT-g1c",
            "name": "rz_test",
            "routing_policy_id": "4YjWG18wiSWFUn82VgQ",
            "vlan_id": 17,
            "vni": 6666
          },

STEP 3: Apply a non-existing RP "dummy" to RZ "rz_test"
Result: No changes

resource "apstra_datacenter_routing_zone" "prueba" {
  blueprint_id      = local.blueprint_ids["B_TB"]
  name              = "rz_test"
  vlan_id           = "17"
  vni               = "6666"
  routing_policy_id = try(apstra_datacenter_routing_policy.routing_policies["dummy"].id, null)
}

Terraform change:
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

terraform.tfstate:
"attributes": {
            "blueprint_id": "189f19a6-43bb-49f8-beb5-76aae447013b",
            "dhcp_servers": null,
            "had_prior_vlan_id_config": true,
            "had_prior_vni_config": true,
            "id": "j8679TCYjZVULrT-g1c",
            "name": "rz_test",
            "routing_policy_id": "4YjWG18wiSWFUn82VgQ",
            "vlan_id": 17,
            "vni": 6666
          },

If I understand correctly, I think we're seeing expected terraform behavior here.
In step 2, omitting the routing_policy_id optional attribute is the same thing as supplying routing_policy_id = null
In step 3, the try() function winds up supplying the same value: routing_policy_id = null
Essentially, in both cases, we've opted out of supplying a value for an optional attribute. Terraform thinks we don't care about the value.
Terraform has no concept of a default routing policy - that choice is made (during initial RZ creation) by the Apstra API.
Changing the policy ID to a different value (whether it's the default policy ID or some user-created policy) should have the expected effect ... and we're still looking into #420.

Hi Chris, I apologize for the confusion earlier. For some reason I had misunderstood  that omitting the routing_policy_id is not equivalent to asking for its removal, but rather to simply not providing this optional variable.
I have attempted to replace the initially assigned RP with another existing RP and the error outlined in https://github.com/Juniper/terraform-provider-apstra/issues/420 occurred as expected.
Therefore, I think we can close this issue and direct the focus to the issue at https://github.com/Juniper/terraform-provider-apstra/issues/420.


fix WOL in docker/jail

Description:
in docker/jail, WOL doesn't works due to subnet multicast issues.
add ip_address parameter to send_magic_packet if host specific.

Hi @goto100,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

related topics: https://community.home-assistant.io/t/wake-on-lan-not-working/5830

This commit seems to have contributed to https://github.com/home-assistant/home-assistant/issues/7026

I'm sorry about this, this patch only works when router IP lease hasn't expired, if the lease expired, the WOL function won't works in any environment (include jail/docker), this causes the bug #7026, which been fixed by #7144.
Sorry again, I haven't been tested the functional fully.


Error with Events - Illegal string offset 'name'

Hello,
I'm trying to use the Events on my site and have the following error:
An exception has been thrown during the rendering of a template ("Illegal string offset 'name'").
Line 275 of Facebook.php
$r[$start_at]['place']['name'] = $val->place->name;
Here is the Facebook page id for which I'm trying to get the events:<PHONE_NUMBER>17618
If I comment the lines 275 and 277, then the events are displayed on my page.
Do you know what can be the problem?

Thanks for the plugin and for your help.

I will get back to this probably on the next weekend.

I couldn't reproduce your problem but I added checks to that code. Check if release 1.7.0 works better for you.

I've got the same error with 1.7.0 after cache clean.
I was able to make it work with the following change (from line 175):
if (property_exists($val, 'place')) {     $r[$start_at]['place_name'] = $val->place->name;      if (property_exists($val->place, 'location')) {      $r[$start_at]['place_location'] = $val->place->location;      }     }
And of course I used "place_name" in my template facebook.event.html.twig.

I would like to understand the reason of this error... it is probably initialization was missing for those 2 keys. Could you try clean plugin code and just add these 2 lines. I can't understand why I am not getting error you are getting - probably something to do with PHP versions, module versions etc..
            $r[$start_at]['event_link'] = $val->id;
            $r[$start_at]['name'] = nl2br($val->name);
            $r[$start_at]['place'] = '';
            $r[$start_at]['description'] = '';
            $r[$start_at]['cover'] = '';
            **$r[$start_at]['place']['name'] = '';**
            **$r[$start_at]['place']['location'] = '';**

This solution doesn't work either.
But, if I just comment the following line, it works (without your two new INIT lines):
$r[$start_at]['place'] = '';
Maybe because it's initialized as a String and then we try to put an array inside...
So if it still works in your version, it's a good solution good for me. Thank you

I had the same issue when I first starting using this. I believe it's caused by not having a place specified for the event. For example, if you're doing events at various locations (like a band or speaker) you'll always add the place. In my case I'm trying to show events happening at a single location (a bar or restaurant), they never need to add a location because all their events happen at their establishment. I'm not sure if it's the setting itself, or if it's because they're set to be the same - but it's something with that particular scenario.
Commenting out the place call in facebook.php solves it - code below. I'm looking at this thread today because I'm updating and I have to update this code every time I update the plugin. Even if this doesn't have a quick solution, Is it possible to override facebook.php? Just curious, everything else works beautifully, great job, love this plugin.
               if (property_exists($val, 'place')) {                     if (property_exists($val->place, 'name')) {                         $r[$start_at]['place']['name'] = $val->place->name;                     }                     if (property_exists($val->place, 'location')) {                         $city = '';                         $country = '';                         if (property_exists($val->place->location, 'city')) $city = $val->place->location->city;                         if (property_exists($val->place->location, 'country')) $country = $val->place->location->country;                         $r[$start_at]['place']['location'] = $city.' '.$country;                     }                 }

@cpfeifer Had the same exact issue, even though the events I was fetching do have location set (to the venue they're happening in). I commented the lines from your post and it works perfectly. Thanks!


Update Composer dependencies (2020-10-29-00-03)

Visual regression test passed!
View the visual regression test report


Add an ability to save Backgrounds outside of Dialogic similar to Definitions.

I made a plug-in that uses RNG to initialize timelines to simulate an AI for RPG battles -- Everything works, I added the stats to be saved in the plugin vs dialogic and to link up to it through signals/etc, but there's one thing that seems to lack any ability to be linked this way -- Backgrounds.
This means to have any background consistently, I have to add the background at the start of every timeline that will be chosen, the problem with this is...
Everytime it swaps timeline, it flickers and then pops onto the screen. So, basically, it's not really useable at all in that way...
So, my request is simply just, adding a way to set a background via code, similar to saving stats via code, outside of the dialogic node itself but still using the editor.

In version 2.0 you should be able to interact much better with every aspect of dialogic from code. Leaving open to make sure this works and it is easy to do.

The flickering mentioned here I believe was actually a 1.x bug that was fixed a while back. Rest of this feature-wise should be implemented by the overall Dialogic 2 design, together with the custom background scene system in #1225


Updated README for the new OPAM urls

Re, just to know if you have seen this pull-request.

I ping again, just in case this pull-request was buried by the time.

Re. By the way, if you add release tag, we can add a package in the main repository.


simplify the Collection operations with Stream API

Stream API was introduced in Java 8, SnakeYAML is using Java 7 with no plans to go to Java 8.


Clean up header and intro

Small change: Added "receipts" to "registration transaction receipts"
Merging


vendor\bin\deptrac init doesn't work

Failed to copy "phar://D:/git/spiral/app/vendor/qossmic/deptrac-shim/deptrac/config/deptrac_template.yaml" because file does not exist.

OS: Windows 10

Hey, thanks for the report. Sorry for taking so long to reply, but I rarely check the issues here. We use qossmic/deptrac instead. I will take a look at this issue soon

The problem should be fixed now with the new 1.0.1 release


[feat]: [CDS-87240]: Update Overrides v2 permissions in documentation

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
Jira with the change : https://harness.atlassian.net/browse/CDS-87009
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6582b3d95213c80f585b5670--harness-developer.netlify.app