add keep-tag opt

Address #43
@tlkamp I'm having an issue where the KEEPTAG env var is not registering via pytest here, but works fine when running independently. Ideas?

Codecov Report

Merging #44 into master will decrease coverage by 0.59%.
The diff coverage is 88.88%.

@@            Coverage Diff            @@
##           master      #44     +/-   ##
=========================================
- Coverage   96.42%   95.83%   -0.6%
=========================================
  Files           7        7
  Lines         140      144      +4
=========================================
+ Hits          135      138      +3
- Misses          5        6      +1

Impacted Files
Coverage Δ

ouroboros/defaults.py
100% <100%> (ø)
:arrow_up:

ouroboros/cli.py
100% <100%> (ø)
:arrow_up:

ouroboros/main.py
86.66% <100%> (ø)
:arrow_up:

ouroboros/image.py
94.73% <66.66%> (-5.27%)
:arrow_down:

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 33f92b1...2555c61. Read the comment docs.

Issue here is the patched os.environ dictionary is not clearing itself when the test is done, so the prior config is rolling over into the new integration test where there is a new key.
I tried using with:
def test_main_with_latest(mocker, create_container):
    mocker.patch('sys.argv', [''])
    with mocker.patch.dict('os.environ',{'INTERVAL': '5','LOGLEVEL': 'debug','RUNONCE': 'true','CLEANUP': 'true', 'MONITOR': test_container_name}):
        with pytest.raises(SystemExit):
            assert imp.load_source('__main__', 'ouroboros/ouroboros') == SystemExit

but result in:
AttributeError: __enter__
@tlkamp Know a good way to get around it?

Still trying to get this work, tried making a fixture:
@pytest.fixture()
def run_ouroboros(mocker, create_container):
    def init(env_vars):
        mocker.patch.dict('os.environ', env_vars)
        loader = SourceFileLoader('__main__', 'ouroboros/ouroboros')
        mod = types.ModuleType(loader.name)
        return loader.exec_module(mod)
    return init

Then run like so:
def test_main_with_latest(mocker, run_ouroboros):
    mocker.patch('sys.argv', [''])
    with pytest.raises(SystemExit):
        assert run_ouroboros(env_vars={'INTERVAL': '1','LOGLEVEL': 'debug','RUNONCE': 'true','CLEANUP': 'true', 'MONITOR': test_container_name}) == SystemExit

But no matter what, args persist:
tests/2_integration/main_test.py::test_main_with_latest Namespace(cleanup='true', interval=1, keep_tag=False, loglevel='debug', monitor='busybox_test', run_once='true', url='unix://var/run/docker.sock')
PASSED
tests/2_integration/main_test.py::test_image_cleanup PASSED
tests/2_integration/main_test.py::test_container_updated_to_latest PASSED
tests/2_integration/main_test.py::test_rm_updated_container_latest PASSED
tests/2_integration/main_test.py::test_main_with_keeptag Namespace(cleanup='true', interval=1, keep_tag=False, loglevel='debug', monitor='busybox_test', run_once='true', url='unix://var/run/docker.sock')
PASSED

Bout ready to throw the towel in on testing keep-tags @tlkamp

I've been thinking about reworking some of the tests anyway


balancing final base computation to add leading "0" for decimal value…

…s below 16 that would yield hex values of 1 char. resolves #3

This is looking great.


docs: Fix typo in PROTOC_NO_VENDOR environment variable doc

The variable should be named PROTOC_NO_VENDOR but has a typo in the prost-build lib documentation.

Thanks!


Issue with building in version 1.1.6 caused by deepSet.js

Describe the bug
When building my sveltekit project, I am getting an error that says
import { __rest } from<EMAIL_ADDRESS>         ^^^^^^
SyntaxError: Named export '__rest' not found. The requested module<EMAIL_ADDRESS>is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from<EMAIL_ADDRESS>const { __rest } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:127:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:191:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
    at async Promise.all (index 1)
    at async respond$1 (file:///Users/deusduke/src/ddtrader/packages/svelte/.svelte-kit/output/server/index.js:1463:13)
    at async resolve (file:///Users/deusduke/src/ddtrader/packages/svelte/.svelte-kit/output/server/index.js:1842:105)
    at async Object.handle (file:///Users/deusduke/src/ddtrader/packages/svelte/.svelte-kit/output/server/chunks/hooks-ec7013aa.js:20:20)
    at async respond (file:///Users/deusduke/src/ddtrader/packages/svelte/.svelte-kit/output/server/index.js:1798:22)
    at async visit (file:///Users/deusduke/src/ddtrader/node_modules/@sveltejs/kit/dist/chunks/index2.js:1084:20)

Which package/s are you using?
felte (Svelte), @felte/validator-yup, @felte/reporter-tippy
Environment

OS: Mac OS 12.3.1
Browser: N/A
Version<EMAIL_ADDRESS>
To reproduce
I'm not entirely sure which includes trigger, but I assume just including something from the deepSet file mentioned above will repro the issue
Small reproduction example
No response
Screenshots
No response
Additional context
I have discovered a solution which is to add a package.json to node_modules/<EMAIL_ADDRESS>that declares it type module
{
  "type": "module"
}

Then the error goes away

Hey! Is this a freshly installed SvelteKit project? I just tried this with the adapter-node and adapter-static and can't reproduce this. I do think I know why this might be happening, though. But more information would be nice!
Does it work fine if you go back to 1.1.5?

Scratch that, I did manage to reproduce it. I'll look into this! Thanks for reporting this

Can you try the latest versions of all three packages? Just pushed a patch for them. So<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>

That fixed it!  Thanks for the quick patch what was the issue?

So, I had realised some packages were bundling the @felte/common package, which meant that some code duplication could happen when using multiple @felte/* packages. On fixing this it seems other dependencies on node_modules were also published. And since npm ignores any directory called node_modules this meant it was working locally for me, but not if you installed from npm 😅. Fun stuff.


To write a text explaining restrictions to the relational model

I need to write down a several texts describing the restrictions of the relational model I am representing. I think of tool to place a simple text box any where I want to. It could be similar to an Entity but without the borderlines.

Hey @MentexFraga
Thanks for the feature suggestion.
We already have  design exploration to a feature like that. Unfortunately we have no idea when this will be prioritized to development. 😢
I will keep you updated when we reach development phase.


feat: fix gravity enemy

A new script for taking into account how to update the enemy rigidbody for computing the gravity properly

Whops sorry, merged this by mistake from github desktop 😅


SQL pagination

From @bdarnell, overheard in a thread with a user:
limit/offset is a really inefficient way of doing pagination. unless you really need to be able to jump to arbitrary pages, it's better to have each key include the index of the last entry returned (or the first entry not returned) so you can pick up the query from there on the next request
if you do need to use limit/offset, then it's often better to split it into two queries: one query that uses limit/offset and just reads the task_id (so it can use the index alone without joining with the primary table), and a second query that uses where task_id in (...) to get the data (assuming task_id is the primary key)
Also:
limit/offset pagination gets a lot more efficient if your index includes enough columns to satisfy the group by/order by clauses without joining against the primary data
And then from @RaduBerinde:
yes, if the index is sorted like the order by clause, we won't need to sort, which means we will just read (limit + offset) rows. This applies even if we are doing an index-join because other columns are needed by the select.

Potential reference point: https://www.citusdata.com/blog/2016/03/30/five-ways-to-paginate/

Comment from @danhhz, from https://github.com/cockroachdb/docs/issues/657:
The usual way to do this is one SELECT query per page that uses LIMIT/OFFSET, but since it doesn't make sense to run this in a sql transaction, any insertions/deletions could make this an inconsistent view of the table.
CockroachDB has AS OF SYSTEM TIME implemented, which means we can let the user iterate over a consistent version of their database without a transaction. This would work by selecting cluster_logical_timestamp() in the first SELECT, passing it through the page (like limit and offset are) and using it in subsequent queries. @mjibson has already implemented paging exactly like this for the ./cockroach dump command.
See the discussion in https://github.com/cockroachdb/cockroach/issues/9227#issuecomment-246157219

@jseldess That might sound like a good idea, but apart from dumping scenarios it mostly is not. AS OF SYSTEM TIME will also deliver outdated results, so for a pagintion you really only want to avoid strange pagination behaviors, but you do not want to deliver outdated results.

The most practical thing would be to allow instead of an offset telling it to show everything after a specified id within the current sorting.

Since there is nothing but time as a serial factor here, the tables affected should not allow inserting anything with the same timestamp or anything int that window at a later time.

A very nasty pagination way would be
SELECT * FROM tableName ORDER BY "createdDate" DESC LIMIT 5 OFFSET (
SELECT rn FROM (SELECT id, row_number() over (order by "createdDate" DESC) AS rn FROM tableName ORDER BY "createdDate" DESC) WHERE id = 'd25b7651-b553-4857-9380-41027342b74e');

Which is not by far a fast way.

Hi,
Why not just:
CREATE INDEX ON tableName(created_at DESC, id DESC);

SELECT * FROM tableName WHERE createdDate <= 'latest returned date' AND id < 'latest returned id' ORDER BY createdDate DESC, id DESC LIMIT 5;

I haven't tested it much, but it seems to be using the index just fine.

if you have UUIDs as Ids that is already broken and you're back again to offset pagination which is unsafe for any scenario where your application is actually being used and data may change while paginating.

Even with UUIDs as IDs this would work, as you order on date first, right? For offset pagination (assuming you aren't going for deep offsets) AS OF SYSTEM TIME is quite reasonable, taking the current_timestamp() of the first page when the client requested it.

No not quite, the date sorting works but you can't apply your id sort anymore. Your AND id < doesn't work with UUIDs. AS OF SYSTEM TIME is not reasonable at all actually, since you freeze the systems state, this is not applicable for most applications out there. Unless it doesn't matter for your customers that they see plain old stuff, just b/c they started paginating. Sorting the timestamp is only actually usable if the times don't overlap. But most of the time it doesn't really matter that much if they do so this can be most of the time ignored.
However, pagination with offsets is bad for a multitude of reasons anyway.
But hey, srsly, enough people written about that already, so I wont recall all the reasons why offset pagination is bad, but just link some random articles:
https://blog.jooq.org/2016/08/10/why-most-programmers-get-pagination-wrong/
https://coderwall.com/p/lkcaag/pagination-you-re-probably-doing-it-wrong

I'm not recommending OFFSET pagination if you are gonna use a big offset, as said in my comment. Why would AND id < not work with UUIDs if you have an index sorting them in a consistent way? It's only to break ties consistently on items inserted at the exact same time, nothing more, the order doesn't matter as long as it's consistent across queries.

Actually you are right, with UUIDs the query I put would only work for those with tied insertion time, not as a general pagination, my bad.

The only valid operation on an UUID to compare it with another one would not equal actually.

Right, if you are inserting data "back in time". Assuming new insertions are at "now", this should work. Still not general for all cases.

The only valid operation on an UUID to compare it with another one would be (not) equal actually.

Semantically yeah, but we don't really care that the ordering makes sense, just that it's consistent, so either lexicographic or byte-based ordering would do for pagination with this query (assuming that new insertions are "now" so any client already paginating to older results don't get affected by those new insertions).

Closing this in favor of a separate issue to recommend client-side pagination in most cases: https://github.com/cockroachdb/docs/issues/3743


Explorer does not always refresh on git branch changes

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-08T23:44:55.542Z)
OS Version: Linux x64 4.4.0-63-generic
Extensions:

Extension
Author
Version

swagger-viewer
Arjun
1.3.0

vscode-simple-icons
LaurentTreguier
0.10.1

vscode-todo
MattiasPernhult
0.8.0

material-icon-theme
PKief
1.3.4

vscode-docker
PeterJausovec
0.0.12

html-css-class-completion
Zignd
1.0.3

githistory
donjayamanne
0.1.5

phpunit
emallin
1.0.0

php-intellisense
felixfbecker
1.1.2

text-transform
florianloch
0.1.0

auto-close-tag
formulahendry
0.3.9

auto-rename-tag
formulahendry
0.0.11

theme-dark-starry-night
jerry
1.0.2

php-symbols
linyang95
2.1.0

Go
lukehoban
0.6.53

csharp
ms-vscode
1.7.0

better-merge
pprice
0.5.1

swaggitor
qnsolutions
0.1.1

bootstrap-3-snippets
wcwhitehead
0.0.9

Material-theme
zhuangtongfa
1.0.3

Steps to Reproduce:

working on one branch A, creating folder, commit push, whatever
git checkout another branch B. folder disappears (of course)
git checkout A again, folder exists but is not shown in explorer

That gave me some heart attacks, when I thought all the work has gone...

Please see if you can find any logged output that could help us find the source of the issue:

run code --verbose from the command line and attach the output
in Code select Help | Toggle Developer Tools and select the Console
attach any output you see in the Console you can find

Thanks!

It doesn't seems to appear anymore. Hasn't happened since 1.10


Bug in generator.py?

https://github.com/AKSW/NSpM/blob/f33f60dd2b1f423cde079a249328cae2115fdb5f/generator.py#L136
what does it mean? it seems inaccurate comparison with list and integer, it will always return true!

Solved in #36.


Wasm Smart Contract Bounty (Ink!) grant application

We would like to develop a Wasm Smart Contract Bounty (Ink!) project.

Hello @Burmenska
Thank you for your application.
Upon our initial review, we noticed that the information provided seems to be a direct copy of the provided template (deliverables etc.). As per our requirements, we need specific details about your application.
Additionally, It appears that you've included an Ethereum address, whereas our requirement is for a Polkadot address.
Please add relevant information to the application, or I need to close this PR. Thank you

I would like to start off by expressing our deepest appreciation for the time, effort, and innovation you have put into your application for our Ecosystem Grant.
Regrettably, after a careful and thorough review, we are unable to offer you the grant at this time.
We encourage you to re-apply in the future, especially if you have any new, innovative ideas or approaches.


Bring about an error after updating keras

I am afraid that I haven't update keras from last October (the old type is 0.1.2). Therefore, after updating the newest edition (0.3.1) of keras, yield an error as following:
4800 train sequences
1200 test sequences
X_train shape: (4800L, 100L, 100L)
X_test shape: (1200L, 100L, 100L)
Build model...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile
    execfile(filename, namespace)
  File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile
    exec(compile(scripttext, filename, 'exec'), glob, loc)
  File "D:/zhangdong/ACL/single2.py", line 195, in <module>
    model.add(Dense(hidden_dims))
  File "C:\Anaconda2\lib\site-packages\keras\layers\containers.py", line 68, in add
    self.layers[-1].set_previous(self.layers[-2])
  File "C:\Anaconda2\lib\site-packages\keras\layers\core.py", line 82, in set_previous
    assert self.input_ndim == len(layer.output_shape), ('Incompatible shapes: layer expected input with ndim=' +
  File "C:\Anaconda2\lib\site-packages\keras\layers\core.py", line 814, in output_shape
    '(got ' + str(input_shape[1:]) + '. '
Exception: The shape of the input to "Flatten" is not fully defined (got (None, 200). Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first layer in your model.

However, I have modified the form of keras such as the input and output of every layer according to the newest documentation. The main part of my codes as following:
    print(len(X_train), 'train sequences')
    print(len(X_test), 'test sequences')

    print('X_train shape:', X_train.shape)
    print('X_test shape:', X_test.shape)

    print('Build model...')
    model = Sequential()

# we add a Convolution1D, which will learn nb_filters
# word group filters of size filter_length:
    model.add(Convolution1D(
                            nb_filter=nb_filters,
                            filter_length=filter_length,
                            activation="relu",
                            border_mode="valid",
                            input_dim = embedding_dims,
                            subsample_length=1))

# we use standard max pooling (halving the output of the previous layer):
    model.add(MaxPooling1D(pool_length=2))

# We flatten the output of the conv layer, so that we can add a vanilla dense layer:
    model.add(Flatten())

#    output_size = nb_filters * (((maxlen - filter_length) / 1) + 1) / 2 #previous

# We add a vanilla hidden layer:
    model.add(Dense(hidden_dims))
# model.add(Dropout(0.25))
    model.add(Activation('relu'))

# We project onto a single unit output layer, and squash it with a sigmoid:
    model.add(Dense(1))
    model.add(Activation('sigmoid'))

    model.compile(loss='binary_crossentropy', optimizer='rmsprop',class_mode="binary")
#    model.compile(loss='categorical_crossentropy', optimizer='adam')

    best_accuracy = 0.0
    for e in range(nb_epoch):
    #shuffle the data each epoch
        np.random.seed(seed)
        np.random.shuffle(X_train)
        np.random.seed(seed)
        np.random.shuffle(Y_train)

        model.fit(X_train, Y_train, batch_size=batch_size, nb_epoch=1, validation_data=(X_test, Y_test), show_accuracy=True)
        score, acc = model.evaluate(X_test, Y_test, batch_size=1,
                                show_accuracy=True)
        if best_accuracy<acc:
            best_accuracy = acc

Would somebody give me some suggestions? Thanks a lot.

@napsternxg Could you help me solve this problem in your free time? Thanks

The keras documentation for a layers states that you have to specify the input shape or input dim for the first layer always, http://keras.io/layers/core/. http://keras.io/layers/convolutional/. Fixing that should fix your issue.

Convolution operator for filtering neighborhoods of one-dimensional inputs. When using this layer as the first layer in a model, either provide the keyword argument input_dim (int, e.g. 128 for sequences of 128-dimensional vectors), or input_shape (tuple of integers, e.g. (10, 128) for sequences of 10 vectors of 128-dimensional vectors).

@napsternxg  I have given the input_dim in my code as above.
model.add(Convolution1D(
                            nb_filter=nb_filters,
                            filter_length=filter_length,
                            activation="relu",
                            border_mode="valid",
                            input_dim = embedding_dims,
                            subsample_length=1))

I have a same error
Exception: The shape of the input to "Flatten" is not fully defined (got (None, 200). Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first layer in your model.

@zhoul14 you have to set the input shape of the first layer

What is the shape of 'embedding_dims'?  Likely the cause of your problem


Sound keeps on playing in safari view controller from a video even if the safari view controller is closed using Done button

Hi,
I am facing this issue where the sound keeps on playing in safari view controller from a video even if the safari view controller is closed using the Done button on iOS. I am using the latest version of this plugin along with wkwebview, and running on iOS 10.
Any help would be greatly appreciated.
Thanks.

Intersting case. Can you try without wkwebview to get that out of the equation?

I tried it on an iPhone 5 running iOS 10 without the wkwebview plugin. The results were the same.
Any idea what's going around here?

If you close it with the 'Done' button then it must be a problem in iOS itself as there's nothing that the plugin does to prevent SVC from closing when that button is pressed. Perhaps Google it and/or file a Radar with Apple?

I think it's safe to close this issue at this point.

Hi @larssn
I am also facing same issue  can you pls tell me the solution.
Thanks&Regards
Ramohan Reddy


Volume::Container::VM mapping

[ ] How does one find out mapping volume<-->Container<-->VM mapping? Is this information available from ESX Admin CLI or docker command or combination of both?

[ ] How do I find out stale volumes (volumes that are not attached or used by any containers)?

Except Container mapping, Admin CLI covers VM to Volume mapping as well state (attached/detached) of volume.Container mapping in Admin CLI may be redundant considering container management tools like Docker UCP already show this mapping.


Frequent crashes

vaping frequently crashes on me.  My instinct is that this happens when one of the hosts it is trying to fping becomes unreachable, but I could be wrong.  It looks like the problem is actually in vodka so I'm happy to resubmit the issue there if you prefer.  Either way, hopefully this debug is enough to figure it out:
vaping.plugins.fping sending __init__.py:133
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/vaping/plugins/__init__.py", line 134, in _run
    self._emit.emit(msg)
  File "/usr/lib/python2.7/site-packages/vaping/plugins/vodka.py", line 56, in emit
    vodka.data.handle(data.get("type"), data, data_id=data.get("source"), caller=self)
  File "/usr/lib/python2.7/site-packages/vodka/data/__init__.py", line 34, in handle
    data = handler(data, caller=caller)
  File "/usr/lib/python2.7/site-packages/vodka/data/handlers.py", line 93, in __call__
    for d in data["data"]])
TypeError: 'NoneType' object has no attribute '__getitem__'
Wed Apr 19 12:56:16 2017 <FPing at 0x7f1f27667d70> failed with TypeError

vaping.daemon stopping vodka daemon.py:157
vaping.daemon stopping latency daemon.py:157
Traceback (most recent call last):
  File "/usr/bin/vaping", line 11, in <module>
    load_entry_point('vaping==0.3.0', 'console_scripts', 'vaping')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args[1:], **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vaping/cli.py", line 57, in start
    daemon.run()
  File "/usr/lib/python2.7/site-packages/vaping/daemon.py", line 147, in run
    return self._main()
  File "/usr/lib/python2.7/site-packages/vaping/daemon.py", line 118, in _main
    vaping.io.joinall(self.joins)
  File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 649, in joinall
    return wait(greenlets, timeout=timeout, count=count)
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 1038, in wait
    return list(iwait(objects, timeout, count))
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 985, in iwait
    item = waiter.get()
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 939, in get
    Waiter.get(self)
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 899, in get
    return self.hub.switch()
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
gevent.hub.LoopExit: ('This operation would block forever', <Hub at 0x7f1f27667370 epoll default pending=0 ref=0 fileno=3>)

Hi,
This is indeed an issue on the vodka end, i've made a corresponding ticket there, thanks for the report.
https://github.com/20c/vodka/issues/8

I released vodka 2.2.2 just now which contains a fix for the initial issue, although now that i looked at it some more its curious that the gevent loop would exit with a block forever error, so i am reopening, please let us know if the fix in vodka 2.2.2 fixed your crashing issue.

Awesome, thanks!  I've just upgraded to 2.2.2 and restarted vaping, so we'll see how long it lasts.  I have enough packet loss that if it runs for more than a day then I'm pretty confident we can close this.

It's still running, so I think this is almost certainly fixed now :-)


Library is not compatible with the NodeMCU

I'm able to compile the examples on my Uno just fine, but if I switch the board type to NodeMCU I get the attached compile errors.
NodeMCUErrors.txt

I fixed. Please try again.

Getting closer.
more-errors.txt

I installed NodeMcu board into my arduino ide, so now no compilation errors appear.

Thank you for your bug report.


Library Categories is missing

With last version "manual" installation (V0.5.0), the TC log lib have no category
I dont know if this can be fixed, but a "log" categorie can be good

I found the solution ==> TcLog lib was rename before installation ( V0.5.0 was added on name)
==> But TcUnit external lib is mandatory to use it ?


Documenting array parameter contents

Right now, there is no way to document the contents of a non-enum array parameter.
How can we build something where you can document something like:

@api-param:public {array[floats]} time_codes Array of all timecodes in this video with associated notes.

This will to be supported by the impending MSON work. #42


expired markets shouldn't be linked as related + unrelated market is being incorrectly linked

See below:
Why is this market related

this is working correctly. The markets are grouped by market title inputs which is 2020. So these are 2020 political markets therefore they are grouped.
recommend closing

should expired markets be linked to open markets though?

yes, according to the mocks there are situations where an expired market would be grouped with open markets. like a combo market card where the money line has a tentative winner but spread/overunder might not have reported yet.

We should not show any related market that is resolved (expired), for any futures markets


Sensors communication lost

A few weeks ago all of our sensors simultaneously lost  connection to ChirpStack.
Since it is a few weeks ago we do not have the log files anymore. However at that time we couldn't see anything strange in the logs. It is the second time in a few years that suddenly communication to all sensors simultaneously is lost.
ChirpStack & gateway operate normally without any errors. We have frame-counter validation disabled.
Manual reconnecting each sensor brings back communication, however we have hundreds of sensors of which some are very hard to reach thus manual steps are hard to do.
Since this issue contains limited information about the problem we are globally wondering if there is anything in ChirpStack that for longer duration (years) can give problems? For example a type that overflows.
We now run chirpstack version 4.9.0

We have frame-counter validation disabled

In general this is not a good idea because it compromises security. A replay attack could easily cause such scenario you are describing. Note that only the lower 16 bits of the FCnt are sent, the 16 MSB are automatically derrived based on rollover of the 16 bit FCnt value. A replay could automatically reset the 16 MSB bit (as it looks like the device has been reset after a replay attack) after which the device stops working.

we are globally wondering if there is anything in ChirpStack that for longer duration (years) can give problem

There is nothing I can think of right now. In the past the Redis device-session TTL could have been an issue (after long inactivity), but with the device-session migration to PostgreSQL this is no longer the case.

Manual reconnecting each sensor brings back communication

Do you mean a new OTAA join?

Thanks for the quick reply!
Regarding security that is good to know that those symptoms can be the same!
I only just see that some sensors of which the connection lost do have frame counter validation enabled.
For the sensors who have it disabled, we will enable frame counter validation.
Good to read about PostgreSQL.

Do you mean a new OTAA join?

Yes

Per LoRaWAN spec. frame-counters are 32 bit (very old devices might use 16 bit).


Potential performance problem, scrolling menus

When Flutter supports scrolling menus, menus with 1000s of items that specify an initialValue will likely run afoul of the linear search in PopupMenuRoute buildPage().
See https://github.com/flutter/flutter/pull/2170#discussion_r54176890

We don't really need to track this. We'll fix it once a customer finds it's an issue.


To let people know more about Flipkart

Please do assign me this issue where I can add description about flipkart like Flipkart plus, No cost emi and more just like the original website.

i have done web clone project earleir  i want to participate in GSSOC'24 please assign me..


workflows: Enable Java dependency caching

See https://github.blog/changelog/2021-08-30-github-actions-setup-java-now-supports-dependency-caching/.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Merging despite the unrelated PipFunTest failure.


Encryption support?

I hope to use this pg.zig with encryption.

Do you mean connecting using TLS?
It currently isn't supported, but it's something I'd be willing to look at adding. However, I would use std.crypto.tls.Client  which (a) only supports TLS 1.3 and (b) is very buggy. I could add support though and hope that the issues in std eventually get fixed.

There's now a tls branch
The connect takes two new parameter:
tls: bool = false,
ca_bundle: ?std:crypto.Certificate.Bundle = null,

If ca_bundle is null when tls = true, a default bundle is created. This can be expensive if you're creating many connections directly. When done via the pool, a single bundle is shared for all connections (I probably need to add code to periodically rescan the bundle).
I wasn't able to get tests to work with it. I kept getting a error.CertificateSignatureInvalid...maybe there's something wrong with my self-signed certs. However, I did setup a quick neon.tech database (the first thing that showed up when I googled for a free hosted PostgreSQL) and it worked fine using the default OS bundle.
This won't be merged until std.crypto.tls.Client is fixed (see: https://github.com/ziglang/zig/issues/15226) I consider it dangerous to use given that it can be random (or maybe it's encrypted data that it fails to decrypt, I don't know) into the buffer without any way to know.

Oh, I'm surprising your quickly work. I'll look into it. Thanks.

Oh, I'm already using your zig-0.11 branch, but it's not easy to merge tls branch into zig-0.11 branch.

I added tls support directly into the zig-0.11 branch, easier to do now that the code is fresh in my mind.

$ LANG=C PGSSLMODE=require psql -h <IP_ADDRESS> -U postgres zig-nostr-relay
psql (15.6 (Ubuntu 15.6-1.pgdg22.04+1), server 14.10)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, compression: off)
Type "help" for help.

zig-nostr-relay=>

I'm trying to connect the server but something wrong.
    std.debug.print("{s}\n", .{env.db_host});
    var pool = pg.Pool.init(allocator, .{ .size = 5, .connect = .{
        .port = env.db_port,
        .host = env.db_host,
        .tls = true,
    }, .auth = .{
        .database = env.db_database,
        .username = env.db_username,
        .password = env.db_password,
        .timeout = env.db_timeout,
    } }) catch return;
    defer pool.deinit();

$ DB_HOST=<IP_ADDRESS> ./zig-out/bin/zig-nostr-relay
<IP_ADDRESS>
error(pg): connect error: error.TlsAlertHandshakeFailure

I'm not sure, but std.crypto.tls.Client only supports TLS 1.3, and your psql connected using 1.2 so I'd assume that's the issue. Would be nice if Zig had payloads with its errors :/

std/crypto/tls/Client.tls:241
        const ct = d.decode(tls.ContentType);

This d.decode seem to return .alert in first time call.

If you have access to the pg server and can restart it, can you set ssl_min_protocol_version = 'TLSv1.3' just to see if that's the issue?

Unfortunately, this server is hosted on Oracle Cloud database service, so I can't update the parameter. But
zig-nostr-relay=> SELECT name as "Parameter name", setting as value, short_desc FROM pg_settings WHERE name LIKE '%ssl%';
             Parameter name             |             value              |                         short_desc
----------------------------------------+--------------------------------+------------------------------------------------------------
 ssl                                    | on                             | Enables SSL connections.
 ssl_ca_file                            | /etc/opt/postgresql/ca.pem     | Location of the SSL certificate authority file.
 ssl_cert_file                          | /etc/opt/postgresql/server.crt | Location of the SSL server certificate file.
 ssl_crl_dir                            |                                | Location of the SSL certificate revocation list directory.
 ssl_crl_file                           |                                | Location of the SSL certificate revocation list file.
 ssl_key_file                           | /etc/opt/postgresql/server.pvk | Location of the SSL server private key file.
 ssl_library                            | OpenSSL                        | Shows the name of the SSL library.
 ssl_passphrase_command_supports_reload | off                            | Also use ssl_passphrase_command during server reload.
 ssl_prefer_server_ciphers              | on                             | Give priority to server ciphersuite order.
(9 行)

Value of the parameter may be default.

Like I said, Zig's TLS is pretty buggy and limited right now. I'd guess this PostgreSQL server doesn't support TLS 1.3. The "easiest" thing might be to build a proxy in another language.
app -- plain/tls1.3 --> proxy -- tls 1.2 --> postgresql

I tried the proxy way using https://github.com/verlihub/tls-proxy
But still have same issue.
./proxy -hub <IP_ADDRESS>:5432 -host <IP_ADDRESS>:5432 -ip=false -ver 3 -log -buf 500 -wait 2s

This proxy works fine with psql but does not work with pg.zig.

I also didn't get it to work with tls-proxy, but I did get it to work with the following code. PostgreSQL's SSL works like StartTLS. First a non-encrypted connection is opened, the client sends a special 8-byte packet, and the server responds with a 1-byte ok/no. The connection can then be upgraded to TLS.
The code isn't super robust, but I wanted to get something that might work.
package main

import (
	"bytes"
	"crypto/tls"
	"errors"
	"io"
	"log"
	"net"
	"sync"
)

const HOST = "ep-fancy-morning-a1hmgnby.ap-southeast-1.aws.neon.tech"

var SSLRequest = []byte{0, 0, 0, 8, 4, 210, 22, 47}

func main() {
	cer, err := tls.LoadX509KeyPair("hub.crt", "hub.key")
	if err != nil {
		log.Fatal(err)
		return
	}
	tlsConfig := &tls.Config{Certificates: []tls.Certificate{cer}, MinVersion: 3}

	listener, err := net.Listen("tcp", "localhost:5432")
	if err != nil {
		log.Fatal(err)
	}

	requestSSLBuffer := make([]byte, 8)
	for {
		client, err := listener.Accept()
		if err != nil {
			log.Println("accept: ", err)
			continue
		}

		if readRequestSSL(client, requestSSLBuffer) {
			// upgrade to TLS
			tlsClient := tls.Server(client, tlsConfig)
			if err := tlsClient.Handshake(); err != nil {
				log.Println("client Handshake:", err)
				client.Close()
				continue
			}

			tlsRemote, err := connectToRemote()
			if err != nil {
				log.Println("remote connection: ", err)
				client.Close()
				continue
			}

			go proxy(tlsClient, tlsRemote)
		}
	}
}

func readRequestSSL(client net.Conn, buf []byte) bool {
	pos := 0
	for pos != 8 {
		n, err := client.Read(buf[pos:])
		if n == 0 || err != nil {
			// TODO: Log?
			return false
		}
		pos += n
	}

	// the first message from the client should be an SSLRequest
	if bytes.Equal(buf, SSLRequest) == false {
		return false
	}

	// we tell the client that we accept the SSL request
	client.Write([]byte{'S'})
	return true
}

func connectToRemote() (net.Conn, error) {
	remote, err := net.Dial("tcp", HOST+":5432")
	if err != nil {
		return nil, err
	}

	if _, err := remote.Write(SSLRequest); err != nil {
		remote.Close()
		return nil, err
	}

	var buf [1]byte
	if _, err := remote.Read(buf[:]); err != nil {
		remote.Close()
		return nil, err
	}

	if buf[0] != 'S' {
		remote.Close()
		return nil, errors.New("Remote TLS Not Supported")
	}

	tlsRemote := tls.Client(remote, &tls.Config{ServerName: HOST})
	if err := tlsRemote.Handshake(); err != nil {
		return nil, err
	}
	return tlsRemote, nil
}

func proxy(client, remote net.Conn) {
	defer client.Close()
	defer remote.Close()

	var wg sync.WaitGroup
	wg.Add(2)

	go func() {
		defer wg.Done()
		io.Copy(client, remote)
		client.Close()
	}()

	go func() {
		defer wg.Done()
		io.Copy(remote, client)
		remote.Close()
	}()

	wg.Wait()
}

I generated the hub.key and hub.crt with:
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out "hub.crt" -keyout "hub.key"

Hmm, I got error(pg): connect error: error.CertificateHostMismatch

There's no way to skip host verification with Zig's TLS. Weird that I didn't get the same issue. I re-issued the certs and used the following (maybe that's what I did the first time too):
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out "hub.crt" -keyout "hub.key"  -subj '/CN=localhost'

Hmm, something wrong.

error.TlsCertificateNotVerified

When you open the pool/connection, are you passing in a custom bundle?
    var bundle = std.crypto.Certificate.Bundle{};
    try bundle.addCertsFromFilePath(allocator, std.fs.cwd(), "hub.crt");
    defer bundle.deinit(allocator);

    var pool = try pg.Pool.init(allocator, .{
      .size = 5,
      .connect = .{
        .tls = true,
        .port = 5432,
        .host = "localhost",
        .ca_bundle = bundle,
      },
      .auth = .{
        .username = "blah",
        .database = "blah",
        .password = "blah",
      }
    });
    defer pool.deinit();

error.ConnectionResetByPeer and proxy generate error

2024/03/03 21:11:58 remote connection:  tls: failed to verify certificate: x509: certificate signed by unknown authority

That's the Go code failing to verify the remote (oracle) cert. If you're in docker, maybe you need to install the root certs, or copy them over.
You could try changing:
tlsRemote := tls.Client(remote, &tls.Config{ServerName: HOST})

to
tlsRemote := tls.Client(remote, &tls.Config{InsecureSkipVerify: true})

But, as the name implies (i.e. "Insecure"), we're somewhat defeating the purpose of TLS at that point

Yes, now this way works. Thank you.

Do you have plan to merge pg.Stmt into zig-0.11 branch or tls into main branch?

I was able to cherry-pick the pg.Stmt branch into zig-0.11.
I think 0.12 is going to be released very soon though, so I probably won't merge anything that presents challenges.
I don't plan on merging TLS until std.crypto.tls.Client isn't so broken.

Thank you.

Stmt is not exported from pg.zig ?

is now


Warning when ODE system cannot be printed

How to handle the cases where the ODE system cannot be printed?

Good question. I think use the equations instead of the diagram. Or we could always have both diagram and equation and skip diagram if it is not available.


Calva - IDE for Clojure

Name of an extension you are adding
Calva
...
Why do you think this extension is awesome?
Full-blown IDE for Clojure development in VSCode
...
Make sure that:
[x] Screenshot/GIF included (to demonstrate the plugin functionality)
[x] ToC updated

Looks great. Thanks for the contribution! Merging.


Add R packages to environment.yml

As pointed out by @ajlee21 in #114 - I need to specify the proper R environment. I will need to add this to environment.ymlasap.

The specific problem is noted here


requirements.txt typo?

Shouldn't the line
tengenrnn
be:
textgenrnn
?

Correct, fixing now.

Thanks @Blimpyway, fixed in -> https://github.com/jsonresume/jsonresume-fake/commit/2c02fb1b97c8b8699c21a10980ccff21145ee41f


Packagist sync

I think the repo settings are not updated to sync it with packagist. A tag was created 20 minutes ago and it's not available yet on packagist.

Resolved now; I evidently never made the user associated with our Packagist account an owner on the zfcampus organization, so the migration to a webhook never occurred. Resolved now!


[INLONG-9881][Manager] Add unit test of AuditController

Title Name: [INLONG-9881] add unit test of AuditController
https://github.com/apache/inlong/issues/9881
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.

Run 'mvn spotless:apply' to fix the violations.

This UT cannot verify whether the API's functionality meets expectations.Please refer to StreamSourceServiceTest.testGetAndUpdate to verify whether the actual functionality of the API is effective.

I agree with @fuweng11, please add unit tests that can cover the whole logic of the function.


Allowing fn.op operations to take more than two args

I'm envisioning something along the lines of:
expect( fn.op['+'](1, 2, 3, 4, 5) ).to.equal(15);
expect( fn.op['-'](8, 4, 1) ).to.equal(3);

The implementation would simply be reducing all the arguments.
I also feel that fn.op['>'] and fn.op['<'] would be incredibly useful see if a series of numbers are ascending or descending:
expect( fn.op['<'](1, 2) ).to.be.true;

// descending
var testScores = [88, 77, 66, 55]
expect ( fn.apply( fn.op['>'], testScores ) ).to.be.true;

I'd implement fn.op['>'] and fn.op['<'] with simple recursion.
What are your thoughts?

@dillonforrest Anything become of this suggestion?

@CrowdHailer nope!


Bug Report (Submitted by 3723)

Description
https://imgur.com/a/MHt3obf Opened a card in my collection and wanted to see who else had it and it displayed multiple entries without a username. DB problem or something else?
Reproduction Steps
see above / screenshot
Operating System
Windows
Browser
Chrome
Device
Desktop

db issue. dev db does not have those users in there


Not discovering fans

Setup v1.0.8 on homebridge v1.3.4 snd not discovering fans or working when manual. Fans have the latest firmware

Just moved and got new MF fans and they are now working. so maybe something different on older Firmware.


Can't build on Windows

I'm trying to build the program myself by following Setup & Development but i keep getting errors when following the Development steps.
with npm run start i get the error
PS Z:\Programs\Hybooru-master> npm run start

><EMAIL_ADDRESS>start
> rm -rf build && webpack --config webpack/server.dev.babel.js

'rm' is not recognized as an internal or external command,
operable program or batch file.

With npm run build:prod I get
PS Z:\Programs\Hybooru-master> npm run build:prod

><EMAIL_ADDRESS>build:prod
> mkdir -p dist && npm-run-all build:prod-*

'npm-run-all' is not recognized as an internal or external command,
operable program or batch file.

And the folder it makes is -p & dist
and with the last one npm run start:prod
PS Z:\Programs\Hybooru-master> npm run start:prod

><EMAIL_ADDRESS>start:prod
> cd dist && npm start

The system cannot find the path specified.

I'm trying to build it myself to use the new multiple tag repository.
I have been using the 1.4.8 release up till this point.

Building on Windows is not supported. However, you can still look into package.json and change scripts to use Window's commands. Alternatively you can probably just use Docker or a virtual machine.

I'm trying to build it myself to use the new multiple tag repository.
I will release that feature today.


Update Bookkeeper to 4.13.0 and Zookeeper to 3.6.3

Update Bookkeeper to 4.13.0 and Zookeeper to 3.6.3.
In testing, the Bookkeeper shaded jar was missing necessary libraries, because of this, I moved from using the shaded jar to the standard dependencies. Our Bazel logic should resolve the transitive dependencies, but we still need to make sure the transitives are listed or exported on any java_library or java_binary tasks that use code from the transitive.
Also in updating to newer Zookeeper, their build system has changed to leverage Maven. The Jute IDL generates code. This used to be run by Ant scripts, but now is Maven. Because some of our images are older, the provided version of Maven was too old to run properly. I was able to use the older Maven to build a newer Maven binary which did then work. But I was not able to successfully integrate with our Bazel build system. Instead I generated the code from the IDL which should be platform agnostic. The tradeoff being that any new updates to Zookeeper will need an update to the generated source. If the Zookeeper team provides a package that provides the C library in an easily compiled process, we can transition to that. But for now this seemed like a good compromise.
The update to Zookeeper needed a bump to Apache Curator from 2.9.0 to 5.1.0. Curator is a library that assists with some of the more mundane and complex Zookeeper logic.
Netty was also updated from 4.1.22 to 4.1.50.
Also in the course of doing this update, I had trouble with the jarjar sonatype plugin. I switched to the Bazel rules provided by johnynek/bazel_jar_jar.
git_repository(
    name = "com_github_johnynek_bazel_jar_jar",
    commit = "171f268569384c57c19474b04aebe574d85fde0d", # Latest commit SHA as at 2019/02/13
    remote = "git://github.com/johnynek/bazel_jar_jar.git",
    shallow_since = "1594234634 -1000",
)

Converting to draft because I want to do some additional testing in Kubernetes. Will report back soon.

This was the error and resulting fix I found that explains why I had to update Guava library.
https://stackoverflow.com/questions/45247193/nosuchmethoderror-com-google-common-base-preconditions-checkargumentzljava-lan

I was able to successfully submit a topology to a Helm installed Heron cluster running in Kubernetes. So the DLog upload/download should be fine.

This is great. Thanks!

Adding this for historical context. This merge request was created to resolve this Bookkeeper issue: https://github.com/apache/bookkeeper/issues/2302


does this work?

What is your question?
I dont know lets try
Code of Conduct

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

 test

seems to work ?


The server often needs a restart

If an editor has been open for a while the server often needs restarting for it to start working again. Investigate the onServerDidExit handler and check it's handling things correctly.

This seems to have been a lot better in 9+ version of Nova so I'll tentatively close this, but I'll reopen if it is found again


view.getResolution() returns underlying projection's resolution though using useGeographic()

Describe the bug
When using useGeographic(), view.getResolution() returns underlying projection's resolution instead of the user resolution.
To Reproduce
import View from 'ol/View';
import { useGeographic } from 'ol/proj';

useGeographic();

const view = new View({
  center: [0, 0],
  zoom: 2,
});

console.log(view.getResolution());

Expected behavior
view.getResolution() should return 0.3519564973994651 instead of 39135.75848201024 in this case.

That is consistent with how resolution, resolutions, minResolution, maxResolution are specified in the View constructor, and the corresponding setters.  The API does not say any of those should be in user projection.  The only place where resolutions are in user projection in the loaders and strategies of vector sources.

Oh, I understand about consistency. Thanks.
Indeed, it's surely difficult...
I thought it would be very useful if the getResolution() returned the actual resolution based on user coordinates, and maybe we can use user projection for resolution, minResolution, maxResolution, but I realize we cannot determine that user specified resolutions should be treated as for an underlying projection, or a user projection...
Although, if I really want to know the actual resolution of units of user projection, how do I obtain it without a private toUserResolution function? (it is not marked as an API)
Add another view.getUserResolution API or somthing?
(In my case, user resolution is very useful to switch view between projections that are incompatible each other)

To meaningfully switch between incompatible projections you need to use point resolution https://openlayers.org/en/latest/examples/projection-and-scale.html

I didn't know that API. Thank you, I'll try it!


Iouring double sync

General micro-optimization to io-uring driver cold path

removed cq.sync() in tick() function because self.uring.completion() already load the head atomic value of the cq ring
removed self.uring.submission().sync(); in submit() because of it produces unnecessary atomic loads and writes to the sq ring:

one tail read on submission()
one head atomic read on submission()
one head atomic read on sync()
one tail atomic write on sync() with the same value read before
one tail atomic write on SubmissionQueue::drop() after the function return

simplified code in the branch of submit()
proposal for linear match of user_data() in tick() function

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


Created new module for threshold-varying metrics; Evidence & EvidenceContainer for thresholds not needed

Change description
Added module for threshold-varying metrics. The module largely borrows from the existing metrics.py module. Made a separate file as a first step towards new design pattern of differentiating between modules of different types.
No new Evidence or EvidenceContainer type is needed at this time. Threshold-varying metrics can be handled directly by existing TableEvidence (and container) structure.
Type of change

[X] New feature (adds functionality)

Development
No test cases for testing metrics directly exist. These will be handled in added test cases for Evaluator functionality that employs threshold-varying metrics.
Code review

[ ] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[ ] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[ ] Pull request linked to task tracker where applicable

Re-worked.
ThresholdMetric is now a subclass of Metric (appears in metrics.py). Module for threshold_metric.py no longer needed (removed). File threshold_metric_constants.py still separate from normal metric constants but now imported into metrics.py. Modified metric_constants.py definitions of constant lists to include threshold-related constants and to remove a hard-coded declaration which could lead to bugs down the road.


Encode args when pushing jobs to faktory

Make sure job args are encoded when being pushed to faktory.
WIP since there is one remaining test failure.

This was a moment of pure confusion and this is not needed.


⚠ Bofrost.fr has degraded performance

In 0fd7699, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2039 ms

Resolved: Bofrost.fr performance has improved in 21541ea.


APPS-556 dxCompiler, use dx whoami for folder in tests, add clean build script

LGTM. Does not need integration label since no code or integration tests were changed.


Weird panic on fuzzy completion

This only occurs with some of the repositories, but when it occurs, it occurs every time.
thread 'main' panicked at $HOME/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/nucleo-matcher-0.3.1/src/fuzzy_optimal.rs:37:13:
should have been caught by prefilter
stack backtrace:
   0:        0x105076488 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1f3776e0b5c7517d
   1:        0x105097a20 - core::fmt::write::heedef092c8c0962e
   2:        0x1050732c8 - std::io::Write::write_fmt::h7178e8e2ea928914
   3:        0x1050762e0 - std::sys_common::backtrace::print::h417292deb95532ed
   4:        0x10507743c - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a
   5:        0x105077130 - std::panicking::default_hook::h24535936bc1f51de
   6:        0x105077cf4 - std::panicking::rust_panic_with_hook::h5db4d2345b297bed
   7:        0x1050776f8 - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492
   8:        0x105076910 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2
   9:        0x105077494 - _rust_begin_unwind
  10:        0x1050baf50 - core::panicking::panic_fmt::hc2b459a5bd3dce66
  11:        0x104e6cf68 - nucleo_matcher::fuzzy_optimal::<impl nucleo_matcher::Matcher>::fuzzy_match_optimal::h3be38bd3490799cc
  12:        0x104e70258 - nucleo_matcher::Matcher::fuzzy_match::hb708cb05de691d6e
  13:        0x104c0c648 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold::h7921be659e350fb9
  14:        0x104c702b4 - <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter::h4a7ecd69ecb74d1d
  15:        0x104c71b20 - ghr::cmd::search::Cmd::run::h8a374f23aa7613e5
  16:        0x104cc32d4 - ghr::cmd::Cli::run::{{closure}}::h79f5f4dc417bed55
  17:        0x104cbce04 - tokio::runtime::park::CachedParkThread::block_on::h642812fa4995ab92
  18:        0x104bffce0 - ghr::main::h602b73b0f5a37cc7
  19:        0x104cb8d38 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6d7f20d7d5b44bb6
  20:        0x104c73d48 - std::rt::lang_start::{{closure}}::h2bb9bbcc50df44d5

I'm gussing it's something related to the naming convention of owner/repo.
Mine occured when I had 3 repositories with the same naming convention
github.com:HogeTeam/hogeapp
github.com:HogeTeam/hoge_payment_gateway
github.com:HogeTeam/hoge-schema

↑ I think this can be reproduced by creating these 3 directories and trying to complete the rest after typing the first 2 letters
$ ghr cd github.com:Ho<TAB> !panic

It was caused by my misuse of nucleo-matcher, a fuzzy matching library ghr uses. I used Matcher::fuzzy_match to check the repository name matches the query, but it is intended to use internally from high-level APIs such as Pattern::match_list. The fix will be released in ghr v0.4.4.

ghr will panic if you type uppercase character(s) in the query.

I guess that's another issue to solve :)

@s3i7h I mean ghr v0.4.3 will panic if you type uppercase character(s). v0.4.4 won't.

gotcha


More unicode properties

Support for \p{age=...} and more Unicode property testing.

Are you tracking the Unicode properties we won't be able to support initially somewhere?

@milseman See here for the list of unsupported properties:
https://github.com/apple/swift-experimental-string-processing/blob/b21ebbbe1b6c77532c35c4afa7dfe32104f4fce0/Tests/RegexTests/UTS18Tests.swift#L864-L966

@swift-ci Please test


Convert vector to physical register size vector

Legalize tiling vector with physical vector.
Register level fusion base on tiling vector.

MLP perf related - not functionality
needed for perf


Custom cells HTML

Is it possible to render custom JSX within cells? Specs & docs are not obvious on that.

Ah, sorry, found dataFormat on that. Great!


Django stubs

This is a part of #18777.

There’s another issue with the IO commit: HttpRequest.FILES is (correctly) typed MultiValueDict[str, django.core.files.uploadedfile.UploadedFile], where UploadedFile is a subclass of django.core.files.File but not of IO. The tests pass IO[bytes] because it’s “close enough”, but I think we need to fix them to pass File instead.

Merged after a quick rebase with #19577, thanks @PIG208!


improve description question 9 (basics.jl)

closes #140

I hope this will play well with my changes to this file 😬


Change the design of the link in the top of the acf page in the mobile view

Is your feature request related to a problem? Please describe.
Currently, the mobile view design in the links on the top of the acf page is bad
Describe the solution you'd like
Change the design of the link in the top of the acf page in the mobile view
Screenshots

Are you working on it?
Yes

Shall I work on this ?


remove $ at start of bash lines in README.md

comment from @fcooper8472:

The $ at the start of each line makes it more difficult to copy and paste to the terminal.  It's marked up as a code block anyway - could they be removed?

I agree that they don't really serve a purpose, and could be removed. Any objections?
Could also be in CONSTRIBUTING.md, others?

Yep fine as long as it's obvious that it's something you type in the terminal. Also we probably don't need to tell people how to upgrade pip and how to uninstall pybamm?

Also we probably don't need to tell people how to upgrade pip and how to uninstall pybamm?

I don't see the harm in adding instructions for these things. Most users can just skip over them because they know what they mean but they make the code more accessible (and potentially much less frustrating) to less experienced users.

Trouble is that instructions would depend on the system that users had already setup. For example, pip can be installed via the Ubuntu package manager (so you should probably upgrade pip via that route, definitely need sudo), or in a separate virtual environment (so get pip to update itself, plus don't need sudo), or as part of anaconda (don't know much about this). Then there are all the different mac homebrew-type package managers (again don't know much about this either). I think we should try to keep these sort of installation instructions to a minimum.

Ah okay, sounds like a can of worms. I'm for leaving that type of thing out then.


AC Auto Calculation for Heavy Armor

Dex modifier for heavy armor not properly calculated.
In the case of 8 dex (-1 modifier) under normal light/medium armor the -1 applies to your AC
When you are wearing heavy armor, this does not apply.
A character with str 8, -1 dex wearing full plate should have 18 ac, DAE calculates it as 17.

You want DAE not DAE SRD


the odata endpoint is not available anyore

[Enter feedback here]
navigating to https://contosowebservice.azurewebsites.net/odata/ returns :
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 27b56c32-971a-739d-40b6-5e2a2fb82c65
Version Independent ID: 219c2bb0-0b17-1af4-7b87-1ea3e9c3f228
Content: Virtual table walkthrough using the OData Data Provider in Microsoft Dataverse - Power Apps
Content Source: powerapps-docs/maker/data-platform/virtual-entity-walkthrough-using-odata-provider.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @Mattp123
Microsoft Alias: matp

@abpanic Pls see the important note:
"The web service url used for this walkthrough isn't a functioning web service."
Attaching the screenshot.

Closing the issue.


Install as a mod with gameinfo.txt rather than in custom folder

This is a continuation of #8. Rather than installing as a custom folder, portl can be installed as a mod with a gameinfo.txt file. The only benefit I can see for this is for the captioncompiler to work outside of the base game resource folder, so very low priority.
Of course installation and uninstallation need to take the possible existence of the old folder as well as the old basegame installation into account.

caption compiler can be run without this, so will probably close


Grouping of spinners

Hi
Is there a way of grouping of spinners.
 '
  '

...dynamic
if want to have a group so that i can stop all the spinners by group and then activate only one.

See #67 , please comment there if you think that feature can help you achieve what you need... Thanks!

+1
On Wed, Oct 28, 2015, 3:34 AM Uri Shaked<EMAIL_ADDRESS>wrote:

See #67 https://github.com/urish/angular-spinner/pull/67 , please
comment there if you think that feature can help you achieve what you
need... Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/urish/angular-spinner/issues/73#issuecomment-151795578
.


Large numbers of functions or variables get clipped out

It looks like you need a property to ensure every element is displayed, instead of a clipped out third column:

Could you share a repro example with the source code used to generate these docs and specific layout in your screenshot?


Placement of expectation.fulfill() potentially skips XCTAsserts

The call to fulfill() on an XCTestExpectation instance needs to happen after all the XCT-assertions in an asynchronous block have been evaluated. The call to waitForExpectationsWithTimeout suspends the run loop until the all the expectations have been fulfilled, then immediately continues with the testing process. On the final test of the testing run, this can skip any assertions that come after the last call to fulfill() as the run loop exits after the final test.
You can test this by adding an XCTFail in the last test method of the the last test class: UploadResponseTestCase.testUploadRequestWithProgress:
func testUploadRequestWithProgress() {
    let URL = "http://httpbin.org/post"
    let data = "Lorem ipsum dolor sit amet".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)

    let expectation = expectationWithDescription(URL)

    let upload = Alamofire.upload(.POST, URL, data!)
    upload.progress { (bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) -> Void in
        expectation.fulfill()

        XCTAssert(bytesWritten > 0, "bytesWritten should be > 0")
        XCTAssert(totalBytesWritten > 0, "totalBytesWritten should be > 0")
        XCTAssert(totalBytesExpectedToWrite > 0, "totalBytesExpectedToWrite should be > 0")

        upload.cancel()

        XCTFail("Missed test")
    }

    waitForExpectationsWithTimeout(10) { (error) in
        XCTAssertNil(error, "\(error)")
    }
}

The "Missed test" call will never be executed, and the test will either complete reporting success or end in a SIGABRT crash.

Fixed by #420. Thanks for spotting that, @natecook1000.


Allow providing of DOM / jQuery object for subject / targets

Instead of using a selector string, it's nice to use jQuery / DOM reference.
So in a step it would be:
{
    subject: $('.container').not('.foo')
}

Assigning a jQuery wrapped object already works for specifying a subject, exactly the way you suggested. It's another option for subject definition, but not really a replacement for the string selector. The reason we've chosen to use a jQuery string selector (allowing the use of jQuery extended selectors too) is that this way the subject is queried on demand, at the beginning of each step. Sometimes, you simply can't select an element in advance, just because it's not rendered yet. The code sample you've posted already works, but with one condition: at the moment of tutorial's definition, the jQuery expresion $('.container').not('.foo') must return at least (and only) one element reference.
As this feature already exists, I'm closing this issue. Ok? =)


Correctly initialise GPU pointers.

When the host data structure is copied during GPU set up, the host
pointers need to be overwritten to obtain correct device pointers.

Thanks @hageboeck. Did you see this causing problems during simulation? If yes, we're using element selectors in places where we shouldn't for materials consisting only of one element...

@hahnjo No problems on the GPU, it was just the cuda runtime that was complaining about having to free the bogus pointers.
It never lead to crashes or anything else.

Oh, and I didn't observe any changes in results.


barcode scanner exception: A device attached to the system is not functioning.

Exception connecting to barcode scanner
2024-05-22 15:46:42,356 barcode-scanner INFO: barcode scanner async reader started with port COM6
Exception in thread Thread-4 (reader_thread):
Traceback (most recent call last):
  File "threading.py", line 1016, in _bootstrap_inner
  File "threading.py", line 953, in run
  File "app.py", line 187, in reader_thread
  File "asyncio\runners.py", line 44, in run
  File "asyncio\base_events.py", line 649, in run_until_complete
  File "app.py", line 157, in reader
  File "serial_asyncio\__init__.py", line 449, in create_serial_connection
  File "serial_asyncio\__init__.py", line 477, in connection_for_serial
  File "serial_asyncio\__init__.py", line 65, in __init__
  File "serial\serialutil.py", line 372, in timeout
  File "serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

Response from Tera support (barcode scanner vender). Seems like restart was required after installing this. Note this driver had to be reinstalled after a while.
Thank you for reaching out to us. We recommend updating the serial port driver. Here is a link to the specific driver.
https://www.dropbox.com/scl/fi/0qxwdaxucqwic6mk3qov2/Serial-Port-Driver_20220302-1.EXE?rlkey=i1sb66825uqdxyo3bqkk3dt6o&dl=0

consider newer driver mentioned in https://github.com/dzhu/myo-raw/issues/31#issuecomment-1715926272

May need to prevent driver updates -- see https://www.tenforums.com/tutorials/146562-prevent-windows-update-updating-specific-device-driver.html

I tried determining whether the device ID remains the same with a Sandisk USB drive and the device ID remained the same after moving it to a different USB port and rebooting the PC.

I think the "device" is the chip which runs the USB port. When I have the barcode reader connected it's USB-CH340. Not sure about hard drive if the same chip would be used, but I'm guessing so. I'm deep into https://github.com/louking/tm-csv-connector/issues/75 now but will try this when I get a chance.


Added 3-perf implementation

Needs more tests but this implements the feature.
See also  at 548 in timecode.rs for a general algorithm for calculating footage representations for any mix of perfs and gauge.

Hey just curious if there was anything I could do to fix this? I opened this up again the other day and ended up rewriting it, forgetting that I'd submitted this PR!

Just went ahead and added 35mm 2p and 16mm.

Hey!
Thank you for your interest!
I unfortunately don't have the time right now to actively maintain this repo. It was always just kind of a for-fun repo to help me learn Rust. Timecode is one of those problems I know pretty well, so I often write a TC library to help me learn a language.
I'm glad this library seems to have found some use. If you would like to maintain a Rust TC library, feel free to fork this. I'd just ask you give me credit in your README somewhere, but this is MIT licensed so the request is just for courtesy. If I were to take a second pass at this repo in the future I would probably base the Rational values on some sort of Big Int implementation rather than kicking things up to 128-bit and hoping for the best, haha. Or just make the whole thing a generic and let people supply their int-size of choice.
One thing to call out, for if I have time in the future to return to this:
The way I have this repo set up is that PR's should be based on dev, then target dev.  I'd definitely ask you to re-make this PR based off dev before I reviewed it.
Thanks again!

Let me submit a new PR, I think I've fixed it.


[BUG] POST /applications not return application name on save

Describe the bug
POST /applications  endpoint does not return application name on save
To Reproduce
Steps to reproduce the behavior:

Go to 'POST /applications endpoint'
See error

Expected behavior
The endpoint should return application name on save.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Are you sure that this is a bug? The swagger documentation for this endpoint shows that the application's name is not part of the response.

yea i saw that too. ill close this


Add sepolia to InfuraJsonRpcSupportedNetwork

This PR adds the support to Sepolia network on type InfuraJsonRpcSupportedNetwork, according to the supported Infura network list.
This is also needed for #16580

I was able to find a more complete list of subdomains supported by Infura here: https://docs.infura.io/infura/reference/network-endpoints#ethereum

I was able to find a more complete list of subdomains supported by Infura here: https://docs.infura.io/infura/reference/network-endpoints#ethereum

Thanks @Gudahtt! I updated our type with all JSON-RPC subdomains supported (IPFS ignored).


Create single disk raid0 on hp storage boxes

This is required on hp storage node as hp nodes will not let the operating
system see the disks without creating any RAID on those disks. This is the
workaround hp people suggested to do so that operating system detect the disks
This works like mentioned below:

Facter hp_unassigned_disks to detect all unassigned disks
rjil::ceph::osd to call hp_drive type with the above fact as parameter
hp_drive will accept drive id as parameter and make raid 0 on individual
disks and let them visible to operating system.
install hpacucli package

NOTE: currently hpacucli is not there in any of the repo we use, this package
need to be added before we can merge this code.

as per our understanding you're making raid0  individually on each of the
25 disks so that they are visible to the external raid controller. Just to
be clear that overall disks do not do raid0 themselves
and ceph is replicating & partitioning again. Also doesn't the server
support some sort of JBOD mode
so that this can be avoided altogether.
On Tue, Mar 10, 2015 at 11:36 AM, Harish Kumar<EMAIL_ADDRESS>wrote:

This works like this:

Facter hp_unassigned_disks to detect all unassigned disks
rjil::ceph::osd to call hp_drive type with the above fact as
parameter
hp_drive will accept drive id as parameter and make raid 0 on
individual disks and let them visible to operating system.
install hpacucli package

NOTE: currently hpacucli is not there in any of the repo we use, this
package
need to be added before we can merge this code.
You can view, comment on, or merge this pull request online at:
https://github.com/JioCloud/puppet-rjil/pull/453
Commit Summary

Create single disk raid0 on hp storage boxes

File Changes

A lib/facter/hp_unassigned_disks.rb
https://github.com/JioCloud/puppet-rjil/pull/453/files#diff-0 (11)
A lib/puppet/provider/hp_drive/default.rb
https://github.com/JioCloud/puppet-rjil/pull/453/files#diff-1 (25)
A lib/puppet/type/hp_drive.rb
https://github.com/JioCloud/puppet-rjil/pull/453/files#diff-2 (34)
M manifests/ceph/osd.pp
https://github.com/JioCloud/puppet-rjil/pull/453/files#diff-3 (11)

Patch Links:

https://github.com/JioCloud/puppet-rjil/pull/453.patch
https://github.com/JioCloud/puppet-rjil/pull/453.diff

—
Reply to this email directly or view it on GitHub
https://github.com/JioCloud/puppet-rjil/pull/453.

making raid0 is required for hp systems as those systems will not let operating system see the disks without that. It will just expose individual disks as it is, so no extra raid created.

OK as expected, :+1:
On Tue, Mar 10, 2015 at 12:13 PM, Harish Kumar<EMAIL_ADDRESS>wrote:

making raid0 is required for hp systems as those systems will not let
operating system see the disks without that. It will just expose individual
disks as it is, so no extra raid created.
—
Reply to this email directly or view it on GitHub
https://github.com/JioCloud/puppet-rjil/pull/453#issuecomment-78003477.

Yeah, "create a RAID0 for each drive" is these system's JBOD mode. Awkward, but that's how it is. :)

On Tue, Mar 10, 2015 at 12:47 PM, Soren Hansen<EMAIL_ADDRESS>wrote:

Yeah, "create a RAID0 for each drive" is these system's JBOD mode.
Awkward, but that's how it is. :)

Yeah, Assumed that was the case, just wanted to make sure.

code looks good. Is there a node that I can use for testing?

@bodepd you may just boot a storage machine in undercloud controller and try it there.


how to use it in plain javascript ?

Hi i want to use this library in plain javascript like we use Jquery.
this is very good library and i want to use this in my html file.
please guide how to use this.

Hi, @dhsont
You can download the collect.js.min
And add it with a normal <script> tag.

Thank you very much @ecrmnn ,
Lib is working like charm.
Library  is missing findByIndex method.
ex

Glad you like it. Cheers!


iio-sensor-proxy: 2.5 -> 2.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/iio-sensor-proxy/versions.
meta.description for iio-sensor-proxy is: '"Proxy for sending IIO sensor data to D-Bus"'.
meta.homepage for iio-sensor-proxy is: '"https://github.com/hadess/iio-sensor-proxy"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2.6 with grep in /nix/store/2yjs0wz5ncblb6n7qi8vbb8dflnwpkly-iio-sensor-proxy-2.6
directory tree listing: https://gist.github.com/45db1cce8a724e604521bc40e31788bf
du listing: https://gist.github.com/e01c71711d037c98e73ceae57f53e08d

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
iio-sensor-proxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2yjs0wz5ncblb6n7qi8vbb8dflnwpkly-iio-sensor-proxy-2.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A iio-sensor-proxy https://github.com/r-ryantm/nixpkgs/archive/71433922a464a3547cc3b7205acb028dd68ea41c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2yjs0wz5ncblb6n7qi8vbb8dflnwpkly-iio-sensor-proxy-2.6
ls -la /nix/store/2yjs0wz5ncblb6n7qi8vbb8dflnwpkly-iio-sensor-proxy-2.6/bin

cc @peterhoeg for testing.

A v2.7 is already published with bugfix:
https://github.com/hadess/iio-sensor-proxy/releases


Request to add a "clear all" button to the web interface

Problem Description
The web interface needs a button to clear all previous requests in the console.
Proposal
Request to add a "clear all" button to the web interface. It's diffcult to clear the requests individually as they may be in the thousands.
Just a button next to the "delete" button to delete everything.

Like in the image above, it's not easy to clearthe whole requests log except if I close this and start a new session.

Are you aware that you can go for File -> New?

Are you aware that you can go for File -> New?

My bad, I see a "clear all" button in the File menu.


optimistic gov updates

Closes #ISSUE
Description:

Thank you! 🚀

For contributor:

[ ] Added entries in CHANGELOG.md with issue # and GitHub username
[ ] Reviewed Files changed in the github PR explorer
[ ] Attach screenshots of the UI components on the PR description (if applicable)
[ ] Scope of work approved for big PRs

For reviewer:

[ ] Manually tested the changes on the UI

moved to #2167


Usage question

Hallo,
First of all thank you for the lib. It makes pleasure working with it.
Some methods have a parameter [String jsonExtendedAttrs].
public JSONObject getFolderByRelativeUrl(String folder, String jsonExtendedAttrs).
What is purpose of this parameter?
Some usage examples would be very helpful.
Thank you in advance,
Vitali

Hello
Glad that the api helps people. I have to review some method signatures as
i left some parameter that is no being used. Ill be back to you as soon as
i review the method you mention as it was related to api calls in sp rest
api documentation, but dont remember what was the exact meaning of the
field.
Thank you for the feedback, ill be back as soon as possible.
El mar, 26 ene 2021 a las 9:33, vnashkev<EMAIL_ADDRESS>escribió:

Hallo,
First of all thank you for the lib. It makes pleasure working with it.
Some methods have a parameter [String jsonExtendedAttrs].
public JSONObject getFolderByRelativeUrl(String folder, String
jsonExtendedAttrs).
What is purpose of this parameter?
Some usage examples would be very helpful.
Thank you in advance,
Vitali
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kikovalle/PLGSharepointRestAPI-java/issues/15, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXV7KDGI5KVYQKADVGYWZ3S3Z44XANCNFSM4WTB3SCQ
.

Hello
Glad that the api helps people. I have to review some method signatures as
i left some parameter that is no being used. Ill be back to you as soon as
i review the method you mention as it was related to api calls in sp rest
api documentation, but dont remember what was the exact meaning of the
field.
Thank you for the feedback, ill be back as soon as possible.
El mar, 26 ene 2021 a las 9:33, vnashkev<EMAIL_ADDRESS>escribió:

Hallo,
First of all thank you for the lib. It makes pleasure working with it.
Some methods have a parameter [String jsonExtendedAttrs].
public JSONObject getFolderByRelativeUrl(String folder, String
jsonExtendedAttrs).
What is purpose of this parameter?
Some usage examples would be very helpful.
Thank you in advance,
Vitali
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kikovalle/PLGSharepointRestAPI-java/issues/15, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXV7KDGI5KVYQKADVGYWZ3S3Z44XANCNFSM4WTB3SCQ
.


Fixed the long file name for the Slicer Module

Looks good to me.

I don't have write permissions in this branch. So I can merge changes with upstream.

I would suggest to avoid create Pull Request having commit like Merge branch 'master' of https://github.com/KitwareMedical/TubeTK, it makes the understanding of the history harder to understand and changes harder to revert, integrated ...


Individuals (WIP)

Adds individuals endpoint and the ability to filter bioSamples by individualId.
https://github.com/ga4gh/server/issues/996

Most of the individual functionality is in. Known issue: IDs are not unique when biosamples and individuals have the same name.

Added the ability to specify an individual name at repo load time for a biosample to solve the many biosample to single individual problem.
python repo_dev.py add-biosample ga4gh-example-data brca1 HG00097.json --individualName HG00097

Known issues:

There is no guarantee that an individual record exists when adding and individual.
Removing an individual will leave pointers to that individual in any biosamples linked to it.

How to take it for a spin: https://gist.github.com/david4096/58c68b9bedeb5e783c20

Checked and tested!
+1 modulo minor changes to the prepare_compliance_data.py script to accommodate the flattening out of test data in the corresponding compliance PR https://github.com/ga4gh/compliance/pull/179


How can I get Message object from DB?

How can I get Message object from DB?

You can use the PDO object that is attached to the DB class.
$statement = DB::getPdo()->prepare('SELECT * FROM ' . TB_MESSAGE . ' WHERE id = :id');
$statement->bindValue(':id', $messageId);
$statement->execute();

$message = $statement->fetch();

Please have a closer look on the PDO documentation: https://www.php.net/manual/de/pdo.prepared-statements.php
And of course, you need to know SQL to query the database.
I hope that puts you on the right track. But please understand that we are not able to help you any further since these are general PHP/Database things and are not special to this library.


AutoLinking not working

AutoLink feature doesnt seem to be working, if I try to add the package on my project pods are not installed.
Also on your example app, there's no line referencing the library as a JS dependency, so it's probably outdated or linked through a different method

Hey there @iujisato, thanks for flagging the issue
Do you mind sharing your react-native version or somewhere I can reproduce it?
I have this example app which you can use to try it out, you can see the package installed here: https://github.com/mateoguzmana/ZendeskDemo/blob/main/package.json#L63

Hey @mateoguzmana sorry for the late response!
I'm using RN 0.63.5

Hey there, I haven't tested this package in an old React Native version. This library is fairly new so it can't guarantee supporting versions which are a bit far behind.
The latest stable React Native version as of now is 0.73.0. I would suggest updating to a newer version and trying it out again.
I'll update the docs as soon as I know which is the latest version this package supports. Closing this issue for now


Imod6 984: Conversion of t-model-F to MF6 and added to tests

the target branch (main) is not correct. THe merge request should be directed to the lumbricus branch, not main,

your right. Just changed it to the Lumbricus main.


Unit_01

First notebook:

[x] I should be added as an author
[x] Add examples of how tasks look like from notebook 5
[x] make sure in 01.1 software carpentries is acknowledged
[x] Style guide check.

Second notebook:

[x] Only James should be an author.
[x] Make sure style guide is followed

First notebook:

[X]  I should be added as an author
[X]  Add examples of how tasks look like from notebook 5
[X]  make sure in 01.1 software carpentries is acknowledged
[X]  Style guide check.

Second notebook:

[X]  Only James should be an author.
[X]  Make sure style guide is followed

I added links to the TOCs of both notebooks, but I'm not sure if these work properly. Might be something to double-check when we have the Google Colab notebooks?
@hp115 do these work for you on jupyter?

@jasmin-guven Add screenshot of Mentimeter and Feedback questions.

@jcumby The IFrame dragging exercise does not work in unit 1.2. Is there any way to fix this?

@jcumby There is also an advanced task in 1.2 that has no answer. It's in pseudocode so I wasn't really sure how to write the answer. Is there an answer to this somewhere?

@jcumby The IFrame dragging exercise does not work in unit 1.2. Is there any way to fix this?

It appears that the main http://parsons.problemsolving.io/ website is down/expired/otherwise not working. The code on GitHub has not been updated for a while, so it might have fallen out of development.
In theory we could fork the code and modify it to run locally within our Jupyter notebooks. I've tried to get it running on my machine, but I don't know enough about Flask or SQLalchemy to get it to work. Any ideas?

@jcumby There is also an advanced task in 1.2 that has no answer. It's in pseudocode so I wasn't really sure how to write the answer. Is there an answer to this somewhere?

I haven't included any answers to advanced tasks deliberately. This problem is actually really difficult and intended more to start discussion - I'm happy to remove it if that's the preferred approach.

It appears that the main http://parsons.problemsolving.io/ website is down/expired/otherwise not working. The code on GitHub has not been updated for a while, so it might have fallen out of development. In theory we could fork the code and modify it to run locally within our Jupyter notebooks. I've tried to get it running on my machine, but I don't know enough about Flask or SQLalchemy to get it to work. Any ideas?

I don't really have a good solution. This is really annoying and I guess will become a problem for next year too? Is there a way to fix this quickly? I can't think of anything unfortunately.

Looks like they are reinstating it! That is exciting. I'll close this issue for now as it is around other Unit_01 stuff too!


[Table] Table with height expands table rows to match height of the table

Problem description
If a table has a height defined but only a small number of rows with data,
the table expands the height of the rows to match the height in the table.
The issue only occurs in Firefox (Chrome is unaffected).
Link to minimally-working code that reproduces the issue
http://www.webpackbin.com/NkY43JlmG

Possible fixes
Remove the height from the nested tbody, because the div surrounding the inner table has already a height.
Versions

Material-UI: 0.16.4
React: 15.4.1
Browser: Firefox Developer Edition (51.0a2 (2016-10-17) (64-bit))

A possible workaround is to provide the TableBody with a style object and setting the height to 100%.
Demo: http://www.webpackbin.com/4ki0Dj77f

Thanks, @mgruel  :heart:
Saved my life!

Not fixed yet? The work around link is dead.

@mgruel - mind reposting the work around?

I've been seeing this issue for a while in Firefox. You can easily reproduce it with the example code from the docs site. Just grab the code from first example and set a height of 400px to the table.
import React from 'react';
import {
  Table,
  TableBody,
  TableHeader,
  TableHeaderColumn,
  TableRow,
  TableRowColumn,
} from 'material-ui/Table';

/**
 * A simple table demonstrating the hierarchy of the `Table` component and its sub-components.
 */
const TableExampleSimple = () => (
  <Table height={400}>
    <TableHeader>
      <TableRow>
        <TableHeaderColumn>ID</TableHeaderColumn>
        <TableHeaderColumn>Name</TableHeaderColumn>
        <TableHeaderColumn>Status</TableHeaderColumn>
      </TableRow>
    </TableHeader>
    <TableBody>
      <TableRow>
        <TableRowColumn>1</TableRowColumn>
        <TableRowColumn>John Smith</TableRowColumn>
        <TableRowColumn>Employed</TableRowColumn>
      </TableRow>
      <TableRow>
        <TableRowColumn>2</TableRowColumn>
        <TableRowColumn>Randal White</TableRowColumn>
        <TableRowColumn>Unemployed</TableRowColumn>
      </TableRow>
      <TableRow>
        <TableRowColumn>3</TableRowColumn>
        <TableRowColumn>Stephanie Sanders</TableRowColumn>
        <TableRowColumn>Employed</TableRowColumn>
      </TableRow>
      <TableRow>
        <TableRowColumn>4</TableRowColumn>
        <TableRowColumn>Steve Brown</TableRowColumn>
        <TableRowColumn>Employed</TableRowColumn>
      </TableRow>
      <TableRow>
        <TableRowColumn>5</TableRowColumn>
        <TableRowColumn>Christopher Nolan</TableRowColumn>
        <TableRowColumn>Unemployed</TableRowColumn>
      </TableRow>
    </TableBody>
  </Table>
);

If I plug this into a create-react-app project, on Google Chrome 58 I get this result:

Whereas Firefox 54 renders this:

I played around with the inspector and the issue might be something related to the tbody style. I'll try to come up with a solution.


Use the Guice annotation for optional=false

Tracking upstream: https://youtrack.jetbrains.com/issue/KT-33822


Removed greenkeeper

#patch#

Changes Unknown when pulling 7cacdfdf0410c773de9a7d196474e25cf6a9d549 on fix/remove-greenkeeper into ** on master**.


Issue #12: Tests for the demand function

I created 4 tests for the demand function submitted by Julie.
In the process, I spotted a typo in the demand function which I corrected. I also commented the example at the end.

Sorry for the typo, yes it was supposed to be "pref".
I don't see any changes that would  correspond to commenting on the example, are you sure you saved them ?
In some of your tests you use "CourseMatch.demand" to call the function and in others you use "demand" only, is that a typo or did the export function allow you to use only "demand" instead of "CourseMatch.demand" ?
PS : Julia tip : if you want to write on several lines without having to put a # at the beginning of each line you can put #= before you start your paragraph and =# at the end of the paragraph

good work on the tests there! finally! :-)

@JulieLen If you look at line 62 to 82 of the demand function file I've added # at the beginning of each to transform the example into a comment (I didn't you could comment several lines at once!).
I think the export statement makes it so that I can only use demand() and I don't have to write Courseparck.demand() but I should have been more coherent. Anyway it worked on my computer.

Right ! Anyway in my last pull request I documented the functions the way Florian wanted us to and I put the example in the good format 😃


Error loading natural_questions

Describe the bug
When try to load natural_questions through datasets == 2.12.0 with python == 3.8.9:
import datasets
datasets.load_dataset('natural_questions',beam_runner='DirectRunner')

It failed with following info:
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
Steps to reproduce the bug
In python console:
import datasets
datasets.load_dataset('natural_questions',beam_runner='DirectRunner')

Then the trace is:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nlp/.cache/pypoetry/virtualenvs/drg-W3LF4Ol9-py3.8/lib/python3.8/site-packages/datasets/load.py", line 1797, in load_dataset
    builder_instance.download_and_prepare(
  File "/home/nlp/.cache/pypoetry/virtualenvs/drg-W3LF4Ol9-py3.8/lib/python3.8/site-packages/datasets/builder.py", line 890, in download_and_prepare
    self._download_and_prepare(
  File "/home/nlp/.cache/pypoetry/virtualenvs/drg-W3LF4Ol9-py3.8/lib/python3.8/site-packages/datasets/builder.py", line 2019, in _download_and_prepare
    num_examples, num_bytes = beam_writer.finalize(metrics.query(m_filter))
  File "/home/nlp/.cache/pypoetry/virtualenvs/drg-W3LF4Ol9-py3.8/lib/python3.8/site-packages/datasets/arrow_writer.py", line 694, in finalize
    shard_num_bytes, _ = parquet_to_arrow(source, destination)
  File "/home/nlp/.cache/pypoetry/virtualenvs/drg-W3LF4Ol9-py3.8/lib/python3.8/site-packages/datasets/arrow_writer.py", line 737, in parquet_to_arrow
    for record_batch in parquet_file.iter_batches():
  File "pyarrow/_parquet.pyx", line 1323, in iter_batches
  File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs

Expected behavior
load natural_question questions
Environment info
- `datasets` version: 2.12.0
- Platform: Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-glibc2.2.5
- Python version: 3.8.9
- Huggingface_hub version: 0.14.1
- PyArrow version: 11.0.0
- Pandas version: 2.0.1

Hi! You can avoid this error by using the preprocessed version:
import datasets
ds = datasets.load_dataset('natural_questions')

PS: Once we finish https://github.com/huggingface/datasets/pull/5364, this error will no longer be a problem.

Hi! You can avoid this error by using the preprocessed version:
import datasets
ds = datasets.load_dataset('natural_questions')

PS: Once we finish #5364, this error will no longer be a problem.

Thanks, wish #5364  finish early


global: upgrade to python3

Currently RWEC uses python2.7 (end of support in 2020), we should upgrade to python3.7

Closed by #114 as part of the cwl-tool upgrade.


Release 1.7.0

Related to https://github.com/elastic/ecctl/issues/531
Relase 1.7.0

Thanks @marclop I reworded the release notes in order to be consistent with previous SDK version bumps release notes.


Error if the date format is not as expected

Coverage remained the same at 100.0% when pulling aedd6176f4c7acf3eb91f89c13d1ad232737b032 on incorrect-date-format into 503332a8864cada7ae70007ad46ed5f56929e89f on master.


Remove typing from all game files

 Issue by Sean-Nishi
Wednesday Dec 27, 2023 at 22:06 GMT
Originally opened as https://github.com/Sean-Nishi/M1Wengine/issues/316

Remove stale "from typing import ..." from all files.
Most common used is List

Already resolved. Last three instances of "from typing import ..." in the engine are needed to declare Callable and TypeDict


Switch from chokidar to @parcel/watcher

https://github.com/parcel-bundler/watcher
Because VS Code did it so it may be a good idea to do it too:
https://code.visualstudio.com/updates/v1_62#_engineering

For some reason it didn't work well the first time I tried. I'm trying again now.


Dictionary<string,int> can not be serialized in iOS

List but was able to serialize "https://github.com/msgpack/msgpack-cli/issues/54" of
Issue to reference,
I do not know how to solve Dictionary<string,int>.
iOS:8.1.2
MacOS:10.10.3
Unity:5.0.1f1

Listはhttps://github.com/msgpack/msgpack-cli/issues/54を
参考にシリアライズすることができましたが、
Dictionary<string,int>は解決する方法がわかりません。

As I stated in #54 this issue is limitation of runtime itself. Value types tend to cause troubles in iOS. You might avoid this limitation using inheritance or boxing like Dictionary<string, object> or Dictionary<string, MessagePackObject> if you can.

Thanks you,
The reason I wanted to ask you.
Since countermeasures can make, so we would want to solve.

FYI, you can avoid the issue with specifying IEqualityComparer<T> for base constructor invocation if you wrote the dictionary subclass which inhertis Dictionary<TKey, TValue>.
See http://developer.xamarin.com/guides/ios/advanced_topics/limitations/ (it says for Xamarin, but some of them should be applied for Unity)


Bumped cephfs packages to luminous

Updated ceph common packages to luminous in cephfs.

/lgtm

Note: tests failed for this and I lack any centos/rpm expertise to figure what's wrong there. Any ideas?

@farcaller instead of using pkg from ceph.com, try yum install -y centos-release-ceph

Done.

/lgtm


feat: upgrade tekton & implement pipeline conversion

Upgrade Tekton & k8s deps (update others to resolve issues)
Split existing jx-pipeline convert -> jx-pipeline convert uses
Create migration tool jx pipeline convert remotetasks to convert the uses:sourceURI syntax to native tekton

Existing PipelineRuns will get converted into either individual tasks or new PRS based on whether they reference a parent PRS (e.g. stepTemplate image is populated with uses:sourceURI)
Existing Tasks have the default params/envVars populated in line with how lighthouse was populating them at runtime.
Previously a PipelineRun only contained 1 task with multiple steps. These steps have now been migrated into individual tasks on the PipelineRun.
Workspaces have been created at /workspace to provide a backing volume shared between the tasks.
Workspace size is calculated from the size of the repository + a 300Mi buffer
$HOME has been moved from /tekton/home -> /workspace so that the tasks can share their home directory.

/ok-to-test

/test pr

/test lint

/cc @tomhobson @msvticket

/cc @ankitm123

/test lint


pre-commit: ShellCheck

See also: https://github.com/apache/arrow-go/blob/e112ad0de5ca66133256f2db71bda4dd2d1731f5/.pre-commit-config.yaml#L46-L49

Oops, it looks like I typed the wrong issue number...