Use parallel for speeding up

without parallel

$ time dashdog export | wc -l
    9639

real   	0m52.363s
user   	0m0.936s
sys    	0m0.254s

use parallel

$ time dashdog export | wc -l
    9639

real   	0m8.955s
user   	0m0.964s
sys    	0m0.241s

Please merge if there is no problem 🙇

Nice work!! Thanks!!


⚠ Bofrost.de has degraded performance

In 85a7155, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1361 ms

Resolved: Bofrost.de performance has improved in cc3e508.


Improvement for tf.keras.utils.get_file

System information

TensorFlow version (you are using): 2.5.0
Are you willing to contribute it (Yes/No): Yes

This is a duplicate of an issue I posted on tensorflow. I brought it here because I discovered that keras is developed separately now and I just made a notebook for illustration.
Describe the feature and the current behavior/state.
tf.keras.utils.get_file only works with GET request. It can work for POST request too if the data argument is utilized in urlretrieve.
Will this change the current api? How?
Yes, get_file would take in one other parameter (don't know which name and type would be best) to pass into the retrieve function.
Who will benefit with this feature?
Whoever wants to get file that's accessed through post method, such as files that require tokens or authorization.
Simplified version of GET vs POST
I've been able to make illustration with jsonplaceholder and it can be found in this notebook.
Side note on documentation.
In get_file documentation, untar and md5_hash arguments have been depreciated in favor of extract and file_hash. I thought about some changes but I don't know if they would add value.

Change example argument from untar=True to extract=True
Rearrange arguments in documentation and function to show extract and file_hash before untar and md5_hash.

@bizzyvinci Can you please respond to the above comment? Thanks!

I don't really understand the question.
If you meant using requests.post method. No, we can't use that because a response object is returned instead of downloading the file like urlretrieve.
urllib.request.urlretrieve method is currently used in keras.utils.get_file. urllib.request.urlretrieve has a data parameter which turns the request type from GET to POST and that parameter is not utilized.

Reopening the issue, as the bot has mistakenly closed this issue even after the user has commented.

Hello, Thank you for reporting an issue.
We're currently in the process of migrating the new Keras 3 code base from keras-team/keras-core to keras-team/keras.
Consequently, This issue may not be relevant to the Keras 3 code base . After the migration is successfully completed, feel free to reopen this Issue at keras-team/keras if you believe it remains relevant to the Keras 3 code base. If instead this Issue is a bug or security issue in legacy tf.keras, you can instead report a new issue at keras-team/tf-keras, which hosts the TensorFlow-only, legacy version of Keras.
To know more about Keras 3, please read https://keras.io/keras_core/announcement/


Increase peer participation and Hyperdrive availability

Is your feature request related to a problem? Please describe.
The current implementation relies on peers manually deciding to host drives they really like and remember to host. This runs into the same mental transaction/decision cost problem that has halted the adoption of micropayments. Is this worth it for me to click my mouse two times and donate bandwidth towards? Having to make the decision is too tiresome and the mental cost is too high.
  But you don’t necessarily like it enough to take time out of your day to help host it. Even temporarily.
Without peer participation, the concept of a P2P-distributed web can’t be realized. There will only be a network of super-peers and clients that can download from these super peers. Hashbase comes to mind here.
Describe the solution you'd like
Random host-duty assignments. A random one† in peerCount chance you’ll automatically host loaded/visited hyperdrives for 1 day. Only 1 other peer for the drive you just loaded? 100% chance of auto-hosting it. But only a 0.1% chance to auto-host if there are 1k peers. The decision is made once per browser session per drive.  Popular/high-availability drives still gain more peers but at a slower rate than less popular drives with lower availability.
†Maybe scale this with a factor based on the percentage of the drive you’ve downloaded. If you’ve downloaded 80% of the drive you get a 8.0 chance as you’re a more valuable peer than someone who’ve downloaded 2.2% of the drive (0.22 chance).
Users can still opt to host things forever manually, but Beaker itself would call upon users to participate in maintaining the availability of hyperdrives and the network.
Describe alternatives you've considered

Keep hosting drives for 60 minutes after you close the tab. Benefits popular drives more because the peer is more likely to be called on to host for others in that short time span.
Altruistic hosting mode. Automatically host every archive you visit for up to 14 days or until you’ve uploaded the same amount of data you’ve downloaded. Did you download 1 MB then stop hosting once you reach 1 MB upload. A megabyte up for a megabyte down. (Maybe a slider for configuring the level of altruism to 1x, 2x, 3x, 5x, 10x?) Enabled by default at 1x. This is inspired by — but really a hybrid of — altruistic mode and seed-ratios/timeouts in BitTorrent clients. Adds accounting complexity.
Rolling cache approach. Host all drives until you reach a disk cache limit then push out the drives with the most number of peers. Also discard 30 days after visit. One large video drive could consume the entire cache, though. High cache invalidation complexity.

One aspect that sounds risky to me in case of "auto-sharing" is the legal one. E.g. in my country AFAIU downloading some stuff is legal while sharing it is not (though IANAL). So the current explicitness as to what I decide to host/share or not sounds kinda an important feature to me.

One aspect that sounds risky to me in case of "auto-sharing" is the legal one. E.g. in my country AFAIU downloading some stuff is legal while sharing it is not (though IANAL).

<disclaimer type="not-legal-advice">
You’re thinking of pirated content and BitTorrent, right? The I-only-download-not-upload line was repeated a lot in the early 2000s. I believe its the consumption of — and not the distribution method for — pirated materials that is prohibited. Downloading pirated content has the same legal implications as uploading in the EU. There are tougher penalties for the original uploader, though. There are pan-European regulations for this. You’d need to speak to a copyright lawyer for the details.
</disclaimer>
https://www.youtube.com/watch?v=1Jwo5qc78QU
If you accidentally visit a neo-nazi hyperdrive then yes — under the above proposed scheme — you’d have a random chance to help distribute the same content as you downloaded for a limited time. The more peers the less likely it is that you’ll host it and the less likely that any peer would depend on you for the download. For less popular stuff — then that’s probably really obscure stuff and you’d be out of the swarm before took notice of it.
Private browsing mode is the key to visits sites you don’t want to be associated with. Beaker should reduce interactions with a hyperdrive swarm to an absolute minimum in private browsing mode. If everyone leaches by default then Hypercore becomes a decentralized network with a couple of super-node/servers instead of a distributed one where everyone participates in the distribution of data.

So the current explicitness as to what I decide to host/share or not sounds kinda an important feature to me.

Metered bandwidth connections and battery conditions are probably the most important factors that control whether you’d want to explicitly enable or disable sharing. The user shouldn’t have to worry about or manage that manually, though. See the run conditions mentioned in #1665.

You're right I was loosely thinking about torrents. But your mention of avoiding neo-nazi sounds even more applicable IMO. Then there's also stuff like, I'm sorry, child porn, that I absolutely wouldn't want to touch even with a super long wooden stick. And I can well imagine a "for the lolz" internet "prankster" submitting something similarly toxic on some kinda well meaning reddit-like forum or something under a title of "fluffy cats gif". I personally honestly just don't want to share a single bit of such stuff even for 1ms. Assuming I never know who might post it where, should I be using a proposed Private Mode for 100% of the time? If that becomes popular recommendation, it's back to square one, no?

Legal liability would be complex for even lawyers to comment on, so I don't intend to speculate on it.
I agree with @akavel that "pranksters" will look for ways to screw with people, which I see as a personal moral issue as much as anything else.
@da2x while I appreciate your position and agree with your motives, I don't personally believe that an "even topological distribution" is a key factor to the benefit of this technology. Rather I think there are two important attributes when it comes to the distribution model:

Topological flexibility, that is the ability to transfer hosting of data between one or multiple nodes without disruption, therefore removing any lockin to a particular topology (ie a host), and
Cost-reduction through bandwidth-sharing, as this enables publishers (especially software publishers) to distribute their work without assuming the costs of scaling.

Our goal is mass open computation, and I think a key premise of open computation is that you are able to control what your device does. I worry that automatically co-hosting content without user approval would run counter to that.

Congratulations to and now after the launch of Beaker 1, are there any foreseeable options to have Hashbase support rehosting hyper:// sites, as suggested above? This is possibly related to https://github.com/beakerbrowser/hashbase/issues/121, in case it is hyperswarm that is responsible for the hyper:// prefix. Its documentation would lack out on this detail.
The federated wiki client https://github.com/paul90/wiki-client-dat-variant is hosted on a single developer's computer, which diminishes the accessibility of that single entry point to the wiki federation on dat.
Or do we know of other headless options for rehosting of Beaker sites? We're keen to ride with you on the release wave, yet don't know how to maintain availability of a wiki's client's main asset and dependency at all times.

@almereyda  - I have been using a hyperdrive daemon to act as a persistent peer for the hyperdrives associated with the federated wiki client. Maybe that is not working either reliably or in the way I had thought.

@almereyda cheers! So here's the current situation.

There are various tools in the community like you listed which I haven't evaluated
https://github.com/beakerbrowser/homebase is another candidate which I built
We're putting together a "swiss army knife" cli called hyp which will include some hosting/seeding tools as well

Regarding Hashbase, we're still figuring out the exact strategy but I think we're going to leave it alone and build another self-deployable service for hyper://. We'll keep yall updated, this is one of the areas I'm actively working on.

Small update from my side on thr original issue. Brave has now shipped a beta release with IPFS. It hosts all content accessed over IPFS for one hour.

@pfrazee Thanks, that's what I needed to know. I remember that Hashbase deviated from DatHTTPD, but weren't aware of the homebase, yet. Maybe I'll make a round through the docs and try to spot places, where this information would be most useful.


Add support for :set-!

As described in :help :set-!.
Fixes #131.

The :set commands didn't really have much highlighting associated with it apart from the keyword itself, but I added a test for the cases where the option was set to a number or a function.


Adding aptitude skill

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy
Added a aptitude skill that talks about speed, time and direction.
Input given at the prompt
If 2 trains are coming in opposite directions with a speed of 50 Km/h, they are right now 100 KM away from each other. In how many minutes do these 2 trains collide with each other?
Response from the original model

If 2 trains are coming in opposite directions with a speed of 50 Km/h, they are right now 100 KM away from each other. In how many minutes do these 2 trains collide with each other?              [S][default]
╭────────────────────────────────────────────────────────────────────────────────────────────── merlinite-7b-Q4_K_M ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ To find the time it takes for the two trains to collide, we can use the formula: time = distance / relative speed. First, let's find the relative speed of the trains, which is the sum of their individual     │
│ speeds multiplied by the cosine of the angle between their directions. Since they are moving in opposite directions, the angle between their directions is 180 degrees, and the cosine of 180 degrees is -1.    │
│ Therefore, the relative speed is: relative speed = 50 Km/h * (-1) = -50 Km/h or 50 Km/h (as we can ignore the negative sign because it doesn't affect the time calculation). Now, we can find the time: time =  │
│ distance / relative speed = 100 KM / 50 Km/h = 2 hours or 120 minutes. So, it will take 120 minutes for the two trains to collide with each other.                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elapsed 20.450 seconds ─╯

Response from the fine-tuned model

If 2 trains are coming in opposite directions with a speed of 50 Km/h, they are right now 100 KM away from each other. In how many minutes do these 2 trains collide with each other?              [S][default]
╭────────────────────────────────────────────────────────────────────────────────────────────── merlinite-7b-Q4_K_M ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ To find out how long it takes for the two trains to collide, we first need to determine their relative speed. Since they are moving in opposite directions, their relative speed is the sum of their individual │
│ speeds, which is 50 km/h + 50 km/h = 100 km/h. Now, we convert this relative speed to kilometers per minute: 100 km/h = 100/60 km/min = 1.67 km/min. To find out how long it takes for the trains to collide,   │
│ we divide the distance between them by their relative speed: 100 km / 1.67 km/min = 60 minutes. Therefore, the two trains will collide in 60 minutes.                                                           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elapsed 15.054 seconds ─╯

Contribution checklist

[ X] The contribution was tested with lab generate
[ X] No errors or warnings were produced by lab generate
[ X] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


Support both IPv4 and IPv6 by using a single socket

From g.rodola on May 28, 2010 01:43:25
<note>
This feature request has been raised in Issue 67 :
https://code.google.com/p/pyftpdlib/issues/detail?id=67&can=1&colspec=ID%20Summary%20Type%20Status%20Priority%20Version%20Milestone%20Opened#c6
 I'm creating a new ticket to keep track of this separately.
</note>

At the current state pyftpdlib is able to serve either IPv4 or IPv6 by
using a single socket.

To start an IPv4 server which listens on all interfaces we do:

>>> ftpd = ftpserver.FTPServer(('<IP_ADDRESS>', 2121), ftp_handler)
>>> ftpd.serve_forever()

Same thing, but using IPv6 instead:

>>> ftpd = ftpserver.FTPServer(('::', 2121), ftp_handler)
>>> ftpd.serve_forever()

To serve both versions of the IP protocol at the same time we could run two
separate servers, as such:

>>> ftpd_v4 = ftpserver.FTPServer(('<IP_ADDRESS>', 2121), ftp_handler)
>>> ftpd_v6 = ftpserver.FTPServer(('::', 2121), ftp_handler)
>>> ftpd_v4.serve_forever()

Despite being very poor, it apparently works, but at the current state any
request to open a data connection is rejected making the server useless.

Some OSes like some UNIX and recent Windows versions have hybrid dual-stack
IPv6/IPv4 implementations which supports both IP versions by listening on a
single IPv6 socket: http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_addresses
pyftpdlib should be hybrid in the same manner so that:

>>> ftpd = ftpserver.FTPServer(('::', 2121), ftp_handler)
>>> ftpd.serve_forever()

...starts a server which is able to transparently serve both IP protocols
for both control and data channels.

Original issue: http://code.google.com/p/pyftpdlib/issues/detail?id=131

Python related recipe here: http://code.activestate.com/recipes/578504-server-supporting-ipv4-and-ipv6/


spy.args can give inaccurate results by referencing arguments

To see the issue: http://jsfiddle.net/93EVL/1/
Issue:
I ran into an issue today where sinon.args was not returning results I was expected.  Seems like we would always want to know exactly what a function is called with.
Backstory:
We have some code where a function receives an options object, and one of the key is {retries: 3}.  Our code will decrement retries, then call another function (that we are spying on) passing to it the options object, until retries === 0.
When all is said and done I would have expected to see:
ourSpiedOnFunction.args === [{retries: 2}, {retries: 1}, {retries: 0}]
but instead got:
ourSpiedOnFunction.args === [[retries: 0}, {retries: 0}, {retries: 0}]
So, it seems like sinon holds onto the arguments by reference, which is causing this issue.  Demonstration of the issue here: http://jsfiddle.net/93EVL/1/

-1.
For the use of spies in my tests, it is important that the args be held by reference. For example, DOM nodes and other host objects could not be cloned accurately, and I need to test that the appropriate instance of an object is being passed through in cases where it starts out identical to many other objects.

agree with @DomenicDenicola

I agree. I generally don't want to preach about how you write your code, but perhaps it would be better if you didn't modify the object argument. If that isn't viable, try to assert on the spy in between calls, or, if all else fails, use a manual spy for this specific case.

Fair enough, thanks for the discussion.  Maybe it's means I should be doing something different with my code :)


Investigate Garbage Collection Frequency

Investigate how often garbage collection is run and how to tune it.
Acceptance Criteria:

Identify the problem areas
Write tickets to address those

Downgrading priority to medium. Can increase this again if resource consumption tools start showing this as a problem.


ddl.get_schema() must be workable in trigger functions

According to rule #3: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_txn_management/ we can't use space_object:format() from any kind of transactional triggers, but in some cases, for example wen resolving conflicts we need to get space format. ddl.get_schema() or similar new method must be callable from on_commit, on_rollback, before_replace, on_replace triggers functions.

Now the ddl.get_schema() function collects the schema from the space format. So, it seems, this task will be resolved, when we'll implement support of external information schema storage.

Seems that if we will have all schema data consistently cached - than there will no any limitations to use ddl methods even inside triggers and transactons.


[Question] What is in the constant.bin file and what is it used for？

I noticed that when generating cuda code, there are a series of constant.bin files.
What are their contents and what are they used for? Are they weights of network? Can they be named more clearly.

Hi, weights of the model are in the constant data files. Model weights are converted to constants during model freeze, and all constant nodes (including weights and other constant data, e.g., some constant tensors, the outputs of the constant folding optimization) in the model graph will be saved as constant data file after NNFusion compilation.

Thank you


[BUG] - bbb_exporter failes because of missing mounting (bbb/2.7)

The installation of bbb_exporter fails on bbb/2.7 because https://github.com/ebbba-org/ansible-role-bigbluebutton/commit/c31be1e7ae1aa25472f115fc7ace46ddf8d19a8c is only on the master.
Is it possible to merge the master in bbb/2.7?

Fixed


move nvim-completion-manager javascript completion source into tern_for_vim

Hi, I've been working on a completion framework, nvim-completion-manager
Since the API is stable now.  It would be sensible to move language specific completion source into language specific plugin.

Hi. This seems to be a completely different plugin, for neovim. I'd prefer if you'd put it into its own package, and maintain and distribute it yourself.

Ok, I'll split it to another plugin.
To be clear, this also works for vim8.


Fix stuck in case pam files was updated before by force update

If pam settings were updated by user the command just stucks because in OS pop-up appears and asks what should it do. By force option question is eliminate so no stucks anymore

Thanks @fitz123 May it make sense, that we use DEBIAN_FRONTEND=noninteractive pam-auth-update instead?

I didn't mind if it works)

@fitz123 could you please change this PR to use the method @chris-rock suggested?

Hi @rndmh3ro!
There're some questions

Need change command to a shell to make it work
Do you prefer I put changed_when: False in there?

No. https://docs.ansible.com/ansible/playbooks_environment.html

Is it nicer now?

Looks good. changed_when: False is a good idea because it seems there is now way to tell if it actually changed something.

Thanks @fitz123, I'll test the PR and merge it if there are no problems!

@fitz123, can you tell me how to reproduce the problem? I'd like to test it before and after your PR.

I'm not completely sure myself what causes the issue. I just noticed that it stucks. When I tried to execute the command manually - I saw Interactive mode with a question regarding modified files (even not pointed to which exactly file was modified).

It doesn't cause any harm and to avoid problems, I'm merging it!

thx, @rndmh3ro


License

What is the license for this (and the PHP) script?

Hello @laryn
I just updated the license file as MIT.
Feel free to change, collaborate and distribute!


Add a feature toggle based renderer based off the new release.json files from a different url.

The experimental releases list need to be reversed. The oldest one shows up first.

Maybe you already fixed it. Will check this version again.

Yeah, this reverse here is messing up the order of the experimental revisions.

I cleaned up the sorting in another changeset. I'm now sorting both supported and unsupported releases and reversing them in one place — works consistently with and without the toggle.


Wifi Speed Test Displaying inaccurate results

Wifi Speed Test card displays varying results with each test, these tests are also inaccurate most of the time. To test, run the speed test on the app a few times and make note of the results, then go to Ookla Speed test or google's speed test and run that. Compare results.
It might be useful to consider whether the signal is coming from a multi-router mesh system, or a singular router. The Ookla speed test app has several parameters where users can specify, Test Server, and connection type (Multi/Single).

This is done when:

[ ] Speed Test upload results never displays 'Infinity Mbps'
[ ] Speed Test download results are not capped to 100 Mbps
[ ] Speed Test upload results are not capped to 20 Mbps

Consolidating into #1525


Allow passing array of hashes to create in ActiveNode

In ActiveRecord you can pass in an array of hashes where the hashes has the properties of the nodes that you want to create and it creates many at the same time.  ActiveNode should support the same functionality.
Open question: Does ActiveRecord actually create the objects in memory and validate them before saving?  Does it make multiple DB requests?

It's been a while since I've had to do this in ActiveRecord, so I don't remember if AR makes multiple DB requests.  I DO remember that AR passes multiple insert queries to the DB, which is very inefficient. The ActiveRecord import gem specifically fixes this problem.
I think an analogous scenario in Neo4j would be sending 10 batched queries to the DB (in order to create 10 nodes) as part of one http request VS sending one query in which you unwind a param in order to create 10 nodes.
I don't remember if AR validates the objects.

Yeah, I've definitely created some functions to help emulated part of what activerecord_import does.  It would definitely make sense to send multiple queries in one HTTP request, though probably it would be good to start pushing toward Bolt which (I don't think) has the same tradeoff in sending multiple queries in one network request


fix(dep): bumps dora-cli dep version

bumps dora-cli version so as to be usable on Windows
fixes #75

Codecov Report

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

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   99.43%   99.43%
=======================================
  Files           6        6
  Lines         353      353
  Branches       56       56
=======================================
  Hits          351      351
  Misses          2        2

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 bf2548f...43dfc55. Read the comment docs.


misc/cgo/fortran: segmentation fault on fortran test

../misc/cgo/fortran
signal: segmentation fault (core dumped)
FAIL	_/home/rjn/go/misc/cgo/fortran	0.115s
FAIL: go test
2019/04/25 12:40:12 Failed: exit status 1
../misc/swig/stdio
PASS
ok  	_/home/rjn/go/misc/swig/stdio	0.004s
../misc/swig/callback
PASS
ok  	_/home/rjn/go/misc/swig/callback	0.002s
../misc/cgo/test
PASS
ok  	_/home/rjn/go/misc/cgo/test	2.424s
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
../misc/cgo/testgodefs
skipped due to earlier error
2019/04/25 12:40:25 FAILED

env | grep FC
FC=/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran

Thanks for the report.  What version of gfortran are you using?
Please try changing to the misc/cgo/fortran directory and running base -xv test.bash /home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran, and append the result here.  Thanks.

gfortran --version
GNU Fortran (Homebrew gcc 5.5.0_4) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.

not sure what you mean by changing the misc/cgo/fortran directory.
 All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# This directory is intended to test the use of Fortran with cgo.

set -e
+ set -e

FC=$1
+ FC=/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran

goos=$(go env GOOS)
go env GOOS
++ go env GOOS
+ goos=linux

libext="so"
+ libext=so
if [ "$goos" = "darwin" ]; then
	libext="dylib"
fi
+ '[' linux = darwin ']'

case "$FC" in
*gfortran*)
  libpath=$(dirname $($FC -print-file-name=libgfortran.$libext))
  export CGO_LDFLAGS="$CGO_LDFLAGS -Wl,-rpath,$libpath -L $libpath"
  ;;
esac
+ case "$FC" in
dirname $($FC -print-file-name=libgfortran.$libext)
$FC -print-file-name=libgfortran.$libext
+++ /home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran -print-file-name=libgfortran.so
++ dirname /home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib/libgfortran.so
+ libpath=/home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib
+ export 'CGO_LDFLAGS= -Wl,-rpath,/home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib -L /home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib'
+ CGO_LDFLAGS=' -Wl,-rpath,/home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib -L /home/rjn/anaconda3/bin/../x86_64-conda_cos6-linux-gnu/sysroot/lib/../lib'

if ! $FC helloworld/helloworld.f90 -o main.exe >& /dev/null; then
  echo "skipping Fortran test: could not build helloworld.f90 with $FC"
  exit 0
fi
+ /home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran helloworld/helloworld.f90 -o main.exe
rm -f main.exe
+ rm -f main.exe

status=0
+ status=0

if ! go test; then
  echo "FAIL: go test"
  status=1
fi
+ go test
# _/home/rjn/go/misc/cgo/fortran
/tmp/go-build822519950/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/fortran.cgo2.o: In function `_cgo_52c0002bf9f5_Cfunc_the_answer':
./fortran.go:42: undefined reference to `the_answer'
collect2: error: ld returned 1 exit status
FAIL	_/home/rjn/go/misc/cgo/fortran [build failed]
+ echo 'FAIL: go test'
FAIL: go test
+ status=1

exit $status
+ exit 1

Thanks.  That is not the same problem as in your original report.  Any idea why?  Is the original problem repeatable?
Now could you please try, in that directory,
FC=/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran go test -x

Thanks.

Here is the results:
~/go/misc/cgo/fortran$ FC=/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-gfortran go test -x

WORK=/tmp/go-build831298017
mkdir -p $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_/home/rjn/go/misc/cgo/
mkdir -p $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/
cd /home/rjn/go/misc/cgo/fortran
CGO_LDFLAGS="-g" "-O2" /usr/lib/go-1.6/pkg/tool/linux_amd64/cgo -objdir $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/ -importpath _/home/rjn/go/misc/cgo/fortran -- -I $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/ fortran.go
/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/ -g -O2 -o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_main.o -c $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_main.c
/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/ -g -O2 -o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_export.o -c $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_export.c
/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/ -g -O2 -o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/fortran.cgo2.o -c $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/fortran.cgo2.c
/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -I . -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_.o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_main.o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/_cgo_export.o $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/fortran.cgo2.o -g -O2
# _/home/rjn/go/misc/cgo/fortran
/home/rjn/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: $WORK/_/home/rjn/go/misc/cgo/fortran/_test/_obj_test/fortran.cgo2.o: in function `_cgo_52c0002bf9f5_Cfunc_the_answer':
./fortran.go:42: undefined reference to `the_answer'
collect2: error: ld returned 1 exit status
$WORK/_/home/rjn/go/misc/cgo/fortran/_test/fortran.test
FAIL	_/home/rjn/go/misc/cgo/fortran [build failed]

The test is running with Go 1.6.  That doesn't support Fortran.  This test assumes that the version of go on PATH is the one that you are building.  I'm guessing that that is not the case for you.

Although while that explains why running the test yourself doesn't work, it doesn't explain why the test fails when running via all.bash.  Try adjusting your PATH so that the newly built go tool is first, and then run test.bash again.  Thanks.

I get same error after:
export PATH=/usr/lib/go-1.6/pkg/tool/linux_amd64:$PATH
also some additional info:
>>> go env

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="/home/rjn/anaconda3/bin/x86_64-conda_cos6-linux-gnu-c++"
CGO_ENABLED="1"

and note if I try to run test directly it fails without error..
>>> ./test.bash
skipping Fortran test: could not build helloworld.f90 with

I would not expect this test to work when using Go 1.6.  I'm assuming that you are not building Go 1.6, as misc/cgo/fortran does not exist in Go 1.6; it was added in Go 1.7.  I'm suggesting that you modify PATH to point to the bin directory of whatever release you are actually building.

If I set PATH to :
export PATH=/home/rjn/go/bin:$PATH
which is the go directory I am currently installing then
go test -x
works but
./all.bash
still fails as before
===================================
if I set PATH to:
export PATH=/usr/lib/go-1.6/bin:$PATH
which is installed in usr dir. then
`go test -x '
fails`
====================
So what you are saying is true but for some reason all.bash still fails....I can not seem to set GOROOT or GOROOT_BOOTSTRAP to its liking.  No mater what I do I get the same error as follows:
note: I had to rename my dir to go1.4 to make it install happy now it fails as below.

Building Go cmd/dist using /home/rjn/go1.4.
ERROR: $GOROOT_BOOTSTRAP must not be set to $GOROOT
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4

Can I just upgrade to Go 1.7? How can I do this?

I'm not sure why all.bash fails if you set PATH to include the path to the newly built Go binary.
Note that you can in practice ignore this test failure.  Your Go tools will be installed and working.

ok...I guess we can close this.


use redux for NoteCreator state management

resolves https://github.com/v0l/snort/issues/408
This fixes a bug where the modal closes while replying to a note. This happens if the thread re-renders while you are replying.
Drafts of notes are also now automatically saved unless the user clicks the cancel button.

When i click on the NoteCreator on Conversations tab is closing for me

@v0l the bug you found should be fixed.

Then i click a reply button and try to click on the textarea and it closes the note creator

@v0l okay now it should be fixed 🤞


feat: add SmartOpenDirectory highlight group

Adds a new highlight group to replace the default Directory group.
The new SmartOpenDirectory group allows users to override the color of the directory in smart-open without changing the main Directory group.
Why?
My other pickers look like this:

With the current highlighting configuration, smart-open looks like this:

With the proposed changes, I can make it look like this instead:

Duplicate of #66 - closing


delta_ticks_from_prev become negative and waiting tasks never scheduled

After a suspend period, if you wake up late and announce to the kernel a greater number of ticks  than the requested suspend period, timeouts are never processed in _handling_timeouts function because delta_ticks_from_prev become negative.
To resolved this issue, i have make the following modification with sucess. Is anyone seeing a problem with this change?
kernel/sys_clock.c
@@ -240,7 +240,10 @@ static inline void handle_timeouts(s32_t ticks)
return;
}
- head->delta_ticks_from_prev -= ticks;
+ if (head->delta_ticks_from_prev <= ticks)
+ head->delta_ticks_from_prev = 0;
+ else
+ head->delta_ticks_from_prev -= ticks;
/*
* Dequeue all expired timeouts from _timeout_q, relieving irq lock

After some tests and reflections, I noticed that we had to apply the delay to all waiting times. To do this I propose the following modifications.
kernel/sys_clock.c
@@ -240,8 +240,6 @@ static inline void handle_timeouts(s32_t ticks)
 		return;
 	}

-	head->delta_ticks_from_prev -= ticks;
-
 	/*
 	 * Dequeue all expired timeouts from _timeout_q, relieving irq lock
 	 * pressure between each of them, allowing handling of higher priority
@@ -254,27 +252,37 @@ static inline void handle_timeouts(s32_t ticks)

 	_handling_timeouts = 1;

-	while (timeout && timeout->delta_ticks_from_prev == 0) {
+	while (timeout) {
+		if (timeout->delta_ticks_from_prev <= ticks) {
+			ticks = ticks - timeout->delta_ticks_from_prev;
+			timeout->delta_ticks_from_prev = 0;
+		}
+		else
+			timeout->delta_ticks_from_prev -= ticks;

-		sys_dlist_remove(next);
+		if (timeout->delta_ticks_from_prev == 0) {
+			sys_dlist_remove(next);

-		/*
-		 * Reverse the order that that were queued in the timeout_q:
-		 * timeouts expiring on the same ticks are queued in the
-		 * reverse order, time-wise, that they are added to shorten the
-		 * amount of time with interrupts locked while walking the
-		 * timeout_q. By reversing the order _again_ when building the
-		 * expired queue, they end up being processed in the same order
-		 * they were added, time-wise.
-		 */
-		sys_dlist_prepend(&expired, next);
+			/*
+			 * Reverse the order that that were queued in the timeout_q:
+			 * timeouts expiring on the same ticks are queued in the
+			 * reverse order, time-wise, that they are added to shorten the
+			 * amount of time with interrupts locked while walking the
+			 * timeout_q. By reversing the order _again_ when building the
+			 * expired queue, they end up being processed in the same order
+			 * they were added, time-wise.
+			 */
+			sys_dlist_prepend(&expired, next);

-		timeout->delta_ticks_from_prev = _EXPIRED;
+			timeout->delta_ticks_from_prev = _EXPIRED;
+		}

 		irq_unlock(key);
 		key = irq_lock();

 		next = sys_dlist_peek_head(&_timeout_q);
+		if (next == &timeout->node)
+			break;
 		timeout = (struct _timeout *)next;
 	}

Can you send this as a PR so it can be reviewed?


[Bug] Sources/Extensions not showing on TachiyomiAZ

Device information

Tachiyomi version: v8.7.3-AZ
Android version: 11
Device: realme 5 pro

Steps to reproduce

update extensions via tachiyomi
check extensions on tachiyomiaz

Issue/Request
issue: sources/extensions on tachiyomiaz disappeared upon updating via tachiyomi
Other details
Additional details and attachments.

have both regular tachiyomi and tachiyomiaz installed.
extension updates available on tachiyomi
updated extensions and confirmed working on tachiyomi
opened tachiyomiaz and prompted that source for manga not installed
check extensions and nothing displayed

tachiyomi just updated the extlib version to 1.4, tachiAZ still uses 1.3. i'll be fixing this soon™

Noted on that. Thank you for the quick response.

tachiyomi baru saja memperbarui versi extlib ke 1.4, tachiAZ masih menggunakan 1.3. saya akan segera memperbaikinya™

Waiting for the repair👍

fixed in dev now, i'll be doing an update soon


Getting Error When Trying to Open the CONFIGURE From the Integration Page

Describe the bug
When clicking on CONFIGURE on the integration page of eufy security it give an error: Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

To reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'Device & services'
Click on 'Eufy Security'
Click on 'CONFIGURE'
Error Appears

Expected behavior
To open the Configuration panel
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): Home Assistant OS
Home Assistant Core Version: core-2024.1.0
Eufy Security Add-on Version: 1.7.1
Eufy Security Integration Version: v8.0.0

Log information:
2024-01-04 18:08:01.518 DEBUG (MainThread) [custom_components.eufy_security.config_flow] eufy_security EufySecurityOptionFlowHandler - {'host': '<IP_ADDRESS>', 'port': 3004}
2024-01-04 18:08:01.519 DEBUG (MainThread) [custom_components.eufy_security.config_flow] eufy_security EufySecurityOptionFlowHandler - {}
2024-01-04 18:08:01.519 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 213, in post
return await super().post(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 285, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1878, in async_create_flow
return handler.async_get_options_flow(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/config_flow.py", line 62, in async_get_options_flow
return EufySecurityOptionFlowHandler(config_entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/config_flow.py", line 33, in init
vol.Optional(ConfigField.rtsp_server_port.name, default=self.config.rtsp_server_port): cv.port,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 784, in getattr
raise AttributeError(name) from None
AttributeError: rtsp_server_port

I have the exact same problem, same log and all. Have been trying to find a solution these past few days.

Same here. Configuration is only possible when reinstalling the integration

Downgrading to the previous version ( v7.7.4) is the workaround that got me past this error. I removed the hub device integration in settings, removed from HACS, restarted my docker container, added the previous version, restarted the docker container again, and added the integration in settings.
I notice the release notes have this in the breaking changes, not sure if this is relevant:

This change relies on go2rtc configuration. Please wait until a new version is released and do not get from master

Downgrading to 7.7.4 is what worked for me aswell, I'm running on docker so have also got the latest go2rtc image, I doubt that's the issue.

I think the root cause is, that "rtsp_server_port" is missing in file model.py

Downgrading to the previous version ( v7.7.4) is the workaround that got me past this error. I removed the hub device integration in settings, removed from HACS, restarted my docker container, added the previous version, restarted the docker container again, and added the integration in settings.
I notice the release notes have this in the breaking changes, not sure if this is relevant:

This change relies on go2rtc configuration. Please wait until a new version is released and do not get from master

Unfortunately still the same problem here.
Uninstalled the Integration, then removed the integration from HACS too. Restarted, re-installed on hacs, chose the previous version, restarted, installed the integration: Failed to setup problem...  just as in the Original Post...

+1

same here

same here

Pull request https://github.com/fuatakgun/eufy_security/pull/1069 seems to be related.

Sadly not related, at first look it seems to be.
By default rtsp host address equals the add-on host address and it was intentional.

@kauthmbt , you are probably right, thanks, removed them now

@fuatakgun  You are welcome!
Glad it helped and thanks for all your work and efforts

Fixed in 8.0.1

wow guys. Thanks so much.
And fuatakgun, thanks for that speedy fix!


Simplify kafka spancollector

Instead of using a byte array output stream, we can ask thrift to directly create the bytes for us by using TSerializer

(it is worth noting that TSerializer does exactly the same code :-))

nice!


启动报错. ✘ [ERROR] [plugin vite:dep-pre-bundle] Failed to resolve entry for package "@intlify/shared".

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome<IP_ADDRESS>

What is expected?
✘ [ERROR] [plugin vite:dep-pre-bundle] Failed to resolve entry for package "@intlify/shared". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." entry in "@intlify/shared" package
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/vue-i18n/dist/vue-i18n.cjs:8:21:
  8 │ var shared = require('@intlify/shared');
    ╵                      ~~~~~~~~~~~~~~~~~

@mualala 是 vue 组件库项目还是本地 pro 项目？

我也是这个错误，很奇怪。打包的时候报错了

我这前天用 arco cli 拉取的pro,装完依赖后,运行就报错.
alias添加了 {         find: '@intlify/shared',         replacement<EMAIL_ADDRESS>// Resolve the i18n warning issue       },
还是报错,请问怎么解决阿?

我也是这个错误，很奇怪。打包的时候报错了

请问你解决了吗?

我将vue-i18n的版本^9.2.2改为9.2.2，可以启动了

可以了。打包正常，更新到docker也是正常的了


Need help for horizontal scroll

Hello there. I've tried to turn on horizontal and vertical scroll for my table however I 've tried to trun on the horizontal but it doesnt showed up. I am now using overflow-x: auto for my horizontal scroll but the scrollarea doesnt fillin the width for my container. Any idea why?

I found the problem. Apparently I need to add   width: fit-content to the scrollarea-content to fill in the width for my table.
scss
.table{
   white-space: nowrap;
    height: 70vh;
   &-scroll-area {
        height: 100%;
        white-space: nowrap;
        & > .scrollarea-content {
            width: fit-content;
        }
    }
    &-body {
        &-scroll-area {
            max-height: calc(100% - 48px);
        }
    }
}

component
<ScrollArea
          className={["table-scroll-area"].join(" ")}
          ref={tableScroll}
          speed="1.5"
          smoothScrolling={true}
        >

            <ScrollArea
              className={"table-body-scroll-area"}
              ref={tbodyScroll}
              speed="1.5"
              smoothScrolling={true}
            >

...

            </ScrollArea>

</ScrollArea>


Remove/split Polls

it would be nice if we could get the polls app into a separate repo and maybe split the Poll/Contest/Quiz models into several different apps. Maybe cleanup and denormalize the models in the process.

ok, let's leave this one be for the time being, closing it until we have an idea where to go with it...


fix fix regression test due to errors in scale

Proposed changes
In this pr, a bug has been fixed, but it may cause a change in precision.
But strangely, this test case did not error in this pr

The old optimizer has a multiple analyze issue, where the expression is analyzed multiple times, leading to an accumulation effect on precision. For example

<--Describe your changes.-->
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Cannot read property 'DocumentDir' of undefined

On my Xcode I get "Cannot read property 'DocumentDir' of undefined".
I am using version 8.2.1 of Xcode.
With reference to issue #31 I read that this problem is related to the Xcode and that the problem has been solved for Xcode < 7.3.
I would like to know if my problem can't be solved since I'm using Xcode 8.2.1.
Thanks in advance

I'm having the same issue with Android, but running well with IOS:
"react": "~15.4.0-rc.4",
"react-native": "0.40.0",
"react-native-fetch-blob": "^0.10.2-beta.6",

I have tried install the package in a pure 0.40 environment, it worked without any problem. Please check if the projects are linked, or remove the package and install again 👍

I had to remove the "build" folder inside my "ios" folder and then restart my simulator. After that it's working fine

I'm getting a similar issue - I can't import anything from react-native-fetch-blob.  Simply adding the line:
import RNFetchBlob from 'react-native-fetch-blob'

results in the following error:

I've tried resetting the cache, removing the build directory, reinstalling, relinking, and resetting content and settings on the simulator
Xcode version 8.2.1
react version 15.4.2
react-native version 0.41.2
react-native-fetch-blob version 0.10.2

Have you guys tried to rebuild them? I had same error and after i rebuilded with 'react-native run-ios' it fixed.
btw, i am having react-native version 0.37

I have save issue with @bendyorke but in android
"react": "15.4.0",
"react-native": "0.40.0",
react-native-fetch-blob version 0.10.2

Hey,
I had the same issue on Android and I managed to solve it. I have tried installing and uninstalling, linking and unlinking. it didn't work. After some investigation I found out that the automatic linking did not update my MainApplication.java file.
Make sure that it is configured properly by adding these lines:
...
+ import com.RNFetchBlob.RNFetchBlobPackage;
...
protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
+          new RNFetchBlobPackage()
      );
    }
  };
...

You can find the full explanation here:
Hope this helps

+1 I have the same issue too in iOS build
RN 0.41.2
Latest versions

Here i found the solutions and it worked for me.
step1.
open the xcode and manually relink the .a compiled files again. If they are not linked correctly, the icons will showed differently with the stroke outline instead of the structure icon. Do so and make them correctly linked. This can be found from the General - > Linked Frameworks and Libraries or go to tab Build Phrase -> Linked Binary With Libraries panel. They appear to be the same and works the same.
step2.
remove or uninstall the test apps in the simulator and close all the consoles related to JS debugger for the react native app.
step3.
Create a bash file in the root folder
#!/bin/bash
# Program:
#       Clean the folder caching and make the start the app debug
# To make the xcode derived data folder location please refer to this location
# http://stackoverflow.com/questions/13761934/xcode-derived-data-location/13762600
#
# History:
# 2015/07/16	VBird	First release

watchman watch-del-all
npm cache clean
rm -f /ios/build
react-native run-ios

like so, and run the script.

To piggyback on @bogobogo's post, I came across this issue starting Friday (July 28) and by yesterday found this thread that helped me clear up issue.  When I would run 'RNFB_ANDROID_PERMISSIONS=true react-native link' to link the android libs it wouldn't actually do any of the linking but it did manage to make entries in my AndroidManifest.xml file.  The problem though is it created two duplicated entries.

I removed the duplicates and finished linking for android manually and was able to build and run on an emulator.  I assume linking manually for iOS would yield a similar result, if needed.

I solve this issue just linking project
react-native link
react-native run-ios

still have this problem on android

still have this problem with android. 'RNFB_ANDROID_PERMISSIONS=true react-native link' does nothing. Adding manually did nothing either.

on Ios, if you use Cocoapods make sure to run pod install after linking.

Hello i have solved this issue for iOS---- when you install the react-native-fetch-blob and link with iOS, it only provide limited lib on native side.
you can to open project from iOS in Xcode then remove the library of RNFetchBlob.xcodeproj from library folder and then again add by right click on library folder from node modules-->react-native-fetch-blob--->iOS folder --->add project RNFetchBlob.xcodeproj then all required file will be there and make sure add lib on build phases also libRNFetchBlob.a
it works for me.
Thanks

I have this same issue with a simple empty project with expo via create-react-native-app.
Simply adding import RNFetchBlob from "react-native-fetch-blob"; produces the error of "Cannot read property of DocumentDir of undefined.
Dependencies:
    "clarifai": "^2.9.0",
    "expo": "^30.0.1",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
    "react-native-fetch-blob": "^0.10.8"

After having the same issues, I managed to install react-native-fetch-blob and get rid of the Cannot read property 'DocumentDir of undefined' by:

Following the installation steps (I used npm to install the module).
Linking the package manually

I think the important part that I was missing even previously is to run pod install for iOS.
For Android, the reason it didn't work for me previously might be related to the fact that I'm using react-native-navigation in my project, which means my MainApplication.java is different to the default one (?). This time I just made sure I have the library initialized in getPackages() method and it just worked.
Here's my MainApplication.java for the reference (notice that it extends Navigation Application. It's content is a mixture of the default MainApplication and the one from React Native Navigation installation guide):

public class MainApplication extends NavigationApplication {

  @Override
  protected ReactGateway createReactGateway() {
    ReactNativeHost host = new NavigationReactNativeHost(this, isDebug(), createAdditionalReactPackages()) {
      @Override
      protected String getJSMainModuleName() {
        return "index";
      }
    };
    return new ReactGateway(this, isDebug(), host);
  }

  @Override
  public boolean isDebug() {
    return BuildConfig.DEBUG;
  }

  protected List<ReactPackage> getPackages() {
    // Add additional packages you require here
    // No need to add RnnPackage and MainReactPackage
    return Arrays.<ReactPackage>asList(
      new MapsPackage(),
      new RNFetchBlobPackage()
    );
  }

  @Override
  public List<ReactPackage> createAdditionalReactPackages() {
    return getPackages();
  }

  @Override
  public void onCreate() {
    super.onCreate();
    Fabric.with(this, new Crashlytics());
    SoLoader.init(this, /* native exopackage */ false);
  }

}

Hope this helps!


networking.wireless.networks..extraConfig

This is just a proposal:
I think it would be nice to have an extraConfig option for each network in networking.wireless.networks, which simply adds a string to the file generated in wpa_supplicant.nix.
Maybe, one should also have an option to neither set a psk nor set key_mgmt=NONE.
This could for example be useful to declaratively specify an eduroam network used by universities. This is an example configuration:
network={
    ssid="eduroam"
    key_mgmt=WPA-EAP
    eap=TTLS
<EMAIL_ADDRESS>    subject_match="radius.lrz.de"
<EMAIL_ADDRESS>    password="XXXXX"
    ca_cert="/etc/ssl/certs/dtag_root.crt"
    phase2="auth=PAP"
}

(taken from #8332)
Another possibility is to allow networking.wireless.networks.<name> to be a string which is inserted without modification in a network={ ... } block.

See #22401

I'm trying to add this option but I'm unsure on the implementation.
This really looks like an attribute set but some options are an enumeration (i.e. unquoted) so it can't be simply types.attrsOf types.str.

This is what I came up in the meantime.
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix
index c91ba91fcb..fe35e07603 100644
--- a/nixos/modules/services/networking/wpa_supplicant.nix
+++ b/nixos/modules/services/networking/wpa_supplicant.nix
@@ -8,17 +8,21 @@ let
     ${optionalString cfg.userControlled.enable ''
       ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=${cfg.userControlled.group}
       update_config=1''}
-    ${concatStringsSep "\n" (mapAttrsToList (ssid: networkConfig: let
-      psk = if networkConfig.psk != null
-        then ''"${networkConfig.psk}"''
-        else networkConfig.pskRaw;
-      priority = networkConfig.priority;
+    ${concatStringsSep "\n" (mapAttrsToList (ssid: config: with config; let
+      key = if psk != null
+        then ''"${psk}"''
+        else pskRaw;
+      baseAuth = ''
+        ${optionalString (psk != null) ''psk=${key}''}
+        ${optionalString (psk == null) ''key_mgmt=NONE''}
+      '';
     in ''
       network={
         ssid="${ssid}"
-        ${optionalString (psk != null) ''psk=${psk}''}
-        ${optionalString (psk == null) ''key_mgmt=NONE''}
         ${optionalString (priority != null) ''priority=${toString priority}''}
+        ${optionalString hidden "scan_ssid=1"}
+        ${if (advAuth != null) then advAuth else baseAuth}
+        ${extraConfig}
       }
     '') cfg.networks)}
   '' else "/etc/wpa_supplicant.conf";
@@ -70,6 +74,32 @@ in {
                 Mutually exclusive with <varname>psk</varname>.
               '';
             };
+
+            auth = mkOption {
+              type = types.nullOr types.str;
+              default = null;
+              example = ''
+                key_mgmt=WPA-EAP
+                eap=PEAP
+<EMAIL_ADDRESS>+                password="secret"
+              '';
+              description = ''
+                Use this option to configure advanced authentication methods like EAP.
+                See wpa_supplicant.conf(5) for example configurations.
+
+                Mutually exclusive with <varname>psk</varname> and <varname>pskRaw</varname>.
+              '';
+            };
+
+            hidden = mkOption {
+              type = types.bool;
+              default = false;
+              description = ''
+                Set this to <literal>true</literal> if the SSID of the network is hidden.
+              '';
+            };
+
             priority = mkOption {
               type = types.nullOr types.int;
               default = null;
@@ -83,6 +113,19 @@ in {
                 policy, signal strength, etc.
               '';
             };
+
+            extraConfig = mkOption {
+              type = types.str;
+              default = "";
+              example = ''
+                bssid_blacklist=02:11:22:33:44:55 02:22:aa:44:55:66
+              '';
+              description = ''
+                Extra configuration lines appended to the network block.
+                See wpa_supplicant.conf(5) for available options.
+              '';
+            };
+
           };
         });
         description = ''

@dotlambda PR #30516 has been merged so manual wireless config should now be possible.

Should be fixed by #30516.

Thanks a lot @rnhmjoj!


Fix: NFT images for token instances not showing up if they are SVG

Part of #2890
Converted to use WKWebview for token instance images, removing all conversions from SVG -> UIImage
Might be a performance problem. Will have to try it out.

Close issue once all PRs listed in https://github.com/AlphaWallet/alpha-wallet-ios/issues/2890#issuecomment-860487761 merge


latex ceatures don't fuse

for2.5.4 version,I found that the Light latex knight and the light latex wolf didn't fuse with each other,unless I disabled the changedaddon mod.

for2.5.4 version,I found that the Light latex knight and the light latex wolf didn't fuse with each other,unless I disabled the changedaddon mod.

I will see what can be wrong

The fusion Can only happen if the Transfurs Variant Age is low..


Fix reward proportion in fee-distribution

Hi everyone!
I think the following paragraph is outdated since Atlas, and should now reference the new 8ETH minipools:

Rocket Pool is designed to fairly distribute these rewards between you and the rETH pool stakers, the same way it fairly distributes your Beacon chain rewards: half of any priority fees your minipool validators earn will go to you (plus the average commission of all of your minipools), and the other half will go to the pool stakers (minus your average commission).

Feel free to reword my suggestion.

Nice, thanks!


Spelling

Generated by https://github.com/jsoref/spelling f; to maintain your repo, please consider fchurn

Hello,
Thanks very much for contributing. Would you mind to sign our CLA https://neo4j.com/developer/cla/ to be able to contribute us?
Also could you smash all commits into one commit?
Thanks again.
Zhen

If you're ok w/ the commits, I'm happy to squash (probably Sunday).
I prefer to leave things as individual commits in case someone objects to a given correction / to enable rebasing.

@zhenlineo: updated. Let me know if you're ok w/ this, and I'll squash...

@jsoref Hi, could you squash the commits then we shall merge your PR?

@zhenlineo: squashed


module 'urllib.request' has no attribute 'HTTPSHandler'

Traceback (most recent call last):
File "", line 1, in
File "/data/user/0/com.jventura.pyapp/assets/python/bootstrap.py", line 9, in
import youtube_dl
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/init.py", line 15, in
from .options import (
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/options.py", line 8, in
from .downloader.external import list_external_downloaders
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/downloader/init.py", line 3, in
from .common import FileDownloader
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/downloader/common.py", line 10, in
from ..utils import (
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/utils.py", line 1117, in
class YoutubeDLHTTPSHandler(compat_urllib_request.HTTPSHandler):
AttributeError: module 'urllib.request' has no attribute 'HTTPSHandler'

I use android call C, C call python agin. put python cold in assets.

@dstftw


BeatPulse System package with Ping and Disk Storage livenesses, unit tests, functional Tests and readme update

Usage:
services.AddBeatPulse(options =>
{
      //We add one or serveral drives specifying it's name and required free megabytes
       options.AddDiskStorageLiveness(setup =>
       {
             setup.AddDrive("C:\", 200000);
             setup.AddDrive("D:\", 100000);
       });

       //We add one or several hosts specifying an ip or a host name and the timeout in milliseconds
        options.AddPingLiveness(setup =>
        {
             setup.AddHost("<IP_ADDRESS>", 5000);
        });
});

Hi Carlos, I try to review this and perform some minor changes before merge

Merged with some minor changes.
Thanks @CarlosLanderas


Missing file in data folder

The file "data/DEresults-TreatmentFOLFIRINOX.csv" is missing from the data folder (necessary to run workflow 5).

I'll check asap

done.


Integrate new logo

We need to get the winner entry from the logo contest into Fuse Studio.
https://fuseopen.com/assets/images/logo-contest/fernando-fuseopen-2.png

Here's the logo: fuse-open-svg.zip


support :not css pseudoselector for complex selection

I'm not sure if I'm missing something, but I'm struggling to find out how to do the equivalent of
div > *:not(:first-child)::before {
}

is there a way to get the not pseudo selector?

the selector api is limited, it might be easier to create the selector directly:
Css.style([ selector(" > *:not(:first-child)::before", [ ... ]) ])

Thanks, good to know!


remove stresstest module

tests and benchmarks have been moved to https://github.com/crate/crate-stresstest

ack


Place order?

I'm I just not seeing it or is there no functions for place orders on luno?

What you are looking for is PostOrderAsync if I am not mistaken


Raise z-index for select dropdown

This is because sometimes 3rd party plugins will work with z-index and have this as a higher value than 1 which choices does now. You will also always want to have the choices dropdown at first on the layers (always on top)
Broken:

Fixed:

I'm also open for a z-index 10 so you're even more sure the choices list will overlap other forms/tools.

z-10 is consistent with other fields like the Date Picker, so let's use that. I just suggested z-1 because that was the default for Choices.js

Thanks!


pretrained weights

Hi,
Thanks a lot for bringing this to life, awesome job! I wanted to know if you had by chance pre-trained weights that you could share ?

I guess even I can answer this question :D He never provides pretrained weights only the implementation. So I guess you will have to wait until the authors release their code and weights.


Products Page

[ ] Hero Section
[ ] Product Card
[ ] Product Grid Section

Hey @hamisirizwan, I'd like to help out with this issue. 🙂

Hello @sonylomo The about page is available for taking. Please confirm with the designs and confirm if you can handle the about Us page so I can assign it to you

Awesome @sonylomo Kindly comment on the aboutUs issue so i can find your username.


build(poetry): update questionary version to ^1.4

after questionary 1.4, we can modify the style of prompt and highlighted text at the same time
#37

Codecov Report

Merging #50 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
- Coverage   92.61%   92.57%   -0.05%
==========================================
  Files          24       24
  Lines         555      552       -3
==========================================
- Hits          514      511       -3
  Misses         41       41

Impacted Files
Coverage Δ

commitizen/config.py
90.32% <0%> (-0.21%)
:arrow_down:

commitizen/cz/base.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Generating prompts from an image (VQGAN)

I'm investigating how to generate prompts from an image
There was some instructions to encode_text + encode_image using faiss here
https://github.com/mlfoundations/open_clip/issues/1
I was digging through github and came across this codebase.
Does this repo do that? It doesn't seem so. could it?
Basically want to throw conceptual captions + be able to introspect an image for captions.
https://github.com/google-research-datasets/conceptual-12m

Hi,
This codebase doesn't do that, however these repos (which are using a similar idea) do, I advise you have a look at them:

https://github.com/dzryk/clip-grams to generate a bunch of ngram embeddings using clip text encoder
https://github.com/dzryk/antarctic-captions to find the right ngrams using clip embeddings and a knn index, and then combining that with an attention model to produce caption of an image

Cool thanks


Custom Hotkeys have disappeared and can no longer set them [v4.1.1]

OS: OS X 10.11.6
Issue Descriptions:
After recently upgrading to 4.1.1 I can no longer use my custom hotkeys.
Investigating further I've found that my hotkeys no longer exists at all. Empty.
I can't even set any new hotkeys.
Steps to Reproduce:

Open GPMDP
Open Preferences/Settings.
Select Hotkey Tab
Select a Hotkey to Set (input section will underline/ change colour)
Input and combination of keys, nothing happens.
Click outside / Press Esc to cancel hotkey input.

Reference to this closed issue with comments of people with the same issue.
#2119
Debug info incase you need it. Though there's not much information in it.
debug_info.zip

Same issue with Linux Mint 18.1 64-bit(Kernel: 4.8.0-34) using Cinnamon 3.2.7.

came across this today testing this app out, debian-testing on kernel 4.9

In order to set hot keys you need to use a modifier key as the keys are stolen from the global scope. For example, if you were to just press "N" it would make it so GPMDP is the only program that would be able to see that key, period. The preferred modifier key is either cmd in mac, or ctrl in windows.
If you can confirm that you can't set hotkeys this way then we can look into it further.
@MarshallOfSound I notice mac and linux are present, but I checked windows and it's fine. Maybe your windows hack is working but something broke with the electron global shortcuts?

@jostrander
I'm using the same hotkey I was using previously which was Cmd + Shift + J and Cmd + Shift + K
This hotkey worked perfectly fine for a long time. Now all hotkeys have been cleared and are unsettable.
I've also tried many alternative key combinations to no avail.

@jostrander
Oh I was trying to set the shortcut to my global hotkeys, does this not work yet?

Media hot keys are already set to work in GPMDP, (such as play, pause, forward, back, etc). @gregflynn

@jostrander Ah, my apologies, I had to remove the shortcuts from chrome, kill all chrome windows, then open GPMDP for it to get control of those key events. Thanks

I'm making a few assumptions here but I don't think there is actually an issue here
@gregflynn All standard media player hotkeys can be stolen by Chrome / Chromium, I think you discovered this yourself 👍
@jwmann

This hotkey worked perfectly fine for a long time.

That's impossible, we never supported "Command" hotkeys....
Everyone else.  As @jostrander said all hotkeys must contain the "Control" key.
Unless someone can demonstrate this not working or give some kind of reproduction scenario so I can see it not work I'll close this out shortly.
I have tested on Windows 8, 10 and macOS Sierra along with Ubuntu 14.04

I can confirm that my hotkeys work.
I incorrectly assumed ctrl and cmd were synonymous (windows / mac) after reading @jostrander's comment.
After seeing @MarshallOfSound's comment, I double-checked my original hotkey by checking my Karabiner config. My original hotkey did infact start with ctrl not cmd. My apologies.
<?xml version="1.0"?>
<root>
  <item>
    <name>Remap System Volume keys</name>
    <appendix>These will be set to a custom mapping in the Google Play Music Desktop Player for Volume Up and Volume Down</appendix>
    <identifier>private.remap_system_volume</identifier>
    <autogen>
      __KeyToKey__
      ConsumerKeyCode::VOLUME_UP,
      KeyCode::K, ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L
    </autogen>
    <autogen>
      __KeyToKey__
      ConsumerKeyCode::VOLUME_DOWN,
      KeyCode::J, ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L
    </autogen>
  </item>
</root>

I think the real issue here was that my hotkeys were cleared after the upgrade, but as long as I can still set them, it doesn't bother me.
Thanks for the help.

Two recommendations:

Display some help on the hotkeys page that indicates the Ctrl-key requirement.
Display the Media Key assignment instead of "Not Set" when there is no setting.

I was expecting to have to set my media keys here and was frustrated that they didn't "work" on this page.  I tried them after reading this issue (#2184) and was pleasantly surprised to find they just worked.

@phord Definitely makes sense to bit a little bit of help text on that page 👍


Correct develop flow

Align releases into develop.

It doesn't look like much, but this is actually aligning the Git History so new additions to the master branch avoid conflicts. :)

@teddius please read the code again.
The variable requires gathers all the information of the requirements from the requirement.txt dynamically, so you do not need to maintain duplicated information.


'Total in' and 'total out' are cluttering the wallet

Hi guys, I think the 'Total in' and 'total out' info is unnecessary and rather confusing. It also clutters up the wallet with additional numbers. Wouldn't it be better to leave this out and make it an optional feature for number geeks?
Also, even if it would be optional, the font size is too big in my opinion. It makes it seem too important.
Briefly describe the issue.
Wallet version: Firefly Beta
Which version of wallet are you using?

wallet version (version number, commit, or branch): Firefly Beta

System specification
What is your operating system? OS
Mac/Win/Linux (+Version and or Distro if possible)
Is it a repeatable issue? Y
Y/N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

Expected behaviour
Describe what you expect to happen. The info should not be there.
Actual behaviour
Describe what actually happens.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Tagging duplicates here: https://github.com/iotaledger/firefly/issues/581 and https://github.com/iotaledger/firefly/issues/353.

or at least, show total out and total in specific for your account, not all accounts together

Total In/Out were removed in #815


Instructions of preprocessing GLUE benchmark data.

Thank you for such a wonderful work. Can you describe how to preprocess the GLUE dataset? I failed to find out how to preprocess GLUE from  GLUE-baselines.

Sorry for missing such important information.
I have updated this in readme. Specifically, I preprocessed GLUE by using the tools from fairseq repo.
And our dataset can read the pre-processed data directly.
Please let me know if you have any other problems.

Thank you!


Form validation submitting form on its own

I have a form validated with semantic-ui which is being sent despite my preventDefault call on the event. Is there a way to prevent this behavior?

Had to set onSuccess: (event, fields) => false to make it work. Maybe this should be documented.


Miscellaneous code cleanup

This is a collection of random minor details I spotted whilst poking around the codebase. Nothing urgent or important.

LGTM - could you please remove the client update?
Thanks :)

Derp. Done.


How to tag dates using the model temporal_tagger_DATEBERT_tokenclassifier

I am using this code to load the model and the tokenizer:
tokenizer = AutoTokenizer.from_pretrained("satyaalmasian/temporal_tagger_DATEBERT_tokenclassifier", use_fast=False)
model = tr.BertForTokenClassification.from_pretrained("satyaalmasian/temporal_tagger_DATEBERT_tokenclassifier")

I have a list of text:
examples=['Texas DRIVER LICENSE Class AM 04/10/2014', 'N. Joy Driving DOB 09/21/1990']
How do I now pass this into the model to get proper tagging of dates? Sorry little confused.
@dennlinger

Hi @dennlinger , any help please?

Hi @pratikchhapolika,
sorry for the late answer! For the DateBERT classifier, you need to take some additional steps to obtain predictions, namely, embedding the date itself.
An example is given in the Huggingface model card, or alternatively in our script for tagging inference.
Personally, we found that the fine-tuned "base" BERT model already achieves very comparable performance (i.e., the temporal_tagger_BERT_tokenclassifier model), which you can simply load with a TokenClassificationPipeline like this:
from transformers import pipeline

pipe = pipeline("token-classification", model="satyaalmasian/temporal_tagger_BERT_tokenclassifier")
# And then simply pass strings as inputs:
pipe("Tomorrow will be a beautiful day")


chore:  test ci

It's just a sample PR to test the CI.
Please ignore.

These tests are failing because the expected setup was not present in my-instance-test.
The Spanner CI pre #1952 is OK, there are no inmediate problems except the ocassionally flakynes. The problems are most likely being introduced in #1952.
Please close this PR and delete my-instance-test.


cacert should be a file path and not a string on cloud.yaml

Right now the cloud.yaml file is passing the cacert as a string which is not the standard way from the documentation

I suspect this indentation error, which I saw in openstack-exporter-k8s. The upstream documentation mentioned that it can be cacert string: https://github.com/openstack-exporter/openstack-exporter?tab=readme-ov-file#openstack-configuration

yes, but the idea here is that openstack-exporter should behave in the same way as any openstack client, which indeed it does, save for a small difference: the cacert option can either be a string or a path to a file (for the exporter), but it can only be a path for python-openstackclient. We think the charm should try to use the exporter in the most default way possible, meaning that the clouds.yaml file it renders should pass a path to the CA cert, not a string (even if either would work).


Sonic boom draw order is incorrect

Sometimes the sonic boom app will draw on top, and sometimes below, for example, the street grid shaders.
This is a timing issue in the load. We should decide more strictly where the sonic boom lives in the render order; it should probably live next to (or even inside) the avatar it's bound to.
Whatever the solution, we should not sort apps every frame.

This also happens with the shield.

Shield has higher priority than sonic boom.

So the shield would draw on top of sonic-boom, ki, street shader (usually, street and shield have the same priority)

https://user-images.githubusercontent.com/60634884/163058031-af23f858-18a1-4e1c-b9f4-61ea4435f7a9.mp4
If we set the lower priority of shield, then it would draw below the street shader. But still cannot guarantee that it would draw below sonic-boom and ki.
https://user-images.githubusercontent.com/60634884/163058643-e5942a55-de7e-40fa-ae16-38f89f70a708.mp4
So I think maybe we could add depthWrite to shield material, which would guarantee that the shield draw below street shader, sonic-boom, and ki.
https://user-images.githubusercontent.com/60634884/163058799-4ac493e5-9187-4589-9a50-0fd2b830d9c0.mp4

I think it's clear this stack needs a declarative sort infrastructure.

If we lower the shield's priority, then it would draw below the street shader. But still cannot guarantee that it would draw below sonic-boom and ki.

Yes, we can guarantee this.


Inquire about technical details of the JVM  Memory Fitting  feature

https://learn.microsoft.com/en-us/azure/container-apps/java-overview
Can someone help share more technical details about the JVM Memory Fitting feature.
Is it based on algorithms/technologies mentioned in this paper: https://www.microsoft.com/en-us/research/publication/oppertune/

@seanli1988 can you please help with this?

anyone can help with issue. thanks

Yeah, a blog post is in progress to explain the process. Expect the publication to go live in April.

blog published: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/automatic-memory-fit-for-java-apps-in-azure-container-apps/ba-p/4134276


HTMLForm and SVGForm don't use specified font

For example
form.font(...)
form.text(...)

doesn't apply the font options to the text and something like
form._ctx.style['font-family'] = 'Arial'

has to be used. I suppose this can be solved pretty easily by setting the context style accordingly every time form.font() gets called.
I also noticed that font-variant is not an option when setting a font, is this intentional since there are otherwise too many arguments, or forgotten by accident? Maybe in this case, passing an options object instead of multiple arguments would be a good idea since there are so many (optional) arguments and it can also be hard to remember the order in which they have to be supplied.
What do you think @williamngan? I'm happy to help with a pull request if you want.

Thanks again @Yvee1 for fixing these DOM/SVG issues!


Wildcard ignore not working

What version of dep are you using (dep version)?
v0.3.1-122-g98f625e
What dep command did you run?
dep hash-inputs
-CONSTRAINTS-
-IMPORTS/REQS-
github.com/jinzhu/gorm
github.com/jinzhu/gorm/dialects/mysql
-IGNORES-
github.com/jinzhu/gorm*
-OVERRIDES-
-ANALYZER-
dep
1

dep ensure -v
Root project is "navicat.com/navicat/playground/depbug"
 1 transitively valid internal packages
 2 external packages imported from 1 projects
(0)   ✓ select (root)
(1)	? attempt github.com/jinzhu/gorm with 2 pkgs; 7 versions to try
(1)	    try<EMAIL_ADDRESS>(1)	✓ select<EMAIL_ADDRESS>w/2 pkgs
  ✓ found solution with 2 packages from 1 projects

Solver wall times by segment:
     b-source-exists: 2.644095774s
              b-gmal: 150.504996ms
         b-list-pkgs: 142.178567ms
         select-root:      88.11µs
            new-atom:     81.607µs
             satisfy:     37.979µs
         select-atom:     35.615µs
               other:     33.034µs
     b-list-versions:     28.357µs
  b-deduce-proj-root:        733ns

  TOTAL: 2.937084772s

(1/1) Wrote<EMAIL_ADDRESS>
What did you expect to see?
dep status
PROJECT                 CONSTRAINT  VERSION  REVISION  LATEST   PKGS USED

What did you see instead?
dep status
PROJECT                 CONSTRAINT  VERSION  REVISION  LATEST   PKGS USED
github.com/jinzhu/gorm  *           v1.0     5174cc5   5174cc5  2

This looks correct behavior to me. Ignoring github.com/jinzhu/gorm* means ignore source code static analysis of that packages. So, all the imports of gorm, like github.com/go-sql-driver/mysql, github.com/lib/pq, etc would not be ignored. But gorm package itself would still be vendored.
@sdboyer correct me?

I've been wrestling with that question recently - I'm not sure what my original intent was. I need to revisit the docs/spec I originally wrote and check over the existing system for sanity in this regard.

Somewhat related to this, is it possible to instruct dep to ignore all dependencies that come from a local package?
In my specific case inside my repo, I have a directory called plugins/, which contains the source codes for several go plugins, each of which has its own vendor/ directory that contains all of its dependencies. The plugin dependencies are therefore not needed inside the main vendor/ directory, but they still appear there. I tried adding several variations of the ignored parameter inside the Gopkg.toml with no success. I tried:
ignored = ["./plugins/", "./plugins", "bitbucket.org///plugins*"]

we definitely need clearer docs on the syntax here.
the expectation, as with real import paths in a project that point to other packages within that project, is that you provide the full import path - not a relative one. that should have the desired effect.

I tried that as well, but didn't work. Is it possible that dep can't ignore local packages?
I have the repo https://github.com/e-nikolov/my-real-repo/ that demonstrates what I do.
It has this in ignored:
ignored = ["github.com/e-nikolov/my-real-repo/plugins*", "github.com/e-nikolov/my-fake-repo/plugins*"]
Where my-real-repo is the repo itself and my-fake-repo is a non-existent repo.
When I run dep hash-inputs, it only shows my-fake-repo under -IGNORES-, and all dependencies are still placed inside the main vendor/. This suggests to me that the "ignored" clause is ignored for local packages.

@e-nikolov yes, ignores from current project aren't added to hash-inputs' ignore list. They are implicitly included. But it seems to work fine in your repo.
I cloned your repo and ran dep ensure, it cleared github.com/go-chi/chi from /vendor/ which exists in master. And that's because the ignore is working. If I remove "github.com/e-nikolov/my-real-repo/plugins*" from ignored list, and run ensure, github.com/go-chi/chi is added back. Since go-chi/chi is imported by plugins package only, not by the root package, it seems to work correctly.
NOTE that ignore is just ignoring static code analysis of the specified packages, not ignoring to vendor them.

Which revision of dep do you use? When I run dep ensure here, it doesn't remove chi from the main vendor.


Settings page does not refresh after revoking certificate

Describe the bug
After revoking a certificate, the page isn't refreshed to show the correct status.

fixed in https://github.com/akash-network/console/pull/34


Warning: Error opening image

warning: error opening C:\Users\Kartikey
warning: error opening Kushwah\Downloads\Compressed\noteshrink-master\image.jpg
running PDF command "convert  output.pdf"...
Invalid drive specification.
warning: PDF command failed

Please specify the link to the image with which you are facing the error.

@SwampDolphin97 as i stated on #15 it's cause it collides with a windows' command (https://technet.microsoft.com/en-us/library/bb490885.aspx)
Just use it like this:
python noteshrink.py -c "magick convert %i %o" IMAGE1 [IMAGE2 ...]
Or get #30 changes

Yes. Fixed!


Pick up data streams in disk-usage-stats telemetry

Some of our tracks just declare data streams.

Nice!


Instruct trivy to use fallback for downloading db.

Seeing error when running nightly vulnerability scan
Running Trivy with options: trivy image public.ecr.aws/datadog/lambda-extension:latest
2024-10-20T01:32:03Z	INFO	[vulndb] Need to update DB
2024-10-20T01:32:03Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-20T01:32:03Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-20T01:32:04Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 1.084625ms, allowed: 44000/minute\n\n"
2024-10-20T01:32:04Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source

Using solution from this github issue, adds fallback db when rate limit is hit.

Tested this branch out, retry logic works


remove findDOMNode

remove all React.findDOMNode
no more export 'version' (replace it with RMWC_VERSION. Under react-script v5 or webpack v5, modules not be allowed to export value name as 'version')

Hi. Nice with a little cleaning.
We generate the changelog based on the git commit log and for that to work properly it needs to be formatted in a special way.
https://github.com/jamesmfriedman/rmwc/blob/master/CONTRIBUTING.md#submitting-pull-requests
Just for clarity renaming version to RMWC_VERSION is a breaking change so we need to mark it as such.

@JohnGu9 we are sorry for the delay. Are these changes still relevant? Can you update the branch with the latest commits? We promise to act quick after that.

@jensborch @EmiBemi @thaestrup I think this is workable. I will need to solve the merge conflicts, but my greater question is if we should do it because it would be a breaking change.  What do you all think?

@b-d-m-p I think we should resolve the conflict and get this merged. The RMWC_VERSION breaking change in src/rmwc/index.tsx should be reverted, but I think we should include it in the RMW 14 release. I will create tasks on our Kanban board

We decided to make a new PR to the next branch instead of this branch, but after fixing merge conflicts the project doesn't run, which it turns out is due to issues in the next branch, so we need to wait till those are solved before dealing with this PR. I am leaving this PR here as a reminder for the time being and I will continue conversations about it here. You can see comments on the previous merge attempts here: https://github.com/rmwc/rmwc/pull/935.


Add buildpacks command

The PR changes the existing buildpack command to buildpacks and adds the behavior shown below.
Before merging this we may want to change the language used in codon for it's multi-buildpack behavior. Currently, it uses words like "Framework" because it copied the output directly from Multi-buildpack, but this does not meaning anything to Heroku (we do not use this work in the Dev Center or official docs). It also does not indent like normal buildpacks.
list multi buildpacks
$ heroku buildpacks
=== example Buildpack URLs
1. https://github.com/heroku/heroku-buildpack-java
2. https://github.com/heroku/heroku-buildpack-ruby

add buildpacks
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs
Buildpack added. Next release on example will use:
  1. https://github.com/heroku/heroku-buildpack-java
  2. https://github.com/heroku/heroku-buildpack-ruby
  3. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

add buildpacks at index
$ heroku buildpacks:add -i 1 https://github.com/ryandotsmith/null-buildpack
Buildpack added. Next release on example will use:
  1. https://github.com/ryandotsmith/null-buildpack
  2. https://github.com/heroku/heroku-buildpack-java
  3. https://github.com/heroku/heroku-buildpack-ruby
  4. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

set buildpacks at index
$ heroku buildpacks:set -i 2 https://github.com/ddollar/heroku-buildpack-apt
Buildpack set. Next release on example will use:
  1. https://github.com/ryandotsmith/null-buildpack
  2. https://github.com/ddollar/heroku-buildpack-apt
  3. https://github.com/heroku/heroku-buildpack-ruby
  4. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

set buildpacks w/o index
This one is weird and may require discussion
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-java
Buildpack set. Next release on example will use:
  1. https://github.com/heroku/heroku-buildpack-java
  2. https://github.com/ddollar/heroku-buildpack-apt
  3. https://github.com/heroku/heroku-buildpack-ruby
  4. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

remove buildpacks by index
$ heroku buildpacks:remove -i 1
Buildpack removed. Next release on example will use:
  1. https://github.com/ddollar/heroku-buildpack-apt
  2. https://github.com/heroku/heroku-buildpack-ruby
  3. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

remove buildpacks by URL
$ heroku buildpacks:remove https://github.com/heroku/heroku-buildpack-ruby
Buildpack removed. Next release on example will use:
  1. https://github.com/ddollar/heroku-buildpack-apt
  2. https://github.com/heroku/heroku-buildpack-nodejs
Run `git push heroku master` to create a new release using these buildpacks.

clear all buildpacks
$ heroku buildpacks:clear
Buildpacks cleared. Next release on example will detect buildpack normally.

/cc @craigkerstiens

everything here looks good to me. any thoughts @craigkerstiens?

:shipit:


(short issue description)

Describe the bug
When I use MinioServer as the boto3 endpoint, if my "bucket region" is set incorrectly, the "s3 host" is also changed along with the "region" update.
Expected Behavior
When I use MinioServer as the boto3 endpoint, if my "bucket region" is set incorrectly, the "s3 host" does not change and only the "bucket region" is updated.
Current Behavior
If my "bucket region" is set incorrectly, botocore update the correct "region", but change the "s3 host" to "amazonaws.com".
Reproduction Steps
python code
import boto3
import os
from urllib.parse import urlparse
from botocore.config import Config

# set s3_client with wrong region
# if your s3_server region is different from default region(us-east-1), you do not need to specify.
s3_client = boto3.client(
    service_name='s3',
    aws_access_key_id='${aws_key}',
    aws_secret_access_key='${aws_secret}',
    endpoint_url='${minio_server_url:port}',
)

boto3.set_stream_logger(name='botocore')

s3_client.list_buckets() # works well
s3.list_objects(Bucket='${bucket_name}', Prefix='${object_key}')) # update region and change host_endpoint to "amazonaws.com"

debug log
$ botocore.hooks [DEBUG] Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7f8ee1ed82b0>>
$ botocore.utils [DEBUG] S3 client configured for region us-east-1 but the bucket ${bucket_name} is in region ap-northeast-2; Please configure the proper region to avoid multiple unnecessary redirects and signing attempts.
$ botocore.utils [DEBUG] Updating URI from http://{minio_server_url:port}/${bucket_name}?prefix=${object_key}&encoding-type=url to http://s3.ap-northeast-2.amazonaws.com/${bucket_name}?prefix=${object_key}&encoding-type=url

Possible Solution
It seems that it can be fixed by changing the endpoint parsing logic.
I would like to contribute by creating a PR within this week.
Additional Information/Context
minio server using docker image "quay.io/minio/minio:RELEASE.2022-05-08T23-50-31Z"
SDK version used
1.24.38
Environment details (OS name and version, etc.)
CentOS Linux release 8.3.2011, MacOS 12.2.1

Closing as a duplicate of https://github.com/boto/botocore/issues/2723.


Potential Path traversal

In app.coronawarn.server.services.distribution.assembly.io.IO#makeNewFile (link to source), the method takes a root path and a file name for creating a new file. In case the filename can be chosen arbitrarily by a user/attacker, the implementation is prone to path traversal attacks.
To avoid this, the given name needs to be sanitized or filtered.

Thanks for the input. At this point, we are confident there is no user input involved in directory creation. However, we would welcome any contribution to include whitelisting of paths provided.

The filename cannot be chosen arbitrarily by a user/attacker.


Improve View.edgeInsets (add record for easier usage)

I found usually specify all edgeInsets args like this
<TouchableOpacity
  onPress={(_) => ()}
  hitSlop={View.edgeInsets(
    ~top=20.,
    ~bottom=20.,
    ~left=20.,
    ~right=20.,
    (),
  )}
>

With this change, it should allow us to simplify specify a record directly
<TouchableOpacity
  onPress={(_) => ()}
  hitSlop={{
    top: 20.,
    bottom: 20.,
    left: 20.,
    right: 20.,
  }}
>

The function still works, but if you want to specify all args it's far easier imo (less characters).
Thoughts?

I see this as an alternative. In fact the record is "wrong" because all fields are optional. bs.obj make sense when most things are optional because you can easily add only one field.
Anyway, I guess instead of a record I should do a small function that accept a single argument that I use everywhere...

Certainly convenient, but only for the case when you want to set all four values, like in your example, and as @sgny says it would break our existing convention, so I don't think it is worth it.

I agree :D


Added warning ⚠ - No support for long-running servers

Closes #655
✅ Checklist

[x] I have followed every step in the contributing guide
[x] The PR title follows the convention.
[x] I ran and tested the code works

Testing
[Describe the steps you took to test this change]

Changelog
[Short description of what has changed]
Added warning -> ⚠ Warning: We don't currently support long-running servers! For more details, check out issue #244.

Screenshots
[Screenshots]

💯

Hi @matt-aitken, Please review my PR. Thanks :)


Re-Validate aufs crawling on Armada

Description
We have an issue on crawling aufs backed containers. Let us validate we can crawl containers backed by aufs.
Previously we had issues on 'detecting' new containers on an aufs-backed system. We should better understand and document the current state.
How to Reproduce

Deploy crawler on armada worked, backed by aufs
Validate it (a) discovers and (b) crawls existing containers
Check if it (a) discovers and (b) crawls newly-created containers

Related Issues
#112 #167 #275

@canturkisci
Summary of Discussion with Alan:

There is a scenario in which setns fails if called from multi-threaded process. And in namespace.py -> run_as_another_process() the multi-threaded context fails the setns to mount namespace of container. And this is specific to aufs. We don't expect this will be fixed in aufs since its development seems to be stagnant.

Alan mentioned, he has a solution for that and he will create a PR to add that fix into this OSS code.

We also have few gaps in terms of porting few other changes regarding package crawling that we will perform after aufs fix.


fix: pulling by latest tag and completed workflows

fix: revert environment changes to manual for now to be able to create super user and resolve environment keys

OK!


Fix test failures for security dependency version bump

Description:
$subject
Related to #34437

Completed with #21